]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/controls_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
239 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
240 #define SWIGTYPE_p_wxNotebook swig_types[31]
241 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
242 #define SWIGTYPE_p_wxArrayString swig_types[33]
243 #define SWIGTYPE_p_wxListbook swig_types[34]
244 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
245 #define SWIGTYPE_p_wxSlider swig_types[36]
246 #define SWIGTYPE_p_wxStaticBox swig_types[37]
247 #define SWIGTYPE_p_wxArrayInt swig_types[38]
248 #define SWIGTYPE_p_wxContextHelp swig_types[39]
249 #define SWIGTYPE_p_long swig_types[40]
250 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
251 #define SWIGTYPE_p_wxListEvent swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxListBox swig_types[44]
254 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
255 #define SWIGTYPE_p_wxSpinButton swig_types[46]
256 #define SWIGTYPE_p_wxButton swig_types[47]
257 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
260 #define SWIGTYPE_p_wxRadioBox swig_types[51]
261 #define SWIGTYPE_p_wxScrollBar swig_types[52]
262 #define SWIGTYPE_p_char swig_types[53]
263 #define SWIGTYPE_p_wxTreeItemId swig_types[54]
264 #define SWIGTYPE_p_wxComboBox swig_types[55]
265 #define SWIGTYPE_p_wxHelpEvent swig_types[56]
266 #define SWIGTYPE_p_wxListItem swig_types[57]
267 #define SWIGTYPE_p_wxNotebookSizer swig_types[58]
268 #define SWIGTYPE_p_wxSpinEvent swig_types[59]
269 #define SWIGTYPE_p_wxGenericDragImage swig_types[60]
270 #define SWIGTYPE_p_wxSpinCtrl swig_types[61]
271 #define SWIGTYPE_p_wxImageList swig_types[62]
272 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
273 #define SWIGTYPE_p_wxTextAttr swig_types[64]
274 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
275 #define SWIGTYPE_p_wxPoint swig_types[66]
276 #define SWIGTYPE_p_wxListbookEvent swig_types[67]
277 #define SWIGTYPE_p_wxNotebookEvent swig_types[68]
278 #define SWIGTYPE_p_wxObject swig_types[69]
279 #define SWIGTYPE_p_wxCursor swig_types[70]
280 #define SWIGTYPE_p_wxKeyEvent swig_types[71]
281 #define SWIGTYPE_p_wxWindow swig_types[72]
282 #define SWIGTYPE_p_wxString swig_types[73]
283 #define SWIGTYPE_p_wxBitmap swig_types[74]
284 #define SWIGTYPE_p_wxTreeEvent swig_types[75]
285 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxStaticText swig_types[78]
288 #define SWIGTYPE_p_wxControlWithItems swig_types[79]
289 #define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
293 #define SWIGTYPE_p_wxValidator swig_types[84]
294 static swig_type_info *swig_types[86];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _controls.so
301 ------------------------------------------------*/
302 #define SWIG_init init_controls
303
304 #define SWIG_name "_controls"
305
306 /* Auxiliar swig macros */
307
308 #ifdef __cplusplus
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #else
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
321 #endif
322
323 #else /* C case */
324
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
333
334 #endif /* __cplusplus */
335
336
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347
348
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
351
352 static const wxString wxPyPanelNameStr(wxPanelNameStr);
353 static const wxString wxPyEmptyString(wxEmptyString);
354 static const wxString wxPyControlNameStr(wxControlNameStr);
355
356 const wxArrayString wxPyEmptyStringArray;
357
358 static const wxString wxPyButtonNameStr(wxButtonNameStr);
359
360 #include <limits.h>
361
362
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value, const char* type,
365 long min_value, long max_value)
366 {
367 if (!PyErr_Occurred()) {
368 if (value < min_value) {
369 PyObject *err =
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value, type, min_value);
372
373 PyErr_SetObject(PyExc_OverflowError, err);
374 Py_DECREF(err);
375 } else if (value > max_value) {
376 PyObject *err =
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value, type, max_value);
379 PyErr_SetObject(PyExc_OverflowError, err);
380 Py_DECREF(err);
381 }
382 }
383 return value;
384 }
385
386
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject * obj)
389 {
390 if (PyNumber_Check(obj))
391 return PyInt_AsLong(obj);
392 else {
393 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
394 obj->ob_type->tp_name);
395 PyErr_SetObject(PyExc_TypeError, errmsg);
396 Py_DECREF(errmsg);
397 return 0;
398 }
399 }
400
401
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject *obj)
405 {
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj),
408 "int", INT_MIN, INT_MAX));
409 }
410 #else
411 #define SWIG_AsInt SWIG_AsLong
412 #endif
413
414
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject* obj)
417 {
418 SWIG_AsInt(obj);
419 if (PyErr_Occurred()) {
420 PyErr_Clear();
421 return 0;
422 } else {
423 return 1;
424 }
425 }
426
427
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject* obj)
430 {
431 SWIG_AsLong(obj);
432 if (PyErr_Occurred()) {
433 PyErr_Clear();
434 return 0;
435 } else {
436 return 1;
437 }
438 }
439
440 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
441
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject *obj)
444 {
445 return PyObject_IsTrue(obj) ? true : false;
446 }
447
448
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject* obj)
451 {
452 SWIG_AsBool(obj);
453 if (PyErr_Occurred()) {
454 PyErr_Clear();
455 return 0;
456 } else {
457 return 1;
458 }
459 }
460
461 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
462 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
463 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
464 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
465 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
466 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
467
468 #include <wx/checklst.h>
469
470
471 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
472 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
473 if (clientData) {
474 wxPyClientData* data = new wxPyClientData(clientData);
475 self->Insert(item, pos, data);
476 } else
477 self->Insert(item, pos);
478 }
479 PyObject *wxListBox_GetSelections(wxListBox *self){
480 wxArrayInt lst;
481 self->GetSelections(lst);
482 PyObject *tup = PyTuple_New(lst.GetCount());
483 for(size_t i=0; i<lst.GetCount(); i++) {
484 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
485 }
486 return tup;
487 }
488 void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
489 #ifdef __WXMSW__
490 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
491 self->GetItem(item)->SetTextColour(c);
492 #endif
493 }
494 void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
495 #ifdef __WXMSW__
496 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
497 self->GetItem(item)->SetBackgroundColour(c);
498 #endif
499 }
500 void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
501 #ifdef __WXMSW__
502 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
503 self->GetItem(item)->SetFont(f);
504 #endif
505 }
506 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
507
508 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
509 PyObject* o2;
510 PyObject* o3;
511
512 if (!target) {
513 target = o;
514 } else if (target == Py_None) {
515 Py_DECREF(Py_None);
516 target = o;
517 } else {
518 if (!PyTuple_Check(target)) {
519 o2 = target;
520 target = PyTuple_New(1);
521 PyTuple_SetItem(target, 0, o2);
522 }
523 o3 = PyTuple_New(1);
524 PyTuple_SetItem(o3, 0, o);
525
526 o2 = target;
527 target = PySequence_Concat(o2, o3);
528 Py_DECREF(o2);
529 Py_DECREF(o3);
530 }
531 return target;
532 }
533
534
535 SWIGSTATICINLINE(unsigned long)
536 SWIG_AsUnsignedLong(PyObject * obj)
537 {
538 if (PyLong_Check(obj)) {
539 return PyLong_AsUnsignedLong(obj);
540 } else {
541 long i = SWIG_AsLong(obj);
542 if ( !PyErr_Occurred() && (i < 0)) {
543 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
544 }
545 return i;
546 }
547 }
548
549
550 SWIGSTATICINLINE(int)
551 SWIG_CheckUnsignedLong(PyObject* obj)
552 {
553 SWIG_AsUnsignedLong(obj);
554 if (PyErr_Occurred()) {
555 PyErr_Clear();
556 return 0;
557 } else {
558 return 1;
559 }
560 }
561
562 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
563 self->AppendText(text);
564 }
565 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
566 return self->GetValue().Mid(from, to - from);
567 }
568 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
569 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
570 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
571 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
572 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
573
574 #include <wx/slider.h>
575
576
577 static const wxString wxPySliderNameStr(wxSliderNameStr);
578 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
579
580 #if !wxUSE_TOGGLEBTN
581 // implement dummy items for platforms that don't have this class
582
583 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
584
585 class wxToggleButton : public wxControl
586 {
587 public:
588 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
589 const wxPoint&, const wxSize&, long,
590 const wxValidator&, const wxString&)
591 { wxPyRaiseNotImplemented(); }
592
593 wxToggleButton()
594 { wxPyRaiseNotImplemented(); }
595 };
596 #endif
597
598 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
599
600 SWIGSTATICINLINE(PyObject* )
601 SWIG_FromUnsignedLong(unsigned long value)
602 {
603 return (value > LONG_MAX) ?
604 PyLong_FromUnsignedLong(value)
605 : PyInt_FromLong(swig_numeric_cast(long,value));
606 }
607
608 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
609 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
610 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
611 if (udata) {
612 Py_INCREF(udata->m_obj);
613 return udata->m_obj;
614 } else {
615 Py_INCREF(Py_None);
616 return Py_None;
617 }
618 }
619 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
620 self->SetClientData(new wxPyUserData(clientData));
621 }
622 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){
623 wxPyUserData* udata = NULL;
624 if (clientData && clientData != Py_None)
625 udata = new wxPyUserData(clientData);
626 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
627 shortHelp, longHelp, udata);
628 }
629 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){
630 wxPyUserData* udata = NULL;
631 if (clientData && clientData != Py_None)
632 udata = new wxPyUserData(clientData);
633 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
634 shortHelp, longHelp, udata);
635 }
636 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
637 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
638 if (udata) {
639 Py_INCREF(udata->m_obj);
640 return udata->m_obj;
641 } else {
642 Py_INCREF(Py_None);
643 return Py_None;
644 }
645 }
646 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
647 self->SetToolClientData(id, new wxPyUserData(clientData));
648 }
649
650 #include <wx/listctrl.h>
651
652
653 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
654 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
655 // Python aware sorting function for wxPyListCtrl
656 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
657 int retval = 0;
658 PyObject* func = (PyObject*)funcPtr;
659 bool blocked = wxPyBeginBlockThreads();
660
661 PyObject* args = Py_BuildValue("(ii)", item1, item2);
662 PyObject* result = PyEval_CallObject(func, args);
663 Py_DECREF(args);
664 if (result) {
665 retval = PyInt_AsLong(result);
666 Py_DECREF(result);
667 }
668
669 wxPyEndBlockThreads(blocked);
670 return retval;
671 }
672
673 // C++ Version of a Python aware class
674 class wxPyListCtrl : public wxListCtrl {
675 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
676 public:
677 wxPyListCtrl() : wxListCtrl() {}
678 wxPyListCtrl(wxWindow* parent, wxWindowID id,
679 const wxPoint& pos,
680 const wxSize& size,
681 long style,
682 const wxValidator& validator,
683 const wxString& name) :
684 wxListCtrl(parent, id, pos, size, style, validator, name) {}
685
686 bool Create(wxWindow* parent, wxWindowID id,
687 const wxPoint& pos,
688 const wxSize& size,
689 long style,
690 const wxValidator& validator,
691 const wxString& name) {
692 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
693 }
694
695 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
696 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
697 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
698
699 PYPRIVATE;
700 };
701
702 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
703
704 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
705 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
706 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
707
708 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
709 wxListItem item;
710 item.SetMask( wxLIST_MASK_STATE |
711 wxLIST_MASK_TEXT |
712 wxLIST_MASK_IMAGE |
713 wxLIST_MASK_DATA |
714 wxLIST_SET_ITEM |
715 wxLIST_MASK_WIDTH |
716 wxLIST_MASK_FORMAT
717 );
718 if (self->GetColumn(col, item))
719 return new wxListItem(item);
720 else
721 return NULL;
722 }
723 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
724 wxListItem* info = new wxListItem;
725 info->m_itemId = itemId;
726 info->m_col = col;
727 info->m_mask = 0xFFFF;
728 self->GetItem(*info);
729 return info;
730 }
731 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
732 wxPoint pos;
733 self->GetItemPosition(item, pos);
734 return pos;
735 }
736 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
737 wxRect rect;
738 self->GetItemRect(item, rect, code);
739 return rect;
740 }
741 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
742 if (!PyCallable_Check(func))
743 return False;
744 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
745 }
746 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
747
748
749
750 return (wxWindow*)self->m_mainWin;
751
752 }
753
754 #include <wx/treectrl.h>
755 #include "wx/wxPython/pytree.h"
756
757 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
758 bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : False; }
759 bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : True; }
760 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
761 // C++ version of Python aware wxTreeCtrl
762 class wxPyTreeCtrl : public wxTreeCtrl {
763 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
764 public:
765 wxPyTreeCtrl() : wxTreeCtrl() {}
766 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
767 const wxPoint& pos,
768 const wxSize& size,
769 long style,
770 const wxValidator& validator,
771 const wxString& name) :
772 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
773
774 bool Create(wxWindow *parent, wxWindowID id,
775 const wxPoint& pos,
776 const wxSize& size,
777 long style,
778 const wxValidator& validator,
779 const wxString& name) {
780 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
781 }
782
783
784 int OnCompareItems(const wxTreeItemId& item1,
785 const wxTreeItemId& item2) {
786 int rval = 0;
787 bool found;
788 bool blocked = wxPyBeginBlockThreads();
789 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
790 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
791 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
792 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
793 Py_DECREF(o1);
794 Py_DECREF(o2);
795 }
796 wxPyEndBlockThreads(blocked);
797 if (! found)
798 rval = wxTreeCtrl::OnCompareItems(item1, item2);
799 return rval;
800 }
801 PYPRIVATE;
802 };
803
804 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
805
806
807
808 #if UINT_MAX < LONG_MAX
809 #define SWIG_FromUnsignedInt SWIG_FromLong
810 #else
811 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
812 #endif
813
814
815 SWIGSTATICINLINE(unsigned long)
816 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
817 unsigned long max_value)
818 {
819 if (!PyErr_Occurred()) {
820 if (value > max_value) {
821 PyObject *err =
822 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
823 value, type, max_value);
824 PyErr_SetObject(PyExc_OverflowError, err);
825 Py_DECREF(err);
826 }
827 }
828 return value;
829 }
830
831
832 #if UINT_MAX != ULONG_MAX
833 SWIGSTATICINLINE(unsigned int)
834 SWIG_AsUnsignedInt(PyObject *obj)
835 {
836 return swig_numeric_cast(unsigned int,
837 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
838 "unsigned int", UINT_MAX));
839 }
840 #else
841 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
842 #endif
843
844
845 SWIGSTATICINLINE(int)
846 SWIG_CheckUnsignedInt(PyObject* obj)
847 {
848 SWIG_AsUnsignedInt(obj);
849 if (PyErr_Occurred()) {
850 PyErr_Clear();
851 return 0;
852 } else {
853 return 1;
854 }
855 }
856
857 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
858 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
859 if (data == NULL) {
860 data = new wxPyTreeItemData();
861 data->SetId(item); // set the id
862 self->SetItemData(item, data);
863 }
864 return data;
865 }
866 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
867 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
868 if (data == NULL) {
869 data = new wxPyTreeItemData();
870 data->SetId(item); // set the id
871 self->SetItemData(item, data);
872 }
873 return data->GetData();
874 }
875 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
876 data->SetId(item); // set the id
877 self->SetItemData(item, data);
878 }
879 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
880 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
881 if (data == NULL) {
882 data = new wxPyTreeItemData(obj);
883 data->SetId(item); // set the id
884 self->SetItemData(item, data);
885 } else
886 data->SetData(obj);
887 }
888 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
889 bool blocked = wxPyBeginBlockThreads();
890 PyObject* rval = PyList_New(0);
891 wxArrayTreeItemIds array;
892 size_t num, x;
893 num = self->GetSelections(array);
894 for (x=0; x < num; x++) {
895 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
896 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
897 PyList_Append(rval, item);
898 }
899 wxPyEndBlockThreads(blocked);
900 return rval;
901 }
902 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
903 void* cookie = 0;
904 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
905 bool blocked = wxPyBeginBlockThreads();
906 PyObject* tup = PyTuple_New(2);
907 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
908 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
909 wxPyEndBlockThreads(blocked);
910 return tup;
911 }
912 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
913 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
914 bool blocked = wxPyBeginBlockThreads();
915 PyObject* tup = PyTuple_New(2);
916 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
917 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
918 wxPyEndBlockThreads(blocked);
919 return tup;
920 }
921 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
922 wxRect rect;
923 if (self->GetBoundingRect(item, rect, textOnly)) {
924 bool blocked = wxPyBeginBlockThreads();
925 wxRect* r = new wxRect(rect);
926 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
927 wxPyEndBlockThreads(blocked);
928 return val;
929 }
930 else
931 RETURN_NONE();
932 }
933 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
934 // C++ version of Python aware wxControl
935 class wxPyControl : public wxControl
936 {
937 DECLARE_DYNAMIC_CLASS(wxPyControl)
938 public:
939 wxPyControl() : wxControl() {}
940 wxPyControl(wxWindow* parent, const wxWindowID id,
941 const wxPoint& pos = wxDefaultPosition,
942 const wxSize& size = wxDefaultSize,
943 long style = 0,
944 const wxValidator& validator=wxDefaultValidator,
945 const wxString& name = wxPyControlNameStr)
946 : wxControl(parent, id, pos, size, style, validator, name) {}
947
948
949 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
950 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
951 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
952 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
953
954 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
955 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
957
958 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
959 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
960
961 DEC_PYCALLBACK__(InitDialog);
962 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
963 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
964 DEC_PYCALLBACK_BOOL_(Validate);
965
966 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
967 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
968 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
969
970 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
971 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
972
973 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
974 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
975
976 PYPRIVATE;
977 };
978
979 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
980
981 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
982 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
983 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
984 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
985
986 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
987 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
988 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
989
990 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
991 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
992
993 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
994 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
995 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
996 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
997
998 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
999 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
1000 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
1001
1002 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
1003 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
1004
1005 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, ShouldInheritColours);
1006 IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
1007
1008
1009
1010 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
1011
1012 #include <wx/generic/dragimgg.h>
1013
1014 #ifdef __cplusplus
1015 extern "C" {
1016 #endif
1017 static int _wrap_ButtonNameStr_set(PyObject *) {
1018 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1019 return 1;
1020 }
1021
1022
1023 static PyObject *_wrap_ButtonNameStr_get() {
1024 PyObject *pyobj;
1025
1026 {
1027 #if wxUSE_UNICODE
1028 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1029 #else
1030 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1031 #endif
1032 }
1033 return pyobj;
1034 }
1035
1036
1037 static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
1038 PyObject *resultobj;
1039 wxWindow *arg1 = (wxWindow *) 0 ;
1040 int arg2 ;
1041 wxString *arg3 = 0 ;
1042 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1043 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1044 wxSize const &arg5_defvalue = wxDefaultSize ;
1045 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1046 long arg6 = (long) 0 ;
1047 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1048 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1049 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1050 wxString *arg8 = (wxString *) &arg8_defvalue ;
1051 wxButton *result;
1052 bool temp3 = False ;
1053 wxPoint temp4 ;
1054 wxSize temp5 ;
1055 bool temp8 = False ;
1056 PyObject * obj0 = 0 ;
1057 PyObject * obj1 = 0 ;
1058 PyObject * obj2 = 0 ;
1059 PyObject * obj3 = 0 ;
1060 PyObject * obj4 = 0 ;
1061 PyObject * obj5 = 0 ;
1062 PyObject * obj6 = 0 ;
1063 PyObject * obj7 = 0 ;
1064 char *kwnames[] = {
1065 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1066 };
1067
1068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1071 arg2 = (int) SWIG_AsInt(obj1);
1072 if (PyErr_Occurred()) SWIG_fail;
1073 {
1074 arg3 = wxString_in_helper(obj2);
1075 if (arg3 == NULL) SWIG_fail;
1076 temp3 = True;
1077 }
1078 if (obj3) {
1079 {
1080 arg4 = &temp4;
1081 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1082 }
1083 }
1084 if (obj4) {
1085 {
1086 arg5 = &temp5;
1087 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1088 }
1089 }
1090 if (obj5) {
1091 arg6 = (long) SWIG_AsLong(obj5);
1092 if (PyErr_Occurred()) SWIG_fail;
1093 }
1094 if (obj6) {
1095 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1096 SWIG_POINTER_EXCEPTION | 0)) == -1)
1097 SWIG_fail;
1098 if (arg7 == NULL) {
1099 PyErr_SetString(PyExc_TypeError,"null reference");
1100 SWIG_fail;
1101 }
1102 }
1103 if (obj7) {
1104 {
1105 arg8 = wxString_in_helper(obj7);
1106 if (arg8 == NULL) SWIG_fail;
1107 temp8 = True;
1108 }
1109 }
1110 {
1111 PyThreadState* __tstate = wxPyBeginAllowThreads();
1112 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1113
1114 wxPyEndAllowThreads(__tstate);
1115 if (PyErr_Occurred()) SWIG_fail;
1116 }
1117 {
1118 resultobj = wxPyMake_wxObject(result);
1119 }
1120 {
1121 if (temp3)
1122 delete arg3;
1123 }
1124 {
1125 if (temp8)
1126 delete arg8;
1127 }
1128 return resultobj;
1129 fail:
1130 {
1131 if (temp3)
1132 delete arg3;
1133 }
1134 {
1135 if (temp8)
1136 delete arg8;
1137 }
1138 return NULL;
1139 }
1140
1141
1142 static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
1143 PyObject *resultobj;
1144 wxButton *result;
1145 char *kwnames[] = {
1146 NULL
1147 };
1148
1149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1150 {
1151 PyThreadState* __tstate = wxPyBeginAllowThreads();
1152 result = (wxButton *)new wxButton();
1153
1154 wxPyEndAllowThreads(__tstate);
1155 if (PyErr_Occurred()) SWIG_fail;
1156 }
1157 {
1158 resultobj = wxPyMake_wxObject(result);
1159 }
1160 return resultobj;
1161 fail:
1162 return NULL;
1163 }
1164
1165
1166 static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1167 PyObject *resultobj;
1168 wxButton *arg1 = (wxButton *) 0 ;
1169 wxWindow *arg2 = (wxWindow *) 0 ;
1170 int arg3 ;
1171 wxString *arg4 = 0 ;
1172 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1173 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1174 wxSize const &arg6_defvalue = wxDefaultSize ;
1175 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1176 long arg7 = (long) 0 ;
1177 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1178 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1179 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1180 wxString *arg9 = (wxString *) &arg9_defvalue ;
1181 bool result;
1182 bool temp4 = False ;
1183 wxPoint temp5 ;
1184 wxSize temp6 ;
1185 bool temp9 = False ;
1186 PyObject * obj0 = 0 ;
1187 PyObject * obj1 = 0 ;
1188 PyObject * obj2 = 0 ;
1189 PyObject * obj3 = 0 ;
1190 PyObject * obj4 = 0 ;
1191 PyObject * obj5 = 0 ;
1192 PyObject * obj6 = 0 ;
1193 PyObject * obj7 = 0 ;
1194 PyObject * obj8 = 0 ;
1195 char *kwnames[] = {
1196 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1197 };
1198
1199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1202 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1204 arg3 = (int) SWIG_AsInt(obj2);
1205 if (PyErr_Occurred()) SWIG_fail;
1206 {
1207 arg4 = wxString_in_helper(obj3);
1208 if (arg4 == NULL) SWIG_fail;
1209 temp4 = True;
1210 }
1211 if (obj4) {
1212 {
1213 arg5 = &temp5;
1214 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1215 }
1216 }
1217 if (obj5) {
1218 {
1219 arg6 = &temp6;
1220 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1221 }
1222 }
1223 if (obj6) {
1224 arg7 = (long) SWIG_AsLong(obj6);
1225 if (PyErr_Occurred()) SWIG_fail;
1226 }
1227 if (obj7) {
1228 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1229 SWIG_POINTER_EXCEPTION | 0)) == -1)
1230 SWIG_fail;
1231 if (arg8 == NULL) {
1232 PyErr_SetString(PyExc_TypeError,"null reference");
1233 SWIG_fail;
1234 }
1235 }
1236 if (obj8) {
1237 {
1238 arg9 = wxString_in_helper(obj8);
1239 if (arg9 == NULL) SWIG_fail;
1240 temp9 = True;
1241 }
1242 }
1243 {
1244 PyThreadState* __tstate = wxPyBeginAllowThreads();
1245 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1246
1247 wxPyEndAllowThreads(__tstate);
1248 if (PyErr_Occurred()) SWIG_fail;
1249 }
1250 {
1251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1252 }
1253 {
1254 if (temp4)
1255 delete arg4;
1256 }
1257 {
1258 if (temp9)
1259 delete arg9;
1260 }
1261 return resultobj;
1262 fail:
1263 {
1264 if (temp4)
1265 delete arg4;
1266 }
1267 {
1268 if (temp9)
1269 delete arg9;
1270 }
1271 return NULL;
1272 }
1273
1274
1275 static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
1276 PyObject *resultobj;
1277 wxButton *arg1 = (wxButton *) 0 ;
1278 PyObject * obj0 = 0 ;
1279 char *kwnames[] = {
1280 (char *) "self", NULL
1281 };
1282
1283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1286 {
1287 PyThreadState* __tstate = wxPyBeginAllowThreads();
1288 (arg1)->SetDefault();
1289
1290 wxPyEndAllowThreads(__tstate);
1291 if (PyErr_Occurred()) SWIG_fail;
1292 }
1293 Py_INCREF(Py_None); resultobj = Py_None;
1294 return resultobj;
1295 fail:
1296 return NULL;
1297 }
1298
1299
1300 static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
1301 PyObject *resultobj;
1302 wxSize result;
1303 char *kwnames[] = {
1304 NULL
1305 };
1306
1307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1308 {
1309 PyThreadState* __tstate = wxPyBeginAllowThreads();
1310 result = wxButton::GetDefaultSize();
1311
1312 wxPyEndAllowThreads(__tstate);
1313 if (PyErr_Occurred()) SWIG_fail;
1314 }
1315 {
1316 wxSize * resultptr;
1317 resultptr = new wxSize((wxSize &) result);
1318 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1319 }
1320 return resultobj;
1321 fail:
1322 return NULL;
1323 }
1324
1325
1326 static PyObject * Button_swigregister(PyObject *, PyObject *args) {
1327 PyObject *obj;
1328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1329 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1330 Py_INCREF(obj);
1331 return Py_BuildValue((char *)"");
1332 }
1333 static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
1334 PyObject *resultobj;
1335 wxWindow *arg1 = (wxWindow *) 0 ;
1336 int arg2 ;
1337 wxBitmap *arg3 = 0 ;
1338 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1339 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1340 wxSize const &arg5_defvalue = wxDefaultSize ;
1341 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1342 long arg6 = (long) wxBU_AUTODRAW ;
1343 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1344 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1345 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1346 wxString *arg8 = (wxString *) &arg8_defvalue ;
1347 wxBitmapButton *result;
1348 wxPoint temp4 ;
1349 wxSize temp5 ;
1350 bool temp8 = False ;
1351 PyObject * obj0 = 0 ;
1352 PyObject * obj1 = 0 ;
1353 PyObject * obj2 = 0 ;
1354 PyObject * obj3 = 0 ;
1355 PyObject * obj4 = 0 ;
1356 PyObject * obj5 = 0 ;
1357 PyObject * obj6 = 0 ;
1358 PyObject * obj7 = 0 ;
1359 char *kwnames[] = {
1360 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1361 };
1362
1363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1366 arg2 = (int) SWIG_AsInt(obj1);
1367 if (PyErr_Occurred()) SWIG_fail;
1368 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1369 SWIG_POINTER_EXCEPTION | 0)) == -1)
1370 SWIG_fail;
1371 if (arg3 == NULL) {
1372 PyErr_SetString(PyExc_TypeError,"null reference");
1373 SWIG_fail;
1374 }
1375 if (obj3) {
1376 {
1377 arg4 = &temp4;
1378 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1379 }
1380 }
1381 if (obj4) {
1382 {
1383 arg5 = &temp5;
1384 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1385 }
1386 }
1387 if (obj5) {
1388 arg6 = (long) SWIG_AsLong(obj5);
1389 if (PyErr_Occurred()) SWIG_fail;
1390 }
1391 if (obj6) {
1392 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1393 SWIG_POINTER_EXCEPTION | 0)) == -1)
1394 SWIG_fail;
1395 if (arg7 == NULL) {
1396 PyErr_SetString(PyExc_TypeError,"null reference");
1397 SWIG_fail;
1398 }
1399 }
1400 if (obj7) {
1401 {
1402 arg8 = wxString_in_helper(obj7);
1403 if (arg8 == NULL) SWIG_fail;
1404 temp8 = True;
1405 }
1406 }
1407 {
1408 PyThreadState* __tstate = wxPyBeginAllowThreads();
1409 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1410
1411 wxPyEndAllowThreads(__tstate);
1412 if (PyErr_Occurred()) SWIG_fail;
1413 }
1414 {
1415 resultobj = wxPyMake_wxObject(result);
1416 }
1417 {
1418 if (temp8)
1419 delete arg8;
1420 }
1421 return resultobj;
1422 fail:
1423 {
1424 if (temp8)
1425 delete arg8;
1426 }
1427 return NULL;
1428 }
1429
1430
1431 static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
1432 PyObject *resultobj;
1433 wxBitmapButton *result;
1434 char *kwnames[] = {
1435 NULL
1436 };
1437
1438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1439 {
1440 PyThreadState* __tstate = wxPyBeginAllowThreads();
1441 result = (wxBitmapButton *)new wxBitmapButton();
1442
1443 wxPyEndAllowThreads(__tstate);
1444 if (PyErr_Occurred()) SWIG_fail;
1445 }
1446 {
1447 resultobj = wxPyMake_wxObject(result);
1448 }
1449 return resultobj;
1450 fail:
1451 return NULL;
1452 }
1453
1454
1455 static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1456 PyObject *resultobj;
1457 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1458 wxWindow *arg2 = (wxWindow *) 0 ;
1459 int arg3 ;
1460 wxBitmap *arg4 = 0 ;
1461 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1462 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1463 wxSize const &arg6_defvalue = wxDefaultSize ;
1464 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1465 long arg7 = (long) wxBU_AUTODRAW ;
1466 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1467 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1468 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1469 wxString *arg9 = (wxString *) &arg9_defvalue ;
1470 bool result;
1471 wxPoint temp5 ;
1472 wxSize temp6 ;
1473 bool temp9 = False ;
1474 PyObject * obj0 = 0 ;
1475 PyObject * obj1 = 0 ;
1476 PyObject * obj2 = 0 ;
1477 PyObject * obj3 = 0 ;
1478 PyObject * obj4 = 0 ;
1479 PyObject * obj5 = 0 ;
1480 PyObject * obj6 = 0 ;
1481 PyObject * obj7 = 0 ;
1482 PyObject * obj8 = 0 ;
1483 char *kwnames[] = {
1484 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1485 };
1486
1487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1490 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1492 arg3 = (int) SWIG_AsInt(obj2);
1493 if (PyErr_Occurred()) SWIG_fail;
1494 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1495 SWIG_POINTER_EXCEPTION | 0)) == -1)
1496 SWIG_fail;
1497 if (arg4 == NULL) {
1498 PyErr_SetString(PyExc_TypeError,"null reference");
1499 SWIG_fail;
1500 }
1501 if (obj4) {
1502 {
1503 arg5 = &temp5;
1504 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1505 }
1506 }
1507 if (obj5) {
1508 {
1509 arg6 = &temp6;
1510 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1511 }
1512 }
1513 if (obj6) {
1514 arg7 = (long) SWIG_AsLong(obj6);
1515 if (PyErr_Occurred()) SWIG_fail;
1516 }
1517 if (obj7) {
1518 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1519 SWIG_POINTER_EXCEPTION | 0)) == -1)
1520 SWIG_fail;
1521 if (arg8 == NULL) {
1522 PyErr_SetString(PyExc_TypeError,"null reference");
1523 SWIG_fail;
1524 }
1525 }
1526 if (obj8) {
1527 {
1528 arg9 = wxString_in_helper(obj8);
1529 if (arg9 == NULL) SWIG_fail;
1530 temp9 = True;
1531 }
1532 }
1533 {
1534 PyThreadState* __tstate = wxPyBeginAllowThreads();
1535 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1536
1537 wxPyEndAllowThreads(__tstate);
1538 if (PyErr_Occurred()) SWIG_fail;
1539 }
1540 {
1541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1542 }
1543 {
1544 if (temp9)
1545 delete arg9;
1546 }
1547 return resultobj;
1548 fail:
1549 {
1550 if (temp9)
1551 delete arg9;
1552 }
1553 return NULL;
1554 }
1555
1556
1557 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
1558 PyObject *resultobj;
1559 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1560 wxBitmap result;
1561 PyObject * obj0 = 0 ;
1562 char *kwnames[] = {
1563 (char *) "self", NULL
1564 };
1565
1566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1569 {
1570 PyThreadState* __tstate = wxPyBeginAllowThreads();
1571 result = (arg1)->GetBitmapLabel();
1572
1573 wxPyEndAllowThreads(__tstate);
1574 if (PyErr_Occurred()) SWIG_fail;
1575 }
1576 {
1577 wxBitmap * resultptr;
1578 resultptr = new wxBitmap((wxBitmap &) result);
1579 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1580 }
1581 return resultobj;
1582 fail:
1583 return NULL;
1584 }
1585
1586
1587 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
1588 PyObject *resultobj;
1589 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1590 wxBitmap result;
1591 PyObject * obj0 = 0 ;
1592 char *kwnames[] = {
1593 (char *) "self", NULL
1594 };
1595
1596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1599 {
1600 PyThreadState* __tstate = wxPyBeginAllowThreads();
1601 result = (arg1)->GetBitmapDisabled();
1602
1603 wxPyEndAllowThreads(__tstate);
1604 if (PyErr_Occurred()) SWIG_fail;
1605 }
1606 {
1607 wxBitmap * resultptr;
1608 resultptr = new wxBitmap((wxBitmap &) result);
1609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1610 }
1611 return resultobj;
1612 fail:
1613 return NULL;
1614 }
1615
1616
1617 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
1618 PyObject *resultobj;
1619 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1620 wxBitmap result;
1621 PyObject * obj0 = 0 ;
1622 char *kwnames[] = {
1623 (char *) "self", NULL
1624 };
1625
1626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1629 {
1630 PyThreadState* __tstate = wxPyBeginAllowThreads();
1631 result = (arg1)->GetBitmapFocus();
1632
1633 wxPyEndAllowThreads(__tstate);
1634 if (PyErr_Occurred()) SWIG_fail;
1635 }
1636 {
1637 wxBitmap * resultptr;
1638 resultptr = new wxBitmap((wxBitmap &) result);
1639 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1640 }
1641 return resultobj;
1642 fail:
1643 return NULL;
1644 }
1645
1646
1647 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
1648 PyObject *resultobj;
1649 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1650 wxBitmap result;
1651 PyObject * obj0 = 0 ;
1652 char *kwnames[] = {
1653 (char *) "self", NULL
1654 };
1655
1656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1659 {
1660 PyThreadState* __tstate = wxPyBeginAllowThreads();
1661 result = (arg1)->GetBitmapSelected();
1662
1663 wxPyEndAllowThreads(__tstate);
1664 if (PyErr_Occurred()) SWIG_fail;
1665 }
1666 {
1667 wxBitmap * resultptr;
1668 resultptr = new wxBitmap((wxBitmap &) result);
1669 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1670 }
1671 return resultobj;
1672 fail:
1673 return NULL;
1674 }
1675
1676
1677 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
1678 PyObject *resultobj;
1679 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1680 wxBitmap *arg2 = 0 ;
1681 PyObject * obj0 = 0 ;
1682 PyObject * obj1 = 0 ;
1683 char *kwnames[] = {
1684 (char *) "self",(char *) "bitmap", NULL
1685 };
1686
1687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1691 SWIG_POINTER_EXCEPTION | 0)) == -1)
1692 SWIG_fail;
1693 if (arg2 == NULL) {
1694 PyErr_SetString(PyExc_TypeError,"null reference");
1695 SWIG_fail;
1696 }
1697 {
1698 PyThreadState* __tstate = wxPyBeginAllowThreads();
1699 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1700
1701 wxPyEndAllowThreads(__tstate);
1702 if (PyErr_Occurred()) SWIG_fail;
1703 }
1704 Py_INCREF(Py_None); resultobj = Py_None;
1705 return resultobj;
1706 fail:
1707 return NULL;
1708 }
1709
1710
1711 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
1712 PyObject *resultobj;
1713 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1714 wxBitmap *arg2 = 0 ;
1715 PyObject * obj0 = 0 ;
1716 PyObject * obj1 = 0 ;
1717 char *kwnames[] = {
1718 (char *) "self",(char *) "bitmap", NULL
1719 };
1720
1721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1724 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1725 SWIG_POINTER_EXCEPTION | 0)) == -1)
1726 SWIG_fail;
1727 if (arg2 == NULL) {
1728 PyErr_SetString(PyExc_TypeError,"null reference");
1729 SWIG_fail;
1730 }
1731 {
1732 PyThreadState* __tstate = wxPyBeginAllowThreads();
1733 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1734
1735 wxPyEndAllowThreads(__tstate);
1736 if (PyErr_Occurred()) SWIG_fail;
1737 }
1738 Py_INCREF(Py_None); resultobj = Py_None;
1739 return resultobj;
1740 fail:
1741 return NULL;
1742 }
1743
1744
1745 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
1746 PyObject *resultobj;
1747 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1748 wxBitmap *arg2 = 0 ;
1749 PyObject * obj0 = 0 ;
1750 PyObject * obj1 = 0 ;
1751 char *kwnames[] = {
1752 (char *) "self",(char *) "bitmap", NULL
1753 };
1754
1755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1758 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1759 SWIG_POINTER_EXCEPTION | 0)) == -1)
1760 SWIG_fail;
1761 if (arg2 == NULL) {
1762 PyErr_SetString(PyExc_TypeError,"null reference");
1763 SWIG_fail;
1764 }
1765 {
1766 PyThreadState* __tstate = wxPyBeginAllowThreads();
1767 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1768
1769 wxPyEndAllowThreads(__tstate);
1770 if (PyErr_Occurred()) SWIG_fail;
1771 }
1772 Py_INCREF(Py_None); resultobj = Py_None;
1773 return resultobj;
1774 fail:
1775 return NULL;
1776 }
1777
1778
1779 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
1780 PyObject *resultobj;
1781 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1782 wxBitmap *arg2 = 0 ;
1783 PyObject * obj0 = 0 ;
1784 PyObject * obj1 = 0 ;
1785 char *kwnames[] = {
1786 (char *) "self",(char *) "bitmap", NULL
1787 };
1788
1789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1792 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1793 SWIG_POINTER_EXCEPTION | 0)) == -1)
1794 SWIG_fail;
1795 if (arg2 == NULL) {
1796 PyErr_SetString(PyExc_TypeError,"null reference");
1797 SWIG_fail;
1798 }
1799 {
1800 PyThreadState* __tstate = wxPyBeginAllowThreads();
1801 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1802
1803 wxPyEndAllowThreads(__tstate);
1804 if (PyErr_Occurred()) SWIG_fail;
1805 }
1806 Py_INCREF(Py_None); resultobj = Py_None;
1807 return resultobj;
1808 fail:
1809 return NULL;
1810 }
1811
1812
1813 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
1814 PyObject *resultobj;
1815 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1816 int arg2 ;
1817 int arg3 ;
1818 PyObject * obj0 = 0 ;
1819 PyObject * obj1 = 0 ;
1820 PyObject * obj2 = 0 ;
1821 char *kwnames[] = {
1822 (char *) "self",(char *) "x",(char *) "y", NULL
1823 };
1824
1825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1828 arg2 = (int) SWIG_AsInt(obj1);
1829 if (PyErr_Occurred()) SWIG_fail;
1830 arg3 = (int) SWIG_AsInt(obj2);
1831 if (PyErr_Occurred()) SWIG_fail;
1832 {
1833 PyThreadState* __tstate = wxPyBeginAllowThreads();
1834 (arg1)->SetMargins(arg2,arg3);
1835
1836 wxPyEndAllowThreads(__tstate);
1837 if (PyErr_Occurred()) SWIG_fail;
1838 }
1839 Py_INCREF(Py_None); resultobj = Py_None;
1840 return resultobj;
1841 fail:
1842 return NULL;
1843 }
1844
1845
1846 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
1847 PyObject *resultobj;
1848 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1849 int result;
1850 PyObject * obj0 = 0 ;
1851 char *kwnames[] = {
1852 (char *) "self", NULL
1853 };
1854
1855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1858 {
1859 PyThreadState* __tstate = wxPyBeginAllowThreads();
1860 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1861
1862 wxPyEndAllowThreads(__tstate);
1863 if (PyErr_Occurred()) SWIG_fail;
1864 }
1865 resultobj = SWIG_FromInt((int)result);
1866 return resultobj;
1867 fail:
1868 return NULL;
1869 }
1870
1871
1872 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
1873 PyObject *resultobj;
1874 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1875 int result;
1876 PyObject * obj0 = 0 ;
1877 char *kwnames[] = {
1878 (char *) "self", NULL
1879 };
1880
1881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1884 {
1885 PyThreadState* __tstate = wxPyBeginAllowThreads();
1886 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1887
1888 wxPyEndAllowThreads(__tstate);
1889 if (PyErr_Occurred()) SWIG_fail;
1890 }
1891 resultobj = SWIG_FromInt((int)result);
1892 return resultobj;
1893 fail:
1894 return NULL;
1895 }
1896
1897
1898 static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
1899 PyObject *obj;
1900 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1901 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1902 Py_INCREF(obj);
1903 return Py_BuildValue((char *)"");
1904 }
1905 static int _wrap_CheckBoxNameStr_set(PyObject *) {
1906 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1907 return 1;
1908 }
1909
1910
1911 static PyObject *_wrap_CheckBoxNameStr_get() {
1912 PyObject *pyobj;
1913
1914 {
1915 #if wxUSE_UNICODE
1916 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1917 #else
1918 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1919 #endif
1920 }
1921 return pyobj;
1922 }
1923
1924
1925 static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
1926 PyObject *resultobj;
1927 wxWindow *arg1 = (wxWindow *) 0 ;
1928 int arg2 ;
1929 wxString *arg3 = 0 ;
1930 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1931 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1932 wxSize const &arg5_defvalue = wxDefaultSize ;
1933 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1934 long arg6 = (long) 0 ;
1935 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1936 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1937 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1938 wxString *arg8 = (wxString *) &arg8_defvalue ;
1939 wxCheckBox *result;
1940 bool temp3 = False ;
1941 wxPoint temp4 ;
1942 wxSize temp5 ;
1943 bool temp8 = False ;
1944 PyObject * obj0 = 0 ;
1945 PyObject * obj1 = 0 ;
1946 PyObject * obj2 = 0 ;
1947 PyObject * obj3 = 0 ;
1948 PyObject * obj4 = 0 ;
1949 PyObject * obj5 = 0 ;
1950 PyObject * obj6 = 0 ;
1951 PyObject * obj7 = 0 ;
1952 char *kwnames[] = {
1953 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1954 };
1955
1956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1959 arg2 = (int) SWIG_AsInt(obj1);
1960 if (PyErr_Occurred()) SWIG_fail;
1961 {
1962 arg3 = wxString_in_helper(obj2);
1963 if (arg3 == NULL) SWIG_fail;
1964 temp3 = True;
1965 }
1966 if (obj3) {
1967 {
1968 arg4 = &temp4;
1969 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1970 }
1971 }
1972 if (obj4) {
1973 {
1974 arg5 = &temp5;
1975 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1976 }
1977 }
1978 if (obj5) {
1979 arg6 = (long) SWIG_AsLong(obj5);
1980 if (PyErr_Occurred()) SWIG_fail;
1981 }
1982 if (obj6) {
1983 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1984 SWIG_POINTER_EXCEPTION | 0)) == -1)
1985 SWIG_fail;
1986 if (arg7 == NULL) {
1987 PyErr_SetString(PyExc_TypeError,"null reference");
1988 SWIG_fail;
1989 }
1990 }
1991 if (obj7) {
1992 {
1993 arg8 = wxString_in_helper(obj7);
1994 if (arg8 == NULL) SWIG_fail;
1995 temp8 = True;
1996 }
1997 }
1998 {
1999 PyThreadState* __tstate = wxPyBeginAllowThreads();
2000 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2001
2002 wxPyEndAllowThreads(__tstate);
2003 if (PyErr_Occurred()) SWIG_fail;
2004 }
2005 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2006 {
2007 if (temp3)
2008 delete arg3;
2009 }
2010 {
2011 if (temp8)
2012 delete arg8;
2013 }
2014 return resultobj;
2015 fail:
2016 {
2017 if (temp3)
2018 delete arg3;
2019 }
2020 {
2021 if (temp8)
2022 delete arg8;
2023 }
2024 return NULL;
2025 }
2026
2027
2028 static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
2029 PyObject *resultobj;
2030 wxCheckBox *result;
2031 char *kwnames[] = {
2032 NULL
2033 };
2034
2035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2036 {
2037 PyThreadState* __tstate = wxPyBeginAllowThreads();
2038 result = (wxCheckBox *)new wxCheckBox();
2039
2040 wxPyEndAllowThreads(__tstate);
2041 if (PyErr_Occurred()) SWIG_fail;
2042 }
2043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2044 return resultobj;
2045 fail:
2046 return NULL;
2047 }
2048
2049
2050 static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2051 PyObject *resultobj;
2052 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2053 wxWindow *arg2 = (wxWindow *) 0 ;
2054 int arg3 ;
2055 wxString *arg4 = 0 ;
2056 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2057 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2058 wxSize const &arg6_defvalue = wxDefaultSize ;
2059 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2060 long arg7 = (long) 0 ;
2061 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2062 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2063 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2064 wxString *arg9 = (wxString *) &arg9_defvalue ;
2065 bool result;
2066 bool temp4 = False ;
2067 wxPoint temp5 ;
2068 wxSize temp6 ;
2069 bool temp9 = False ;
2070 PyObject * obj0 = 0 ;
2071 PyObject * obj1 = 0 ;
2072 PyObject * obj2 = 0 ;
2073 PyObject * obj3 = 0 ;
2074 PyObject * obj4 = 0 ;
2075 PyObject * obj5 = 0 ;
2076 PyObject * obj6 = 0 ;
2077 PyObject * obj7 = 0 ;
2078 PyObject * obj8 = 0 ;
2079 char *kwnames[] = {
2080 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2081 };
2082
2083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2086 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2088 arg3 = (int) SWIG_AsInt(obj2);
2089 if (PyErr_Occurred()) SWIG_fail;
2090 {
2091 arg4 = wxString_in_helper(obj3);
2092 if (arg4 == NULL) SWIG_fail;
2093 temp4 = True;
2094 }
2095 if (obj4) {
2096 {
2097 arg5 = &temp5;
2098 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2099 }
2100 }
2101 if (obj5) {
2102 {
2103 arg6 = &temp6;
2104 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2105 }
2106 }
2107 if (obj6) {
2108 arg7 = (long) SWIG_AsLong(obj6);
2109 if (PyErr_Occurred()) SWIG_fail;
2110 }
2111 if (obj7) {
2112 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2113 SWIG_POINTER_EXCEPTION | 0)) == -1)
2114 SWIG_fail;
2115 if (arg8 == NULL) {
2116 PyErr_SetString(PyExc_TypeError,"null reference");
2117 SWIG_fail;
2118 }
2119 }
2120 if (obj8) {
2121 {
2122 arg9 = wxString_in_helper(obj8);
2123 if (arg9 == NULL) SWIG_fail;
2124 temp9 = True;
2125 }
2126 }
2127 {
2128 PyThreadState* __tstate = wxPyBeginAllowThreads();
2129 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2130
2131 wxPyEndAllowThreads(__tstate);
2132 if (PyErr_Occurred()) SWIG_fail;
2133 }
2134 {
2135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2136 }
2137 {
2138 if (temp4)
2139 delete arg4;
2140 }
2141 {
2142 if (temp9)
2143 delete arg9;
2144 }
2145 return resultobj;
2146 fail:
2147 {
2148 if (temp4)
2149 delete arg4;
2150 }
2151 {
2152 if (temp9)
2153 delete arg9;
2154 }
2155 return NULL;
2156 }
2157
2158
2159 static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
2160 PyObject *resultobj;
2161 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2162 bool result;
2163 PyObject * obj0 = 0 ;
2164 char *kwnames[] = {
2165 (char *) "self", NULL
2166 };
2167
2168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2171 {
2172 PyThreadState* __tstate = wxPyBeginAllowThreads();
2173 result = (bool)(arg1)->GetValue();
2174
2175 wxPyEndAllowThreads(__tstate);
2176 if (PyErr_Occurred()) SWIG_fail;
2177 }
2178 {
2179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2180 }
2181 return resultobj;
2182 fail:
2183 return NULL;
2184 }
2185
2186
2187 static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
2188 PyObject *resultobj;
2189 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2190 bool result;
2191 PyObject * obj0 = 0 ;
2192 char *kwnames[] = {
2193 (char *) "self", NULL
2194 };
2195
2196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2199 {
2200 PyThreadState* __tstate = wxPyBeginAllowThreads();
2201 result = (bool)(arg1)->IsChecked();
2202
2203 wxPyEndAllowThreads(__tstate);
2204 if (PyErr_Occurred()) SWIG_fail;
2205 }
2206 {
2207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2208 }
2209 return resultobj;
2210 fail:
2211 return NULL;
2212 }
2213
2214
2215 static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
2216 PyObject *resultobj;
2217 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2218 bool arg2 ;
2219 PyObject * obj0 = 0 ;
2220 PyObject * obj1 = 0 ;
2221 char *kwnames[] = {
2222 (char *) "self",(char *) "state", NULL
2223 };
2224
2225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2228 arg2 = (bool const) SWIG_AsBool(obj1);
2229 if (PyErr_Occurred()) SWIG_fail;
2230 {
2231 PyThreadState* __tstate = wxPyBeginAllowThreads();
2232 (arg1)->SetValue(arg2);
2233
2234 wxPyEndAllowThreads(__tstate);
2235 if (PyErr_Occurred()) SWIG_fail;
2236 }
2237 Py_INCREF(Py_None); resultobj = Py_None;
2238 return resultobj;
2239 fail:
2240 return NULL;
2241 }
2242
2243
2244 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
2245 PyObject *resultobj;
2246 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2247 int result;
2248 PyObject * obj0 = 0 ;
2249 char *kwnames[] = {
2250 (char *) "self", NULL
2251 };
2252
2253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2256 {
2257 PyThreadState* __tstate = wxPyBeginAllowThreads();
2258 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2259
2260 wxPyEndAllowThreads(__tstate);
2261 if (PyErr_Occurred()) SWIG_fail;
2262 }
2263 resultobj = SWIG_FromInt((int)result);
2264 return resultobj;
2265 fail:
2266 return NULL;
2267 }
2268
2269
2270 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
2271 PyObject *resultobj;
2272 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2273 int arg2 ;
2274 PyObject * obj0 = 0 ;
2275 PyObject * obj1 = 0 ;
2276 char *kwnames[] = {
2277 (char *) "self",(char *) "state", NULL
2278 };
2279
2280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2283 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2284 if (PyErr_Occurred()) SWIG_fail;
2285 {
2286 PyThreadState* __tstate = wxPyBeginAllowThreads();
2287 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2288
2289 wxPyEndAllowThreads(__tstate);
2290 if (PyErr_Occurred()) SWIG_fail;
2291 }
2292 Py_INCREF(Py_None); resultobj = Py_None;
2293 return resultobj;
2294 fail:
2295 return NULL;
2296 }
2297
2298
2299 static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
2300 PyObject *resultobj;
2301 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2302 bool result;
2303 PyObject * obj0 = 0 ;
2304 char *kwnames[] = {
2305 (char *) "self", NULL
2306 };
2307
2308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2311 {
2312 PyThreadState* __tstate = wxPyBeginAllowThreads();
2313 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2314
2315 wxPyEndAllowThreads(__tstate);
2316 if (PyErr_Occurred()) SWIG_fail;
2317 }
2318 {
2319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2320 }
2321 return resultobj;
2322 fail:
2323 return NULL;
2324 }
2325
2326
2327 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
2328 PyObject *resultobj;
2329 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2330 bool result;
2331 PyObject * obj0 = 0 ;
2332 char *kwnames[] = {
2333 (char *) "self", NULL
2334 };
2335
2336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2339 {
2340 PyThreadState* __tstate = wxPyBeginAllowThreads();
2341 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2342
2343 wxPyEndAllowThreads(__tstate);
2344 if (PyErr_Occurred()) SWIG_fail;
2345 }
2346 {
2347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2348 }
2349 return resultobj;
2350 fail:
2351 return NULL;
2352 }
2353
2354
2355 static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
2356 PyObject *obj;
2357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2358 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2359 Py_INCREF(obj);
2360 return Py_BuildValue((char *)"");
2361 }
2362 static int _wrap_ChoiceNameStr_set(PyObject *) {
2363 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2364 return 1;
2365 }
2366
2367
2368 static PyObject *_wrap_ChoiceNameStr_get() {
2369 PyObject *pyobj;
2370
2371 {
2372 #if wxUSE_UNICODE
2373 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2374 #else
2375 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2376 #endif
2377 }
2378 return pyobj;
2379 }
2380
2381
2382 static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
2383 PyObject *resultobj;
2384 wxWindow *arg1 = (wxWindow *) 0 ;
2385 int arg2 ;
2386 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2387 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2388 wxSize const &arg4_defvalue = wxDefaultSize ;
2389 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2390 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2391 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2392 long arg6 = (long) 0 ;
2393 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2394 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2395 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2396 wxString *arg8 = (wxString *) &arg8_defvalue ;
2397 wxChoice *result;
2398 wxPoint temp3 ;
2399 wxSize temp4 ;
2400 bool temp5 = False ;
2401 bool temp8 = False ;
2402 PyObject * obj0 = 0 ;
2403 PyObject * obj1 = 0 ;
2404 PyObject * obj2 = 0 ;
2405 PyObject * obj3 = 0 ;
2406 PyObject * obj4 = 0 ;
2407 PyObject * obj5 = 0 ;
2408 PyObject * obj6 = 0 ;
2409 PyObject * obj7 = 0 ;
2410 char *kwnames[] = {
2411 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2412 };
2413
2414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2417 arg2 = (int) SWIG_AsInt(obj1);
2418 if (PyErr_Occurred()) SWIG_fail;
2419 if (obj2) {
2420 {
2421 arg3 = &temp3;
2422 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2423 }
2424 }
2425 if (obj3) {
2426 {
2427 arg4 = &temp4;
2428 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2429 }
2430 }
2431 if (obj4) {
2432 {
2433 if (! PySequence_Check(obj4)) {
2434 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2435 SWIG_fail;
2436 }
2437 arg5 = new wxArrayString;
2438 temp5 = True;
2439 int i, len=PySequence_Length(obj4);
2440 for (i=0; i<len; i++) {
2441 PyObject* item = PySequence_GetItem(obj4, i);
2442 #if wxUSE_UNICODE
2443 PyObject* str = PyObject_Unicode(item);
2444 #else
2445 PyObject* str = PyObject_Str(item);
2446 #endif
2447 if (PyErr_Occurred()) SWIG_fail;
2448 arg5->Add(Py2wxString(str));
2449 Py_DECREF(item);
2450 Py_DECREF(str);
2451 }
2452 }
2453 }
2454 if (obj5) {
2455 arg6 = (long) SWIG_AsLong(obj5);
2456 if (PyErr_Occurred()) SWIG_fail;
2457 }
2458 if (obj6) {
2459 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2460 SWIG_POINTER_EXCEPTION | 0)) == -1)
2461 SWIG_fail;
2462 if (arg7 == NULL) {
2463 PyErr_SetString(PyExc_TypeError,"null reference");
2464 SWIG_fail;
2465 }
2466 }
2467 if (obj7) {
2468 {
2469 arg8 = wxString_in_helper(obj7);
2470 if (arg8 == NULL) SWIG_fail;
2471 temp8 = True;
2472 }
2473 }
2474 {
2475 PyThreadState* __tstate = wxPyBeginAllowThreads();
2476 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2477
2478 wxPyEndAllowThreads(__tstate);
2479 if (PyErr_Occurred()) SWIG_fail;
2480 }
2481 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2482 {
2483 if (temp5) delete arg5;
2484 }
2485 {
2486 if (temp8)
2487 delete arg8;
2488 }
2489 return resultobj;
2490 fail:
2491 {
2492 if (temp5) delete arg5;
2493 }
2494 {
2495 if (temp8)
2496 delete arg8;
2497 }
2498 return NULL;
2499 }
2500
2501
2502 static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
2503 PyObject *resultobj;
2504 wxChoice *result;
2505 char *kwnames[] = {
2506 NULL
2507 };
2508
2509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2510 {
2511 PyThreadState* __tstate = wxPyBeginAllowThreads();
2512 result = (wxChoice *)new wxChoice();
2513
2514 wxPyEndAllowThreads(__tstate);
2515 if (PyErr_Occurred()) SWIG_fail;
2516 }
2517 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2518 return resultobj;
2519 fail:
2520 return NULL;
2521 }
2522
2523
2524 static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2525 PyObject *resultobj;
2526 wxChoice *arg1 = (wxChoice *) 0 ;
2527 wxWindow *arg2 = (wxWindow *) 0 ;
2528 int arg3 ;
2529 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2530 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2531 wxSize const &arg5_defvalue = wxDefaultSize ;
2532 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2533 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2534 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2535 long arg7 = (long) 0 ;
2536 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2537 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2538 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2539 wxString *arg9 = (wxString *) &arg9_defvalue ;
2540 bool result;
2541 wxPoint temp4 ;
2542 wxSize temp5 ;
2543 bool temp6 = False ;
2544 bool temp9 = False ;
2545 PyObject * obj0 = 0 ;
2546 PyObject * obj1 = 0 ;
2547 PyObject * obj2 = 0 ;
2548 PyObject * obj3 = 0 ;
2549 PyObject * obj4 = 0 ;
2550 PyObject * obj5 = 0 ;
2551 PyObject * obj6 = 0 ;
2552 PyObject * obj7 = 0 ;
2553 PyObject * obj8 = 0 ;
2554 char *kwnames[] = {
2555 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2556 };
2557
2558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2561 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2563 arg3 = (int) SWIG_AsInt(obj2);
2564 if (PyErr_Occurred()) SWIG_fail;
2565 if (obj3) {
2566 {
2567 arg4 = &temp4;
2568 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2569 }
2570 }
2571 if (obj4) {
2572 {
2573 arg5 = &temp5;
2574 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2575 }
2576 }
2577 if (obj5) {
2578 {
2579 if (! PySequence_Check(obj5)) {
2580 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2581 SWIG_fail;
2582 }
2583 arg6 = new wxArrayString;
2584 temp6 = True;
2585 int i, len=PySequence_Length(obj5);
2586 for (i=0; i<len; i++) {
2587 PyObject* item = PySequence_GetItem(obj5, i);
2588 #if wxUSE_UNICODE
2589 PyObject* str = PyObject_Unicode(item);
2590 #else
2591 PyObject* str = PyObject_Str(item);
2592 #endif
2593 if (PyErr_Occurred()) SWIG_fail;
2594 arg6->Add(Py2wxString(str));
2595 Py_DECREF(item);
2596 Py_DECREF(str);
2597 }
2598 }
2599 }
2600 if (obj6) {
2601 arg7 = (long) SWIG_AsLong(obj6);
2602 if (PyErr_Occurred()) SWIG_fail;
2603 }
2604 if (obj7) {
2605 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2606 SWIG_POINTER_EXCEPTION | 0)) == -1)
2607 SWIG_fail;
2608 if (arg8 == NULL) {
2609 PyErr_SetString(PyExc_TypeError,"null reference");
2610 SWIG_fail;
2611 }
2612 }
2613 if (obj8) {
2614 {
2615 arg9 = wxString_in_helper(obj8);
2616 if (arg9 == NULL) SWIG_fail;
2617 temp9 = True;
2618 }
2619 }
2620 {
2621 PyThreadState* __tstate = wxPyBeginAllowThreads();
2622 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2623
2624 wxPyEndAllowThreads(__tstate);
2625 if (PyErr_Occurred()) SWIG_fail;
2626 }
2627 {
2628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2629 }
2630 {
2631 if (temp6) delete arg6;
2632 }
2633 {
2634 if (temp9)
2635 delete arg9;
2636 }
2637 return resultobj;
2638 fail:
2639 {
2640 if (temp6) delete arg6;
2641 }
2642 {
2643 if (temp9)
2644 delete arg9;
2645 }
2646 return NULL;
2647 }
2648
2649
2650 static PyObject *_wrap_Choice_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
2651 PyObject *resultobj;
2652 wxChoice *arg1 = (wxChoice *) 0 ;
2653 int arg2 ;
2654 PyObject * obj0 = 0 ;
2655 PyObject * obj1 = 0 ;
2656 char *kwnames[] = {
2657 (char *) "self",(char *) "n", NULL
2658 };
2659
2660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2663 arg2 = (int const) SWIG_AsInt(obj1);
2664 if (PyErr_Occurred()) SWIG_fail;
2665 {
2666 PyThreadState* __tstate = wxPyBeginAllowThreads();
2667 (arg1)->SetSelection(arg2);
2668
2669 wxPyEndAllowThreads(__tstate);
2670 if (PyErr_Occurred()) SWIG_fail;
2671 }
2672 Py_INCREF(Py_None); resultobj = Py_None;
2673 return resultobj;
2674 fail:
2675 return NULL;
2676 }
2677
2678
2679 static PyObject *_wrap_Choice_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
2680 PyObject *resultobj;
2681 wxChoice *arg1 = (wxChoice *) 0 ;
2682 wxString *arg2 = 0 ;
2683 bool temp2 = False ;
2684 PyObject * obj0 = 0 ;
2685 PyObject * obj1 = 0 ;
2686 char *kwnames[] = {
2687 (char *) "self",(char *) "string", NULL
2688 };
2689
2690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2693 {
2694 arg2 = wxString_in_helper(obj1);
2695 if (arg2 == NULL) SWIG_fail;
2696 temp2 = True;
2697 }
2698 {
2699 PyThreadState* __tstate = wxPyBeginAllowThreads();
2700 (arg1)->SetStringSelection((wxString const &)*arg2);
2701
2702 wxPyEndAllowThreads(__tstate);
2703 if (PyErr_Occurred()) SWIG_fail;
2704 }
2705 Py_INCREF(Py_None); resultobj = Py_None;
2706 {
2707 if (temp2)
2708 delete arg2;
2709 }
2710 return resultobj;
2711 fail:
2712 {
2713 if (temp2)
2714 delete arg2;
2715 }
2716 return NULL;
2717 }
2718
2719
2720 static PyObject *_wrap_Choice_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
2721 PyObject *resultobj;
2722 wxChoice *arg1 = (wxChoice *) 0 ;
2723 int arg2 ;
2724 wxString *arg3 = 0 ;
2725 bool temp3 = False ;
2726 PyObject * obj0 = 0 ;
2727 PyObject * obj1 = 0 ;
2728 PyObject * obj2 = 0 ;
2729 char *kwnames[] = {
2730 (char *) "self",(char *) "n",(char *) "string", NULL
2731 };
2732
2733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2736 arg2 = (int) SWIG_AsInt(obj1);
2737 if (PyErr_Occurred()) SWIG_fail;
2738 {
2739 arg3 = wxString_in_helper(obj2);
2740 if (arg3 == NULL) SWIG_fail;
2741 temp3 = True;
2742 }
2743 {
2744 PyThreadState* __tstate = wxPyBeginAllowThreads();
2745 (arg1)->SetString(arg2,(wxString const &)*arg3);
2746
2747 wxPyEndAllowThreads(__tstate);
2748 if (PyErr_Occurred()) SWIG_fail;
2749 }
2750 Py_INCREF(Py_None); resultobj = Py_None;
2751 {
2752 if (temp3)
2753 delete arg3;
2754 }
2755 return resultobj;
2756 fail:
2757 {
2758 if (temp3)
2759 delete arg3;
2760 }
2761 return NULL;
2762 }
2763
2764
2765 static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
2766 PyObject *obj;
2767 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2768 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2769 Py_INCREF(obj);
2770 return Py_BuildValue((char *)"");
2771 }
2772 static int _wrap_ComboBoxNameStr_set(PyObject *) {
2773 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2774 return 1;
2775 }
2776
2777
2778 static PyObject *_wrap_ComboBoxNameStr_get() {
2779 PyObject *pyobj;
2780
2781 {
2782 #if wxUSE_UNICODE
2783 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2784 #else
2785 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2786 #endif
2787 }
2788 return pyobj;
2789 }
2790
2791
2792 static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
2793 PyObject *resultobj;
2794 wxWindow *arg1 = (wxWindow *) 0 ;
2795 int arg2 ;
2796 wxString const &arg3_defvalue = wxPyEmptyString ;
2797 wxString *arg3 = (wxString *) &arg3_defvalue ;
2798 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2799 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2800 wxSize const &arg5_defvalue = wxDefaultSize ;
2801 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2802 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2803 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2804 long arg7 = (long) 0 ;
2805 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2806 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2807 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2808 wxString *arg9 = (wxString *) &arg9_defvalue ;
2809 wxComboBox *result;
2810 bool temp3 = False ;
2811 wxPoint temp4 ;
2812 wxSize temp5 ;
2813 bool temp6 = False ;
2814 bool temp9 = False ;
2815 PyObject * obj0 = 0 ;
2816 PyObject * obj1 = 0 ;
2817 PyObject * obj2 = 0 ;
2818 PyObject * obj3 = 0 ;
2819 PyObject * obj4 = 0 ;
2820 PyObject * obj5 = 0 ;
2821 PyObject * obj6 = 0 ;
2822 PyObject * obj7 = 0 ;
2823 PyObject * obj8 = 0 ;
2824 char *kwnames[] = {
2825 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2826 };
2827
2828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2831 arg2 = (int) SWIG_AsInt(obj1);
2832 if (PyErr_Occurred()) SWIG_fail;
2833 if (obj2) {
2834 {
2835 arg3 = wxString_in_helper(obj2);
2836 if (arg3 == NULL) SWIG_fail;
2837 temp3 = True;
2838 }
2839 }
2840 if (obj3) {
2841 {
2842 arg4 = &temp4;
2843 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2844 }
2845 }
2846 if (obj4) {
2847 {
2848 arg5 = &temp5;
2849 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2850 }
2851 }
2852 if (obj5) {
2853 {
2854 if (! PySequence_Check(obj5)) {
2855 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2856 SWIG_fail;
2857 }
2858 arg6 = new wxArrayString;
2859 temp6 = True;
2860 int i, len=PySequence_Length(obj5);
2861 for (i=0; i<len; i++) {
2862 PyObject* item = PySequence_GetItem(obj5, i);
2863 #if wxUSE_UNICODE
2864 PyObject* str = PyObject_Unicode(item);
2865 #else
2866 PyObject* str = PyObject_Str(item);
2867 #endif
2868 if (PyErr_Occurred()) SWIG_fail;
2869 arg6->Add(Py2wxString(str));
2870 Py_DECREF(item);
2871 Py_DECREF(str);
2872 }
2873 }
2874 }
2875 if (obj6) {
2876 arg7 = (long) SWIG_AsLong(obj6);
2877 if (PyErr_Occurred()) SWIG_fail;
2878 }
2879 if (obj7) {
2880 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2881 SWIG_POINTER_EXCEPTION | 0)) == -1)
2882 SWIG_fail;
2883 if (arg8 == NULL) {
2884 PyErr_SetString(PyExc_TypeError,"null reference");
2885 SWIG_fail;
2886 }
2887 }
2888 if (obj8) {
2889 {
2890 arg9 = wxString_in_helper(obj8);
2891 if (arg9 == NULL) SWIG_fail;
2892 temp9 = True;
2893 }
2894 }
2895 {
2896 PyThreadState* __tstate = wxPyBeginAllowThreads();
2897 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);
2898
2899 wxPyEndAllowThreads(__tstate);
2900 if (PyErr_Occurred()) SWIG_fail;
2901 }
2902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2903 {
2904 if (temp3)
2905 delete arg3;
2906 }
2907 {
2908 if (temp6) delete arg6;
2909 }
2910 {
2911 if (temp9)
2912 delete arg9;
2913 }
2914 return resultobj;
2915 fail:
2916 {
2917 if (temp3)
2918 delete arg3;
2919 }
2920 {
2921 if (temp6) delete arg6;
2922 }
2923 {
2924 if (temp9)
2925 delete arg9;
2926 }
2927 return NULL;
2928 }
2929
2930
2931 static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
2932 PyObject *resultobj;
2933 wxComboBox *result;
2934 char *kwnames[] = {
2935 NULL
2936 };
2937
2938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2939 {
2940 PyThreadState* __tstate = wxPyBeginAllowThreads();
2941 result = (wxComboBox *)new wxComboBox();
2942
2943 wxPyEndAllowThreads(__tstate);
2944 if (PyErr_Occurred()) SWIG_fail;
2945 }
2946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2947 return resultobj;
2948 fail:
2949 return NULL;
2950 }
2951
2952
2953 static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2954 PyObject *resultobj;
2955 wxComboBox *arg1 = (wxComboBox *) 0 ;
2956 wxWindow *arg2 = (wxWindow *) 0 ;
2957 int arg3 ;
2958 wxString const &arg4_defvalue = wxPyEmptyString ;
2959 wxString *arg4 = (wxString *) &arg4_defvalue ;
2960 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2961 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2962 wxSize const &arg6_defvalue = wxDefaultSize ;
2963 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2964 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
2965 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
2966 long arg8 = (long) 0 ;
2967 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2968 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2969 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2970 wxString *arg10 = (wxString *) &arg10_defvalue ;
2971 bool result;
2972 bool temp4 = False ;
2973 wxPoint temp5 ;
2974 wxSize temp6 ;
2975 bool temp7 = False ;
2976 bool temp10 = False ;
2977 PyObject * obj0 = 0 ;
2978 PyObject * obj1 = 0 ;
2979 PyObject * obj2 = 0 ;
2980 PyObject * obj3 = 0 ;
2981 PyObject * obj4 = 0 ;
2982 PyObject * obj5 = 0 ;
2983 PyObject * obj6 = 0 ;
2984 PyObject * obj7 = 0 ;
2985 PyObject * obj8 = 0 ;
2986 PyObject * obj9 = 0 ;
2987 char *kwnames[] = {
2988 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2989 };
2990
2991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
2993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2994 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2996 arg3 = (int) SWIG_AsInt(obj2);
2997 if (PyErr_Occurred()) SWIG_fail;
2998 if (obj3) {
2999 {
3000 arg4 = wxString_in_helper(obj3);
3001 if (arg4 == NULL) SWIG_fail;
3002 temp4 = True;
3003 }
3004 }
3005 if (obj4) {
3006 {
3007 arg5 = &temp5;
3008 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3009 }
3010 }
3011 if (obj5) {
3012 {
3013 arg6 = &temp6;
3014 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3015 }
3016 }
3017 if (obj6) {
3018 {
3019 if (! PySequence_Check(obj6)) {
3020 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3021 SWIG_fail;
3022 }
3023 arg7 = new wxArrayString;
3024 temp7 = True;
3025 int i, len=PySequence_Length(obj6);
3026 for (i=0; i<len; i++) {
3027 PyObject* item = PySequence_GetItem(obj6, i);
3028 #if wxUSE_UNICODE
3029 PyObject* str = PyObject_Unicode(item);
3030 #else
3031 PyObject* str = PyObject_Str(item);
3032 #endif
3033 if (PyErr_Occurred()) SWIG_fail;
3034 arg7->Add(Py2wxString(str));
3035 Py_DECREF(item);
3036 Py_DECREF(str);
3037 }
3038 }
3039 }
3040 if (obj7) {
3041 arg8 = (long) SWIG_AsLong(obj7);
3042 if (PyErr_Occurred()) SWIG_fail;
3043 }
3044 if (obj8) {
3045 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3046 SWIG_POINTER_EXCEPTION | 0)) == -1)
3047 SWIG_fail;
3048 if (arg9 == NULL) {
3049 PyErr_SetString(PyExc_TypeError,"null reference");
3050 SWIG_fail;
3051 }
3052 }
3053 if (obj9) {
3054 {
3055 arg10 = wxString_in_helper(obj9);
3056 if (arg10 == NULL) SWIG_fail;
3057 temp10 = True;
3058 }
3059 }
3060 {
3061 PyThreadState* __tstate = wxPyBeginAllowThreads();
3062 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);
3063
3064 wxPyEndAllowThreads(__tstate);
3065 if (PyErr_Occurred()) SWIG_fail;
3066 }
3067 {
3068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3069 }
3070 {
3071 if (temp4)
3072 delete arg4;
3073 }
3074 {
3075 if (temp7) delete arg7;
3076 }
3077 {
3078 if (temp10)
3079 delete arg10;
3080 }
3081 return resultobj;
3082 fail:
3083 {
3084 if (temp4)
3085 delete arg4;
3086 }
3087 {
3088 if (temp7) delete arg7;
3089 }
3090 {
3091 if (temp10)
3092 delete arg10;
3093 }
3094 return NULL;
3095 }
3096
3097
3098 static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3099 PyObject *resultobj;
3100 wxComboBox *arg1 = (wxComboBox *) 0 ;
3101 wxString result;
3102 PyObject * obj0 = 0 ;
3103 char *kwnames[] = {
3104 (char *) "self", NULL
3105 };
3106
3107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3110 {
3111 PyThreadState* __tstate = wxPyBeginAllowThreads();
3112 result = ((wxComboBox const *)arg1)->GetValue();
3113
3114 wxPyEndAllowThreads(__tstate);
3115 if (PyErr_Occurred()) SWIG_fail;
3116 }
3117 {
3118 #if wxUSE_UNICODE
3119 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3120 #else
3121 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3122 #endif
3123 }
3124 return resultobj;
3125 fail:
3126 return NULL;
3127 }
3128
3129
3130 static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3131 PyObject *resultobj;
3132 wxComboBox *arg1 = (wxComboBox *) 0 ;
3133 wxString *arg2 = 0 ;
3134 bool temp2 = False ;
3135 PyObject * obj0 = 0 ;
3136 PyObject * obj1 = 0 ;
3137 char *kwnames[] = {
3138 (char *) "self",(char *) "value", NULL
3139 };
3140
3141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3144 {
3145 arg2 = wxString_in_helper(obj1);
3146 if (arg2 == NULL) SWIG_fail;
3147 temp2 = True;
3148 }
3149 {
3150 PyThreadState* __tstate = wxPyBeginAllowThreads();
3151 (arg1)->SetValue((wxString const &)*arg2);
3152
3153 wxPyEndAllowThreads(__tstate);
3154 if (PyErr_Occurred()) SWIG_fail;
3155 }
3156 Py_INCREF(Py_None); resultobj = Py_None;
3157 {
3158 if (temp2)
3159 delete arg2;
3160 }
3161 return resultobj;
3162 fail:
3163 {
3164 if (temp2)
3165 delete arg2;
3166 }
3167 return NULL;
3168 }
3169
3170
3171 static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
3172 PyObject *resultobj;
3173 wxComboBox *arg1 = (wxComboBox *) 0 ;
3174 PyObject * obj0 = 0 ;
3175 char *kwnames[] = {
3176 (char *) "self", NULL
3177 };
3178
3179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3182 {
3183 PyThreadState* __tstate = wxPyBeginAllowThreads();
3184 (arg1)->Copy();
3185
3186 wxPyEndAllowThreads(__tstate);
3187 if (PyErr_Occurred()) SWIG_fail;
3188 }
3189 Py_INCREF(Py_None); resultobj = Py_None;
3190 return resultobj;
3191 fail:
3192 return NULL;
3193 }
3194
3195
3196 static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
3197 PyObject *resultobj;
3198 wxComboBox *arg1 = (wxComboBox *) 0 ;
3199 PyObject * obj0 = 0 ;
3200 char *kwnames[] = {
3201 (char *) "self", NULL
3202 };
3203
3204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3207 {
3208 PyThreadState* __tstate = wxPyBeginAllowThreads();
3209 (arg1)->Cut();
3210
3211 wxPyEndAllowThreads(__tstate);
3212 if (PyErr_Occurred()) SWIG_fail;
3213 }
3214 Py_INCREF(Py_None); resultobj = Py_None;
3215 return resultobj;
3216 fail:
3217 return NULL;
3218 }
3219
3220
3221 static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
3222 PyObject *resultobj;
3223 wxComboBox *arg1 = (wxComboBox *) 0 ;
3224 PyObject * obj0 = 0 ;
3225 char *kwnames[] = {
3226 (char *) "self", NULL
3227 };
3228
3229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3232 {
3233 PyThreadState* __tstate = wxPyBeginAllowThreads();
3234 (arg1)->Paste();
3235
3236 wxPyEndAllowThreads(__tstate);
3237 if (PyErr_Occurred()) SWIG_fail;
3238 }
3239 Py_INCREF(Py_None); resultobj = Py_None;
3240 return resultobj;
3241 fail:
3242 return NULL;
3243 }
3244
3245
3246 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
3247 PyObject *resultobj;
3248 wxComboBox *arg1 = (wxComboBox *) 0 ;
3249 long arg2 ;
3250 PyObject * obj0 = 0 ;
3251 PyObject * obj1 = 0 ;
3252 char *kwnames[] = {
3253 (char *) "self",(char *) "pos", NULL
3254 };
3255
3256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3259 arg2 = (long) SWIG_AsLong(obj1);
3260 if (PyErr_Occurred()) SWIG_fail;
3261 {
3262 PyThreadState* __tstate = wxPyBeginAllowThreads();
3263 (arg1)->SetInsertionPoint(arg2);
3264
3265 wxPyEndAllowThreads(__tstate);
3266 if (PyErr_Occurred()) SWIG_fail;
3267 }
3268 Py_INCREF(Py_None); resultobj = Py_None;
3269 return resultobj;
3270 fail:
3271 return NULL;
3272 }
3273
3274
3275 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
3276 PyObject *resultobj;
3277 wxComboBox *arg1 = (wxComboBox *) 0 ;
3278 long result;
3279 PyObject * obj0 = 0 ;
3280 char *kwnames[] = {
3281 (char *) "self", NULL
3282 };
3283
3284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3287 {
3288 PyThreadState* __tstate = wxPyBeginAllowThreads();
3289 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3290
3291 wxPyEndAllowThreads(__tstate);
3292 if (PyErr_Occurred()) SWIG_fail;
3293 }
3294 resultobj = SWIG_FromLong((long)result);
3295 return resultobj;
3296 fail:
3297 return NULL;
3298 }
3299
3300
3301 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
3302 PyObject *resultobj;
3303 wxComboBox *arg1 = (wxComboBox *) 0 ;
3304 long result;
3305 PyObject * obj0 = 0 ;
3306 char *kwnames[] = {
3307 (char *) "self", NULL
3308 };
3309
3310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3313 {
3314 PyThreadState* __tstate = wxPyBeginAllowThreads();
3315 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3316
3317 wxPyEndAllowThreads(__tstate);
3318 if (PyErr_Occurred()) SWIG_fail;
3319 }
3320 resultobj = SWIG_FromLong((long)result);
3321 return resultobj;
3322 fail:
3323 return NULL;
3324 }
3325
3326
3327 static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
3328 PyObject *resultobj;
3329 wxComboBox *arg1 = (wxComboBox *) 0 ;
3330 long arg2 ;
3331 long arg3 ;
3332 wxString *arg4 = 0 ;
3333 bool temp4 = False ;
3334 PyObject * obj0 = 0 ;
3335 PyObject * obj1 = 0 ;
3336 PyObject * obj2 = 0 ;
3337 PyObject * obj3 = 0 ;
3338 char *kwnames[] = {
3339 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3340 };
3341
3342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3345 arg2 = (long) SWIG_AsLong(obj1);
3346 if (PyErr_Occurred()) SWIG_fail;
3347 arg3 = (long) SWIG_AsLong(obj2);
3348 if (PyErr_Occurred()) SWIG_fail;
3349 {
3350 arg4 = wxString_in_helper(obj3);
3351 if (arg4 == NULL) SWIG_fail;
3352 temp4 = True;
3353 }
3354 {
3355 PyThreadState* __tstate = wxPyBeginAllowThreads();
3356 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3357
3358 wxPyEndAllowThreads(__tstate);
3359 if (PyErr_Occurred()) SWIG_fail;
3360 }
3361 Py_INCREF(Py_None); resultobj = Py_None;
3362 {
3363 if (temp4)
3364 delete arg4;
3365 }
3366 return resultobj;
3367 fail:
3368 {
3369 if (temp4)
3370 delete arg4;
3371 }
3372 return NULL;
3373 }
3374
3375
3376 static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
3377 PyObject *resultobj;
3378 wxComboBox *arg1 = (wxComboBox *) 0 ;
3379 int arg2 ;
3380 PyObject * obj0 = 0 ;
3381 PyObject * obj1 = 0 ;
3382 char *kwnames[] = {
3383 (char *) "self",(char *) "n", NULL
3384 };
3385
3386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3389 arg2 = (int) SWIG_AsInt(obj1);
3390 if (PyErr_Occurred()) SWIG_fail;
3391 {
3392 PyThreadState* __tstate = wxPyBeginAllowThreads();
3393 (arg1)->SetSelection(arg2);
3394
3395 wxPyEndAllowThreads(__tstate);
3396 if (PyErr_Occurred()) SWIG_fail;
3397 }
3398 Py_INCREF(Py_None); resultobj = Py_None;
3399 return resultobj;
3400 fail:
3401 return NULL;
3402 }
3403
3404
3405 static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
3406 PyObject *resultobj;
3407 wxComboBox *arg1 = (wxComboBox *) 0 ;
3408 long arg2 ;
3409 long arg3 ;
3410 PyObject * obj0 = 0 ;
3411 PyObject * obj1 = 0 ;
3412 PyObject * obj2 = 0 ;
3413 char *kwnames[] = {
3414 (char *) "self",(char *) "from",(char *) "to", NULL
3415 };
3416
3417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3420 arg2 = (long) SWIG_AsLong(obj1);
3421 if (PyErr_Occurred()) SWIG_fail;
3422 arg3 = (long) SWIG_AsLong(obj2);
3423 if (PyErr_Occurred()) SWIG_fail;
3424 {
3425 PyThreadState* __tstate = wxPyBeginAllowThreads();
3426 (arg1)->SetSelection(arg2,arg3);
3427
3428 wxPyEndAllowThreads(__tstate);
3429 if (PyErr_Occurred()) SWIG_fail;
3430 }
3431 Py_INCREF(Py_None); resultobj = Py_None;
3432 return resultobj;
3433 fail:
3434 return NULL;
3435 }
3436
3437
3438 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
3439 PyObject *resultobj;
3440 wxComboBox *arg1 = (wxComboBox *) 0 ;
3441 bool arg2 ;
3442 PyObject * obj0 = 0 ;
3443 PyObject * obj1 = 0 ;
3444 char *kwnames[] = {
3445 (char *) "self",(char *) "editable", NULL
3446 };
3447
3448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3451 arg2 = (bool) SWIG_AsBool(obj1);
3452 if (PyErr_Occurred()) SWIG_fail;
3453 {
3454 PyThreadState* __tstate = wxPyBeginAllowThreads();
3455 (arg1)->SetEditable(arg2);
3456
3457 wxPyEndAllowThreads(__tstate);
3458 if (PyErr_Occurred()) SWIG_fail;
3459 }
3460 Py_INCREF(Py_None); resultobj = Py_None;
3461 return resultobj;
3462 fail:
3463 return NULL;
3464 }
3465
3466
3467 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
3468 PyObject *resultobj;
3469 wxComboBox *arg1 = (wxComboBox *) 0 ;
3470 PyObject * obj0 = 0 ;
3471 char *kwnames[] = {
3472 (char *) "self", NULL
3473 };
3474
3475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3478 {
3479 PyThreadState* __tstate = wxPyBeginAllowThreads();
3480 (arg1)->SetInsertionPointEnd();
3481
3482 wxPyEndAllowThreads(__tstate);
3483 if (PyErr_Occurred()) SWIG_fail;
3484 }
3485 Py_INCREF(Py_None); resultobj = Py_None;
3486 return resultobj;
3487 fail:
3488 return NULL;
3489 }
3490
3491
3492 static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
3493 PyObject *resultobj;
3494 wxComboBox *arg1 = (wxComboBox *) 0 ;
3495 long arg2 ;
3496 long arg3 ;
3497 PyObject * obj0 = 0 ;
3498 PyObject * obj1 = 0 ;
3499 PyObject * obj2 = 0 ;
3500 char *kwnames[] = {
3501 (char *) "self",(char *) "from",(char *) "to", NULL
3502 };
3503
3504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3507 arg2 = (long) SWIG_AsLong(obj1);
3508 if (PyErr_Occurred()) SWIG_fail;
3509 arg3 = (long) SWIG_AsLong(obj2);
3510 if (PyErr_Occurred()) SWIG_fail;
3511 {
3512 PyThreadState* __tstate = wxPyBeginAllowThreads();
3513 (arg1)->Remove(arg2,arg3);
3514
3515 wxPyEndAllowThreads(__tstate);
3516 if (PyErr_Occurred()) SWIG_fail;
3517 }
3518 Py_INCREF(Py_None); resultobj = Py_None;
3519 return resultobj;
3520 fail:
3521 return NULL;
3522 }
3523
3524
3525 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
3526 PyObject *obj;
3527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3528 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3529 Py_INCREF(obj);
3530 return Py_BuildValue((char *)"");
3531 }
3532 static int _wrap_GaugeNameStr_set(PyObject *) {
3533 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3534 return 1;
3535 }
3536
3537
3538 static PyObject *_wrap_GaugeNameStr_get() {
3539 PyObject *pyobj;
3540
3541 {
3542 #if wxUSE_UNICODE
3543 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3544 #else
3545 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3546 #endif
3547 }
3548 return pyobj;
3549 }
3550
3551
3552 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
3553 PyObject *resultobj;
3554 wxWindow *arg1 = (wxWindow *) 0 ;
3555 int arg2 ;
3556 int arg3 ;
3557 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3558 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3559 wxSize const &arg5_defvalue = wxDefaultSize ;
3560 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3561 long arg6 = (long) wxGA_HORIZONTAL ;
3562 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3563 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3564 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3565 wxString *arg8 = (wxString *) &arg8_defvalue ;
3566 wxGauge *result;
3567 wxPoint temp4 ;
3568 wxSize temp5 ;
3569 bool temp8 = False ;
3570 PyObject * obj0 = 0 ;
3571 PyObject * obj1 = 0 ;
3572 PyObject * obj2 = 0 ;
3573 PyObject * obj3 = 0 ;
3574 PyObject * obj4 = 0 ;
3575 PyObject * obj5 = 0 ;
3576 PyObject * obj6 = 0 ;
3577 PyObject * obj7 = 0 ;
3578 char *kwnames[] = {
3579 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3580 };
3581
3582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3585 arg2 = (int) SWIG_AsInt(obj1);
3586 if (PyErr_Occurred()) SWIG_fail;
3587 arg3 = (int) SWIG_AsInt(obj2);
3588 if (PyErr_Occurred()) SWIG_fail;
3589 if (obj3) {
3590 {
3591 arg4 = &temp4;
3592 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3593 }
3594 }
3595 if (obj4) {
3596 {
3597 arg5 = &temp5;
3598 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3599 }
3600 }
3601 if (obj5) {
3602 arg6 = (long) SWIG_AsLong(obj5);
3603 if (PyErr_Occurred()) SWIG_fail;
3604 }
3605 if (obj6) {
3606 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3607 SWIG_POINTER_EXCEPTION | 0)) == -1)
3608 SWIG_fail;
3609 if (arg7 == NULL) {
3610 PyErr_SetString(PyExc_TypeError,"null reference");
3611 SWIG_fail;
3612 }
3613 }
3614 if (obj7) {
3615 {
3616 arg8 = wxString_in_helper(obj7);
3617 if (arg8 == NULL) SWIG_fail;
3618 temp8 = True;
3619 }
3620 }
3621 {
3622 PyThreadState* __tstate = wxPyBeginAllowThreads();
3623 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3624
3625 wxPyEndAllowThreads(__tstate);
3626 if (PyErr_Occurred()) SWIG_fail;
3627 }
3628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3629 {
3630 if (temp8)
3631 delete arg8;
3632 }
3633 return resultobj;
3634 fail:
3635 {
3636 if (temp8)
3637 delete arg8;
3638 }
3639 return NULL;
3640 }
3641
3642
3643 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
3644 PyObject *resultobj;
3645 wxGauge *result;
3646 char *kwnames[] = {
3647 NULL
3648 };
3649
3650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3651 {
3652 PyThreadState* __tstate = wxPyBeginAllowThreads();
3653 result = (wxGauge *)new wxGauge();
3654
3655 wxPyEndAllowThreads(__tstate);
3656 if (PyErr_Occurred()) SWIG_fail;
3657 }
3658 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3659 return resultobj;
3660 fail:
3661 return NULL;
3662 }
3663
3664
3665 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3666 PyObject *resultobj;
3667 wxGauge *arg1 = (wxGauge *) 0 ;
3668 wxWindow *arg2 = (wxWindow *) 0 ;
3669 int arg3 ;
3670 int arg4 ;
3671 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3672 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3673 wxSize const &arg6_defvalue = wxDefaultSize ;
3674 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3675 long arg7 = (long) wxGA_HORIZONTAL ;
3676 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3677 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3678 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3679 wxString *arg9 = (wxString *) &arg9_defvalue ;
3680 bool result;
3681 wxPoint temp5 ;
3682 wxSize temp6 ;
3683 bool temp9 = False ;
3684 PyObject * obj0 = 0 ;
3685 PyObject * obj1 = 0 ;
3686 PyObject * obj2 = 0 ;
3687 PyObject * obj3 = 0 ;
3688 PyObject * obj4 = 0 ;
3689 PyObject * obj5 = 0 ;
3690 PyObject * obj6 = 0 ;
3691 PyObject * obj7 = 0 ;
3692 PyObject * obj8 = 0 ;
3693 char *kwnames[] = {
3694 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3695 };
3696
3697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3700 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3702 arg3 = (int) SWIG_AsInt(obj2);
3703 if (PyErr_Occurred()) SWIG_fail;
3704 arg4 = (int) SWIG_AsInt(obj3);
3705 if (PyErr_Occurred()) SWIG_fail;
3706 if (obj4) {
3707 {
3708 arg5 = &temp5;
3709 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3710 }
3711 }
3712 if (obj5) {
3713 {
3714 arg6 = &temp6;
3715 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3716 }
3717 }
3718 if (obj6) {
3719 arg7 = (long) SWIG_AsLong(obj6);
3720 if (PyErr_Occurred()) SWIG_fail;
3721 }
3722 if (obj7) {
3723 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3724 SWIG_POINTER_EXCEPTION | 0)) == -1)
3725 SWIG_fail;
3726 if (arg8 == NULL) {
3727 PyErr_SetString(PyExc_TypeError,"null reference");
3728 SWIG_fail;
3729 }
3730 }
3731 if (obj8) {
3732 {
3733 arg9 = wxString_in_helper(obj8);
3734 if (arg9 == NULL) SWIG_fail;
3735 temp9 = True;
3736 }
3737 }
3738 {
3739 PyThreadState* __tstate = wxPyBeginAllowThreads();
3740 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3741
3742 wxPyEndAllowThreads(__tstate);
3743 if (PyErr_Occurred()) SWIG_fail;
3744 }
3745 {
3746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3747 }
3748 {
3749 if (temp9)
3750 delete arg9;
3751 }
3752 return resultobj;
3753 fail:
3754 {
3755 if (temp9)
3756 delete arg9;
3757 }
3758 return NULL;
3759 }
3760
3761
3762 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
3763 PyObject *resultobj;
3764 wxGauge *arg1 = (wxGauge *) 0 ;
3765 int arg2 ;
3766 PyObject * obj0 = 0 ;
3767 PyObject * obj1 = 0 ;
3768 char *kwnames[] = {
3769 (char *) "self",(char *) "range", NULL
3770 };
3771
3772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
3773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3775 arg2 = (int) SWIG_AsInt(obj1);
3776 if (PyErr_Occurred()) SWIG_fail;
3777 {
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 (arg1)->SetRange(arg2);
3780
3781 wxPyEndAllowThreads(__tstate);
3782 if (PyErr_Occurred()) SWIG_fail;
3783 }
3784 Py_INCREF(Py_None); resultobj = Py_None;
3785 return resultobj;
3786 fail:
3787 return NULL;
3788 }
3789
3790
3791 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
3792 PyObject *resultobj;
3793 wxGauge *arg1 = (wxGauge *) 0 ;
3794 int result;
3795 PyObject * obj0 = 0 ;
3796 char *kwnames[] = {
3797 (char *) "self", NULL
3798 };
3799
3800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3803 {
3804 PyThreadState* __tstate = wxPyBeginAllowThreads();
3805 result = (int)((wxGauge const *)arg1)->GetRange();
3806
3807 wxPyEndAllowThreads(__tstate);
3808 if (PyErr_Occurred()) SWIG_fail;
3809 }
3810 resultobj = SWIG_FromInt((int)result);
3811 return resultobj;
3812 fail:
3813 return NULL;
3814 }
3815
3816
3817 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3818 PyObject *resultobj;
3819 wxGauge *arg1 = (wxGauge *) 0 ;
3820 int arg2 ;
3821 PyObject * obj0 = 0 ;
3822 PyObject * obj1 = 0 ;
3823 char *kwnames[] = {
3824 (char *) "self",(char *) "pos", NULL
3825 };
3826
3827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
3828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3830 arg2 = (int) SWIG_AsInt(obj1);
3831 if (PyErr_Occurred()) SWIG_fail;
3832 {
3833 PyThreadState* __tstate = wxPyBeginAllowThreads();
3834 (arg1)->SetValue(arg2);
3835
3836 wxPyEndAllowThreads(__tstate);
3837 if (PyErr_Occurred()) SWIG_fail;
3838 }
3839 Py_INCREF(Py_None); resultobj = Py_None;
3840 return resultobj;
3841 fail:
3842 return NULL;
3843 }
3844
3845
3846 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3847 PyObject *resultobj;
3848 wxGauge *arg1 = (wxGauge *) 0 ;
3849 int result;
3850 PyObject * obj0 = 0 ;
3851 char *kwnames[] = {
3852 (char *) "self", NULL
3853 };
3854
3855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3858 {
3859 PyThreadState* __tstate = wxPyBeginAllowThreads();
3860 result = (int)((wxGauge const *)arg1)->GetValue();
3861
3862 wxPyEndAllowThreads(__tstate);
3863 if (PyErr_Occurred()) SWIG_fail;
3864 }
3865 resultobj = SWIG_FromInt((int)result);
3866 return resultobj;
3867 fail:
3868 return NULL;
3869 }
3870
3871
3872 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
3873 PyObject *resultobj;
3874 wxGauge *arg1 = (wxGauge *) 0 ;
3875 bool result;
3876 PyObject * obj0 = 0 ;
3877 char *kwnames[] = {
3878 (char *) "self", NULL
3879 };
3880
3881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3884 {
3885 PyThreadState* __tstate = wxPyBeginAllowThreads();
3886 result = (bool)((wxGauge const *)arg1)->IsVertical();
3887
3888 wxPyEndAllowThreads(__tstate);
3889 if (PyErr_Occurred()) SWIG_fail;
3890 }
3891 {
3892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3893 }
3894 return resultobj;
3895 fail:
3896 return NULL;
3897 }
3898
3899
3900 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3901 PyObject *resultobj;
3902 wxGauge *arg1 = (wxGauge *) 0 ;
3903 int arg2 ;
3904 PyObject * obj0 = 0 ;
3905 PyObject * obj1 = 0 ;
3906 char *kwnames[] = {
3907 (char *) "self",(char *) "w", NULL
3908 };
3909
3910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
3911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3913 arg2 = (int) SWIG_AsInt(obj1);
3914 if (PyErr_Occurred()) SWIG_fail;
3915 {
3916 PyThreadState* __tstate = wxPyBeginAllowThreads();
3917 (arg1)->SetShadowWidth(arg2);
3918
3919 wxPyEndAllowThreads(__tstate);
3920 if (PyErr_Occurred()) SWIG_fail;
3921 }
3922 Py_INCREF(Py_None); resultobj = Py_None;
3923 return resultobj;
3924 fail:
3925 return NULL;
3926 }
3927
3928
3929 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3930 PyObject *resultobj;
3931 wxGauge *arg1 = (wxGauge *) 0 ;
3932 int result;
3933 PyObject * obj0 = 0 ;
3934 char *kwnames[] = {
3935 (char *) "self", NULL
3936 };
3937
3938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3941 {
3942 PyThreadState* __tstate = wxPyBeginAllowThreads();
3943 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3944
3945 wxPyEndAllowThreads(__tstate);
3946 if (PyErr_Occurred()) SWIG_fail;
3947 }
3948 resultobj = SWIG_FromInt((int)result);
3949 return resultobj;
3950 fail:
3951 return NULL;
3952 }
3953
3954
3955 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
3956 PyObject *resultobj;
3957 wxGauge *arg1 = (wxGauge *) 0 ;
3958 int arg2 ;
3959 PyObject * obj0 = 0 ;
3960 PyObject * obj1 = 0 ;
3961 char *kwnames[] = {
3962 (char *) "self",(char *) "w", NULL
3963 };
3964
3965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
3966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3968 arg2 = (int) SWIG_AsInt(obj1);
3969 if (PyErr_Occurred()) SWIG_fail;
3970 {
3971 PyThreadState* __tstate = wxPyBeginAllowThreads();
3972 (arg1)->SetBezelFace(arg2);
3973
3974 wxPyEndAllowThreads(__tstate);
3975 if (PyErr_Occurred()) SWIG_fail;
3976 }
3977 Py_INCREF(Py_None); resultobj = Py_None;
3978 return resultobj;
3979 fail:
3980 return NULL;
3981 }
3982
3983
3984 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
3985 PyObject *resultobj;
3986 wxGauge *arg1 = (wxGauge *) 0 ;
3987 int result;
3988 PyObject * obj0 = 0 ;
3989 char *kwnames[] = {
3990 (char *) "self", NULL
3991 };
3992
3993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3996 {
3997 PyThreadState* __tstate = wxPyBeginAllowThreads();
3998 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3999
4000 wxPyEndAllowThreads(__tstate);
4001 if (PyErr_Occurred()) SWIG_fail;
4002 }
4003 resultobj = SWIG_FromInt((int)result);
4004 return resultobj;
4005 fail:
4006 return NULL;
4007 }
4008
4009
4010 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
4011 PyObject *obj;
4012 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4013 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4014 Py_INCREF(obj);
4015 return Py_BuildValue((char *)"");
4016 }
4017 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
4018 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4019 return 1;
4020 }
4021
4022
4023 static PyObject *_wrap_StaticBitmapNameStr_get() {
4024 PyObject *pyobj;
4025
4026 {
4027 #if wxUSE_UNICODE
4028 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4029 #else
4030 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4031 #endif
4032 }
4033 return pyobj;
4034 }
4035
4036
4037 static int _wrap_StaticBoxNameStr_set(PyObject *) {
4038 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4039 return 1;
4040 }
4041
4042
4043 static PyObject *_wrap_StaticBoxNameStr_get() {
4044 PyObject *pyobj;
4045
4046 {
4047 #if wxUSE_UNICODE
4048 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4049 #else
4050 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4051 #endif
4052 }
4053 return pyobj;
4054 }
4055
4056
4057 static int _wrap_StaticTextNameStr_set(PyObject *) {
4058 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4059 return 1;
4060 }
4061
4062
4063 static PyObject *_wrap_StaticTextNameStr_get() {
4064 PyObject *pyobj;
4065
4066 {
4067 #if wxUSE_UNICODE
4068 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4069 #else
4070 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4071 #endif
4072 }
4073 return pyobj;
4074 }
4075
4076
4077 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
4078 PyObject *resultobj;
4079 wxWindow *arg1 = (wxWindow *) 0 ;
4080 int arg2 ;
4081 wxString *arg3 = 0 ;
4082 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4083 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4084 wxSize const &arg5_defvalue = wxDefaultSize ;
4085 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4086 long arg6 = (long) 0 ;
4087 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4088 wxString *arg7 = (wxString *) &arg7_defvalue ;
4089 wxStaticBox *result;
4090 bool temp3 = False ;
4091 wxPoint temp4 ;
4092 wxSize temp5 ;
4093 bool temp7 = False ;
4094 PyObject * obj0 = 0 ;
4095 PyObject * obj1 = 0 ;
4096 PyObject * obj2 = 0 ;
4097 PyObject * obj3 = 0 ;
4098 PyObject * obj4 = 0 ;
4099 PyObject * obj5 = 0 ;
4100 PyObject * obj6 = 0 ;
4101 char *kwnames[] = {
4102 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4103 };
4104
4105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4108 arg2 = (int) SWIG_AsInt(obj1);
4109 if (PyErr_Occurred()) SWIG_fail;
4110 {
4111 arg3 = wxString_in_helper(obj2);
4112 if (arg3 == NULL) SWIG_fail;
4113 temp3 = True;
4114 }
4115 if (obj3) {
4116 {
4117 arg4 = &temp4;
4118 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4119 }
4120 }
4121 if (obj4) {
4122 {
4123 arg5 = &temp5;
4124 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4125 }
4126 }
4127 if (obj5) {
4128 arg6 = (long) SWIG_AsLong(obj5);
4129 if (PyErr_Occurred()) SWIG_fail;
4130 }
4131 if (obj6) {
4132 {
4133 arg7 = wxString_in_helper(obj6);
4134 if (arg7 == NULL) SWIG_fail;
4135 temp7 = True;
4136 }
4137 }
4138 {
4139 PyThreadState* __tstate = wxPyBeginAllowThreads();
4140 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4141
4142 wxPyEndAllowThreads(__tstate);
4143 if (PyErr_Occurred()) SWIG_fail;
4144 }
4145 {
4146 resultobj = wxPyMake_wxObject(result);
4147 }
4148 {
4149 if (temp3)
4150 delete arg3;
4151 }
4152 {
4153 if (temp7)
4154 delete arg7;
4155 }
4156 return resultobj;
4157 fail:
4158 {
4159 if (temp3)
4160 delete arg3;
4161 }
4162 {
4163 if (temp7)
4164 delete arg7;
4165 }
4166 return NULL;
4167 }
4168
4169
4170 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
4171 PyObject *resultobj;
4172 wxStaticBox *result;
4173 char *kwnames[] = {
4174 NULL
4175 };
4176
4177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4178 {
4179 PyThreadState* __tstate = wxPyBeginAllowThreads();
4180 result = (wxStaticBox *)new wxStaticBox();
4181
4182 wxPyEndAllowThreads(__tstate);
4183 if (PyErr_Occurred()) SWIG_fail;
4184 }
4185 {
4186 resultobj = wxPyMake_wxObject(result);
4187 }
4188 return resultobj;
4189 fail:
4190 return NULL;
4191 }
4192
4193
4194 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4195 PyObject *resultobj;
4196 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4197 wxWindow *arg2 = (wxWindow *) 0 ;
4198 int arg3 ;
4199 wxString *arg4 = 0 ;
4200 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4201 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4202 wxSize const &arg6_defvalue = wxDefaultSize ;
4203 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4204 long arg7 = (long) 0 ;
4205 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4206 wxString *arg8 = (wxString *) &arg8_defvalue ;
4207 bool result;
4208 bool temp4 = False ;
4209 wxPoint temp5 ;
4210 wxSize temp6 ;
4211 bool temp8 = False ;
4212 PyObject * obj0 = 0 ;
4213 PyObject * obj1 = 0 ;
4214 PyObject * obj2 = 0 ;
4215 PyObject * obj3 = 0 ;
4216 PyObject * obj4 = 0 ;
4217 PyObject * obj5 = 0 ;
4218 PyObject * obj6 = 0 ;
4219 PyObject * obj7 = 0 ;
4220 char *kwnames[] = {
4221 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4222 };
4223
4224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4227 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4229 arg3 = (int) SWIG_AsInt(obj2);
4230 if (PyErr_Occurred()) SWIG_fail;
4231 {
4232 arg4 = wxString_in_helper(obj3);
4233 if (arg4 == NULL) SWIG_fail;
4234 temp4 = True;
4235 }
4236 if (obj4) {
4237 {
4238 arg5 = &temp5;
4239 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4240 }
4241 }
4242 if (obj5) {
4243 {
4244 arg6 = &temp6;
4245 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4246 }
4247 }
4248 if (obj6) {
4249 arg7 = (long) SWIG_AsLong(obj6);
4250 if (PyErr_Occurred()) SWIG_fail;
4251 }
4252 if (obj7) {
4253 {
4254 arg8 = wxString_in_helper(obj7);
4255 if (arg8 == NULL) SWIG_fail;
4256 temp8 = True;
4257 }
4258 }
4259 {
4260 PyThreadState* __tstate = wxPyBeginAllowThreads();
4261 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4262
4263 wxPyEndAllowThreads(__tstate);
4264 if (PyErr_Occurred()) SWIG_fail;
4265 }
4266 {
4267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4268 }
4269 {
4270 if (temp4)
4271 delete arg4;
4272 }
4273 {
4274 if (temp8)
4275 delete arg8;
4276 }
4277 return resultobj;
4278 fail:
4279 {
4280 if (temp4)
4281 delete arg4;
4282 }
4283 {
4284 if (temp8)
4285 delete arg8;
4286 }
4287 return NULL;
4288 }
4289
4290
4291 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
4292 PyObject *obj;
4293 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4294 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4295 Py_INCREF(obj);
4296 return Py_BuildValue((char *)"");
4297 }
4298 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
4299 PyObject *resultobj;
4300 wxWindow *arg1 = (wxWindow *) 0 ;
4301 int arg2 ;
4302 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4303 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4304 wxSize const &arg4_defvalue = wxDefaultSize ;
4305 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4306 long arg5 = (long) wxLI_HORIZONTAL ;
4307 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4308 wxString *arg6 = (wxString *) &arg6_defvalue ;
4309 wxStaticLine *result;
4310 wxPoint temp3 ;
4311 wxSize temp4 ;
4312 bool temp6 = False ;
4313 PyObject * obj0 = 0 ;
4314 PyObject * obj1 = 0 ;
4315 PyObject * obj2 = 0 ;
4316 PyObject * obj3 = 0 ;
4317 PyObject * obj4 = 0 ;
4318 PyObject * obj5 = 0 ;
4319 char *kwnames[] = {
4320 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4321 };
4322
4323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4326 arg2 = (int) SWIG_AsInt(obj1);
4327 if (PyErr_Occurred()) SWIG_fail;
4328 if (obj2) {
4329 {
4330 arg3 = &temp3;
4331 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4332 }
4333 }
4334 if (obj3) {
4335 {
4336 arg4 = &temp4;
4337 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4338 }
4339 }
4340 if (obj4) {
4341 arg5 = (long) SWIG_AsLong(obj4);
4342 if (PyErr_Occurred()) SWIG_fail;
4343 }
4344 if (obj5) {
4345 {
4346 arg6 = wxString_in_helper(obj5);
4347 if (arg6 == NULL) SWIG_fail;
4348 temp6 = True;
4349 }
4350 }
4351 {
4352 PyThreadState* __tstate = wxPyBeginAllowThreads();
4353 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4354
4355 wxPyEndAllowThreads(__tstate);
4356 if (PyErr_Occurred()) SWIG_fail;
4357 }
4358 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4359 {
4360 if (temp6)
4361 delete arg6;
4362 }
4363 return resultobj;
4364 fail:
4365 {
4366 if (temp6)
4367 delete arg6;
4368 }
4369 return NULL;
4370 }
4371
4372
4373 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
4374 PyObject *resultobj;
4375 wxStaticLine *result;
4376 char *kwnames[] = {
4377 NULL
4378 };
4379
4380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4381 {
4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
4383 result = (wxStaticLine *)new wxStaticLine();
4384
4385 wxPyEndAllowThreads(__tstate);
4386 if (PyErr_Occurred()) SWIG_fail;
4387 }
4388 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4389 return resultobj;
4390 fail:
4391 return NULL;
4392 }
4393
4394
4395 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4396 PyObject *resultobj;
4397 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4398 wxWindow *arg2 = (wxWindow *) 0 ;
4399 int arg3 ;
4400 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4401 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4402 wxSize const &arg5_defvalue = wxDefaultSize ;
4403 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4404 long arg6 = (long) wxLI_HORIZONTAL ;
4405 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4406 wxString *arg7 = (wxString *) &arg7_defvalue ;
4407 bool result;
4408 wxPoint temp4 ;
4409 wxSize temp5 ;
4410 bool temp7 = False ;
4411 PyObject * obj0 = 0 ;
4412 PyObject * obj1 = 0 ;
4413 PyObject * obj2 = 0 ;
4414 PyObject * obj3 = 0 ;
4415 PyObject * obj4 = 0 ;
4416 PyObject * obj5 = 0 ;
4417 PyObject * obj6 = 0 ;
4418 char *kwnames[] = {
4419 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4420 };
4421
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4425 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4427 arg3 = (int) SWIG_AsInt(obj2);
4428 if (PyErr_Occurred()) SWIG_fail;
4429 if (obj3) {
4430 {
4431 arg4 = &temp4;
4432 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4433 }
4434 }
4435 if (obj4) {
4436 {
4437 arg5 = &temp5;
4438 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4439 }
4440 }
4441 if (obj5) {
4442 arg6 = (long) SWIG_AsLong(obj5);
4443 if (PyErr_Occurred()) SWIG_fail;
4444 }
4445 if (obj6) {
4446 {
4447 arg7 = wxString_in_helper(obj6);
4448 if (arg7 == NULL) SWIG_fail;
4449 temp7 = True;
4450 }
4451 }
4452 {
4453 PyThreadState* __tstate = wxPyBeginAllowThreads();
4454 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4455
4456 wxPyEndAllowThreads(__tstate);
4457 if (PyErr_Occurred()) SWIG_fail;
4458 }
4459 {
4460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4461 }
4462 {
4463 if (temp7)
4464 delete arg7;
4465 }
4466 return resultobj;
4467 fail:
4468 {
4469 if (temp7)
4470 delete arg7;
4471 }
4472 return NULL;
4473 }
4474
4475
4476 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
4477 PyObject *resultobj;
4478 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4479 bool result;
4480 PyObject * obj0 = 0 ;
4481 char *kwnames[] = {
4482 (char *) "self", NULL
4483 };
4484
4485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4488 {
4489 PyThreadState* __tstate = wxPyBeginAllowThreads();
4490 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4491
4492 wxPyEndAllowThreads(__tstate);
4493 if (PyErr_Occurred()) SWIG_fail;
4494 }
4495 {
4496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4497 }
4498 return resultobj;
4499 fail:
4500 return NULL;
4501 }
4502
4503
4504 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
4505 PyObject *resultobj;
4506 int result;
4507 char *kwnames[] = {
4508 NULL
4509 };
4510
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4512 {
4513 PyThreadState* __tstate = wxPyBeginAllowThreads();
4514 result = (int)wxStaticLine::GetDefaultSize();
4515
4516 wxPyEndAllowThreads(__tstate);
4517 if (PyErr_Occurred()) SWIG_fail;
4518 }
4519 resultobj = SWIG_FromInt((int)result);
4520 return resultobj;
4521 fail:
4522 return NULL;
4523 }
4524
4525
4526 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
4527 PyObject *obj;
4528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4529 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4530 Py_INCREF(obj);
4531 return Py_BuildValue((char *)"");
4532 }
4533 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
4534 PyObject *resultobj;
4535 wxWindow *arg1 = (wxWindow *) 0 ;
4536 int arg2 ;
4537 wxString *arg3 = 0 ;
4538 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4539 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4540 wxSize const &arg5_defvalue = wxDefaultSize ;
4541 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4542 long arg6 = (long) 0 ;
4543 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4544 wxString *arg7 = (wxString *) &arg7_defvalue ;
4545 wxStaticText *result;
4546 bool temp3 = False ;
4547 wxPoint temp4 ;
4548 wxSize temp5 ;
4549 bool temp7 = False ;
4550 PyObject * obj0 = 0 ;
4551 PyObject * obj1 = 0 ;
4552 PyObject * obj2 = 0 ;
4553 PyObject * obj3 = 0 ;
4554 PyObject * obj4 = 0 ;
4555 PyObject * obj5 = 0 ;
4556 PyObject * obj6 = 0 ;
4557 char *kwnames[] = {
4558 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4559 };
4560
4561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4564 arg2 = (int) SWIG_AsInt(obj1);
4565 if (PyErr_Occurred()) SWIG_fail;
4566 {
4567 arg3 = wxString_in_helper(obj2);
4568 if (arg3 == NULL) SWIG_fail;
4569 temp3 = True;
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_AsLong(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 PyThreadState* __tstate = wxPyBeginAllowThreads();
4596 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4597
4598 wxPyEndAllowThreads(__tstate);
4599 if (PyErr_Occurred()) SWIG_fail;
4600 }
4601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4602 {
4603 if (temp3)
4604 delete arg3;
4605 }
4606 {
4607 if (temp7)
4608 delete arg7;
4609 }
4610 return resultobj;
4611 fail:
4612 {
4613 if (temp3)
4614 delete arg3;
4615 }
4616 {
4617 if (temp7)
4618 delete arg7;
4619 }
4620 return NULL;
4621 }
4622
4623
4624 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
4625 PyObject *resultobj;
4626 wxStaticText *result;
4627 char *kwnames[] = {
4628 NULL
4629 };
4630
4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4632 {
4633 PyThreadState* __tstate = wxPyBeginAllowThreads();
4634 result = (wxStaticText *)new wxStaticText();
4635
4636 wxPyEndAllowThreads(__tstate);
4637 if (PyErr_Occurred()) SWIG_fail;
4638 }
4639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4640 return resultobj;
4641 fail:
4642 return NULL;
4643 }
4644
4645
4646 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4647 PyObject *resultobj;
4648 wxStaticText *arg1 = (wxStaticText *) 0 ;
4649 wxWindow *arg2 = (wxWindow *) 0 ;
4650 int arg3 ;
4651 wxString *arg4 = 0 ;
4652 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4653 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4654 wxSize const &arg6_defvalue = wxDefaultSize ;
4655 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4656 long arg7 = (long) 0 ;
4657 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4658 wxString *arg8 = (wxString *) &arg8_defvalue ;
4659 bool result;
4660 bool temp4 = False ;
4661 wxPoint temp5 ;
4662 wxSize temp6 ;
4663 bool temp8 = False ;
4664 PyObject * obj0 = 0 ;
4665 PyObject * obj1 = 0 ;
4666 PyObject * obj2 = 0 ;
4667 PyObject * obj3 = 0 ;
4668 PyObject * obj4 = 0 ;
4669 PyObject * obj5 = 0 ;
4670 PyObject * obj6 = 0 ;
4671 PyObject * obj7 = 0 ;
4672 char *kwnames[] = {
4673 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4674 };
4675
4676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
4678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4679 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4681 arg3 = (int) SWIG_AsInt(obj2);
4682 if (PyErr_Occurred()) SWIG_fail;
4683 {
4684 arg4 = wxString_in_helper(obj3);
4685 if (arg4 == NULL) SWIG_fail;
4686 temp4 = True;
4687 }
4688 if (obj4) {
4689 {
4690 arg5 = &temp5;
4691 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4692 }
4693 }
4694 if (obj5) {
4695 {
4696 arg6 = &temp6;
4697 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4698 }
4699 }
4700 if (obj6) {
4701 arg7 = (long) SWIG_AsLong(obj6);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 if (obj7) {
4705 {
4706 arg8 = wxString_in_helper(obj7);
4707 if (arg8 == NULL) SWIG_fail;
4708 temp8 = True;
4709 }
4710 }
4711 {
4712 PyThreadState* __tstate = wxPyBeginAllowThreads();
4713 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4714
4715 wxPyEndAllowThreads(__tstate);
4716 if (PyErr_Occurred()) SWIG_fail;
4717 }
4718 {
4719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4720 }
4721 {
4722 if (temp4)
4723 delete arg4;
4724 }
4725 {
4726 if (temp8)
4727 delete arg8;
4728 }
4729 return resultobj;
4730 fail:
4731 {
4732 if (temp4)
4733 delete arg4;
4734 }
4735 {
4736 if (temp8)
4737 delete arg8;
4738 }
4739 return NULL;
4740 }
4741
4742
4743 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
4744 PyObject *obj;
4745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4746 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4747 Py_INCREF(obj);
4748 return Py_BuildValue((char *)"");
4749 }
4750 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4751 PyObject *resultobj;
4752 wxWindow *arg1 = (wxWindow *) 0 ;
4753 int arg2 ;
4754 wxBitmap *arg3 = 0 ;
4755 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4756 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4757 wxSize const &arg5_defvalue = wxDefaultSize ;
4758 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4759 long arg6 = (long) 0 ;
4760 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4761 wxString *arg7 = (wxString *) &arg7_defvalue ;
4762 wxStaticBitmap *result;
4763 wxPoint temp4 ;
4764 wxSize temp5 ;
4765 bool temp7 = False ;
4766 PyObject * obj0 = 0 ;
4767 PyObject * obj1 = 0 ;
4768 PyObject * obj2 = 0 ;
4769 PyObject * obj3 = 0 ;
4770 PyObject * obj4 = 0 ;
4771 PyObject * obj5 = 0 ;
4772 PyObject * obj6 = 0 ;
4773 char *kwnames[] = {
4774 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4775 };
4776
4777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4780 arg2 = (int) SWIG_AsInt(obj1);
4781 if (PyErr_Occurred()) SWIG_fail;
4782 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
4783 SWIG_POINTER_EXCEPTION | 0)) == -1)
4784 SWIG_fail;
4785 if (arg3 == NULL) {
4786 PyErr_SetString(PyExc_TypeError,"null reference");
4787 SWIG_fail;
4788 }
4789 if (obj3) {
4790 {
4791 arg4 = &temp4;
4792 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4793 }
4794 }
4795 if (obj4) {
4796 {
4797 arg5 = &temp5;
4798 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4799 }
4800 }
4801 if (obj5) {
4802 arg6 = (long) SWIG_AsLong(obj5);
4803 if (PyErr_Occurred()) SWIG_fail;
4804 }
4805 if (obj6) {
4806 {
4807 arg7 = wxString_in_helper(obj6);
4808 if (arg7 == NULL) SWIG_fail;
4809 temp7 = True;
4810 }
4811 }
4812 {
4813 PyThreadState* __tstate = wxPyBeginAllowThreads();
4814 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4815
4816 wxPyEndAllowThreads(__tstate);
4817 if (PyErr_Occurred()) SWIG_fail;
4818 }
4819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4820 {
4821 if (temp7)
4822 delete arg7;
4823 }
4824 return resultobj;
4825 fail:
4826 {
4827 if (temp7)
4828 delete arg7;
4829 }
4830 return NULL;
4831 }
4832
4833
4834 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4835 PyObject *resultobj;
4836 wxStaticBitmap *result;
4837 char *kwnames[] = {
4838 NULL
4839 };
4840
4841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4842 {
4843 PyThreadState* __tstate = wxPyBeginAllowThreads();
4844 result = (wxStaticBitmap *)new wxStaticBitmap();
4845
4846 wxPyEndAllowThreads(__tstate);
4847 if (PyErr_Occurred()) SWIG_fail;
4848 }
4849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4850 return resultobj;
4851 fail:
4852 return NULL;
4853 }
4854
4855
4856 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4857 PyObject *resultobj;
4858 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4859 wxWindow *arg2 = (wxWindow *) 0 ;
4860 int arg3 ;
4861 wxBitmap *arg4 = 0 ;
4862 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4863 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4864 wxSize const &arg6_defvalue = wxDefaultSize ;
4865 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4866 long arg7 = (long) 0 ;
4867 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4868 wxString *arg8 = (wxString *) &arg8_defvalue ;
4869 bool result;
4870 wxPoint temp5 ;
4871 wxSize temp6 ;
4872 bool temp8 = False ;
4873 PyObject * obj0 = 0 ;
4874 PyObject * obj1 = 0 ;
4875 PyObject * obj2 = 0 ;
4876 PyObject * obj3 = 0 ;
4877 PyObject * obj4 = 0 ;
4878 PyObject * obj5 = 0 ;
4879 PyObject * obj6 = 0 ;
4880 PyObject * obj7 = 0 ;
4881 char *kwnames[] = {
4882 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4883 };
4884
4885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4888 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4890 arg3 = (int) SWIG_AsInt(obj2);
4891 if (PyErr_Occurred()) SWIG_fail;
4892 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
4893 SWIG_POINTER_EXCEPTION | 0)) == -1)
4894 SWIG_fail;
4895 if (arg4 == NULL) {
4896 PyErr_SetString(PyExc_TypeError,"null reference");
4897 SWIG_fail;
4898 }
4899 if (obj4) {
4900 {
4901 arg5 = &temp5;
4902 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4903 }
4904 }
4905 if (obj5) {
4906 {
4907 arg6 = &temp6;
4908 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4909 }
4910 }
4911 if (obj6) {
4912 arg7 = (long) SWIG_AsLong(obj6);
4913 if (PyErr_Occurred()) SWIG_fail;
4914 }
4915 if (obj7) {
4916 {
4917 arg8 = wxString_in_helper(obj7);
4918 if (arg8 == NULL) SWIG_fail;
4919 temp8 = True;
4920 }
4921 }
4922 {
4923 PyThreadState* __tstate = wxPyBeginAllowThreads();
4924 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4925
4926 wxPyEndAllowThreads(__tstate);
4927 if (PyErr_Occurred()) SWIG_fail;
4928 }
4929 {
4930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4931 }
4932 {
4933 if (temp8)
4934 delete arg8;
4935 }
4936 return resultobj;
4937 fail:
4938 {
4939 if (temp8)
4940 delete arg8;
4941 }
4942 return NULL;
4943 }
4944
4945
4946 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4947 PyObject *resultobj;
4948 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4949 wxBitmap result;
4950 PyObject * obj0 = 0 ;
4951 char *kwnames[] = {
4952 (char *) "self", NULL
4953 };
4954
4955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4958 {
4959 PyThreadState* __tstate = wxPyBeginAllowThreads();
4960 result = (arg1)->GetBitmap();
4961
4962 wxPyEndAllowThreads(__tstate);
4963 if (PyErr_Occurred()) SWIG_fail;
4964 }
4965 {
4966 wxBitmap * resultptr;
4967 resultptr = new wxBitmap((wxBitmap &) result);
4968 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4969 }
4970 return resultobj;
4971 fail:
4972 return NULL;
4973 }
4974
4975
4976 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4977 PyObject *resultobj;
4978 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4979 wxBitmap *arg2 = 0 ;
4980 PyObject * obj0 = 0 ;
4981 PyObject * obj1 = 0 ;
4982 char *kwnames[] = {
4983 (char *) "self",(char *) "bitmap", NULL
4984 };
4985
4986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4989 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4990 SWIG_POINTER_EXCEPTION | 0)) == -1)
4991 SWIG_fail;
4992 if (arg2 == NULL) {
4993 PyErr_SetString(PyExc_TypeError,"null reference");
4994 SWIG_fail;
4995 }
4996 {
4997 PyThreadState* __tstate = wxPyBeginAllowThreads();
4998 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4999
5000 wxPyEndAllowThreads(__tstate);
5001 if (PyErr_Occurred()) SWIG_fail;
5002 }
5003 Py_INCREF(Py_None); resultobj = Py_None;
5004 return resultobj;
5005 fail:
5006 return NULL;
5007 }
5008
5009
5010 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
5011 PyObject *resultobj;
5012 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5013 wxIcon *arg2 = 0 ;
5014 PyObject * obj0 = 0 ;
5015 PyObject * obj1 = 0 ;
5016 char *kwnames[] = {
5017 (char *) "self",(char *) "icon", NULL
5018 };
5019
5020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
5021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5023 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5024 SWIG_POINTER_EXCEPTION | 0)) == -1)
5025 SWIG_fail;
5026 if (arg2 == NULL) {
5027 PyErr_SetString(PyExc_TypeError,"null reference");
5028 SWIG_fail;
5029 }
5030 {
5031 PyThreadState* __tstate = wxPyBeginAllowThreads();
5032 (arg1)->SetIcon((wxIcon const &)*arg2);
5033
5034 wxPyEndAllowThreads(__tstate);
5035 if (PyErr_Occurred()) SWIG_fail;
5036 }
5037 Py_INCREF(Py_None); resultobj = Py_None;
5038 return resultobj;
5039 fail:
5040 return NULL;
5041 }
5042
5043
5044 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
5045 PyObject *obj;
5046 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5047 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5048 Py_INCREF(obj);
5049 return Py_BuildValue((char *)"");
5050 }
5051 static int _wrap_ListBoxNameStr_set(PyObject *) {
5052 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5053 return 1;
5054 }
5055
5056
5057 static PyObject *_wrap_ListBoxNameStr_get() {
5058 PyObject *pyobj;
5059
5060 {
5061 #if wxUSE_UNICODE
5062 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5063 #else
5064 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5065 #endif
5066 }
5067 return pyobj;
5068 }
5069
5070
5071 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
5072 PyObject *resultobj;
5073 wxWindow *arg1 = (wxWindow *) 0 ;
5074 int arg2 ;
5075 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5076 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5077 wxSize const &arg4_defvalue = wxDefaultSize ;
5078 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5079 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5080 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5081 long arg6 = (long) 0 ;
5082 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5083 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5084 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5085 wxString *arg8 = (wxString *) &arg8_defvalue ;
5086 wxListBox *result;
5087 wxPoint temp3 ;
5088 wxSize temp4 ;
5089 bool temp5 = False ;
5090 bool temp8 = False ;
5091 PyObject * obj0 = 0 ;
5092 PyObject * obj1 = 0 ;
5093 PyObject * obj2 = 0 ;
5094 PyObject * obj3 = 0 ;
5095 PyObject * obj4 = 0 ;
5096 PyObject * obj5 = 0 ;
5097 PyObject * obj6 = 0 ;
5098 PyObject * obj7 = 0 ;
5099 char *kwnames[] = {
5100 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5101 };
5102
5103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5106 arg2 = (int) SWIG_AsInt(obj1);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 if (obj2) {
5109 {
5110 arg3 = &temp3;
5111 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5112 }
5113 }
5114 if (obj3) {
5115 {
5116 arg4 = &temp4;
5117 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5118 }
5119 }
5120 if (obj4) {
5121 {
5122 if (! PySequence_Check(obj4)) {
5123 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5124 SWIG_fail;
5125 }
5126 arg5 = new wxArrayString;
5127 temp5 = True;
5128 int i, len=PySequence_Length(obj4);
5129 for (i=0; i<len; i++) {
5130 PyObject* item = PySequence_GetItem(obj4, i);
5131 #if wxUSE_UNICODE
5132 PyObject* str = PyObject_Unicode(item);
5133 #else
5134 PyObject* str = PyObject_Str(item);
5135 #endif
5136 if (PyErr_Occurred()) SWIG_fail;
5137 arg5->Add(Py2wxString(str));
5138 Py_DECREF(item);
5139 Py_DECREF(str);
5140 }
5141 }
5142 }
5143 if (obj5) {
5144 arg6 = (long) SWIG_AsLong(obj5);
5145 if (PyErr_Occurred()) SWIG_fail;
5146 }
5147 if (obj6) {
5148 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5149 SWIG_POINTER_EXCEPTION | 0)) == -1)
5150 SWIG_fail;
5151 if (arg7 == NULL) {
5152 PyErr_SetString(PyExc_TypeError,"null reference");
5153 SWIG_fail;
5154 }
5155 }
5156 if (obj7) {
5157 {
5158 arg8 = wxString_in_helper(obj7);
5159 if (arg8 == NULL) SWIG_fail;
5160 temp8 = True;
5161 }
5162 }
5163 {
5164 PyThreadState* __tstate = wxPyBeginAllowThreads();
5165 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5166
5167 wxPyEndAllowThreads(__tstate);
5168 if (PyErr_Occurred()) SWIG_fail;
5169 }
5170 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5171 {
5172 if (temp5) delete arg5;
5173 }
5174 {
5175 if (temp8)
5176 delete arg8;
5177 }
5178 return resultobj;
5179 fail:
5180 {
5181 if (temp5) delete arg5;
5182 }
5183 {
5184 if (temp8)
5185 delete arg8;
5186 }
5187 return NULL;
5188 }
5189
5190
5191 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
5192 PyObject *resultobj;
5193 wxListBox *result;
5194 char *kwnames[] = {
5195 NULL
5196 };
5197
5198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5199 {
5200 PyThreadState* __tstate = wxPyBeginAllowThreads();
5201 result = (wxListBox *)new wxListBox();
5202
5203 wxPyEndAllowThreads(__tstate);
5204 if (PyErr_Occurred()) SWIG_fail;
5205 }
5206 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5207 return resultobj;
5208 fail:
5209 return NULL;
5210 }
5211
5212
5213 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5214 PyObject *resultobj;
5215 wxListBox *arg1 = (wxListBox *) 0 ;
5216 wxWindow *arg2 = (wxWindow *) 0 ;
5217 int arg3 ;
5218 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5219 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5220 wxSize const &arg5_defvalue = wxDefaultSize ;
5221 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5222 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5223 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5224 long arg7 = (long) 0 ;
5225 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5226 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5227 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5228 wxString *arg9 = (wxString *) &arg9_defvalue ;
5229 bool result;
5230 wxPoint temp4 ;
5231 wxSize temp5 ;
5232 bool temp6 = False ;
5233 bool temp9 = False ;
5234 PyObject * obj0 = 0 ;
5235 PyObject * obj1 = 0 ;
5236 PyObject * obj2 = 0 ;
5237 PyObject * obj3 = 0 ;
5238 PyObject * obj4 = 0 ;
5239 PyObject * obj5 = 0 ;
5240 PyObject * obj6 = 0 ;
5241 PyObject * obj7 = 0 ;
5242 PyObject * obj8 = 0 ;
5243 char *kwnames[] = {
5244 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5245 };
5246
5247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5250 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5252 arg3 = (int) SWIG_AsInt(obj2);
5253 if (PyErr_Occurred()) SWIG_fail;
5254 if (obj3) {
5255 {
5256 arg4 = &temp4;
5257 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5258 }
5259 }
5260 if (obj4) {
5261 {
5262 arg5 = &temp5;
5263 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5264 }
5265 }
5266 if (obj5) {
5267 {
5268 if (! PySequence_Check(obj5)) {
5269 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5270 SWIG_fail;
5271 }
5272 arg6 = new wxArrayString;
5273 temp6 = True;
5274 int i, len=PySequence_Length(obj5);
5275 for (i=0; i<len; i++) {
5276 PyObject* item = PySequence_GetItem(obj5, i);
5277 #if wxUSE_UNICODE
5278 PyObject* str = PyObject_Unicode(item);
5279 #else
5280 PyObject* str = PyObject_Str(item);
5281 #endif
5282 if (PyErr_Occurred()) SWIG_fail;
5283 arg6->Add(Py2wxString(str));
5284 Py_DECREF(item);
5285 Py_DECREF(str);
5286 }
5287 }
5288 }
5289 if (obj6) {
5290 arg7 = (long) SWIG_AsLong(obj6);
5291 if (PyErr_Occurred()) SWIG_fail;
5292 }
5293 if (obj7) {
5294 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5295 SWIG_POINTER_EXCEPTION | 0)) == -1)
5296 SWIG_fail;
5297 if (arg8 == NULL) {
5298 PyErr_SetString(PyExc_TypeError,"null reference");
5299 SWIG_fail;
5300 }
5301 }
5302 if (obj8) {
5303 {
5304 arg9 = wxString_in_helper(obj8);
5305 if (arg9 == NULL) SWIG_fail;
5306 temp9 = True;
5307 }
5308 }
5309 {
5310 PyThreadState* __tstate = wxPyBeginAllowThreads();
5311 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5312
5313 wxPyEndAllowThreads(__tstate);
5314 if (PyErr_Occurred()) SWIG_fail;
5315 }
5316 {
5317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5318 }
5319 {
5320 if (temp6) delete arg6;
5321 }
5322 {
5323 if (temp9)
5324 delete arg9;
5325 }
5326 return resultobj;
5327 fail:
5328 {
5329 if (temp6) delete arg6;
5330 }
5331 {
5332 if (temp9)
5333 delete arg9;
5334 }
5335 return NULL;
5336 }
5337
5338
5339 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
5340 PyObject *resultobj;
5341 wxListBox *arg1 = (wxListBox *) 0 ;
5342 wxString *arg2 = 0 ;
5343 int arg3 ;
5344 PyObject *arg4 = (PyObject *) NULL ;
5345 bool temp2 = False ;
5346 PyObject * obj0 = 0 ;
5347 PyObject * obj1 = 0 ;
5348 PyObject * obj2 = 0 ;
5349 PyObject * obj3 = 0 ;
5350 char *kwnames[] = {
5351 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5352 };
5353
5354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5357 {
5358 arg2 = wxString_in_helper(obj1);
5359 if (arg2 == NULL) SWIG_fail;
5360 temp2 = True;
5361 }
5362 arg3 = (int) SWIG_AsInt(obj2);
5363 if (PyErr_Occurred()) SWIG_fail;
5364 if (obj3) {
5365 arg4 = obj3;
5366 }
5367 {
5368 PyThreadState* __tstate = wxPyBeginAllowThreads();
5369 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5370
5371 wxPyEndAllowThreads(__tstate);
5372 if (PyErr_Occurred()) SWIG_fail;
5373 }
5374 Py_INCREF(Py_None); resultobj = Py_None;
5375 {
5376 if (temp2)
5377 delete arg2;
5378 }
5379 return resultobj;
5380 fail:
5381 {
5382 if (temp2)
5383 delete arg2;
5384 }
5385 return NULL;
5386 }
5387
5388
5389 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
5390 PyObject *resultobj;
5391 wxListBox *arg1 = (wxListBox *) 0 ;
5392 wxArrayString *arg2 = 0 ;
5393 int arg3 ;
5394 bool temp2 = False ;
5395 PyObject * obj0 = 0 ;
5396 PyObject * obj1 = 0 ;
5397 PyObject * obj2 = 0 ;
5398 char *kwnames[] = {
5399 (char *) "self",(char *) "items",(char *) "pos", NULL
5400 };
5401
5402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5405 {
5406 if (! PySequence_Check(obj1)) {
5407 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5408 SWIG_fail;
5409 }
5410 arg2 = new wxArrayString;
5411 temp2 = True;
5412 int i, len=PySequence_Length(obj1);
5413 for (i=0; i<len; i++) {
5414 PyObject* item = PySequence_GetItem(obj1, i);
5415 #if wxUSE_UNICODE
5416 PyObject* str = PyObject_Unicode(item);
5417 #else
5418 PyObject* str = PyObject_Str(item);
5419 #endif
5420 if (PyErr_Occurred()) SWIG_fail;
5421 arg2->Add(Py2wxString(str));
5422 Py_DECREF(item);
5423 Py_DECREF(str);
5424 }
5425 }
5426 arg3 = (int) SWIG_AsInt(obj2);
5427 if (PyErr_Occurred()) SWIG_fail;
5428 {
5429 PyThreadState* __tstate = wxPyBeginAllowThreads();
5430 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5431
5432 wxPyEndAllowThreads(__tstate);
5433 if (PyErr_Occurred()) SWIG_fail;
5434 }
5435 Py_INCREF(Py_None); resultobj = Py_None;
5436 {
5437 if (temp2) delete arg2;
5438 }
5439 return resultobj;
5440 fail:
5441 {
5442 if (temp2) delete arg2;
5443 }
5444 return NULL;
5445 }
5446
5447
5448 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
5449 PyObject *resultobj;
5450 wxListBox *arg1 = (wxListBox *) 0 ;
5451 wxArrayString *arg2 = 0 ;
5452 bool temp2 = False ;
5453 PyObject * obj0 = 0 ;
5454 PyObject * obj1 = 0 ;
5455 char *kwnames[] = {
5456 (char *) "self",(char *) "items", NULL
5457 };
5458
5459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5462 {
5463 if (! PySequence_Check(obj1)) {
5464 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5465 SWIG_fail;
5466 }
5467 arg2 = new wxArrayString;
5468 temp2 = True;
5469 int i, len=PySequence_Length(obj1);
5470 for (i=0; i<len; i++) {
5471 PyObject* item = PySequence_GetItem(obj1, i);
5472 #if wxUSE_UNICODE
5473 PyObject* str = PyObject_Unicode(item);
5474 #else
5475 PyObject* str = PyObject_Str(item);
5476 #endif
5477 if (PyErr_Occurred()) SWIG_fail;
5478 arg2->Add(Py2wxString(str));
5479 Py_DECREF(item);
5480 Py_DECREF(str);
5481 }
5482 }
5483 {
5484 PyThreadState* __tstate = wxPyBeginAllowThreads();
5485 (arg1)->Set((wxArrayString const &)*arg2);
5486
5487 wxPyEndAllowThreads(__tstate);
5488 if (PyErr_Occurred()) SWIG_fail;
5489 }
5490 Py_INCREF(Py_None); resultobj = Py_None;
5491 {
5492 if (temp2) delete arg2;
5493 }
5494 return resultobj;
5495 fail:
5496 {
5497 if (temp2) delete arg2;
5498 }
5499 return NULL;
5500 }
5501
5502
5503 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
5504 PyObject *resultobj;
5505 wxListBox *arg1 = (wxListBox *) 0 ;
5506 int arg2 ;
5507 bool result;
5508 PyObject * obj0 = 0 ;
5509 PyObject * obj1 = 0 ;
5510 char *kwnames[] = {
5511 (char *) "self",(char *) "n", NULL
5512 };
5513
5514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
5515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5517 arg2 = (int) SWIG_AsInt(obj1);
5518 if (PyErr_Occurred()) SWIG_fail;
5519 {
5520 PyThreadState* __tstate = wxPyBeginAllowThreads();
5521 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5522
5523 wxPyEndAllowThreads(__tstate);
5524 if (PyErr_Occurred()) SWIG_fail;
5525 }
5526 {
5527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5528 }
5529 return resultobj;
5530 fail:
5531 return NULL;
5532 }
5533
5534
5535 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5536 PyObject *resultobj;
5537 wxListBox *arg1 = (wxListBox *) 0 ;
5538 int arg2 ;
5539 bool arg3 = (bool) True ;
5540 PyObject * obj0 = 0 ;
5541 PyObject * obj1 = 0 ;
5542 PyObject * obj2 = 0 ;
5543 char *kwnames[] = {
5544 (char *) "self",(char *) "n",(char *) "select", NULL
5545 };
5546
5547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5550 arg2 = (int) SWIG_AsInt(obj1);
5551 if (PyErr_Occurred()) SWIG_fail;
5552 if (obj2) {
5553 arg3 = (bool) SWIG_AsBool(obj2);
5554 if (PyErr_Occurred()) SWIG_fail;
5555 }
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 (arg1)->SetSelection(arg2,arg3);
5559
5560 wxPyEndAllowThreads(__tstate);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 }
5563 Py_INCREF(Py_None); resultobj = Py_None;
5564 return resultobj;
5565 fail:
5566 return NULL;
5567 }
5568
5569
5570 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
5571 PyObject *resultobj;
5572 wxListBox *arg1 = (wxListBox *) 0 ;
5573 int arg2 ;
5574 PyObject * obj0 = 0 ;
5575 PyObject * obj1 = 0 ;
5576 char *kwnames[] = {
5577 (char *) "self",(char *) "n", NULL
5578 };
5579
5580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
5581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5583 arg2 = (int) SWIG_AsInt(obj1);
5584 if (PyErr_Occurred()) SWIG_fail;
5585 {
5586 PyThreadState* __tstate = wxPyBeginAllowThreads();
5587 (arg1)->Select(arg2);
5588
5589 wxPyEndAllowThreads(__tstate);
5590 if (PyErr_Occurred()) SWIG_fail;
5591 }
5592 Py_INCREF(Py_None); resultobj = Py_None;
5593 return resultobj;
5594 fail:
5595 return NULL;
5596 }
5597
5598
5599 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
5600 PyObject *resultobj;
5601 wxListBox *arg1 = (wxListBox *) 0 ;
5602 int arg2 ;
5603 PyObject * obj0 = 0 ;
5604 PyObject * obj1 = 0 ;
5605 char *kwnames[] = {
5606 (char *) "self",(char *) "n", NULL
5607 };
5608
5609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
5610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5612 arg2 = (int) SWIG_AsInt(obj1);
5613 if (PyErr_Occurred()) SWIG_fail;
5614 {
5615 PyThreadState* __tstate = wxPyBeginAllowThreads();
5616 (arg1)->Deselect(arg2);
5617
5618 wxPyEndAllowThreads(__tstate);
5619 if (PyErr_Occurred()) SWIG_fail;
5620 }
5621 Py_INCREF(Py_None); resultobj = Py_None;
5622 return resultobj;
5623 fail:
5624 return NULL;
5625 }
5626
5627
5628 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5629 PyObject *resultobj;
5630 wxListBox *arg1 = (wxListBox *) 0 ;
5631 int arg2 = (int) -1 ;
5632 PyObject * obj0 = 0 ;
5633 PyObject * obj1 = 0 ;
5634 char *kwnames[] = {
5635 (char *) "self",(char *) "itemToLeaveSelected", NULL
5636 };
5637
5638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
5639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5641 if (obj1) {
5642 arg2 = (int) SWIG_AsInt(obj1);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 }
5645 {
5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
5647 (arg1)->DeselectAll(arg2);
5648
5649 wxPyEndAllowThreads(__tstate);
5650 if (PyErr_Occurred()) SWIG_fail;
5651 }
5652 Py_INCREF(Py_None); resultobj = Py_None;
5653 return resultobj;
5654 fail:
5655 return NULL;
5656 }
5657
5658
5659 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5660 PyObject *resultobj;
5661 wxListBox *arg1 = (wxListBox *) 0 ;
5662 wxString *arg2 = 0 ;
5663 bool arg3 = (bool) True ;
5664 bool result;
5665 bool temp2 = False ;
5666 PyObject * obj0 = 0 ;
5667 PyObject * obj1 = 0 ;
5668 PyObject * obj2 = 0 ;
5669 char *kwnames[] = {
5670 (char *) "self",(char *) "s",(char *) "select", NULL
5671 };
5672
5673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5676 {
5677 arg2 = wxString_in_helper(obj1);
5678 if (arg2 == NULL) SWIG_fail;
5679 temp2 = True;
5680 }
5681 if (obj2) {
5682 arg3 = (bool) SWIG_AsBool(obj2);
5683 if (PyErr_Occurred()) SWIG_fail;
5684 }
5685 {
5686 PyThreadState* __tstate = wxPyBeginAllowThreads();
5687 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5688
5689 wxPyEndAllowThreads(__tstate);
5690 if (PyErr_Occurred()) SWIG_fail;
5691 }
5692 {
5693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5694 }
5695 {
5696 if (temp2)
5697 delete arg2;
5698 }
5699 return resultobj;
5700 fail:
5701 {
5702 if (temp2)
5703 delete arg2;
5704 }
5705 return NULL;
5706 }
5707
5708
5709 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
5710 PyObject *resultobj;
5711 wxListBox *arg1 = (wxListBox *) 0 ;
5712 PyObject *result;
5713 PyObject * obj0 = 0 ;
5714 char *kwnames[] = {
5715 (char *) "self", NULL
5716 };
5717
5718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5721 {
5722 PyThreadState* __tstate = wxPyBeginAllowThreads();
5723 result = (PyObject *)wxListBox_GetSelections(arg1);
5724
5725 wxPyEndAllowThreads(__tstate);
5726 if (PyErr_Occurred()) SWIG_fail;
5727 }
5728 resultobj = result;
5729 return resultobj;
5730 fail:
5731 return NULL;
5732 }
5733
5734
5735 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
5736 PyObject *resultobj;
5737 wxListBox *arg1 = (wxListBox *) 0 ;
5738 int arg2 ;
5739 PyObject * obj0 = 0 ;
5740 PyObject * obj1 = 0 ;
5741 char *kwnames[] = {
5742 (char *) "self",(char *) "n", NULL
5743 };
5744
5745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
5746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5748 arg2 = (int) SWIG_AsInt(obj1);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 {
5751 PyThreadState* __tstate = wxPyBeginAllowThreads();
5752 (arg1)->SetFirstItem(arg2);
5753
5754 wxPyEndAllowThreads(__tstate);
5755 if (PyErr_Occurred()) SWIG_fail;
5756 }
5757 Py_INCREF(Py_None); resultobj = Py_None;
5758 return resultobj;
5759 fail:
5760 return NULL;
5761 }
5762
5763
5764 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
5765 PyObject *resultobj;
5766 wxListBox *arg1 = (wxListBox *) 0 ;
5767 wxString *arg2 = 0 ;
5768 bool temp2 = False ;
5769 PyObject * obj0 = 0 ;
5770 PyObject * obj1 = 0 ;
5771 char *kwnames[] = {
5772 (char *) "self",(char *) "s", NULL
5773 };
5774
5775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5778 {
5779 arg2 = wxString_in_helper(obj1);
5780 if (arg2 == NULL) SWIG_fail;
5781 temp2 = True;
5782 }
5783 {
5784 PyThreadState* __tstate = wxPyBeginAllowThreads();
5785 (arg1)->SetFirstItem((wxString const &)*arg2);
5786
5787 wxPyEndAllowThreads(__tstate);
5788 if (PyErr_Occurred()) SWIG_fail;
5789 }
5790 Py_INCREF(Py_None); resultobj = Py_None;
5791 {
5792 if (temp2)
5793 delete arg2;
5794 }
5795 return resultobj;
5796 fail:
5797 {
5798 if (temp2)
5799 delete arg2;
5800 }
5801 return NULL;
5802 }
5803
5804
5805 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
5806 PyObject *resultobj;
5807 wxListBox *arg1 = (wxListBox *) 0 ;
5808 int arg2 ;
5809 PyObject * obj0 = 0 ;
5810 PyObject * obj1 = 0 ;
5811 char *kwnames[] = {
5812 (char *) "self",(char *) "n", NULL
5813 };
5814
5815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5818 arg2 = (int) SWIG_AsInt(obj1);
5819 if (PyErr_Occurred()) SWIG_fail;
5820 {
5821 PyThreadState* __tstate = wxPyBeginAllowThreads();
5822 (arg1)->EnsureVisible(arg2);
5823
5824 wxPyEndAllowThreads(__tstate);
5825 if (PyErr_Occurred()) SWIG_fail;
5826 }
5827 Py_INCREF(Py_None); resultobj = Py_None;
5828 return resultobj;
5829 fail:
5830 return NULL;
5831 }
5832
5833
5834 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
5835 PyObject *resultobj;
5836 wxListBox *arg1 = (wxListBox *) 0 ;
5837 wxString *arg2 = 0 ;
5838 bool temp2 = False ;
5839 PyObject * obj0 = 0 ;
5840 PyObject * obj1 = 0 ;
5841 char *kwnames[] = {
5842 (char *) "self",(char *) "s", NULL
5843 };
5844
5845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5848 {
5849 arg2 = wxString_in_helper(obj1);
5850 if (arg2 == NULL) SWIG_fail;
5851 temp2 = True;
5852 }
5853 {
5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
5855 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5856
5857 wxPyEndAllowThreads(__tstate);
5858 if (PyErr_Occurred()) SWIG_fail;
5859 }
5860 Py_INCREF(Py_None); resultobj = Py_None;
5861 {
5862 if (temp2)
5863 delete arg2;
5864 }
5865 return resultobj;
5866 fail:
5867 {
5868 if (temp2)
5869 delete arg2;
5870 }
5871 return NULL;
5872 }
5873
5874
5875 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
5876 PyObject *resultobj;
5877 wxListBox *arg1 = (wxListBox *) 0 ;
5878 bool result;
5879 PyObject * obj0 = 0 ;
5880 char *kwnames[] = {
5881 (char *) "self", NULL
5882 };
5883
5884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5887 {
5888 PyThreadState* __tstate = wxPyBeginAllowThreads();
5889 result = (bool)((wxListBox const *)arg1)->IsSorted();
5890
5891 wxPyEndAllowThreads(__tstate);
5892 if (PyErr_Occurred()) SWIG_fail;
5893 }
5894 {
5895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5896 }
5897 return resultobj;
5898 fail:
5899 return NULL;
5900 }
5901
5902
5903 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
5904 PyObject *resultobj;
5905 wxListBox *arg1 = (wxListBox *) 0 ;
5906 int arg2 ;
5907 wxColour *arg3 = 0 ;
5908 wxColour temp3 ;
5909 PyObject * obj0 = 0 ;
5910 PyObject * obj1 = 0 ;
5911 PyObject * obj2 = 0 ;
5912 char *kwnames[] = {
5913 (char *) "self",(char *) "item",(char *) "c", NULL
5914 };
5915
5916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5919 arg2 = (int) SWIG_AsInt(obj1);
5920 if (PyErr_Occurred()) SWIG_fail;
5921 {
5922 arg3 = &temp3;
5923 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5924 }
5925 {
5926 PyThreadState* __tstate = wxPyBeginAllowThreads();
5927 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
5928
5929 wxPyEndAllowThreads(__tstate);
5930 if (PyErr_Occurred()) SWIG_fail;
5931 }
5932 Py_INCREF(Py_None); resultobj = Py_None;
5933 return resultobj;
5934 fail:
5935 return NULL;
5936 }
5937
5938
5939 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
5940 PyObject *resultobj;
5941 wxListBox *arg1 = (wxListBox *) 0 ;
5942 int arg2 ;
5943 wxColour *arg3 = 0 ;
5944 wxColour temp3 ;
5945 PyObject * obj0 = 0 ;
5946 PyObject * obj1 = 0 ;
5947 PyObject * obj2 = 0 ;
5948 char *kwnames[] = {
5949 (char *) "self",(char *) "item",(char *) "c", NULL
5950 };
5951
5952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5955 arg2 = (int) SWIG_AsInt(obj1);
5956 if (PyErr_Occurred()) SWIG_fail;
5957 {
5958 arg3 = &temp3;
5959 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5960 }
5961 {
5962 PyThreadState* __tstate = wxPyBeginAllowThreads();
5963 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
5964
5965 wxPyEndAllowThreads(__tstate);
5966 if (PyErr_Occurred()) SWIG_fail;
5967 }
5968 Py_INCREF(Py_None); resultobj = Py_None;
5969 return resultobj;
5970 fail:
5971 return NULL;
5972 }
5973
5974
5975 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
5976 PyObject *resultobj;
5977 wxListBox *arg1 = (wxListBox *) 0 ;
5978 int arg2 ;
5979 wxFont *arg3 = 0 ;
5980 PyObject * obj0 = 0 ;
5981 PyObject * obj1 = 0 ;
5982 PyObject * obj2 = 0 ;
5983 char *kwnames[] = {
5984 (char *) "self",(char *) "item",(char *) "f", NULL
5985 };
5986
5987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
5988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5990 arg2 = (int) SWIG_AsInt(obj1);
5991 if (PyErr_Occurred()) SWIG_fail;
5992 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
5993 SWIG_POINTER_EXCEPTION | 0)) == -1)
5994 SWIG_fail;
5995 if (arg3 == NULL) {
5996 PyErr_SetString(PyExc_TypeError,"null reference");
5997 SWIG_fail;
5998 }
5999 {
6000 PyThreadState* __tstate = wxPyBeginAllowThreads();
6001 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
6002
6003 wxPyEndAllowThreads(__tstate);
6004 if (PyErr_Occurred()) SWIG_fail;
6005 }
6006 Py_INCREF(Py_None); resultobj = Py_None;
6007 return resultobj;
6008 fail:
6009 return NULL;
6010 }
6011
6012
6013 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6014 PyObject *resultobj;
6015 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6016 wxVisualAttributes result;
6017 PyObject * obj0 = 0 ;
6018 char *kwnames[] = {
6019 (char *) "variant", NULL
6020 };
6021
6022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6023 if (obj0) {
6024 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
6027 {
6028 PyThreadState* __tstate = wxPyBeginAllowThreads();
6029 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6030
6031 wxPyEndAllowThreads(__tstate);
6032 if (PyErr_Occurred()) SWIG_fail;
6033 }
6034 {
6035 wxVisualAttributes * resultptr;
6036 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6037 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6038 }
6039 return resultobj;
6040 fail:
6041 return NULL;
6042 }
6043
6044
6045 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
6046 PyObject *obj;
6047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6048 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6049 Py_INCREF(obj);
6050 return Py_BuildValue((char *)"");
6051 }
6052 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
6053 PyObject *resultobj;
6054 wxWindow *arg1 = (wxWindow *) 0 ;
6055 int arg2 ;
6056 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6057 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6058 wxSize const &arg4_defvalue = wxDefaultSize ;
6059 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6060 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6061 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6062 long arg6 = (long) 0 ;
6063 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6064 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6065 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6066 wxString *arg8 = (wxString *) &arg8_defvalue ;
6067 wxCheckListBox *result;
6068 wxPoint temp3 ;
6069 wxSize temp4 ;
6070 bool temp5 = False ;
6071 bool temp8 = False ;
6072 PyObject * obj0 = 0 ;
6073 PyObject * obj1 = 0 ;
6074 PyObject * obj2 = 0 ;
6075 PyObject * obj3 = 0 ;
6076 PyObject * obj4 = 0 ;
6077 PyObject * obj5 = 0 ;
6078 PyObject * obj6 = 0 ;
6079 PyObject * obj7 = 0 ;
6080 char *kwnames[] = {
6081 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6082 };
6083
6084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6087 arg2 = (int) SWIG_AsInt(obj1);
6088 if (PyErr_Occurred()) SWIG_fail;
6089 if (obj2) {
6090 {
6091 arg3 = &temp3;
6092 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6093 }
6094 }
6095 if (obj3) {
6096 {
6097 arg4 = &temp4;
6098 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6099 }
6100 }
6101 if (obj4) {
6102 {
6103 if (! PySequence_Check(obj4)) {
6104 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6105 SWIG_fail;
6106 }
6107 arg5 = new wxArrayString;
6108 temp5 = True;
6109 int i, len=PySequence_Length(obj4);
6110 for (i=0; i<len; i++) {
6111 PyObject* item = PySequence_GetItem(obj4, i);
6112 #if wxUSE_UNICODE
6113 PyObject* str = PyObject_Unicode(item);
6114 #else
6115 PyObject* str = PyObject_Str(item);
6116 #endif
6117 if (PyErr_Occurred()) SWIG_fail;
6118 arg5->Add(Py2wxString(str));
6119 Py_DECREF(item);
6120 Py_DECREF(str);
6121 }
6122 }
6123 }
6124 if (obj5) {
6125 arg6 = (long) SWIG_AsLong(obj5);
6126 if (PyErr_Occurred()) SWIG_fail;
6127 }
6128 if (obj6) {
6129 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6130 SWIG_POINTER_EXCEPTION | 0)) == -1)
6131 SWIG_fail;
6132 if (arg7 == NULL) {
6133 PyErr_SetString(PyExc_TypeError,"null reference");
6134 SWIG_fail;
6135 }
6136 }
6137 if (obj7) {
6138 {
6139 arg8 = wxString_in_helper(obj7);
6140 if (arg8 == NULL) SWIG_fail;
6141 temp8 = True;
6142 }
6143 }
6144 {
6145 PyThreadState* __tstate = wxPyBeginAllowThreads();
6146 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6147
6148 wxPyEndAllowThreads(__tstate);
6149 if (PyErr_Occurred()) SWIG_fail;
6150 }
6151 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6152 {
6153 if (temp5) delete arg5;
6154 }
6155 {
6156 if (temp8)
6157 delete arg8;
6158 }
6159 return resultobj;
6160 fail:
6161 {
6162 if (temp5) delete arg5;
6163 }
6164 {
6165 if (temp8)
6166 delete arg8;
6167 }
6168 return NULL;
6169 }
6170
6171
6172 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
6173 PyObject *resultobj;
6174 wxCheckListBox *result;
6175 char *kwnames[] = {
6176 NULL
6177 };
6178
6179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6180 {
6181 PyThreadState* __tstate = wxPyBeginAllowThreads();
6182 result = (wxCheckListBox *)new wxCheckListBox();
6183
6184 wxPyEndAllowThreads(__tstate);
6185 if (PyErr_Occurred()) SWIG_fail;
6186 }
6187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6188 return resultobj;
6189 fail:
6190 return NULL;
6191 }
6192
6193
6194 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6195 PyObject *resultobj;
6196 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6197 wxWindow *arg2 = (wxWindow *) 0 ;
6198 int arg3 ;
6199 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6200 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6201 wxSize const &arg5_defvalue = wxDefaultSize ;
6202 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6203 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6204 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6205 long arg7 = (long) 0 ;
6206 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6207 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6208 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6209 wxString *arg9 = (wxString *) &arg9_defvalue ;
6210 bool result;
6211 wxPoint temp4 ;
6212 wxSize temp5 ;
6213 bool temp6 = False ;
6214 bool temp9 = False ;
6215 PyObject * obj0 = 0 ;
6216 PyObject * obj1 = 0 ;
6217 PyObject * obj2 = 0 ;
6218 PyObject * obj3 = 0 ;
6219 PyObject * obj4 = 0 ;
6220 PyObject * obj5 = 0 ;
6221 PyObject * obj6 = 0 ;
6222 PyObject * obj7 = 0 ;
6223 PyObject * obj8 = 0 ;
6224 char *kwnames[] = {
6225 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6226 };
6227
6228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6231 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6233 arg3 = (int) SWIG_AsInt(obj2);
6234 if (PyErr_Occurred()) SWIG_fail;
6235 if (obj3) {
6236 {
6237 arg4 = &temp4;
6238 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6239 }
6240 }
6241 if (obj4) {
6242 {
6243 arg5 = &temp5;
6244 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6245 }
6246 }
6247 if (obj5) {
6248 {
6249 if (! PySequence_Check(obj5)) {
6250 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6251 SWIG_fail;
6252 }
6253 arg6 = new wxArrayString;
6254 temp6 = True;
6255 int i, len=PySequence_Length(obj5);
6256 for (i=0; i<len; i++) {
6257 PyObject* item = PySequence_GetItem(obj5, i);
6258 #if wxUSE_UNICODE
6259 PyObject* str = PyObject_Unicode(item);
6260 #else
6261 PyObject* str = PyObject_Str(item);
6262 #endif
6263 if (PyErr_Occurred()) SWIG_fail;
6264 arg6->Add(Py2wxString(str));
6265 Py_DECREF(item);
6266 Py_DECREF(str);
6267 }
6268 }
6269 }
6270 if (obj6) {
6271 arg7 = (long) SWIG_AsLong(obj6);
6272 if (PyErr_Occurred()) SWIG_fail;
6273 }
6274 if (obj7) {
6275 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6276 SWIG_POINTER_EXCEPTION | 0)) == -1)
6277 SWIG_fail;
6278 if (arg8 == NULL) {
6279 PyErr_SetString(PyExc_TypeError,"null reference");
6280 SWIG_fail;
6281 }
6282 }
6283 if (obj8) {
6284 {
6285 arg9 = wxString_in_helper(obj8);
6286 if (arg9 == NULL) SWIG_fail;
6287 temp9 = True;
6288 }
6289 }
6290 {
6291 PyThreadState* __tstate = wxPyBeginAllowThreads();
6292 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6293
6294 wxPyEndAllowThreads(__tstate);
6295 if (PyErr_Occurred()) SWIG_fail;
6296 }
6297 {
6298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6299 }
6300 {
6301 if (temp6) delete arg6;
6302 }
6303 {
6304 if (temp9)
6305 delete arg9;
6306 }
6307 return resultobj;
6308 fail:
6309 {
6310 if (temp6) delete arg6;
6311 }
6312 {
6313 if (temp9)
6314 delete arg9;
6315 }
6316 return NULL;
6317 }
6318
6319
6320 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
6321 PyObject *resultobj;
6322 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6323 int arg2 ;
6324 bool result;
6325 PyObject * obj0 = 0 ;
6326 PyObject * obj1 = 0 ;
6327 char *kwnames[] = {
6328 (char *) "self",(char *) "index", NULL
6329 };
6330
6331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6334 arg2 = (int) SWIG_AsInt(obj1);
6335 if (PyErr_Occurred()) SWIG_fail;
6336 {
6337 PyThreadState* __tstate = wxPyBeginAllowThreads();
6338 result = (bool)(arg1)->IsChecked(arg2);
6339
6340 wxPyEndAllowThreads(__tstate);
6341 if (PyErr_Occurred()) SWIG_fail;
6342 }
6343 {
6344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6345 }
6346 return resultobj;
6347 fail:
6348 return NULL;
6349 }
6350
6351
6352 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
6353 PyObject *resultobj;
6354 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6355 int arg2 ;
6356 int arg3 = (int) True ;
6357 PyObject * obj0 = 0 ;
6358 PyObject * obj1 = 0 ;
6359 PyObject * obj2 = 0 ;
6360 char *kwnames[] = {
6361 (char *) "self",(char *) "index",(char *) "check", NULL
6362 };
6363
6364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6367 arg2 = (int) SWIG_AsInt(obj1);
6368 if (PyErr_Occurred()) SWIG_fail;
6369 if (obj2) {
6370 arg3 = (int) SWIG_AsInt(obj2);
6371 if (PyErr_Occurred()) SWIG_fail;
6372 }
6373 {
6374 PyThreadState* __tstate = wxPyBeginAllowThreads();
6375 (arg1)->Check(arg2,arg3);
6376
6377 wxPyEndAllowThreads(__tstate);
6378 if (PyErr_Occurred()) SWIG_fail;
6379 }
6380 Py_INCREF(Py_None); resultobj = Py_None;
6381 return resultobj;
6382 fail:
6383 return NULL;
6384 }
6385
6386
6387 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6388 PyObject *resultobj;
6389 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6390 wxPoint *arg2 = 0 ;
6391 int result;
6392 wxPoint temp2 ;
6393 PyObject * obj0 = 0 ;
6394 PyObject * obj1 = 0 ;
6395 char *kwnames[] = {
6396 (char *) "self",(char *) "pt", NULL
6397 };
6398
6399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6402 {
6403 arg2 = &temp2;
6404 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6405 }
6406 {
6407 PyThreadState* __tstate = wxPyBeginAllowThreads();
6408 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6409
6410 wxPyEndAllowThreads(__tstate);
6411 if (PyErr_Occurred()) SWIG_fail;
6412 }
6413 resultobj = SWIG_FromInt((int)result);
6414 return resultobj;
6415 fail:
6416 return NULL;
6417 }
6418
6419
6420 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
6421 PyObject *resultobj;
6422 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6423 int arg2 ;
6424 int arg3 ;
6425 int result;
6426 PyObject * obj0 = 0 ;
6427 PyObject * obj1 = 0 ;
6428 PyObject * obj2 = 0 ;
6429 char *kwnames[] = {
6430 (char *) "self",(char *) "x",(char *) "y", NULL
6431 };
6432
6433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6436 arg2 = (int) SWIG_AsInt(obj1);
6437 if (PyErr_Occurred()) SWIG_fail;
6438 arg3 = (int) SWIG_AsInt(obj2);
6439 if (PyErr_Occurred()) SWIG_fail;
6440 {
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
6442 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6443
6444 wxPyEndAllowThreads(__tstate);
6445 if (PyErr_Occurred()) SWIG_fail;
6446 }
6447 resultobj = SWIG_FromInt((int)result);
6448 return resultobj;
6449 fail:
6450 return NULL;
6451 }
6452
6453
6454 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
6455 PyObject *obj;
6456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6457 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6458 Py_INCREF(obj);
6459 return Py_BuildValue((char *)"");
6460 }
6461 static int _wrap_TextCtrlNameStr_set(PyObject *) {
6462 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6463 return 1;
6464 }
6465
6466
6467 static PyObject *_wrap_TextCtrlNameStr_get() {
6468 PyObject *pyobj;
6469
6470 {
6471 #if wxUSE_UNICODE
6472 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6473 #else
6474 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6475 #endif
6476 }
6477 return pyobj;
6478 }
6479
6480
6481 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *, PyObject *args) {
6482 PyObject *resultobj;
6483 wxTextAttr *result;
6484
6485 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6486 {
6487 PyThreadState* __tstate = wxPyBeginAllowThreads();
6488 result = (wxTextAttr *)new wxTextAttr();
6489
6490 wxPyEndAllowThreads(__tstate);
6491 if (PyErr_Occurred()) SWIG_fail;
6492 }
6493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6494 return resultobj;
6495 fail:
6496 return NULL;
6497 }
6498
6499
6500 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *, PyObject *args) {
6501 PyObject *resultobj;
6502 wxColour *arg1 = 0 ;
6503 wxColour const &arg2_defvalue = wxNullColour ;
6504 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6505 wxFont const &arg3_defvalue = wxNullFont ;
6506 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6507 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6508 wxTextAttr *result;
6509 wxColour temp1 ;
6510 wxColour temp2 ;
6511 PyObject * obj0 = 0 ;
6512 PyObject * obj1 = 0 ;
6513 PyObject * obj2 = 0 ;
6514 PyObject * obj3 = 0 ;
6515
6516 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6517 {
6518 arg1 = &temp1;
6519 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6520 }
6521 if (obj1) {
6522 {
6523 arg2 = &temp2;
6524 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6525 }
6526 }
6527 if (obj2) {
6528 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6529 SWIG_POINTER_EXCEPTION | 0)) == -1)
6530 SWIG_fail;
6531 if (arg3 == NULL) {
6532 PyErr_SetString(PyExc_TypeError,"null reference");
6533 SWIG_fail;
6534 }
6535 }
6536 if (obj3) {
6537 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
6538 if (PyErr_Occurred()) SWIG_fail;
6539 }
6540 {
6541 PyThreadState* __tstate = wxPyBeginAllowThreads();
6542 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6543
6544 wxPyEndAllowThreads(__tstate);
6545 if (PyErr_Occurred()) SWIG_fail;
6546 }
6547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6548 return resultobj;
6549 fail:
6550 return NULL;
6551 }
6552
6553
6554 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6555 int argc;
6556 PyObject *argv[5];
6557 int ii;
6558
6559 argc = PyObject_Length(args);
6560 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6561 argv[ii] = PyTuple_GetItem(args,ii);
6562 }
6563 if (argc == 0) {
6564 return _wrap_new_TextAttr__SWIG_0(self,args);
6565 }
6566 if ((argc >= 1) && (argc <= 4)) {
6567 int _v;
6568 {
6569 _v = wxColour_typecheck(argv[0]);
6570 }
6571 if (_v) {
6572 if (argc <= 1) {
6573 return _wrap_new_TextAttr__SWIG_1(self,args);
6574 }
6575 {
6576 _v = wxColour_typecheck(argv[1]);
6577 }
6578 if (_v) {
6579 if (argc <= 2) {
6580 return _wrap_new_TextAttr__SWIG_1(self,args);
6581 }
6582 {
6583 void *ptr;
6584 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
6585 _v = 0;
6586 PyErr_Clear();
6587 } else {
6588 _v = 1;
6589 }
6590 }
6591 if (_v) {
6592 if (argc <= 3) {
6593 return _wrap_new_TextAttr__SWIG_1(self,args);
6594 }
6595 _v = SWIG_CheckInt(argv[3]);
6596 if (_v) {
6597 return _wrap_new_TextAttr__SWIG_1(self,args);
6598 }
6599 }
6600 }
6601 }
6602 }
6603
6604 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6605 return NULL;
6606 }
6607
6608
6609 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
6610 PyObject *resultobj;
6611 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6612 PyObject * obj0 = 0 ;
6613 char *kwnames[] = {
6614 (char *) "self", NULL
6615 };
6616
6617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
6618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6620 {
6621 PyThreadState* __tstate = wxPyBeginAllowThreads();
6622 delete arg1;
6623
6624 wxPyEndAllowThreads(__tstate);
6625 if (PyErr_Occurred()) SWIG_fail;
6626 }
6627 Py_INCREF(Py_None); resultobj = Py_None;
6628 return resultobj;
6629 fail:
6630 return NULL;
6631 }
6632
6633
6634 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
6635 PyObject *resultobj;
6636 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6637 PyObject * obj0 = 0 ;
6638 char *kwnames[] = {
6639 (char *) "self", NULL
6640 };
6641
6642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
6643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6645 {
6646 PyThreadState* __tstate = wxPyBeginAllowThreads();
6647 (arg1)->Init();
6648
6649 wxPyEndAllowThreads(__tstate);
6650 if (PyErr_Occurred()) SWIG_fail;
6651 }
6652 Py_INCREF(Py_None); resultobj = Py_None;
6653 return resultobj;
6654 fail:
6655 return NULL;
6656 }
6657
6658
6659 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
6660 PyObject *resultobj;
6661 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6662 wxColour *arg2 = 0 ;
6663 wxColour temp2 ;
6664 PyObject * obj0 = 0 ;
6665 PyObject * obj1 = 0 ;
6666 char *kwnames[] = {
6667 (char *) "self",(char *) "colText", NULL
6668 };
6669
6670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
6671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6673 {
6674 arg2 = &temp2;
6675 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6676 }
6677 {
6678 PyThreadState* __tstate = wxPyBeginAllowThreads();
6679 (arg1)->SetTextColour((wxColour const &)*arg2);
6680
6681 wxPyEndAllowThreads(__tstate);
6682 if (PyErr_Occurred()) SWIG_fail;
6683 }
6684 Py_INCREF(Py_None); resultobj = Py_None;
6685 return resultobj;
6686 fail:
6687 return NULL;
6688 }
6689
6690
6691 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6692 PyObject *resultobj;
6693 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6694 wxColour *arg2 = 0 ;
6695 wxColour temp2 ;
6696 PyObject * obj0 = 0 ;
6697 PyObject * obj1 = 0 ;
6698 char *kwnames[] = {
6699 (char *) "self",(char *) "colBack", NULL
6700 };
6701
6702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6705 {
6706 arg2 = &temp2;
6707 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6708 }
6709 {
6710 PyThreadState* __tstate = wxPyBeginAllowThreads();
6711 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6712
6713 wxPyEndAllowThreads(__tstate);
6714 if (PyErr_Occurred()) SWIG_fail;
6715 }
6716 Py_INCREF(Py_None); resultobj = Py_None;
6717 return resultobj;
6718 fail:
6719 return NULL;
6720 }
6721
6722
6723 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
6724 PyObject *resultobj;
6725 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6726 wxFont *arg2 = 0 ;
6727 long arg3 = (long) wxTEXT_ATTR_FONT ;
6728 PyObject * obj0 = 0 ;
6729 PyObject * obj1 = 0 ;
6730 PyObject * obj2 = 0 ;
6731 char *kwnames[] = {
6732 (char *) "self",(char *) "font",(char *) "flags", NULL
6733 };
6734
6735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6738 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
6739 SWIG_POINTER_EXCEPTION | 0)) == -1)
6740 SWIG_fail;
6741 if (arg2 == NULL) {
6742 PyErr_SetString(PyExc_TypeError,"null reference");
6743 SWIG_fail;
6744 }
6745 if (obj2) {
6746 arg3 = (long) SWIG_AsLong(obj2);
6747 if (PyErr_Occurred()) SWIG_fail;
6748 }
6749 {
6750 PyThreadState* __tstate = wxPyBeginAllowThreads();
6751 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6752
6753 wxPyEndAllowThreads(__tstate);
6754 if (PyErr_Occurred()) SWIG_fail;
6755 }
6756 Py_INCREF(Py_None); resultobj = Py_None;
6757 return resultobj;
6758 fail:
6759 return NULL;
6760 }
6761
6762
6763 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
6764 PyObject *resultobj;
6765 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6766 int arg2 ;
6767 PyObject * obj0 = 0 ;
6768 PyObject * obj1 = 0 ;
6769 char *kwnames[] = {
6770 (char *) "self",(char *) "alignment", NULL
6771 };
6772
6773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
6774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6776 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
6777 if (PyErr_Occurred()) SWIG_fail;
6778 {
6779 PyThreadState* __tstate = wxPyBeginAllowThreads();
6780 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6781
6782 wxPyEndAllowThreads(__tstate);
6783 if (PyErr_Occurred()) SWIG_fail;
6784 }
6785 Py_INCREF(Py_None); resultobj = Py_None;
6786 return resultobj;
6787 fail:
6788 return NULL;
6789 }
6790
6791
6792 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
6793 PyObject *resultobj;
6794 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6795 wxArrayInt *arg2 = 0 ;
6796 bool temp2 = False ;
6797 PyObject * obj0 = 0 ;
6798 PyObject * obj1 = 0 ;
6799 char *kwnames[] = {
6800 (char *) "self",(char *) "tabs", NULL
6801 };
6802
6803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6806 {
6807 if (! PySequence_Check(obj1)) {
6808 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6809 SWIG_fail;
6810 }
6811 arg2 = new wxArrayInt;
6812 temp2 = True;
6813 int i, len=PySequence_Length(obj1);
6814 for (i=0; i<len; i++) {
6815 PyObject* item = PySequence_GetItem(obj1, i);
6816 PyObject* number = PyNumber_Int(item);
6817 arg2->Add(PyInt_AS_LONG(number));
6818 Py_DECREF(item);
6819 Py_DECREF(number);
6820 }
6821 }
6822 {
6823 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6825
6826 wxPyEndAllowThreads(__tstate);
6827 if (PyErr_Occurred()) SWIG_fail;
6828 }
6829 Py_INCREF(Py_None); resultobj = Py_None;
6830 {
6831 if (temp2) delete arg2;
6832 }
6833 return resultobj;
6834 fail:
6835 {
6836 if (temp2) delete arg2;
6837 }
6838 return NULL;
6839 }
6840
6841
6842 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6843 PyObject *resultobj;
6844 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6845 int arg2 ;
6846 PyObject * obj0 = 0 ;
6847 PyObject * obj1 = 0 ;
6848 char *kwnames[] = {
6849 (char *) "self",(char *) "indent", NULL
6850 };
6851
6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
6853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6855 arg2 = (int) SWIG_AsInt(obj1);
6856 if (PyErr_Occurred()) SWIG_fail;
6857 {
6858 PyThreadState* __tstate = wxPyBeginAllowThreads();
6859 (arg1)->SetLeftIndent(arg2);
6860
6861 wxPyEndAllowThreads(__tstate);
6862 if (PyErr_Occurred()) SWIG_fail;
6863 }
6864 Py_INCREF(Py_None); resultobj = Py_None;
6865 return resultobj;
6866 fail:
6867 return NULL;
6868 }
6869
6870
6871 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6872 PyObject *resultobj;
6873 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6874 int arg2 ;
6875 PyObject * obj0 = 0 ;
6876 PyObject * obj1 = 0 ;
6877 char *kwnames[] = {
6878 (char *) "self",(char *) "indent", NULL
6879 };
6880
6881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
6882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6884 arg2 = (int) SWIG_AsInt(obj1);
6885 if (PyErr_Occurred()) SWIG_fail;
6886 {
6887 PyThreadState* __tstate = wxPyBeginAllowThreads();
6888 (arg1)->SetRightIndent(arg2);
6889
6890 wxPyEndAllowThreads(__tstate);
6891 if (PyErr_Occurred()) SWIG_fail;
6892 }
6893 Py_INCREF(Py_None); resultobj = Py_None;
6894 return resultobj;
6895 fail:
6896 return NULL;
6897 }
6898
6899
6900 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
6901 PyObject *resultobj;
6902 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6903 long arg2 ;
6904 PyObject * obj0 = 0 ;
6905 PyObject * obj1 = 0 ;
6906 char *kwnames[] = {
6907 (char *) "self",(char *) "flags", NULL
6908 };
6909
6910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
6911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6913 arg2 = (long) SWIG_AsLong(obj1);
6914 if (PyErr_Occurred()) SWIG_fail;
6915 {
6916 PyThreadState* __tstate = wxPyBeginAllowThreads();
6917 (arg1)->SetFlags(arg2);
6918
6919 wxPyEndAllowThreads(__tstate);
6920 if (PyErr_Occurred()) SWIG_fail;
6921 }
6922 Py_INCREF(Py_None); resultobj = Py_None;
6923 return resultobj;
6924 fail:
6925 return NULL;
6926 }
6927
6928
6929 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
6930 PyObject *resultobj;
6931 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6932 bool result;
6933 PyObject * obj0 = 0 ;
6934 char *kwnames[] = {
6935 (char *) "self", NULL
6936 };
6937
6938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6941 {
6942 PyThreadState* __tstate = wxPyBeginAllowThreads();
6943 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6944
6945 wxPyEndAllowThreads(__tstate);
6946 if (PyErr_Occurred()) SWIG_fail;
6947 }
6948 {
6949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6950 }
6951 return resultobj;
6952 fail:
6953 return NULL;
6954 }
6955
6956
6957 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6958 PyObject *resultobj;
6959 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6960 bool result;
6961 PyObject * obj0 = 0 ;
6962 char *kwnames[] = {
6963 (char *) "self", NULL
6964 };
6965
6966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
6967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6969 {
6970 PyThreadState* __tstate = wxPyBeginAllowThreads();
6971 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6972
6973 wxPyEndAllowThreads(__tstate);
6974 if (PyErr_Occurred()) SWIG_fail;
6975 }
6976 {
6977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6978 }
6979 return resultobj;
6980 fail:
6981 return NULL;
6982 }
6983
6984
6985 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
6986 PyObject *resultobj;
6987 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6988 bool result;
6989 PyObject * obj0 = 0 ;
6990 char *kwnames[] = {
6991 (char *) "self", NULL
6992 };
6993
6994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 result = (bool)((wxTextAttr const *)arg1)->HasFont();
7000
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
7004 {
7005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7006 }
7007 return resultobj;
7008 fail:
7009 return NULL;
7010 }
7011
7012
7013 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7014 PyObject *resultobj;
7015 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7016 bool result;
7017 PyObject * obj0 = 0 ;
7018 char *kwnames[] = {
7019 (char *) "self", NULL
7020 };
7021
7022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
7023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7025 {
7026 PyThreadState* __tstate = wxPyBeginAllowThreads();
7027 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7028
7029 wxPyEndAllowThreads(__tstate);
7030 if (PyErr_Occurred()) SWIG_fail;
7031 }
7032 {
7033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7034 }
7035 return resultobj;
7036 fail:
7037 return NULL;
7038 }
7039
7040
7041 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
7042 PyObject *resultobj;
7043 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7044 bool result;
7045 PyObject * obj0 = 0 ;
7046 char *kwnames[] = {
7047 (char *) "self", NULL
7048 };
7049
7050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
7051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7053 {
7054 PyThreadState* __tstate = wxPyBeginAllowThreads();
7055 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7056
7057 wxPyEndAllowThreads(__tstate);
7058 if (PyErr_Occurred()) SWIG_fail;
7059 }
7060 {
7061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7062 }
7063 return resultobj;
7064 fail:
7065 return NULL;
7066 }
7067
7068
7069 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7070 PyObject *resultobj;
7071 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7072 bool result;
7073 PyObject * obj0 = 0 ;
7074 char *kwnames[] = {
7075 (char *) "self", NULL
7076 };
7077
7078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
7079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7081 {
7082 PyThreadState* __tstate = wxPyBeginAllowThreads();
7083 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7084
7085 wxPyEndAllowThreads(__tstate);
7086 if (PyErr_Occurred()) SWIG_fail;
7087 }
7088 {
7089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7090 }
7091 return resultobj;
7092 fail:
7093 return NULL;
7094 }
7095
7096
7097 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7098 PyObject *resultobj;
7099 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7100 bool result;
7101 PyObject * obj0 = 0 ;
7102 char *kwnames[] = {
7103 (char *) "self", NULL
7104 };
7105
7106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
7107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7109 {
7110 PyThreadState* __tstate = wxPyBeginAllowThreads();
7111 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7112
7113 wxPyEndAllowThreads(__tstate);
7114 if (PyErr_Occurred()) SWIG_fail;
7115 }
7116 {
7117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7118 }
7119 return resultobj;
7120 fail:
7121 return NULL;
7122 }
7123
7124
7125 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
7126 PyObject *resultobj;
7127 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7128 long arg2 ;
7129 bool result;
7130 PyObject * obj0 = 0 ;
7131 PyObject * obj1 = 0 ;
7132 char *kwnames[] = {
7133 (char *) "self",(char *) "flag", NULL
7134 };
7135
7136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7139 arg2 = (long) SWIG_AsLong(obj1);
7140 if (PyErr_Occurred()) SWIG_fail;
7141 {
7142 PyThreadState* __tstate = wxPyBeginAllowThreads();
7143 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7144
7145 wxPyEndAllowThreads(__tstate);
7146 if (PyErr_Occurred()) SWIG_fail;
7147 }
7148 {
7149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7150 }
7151 return resultobj;
7152 fail:
7153 return NULL;
7154 }
7155
7156
7157 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7158 PyObject *resultobj;
7159 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7160 wxColour *result;
7161 PyObject * obj0 = 0 ;
7162 char *kwnames[] = {
7163 (char *) "self", NULL
7164 };
7165
7166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7169 {
7170 PyThreadState* __tstate = wxPyBeginAllowThreads();
7171 {
7172 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7173 result = (wxColour *) &_result_ref;
7174 }
7175
7176 wxPyEndAllowThreads(__tstate);
7177 if (PyErr_Occurred()) SWIG_fail;
7178 }
7179 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7180 return resultobj;
7181 fail:
7182 return NULL;
7183 }
7184
7185
7186 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7187 PyObject *resultobj;
7188 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7189 wxColour *result;
7190 PyObject * obj0 = 0 ;
7191 char *kwnames[] = {
7192 (char *) "self", NULL
7193 };
7194
7195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7198 {
7199 PyThreadState* __tstate = wxPyBeginAllowThreads();
7200 {
7201 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7202 result = (wxColour *) &_result_ref;
7203 }
7204
7205 wxPyEndAllowThreads(__tstate);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 }
7208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7209 return resultobj;
7210 fail:
7211 return NULL;
7212 }
7213
7214
7215 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7216 PyObject *resultobj;
7217 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7218 wxFont *result;
7219 PyObject * obj0 = 0 ;
7220 char *kwnames[] = {
7221 (char *) "self", NULL
7222 };
7223
7224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7227 {
7228 PyThreadState* __tstate = wxPyBeginAllowThreads();
7229 {
7230 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7231 result = (wxFont *) &_result_ref;
7232 }
7233
7234 wxPyEndAllowThreads(__tstate);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
7237 {
7238 wxFont* resultptr = new wxFont(*result);
7239 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7240 }
7241 return resultobj;
7242 fail:
7243 return NULL;
7244 }
7245
7246
7247 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7248 PyObject *resultobj;
7249 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7250 int result;
7251 PyObject * obj0 = 0 ;
7252 char *kwnames[] = {
7253 (char *) "self", NULL
7254 };
7255
7256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7259 {
7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7261 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7262
7263 wxPyEndAllowThreads(__tstate);
7264 if (PyErr_Occurred()) SWIG_fail;
7265 }
7266 resultobj = SWIG_FromInt((int)result);
7267 return resultobj;
7268 fail:
7269 return NULL;
7270 }
7271
7272
7273 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
7274 PyObject *resultobj;
7275 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7276 wxArrayInt *result;
7277 PyObject * obj0 = 0 ;
7278 char *kwnames[] = {
7279 (char *) "self", NULL
7280 };
7281
7282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7285 {
7286 PyThreadState* __tstate = wxPyBeginAllowThreads();
7287 {
7288 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7289 result = (wxArrayInt *) &_result_ref;
7290 }
7291
7292 wxPyEndAllowThreads(__tstate);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
7295 {
7296 resultobj = PyList_New(0);
7297 size_t idx;
7298 for (idx = 0; idx < result->GetCount(); idx += 1) {
7299 PyObject* val = PyInt_FromLong( result->Item(idx) );
7300 PyList_Append(resultobj, val);
7301 Py_DECREF(val);
7302 }
7303 }
7304 return resultobj;
7305 fail:
7306 return NULL;
7307 }
7308
7309
7310 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7311 PyObject *resultobj;
7312 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7313 long result;
7314 PyObject * obj0 = 0 ;
7315 char *kwnames[] = {
7316 (char *) "self", NULL
7317 };
7318
7319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7322 {
7323 PyThreadState* __tstate = wxPyBeginAllowThreads();
7324 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7325
7326 wxPyEndAllowThreads(__tstate);
7327 if (PyErr_Occurred()) SWIG_fail;
7328 }
7329 resultobj = SWIG_FromLong((long)result);
7330 return resultobj;
7331 fail:
7332 return NULL;
7333 }
7334
7335
7336 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7337 PyObject *resultobj;
7338 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7339 long result;
7340 PyObject * obj0 = 0 ;
7341 char *kwnames[] = {
7342 (char *) "self", NULL
7343 };
7344
7345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7348 {
7349 PyThreadState* __tstate = wxPyBeginAllowThreads();
7350 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7351
7352 wxPyEndAllowThreads(__tstate);
7353 if (PyErr_Occurred()) SWIG_fail;
7354 }
7355 resultobj = SWIG_FromLong((long)result);
7356 return resultobj;
7357 fail:
7358 return NULL;
7359 }
7360
7361
7362 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7363 PyObject *resultobj;
7364 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7365 long result;
7366 PyObject * obj0 = 0 ;
7367 char *kwnames[] = {
7368 (char *) "self", NULL
7369 };
7370
7371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7374 {
7375 PyThreadState* __tstate = wxPyBeginAllowThreads();
7376 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7377
7378 wxPyEndAllowThreads(__tstate);
7379 if (PyErr_Occurred()) SWIG_fail;
7380 }
7381 resultobj = SWIG_FromLong((long)result);
7382 return resultobj;
7383 fail:
7384 return NULL;
7385 }
7386
7387
7388 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
7389 PyObject *resultobj;
7390 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7391 bool result;
7392 PyObject * obj0 = 0 ;
7393 char *kwnames[] = {
7394 (char *) "self", NULL
7395 };
7396
7397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7400 {
7401 PyThreadState* __tstate = wxPyBeginAllowThreads();
7402 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7403
7404 wxPyEndAllowThreads(__tstate);
7405 if (PyErr_Occurred()) SWIG_fail;
7406 }
7407 {
7408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7409 }
7410 return resultobj;
7411 fail:
7412 return NULL;
7413 }
7414
7415
7416 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
7417 PyObject *resultobj;
7418 wxTextAttr *arg1 = 0 ;
7419 wxTextAttr *arg2 = 0 ;
7420 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7421 wxTextAttr result;
7422 PyObject * obj0 = 0 ;
7423 PyObject * obj1 = 0 ;
7424 PyObject * obj2 = 0 ;
7425 char *kwnames[] = {
7426 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7427 };
7428
7429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7431 SWIG_POINTER_EXCEPTION | 0)) == -1)
7432 SWIG_fail;
7433 if (arg1 == NULL) {
7434 PyErr_SetString(PyExc_TypeError,"null reference");
7435 SWIG_fail;
7436 }
7437 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7438 SWIG_POINTER_EXCEPTION | 0)) == -1)
7439 SWIG_fail;
7440 if (arg2 == NULL) {
7441 PyErr_SetString(PyExc_TypeError,"null reference");
7442 SWIG_fail;
7443 }
7444 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7446 {
7447 PyThreadState* __tstate = wxPyBeginAllowThreads();
7448 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7449
7450 wxPyEndAllowThreads(__tstate);
7451 if (PyErr_Occurred()) SWIG_fail;
7452 }
7453 {
7454 wxTextAttr * resultptr;
7455 resultptr = new wxTextAttr((wxTextAttr &) result);
7456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
7457 }
7458 return resultobj;
7459 fail:
7460 return NULL;
7461 }
7462
7463
7464 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
7465 PyObject *obj;
7466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7467 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7468 Py_INCREF(obj);
7469 return Py_BuildValue((char *)"");
7470 }
7471 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7472 PyObject *resultobj;
7473 wxWindow *arg1 = (wxWindow *) 0 ;
7474 int arg2 ;
7475 wxString const &arg3_defvalue = wxPyEmptyString ;
7476 wxString *arg3 = (wxString *) &arg3_defvalue ;
7477 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7478 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7479 wxSize const &arg5_defvalue = wxDefaultSize ;
7480 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7481 long arg6 = (long) 0 ;
7482 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7483 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7484 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7485 wxString *arg8 = (wxString *) &arg8_defvalue ;
7486 wxTextCtrl *result;
7487 bool temp3 = False ;
7488 wxPoint temp4 ;
7489 wxSize temp5 ;
7490 bool temp8 = False ;
7491 PyObject * obj0 = 0 ;
7492 PyObject * obj1 = 0 ;
7493 PyObject * obj2 = 0 ;
7494 PyObject * obj3 = 0 ;
7495 PyObject * obj4 = 0 ;
7496 PyObject * obj5 = 0 ;
7497 PyObject * obj6 = 0 ;
7498 PyObject * obj7 = 0 ;
7499 char *kwnames[] = {
7500 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7501 };
7502
7503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7506 arg2 = (int) SWIG_AsInt(obj1);
7507 if (PyErr_Occurred()) SWIG_fail;
7508 if (obj2) {
7509 {
7510 arg3 = wxString_in_helper(obj2);
7511 if (arg3 == NULL) SWIG_fail;
7512 temp3 = True;
7513 }
7514 }
7515 if (obj3) {
7516 {
7517 arg4 = &temp4;
7518 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7519 }
7520 }
7521 if (obj4) {
7522 {
7523 arg5 = &temp5;
7524 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7525 }
7526 }
7527 if (obj5) {
7528 arg6 = (long) SWIG_AsLong(obj5);
7529 if (PyErr_Occurred()) SWIG_fail;
7530 }
7531 if (obj6) {
7532 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
7533 SWIG_POINTER_EXCEPTION | 0)) == -1)
7534 SWIG_fail;
7535 if (arg7 == NULL) {
7536 PyErr_SetString(PyExc_TypeError,"null reference");
7537 SWIG_fail;
7538 }
7539 }
7540 if (obj7) {
7541 {
7542 arg8 = wxString_in_helper(obj7);
7543 if (arg8 == NULL) SWIG_fail;
7544 temp8 = True;
7545 }
7546 }
7547 {
7548 PyThreadState* __tstate = wxPyBeginAllowThreads();
7549 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7550
7551 wxPyEndAllowThreads(__tstate);
7552 if (PyErr_Occurred()) SWIG_fail;
7553 }
7554 {
7555 resultobj = wxPyMake_wxObject(result);
7556 }
7557 {
7558 if (temp3)
7559 delete arg3;
7560 }
7561 {
7562 if (temp8)
7563 delete arg8;
7564 }
7565 return resultobj;
7566 fail:
7567 {
7568 if (temp3)
7569 delete arg3;
7570 }
7571 {
7572 if (temp8)
7573 delete arg8;
7574 }
7575 return NULL;
7576 }
7577
7578
7579 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7580 PyObject *resultobj;
7581 wxTextCtrl *result;
7582 char *kwnames[] = {
7583 NULL
7584 };
7585
7586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7587 {
7588 PyThreadState* __tstate = wxPyBeginAllowThreads();
7589 result = (wxTextCtrl *)new wxTextCtrl();
7590
7591 wxPyEndAllowThreads(__tstate);
7592 if (PyErr_Occurred()) SWIG_fail;
7593 }
7594 {
7595 resultobj = wxPyMake_wxObject(result);
7596 }
7597 return resultobj;
7598 fail:
7599 return NULL;
7600 }
7601
7602
7603 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7604 PyObject *resultobj;
7605 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7606 wxWindow *arg2 = (wxWindow *) 0 ;
7607 int arg3 ;
7608 wxString const &arg4_defvalue = wxPyEmptyString ;
7609 wxString *arg4 = (wxString *) &arg4_defvalue ;
7610 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7611 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7612 wxSize const &arg6_defvalue = wxDefaultSize ;
7613 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7614 long arg7 = (long) 0 ;
7615 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7616 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7617 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7618 wxString *arg9 = (wxString *) &arg9_defvalue ;
7619 bool result;
7620 bool temp4 = False ;
7621 wxPoint temp5 ;
7622 wxSize temp6 ;
7623 bool temp9 = False ;
7624 PyObject * obj0 = 0 ;
7625 PyObject * obj1 = 0 ;
7626 PyObject * obj2 = 0 ;
7627 PyObject * obj3 = 0 ;
7628 PyObject * obj4 = 0 ;
7629 PyObject * obj5 = 0 ;
7630 PyObject * obj6 = 0 ;
7631 PyObject * obj7 = 0 ;
7632 PyObject * obj8 = 0 ;
7633 char *kwnames[] = {
7634 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7635 };
7636
7637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7640 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7642 arg3 = (int) SWIG_AsInt(obj2);
7643 if (PyErr_Occurred()) SWIG_fail;
7644 if (obj3) {
7645 {
7646 arg4 = wxString_in_helper(obj3);
7647 if (arg4 == NULL) SWIG_fail;
7648 temp4 = True;
7649 }
7650 }
7651 if (obj4) {
7652 {
7653 arg5 = &temp5;
7654 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7655 }
7656 }
7657 if (obj5) {
7658 {
7659 arg6 = &temp6;
7660 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7661 }
7662 }
7663 if (obj6) {
7664 arg7 = (long) SWIG_AsLong(obj6);
7665 if (PyErr_Occurred()) SWIG_fail;
7666 }
7667 if (obj7) {
7668 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
7669 SWIG_POINTER_EXCEPTION | 0)) == -1)
7670 SWIG_fail;
7671 if (arg8 == NULL) {
7672 PyErr_SetString(PyExc_TypeError,"null reference");
7673 SWIG_fail;
7674 }
7675 }
7676 if (obj8) {
7677 {
7678 arg9 = wxString_in_helper(obj8);
7679 if (arg9 == NULL) SWIG_fail;
7680 temp9 = True;
7681 }
7682 }
7683 {
7684 PyThreadState* __tstate = wxPyBeginAllowThreads();
7685 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7686
7687 wxPyEndAllowThreads(__tstate);
7688 if (PyErr_Occurred()) SWIG_fail;
7689 }
7690 {
7691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7692 }
7693 {
7694 if (temp4)
7695 delete arg4;
7696 }
7697 {
7698 if (temp9)
7699 delete arg9;
7700 }
7701 return resultobj;
7702 fail:
7703 {
7704 if (temp4)
7705 delete arg4;
7706 }
7707 {
7708 if (temp9)
7709 delete arg9;
7710 }
7711 return NULL;
7712 }
7713
7714
7715 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7716 PyObject *resultobj;
7717 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7718 wxString result;
7719 PyObject * obj0 = 0 ;
7720 char *kwnames[] = {
7721 (char *) "self", NULL
7722 };
7723
7724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
7725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 result = ((wxTextCtrl const *)arg1)->GetValue();
7730
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 {
7735 #if wxUSE_UNICODE
7736 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7737 #else
7738 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7739 #endif
7740 }
7741 return resultobj;
7742 fail:
7743 return NULL;
7744 }
7745
7746
7747 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7748 PyObject *resultobj;
7749 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7750 wxString *arg2 = 0 ;
7751 bool temp2 = False ;
7752 PyObject * obj0 = 0 ;
7753 PyObject * obj1 = 0 ;
7754 char *kwnames[] = {
7755 (char *) "self",(char *) "value", NULL
7756 };
7757
7758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
7759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7761 {
7762 arg2 = wxString_in_helper(obj1);
7763 if (arg2 == NULL) SWIG_fail;
7764 temp2 = True;
7765 }
7766 {
7767 PyThreadState* __tstate = wxPyBeginAllowThreads();
7768 (arg1)->SetValue((wxString const &)*arg2);
7769
7770 wxPyEndAllowThreads(__tstate);
7771 if (PyErr_Occurred()) SWIG_fail;
7772 }
7773 Py_INCREF(Py_None); resultobj = Py_None;
7774 {
7775 if (temp2)
7776 delete arg2;
7777 }
7778 return resultobj;
7779 fail:
7780 {
7781 if (temp2)
7782 delete arg2;
7783 }
7784 return NULL;
7785 }
7786
7787
7788 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7789 PyObject *resultobj;
7790 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7791 long arg2 ;
7792 long arg3 ;
7793 wxString result;
7794 PyObject * obj0 = 0 ;
7795 PyObject * obj1 = 0 ;
7796 PyObject * obj2 = 0 ;
7797 char *kwnames[] = {
7798 (char *) "self",(char *) "from",(char *) "to", NULL
7799 };
7800
7801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7804 arg2 = (long) SWIG_AsLong(obj1);
7805 if (PyErr_Occurred()) SWIG_fail;
7806 arg3 = (long) SWIG_AsLong(obj2);
7807 if (PyErr_Occurred()) SWIG_fail;
7808 {
7809 PyThreadState* __tstate = wxPyBeginAllowThreads();
7810 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7811
7812 wxPyEndAllowThreads(__tstate);
7813 if (PyErr_Occurred()) SWIG_fail;
7814 }
7815 {
7816 #if wxUSE_UNICODE
7817 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7818 #else
7819 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7820 #endif
7821 }
7822 return resultobj;
7823 fail:
7824 return NULL;
7825 }
7826
7827
7828 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
7829 PyObject *resultobj;
7830 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7831 long arg2 ;
7832 int result;
7833 PyObject * obj0 = 0 ;
7834 PyObject * obj1 = 0 ;
7835 char *kwnames[] = {
7836 (char *) "self",(char *) "lineNo", NULL
7837 };
7838
7839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
7840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7842 arg2 = (long) SWIG_AsLong(obj1);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 {
7845 PyThreadState* __tstate = wxPyBeginAllowThreads();
7846 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7847
7848 wxPyEndAllowThreads(__tstate);
7849 if (PyErr_Occurred()) SWIG_fail;
7850 }
7851 resultobj = SWIG_FromInt((int)result);
7852 return resultobj;
7853 fail:
7854 return NULL;
7855 }
7856
7857
7858 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
7859 PyObject *resultobj;
7860 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7861 long arg2 ;
7862 wxString result;
7863 PyObject * obj0 = 0 ;
7864 PyObject * obj1 = 0 ;
7865 char *kwnames[] = {
7866 (char *) "self",(char *) "lineNo", NULL
7867 };
7868
7869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
7870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7872 arg2 = (long) SWIG_AsLong(obj1);
7873 if (PyErr_Occurred()) SWIG_fail;
7874 {
7875 PyThreadState* __tstate = wxPyBeginAllowThreads();
7876 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7877
7878 wxPyEndAllowThreads(__tstate);
7879 if (PyErr_Occurred()) SWIG_fail;
7880 }
7881 {
7882 #if wxUSE_UNICODE
7883 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7884 #else
7885 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7886 #endif
7887 }
7888 return resultobj;
7889 fail:
7890 return NULL;
7891 }
7892
7893
7894 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
7895 PyObject *resultobj;
7896 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7897 int result;
7898 PyObject * obj0 = 0 ;
7899 char *kwnames[] = {
7900 (char *) "self", NULL
7901 };
7902
7903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
7904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7906 {
7907 PyThreadState* __tstate = wxPyBeginAllowThreads();
7908 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7909
7910 wxPyEndAllowThreads(__tstate);
7911 if (PyErr_Occurred()) SWIG_fail;
7912 }
7913 resultobj = SWIG_FromInt((int)result);
7914 return resultobj;
7915 fail:
7916 return NULL;
7917 }
7918
7919
7920 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
7921 PyObject *resultobj;
7922 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7923 bool result;
7924 PyObject * obj0 = 0 ;
7925 char *kwnames[] = {
7926 (char *) "self", NULL
7927 };
7928
7929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
7930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7932 {
7933 PyThreadState* __tstate = wxPyBeginAllowThreads();
7934 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7935
7936 wxPyEndAllowThreads(__tstate);
7937 if (PyErr_Occurred()) SWIG_fail;
7938 }
7939 {
7940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7941 }
7942 return resultobj;
7943 fail:
7944 return NULL;
7945 }
7946
7947
7948 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
7949 PyObject *resultobj;
7950 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7951 bool result;
7952 PyObject * obj0 = 0 ;
7953 char *kwnames[] = {
7954 (char *) "self", NULL
7955 };
7956
7957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
7958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7960 {
7961 PyThreadState* __tstate = wxPyBeginAllowThreads();
7962 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7963
7964 wxPyEndAllowThreads(__tstate);
7965 if (PyErr_Occurred()) SWIG_fail;
7966 }
7967 {
7968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7969 }
7970 return resultobj;
7971 fail:
7972 return NULL;
7973 }
7974
7975
7976 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
7977 PyObject *resultobj;
7978 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7979 bool result;
7980 PyObject * obj0 = 0 ;
7981 char *kwnames[] = {
7982 (char *) "self", NULL
7983 };
7984
7985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
7986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7988 {
7989 PyThreadState* __tstate = wxPyBeginAllowThreads();
7990 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7991
7992 wxPyEndAllowThreads(__tstate);
7993 if (PyErr_Occurred()) SWIG_fail;
7994 }
7995 {
7996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7997 }
7998 return resultobj;
7999 fail:
8000 return NULL;
8001 }
8002
8003
8004 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
8005 PyObject *resultobj;
8006 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8007 bool result;
8008 PyObject * obj0 = 0 ;
8009 char *kwnames[] = {
8010 (char *) "self", NULL
8011 };
8012
8013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
8014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8016 {
8017 PyThreadState* __tstate = wxPyBeginAllowThreads();
8018 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
8019
8020 wxPyEndAllowThreads(__tstate);
8021 if (PyErr_Occurred()) SWIG_fail;
8022 }
8023 {
8024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8025 }
8026 return resultobj;
8027 fail:
8028 return NULL;
8029 }
8030
8031
8032 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
8033 PyObject *resultobj;
8034 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8035 long *arg2 = (long *) 0 ;
8036 long *arg3 = (long *) 0 ;
8037 long temp2 ;
8038 long temp3 ;
8039 PyObject * obj0 = 0 ;
8040 char *kwnames[] = {
8041 (char *) "self", NULL
8042 };
8043
8044 arg2 = &temp2;
8045 arg3 = &temp3;
8046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
8047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8049 {
8050 PyThreadState* __tstate = wxPyBeginAllowThreads();
8051 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8052
8053 wxPyEndAllowThreads(__tstate);
8054 if (PyErr_Occurred()) SWIG_fail;
8055 }
8056 Py_INCREF(Py_None); resultobj = Py_None;
8057 {
8058 PyObject *o = PyInt_FromLong((long) (*arg2));
8059 resultobj = t_output_helper(resultobj,o);
8060 }
8061 {
8062 PyObject *o = PyInt_FromLong((long) (*arg3));
8063 resultobj = t_output_helper(resultobj,o);
8064 }
8065 return resultobj;
8066 fail:
8067 return NULL;
8068 }
8069
8070
8071 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
8072 PyObject *resultobj;
8073 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8074 wxString result;
8075 PyObject * obj0 = 0 ;
8076 char *kwnames[] = {
8077 (char *) "self", NULL
8078 };
8079
8080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
8081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8083 {
8084 PyThreadState* __tstate = wxPyBeginAllowThreads();
8085 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8086
8087 wxPyEndAllowThreads(__tstate);
8088 if (PyErr_Occurred()) SWIG_fail;
8089 }
8090 {
8091 #if wxUSE_UNICODE
8092 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8093 #else
8094 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8095 #endif
8096 }
8097 return resultobj;
8098 fail:
8099 return NULL;
8100 }
8101
8102
8103 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
8104 PyObject *resultobj;
8105 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8106 PyObject * obj0 = 0 ;
8107 char *kwnames[] = {
8108 (char *) "self", NULL
8109 };
8110
8111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
8112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8114 {
8115 PyThreadState* __tstate = wxPyBeginAllowThreads();
8116 (arg1)->Clear();
8117
8118 wxPyEndAllowThreads(__tstate);
8119 if (PyErr_Occurred()) SWIG_fail;
8120 }
8121 Py_INCREF(Py_None); resultobj = Py_None;
8122 return resultobj;
8123 fail:
8124 return NULL;
8125 }
8126
8127
8128 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
8129 PyObject *resultobj;
8130 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8131 long arg2 ;
8132 long arg3 ;
8133 wxString *arg4 = 0 ;
8134 bool temp4 = False ;
8135 PyObject * obj0 = 0 ;
8136 PyObject * obj1 = 0 ;
8137 PyObject * obj2 = 0 ;
8138 PyObject * obj3 = 0 ;
8139 char *kwnames[] = {
8140 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8141 };
8142
8143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8146 arg2 = (long) SWIG_AsLong(obj1);
8147 if (PyErr_Occurred()) SWIG_fail;
8148 arg3 = (long) SWIG_AsLong(obj2);
8149 if (PyErr_Occurred()) SWIG_fail;
8150 {
8151 arg4 = wxString_in_helper(obj3);
8152 if (arg4 == NULL) SWIG_fail;
8153 temp4 = True;
8154 }
8155 {
8156 PyThreadState* __tstate = wxPyBeginAllowThreads();
8157 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8158
8159 wxPyEndAllowThreads(__tstate);
8160 if (PyErr_Occurred()) SWIG_fail;
8161 }
8162 Py_INCREF(Py_None); resultobj = Py_None;
8163 {
8164 if (temp4)
8165 delete arg4;
8166 }
8167 return resultobj;
8168 fail:
8169 {
8170 if (temp4)
8171 delete arg4;
8172 }
8173 return NULL;
8174 }
8175
8176
8177 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
8178 PyObject *resultobj;
8179 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8180 long arg2 ;
8181 long arg3 ;
8182 PyObject * obj0 = 0 ;
8183 PyObject * obj1 = 0 ;
8184 PyObject * obj2 = 0 ;
8185 char *kwnames[] = {
8186 (char *) "self",(char *) "from",(char *) "to", NULL
8187 };
8188
8189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8192 arg2 = (long) SWIG_AsLong(obj1);
8193 if (PyErr_Occurred()) SWIG_fail;
8194 arg3 = (long) SWIG_AsLong(obj2);
8195 if (PyErr_Occurred()) SWIG_fail;
8196 {
8197 PyThreadState* __tstate = wxPyBeginAllowThreads();
8198 (arg1)->Remove(arg2,arg3);
8199
8200 wxPyEndAllowThreads(__tstate);
8201 if (PyErr_Occurred()) SWIG_fail;
8202 }
8203 Py_INCREF(Py_None); resultobj = Py_None;
8204 return resultobj;
8205 fail:
8206 return NULL;
8207 }
8208
8209
8210 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
8211 PyObject *resultobj;
8212 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8213 wxString *arg2 = 0 ;
8214 bool result;
8215 bool temp2 = False ;
8216 PyObject * obj0 = 0 ;
8217 PyObject * obj1 = 0 ;
8218 char *kwnames[] = {
8219 (char *) "self",(char *) "file", NULL
8220 };
8221
8222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8225 {
8226 arg2 = wxString_in_helper(obj1);
8227 if (arg2 == NULL) SWIG_fail;
8228 temp2 = True;
8229 }
8230 {
8231 PyThreadState* __tstate = wxPyBeginAllowThreads();
8232 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8233
8234 wxPyEndAllowThreads(__tstate);
8235 if (PyErr_Occurred()) SWIG_fail;
8236 }
8237 {
8238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8239 }
8240 {
8241 if (temp2)
8242 delete arg2;
8243 }
8244 return resultobj;
8245 fail:
8246 {
8247 if (temp2)
8248 delete arg2;
8249 }
8250 return NULL;
8251 }
8252
8253
8254 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
8255 PyObject *resultobj;
8256 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8257 wxString const &arg2_defvalue = wxPyEmptyString ;
8258 wxString *arg2 = (wxString *) &arg2_defvalue ;
8259 bool result;
8260 bool temp2 = False ;
8261 PyObject * obj0 = 0 ;
8262 PyObject * obj1 = 0 ;
8263 char *kwnames[] = {
8264 (char *) "self",(char *) "file", NULL
8265 };
8266
8267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8270 if (obj1) {
8271 {
8272 arg2 = wxString_in_helper(obj1);
8273 if (arg2 == NULL) SWIG_fail;
8274 temp2 = True;
8275 }
8276 }
8277 {
8278 PyThreadState* __tstate = wxPyBeginAllowThreads();
8279 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8280
8281 wxPyEndAllowThreads(__tstate);
8282 if (PyErr_Occurred()) SWIG_fail;
8283 }
8284 {
8285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8286 }
8287 {
8288 if (temp2)
8289 delete arg2;
8290 }
8291 return resultobj;
8292 fail:
8293 {
8294 if (temp2)
8295 delete arg2;
8296 }
8297 return NULL;
8298 }
8299
8300
8301 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
8302 PyObject *resultobj;
8303 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8304 PyObject * obj0 = 0 ;
8305 char *kwnames[] = {
8306 (char *) "self", NULL
8307 };
8308
8309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8312 {
8313 PyThreadState* __tstate = wxPyBeginAllowThreads();
8314 (arg1)->MarkDirty();
8315
8316 wxPyEndAllowThreads(__tstate);
8317 if (PyErr_Occurred()) SWIG_fail;
8318 }
8319 Py_INCREF(Py_None); resultobj = Py_None;
8320 return resultobj;
8321 fail:
8322 return NULL;
8323 }
8324
8325
8326 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
8327 PyObject *resultobj;
8328 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8329 PyObject * obj0 = 0 ;
8330 char *kwnames[] = {
8331 (char *) "self", NULL
8332 };
8333
8334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8337 {
8338 PyThreadState* __tstate = wxPyBeginAllowThreads();
8339 (arg1)->DiscardEdits();
8340
8341 wxPyEndAllowThreads(__tstate);
8342 if (PyErr_Occurred()) SWIG_fail;
8343 }
8344 Py_INCREF(Py_None); resultobj = Py_None;
8345 return resultobj;
8346 fail:
8347 return NULL;
8348 }
8349
8350
8351 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
8352 PyObject *resultobj;
8353 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8354 unsigned long arg2 ;
8355 PyObject * obj0 = 0 ;
8356 PyObject * obj1 = 0 ;
8357 char *kwnames[] = {
8358 (char *) "self",(char *) "len", NULL
8359 };
8360
8361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8364 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8365 if (PyErr_Occurred()) SWIG_fail;
8366 {
8367 PyThreadState* __tstate = wxPyBeginAllowThreads();
8368 (arg1)->SetMaxLength(arg2);
8369
8370 wxPyEndAllowThreads(__tstate);
8371 if (PyErr_Occurred()) SWIG_fail;
8372 }
8373 Py_INCREF(Py_None); resultobj = Py_None;
8374 return resultobj;
8375 fail:
8376 return NULL;
8377 }
8378
8379
8380 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
8381 PyObject *resultobj;
8382 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8383 wxString *arg2 = 0 ;
8384 bool temp2 = False ;
8385 PyObject * obj0 = 0 ;
8386 PyObject * obj1 = 0 ;
8387 char *kwnames[] = {
8388 (char *) "self",(char *) "text", NULL
8389 };
8390
8391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8394 {
8395 arg2 = wxString_in_helper(obj1);
8396 if (arg2 == NULL) SWIG_fail;
8397 temp2 = True;
8398 }
8399 {
8400 PyThreadState* __tstate = wxPyBeginAllowThreads();
8401 (arg1)->WriteText((wxString const &)*arg2);
8402
8403 wxPyEndAllowThreads(__tstate);
8404 if (PyErr_Occurred()) SWIG_fail;
8405 }
8406 Py_INCREF(Py_None); resultobj = Py_None;
8407 {
8408 if (temp2)
8409 delete arg2;
8410 }
8411 return resultobj;
8412 fail:
8413 {
8414 if (temp2)
8415 delete arg2;
8416 }
8417 return NULL;
8418 }
8419
8420
8421 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
8422 PyObject *resultobj;
8423 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8424 wxString *arg2 = 0 ;
8425 bool temp2 = False ;
8426 PyObject * obj0 = 0 ;
8427 PyObject * obj1 = 0 ;
8428 char *kwnames[] = {
8429 (char *) "self",(char *) "text", NULL
8430 };
8431
8432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8435 {
8436 arg2 = wxString_in_helper(obj1);
8437 if (arg2 == NULL) SWIG_fail;
8438 temp2 = True;
8439 }
8440 {
8441 PyThreadState* __tstate = wxPyBeginAllowThreads();
8442 (arg1)->AppendText((wxString const &)*arg2);
8443
8444 wxPyEndAllowThreads(__tstate);
8445 if (PyErr_Occurred()) SWIG_fail;
8446 }
8447 Py_INCREF(Py_None); resultobj = Py_None;
8448 {
8449 if (temp2)
8450 delete arg2;
8451 }
8452 return resultobj;
8453 fail:
8454 {
8455 if (temp2)
8456 delete arg2;
8457 }
8458 return NULL;
8459 }
8460
8461
8462 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
8463 PyObject *resultobj;
8464 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8465 wxKeyEvent *arg2 = 0 ;
8466 bool result;
8467 PyObject * obj0 = 0 ;
8468 PyObject * obj1 = 0 ;
8469 char *kwnames[] = {
8470 (char *) "self",(char *) "event", NULL
8471 };
8472
8473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8476 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8477 SWIG_POINTER_EXCEPTION | 0)) == -1)
8478 SWIG_fail;
8479 if (arg2 == NULL) {
8480 PyErr_SetString(PyExc_TypeError,"null reference");
8481 SWIG_fail;
8482 }
8483 {
8484 PyThreadState* __tstate = wxPyBeginAllowThreads();
8485 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8486
8487 wxPyEndAllowThreads(__tstate);
8488 if (PyErr_Occurred()) SWIG_fail;
8489 }
8490 {
8491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8492 }
8493 return resultobj;
8494 fail:
8495 return NULL;
8496 }
8497
8498
8499 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
8500 PyObject *resultobj;
8501 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8502 long arg2 ;
8503 long arg3 ;
8504 wxTextAttr *arg4 = 0 ;
8505 bool result;
8506 PyObject * obj0 = 0 ;
8507 PyObject * obj1 = 0 ;
8508 PyObject * obj2 = 0 ;
8509 PyObject * obj3 = 0 ;
8510 char *kwnames[] = {
8511 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8512 };
8513
8514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8517 arg2 = (long) SWIG_AsLong(obj1);
8518 if (PyErr_Occurred()) SWIG_fail;
8519 arg3 = (long) SWIG_AsLong(obj2);
8520 if (PyErr_Occurred()) SWIG_fail;
8521 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
8522 SWIG_POINTER_EXCEPTION | 0)) == -1)
8523 SWIG_fail;
8524 if (arg4 == NULL) {
8525 PyErr_SetString(PyExc_TypeError,"null reference");
8526 SWIG_fail;
8527 }
8528 {
8529 PyThreadState* __tstate = wxPyBeginAllowThreads();
8530 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8531
8532 wxPyEndAllowThreads(__tstate);
8533 if (PyErr_Occurred()) SWIG_fail;
8534 }
8535 {
8536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8537 }
8538 return resultobj;
8539 fail:
8540 return NULL;
8541 }
8542
8543
8544 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
8545 PyObject *resultobj;
8546 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8547 long arg2 ;
8548 wxTextAttr *arg3 = 0 ;
8549 bool result;
8550 PyObject * obj0 = 0 ;
8551 PyObject * obj1 = 0 ;
8552 PyObject * obj2 = 0 ;
8553 char *kwnames[] = {
8554 (char *) "self",(char *) "position",(char *) "style", NULL
8555 };
8556
8557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
8558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8560 arg2 = (long) SWIG_AsLong(obj1);
8561 if (PyErr_Occurred()) SWIG_fail;
8562 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
8563 SWIG_POINTER_EXCEPTION | 0)) == -1)
8564 SWIG_fail;
8565 if (arg3 == NULL) {
8566 PyErr_SetString(PyExc_TypeError,"null reference");
8567 SWIG_fail;
8568 }
8569 {
8570 PyThreadState* __tstate = wxPyBeginAllowThreads();
8571 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8572
8573 wxPyEndAllowThreads(__tstate);
8574 if (PyErr_Occurred()) SWIG_fail;
8575 }
8576 {
8577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8578 }
8579 return resultobj;
8580 fail:
8581 return NULL;
8582 }
8583
8584
8585 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
8586 PyObject *resultobj;
8587 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8588 wxTextAttr *arg2 = 0 ;
8589 bool result;
8590 PyObject * obj0 = 0 ;
8591 PyObject * obj1 = 0 ;
8592 char *kwnames[] = {
8593 (char *) "self",(char *) "style", NULL
8594 };
8595
8596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
8597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8599 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
8600 SWIG_POINTER_EXCEPTION | 0)) == -1)
8601 SWIG_fail;
8602 if (arg2 == NULL) {
8603 PyErr_SetString(PyExc_TypeError,"null reference");
8604 SWIG_fail;
8605 }
8606 {
8607 PyThreadState* __tstate = wxPyBeginAllowThreads();
8608 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8609
8610 wxPyEndAllowThreads(__tstate);
8611 if (PyErr_Occurred()) SWIG_fail;
8612 }
8613 {
8614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8615 }
8616 return resultobj;
8617 fail:
8618 return NULL;
8619 }
8620
8621
8622 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
8623 PyObject *resultobj;
8624 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8625 wxTextAttr *result;
8626 PyObject * obj0 = 0 ;
8627 char *kwnames[] = {
8628 (char *) "self", NULL
8629 };
8630
8631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
8632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8634 {
8635 PyThreadState* __tstate = wxPyBeginAllowThreads();
8636 {
8637 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8638 result = (wxTextAttr *) &_result_ref;
8639 }
8640
8641 wxPyEndAllowThreads(__tstate);
8642 if (PyErr_Occurred()) SWIG_fail;
8643 }
8644 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
8645 return resultobj;
8646 fail:
8647 return NULL;
8648 }
8649
8650
8651 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8652 PyObject *resultobj;
8653 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8654 long arg2 ;
8655 long arg3 ;
8656 long result;
8657 PyObject * obj0 = 0 ;
8658 PyObject * obj1 = 0 ;
8659 PyObject * obj2 = 0 ;
8660 char *kwnames[] = {
8661 (char *) "self",(char *) "x",(char *) "y", NULL
8662 };
8663
8664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8667 arg2 = (long) SWIG_AsLong(obj1);
8668 if (PyErr_Occurred()) SWIG_fail;
8669 arg3 = (long) SWIG_AsLong(obj2);
8670 if (PyErr_Occurred()) SWIG_fail;
8671 {
8672 PyThreadState* __tstate = wxPyBeginAllowThreads();
8673 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8674
8675 wxPyEndAllowThreads(__tstate);
8676 if (PyErr_Occurred()) SWIG_fail;
8677 }
8678 resultobj = SWIG_FromLong((long)result);
8679 return resultobj;
8680 fail:
8681 return NULL;
8682 }
8683
8684
8685 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
8686 PyObject *resultobj;
8687 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8688 long arg2 ;
8689 long *arg3 = (long *) 0 ;
8690 long *arg4 = (long *) 0 ;
8691 long temp3 ;
8692 long temp4 ;
8693 PyObject * obj0 = 0 ;
8694 PyObject * obj1 = 0 ;
8695 char *kwnames[] = {
8696 (char *) "self",(char *) "pos", NULL
8697 };
8698
8699 arg3 = &temp3;
8700 arg4 = &temp4;
8701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
8702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8704 arg2 = (long) SWIG_AsLong(obj1);
8705 if (PyErr_Occurred()) SWIG_fail;
8706 {
8707 PyThreadState* __tstate = wxPyBeginAllowThreads();
8708 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8709
8710 wxPyEndAllowThreads(__tstate);
8711 if (PyErr_Occurred()) SWIG_fail;
8712 }
8713 Py_INCREF(Py_None); resultobj = Py_None;
8714 {
8715 PyObject *o = PyInt_FromLong((long) (*arg3));
8716 resultobj = t_output_helper(resultobj,o);
8717 }
8718 {
8719 PyObject *o = PyInt_FromLong((long) (*arg4));
8720 resultobj = t_output_helper(resultobj,o);
8721 }
8722 return resultobj;
8723 fail:
8724 return NULL;
8725 }
8726
8727
8728 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8729 PyObject *resultobj;
8730 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8731 long arg2 ;
8732 PyObject * obj0 = 0 ;
8733 PyObject * obj1 = 0 ;
8734 char *kwnames[] = {
8735 (char *) "self",(char *) "pos", NULL
8736 };
8737
8738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
8739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8741 arg2 = (long) SWIG_AsLong(obj1);
8742 if (PyErr_Occurred()) SWIG_fail;
8743 {
8744 PyThreadState* __tstate = wxPyBeginAllowThreads();
8745 (arg1)->ShowPosition(arg2);
8746
8747 wxPyEndAllowThreads(__tstate);
8748 if (PyErr_Occurred()) SWIG_fail;
8749 }
8750 Py_INCREF(Py_None); resultobj = Py_None;
8751 return resultobj;
8752 fail:
8753 return NULL;
8754 }
8755
8756
8757 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8758 PyObject *resultobj;
8759 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8760 wxPoint *arg2 = 0 ;
8761 long *arg3 = (long *) 0 ;
8762 long *arg4 = (long *) 0 ;
8763 int result;
8764 wxPoint temp2 ;
8765 long temp3 ;
8766 long temp4 ;
8767 PyObject * obj0 = 0 ;
8768 PyObject * obj1 = 0 ;
8769 char *kwnames[] = {
8770 (char *) "self",(char *) "pt", NULL
8771 };
8772
8773 arg3 = &temp3;
8774 arg4 = &temp4;
8775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
8776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8778 {
8779 arg2 = &temp2;
8780 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8781 }
8782 {
8783 PyThreadState* __tstate = wxPyBeginAllowThreads();
8784 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
8785
8786 wxPyEndAllowThreads(__tstate);
8787 if (PyErr_Occurred()) SWIG_fail;
8788 }
8789 resultobj = SWIG_FromInt((int)result);
8790 {
8791 PyObject *o = PyInt_FromLong((long) (*arg3));
8792 resultobj = t_output_helper(resultobj,o);
8793 }
8794 {
8795 PyObject *o = PyInt_FromLong((long) (*arg4));
8796 resultobj = t_output_helper(resultobj,o);
8797 }
8798 return resultobj;
8799 fail:
8800 return NULL;
8801 }
8802
8803
8804 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
8805 PyObject *resultobj;
8806 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8807 PyObject * obj0 = 0 ;
8808 char *kwnames[] = {
8809 (char *) "self", NULL
8810 };
8811
8812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
8813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8815 {
8816 PyThreadState* __tstate = wxPyBeginAllowThreads();
8817 (arg1)->Copy();
8818
8819 wxPyEndAllowThreads(__tstate);
8820 if (PyErr_Occurred()) SWIG_fail;
8821 }
8822 Py_INCREF(Py_None); resultobj = Py_None;
8823 return resultobj;
8824 fail:
8825 return NULL;
8826 }
8827
8828
8829 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
8830 PyObject *resultobj;
8831 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8832 PyObject * obj0 = 0 ;
8833 char *kwnames[] = {
8834 (char *) "self", NULL
8835 };
8836
8837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
8838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8840 {
8841 PyThreadState* __tstate = wxPyBeginAllowThreads();
8842 (arg1)->Cut();
8843
8844 wxPyEndAllowThreads(__tstate);
8845 if (PyErr_Occurred()) SWIG_fail;
8846 }
8847 Py_INCREF(Py_None); resultobj = Py_None;
8848 return resultobj;
8849 fail:
8850 return NULL;
8851 }
8852
8853
8854 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
8855 PyObject *resultobj;
8856 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8857 PyObject * obj0 = 0 ;
8858 char *kwnames[] = {
8859 (char *) "self", NULL
8860 };
8861
8862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
8863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8865 {
8866 PyThreadState* __tstate = wxPyBeginAllowThreads();
8867 (arg1)->Paste();
8868
8869 wxPyEndAllowThreads(__tstate);
8870 if (PyErr_Occurred()) SWIG_fail;
8871 }
8872 Py_INCREF(Py_None); resultobj = Py_None;
8873 return resultobj;
8874 fail:
8875 return NULL;
8876 }
8877
8878
8879 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
8880 PyObject *resultobj;
8881 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8882 bool result;
8883 PyObject * obj0 = 0 ;
8884 char *kwnames[] = {
8885 (char *) "self", NULL
8886 };
8887
8888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
8889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8891 {
8892 PyThreadState* __tstate = wxPyBeginAllowThreads();
8893 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8894
8895 wxPyEndAllowThreads(__tstate);
8896 if (PyErr_Occurred()) SWIG_fail;
8897 }
8898 {
8899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8900 }
8901 return resultobj;
8902 fail:
8903 return NULL;
8904 }
8905
8906
8907 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
8908 PyObject *resultobj;
8909 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8910 bool result;
8911 PyObject * obj0 = 0 ;
8912 char *kwnames[] = {
8913 (char *) "self", NULL
8914 };
8915
8916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
8917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8919 {
8920 PyThreadState* __tstate = wxPyBeginAllowThreads();
8921 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
8922
8923 wxPyEndAllowThreads(__tstate);
8924 if (PyErr_Occurred()) SWIG_fail;
8925 }
8926 {
8927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8928 }
8929 return resultobj;
8930 fail:
8931 return NULL;
8932 }
8933
8934
8935 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
8936 PyObject *resultobj;
8937 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8938 bool result;
8939 PyObject * obj0 = 0 ;
8940 char *kwnames[] = {
8941 (char *) "self", NULL
8942 };
8943
8944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
8945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8947 {
8948 PyThreadState* __tstate = wxPyBeginAllowThreads();
8949 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
8950
8951 wxPyEndAllowThreads(__tstate);
8952 if (PyErr_Occurred()) SWIG_fail;
8953 }
8954 {
8955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8956 }
8957 return resultobj;
8958 fail:
8959 return NULL;
8960 }
8961
8962
8963 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
8964 PyObject *resultobj;
8965 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8966 PyObject * obj0 = 0 ;
8967 char *kwnames[] = {
8968 (char *) "self", NULL
8969 };
8970
8971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
8972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8974 {
8975 PyThreadState* __tstate = wxPyBeginAllowThreads();
8976 (arg1)->Undo();
8977
8978 wxPyEndAllowThreads(__tstate);
8979 if (PyErr_Occurred()) SWIG_fail;
8980 }
8981 Py_INCREF(Py_None); resultobj = Py_None;
8982 return resultobj;
8983 fail:
8984 return NULL;
8985 }
8986
8987
8988 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
8989 PyObject *resultobj;
8990 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8991 PyObject * obj0 = 0 ;
8992 char *kwnames[] = {
8993 (char *) "self", NULL
8994 };
8995
8996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
8997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8999 {
9000 PyThreadState* __tstate = wxPyBeginAllowThreads();
9001 (arg1)->Redo();
9002
9003 wxPyEndAllowThreads(__tstate);
9004 if (PyErr_Occurred()) SWIG_fail;
9005 }
9006 Py_INCREF(Py_None); resultobj = Py_None;
9007 return resultobj;
9008 fail:
9009 return NULL;
9010 }
9011
9012
9013 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
9014 PyObject *resultobj;
9015 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9016 bool result;
9017 PyObject * obj0 = 0 ;
9018 char *kwnames[] = {
9019 (char *) "self", NULL
9020 };
9021
9022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
9023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9025 {
9026 PyThreadState* __tstate = wxPyBeginAllowThreads();
9027 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9028
9029 wxPyEndAllowThreads(__tstate);
9030 if (PyErr_Occurred()) SWIG_fail;
9031 }
9032 {
9033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9034 }
9035 return resultobj;
9036 fail:
9037 return NULL;
9038 }
9039
9040
9041 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
9042 PyObject *resultobj;
9043 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9044 bool result;
9045 PyObject * obj0 = 0 ;
9046 char *kwnames[] = {
9047 (char *) "self", NULL
9048 };
9049
9050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
9051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9053 {
9054 PyThreadState* __tstate = wxPyBeginAllowThreads();
9055 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9056
9057 wxPyEndAllowThreads(__tstate);
9058 if (PyErr_Occurred()) SWIG_fail;
9059 }
9060 {
9061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9062 }
9063 return resultobj;
9064 fail:
9065 return NULL;
9066 }
9067
9068
9069 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
9070 PyObject *resultobj;
9071 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9072 long arg2 ;
9073 PyObject * obj0 = 0 ;
9074 PyObject * obj1 = 0 ;
9075 char *kwnames[] = {
9076 (char *) "self",(char *) "pos", NULL
9077 };
9078
9079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
9080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9082 arg2 = (long) SWIG_AsLong(obj1);
9083 if (PyErr_Occurred()) SWIG_fail;
9084 {
9085 PyThreadState* __tstate = wxPyBeginAllowThreads();
9086 (arg1)->SetInsertionPoint(arg2);
9087
9088 wxPyEndAllowThreads(__tstate);
9089 if (PyErr_Occurred()) SWIG_fail;
9090 }
9091 Py_INCREF(Py_None); resultobj = Py_None;
9092 return resultobj;
9093 fail:
9094 return NULL;
9095 }
9096
9097
9098 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
9099 PyObject *resultobj;
9100 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9101 PyObject * obj0 = 0 ;
9102 char *kwnames[] = {
9103 (char *) "self", NULL
9104 };
9105
9106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
9107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9109 {
9110 PyThreadState* __tstate = wxPyBeginAllowThreads();
9111 (arg1)->SetInsertionPointEnd();
9112
9113 wxPyEndAllowThreads(__tstate);
9114 if (PyErr_Occurred()) SWIG_fail;
9115 }
9116 Py_INCREF(Py_None); resultobj = Py_None;
9117 return resultobj;
9118 fail:
9119 return NULL;
9120 }
9121
9122
9123 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
9124 PyObject *resultobj;
9125 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9126 long result;
9127 PyObject * obj0 = 0 ;
9128 char *kwnames[] = {
9129 (char *) "self", NULL
9130 };
9131
9132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
9133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9135 {
9136 PyThreadState* __tstate = wxPyBeginAllowThreads();
9137 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9138
9139 wxPyEndAllowThreads(__tstate);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 }
9142 resultobj = SWIG_FromLong((long)result);
9143 return resultobj;
9144 fail:
9145 return NULL;
9146 }
9147
9148
9149 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9150 PyObject *resultobj;
9151 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9152 long result;
9153 PyObject * obj0 = 0 ;
9154 char *kwnames[] = {
9155 (char *) "self", NULL
9156 };
9157
9158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9161 {
9162 PyThreadState* __tstate = wxPyBeginAllowThreads();
9163 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9164
9165 wxPyEndAllowThreads(__tstate);
9166 if (PyErr_Occurred()) SWIG_fail;
9167 }
9168 resultobj = SWIG_FromLong((long)result);
9169 return resultobj;
9170 fail:
9171 return NULL;
9172 }
9173
9174
9175 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9176 PyObject *resultobj;
9177 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9178 long arg2 ;
9179 long arg3 ;
9180 PyObject * obj0 = 0 ;
9181 PyObject * obj1 = 0 ;
9182 PyObject * obj2 = 0 ;
9183 char *kwnames[] = {
9184 (char *) "self",(char *) "from",(char *) "to", NULL
9185 };
9186
9187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9190 arg2 = (long) SWIG_AsLong(obj1);
9191 if (PyErr_Occurred()) SWIG_fail;
9192 arg3 = (long) SWIG_AsLong(obj2);
9193 if (PyErr_Occurred()) SWIG_fail;
9194 {
9195 PyThreadState* __tstate = wxPyBeginAllowThreads();
9196 (arg1)->SetSelection(arg2,arg3);
9197
9198 wxPyEndAllowThreads(__tstate);
9199 if (PyErr_Occurred()) SWIG_fail;
9200 }
9201 Py_INCREF(Py_None); resultobj = Py_None;
9202 return resultobj;
9203 fail:
9204 return NULL;
9205 }
9206
9207
9208 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
9209 PyObject *resultobj;
9210 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9211 PyObject * obj0 = 0 ;
9212 char *kwnames[] = {
9213 (char *) "self", NULL
9214 };
9215
9216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9219 {
9220 PyThreadState* __tstate = wxPyBeginAllowThreads();
9221 (arg1)->SelectAll();
9222
9223 wxPyEndAllowThreads(__tstate);
9224 if (PyErr_Occurred()) SWIG_fail;
9225 }
9226 Py_INCREF(Py_None); resultobj = Py_None;
9227 return resultobj;
9228 fail:
9229 return NULL;
9230 }
9231
9232
9233 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
9234 PyObject *resultobj;
9235 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9236 bool arg2 ;
9237 PyObject * obj0 = 0 ;
9238 PyObject * obj1 = 0 ;
9239 char *kwnames[] = {
9240 (char *) "self",(char *) "editable", NULL
9241 };
9242
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9246 arg2 = (bool) SWIG_AsBool(obj1);
9247 if (PyErr_Occurred()) SWIG_fail;
9248 {
9249 PyThreadState* __tstate = wxPyBeginAllowThreads();
9250 (arg1)->SetEditable(arg2);
9251
9252 wxPyEndAllowThreads(__tstate);
9253 if (PyErr_Occurred()) SWIG_fail;
9254 }
9255 Py_INCREF(Py_None); resultobj = Py_None;
9256 return resultobj;
9257 fail:
9258 return NULL;
9259 }
9260
9261
9262 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
9263 PyObject *resultobj;
9264 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9265 wxString *arg2 = 0 ;
9266 bool temp2 = False ;
9267 PyObject * obj0 = 0 ;
9268 PyObject * obj1 = 0 ;
9269 char *kwnames[] = {
9270 (char *) "self",(char *) "text", NULL
9271 };
9272
9273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9276 {
9277 arg2 = wxString_in_helper(obj1);
9278 if (arg2 == NULL) SWIG_fail;
9279 temp2 = True;
9280 }
9281 {
9282 PyThreadState* __tstate = wxPyBeginAllowThreads();
9283 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9284
9285 wxPyEndAllowThreads(__tstate);
9286 if (PyErr_Occurred()) SWIG_fail;
9287 }
9288 Py_INCREF(Py_None); resultobj = Py_None;
9289 {
9290 if (temp2)
9291 delete arg2;
9292 }
9293 return resultobj;
9294 fail:
9295 {
9296 if (temp2)
9297 delete arg2;
9298 }
9299 return NULL;
9300 }
9301
9302
9303 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
9304 PyObject *resultobj;
9305 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9306 long arg2 ;
9307 long arg3 ;
9308 wxString result;
9309 PyObject * obj0 = 0 ;
9310 PyObject * obj1 = 0 ;
9311 PyObject * obj2 = 0 ;
9312 char *kwnames[] = {
9313 (char *) "self",(char *) "from",(char *) "to", NULL
9314 };
9315
9316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9319 arg2 = (long) SWIG_AsLong(obj1);
9320 if (PyErr_Occurred()) SWIG_fail;
9321 arg3 = (long) SWIG_AsLong(obj2);
9322 if (PyErr_Occurred()) SWIG_fail;
9323 {
9324 PyThreadState* __tstate = wxPyBeginAllowThreads();
9325 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9326
9327 wxPyEndAllowThreads(__tstate);
9328 if (PyErr_Occurred()) SWIG_fail;
9329 }
9330 {
9331 #if wxUSE_UNICODE
9332 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9333 #else
9334 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9335 #endif
9336 }
9337 return resultobj;
9338 fail:
9339 return NULL;
9340 }
9341
9342
9343 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
9344 PyObject *obj;
9345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9346 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9347 Py_INCREF(obj);
9348 return Py_BuildValue((char *)"");
9349 }
9350 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9351 PyObject *resultobj;
9352 int arg1 ;
9353 wxMouseEvent *arg2 = 0 ;
9354 long arg3 ;
9355 long arg4 ;
9356 wxTextUrlEvent *result;
9357 PyObject * obj0 = 0 ;
9358 PyObject * obj1 = 0 ;
9359 PyObject * obj2 = 0 ;
9360 PyObject * obj3 = 0 ;
9361 char *kwnames[] = {
9362 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9363 };
9364
9365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9366 arg1 = (int) SWIG_AsInt(obj0);
9367 if (PyErr_Occurred()) SWIG_fail;
9368 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9369 SWIG_POINTER_EXCEPTION | 0)) == -1)
9370 SWIG_fail;
9371 if (arg2 == NULL) {
9372 PyErr_SetString(PyExc_TypeError,"null reference");
9373 SWIG_fail;
9374 }
9375 arg3 = (long) SWIG_AsLong(obj2);
9376 if (PyErr_Occurred()) SWIG_fail;
9377 arg4 = (long) SWIG_AsLong(obj3);
9378 if (PyErr_Occurred()) SWIG_fail;
9379 {
9380 PyThreadState* __tstate = wxPyBeginAllowThreads();
9381 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9382
9383 wxPyEndAllowThreads(__tstate);
9384 if (PyErr_Occurred()) SWIG_fail;
9385 }
9386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
9387 return resultobj;
9388 fail:
9389 return NULL;
9390 }
9391
9392
9393 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9394 PyObject *resultobj;
9395 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9396 wxMouseEvent *result;
9397 PyObject * obj0 = 0 ;
9398 char *kwnames[] = {
9399 (char *) "self", NULL
9400 };
9401
9402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9405 {
9406 PyThreadState* __tstate = wxPyBeginAllowThreads();
9407 {
9408 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9409 result = (wxMouseEvent *) &_result_ref;
9410 }
9411
9412 wxPyEndAllowThreads(__tstate);
9413 if (PyErr_Occurred()) SWIG_fail;
9414 }
9415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
9416 return resultobj;
9417 fail:
9418 return NULL;
9419 }
9420
9421
9422 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
9423 PyObject *resultobj;
9424 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9425 long result;
9426 PyObject * obj0 = 0 ;
9427 char *kwnames[] = {
9428 (char *) "self", NULL
9429 };
9430
9431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
9432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9434 {
9435 PyThreadState* __tstate = wxPyBeginAllowThreads();
9436 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9437
9438 wxPyEndAllowThreads(__tstate);
9439 if (PyErr_Occurred()) SWIG_fail;
9440 }
9441 resultobj = SWIG_FromLong((long)result);
9442 return resultobj;
9443 fail:
9444 return NULL;
9445 }
9446
9447
9448 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
9449 PyObject *resultobj;
9450 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9451 long result;
9452 PyObject * obj0 = 0 ;
9453 char *kwnames[] = {
9454 (char *) "self", NULL
9455 };
9456
9457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9460 {
9461 PyThreadState* __tstate = wxPyBeginAllowThreads();
9462 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9463
9464 wxPyEndAllowThreads(__tstate);
9465 if (PyErr_Occurred()) SWIG_fail;
9466 }
9467 resultobj = SWIG_FromLong((long)result);
9468 return resultobj;
9469 fail:
9470 return NULL;
9471 }
9472
9473
9474 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
9475 PyObject *obj;
9476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9477 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9478 Py_INCREF(obj);
9479 return Py_BuildValue((char *)"");
9480 }
9481 static int _wrap_ScrollBarNameStr_set(PyObject *) {
9482 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9483 return 1;
9484 }
9485
9486
9487 static PyObject *_wrap_ScrollBarNameStr_get() {
9488 PyObject *pyobj;
9489
9490 {
9491 #if wxUSE_UNICODE
9492 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9493 #else
9494 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9495 #endif
9496 }
9497 return pyobj;
9498 }
9499
9500
9501 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
9502 PyObject *resultobj;
9503 wxWindow *arg1 = (wxWindow *) 0 ;
9504 int arg2 = (int) -1 ;
9505 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9506 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9507 wxSize const &arg4_defvalue = wxDefaultSize ;
9508 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9509 long arg5 = (long) wxSB_HORIZONTAL ;
9510 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9511 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9512 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9513 wxString *arg7 = (wxString *) &arg7_defvalue ;
9514 wxScrollBar *result;
9515 wxPoint temp3 ;
9516 wxSize temp4 ;
9517 bool temp7 = False ;
9518 PyObject * obj0 = 0 ;
9519 PyObject * obj1 = 0 ;
9520 PyObject * obj2 = 0 ;
9521 PyObject * obj3 = 0 ;
9522 PyObject * obj4 = 0 ;
9523 PyObject * obj5 = 0 ;
9524 PyObject * obj6 = 0 ;
9525 char *kwnames[] = {
9526 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9527 };
9528
9529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9532 if (obj1) {
9533 arg2 = (int) SWIG_AsInt(obj1);
9534 if (PyErr_Occurred()) SWIG_fail;
9535 }
9536 if (obj2) {
9537 {
9538 arg3 = &temp3;
9539 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9540 }
9541 }
9542 if (obj3) {
9543 {
9544 arg4 = &temp4;
9545 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9546 }
9547 }
9548 if (obj4) {
9549 arg5 = (long) SWIG_AsLong(obj4);
9550 if (PyErr_Occurred()) SWIG_fail;
9551 }
9552 if (obj5) {
9553 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
9554 SWIG_POINTER_EXCEPTION | 0)) == -1)
9555 SWIG_fail;
9556 if (arg6 == NULL) {
9557 PyErr_SetString(PyExc_TypeError,"null reference");
9558 SWIG_fail;
9559 }
9560 }
9561 if (obj6) {
9562 {
9563 arg7 = wxString_in_helper(obj6);
9564 if (arg7 == NULL) SWIG_fail;
9565 temp7 = True;
9566 }
9567 }
9568 {
9569 PyThreadState* __tstate = wxPyBeginAllowThreads();
9570 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9571
9572 wxPyEndAllowThreads(__tstate);
9573 if (PyErr_Occurred()) SWIG_fail;
9574 }
9575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9576 {
9577 if (temp7)
9578 delete arg7;
9579 }
9580 return resultobj;
9581 fail:
9582 {
9583 if (temp7)
9584 delete arg7;
9585 }
9586 return NULL;
9587 }
9588
9589
9590 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
9591 PyObject *resultobj;
9592 wxScrollBar *result;
9593 char *kwnames[] = {
9594 NULL
9595 };
9596
9597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9598 {
9599 PyThreadState* __tstate = wxPyBeginAllowThreads();
9600 result = (wxScrollBar *)new wxScrollBar();
9601
9602 wxPyEndAllowThreads(__tstate);
9603 if (PyErr_Occurred()) SWIG_fail;
9604 }
9605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9606 return resultobj;
9607 fail:
9608 return NULL;
9609 }
9610
9611
9612 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9613 PyObject *resultobj;
9614 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9615 wxWindow *arg2 = (wxWindow *) 0 ;
9616 int arg3 = (int) -1 ;
9617 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9618 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9619 wxSize const &arg5_defvalue = wxDefaultSize ;
9620 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9621 long arg6 = (long) wxSB_HORIZONTAL ;
9622 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9623 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9624 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9625 wxString *arg8 = (wxString *) &arg8_defvalue ;
9626 bool result;
9627 wxPoint temp4 ;
9628 wxSize temp5 ;
9629 bool temp8 = False ;
9630 PyObject * obj0 = 0 ;
9631 PyObject * obj1 = 0 ;
9632 PyObject * obj2 = 0 ;
9633 PyObject * obj3 = 0 ;
9634 PyObject * obj4 = 0 ;
9635 PyObject * obj5 = 0 ;
9636 PyObject * obj6 = 0 ;
9637 PyObject * obj7 = 0 ;
9638 char *kwnames[] = {
9639 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9640 };
9641
9642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9645 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9647 if (obj2) {
9648 arg3 = (int) SWIG_AsInt(obj2);
9649 if (PyErr_Occurred()) SWIG_fail;
9650 }
9651 if (obj3) {
9652 {
9653 arg4 = &temp4;
9654 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9655 }
9656 }
9657 if (obj4) {
9658 {
9659 arg5 = &temp5;
9660 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9661 }
9662 }
9663 if (obj5) {
9664 arg6 = (long) SWIG_AsLong(obj5);
9665 if (PyErr_Occurred()) SWIG_fail;
9666 }
9667 if (obj6) {
9668 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
9669 SWIG_POINTER_EXCEPTION | 0)) == -1)
9670 SWIG_fail;
9671 if (arg7 == NULL) {
9672 PyErr_SetString(PyExc_TypeError,"null reference");
9673 SWIG_fail;
9674 }
9675 }
9676 if (obj7) {
9677 {
9678 arg8 = wxString_in_helper(obj7);
9679 if (arg8 == NULL) SWIG_fail;
9680 temp8 = True;
9681 }
9682 }
9683 {
9684 PyThreadState* __tstate = wxPyBeginAllowThreads();
9685 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9686
9687 wxPyEndAllowThreads(__tstate);
9688 if (PyErr_Occurred()) SWIG_fail;
9689 }
9690 {
9691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9692 }
9693 {
9694 if (temp8)
9695 delete arg8;
9696 }
9697 return resultobj;
9698 fail:
9699 {
9700 if (temp8)
9701 delete arg8;
9702 }
9703 return NULL;
9704 }
9705
9706
9707 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9708 PyObject *resultobj;
9709 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9710 int result;
9711 PyObject * obj0 = 0 ;
9712 char *kwnames[] = {
9713 (char *) "self", NULL
9714 };
9715
9716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
9717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9719 {
9720 PyThreadState* __tstate = wxPyBeginAllowThreads();
9721 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9722
9723 wxPyEndAllowThreads(__tstate);
9724 if (PyErr_Occurred()) SWIG_fail;
9725 }
9726 resultobj = SWIG_FromInt((int)result);
9727 return resultobj;
9728 fail:
9729 return NULL;
9730 }
9731
9732
9733 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
9734 PyObject *resultobj;
9735 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9736 int result;
9737 PyObject * obj0 = 0 ;
9738 char *kwnames[] = {
9739 (char *) "self", NULL
9740 };
9741
9742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
9743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9745 {
9746 PyThreadState* __tstate = wxPyBeginAllowThreads();
9747 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9748
9749 wxPyEndAllowThreads(__tstate);
9750 if (PyErr_Occurred()) SWIG_fail;
9751 }
9752 resultobj = SWIG_FromInt((int)result);
9753 return resultobj;
9754 fail:
9755 return NULL;
9756 }
9757
9758
9759 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
9760 PyObject *resultobj;
9761 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9762 int result;
9763 PyObject * obj0 = 0 ;
9764 char *kwnames[] = {
9765 (char *) "self", NULL
9766 };
9767
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
9769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9771 {
9772 PyThreadState* __tstate = wxPyBeginAllowThreads();
9773 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9774
9775 wxPyEndAllowThreads(__tstate);
9776 if (PyErr_Occurred()) SWIG_fail;
9777 }
9778 resultobj = SWIG_FromInt((int)result);
9779 return resultobj;
9780 fail:
9781 return NULL;
9782 }
9783
9784
9785 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
9786 PyObject *resultobj;
9787 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9788 int result;
9789 PyObject * obj0 = 0 ;
9790 char *kwnames[] = {
9791 (char *) "self", NULL
9792 };
9793
9794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
9795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9797 {
9798 PyThreadState* __tstate = wxPyBeginAllowThreads();
9799 result = (int)((wxScrollBar const *)arg1)->GetRange();
9800
9801 wxPyEndAllowThreads(__tstate);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 }
9804 resultobj = SWIG_FromInt((int)result);
9805 return resultobj;
9806 fail:
9807 return NULL;
9808 }
9809
9810
9811 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
9812 PyObject *resultobj;
9813 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9814 bool result;
9815 PyObject * obj0 = 0 ;
9816 char *kwnames[] = {
9817 (char *) "self", NULL
9818 };
9819
9820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
9821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9823 {
9824 PyThreadState* __tstate = wxPyBeginAllowThreads();
9825 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9826
9827 wxPyEndAllowThreads(__tstate);
9828 if (PyErr_Occurred()) SWIG_fail;
9829 }
9830 {
9831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9832 }
9833 return resultobj;
9834 fail:
9835 return NULL;
9836 }
9837
9838
9839 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9840 PyObject *resultobj;
9841 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9842 int arg2 ;
9843 PyObject * obj0 = 0 ;
9844 PyObject * obj1 = 0 ;
9845 char *kwnames[] = {
9846 (char *) "self",(char *) "viewStart", NULL
9847 };
9848
9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
9850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9852 arg2 = (int) SWIG_AsInt(obj1);
9853 if (PyErr_Occurred()) SWIG_fail;
9854 {
9855 PyThreadState* __tstate = wxPyBeginAllowThreads();
9856 (arg1)->SetThumbPosition(arg2);
9857
9858 wxPyEndAllowThreads(__tstate);
9859 if (PyErr_Occurred()) SWIG_fail;
9860 }
9861 Py_INCREF(Py_None); resultobj = Py_None;
9862 return resultobj;
9863 fail:
9864 return NULL;
9865 }
9866
9867
9868 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
9869 PyObject *resultobj;
9870 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9871 int arg2 ;
9872 int arg3 ;
9873 int arg4 ;
9874 int arg5 ;
9875 bool arg6 = (bool) True ;
9876 PyObject * obj0 = 0 ;
9877 PyObject * obj1 = 0 ;
9878 PyObject * obj2 = 0 ;
9879 PyObject * obj3 = 0 ;
9880 PyObject * obj4 = 0 ;
9881 PyObject * obj5 = 0 ;
9882 char *kwnames[] = {
9883 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9884 };
9885
9886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9889 arg2 = (int) SWIG_AsInt(obj1);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 arg3 = (int) SWIG_AsInt(obj2);
9892 if (PyErr_Occurred()) SWIG_fail;
9893 arg4 = (int) SWIG_AsInt(obj3);
9894 if (PyErr_Occurred()) SWIG_fail;
9895 arg5 = (int) SWIG_AsInt(obj4);
9896 if (PyErr_Occurred()) SWIG_fail;
9897 if (obj5) {
9898 arg6 = (bool) SWIG_AsBool(obj5);
9899 if (PyErr_Occurred()) SWIG_fail;
9900 }
9901 {
9902 PyThreadState* __tstate = wxPyBeginAllowThreads();
9903 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
9904
9905 wxPyEndAllowThreads(__tstate);
9906 if (PyErr_Occurred()) SWIG_fail;
9907 }
9908 Py_INCREF(Py_None); resultobj = Py_None;
9909 return resultobj;
9910 fail:
9911 return NULL;
9912 }
9913
9914
9915 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
9916 PyObject *obj;
9917 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9918 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
9919 Py_INCREF(obj);
9920 return Py_BuildValue((char *)"");
9921 }
9922 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
9923 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
9924 return 1;
9925 }
9926
9927
9928 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
9929 PyObject *pyobj;
9930
9931 {
9932 #if wxUSE_UNICODE
9933 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9934 #else
9935 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9936 #endif
9937 }
9938 return pyobj;
9939 }
9940
9941
9942 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
9943 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
9944 return 1;
9945 }
9946
9947
9948 static PyObject *_wrap_SpinCtrlNameStr_get() {
9949 PyObject *pyobj;
9950
9951 {
9952 #if wxUSE_UNICODE
9953 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9954 #else
9955 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9956 #endif
9957 }
9958 return pyobj;
9959 }
9960
9961
9962 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
9963 PyObject *resultobj;
9964 wxWindow *arg1 = (wxWindow *) 0 ;
9965 int arg2 = (int) -1 ;
9966 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9967 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9968 wxSize const &arg4_defvalue = wxDefaultSize ;
9969 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9970 long arg5 = (long) wxSP_HORIZONTAL ;
9971 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
9972 wxString *arg6 = (wxString *) &arg6_defvalue ;
9973 wxSpinButton *result;
9974 wxPoint temp3 ;
9975 wxSize temp4 ;
9976 bool temp6 = False ;
9977 PyObject * obj0 = 0 ;
9978 PyObject * obj1 = 0 ;
9979 PyObject * obj2 = 0 ;
9980 PyObject * obj3 = 0 ;
9981 PyObject * obj4 = 0 ;
9982 PyObject * obj5 = 0 ;
9983 char *kwnames[] = {
9984 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9985 };
9986
9987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9990 if (obj1) {
9991 arg2 = (int) SWIG_AsInt(obj1);
9992 if (PyErr_Occurred()) SWIG_fail;
9993 }
9994 if (obj2) {
9995 {
9996 arg3 = &temp3;
9997 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9998 }
9999 }
10000 if (obj3) {
10001 {
10002 arg4 = &temp4;
10003 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10004 }
10005 }
10006 if (obj4) {
10007 arg5 = (long) SWIG_AsLong(obj4);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 }
10010 if (obj5) {
10011 {
10012 arg6 = wxString_in_helper(obj5);
10013 if (arg6 == NULL) SWIG_fail;
10014 temp6 = True;
10015 }
10016 }
10017 {
10018 PyThreadState* __tstate = wxPyBeginAllowThreads();
10019 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10020
10021 wxPyEndAllowThreads(__tstate);
10022 if (PyErr_Occurred()) SWIG_fail;
10023 }
10024 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10025 {
10026 if (temp6)
10027 delete arg6;
10028 }
10029 return resultobj;
10030 fail:
10031 {
10032 if (temp6)
10033 delete arg6;
10034 }
10035 return NULL;
10036 }
10037
10038
10039 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
10040 PyObject *resultobj;
10041 wxSpinButton *result;
10042 char *kwnames[] = {
10043 NULL
10044 };
10045
10046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10047 {
10048 PyThreadState* __tstate = wxPyBeginAllowThreads();
10049 result = (wxSpinButton *)new wxSpinButton();
10050
10051 wxPyEndAllowThreads(__tstate);
10052 if (PyErr_Occurred()) SWIG_fail;
10053 }
10054 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10055 return resultobj;
10056 fail:
10057 return NULL;
10058 }
10059
10060
10061 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10062 PyObject *resultobj;
10063 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10064 wxWindow *arg2 = (wxWindow *) 0 ;
10065 int arg3 = (int) -1 ;
10066 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10067 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10068 wxSize const &arg5_defvalue = wxDefaultSize ;
10069 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10070 long arg6 = (long) wxSP_HORIZONTAL ;
10071 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10072 wxString *arg7 = (wxString *) &arg7_defvalue ;
10073 bool result;
10074 wxPoint temp4 ;
10075 wxSize temp5 ;
10076 bool temp7 = False ;
10077 PyObject * obj0 = 0 ;
10078 PyObject * obj1 = 0 ;
10079 PyObject * obj2 = 0 ;
10080 PyObject * obj3 = 0 ;
10081 PyObject * obj4 = 0 ;
10082 PyObject * obj5 = 0 ;
10083 PyObject * obj6 = 0 ;
10084 char *kwnames[] = {
10085 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10086 };
10087
10088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10091 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10093 if (obj2) {
10094 arg3 = (int) SWIG_AsInt(obj2);
10095 if (PyErr_Occurred()) SWIG_fail;
10096 }
10097 if (obj3) {
10098 {
10099 arg4 = &temp4;
10100 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10101 }
10102 }
10103 if (obj4) {
10104 {
10105 arg5 = &temp5;
10106 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10107 }
10108 }
10109 if (obj5) {
10110 arg6 = (long) SWIG_AsLong(obj5);
10111 if (PyErr_Occurred()) SWIG_fail;
10112 }
10113 if (obj6) {
10114 {
10115 arg7 = wxString_in_helper(obj6);
10116 if (arg7 == NULL) SWIG_fail;
10117 temp7 = True;
10118 }
10119 }
10120 {
10121 PyThreadState* __tstate = wxPyBeginAllowThreads();
10122 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10123
10124 wxPyEndAllowThreads(__tstate);
10125 if (PyErr_Occurred()) SWIG_fail;
10126 }
10127 {
10128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10129 }
10130 {
10131 if (temp7)
10132 delete arg7;
10133 }
10134 return resultobj;
10135 fail:
10136 {
10137 if (temp7)
10138 delete arg7;
10139 }
10140 return NULL;
10141 }
10142
10143
10144 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10145 PyObject *resultobj;
10146 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10147 int result;
10148 PyObject * obj0 = 0 ;
10149 char *kwnames[] = {
10150 (char *) "self", NULL
10151 };
10152
10153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10156 {
10157 PyThreadState* __tstate = wxPyBeginAllowThreads();
10158 result = (int)((wxSpinButton const *)arg1)->GetValue();
10159
10160 wxPyEndAllowThreads(__tstate);
10161 if (PyErr_Occurred()) SWIG_fail;
10162 }
10163 resultobj = SWIG_FromInt((int)result);
10164 return resultobj;
10165 fail:
10166 return NULL;
10167 }
10168
10169
10170 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
10171 PyObject *resultobj;
10172 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10173 int result;
10174 PyObject * obj0 = 0 ;
10175 char *kwnames[] = {
10176 (char *) "self", NULL
10177 };
10178
10179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10182 {
10183 PyThreadState* __tstate = wxPyBeginAllowThreads();
10184 result = (int)((wxSpinButton const *)arg1)->GetMin();
10185
10186 wxPyEndAllowThreads(__tstate);
10187 if (PyErr_Occurred()) SWIG_fail;
10188 }
10189 resultobj = SWIG_FromInt((int)result);
10190 return resultobj;
10191 fail:
10192 return NULL;
10193 }
10194
10195
10196 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
10197 PyObject *resultobj;
10198 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10199 int result;
10200 PyObject * obj0 = 0 ;
10201 char *kwnames[] = {
10202 (char *) "self", NULL
10203 };
10204
10205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10208 {
10209 PyThreadState* __tstate = wxPyBeginAllowThreads();
10210 result = (int)((wxSpinButton const *)arg1)->GetMax();
10211
10212 wxPyEndAllowThreads(__tstate);
10213 if (PyErr_Occurred()) SWIG_fail;
10214 }
10215 resultobj = SWIG_FromInt((int)result);
10216 return resultobj;
10217 fail:
10218 return NULL;
10219 }
10220
10221
10222 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10223 PyObject *resultobj;
10224 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10225 int arg2 ;
10226 PyObject * obj0 = 0 ;
10227 PyObject * obj1 = 0 ;
10228 char *kwnames[] = {
10229 (char *) "self",(char *) "val", NULL
10230 };
10231
10232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10235 arg2 = (int) SWIG_AsInt(obj1);
10236 if (PyErr_Occurred()) SWIG_fail;
10237 {
10238 PyThreadState* __tstate = wxPyBeginAllowThreads();
10239 (arg1)->SetValue(arg2);
10240
10241 wxPyEndAllowThreads(__tstate);
10242 if (PyErr_Occurred()) SWIG_fail;
10243 }
10244 Py_INCREF(Py_None); resultobj = Py_None;
10245 return resultobj;
10246 fail:
10247 return NULL;
10248 }
10249
10250
10251 static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
10252 PyObject *resultobj;
10253 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10254 int arg2 ;
10255 PyObject * obj0 = 0 ;
10256 PyObject * obj1 = 0 ;
10257 char *kwnames[] = {
10258 (char *) "self",(char *) "minVal", NULL
10259 };
10260
10261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10264 arg2 = (int) SWIG_AsInt(obj1);
10265 if (PyErr_Occurred()) SWIG_fail;
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 (arg1)->SetMin(arg2);
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 Py_INCREF(Py_None); resultobj = Py_None;
10274 return resultobj;
10275 fail:
10276 return NULL;
10277 }
10278
10279
10280 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
10281 PyObject *resultobj;
10282 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10283 int arg2 ;
10284 PyObject * obj0 = 0 ;
10285 PyObject * obj1 = 0 ;
10286 char *kwnames[] = {
10287 (char *) "self",(char *) "maxVal", NULL
10288 };
10289
10290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10293 arg2 = (int) SWIG_AsInt(obj1);
10294 if (PyErr_Occurred()) SWIG_fail;
10295 {
10296 PyThreadState* __tstate = wxPyBeginAllowThreads();
10297 (arg1)->SetMax(arg2);
10298
10299 wxPyEndAllowThreads(__tstate);
10300 if (PyErr_Occurred()) SWIG_fail;
10301 }
10302 Py_INCREF(Py_None); resultobj = Py_None;
10303 return resultobj;
10304 fail:
10305 return NULL;
10306 }
10307
10308
10309 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
10310 PyObject *resultobj;
10311 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10312 int arg2 ;
10313 int arg3 ;
10314 PyObject * obj0 = 0 ;
10315 PyObject * obj1 = 0 ;
10316 PyObject * obj2 = 0 ;
10317 char *kwnames[] = {
10318 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10319 };
10320
10321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10324 arg2 = (int) SWIG_AsInt(obj1);
10325 if (PyErr_Occurred()) SWIG_fail;
10326 arg3 = (int) SWIG_AsInt(obj2);
10327 if (PyErr_Occurred()) SWIG_fail;
10328 {
10329 PyThreadState* __tstate = wxPyBeginAllowThreads();
10330 (arg1)->SetRange(arg2,arg3);
10331
10332 wxPyEndAllowThreads(__tstate);
10333 if (PyErr_Occurred()) SWIG_fail;
10334 }
10335 Py_INCREF(Py_None); resultobj = Py_None;
10336 return resultobj;
10337 fail:
10338 return NULL;
10339 }
10340
10341
10342 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
10343 PyObject *resultobj;
10344 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10345 bool result;
10346 PyObject * obj0 = 0 ;
10347 char *kwnames[] = {
10348 (char *) "self", NULL
10349 };
10350
10351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10354 {
10355 PyThreadState* __tstate = wxPyBeginAllowThreads();
10356 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10357
10358 wxPyEndAllowThreads(__tstate);
10359 if (PyErr_Occurred()) SWIG_fail;
10360 }
10361 {
10362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10363 }
10364 return resultobj;
10365 fail:
10366 return NULL;
10367 }
10368
10369
10370 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
10371 PyObject *obj;
10372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10373 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10374 Py_INCREF(obj);
10375 return Py_BuildValue((char *)"");
10376 }
10377 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
10378 PyObject *resultobj;
10379 wxWindow *arg1 = (wxWindow *) 0 ;
10380 int arg2 = (int) -1 ;
10381 wxString const &arg3_defvalue = wxPyEmptyString ;
10382 wxString *arg3 = (wxString *) &arg3_defvalue ;
10383 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10384 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10385 wxSize const &arg5_defvalue = wxDefaultSize ;
10386 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10387 long arg6 = (long) wxSP_ARROW_KEYS ;
10388 int arg7 = (int) 0 ;
10389 int arg8 = (int) 100 ;
10390 int arg9 = (int) 0 ;
10391 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10392 wxString *arg10 = (wxString *) &arg10_defvalue ;
10393 wxSpinCtrl *result;
10394 bool temp3 = False ;
10395 wxPoint temp4 ;
10396 wxSize temp5 ;
10397 bool temp10 = False ;
10398 PyObject * obj0 = 0 ;
10399 PyObject * obj1 = 0 ;
10400 PyObject * obj2 = 0 ;
10401 PyObject * obj3 = 0 ;
10402 PyObject * obj4 = 0 ;
10403 PyObject * obj5 = 0 ;
10404 PyObject * obj6 = 0 ;
10405 PyObject * obj7 = 0 ;
10406 PyObject * obj8 = 0 ;
10407 PyObject * obj9 = 0 ;
10408 char *kwnames[] = {
10409 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10410 };
10411
10412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10415 if (obj1) {
10416 arg2 = (int) SWIG_AsInt(obj1);
10417 if (PyErr_Occurred()) SWIG_fail;
10418 }
10419 if (obj2) {
10420 {
10421 arg3 = wxString_in_helper(obj2);
10422 if (arg3 == NULL) SWIG_fail;
10423 temp3 = True;
10424 }
10425 }
10426 if (obj3) {
10427 {
10428 arg4 = &temp4;
10429 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10430 }
10431 }
10432 if (obj4) {
10433 {
10434 arg5 = &temp5;
10435 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10436 }
10437 }
10438 if (obj5) {
10439 arg6 = (long) SWIG_AsLong(obj5);
10440 if (PyErr_Occurred()) SWIG_fail;
10441 }
10442 if (obj6) {
10443 arg7 = (int) SWIG_AsInt(obj6);
10444 if (PyErr_Occurred()) SWIG_fail;
10445 }
10446 if (obj7) {
10447 arg8 = (int) SWIG_AsInt(obj7);
10448 if (PyErr_Occurred()) SWIG_fail;
10449 }
10450 if (obj8) {
10451 arg9 = (int) SWIG_AsInt(obj8);
10452 if (PyErr_Occurred()) SWIG_fail;
10453 }
10454 if (obj9) {
10455 {
10456 arg10 = wxString_in_helper(obj9);
10457 if (arg10 == NULL) SWIG_fail;
10458 temp10 = True;
10459 }
10460 }
10461 {
10462 PyThreadState* __tstate = wxPyBeginAllowThreads();
10463 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10464
10465 wxPyEndAllowThreads(__tstate);
10466 if (PyErr_Occurred()) SWIG_fail;
10467 }
10468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10469 {
10470 if (temp3)
10471 delete arg3;
10472 }
10473 {
10474 if (temp10)
10475 delete arg10;
10476 }
10477 return resultobj;
10478 fail:
10479 {
10480 if (temp3)
10481 delete arg3;
10482 }
10483 {
10484 if (temp10)
10485 delete arg10;
10486 }
10487 return NULL;
10488 }
10489
10490
10491 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
10492 PyObject *resultobj;
10493 wxSpinCtrl *result;
10494 char *kwnames[] = {
10495 NULL
10496 };
10497
10498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10499 {
10500 PyThreadState* __tstate = wxPyBeginAllowThreads();
10501 result = (wxSpinCtrl *)new wxSpinCtrl();
10502
10503 wxPyEndAllowThreads(__tstate);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
10506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10507 return resultobj;
10508 fail:
10509 return NULL;
10510 }
10511
10512
10513 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10514 PyObject *resultobj;
10515 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10516 wxWindow *arg2 = (wxWindow *) 0 ;
10517 int arg3 = (int) -1 ;
10518 wxString const &arg4_defvalue = wxPyEmptyString ;
10519 wxString *arg4 = (wxString *) &arg4_defvalue ;
10520 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10521 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10522 wxSize const &arg6_defvalue = wxDefaultSize ;
10523 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10524 long arg7 = (long) wxSP_ARROW_KEYS ;
10525 int arg8 = (int) 0 ;
10526 int arg9 = (int) 100 ;
10527 int arg10 = (int) 0 ;
10528 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10529 wxString *arg11 = (wxString *) &arg11_defvalue ;
10530 bool result;
10531 bool temp4 = False ;
10532 wxPoint temp5 ;
10533 wxSize temp6 ;
10534 bool temp11 = False ;
10535 PyObject * obj0 = 0 ;
10536 PyObject * obj1 = 0 ;
10537 PyObject * obj2 = 0 ;
10538 PyObject * obj3 = 0 ;
10539 PyObject * obj4 = 0 ;
10540 PyObject * obj5 = 0 ;
10541 PyObject * obj6 = 0 ;
10542 PyObject * obj7 = 0 ;
10543 PyObject * obj8 = 0 ;
10544 PyObject * obj9 = 0 ;
10545 PyObject * obj10 = 0 ;
10546 char *kwnames[] = {
10547 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10548 };
10549
10550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10553 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10555 if (obj2) {
10556 arg3 = (int) SWIG_AsInt(obj2);
10557 if (PyErr_Occurred()) SWIG_fail;
10558 }
10559 if (obj3) {
10560 {
10561 arg4 = wxString_in_helper(obj3);
10562 if (arg4 == NULL) SWIG_fail;
10563 temp4 = True;
10564 }
10565 }
10566 if (obj4) {
10567 {
10568 arg5 = &temp5;
10569 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10570 }
10571 }
10572 if (obj5) {
10573 {
10574 arg6 = &temp6;
10575 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10576 }
10577 }
10578 if (obj6) {
10579 arg7 = (long) SWIG_AsLong(obj6);
10580 if (PyErr_Occurred()) SWIG_fail;
10581 }
10582 if (obj7) {
10583 arg8 = (int) SWIG_AsInt(obj7);
10584 if (PyErr_Occurred()) SWIG_fail;
10585 }
10586 if (obj8) {
10587 arg9 = (int) SWIG_AsInt(obj8);
10588 if (PyErr_Occurred()) SWIG_fail;
10589 }
10590 if (obj9) {
10591 arg10 = (int) SWIG_AsInt(obj9);
10592 if (PyErr_Occurred()) SWIG_fail;
10593 }
10594 if (obj10) {
10595 {
10596 arg11 = wxString_in_helper(obj10);
10597 if (arg11 == NULL) SWIG_fail;
10598 temp11 = True;
10599 }
10600 }
10601 {
10602 PyThreadState* __tstate = wxPyBeginAllowThreads();
10603 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10604
10605 wxPyEndAllowThreads(__tstate);
10606 if (PyErr_Occurred()) SWIG_fail;
10607 }
10608 {
10609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10610 }
10611 {
10612 if (temp4)
10613 delete arg4;
10614 }
10615 {
10616 if (temp11)
10617 delete arg11;
10618 }
10619 return resultobj;
10620 fail:
10621 {
10622 if (temp4)
10623 delete arg4;
10624 }
10625 {
10626 if (temp11)
10627 delete arg11;
10628 }
10629 return NULL;
10630 }
10631
10632
10633 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10634 PyObject *resultobj;
10635 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10636 int result;
10637 PyObject * obj0 = 0 ;
10638 char *kwnames[] = {
10639 (char *) "self", NULL
10640 };
10641
10642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
10643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10645 {
10646 PyThreadState* __tstate = wxPyBeginAllowThreads();
10647 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10648
10649 wxPyEndAllowThreads(__tstate);
10650 if (PyErr_Occurred()) SWIG_fail;
10651 }
10652 resultobj = SWIG_FromInt((int)result);
10653 return resultobj;
10654 fail:
10655 return NULL;
10656 }
10657
10658
10659 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10660 PyObject *resultobj;
10661 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10662 int arg2 ;
10663 PyObject * obj0 = 0 ;
10664 PyObject * obj1 = 0 ;
10665 char *kwnames[] = {
10666 (char *) "self",(char *) "value", NULL
10667 };
10668
10669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10672 arg2 = (int) SWIG_AsInt(obj1);
10673 if (PyErr_Occurred()) SWIG_fail;
10674 {
10675 PyThreadState* __tstate = wxPyBeginAllowThreads();
10676 (arg1)->SetValue(arg2);
10677
10678 wxPyEndAllowThreads(__tstate);
10679 if (PyErr_Occurred()) SWIG_fail;
10680 }
10681 Py_INCREF(Py_None); resultobj = Py_None;
10682 return resultobj;
10683 fail:
10684 return NULL;
10685 }
10686
10687
10688 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
10689 PyObject *resultobj;
10690 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10691 wxString *arg2 = 0 ;
10692 bool temp2 = False ;
10693 PyObject * obj0 = 0 ;
10694 PyObject * obj1 = 0 ;
10695 char *kwnames[] = {
10696 (char *) "self",(char *) "text", NULL
10697 };
10698
10699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
10700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10702 {
10703 arg2 = wxString_in_helper(obj1);
10704 if (arg2 == NULL) SWIG_fail;
10705 temp2 = True;
10706 }
10707 {
10708 PyThreadState* __tstate = wxPyBeginAllowThreads();
10709 (arg1)->SetValue((wxString const &)*arg2);
10710
10711 wxPyEndAllowThreads(__tstate);
10712 if (PyErr_Occurred()) SWIG_fail;
10713 }
10714 Py_INCREF(Py_None); resultobj = Py_None;
10715 {
10716 if (temp2)
10717 delete arg2;
10718 }
10719 return resultobj;
10720 fail:
10721 {
10722 if (temp2)
10723 delete arg2;
10724 }
10725 return NULL;
10726 }
10727
10728
10729 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
10730 PyObject *resultobj;
10731 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10732 int arg2 ;
10733 int arg3 ;
10734 PyObject * obj0 = 0 ;
10735 PyObject * obj1 = 0 ;
10736 PyObject * obj2 = 0 ;
10737 char *kwnames[] = {
10738 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10739 };
10740
10741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10744 arg2 = (int) SWIG_AsInt(obj1);
10745 if (PyErr_Occurred()) SWIG_fail;
10746 arg3 = (int) SWIG_AsInt(obj2);
10747 if (PyErr_Occurred()) SWIG_fail;
10748 {
10749 PyThreadState* __tstate = wxPyBeginAllowThreads();
10750 (arg1)->SetRange(arg2,arg3);
10751
10752 wxPyEndAllowThreads(__tstate);
10753 if (PyErr_Occurred()) SWIG_fail;
10754 }
10755 Py_INCREF(Py_None); resultobj = Py_None;
10756 return resultobj;
10757 fail:
10758 return NULL;
10759 }
10760
10761
10762 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
10763 PyObject *resultobj;
10764 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10765 int result;
10766 PyObject * obj0 = 0 ;
10767 char *kwnames[] = {
10768 (char *) "self", NULL
10769 };
10770
10771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
10772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10774 {
10775 PyThreadState* __tstate = wxPyBeginAllowThreads();
10776 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10777
10778 wxPyEndAllowThreads(__tstate);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 }
10781 resultobj = SWIG_FromInt((int)result);
10782 return resultobj;
10783 fail:
10784 return NULL;
10785 }
10786
10787
10788 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
10789 PyObject *resultobj;
10790 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10791 int result;
10792 PyObject * obj0 = 0 ;
10793 char *kwnames[] = {
10794 (char *) "self", NULL
10795 };
10796
10797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
10798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10800 {
10801 PyThreadState* __tstate = wxPyBeginAllowThreads();
10802 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10803
10804 wxPyEndAllowThreads(__tstate);
10805 if (PyErr_Occurred()) SWIG_fail;
10806 }
10807 resultobj = SWIG_FromInt((int)result);
10808 return resultobj;
10809 fail:
10810 return NULL;
10811 }
10812
10813
10814 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10815 PyObject *resultobj;
10816 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10817 long arg2 ;
10818 long arg3 ;
10819 PyObject * obj0 = 0 ;
10820 PyObject * obj1 = 0 ;
10821 PyObject * obj2 = 0 ;
10822 char *kwnames[] = {
10823 (char *) "self",(char *) "from",(char *) "to", NULL
10824 };
10825
10826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
10827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10829 arg2 = (long) SWIG_AsLong(obj1);
10830 if (PyErr_Occurred()) SWIG_fail;
10831 arg3 = (long) SWIG_AsLong(obj2);
10832 if (PyErr_Occurred()) SWIG_fail;
10833 {
10834 PyThreadState* __tstate = wxPyBeginAllowThreads();
10835 (arg1)->SetSelection(arg2,arg3);
10836
10837 wxPyEndAllowThreads(__tstate);
10838 if (PyErr_Occurred()) SWIG_fail;
10839 }
10840 Py_INCREF(Py_None); resultobj = Py_None;
10841 return resultobj;
10842 fail:
10843 return NULL;
10844 }
10845
10846
10847 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
10848 PyObject *obj;
10849 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10850 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10851 Py_INCREF(obj);
10852 return Py_BuildValue((char *)"");
10853 }
10854 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
10855 PyObject *resultobj;
10856 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10857 int arg2 = (int) 0 ;
10858 wxSpinEvent *result;
10859 PyObject * obj0 = 0 ;
10860 PyObject * obj1 = 0 ;
10861 char *kwnames[] = {
10862 (char *) "commandType",(char *) "winid", NULL
10863 };
10864
10865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10866 if (obj0) {
10867 arg1 = (wxEventType) SWIG_AsInt(obj0);
10868 if (PyErr_Occurred()) SWIG_fail;
10869 }
10870 if (obj1) {
10871 arg2 = (int) SWIG_AsInt(obj1);
10872 if (PyErr_Occurred()) SWIG_fail;
10873 }
10874 {
10875 PyThreadState* __tstate = wxPyBeginAllowThreads();
10876 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10877
10878 wxPyEndAllowThreads(__tstate);
10879 if (PyErr_Occurred()) SWIG_fail;
10880 }
10881 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
10882 return resultobj;
10883 fail:
10884 return NULL;
10885 }
10886
10887
10888 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10889 PyObject *resultobj;
10890 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10891 int result;
10892 PyObject * obj0 = 0 ;
10893 char *kwnames[] = {
10894 (char *) "self", NULL
10895 };
10896
10897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
10898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10900 {
10901 PyThreadState* __tstate = wxPyBeginAllowThreads();
10902 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
10903
10904 wxPyEndAllowThreads(__tstate);
10905 if (PyErr_Occurred()) SWIG_fail;
10906 }
10907 resultobj = SWIG_FromInt((int)result);
10908 return resultobj;
10909 fail:
10910 return NULL;
10911 }
10912
10913
10914 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10915 PyObject *resultobj;
10916 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10917 int arg2 ;
10918 PyObject * obj0 = 0 ;
10919 PyObject * obj1 = 0 ;
10920 char *kwnames[] = {
10921 (char *) "self",(char *) "pos", NULL
10922 };
10923
10924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10927 arg2 = (int) SWIG_AsInt(obj1);
10928 if (PyErr_Occurred()) SWIG_fail;
10929 {
10930 PyThreadState* __tstate = wxPyBeginAllowThreads();
10931 (arg1)->SetPosition(arg2);
10932
10933 wxPyEndAllowThreads(__tstate);
10934 if (PyErr_Occurred()) SWIG_fail;
10935 }
10936 Py_INCREF(Py_None); resultobj = Py_None;
10937 return resultobj;
10938 fail:
10939 return NULL;
10940 }
10941
10942
10943 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
10944 PyObject *obj;
10945 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10946 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
10947 Py_INCREF(obj);
10948 return Py_BuildValue((char *)"");
10949 }
10950 static int _wrap_RadioBoxNameStr_set(PyObject *) {
10951 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
10952 return 1;
10953 }
10954
10955
10956 static PyObject *_wrap_RadioBoxNameStr_get() {
10957 PyObject *pyobj;
10958
10959 {
10960 #if wxUSE_UNICODE
10961 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10962 #else
10963 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10964 #endif
10965 }
10966 return pyobj;
10967 }
10968
10969
10970 static int _wrap_RadioButtonNameStr_set(PyObject *) {
10971 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
10972 return 1;
10973 }
10974
10975
10976 static PyObject *_wrap_RadioButtonNameStr_get() {
10977 PyObject *pyobj;
10978
10979 {
10980 #if wxUSE_UNICODE
10981 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10982 #else
10983 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10984 #endif
10985 }
10986 return pyobj;
10987 }
10988
10989
10990 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
10991 PyObject *resultobj;
10992 wxWindow *arg1 = (wxWindow *) 0 ;
10993 int arg2 ;
10994 wxString *arg3 = 0 ;
10995 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10996 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10997 wxSize const &arg5_defvalue = wxDefaultSize ;
10998 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10999 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
11000 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
11001 int arg7 = (int) 0 ;
11002 long arg8 = (long) wxRA_HORIZONTAL ;
11003 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11004 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11005 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
11006 wxString *arg10 = (wxString *) &arg10_defvalue ;
11007 wxRadioBox *result;
11008 bool temp3 = False ;
11009 wxPoint temp4 ;
11010 wxSize temp5 ;
11011 bool temp6 = False ;
11012 bool temp10 = False ;
11013 PyObject * obj0 = 0 ;
11014 PyObject * obj1 = 0 ;
11015 PyObject * obj2 = 0 ;
11016 PyObject * obj3 = 0 ;
11017 PyObject * obj4 = 0 ;
11018 PyObject * obj5 = 0 ;
11019 PyObject * obj6 = 0 ;
11020 PyObject * obj7 = 0 ;
11021 PyObject * obj8 = 0 ;
11022 PyObject * obj9 = 0 ;
11023 char *kwnames[] = {
11024 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11025 };
11026
11027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11030 arg2 = (int) SWIG_AsInt(obj1);
11031 if (PyErr_Occurred()) SWIG_fail;
11032 {
11033 arg3 = wxString_in_helper(obj2);
11034 if (arg3 == NULL) SWIG_fail;
11035 temp3 = True;
11036 }
11037 if (obj3) {
11038 {
11039 arg4 = &temp4;
11040 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11041 }
11042 }
11043 if (obj4) {
11044 {
11045 arg5 = &temp5;
11046 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11047 }
11048 }
11049 if (obj5) {
11050 {
11051 if (! PySequence_Check(obj5)) {
11052 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11053 SWIG_fail;
11054 }
11055 arg6 = new wxArrayString;
11056 temp6 = True;
11057 int i, len=PySequence_Length(obj5);
11058 for (i=0; i<len; i++) {
11059 PyObject* item = PySequence_GetItem(obj5, i);
11060 #if wxUSE_UNICODE
11061 PyObject* str = PyObject_Unicode(item);
11062 #else
11063 PyObject* str = PyObject_Str(item);
11064 #endif
11065 if (PyErr_Occurred()) SWIG_fail;
11066 arg6->Add(Py2wxString(str));
11067 Py_DECREF(item);
11068 Py_DECREF(str);
11069 }
11070 }
11071 }
11072 if (obj6) {
11073 arg7 = (int) SWIG_AsInt(obj6);
11074 if (PyErr_Occurred()) SWIG_fail;
11075 }
11076 if (obj7) {
11077 arg8 = (long) SWIG_AsLong(obj7);
11078 if (PyErr_Occurred()) SWIG_fail;
11079 }
11080 if (obj8) {
11081 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11082 SWIG_POINTER_EXCEPTION | 0)) == -1)
11083 SWIG_fail;
11084 if (arg9 == NULL) {
11085 PyErr_SetString(PyExc_TypeError,"null reference");
11086 SWIG_fail;
11087 }
11088 }
11089 if (obj9) {
11090 {
11091 arg10 = wxString_in_helper(obj9);
11092 if (arg10 == NULL) SWIG_fail;
11093 temp10 = True;
11094 }
11095 }
11096 {
11097 PyThreadState* __tstate = wxPyBeginAllowThreads();
11098 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);
11099
11100 wxPyEndAllowThreads(__tstate);
11101 if (PyErr_Occurred()) SWIG_fail;
11102 }
11103 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11104 {
11105 if (temp3)
11106 delete arg3;
11107 }
11108 {
11109 if (temp6) delete arg6;
11110 }
11111 {
11112 if (temp10)
11113 delete arg10;
11114 }
11115 return resultobj;
11116 fail:
11117 {
11118 if (temp3)
11119 delete arg3;
11120 }
11121 {
11122 if (temp6) delete arg6;
11123 }
11124 {
11125 if (temp10)
11126 delete arg10;
11127 }
11128 return NULL;
11129 }
11130
11131
11132 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
11133 PyObject *resultobj;
11134 wxRadioBox *result;
11135 char *kwnames[] = {
11136 NULL
11137 };
11138
11139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11140 {
11141 PyThreadState* __tstate = wxPyBeginAllowThreads();
11142 result = (wxRadioBox *)new wxRadioBox();
11143
11144 wxPyEndAllowThreads(__tstate);
11145 if (PyErr_Occurred()) SWIG_fail;
11146 }
11147 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11148 return resultobj;
11149 fail:
11150 return NULL;
11151 }
11152
11153
11154 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11155 PyObject *resultobj;
11156 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11157 wxWindow *arg2 = (wxWindow *) 0 ;
11158 int arg3 ;
11159 wxString *arg4 = 0 ;
11160 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11161 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11162 wxSize const &arg6_defvalue = wxDefaultSize ;
11163 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11164 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11165 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11166 int arg8 = (int) 0 ;
11167 long arg9 = (long) wxRA_HORIZONTAL ;
11168 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11169 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11170 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11171 wxString *arg11 = (wxString *) &arg11_defvalue ;
11172 bool result;
11173 bool temp4 = False ;
11174 wxPoint temp5 ;
11175 wxSize temp6 ;
11176 bool temp7 = False ;
11177 bool temp11 = False ;
11178 PyObject * obj0 = 0 ;
11179 PyObject * obj1 = 0 ;
11180 PyObject * obj2 = 0 ;
11181 PyObject * obj3 = 0 ;
11182 PyObject * obj4 = 0 ;
11183 PyObject * obj5 = 0 ;
11184 PyObject * obj6 = 0 ;
11185 PyObject * obj7 = 0 ;
11186 PyObject * obj8 = 0 ;
11187 PyObject * obj9 = 0 ;
11188 PyObject * obj10 = 0 ;
11189 char *kwnames[] = {
11190 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11191 };
11192
11193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11196 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11198 arg3 = (int) SWIG_AsInt(obj2);
11199 if (PyErr_Occurred()) SWIG_fail;
11200 {
11201 arg4 = wxString_in_helper(obj3);
11202 if (arg4 == NULL) SWIG_fail;
11203 temp4 = True;
11204 }
11205 if (obj4) {
11206 {
11207 arg5 = &temp5;
11208 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11209 }
11210 }
11211 if (obj5) {
11212 {
11213 arg6 = &temp6;
11214 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11215 }
11216 }
11217 if (obj6) {
11218 {
11219 if (! PySequence_Check(obj6)) {
11220 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11221 SWIG_fail;
11222 }
11223 arg7 = new wxArrayString;
11224 temp7 = True;
11225 int i, len=PySequence_Length(obj6);
11226 for (i=0; i<len; i++) {
11227 PyObject* item = PySequence_GetItem(obj6, i);
11228 #if wxUSE_UNICODE
11229 PyObject* str = PyObject_Unicode(item);
11230 #else
11231 PyObject* str = PyObject_Str(item);
11232 #endif
11233 if (PyErr_Occurred()) SWIG_fail;
11234 arg7->Add(Py2wxString(str));
11235 Py_DECREF(item);
11236 Py_DECREF(str);
11237 }
11238 }
11239 }
11240 if (obj7) {
11241 arg8 = (int) SWIG_AsInt(obj7);
11242 if (PyErr_Occurred()) SWIG_fail;
11243 }
11244 if (obj8) {
11245 arg9 = (long) SWIG_AsLong(obj8);
11246 if (PyErr_Occurred()) SWIG_fail;
11247 }
11248 if (obj9) {
11249 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11250 SWIG_POINTER_EXCEPTION | 0)) == -1)
11251 SWIG_fail;
11252 if (arg10 == NULL) {
11253 PyErr_SetString(PyExc_TypeError,"null reference");
11254 SWIG_fail;
11255 }
11256 }
11257 if (obj10) {
11258 {
11259 arg11 = wxString_in_helper(obj10);
11260 if (arg11 == NULL) SWIG_fail;
11261 temp11 = True;
11262 }
11263 }
11264 {
11265 PyThreadState* __tstate = wxPyBeginAllowThreads();
11266 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);
11267
11268 wxPyEndAllowThreads(__tstate);
11269 if (PyErr_Occurred()) SWIG_fail;
11270 }
11271 {
11272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11273 }
11274 {
11275 if (temp4)
11276 delete arg4;
11277 }
11278 {
11279 if (temp7) delete arg7;
11280 }
11281 {
11282 if (temp11)
11283 delete arg11;
11284 }
11285 return resultobj;
11286 fail:
11287 {
11288 if (temp4)
11289 delete arg4;
11290 }
11291 {
11292 if (temp7) delete arg7;
11293 }
11294 {
11295 if (temp11)
11296 delete arg11;
11297 }
11298 return NULL;
11299 }
11300
11301
11302 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11303 PyObject *resultobj;
11304 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11305 int arg2 ;
11306 PyObject * obj0 = 0 ;
11307 PyObject * obj1 = 0 ;
11308 char *kwnames[] = {
11309 (char *) "self",(char *) "n", NULL
11310 };
11311
11312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11315 arg2 = (int) SWIG_AsInt(obj1);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 {
11318 PyThreadState* __tstate = wxPyBeginAllowThreads();
11319 (arg1)->SetSelection(arg2);
11320
11321 wxPyEndAllowThreads(__tstate);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
11324 Py_INCREF(Py_None); resultobj = Py_None;
11325 return resultobj;
11326 fail:
11327 return NULL;
11328 }
11329
11330
11331 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11332 PyObject *resultobj;
11333 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11334 int result;
11335 PyObject * obj0 = 0 ;
11336 char *kwnames[] = {
11337 (char *) "self", NULL
11338 };
11339
11340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
11341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11343 {
11344 PyThreadState* __tstate = wxPyBeginAllowThreads();
11345 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11346
11347 wxPyEndAllowThreads(__tstate);
11348 if (PyErr_Occurred()) SWIG_fail;
11349 }
11350 resultobj = SWIG_FromInt((int)result);
11351 return resultobj;
11352 fail:
11353 return NULL;
11354 }
11355
11356
11357 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11358 PyObject *resultobj;
11359 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11360 wxString result;
11361 PyObject * obj0 = 0 ;
11362 char *kwnames[] = {
11363 (char *) "self", NULL
11364 };
11365
11366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
11367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11369 {
11370 PyThreadState* __tstate = wxPyBeginAllowThreads();
11371 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11372
11373 wxPyEndAllowThreads(__tstate);
11374 if (PyErr_Occurred()) SWIG_fail;
11375 }
11376 {
11377 #if wxUSE_UNICODE
11378 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11379 #else
11380 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11381 #endif
11382 }
11383 return resultobj;
11384 fail:
11385 return NULL;
11386 }
11387
11388
11389 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11390 PyObject *resultobj;
11391 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11392 wxString *arg2 = 0 ;
11393 bool result;
11394 bool temp2 = False ;
11395 PyObject * obj0 = 0 ;
11396 PyObject * obj1 = 0 ;
11397 char *kwnames[] = {
11398 (char *) "self",(char *) "s", NULL
11399 };
11400
11401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
11402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11404 {
11405 arg2 = wxString_in_helper(obj1);
11406 if (arg2 == NULL) SWIG_fail;
11407 temp2 = True;
11408 }
11409 {
11410 PyThreadState* __tstate = wxPyBeginAllowThreads();
11411 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11412
11413 wxPyEndAllowThreads(__tstate);
11414 if (PyErr_Occurred()) SWIG_fail;
11415 }
11416 {
11417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11418 }
11419 {
11420 if (temp2)
11421 delete arg2;
11422 }
11423 return resultobj;
11424 fail:
11425 {
11426 if (temp2)
11427 delete arg2;
11428 }
11429 return NULL;
11430 }
11431
11432
11433 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
11434 PyObject *resultobj;
11435 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11436 int result;
11437 PyObject * obj0 = 0 ;
11438 char *kwnames[] = {
11439 (char *) "self", NULL
11440 };
11441
11442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
11443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11445 {
11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
11447 result = (int)((wxRadioBox const *)arg1)->GetCount();
11448
11449 wxPyEndAllowThreads(__tstate);
11450 if (PyErr_Occurred()) SWIG_fail;
11451 }
11452 resultobj = SWIG_FromInt((int)result);
11453 return resultobj;
11454 fail:
11455 return NULL;
11456 }
11457
11458
11459 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
11460 PyObject *resultobj;
11461 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11462 wxString *arg2 = 0 ;
11463 int result;
11464 bool temp2 = False ;
11465 PyObject * obj0 = 0 ;
11466 PyObject * obj1 = 0 ;
11467 char *kwnames[] = {
11468 (char *) "self",(char *) "s", NULL
11469 };
11470
11471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
11472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11474 {
11475 arg2 = wxString_in_helper(obj1);
11476 if (arg2 == NULL) SWIG_fail;
11477 temp2 = True;
11478 }
11479 {
11480 PyThreadState* __tstate = wxPyBeginAllowThreads();
11481 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11482
11483 wxPyEndAllowThreads(__tstate);
11484 if (PyErr_Occurred()) SWIG_fail;
11485 }
11486 resultobj = SWIG_FromInt((int)result);
11487 {
11488 if (temp2)
11489 delete arg2;
11490 }
11491 return resultobj;
11492 fail:
11493 {
11494 if (temp2)
11495 delete arg2;
11496 }
11497 return NULL;
11498 }
11499
11500
11501 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
11502 PyObject *resultobj;
11503 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11504 int arg2 ;
11505 wxString result;
11506 PyObject * obj0 = 0 ;
11507 PyObject * obj1 = 0 ;
11508 char *kwnames[] = {
11509 (char *) "self",(char *) "n", NULL
11510 };
11511
11512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
11513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11515 arg2 = (int) SWIG_AsInt(obj1);
11516 if (PyErr_Occurred()) SWIG_fail;
11517 {
11518 PyThreadState* __tstate = wxPyBeginAllowThreads();
11519 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11520
11521 wxPyEndAllowThreads(__tstate);
11522 if (PyErr_Occurred()) SWIG_fail;
11523 }
11524 {
11525 #if wxUSE_UNICODE
11526 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11527 #else
11528 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11529 #endif
11530 }
11531 return resultobj;
11532 fail:
11533 return NULL;
11534 }
11535
11536
11537 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
11538 PyObject *resultobj;
11539 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11540 int arg2 ;
11541 wxString *arg3 = 0 ;
11542 bool temp3 = False ;
11543 PyObject * obj0 = 0 ;
11544 PyObject * obj1 = 0 ;
11545 PyObject * obj2 = 0 ;
11546 char *kwnames[] = {
11547 (char *) "self",(char *) "n",(char *) "label", NULL
11548 };
11549
11550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11553 arg2 = (int) SWIG_AsInt(obj1);
11554 if (PyErr_Occurred()) SWIG_fail;
11555 {
11556 arg3 = wxString_in_helper(obj2);
11557 if (arg3 == NULL) SWIG_fail;
11558 temp3 = True;
11559 }
11560 {
11561 PyThreadState* __tstate = wxPyBeginAllowThreads();
11562 (arg1)->SetString(arg2,(wxString const &)*arg3);
11563
11564 wxPyEndAllowThreads(__tstate);
11565 if (PyErr_Occurred()) SWIG_fail;
11566 }
11567 Py_INCREF(Py_None); resultobj = Py_None;
11568 {
11569 if (temp3)
11570 delete arg3;
11571 }
11572 return resultobj;
11573 fail:
11574 {
11575 if (temp3)
11576 delete arg3;
11577 }
11578 return NULL;
11579 }
11580
11581
11582 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
11583 PyObject *resultobj;
11584 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11585 int arg2 ;
11586 bool arg3 = (bool) True ;
11587 PyObject * obj0 = 0 ;
11588 PyObject * obj1 = 0 ;
11589 PyObject * obj2 = 0 ;
11590 char *kwnames[] = {
11591 (char *) "self",(char *) "n",(char *) "enable", NULL
11592 };
11593
11594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11597 arg2 = (int) SWIG_AsInt(obj1);
11598 if (PyErr_Occurred()) SWIG_fail;
11599 if (obj2) {
11600 arg3 = (bool) SWIG_AsBool(obj2);
11601 if (PyErr_Occurred()) SWIG_fail;
11602 }
11603 {
11604 PyThreadState* __tstate = wxPyBeginAllowThreads();
11605 (arg1)->Enable(arg2,arg3);
11606
11607 wxPyEndAllowThreads(__tstate);
11608 if (PyErr_Occurred()) SWIG_fail;
11609 }
11610 Py_INCREF(Py_None); resultobj = Py_None;
11611 return resultobj;
11612 fail:
11613 return NULL;
11614 }
11615
11616
11617 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
11618 PyObject *resultobj;
11619 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11620 int arg2 ;
11621 bool arg3 = (bool) True ;
11622 PyObject * obj0 = 0 ;
11623 PyObject * obj1 = 0 ;
11624 PyObject * obj2 = 0 ;
11625 char *kwnames[] = {
11626 (char *) "self",(char *) "n",(char *) "show", NULL
11627 };
11628
11629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11632 arg2 = (int) SWIG_AsInt(obj1);
11633 if (PyErr_Occurred()) SWIG_fail;
11634 if (obj2) {
11635 arg3 = (bool) SWIG_AsBool(obj2);
11636 if (PyErr_Occurred()) SWIG_fail;
11637 }
11638 {
11639 PyThreadState* __tstate = wxPyBeginAllowThreads();
11640 (arg1)->Show(arg2,arg3);
11641
11642 wxPyEndAllowThreads(__tstate);
11643 if (PyErr_Occurred()) SWIG_fail;
11644 }
11645 Py_INCREF(Py_None); resultobj = Py_None;
11646 return resultobj;
11647 fail:
11648 return NULL;
11649 }
11650
11651
11652 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
11653 PyObject *resultobj;
11654 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11655 int result;
11656 PyObject * obj0 = 0 ;
11657 char *kwnames[] = {
11658 (char *) "self", NULL
11659 };
11660
11661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
11662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11664 {
11665 PyThreadState* __tstate = wxPyBeginAllowThreads();
11666 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
11667
11668 wxPyEndAllowThreads(__tstate);
11669 if (PyErr_Occurred()) SWIG_fail;
11670 }
11671 resultobj = SWIG_FromInt((int)result);
11672 return resultobj;
11673 fail:
11674 return NULL;
11675 }
11676
11677
11678 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
11679 PyObject *resultobj;
11680 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11681 int result;
11682 PyObject * obj0 = 0 ;
11683 char *kwnames[] = {
11684 (char *) "self", NULL
11685 };
11686
11687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
11688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11690 {
11691 PyThreadState* __tstate = wxPyBeginAllowThreads();
11692 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
11693
11694 wxPyEndAllowThreads(__tstate);
11695 if (PyErr_Occurred()) SWIG_fail;
11696 }
11697 resultobj = SWIG_FromInt((int)result);
11698 return resultobj;
11699 fail:
11700 return NULL;
11701 }
11702
11703
11704 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
11705 PyObject *resultobj;
11706 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11707 int arg2 ;
11708 int arg3 ;
11709 long arg4 ;
11710 int result;
11711 PyObject * obj0 = 0 ;
11712 PyObject * obj1 = 0 ;
11713 PyObject * obj2 = 0 ;
11714 PyObject * obj3 = 0 ;
11715 char *kwnames[] = {
11716 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11717 };
11718
11719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11722 arg2 = (int) SWIG_AsInt(obj1);
11723 if (PyErr_Occurred()) SWIG_fail;
11724 arg3 = (wxDirection) SWIG_AsInt(obj2);
11725 if (PyErr_Occurred()) SWIG_fail;
11726 arg4 = (long) SWIG_AsLong(obj3);
11727 if (PyErr_Occurred()) SWIG_fail;
11728 {
11729 PyThreadState* __tstate = wxPyBeginAllowThreads();
11730 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
11731
11732 wxPyEndAllowThreads(__tstate);
11733 if (PyErr_Occurred()) SWIG_fail;
11734 }
11735 resultobj = SWIG_FromInt((int)result);
11736 return resultobj;
11737 fail:
11738 return NULL;
11739 }
11740
11741
11742 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
11743 PyObject *obj;
11744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11745 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11746 Py_INCREF(obj);
11747 return Py_BuildValue((char *)"");
11748 }
11749 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
11750 PyObject *resultobj;
11751 wxWindow *arg1 = (wxWindow *) 0 ;
11752 int arg2 ;
11753 wxString *arg3 = 0 ;
11754 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11755 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11756 wxSize const &arg5_defvalue = wxDefaultSize ;
11757 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11758 long arg6 = (long) 0 ;
11759 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11760 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11761 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11762 wxString *arg8 = (wxString *) &arg8_defvalue ;
11763 wxRadioButton *result;
11764 bool temp3 = False ;
11765 wxPoint temp4 ;
11766 wxSize temp5 ;
11767 bool temp8 = False ;
11768 PyObject * obj0 = 0 ;
11769 PyObject * obj1 = 0 ;
11770 PyObject * obj2 = 0 ;
11771 PyObject * obj3 = 0 ;
11772 PyObject * obj4 = 0 ;
11773 PyObject * obj5 = 0 ;
11774 PyObject * obj6 = 0 ;
11775 PyObject * obj7 = 0 ;
11776 char *kwnames[] = {
11777 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11778 };
11779
11780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11783 arg2 = (int) SWIG_AsInt(obj1);
11784 if (PyErr_Occurred()) SWIG_fail;
11785 {
11786 arg3 = wxString_in_helper(obj2);
11787 if (arg3 == NULL) SWIG_fail;
11788 temp3 = True;
11789 }
11790 if (obj3) {
11791 {
11792 arg4 = &temp4;
11793 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11794 }
11795 }
11796 if (obj4) {
11797 {
11798 arg5 = &temp5;
11799 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11800 }
11801 }
11802 if (obj5) {
11803 arg6 = (long) SWIG_AsLong(obj5);
11804 if (PyErr_Occurred()) SWIG_fail;
11805 }
11806 if (obj6) {
11807 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
11808 SWIG_POINTER_EXCEPTION | 0)) == -1)
11809 SWIG_fail;
11810 if (arg7 == NULL) {
11811 PyErr_SetString(PyExc_TypeError,"null reference");
11812 SWIG_fail;
11813 }
11814 }
11815 if (obj7) {
11816 {
11817 arg8 = wxString_in_helper(obj7);
11818 if (arg8 == NULL) SWIG_fail;
11819 temp8 = True;
11820 }
11821 }
11822 {
11823 PyThreadState* __tstate = wxPyBeginAllowThreads();
11824 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11825
11826 wxPyEndAllowThreads(__tstate);
11827 if (PyErr_Occurred()) SWIG_fail;
11828 }
11829 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11830 {
11831 if (temp3)
11832 delete arg3;
11833 }
11834 {
11835 if (temp8)
11836 delete arg8;
11837 }
11838 return resultobj;
11839 fail:
11840 {
11841 if (temp3)
11842 delete arg3;
11843 }
11844 {
11845 if (temp8)
11846 delete arg8;
11847 }
11848 return NULL;
11849 }
11850
11851
11852 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
11853 PyObject *resultobj;
11854 wxRadioButton *result;
11855 char *kwnames[] = {
11856 NULL
11857 };
11858
11859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11860 {
11861 PyThreadState* __tstate = wxPyBeginAllowThreads();
11862 result = (wxRadioButton *)new wxRadioButton();
11863
11864 wxPyEndAllowThreads(__tstate);
11865 if (PyErr_Occurred()) SWIG_fail;
11866 }
11867 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11868 return resultobj;
11869 fail:
11870 return NULL;
11871 }
11872
11873
11874 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11875 PyObject *resultobj;
11876 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11877 wxWindow *arg2 = (wxWindow *) 0 ;
11878 int arg3 ;
11879 wxString *arg4 = 0 ;
11880 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11881 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11882 wxSize const &arg6_defvalue = wxDefaultSize ;
11883 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11884 long arg7 = (long) 0 ;
11885 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11886 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11887 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11888 wxString *arg9 = (wxString *) &arg9_defvalue ;
11889 bool result;
11890 bool temp4 = False ;
11891 wxPoint temp5 ;
11892 wxSize temp6 ;
11893 bool temp9 = False ;
11894 PyObject * obj0 = 0 ;
11895 PyObject * obj1 = 0 ;
11896 PyObject * obj2 = 0 ;
11897 PyObject * obj3 = 0 ;
11898 PyObject * obj4 = 0 ;
11899 PyObject * obj5 = 0 ;
11900 PyObject * obj6 = 0 ;
11901 PyObject * obj7 = 0 ;
11902 PyObject * obj8 = 0 ;
11903 char *kwnames[] = {
11904 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11905 };
11906
11907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
11908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11910 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11912 arg3 = (int) SWIG_AsInt(obj2);
11913 if (PyErr_Occurred()) SWIG_fail;
11914 {
11915 arg4 = wxString_in_helper(obj3);
11916 if (arg4 == NULL) SWIG_fail;
11917 temp4 = True;
11918 }
11919 if (obj4) {
11920 {
11921 arg5 = &temp5;
11922 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11923 }
11924 }
11925 if (obj5) {
11926 {
11927 arg6 = &temp6;
11928 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11929 }
11930 }
11931 if (obj6) {
11932 arg7 = (long) SWIG_AsLong(obj6);
11933 if (PyErr_Occurred()) SWIG_fail;
11934 }
11935 if (obj7) {
11936 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
11937 SWIG_POINTER_EXCEPTION | 0)) == -1)
11938 SWIG_fail;
11939 if (arg8 == NULL) {
11940 PyErr_SetString(PyExc_TypeError,"null reference");
11941 SWIG_fail;
11942 }
11943 }
11944 if (obj8) {
11945 {
11946 arg9 = wxString_in_helper(obj8);
11947 if (arg9 == NULL) SWIG_fail;
11948 temp9 = True;
11949 }
11950 }
11951 {
11952 PyThreadState* __tstate = wxPyBeginAllowThreads();
11953 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11954
11955 wxPyEndAllowThreads(__tstate);
11956 if (PyErr_Occurred()) SWIG_fail;
11957 }
11958 {
11959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11960 }
11961 {
11962 if (temp4)
11963 delete arg4;
11964 }
11965 {
11966 if (temp9)
11967 delete arg9;
11968 }
11969 return resultobj;
11970 fail:
11971 {
11972 if (temp4)
11973 delete arg4;
11974 }
11975 {
11976 if (temp9)
11977 delete arg9;
11978 }
11979 return NULL;
11980 }
11981
11982
11983 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
11984 PyObject *resultobj;
11985 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11986 bool result;
11987 PyObject * obj0 = 0 ;
11988 char *kwnames[] = {
11989 (char *) "self", NULL
11990 };
11991
11992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
11993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11995 {
11996 PyThreadState* __tstate = wxPyBeginAllowThreads();
11997 result = (bool)(arg1)->GetValue();
11998
11999 wxPyEndAllowThreads(__tstate);
12000 if (PyErr_Occurred()) SWIG_fail;
12001 }
12002 {
12003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12004 }
12005 return resultobj;
12006 fail:
12007 return NULL;
12008 }
12009
12010
12011 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12012 PyObject *resultobj;
12013 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12014 bool arg2 ;
12015 PyObject * obj0 = 0 ;
12016 PyObject * obj1 = 0 ;
12017 char *kwnames[] = {
12018 (char *) "self",(char *) "value", NULL
12019 };
12020
12021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12024 arg2 = (bool) SWIG_AsBool(obj1);
12025 if (PyErr_Occurred()) SWIG_fail;
12026 {
12027 PyThreadState* __tstate = wxPyBeginAllowThreads();
12028 (arg1)->SetValue(arg2);
12029
12030 wxPyEndAllowThreads(__tstate);
12031 if (PyErr_Occurred()) SWIG_fail;
12032 }
12033 Py_INCREF(Py_None); resultobj = Py_None;
12034 return resultobj;
12035 fail:
12036 return NULL;
12037 }
12038
12039
12040 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
12041 PyObject *obj;
12042 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12043 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12044 Py_INCREF(obj);
12045 return Py_BuildValue((char *)"");
12046 }
12047 static int _wrap_SliderNameStr_set(PyObject *) {
12048 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12049 return 1;
12050 }
12051
12052
12053 static PyObject *_wrap_SliderNameStr_get() {
12054 PyObject *pyobj;
12055
12056 {
12057 #if wxUSE_UNICODE
12058 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12059 #else
12060 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12061 #endif
12062 }
12063 return pyobj;
12064 }
12065
12066
12067 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
12068 PyObject *resultobj;
12069 wxWindow *arg1 = (wxWindow *) 0 ;
12070 int arg2 ;
12071 int arg3 ;
12072 int arg4 ;
12073 int arg5 ;
12074 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12075 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12076 wxSize const &arg7_defvalue = wxDefaultSize ;
12077 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12078 long arg8 = (long) wxSL_HORIZONTAL ;
12079 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12080 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12081 wxString const &arg10_defvalue = wxPySliderNameStr ;
12082 wxString *arg10 = (wxString *) &arg10_defvalue ;
12083 wxSlider *result;
12084 wxPoint temp6 ;
12085 wxSize temp7 ;
12086 bool temp10 = False ;
12087 PyObject * obj0 = 0 ;
12088 PyObject * obj1 = 0 ;
12089 PyObject * obj2 = 0 ;
12090 PyObject * obj3 = 0 ;
12091 PyObject * obj4 = 0 ;
12092 PyObject * obj5 = 0 ;
12093 PyObject * obj6 = 0 ;
12094 PyObject * obj7 = 0 ;
12095 PyObject * obj8 = 0 ;
12096 PyObject * obj9 = 0 ;
12097 char *kwnames[] = {
12098 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12099 };
12100
12101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12104 arg2 = (int) SWIG_AsInt(obj1);
12105 if (PyErr_Occurred()) SWIG_fail;
12106 arg3 = (int) SWIG_AsInt(obj2);
12107 if (PyErr_Occurred()) SWIG_fail;
12108 arg4 = (int) SWIG_AsInt(obj3);
12109 if (PyErr_Occurred()) SWIG_fail;
12110 arg5 = (int) SWIG_AsInt(obj4);
12111 if (PyErr_Occurred()) SWIG_fail;
12112 if (obj5) {
12113 {
12114 arg6 = &temp6;
12115 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12116 }
12117 }
12118 if (obj6) {
12119 {
12120 arg7 = &temp7;
12121 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12122 }
12123 }
12124 if (obj7) {
12125 arg8 = (long) SWIG_AsLong(obj7);
12126 if (PyErr_Occurred()) SWIG_fail;
12127 }
12128 if (obj8) {
12129 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12130 SWIG_POINTER_EXCEPTION | 0)) == -1)
12131 SWIG_fail;
12132 if (arg9 == NULL) {
12133 PyErr_SetString(PyExc_TypeError,"null reference");
12134 SWIG_fail;
12135 }
12136 }
12137 if (obj9) {
12138 {
12139 arg10 = wxString_in_helper(obj9);
12140 if (arg10 == NULL) SWIG_fail;
12141 temp10 = True;
12142 }
12143 }
12144 {
12145 PyThreadState* __tstate = wxPyBeginAllowThreads();
12146 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12147
12148 wxPyEndAllowThreads(__tstate);
12149 if (PyErr_Occurred()) SWIG_fail;
12150 }
12151 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12152 {
12153 if (temp10)
12154 delete arg10;
12155 }
12156 return resultobj;
12157 fail:
12158 {
12159 if (temp10)
12160 delete arg10;
12161 }
12162 return NULL;
12163 }
12164
12165
12166 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
12167 PyObject *resultobj;
12168 wxSlider *result;
12169 char *kwnames[] = {
12170 NULL
12171 };
12172
12173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12174 {
12175 PyThreadState* __tstate = wxPyBeginAllowThreads();
12176 result = (wxSlider *)new wxSlider();
12177
12178 wxPyEndAllowThreads(__tstate);
12179 if (PyErr_Occurred()) SWIG_fail;
12180 }
12181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12182 return resultobj;
12183 fail:
12184 return NULL;
12185 }
12186
12187
12188 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12189 PyObject *resultobj;
12190 wxSlider *arg1 = (wxSlider *) 0 ;
12191 wxWindow *arg2 = (wxWindow *) 0 ;
12192 int arg3 ;
12193 int arg4 ;
12194 int arg5 ;
12195 int arg6 ;
12196 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12197 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12198 wxSize const &arg8_defvalue = wxDefaultSize ;
12199 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
12200 long arg9 = (long) wxSL_HORIZONTAL ;
12201 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12202 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12203 wxString const &arg11_defvalue = wxPySliderNameStr ;
12204 wxString *arg11 = (wxString *) &arg11_defvalue ;
12205 bool result;
12206 wxPoint temp7 ;
12207 wxSize temp8 ;
12208 bool temp11 = False ;
12209 PyObject * obj0 = 0 ;
12210 PyObject * obj1 = 0 ;
12211 PyObject * obj2 = 0 ;
12212 PyObject * obj3 = 0 ;
12213 PyObject * obj4 = 0 ;
12214 PyObject * obj5 = 0 ;
12215 PyObject * obj6 = 0 ;
12216 PyObject * obj7 = 0 ;
12217 PyObject * obj8 = 0 ;
12218 PyObject * obj9 = 0 ;
12219 PyObject * obj10 = 0 ;
12220 char *kwnames[] = {
12221 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12222 };
12223
12224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12227 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12229 arg3 = (int) SWIG_AsInt(obj2);
12230 if (PyErr_Occurred()) SWIG_fail;
12231 arg4 = (int) SWIG_AsInt(obj3);
12232 if (PyErr_Occurred()) SWIG_fail;
12233 arg5 = (int) SWIG_AsInt(obj4);
12234 if (PyErr_Occurred()) SWIG_fail;
12235 arg6 = (int) SWIG_AsInt(obj5);
12236 if (PyErr_Occurred()) SWIG_fail;
12237 if (obj6) {
12238 {
12239 arg7 = &temp7;
12240 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12241 }
12242 }
12243 if (obj7) {
12244 {
12245 arg8 = &temp8;
12246 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12247 }
12248 }
12249 if (obj8) {
12250 arg9 = (long) SWIG_AsLong(obj8);
12251 if (PyErr_Occurred()) SWIG_fail;
12252 }
12253 if (obj9) {
12254 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12255 SWIG_POINTER_EXCEPTION | 0)) == -1)
12256 SWIG_fail;
12257 if (arg10 == NULL) {
12258 PyErr_SetString(PyExc_TypeError,"null reference");
12259 SWIG_fail;
12260 }
12261 }
12262 if (obj10) {
12263 {
12264 arg11 = wxString_in_helper(obj10);
12265 if (arg11 == NULL) SWIG_fail;
12266 temp11 = True;
12267 }
12268 }
12269 {
12270 PyThreadState* __tstate = wxPyBeginAllowThreads();
12271 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12272
12273 wxPyEndAllowThreads(__tstate);
12274 if (PyErr_Occurred()) SWIG_fail;
12275 }
12276 {
12277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12278 }
12279 {
12280 if (temp11)
12281 delete arg11;
12282 }
12283 return resultobj;
12284 fail:
12285 {
12286 if (temp11)
12287 delete arg11;
12288 }
12289 return NULL;
12290 }
12291
12292
12293 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12294 PyObject *resultobj;
12295 wxSlider *arg1 = (wxSlider *) 0 ;
12296 int result;
12297 PyObject * obj0 = 0 ;
12298 char *kwnames[] = {
12299 (char *) "self", NULL
12300 };
12301
12302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
12303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12305 {
12306 PyThreadState* __tstate = wxPyBeginAllowThreads();
12307 result = (int)((wxSlider const *)arg1)->GetValue();
12308
12309 wxPyEndAllowThreads(__tstate);
12310 if (PyErr_Occurred()) SWIG_fail;
12311 }
12312 resultobj = SWIG_FromInt((int)result);
12313 return resultobj;
12314 fail:
12315 return NULL;
12316 }
12317
12318
12319 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12320 PyObject *resultobj;
12321 wxSlider *arg1 = (wxSlider *) 0 ;
12322 int arg2 ;
12323 PyObject * obj0 = 0 ;
12324 PyObject * obj1 = 0 ;
12325 char *kwnames[] = {
12326 (char *) "self",(char *) "value", NULL
12327 };
12328
12329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
12330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12332 arg2 = (int) SWIG_AsInt(obj1);
12333 if (PyErr_Occurred()) SWIG_fail;
12334 {
12335 PyThreadState* __tstate = wxPyBeginAllowThreads();
12336 (arg1)->SetValue(arg2);
12337
12338 wxPyEndAllowThreads(__tstate);
12339 if (PyErr_Occurred()) SWIG_fail;
12340 }
12341 Py_INCREF(Py_None); resultobj = Py_None;
12342 return resultobj;
12343 fail:
12344 return NULL;
12345 }
12346
12347
12348 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12349 PyObject *resultobj;
12350 wxSlider *arg1 = (wxSlider *) 0 ;
12351 int arg2 ;
12352 int arg3 ;
12353 PyObject * obj0 = 0 ;
12354 PyObject * obj1 = 0 ;
12355 PyObject * obj2 = 0 ;
12356 char *kwnames[] = {
12357 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12358 };
12359
12360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12363 arg2 = (int) SWIG_AsInt(obj1);
12364 if (PyErr_Occurred()) SWIG_fail;
12365 arg3 = (int) SWIG_AsInt(obj2);
12366 if (PyErr_Occurred()) SWIG_fail;
12367 {
12368 PyThreadState* __tstate = wxPyBeginAllowThreads();
12369 (arg1)->SetRange(arg2,arg3);
12370
12371 wxPyEndAllowThreads(__tstate);
12372 if (PyErr_Occurred()) SWIG_fail;
12373 }
12374 Py_INCREF(Py_None); resultobj = Py_None;
12375 return resultobj;
12376 fail:
12377 return NULL;
12378 }
12379
12380
12381 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12382 PyObject *resultobj;
12383 wxSlider *arg1 = (wxSlider *) 0 ;
12384 int result;
12385 PyObject * obj0 = 0 ;
12386 char *kwnames[] = {
12387 (char *) "self", NULL
12388 };
12389
12390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
12391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12393 {
12394 PyThreadState* __tstate = wxPyBeginAllowThreads();
12395 result = (int)((wxSlider const *)arg1)->GetMin();
12396
12397 wxPyEndAllowThreads(__tstate);
12398 if (PyErr_Occurred()) SWIG_fail;
12399 }
12400 resultobj = SWIG_FromInt((int)result);
12401 return resultobj;
12402 fail:
12403 return NULL;
12404 }
12405
12406
12407 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12408 PyObject *resultobj;
12409 wxSlider *arg1 = (wxSlider *) 0 ;
12410 int result;
12411 PyObject * obj0 = 0 ;
12412 char *kwnames[] = {
12413 (char *) "self", NULL
12414 };
12415
12416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
12417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12419 {
12420 PyThreadState* __tstate = wxPyBeginAllowThreads();
12421 result = (int)((wxSlider const *)arg1)->GetMax();
12422
12423 wxPyEndAllowThreads(__tstate);
12424 if (PyErr_Occurred()) SWIG_fail;
12425 }
12426 resultobj = SWIG_FromInt((int)result);
12427 return resultobj;
12428 fail:
12429 return NULL;
12430 }
12431
12432
12433 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12434 PyObject *resultobj;
12435 wxSlider *arg1 = (wxSlider *) 0 ;
12436 int arg2 ;
12437 PyObject * obj0 = 0 ;
12438 PyObject * obj1 = 0 ;
12439 char *kwnames[] = {
12440 (char *) "self",(char *) "minValue", NULL
12441 };
12442
12443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
12444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12446 arg2 = (int) SWIG_AsInt(obj1);
12447 if (PyErr_Occurred()) SWIG_fail;
12448 {
12449 PyThreadState* __tstate = wxPyBeginAllowThreads();
12450 (arg1)->SetMin(arg2);
12451
12452 wxPyEndAllowThreads(__tstate);
12453 if (PyErr_Occurred()) SWIG_fail;
12454 }
12455 Py_INCREF(Py_None); resultobj = Py_None;
12456 return resultobj;
12457 fail:
12458 return NULL;
12459 }
12460
12461
12462 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12463 PyObject *resultobj;
12464 wxSlider *arg1 = (wxSlider *) 0 ;
12465 int arg2 ;
12466 PyObject * obj0 = 0 ;
12467 PyObject * obj1 = 0 ;
12468 char *kwnames[] = {
12469 (char *) "self",(char *) "maxValue", NULL
12470 };
12471
12472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
12473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12475 arg2 = (int) SWIG_AsInt(obj1);
12476 if (PyErr_Occurred()) SWIG_fail;
12477 {
12478 PyThreadState* __tstate = wxPyBeginAllowThreads();
12479 (arg1)->SetMax(arg2);
12480
12481 wxPyEndAllowThreads(__tstate);
12482 if (PyErr_Occurred()) SWIG_fail;
12483 }
12484 Py_INCREF(Py_None); resultobj = Py_None;
12485 return resultobj;
12486 fail:
12487 return NULL;
12488 }
12489
12490
12491 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
12492 PyObject *resultobj;
12493 wxSlider *arg1 = (wxSlider *) 0 ;
12494 int arg2 ;
12495 PyObject * obj0 = 0 ;
12496 PyObject * obj1 = 0 ;
12497 char *kwnames[] = {
12498 (char *) "self",(char *) "lineSize", NULL
12499 };
12500
12501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
12502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12504 arg2 = (int) SWIG_AsInt(obj1);
12505 if (PyErr_Occurred()) SWIG_fail;
12506 {
12507 PyThreadState* __tstate = wxPyBeginAllowThreads();
12508 (arg1)->SetLineSize(arg2);
12509
12510 wxPyEndAllowThreads(__tstate);
12511 if (PyErr_Occurred()) SWIG_fail;
12512 }
12513 Py_INCREF(Py_None); resultobj = Py_None;
12514 return resultobj;
12515 fail:
12516 return NULL;
12517 }
12518
12519
12520 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12521 PyObject *resultobj;
12522 wxSlider *arg1 = (wxSlider *) 0 ;
12523 int arg2 ;
12524 PyObject * obj0 = 0 ;
12525 PyObject * obj1 = 0 ;
12526 char *kwnames[] = {
12527 (char *) "self",(char *) "pageSize", NULL
12528 };
12529
12530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
12531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12533 arg2 = (int) SWIG_AsInt(obj1);
12534 if (PyErr_Occurred()) SWIG_fail;
12535 {
12536 PyThreadState* __tstate = wxPyBeginAllowThreads();
12537 (arg1)->SetPageSize(arg2);
12538
12539 wxPyEndAllowThreads(__tstate);
12540 if (PyErr_Occurred()) SWIG_fail;
12541 }
12542 Py_INCREF(Py_None); resultobj = Py_None;
12543 return resultobj;
12544 fail:
12545 return NULL;
12546 }
12547
12548
12549 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
12550 PyObject *resultobj;
12551 wxSlider *arg1 = (wxSlider *) 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:Slider_GetLineSize",kwnames,&obj0)) goto fail;
12559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12561 {
12562 PyThreadState* __tstate = wxPyBeginAllowThreads();
12563 result = (int)((wxSlider const *)arg1)->GetLineSize();
12564
12565 wxPyEndAllowThreads(__tstate);
12566 if (PyErr_Occurred()) SWIG_fail;
12567 }
12568 resultobj = SWIG_FromInt((int)result);
12569 return resultobj;
12570 fail:
12571 return NULL;
12572 }
12573
12574
12575 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12576 PyObject *resultobj;
12577 wxSlider *arg1 = (wxSlider *) 0 ;
12578 int result;
12579 PyObject * obj0 = 0 ;
12580 char *kwnames[] = {
12581 (char *) "self", NULL
12582 };
12583
12584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
12585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12587 {
12588 PyThreadState* __tstate = wxPyBeginAllowThreads();
12589 result = (int)((wxSlider const *)arg1)->GetPageSize();
12590
12591 wxPyEndAllowThreads(__tstate);
12592 if (PyErr_Occurred()) SWIG_fail;
12593 }
12594 resultobj = SWIG_FromInt((int)result);
12595 return resultobj;
12596 fail:
12597 return NULL;
12598 }
12599
12600
12601 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
12602 PyObject *resultobj;
12603 wxSlider *arg1 = (wxSlider *) 0 ;
12604 int arg2 ;
12605 PyObject * obj0 = 0 ;
12606 PyObject * obj1 = 0 ;
12607 char *kwnames[] = {
12608 (char *) "self",(char *) "lenPixels", NULL
12609 };
12610
12611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
12612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12614 arg2 = (int) SWIG_AsInt(obj1);
12615 if (PyErr_Occurred()) SWIG_fail;
12616 {
12617 PyThreadState* __tstate = wxPyBeginAllowThreads();
12618 (arg1)->SetThumbLength(arg2);
12619
12620 wxPyEndAllowThreads(__tstate);
12621 if (PyErr_Occurred()) SWIG_fail;
12622 }
12623 Py_INCREF(Py_None); resultobj = Py_None;
12624 return resultobj;
12625 fail:
12626 return NULL;
12627 }
12628
12629
12630 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
12631 PyObject *resultobj;
12632 wxSlider *arg1 = (wxSlider *) 0 ;
12633 int result;
12634 PyObject * obj0 = 0 ;
12635 char *kwnames[] = {
12636 (char *) "self", NULL
12637 };
12638
12639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
12640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12642 {
12643 PyThreadState* __tstate = wxPyBeginAllowThreads();
12644 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12645
12646 wxPyEndAllowThreads(__tstate);
12647 if (PyErr_Occurred()) SWIG_fail;
12648 }
12649 resultobj = SWIG_FromInt((int)result);
12650 return resultobj;
12651 fail:
12652 return NULL;
12653 }
12654
12655
12656 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
12657 PyObject *resultobj;
12658 wxSlider *arg1 = (wxSlider *) 0 ;
12659 int arg2 ;
12660 int arg3 = (int) 1 ;
12661 PyObject * obj0 = 0 ;
12662 PyObject * obj1 = 0 ;
12663 PyObject * obj2 = 0 ;
12664 char *kwnames[] = {
12665 (char *) "self",(char *) "n",(char *) "pos", NULL
12666 };
12667
12668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
12669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12671 arg2 = (int) SWIG_AsInt(obj1);
12672 if (PyErr_Occurred()) SWIG_fail;
12673 if (obj2) {
12674 arg3 = (int) SWIG_AsInt(obj2);
12675 if (PyErr_Occurred()) SWIG_fail;
12676 }
12677 {
12678 PyThreadState* __tstate = wxPyBeginAllowThreads();
12679 (arg1)->SetTickFreq(arg2,arg3);
12680
12681 wxPyEndAllowThreads(__tstate);
12682 if (PyErr_Occurred()) SWIG_fail;
12683 }
12684 Py_INCREF(Py_None); resultobj = Py_None;
12685 return resultobj;
12686 fail:
12687 return NULL;
12688 }
12689
12690
12691 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
12692 PyObject *resultobj;
12693 wxSlider *arg1 = (wxSlider *) 0 ;
12694 int result;
12695 PyObject * obj0 = 0 ;
12696 char *kwnames[] = {
12697 (char *) "self", NULL
12698 };
12699
12700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
12701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12703 {
12704 PyThreadState* __tstate = wxPyBeginAllowThreads();
12705 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12706
12707 wxPyEndAllowThreads(__tstate);
12708 if (PyErr_Occurred()) SWIG_fail;
12709 }
12710 resultobj = SWIG_FromInt((int)result);
12711 return resultobj;
12712 fail:
12713 return NULL;
12714 }
12715
12716
12717 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
12718 PyObject *resultobj;
12719 wxSlider *arg1 = (wxSlider *) 0 ;
12720 PyObject * obj0 = 0 ;
12721 char *kwnames[] = {
12722 (char *) "self", NULL
12723 };
12724
12725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
12726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12728 {
12729 PyThreadState* __tstate = wxPyBeginAllowThreads();
12730 (arg1)->ClearTicks();
12731
12732 wxPyEndAllowThreads(__tstate);
12733 if (PyErr_Occurred()) SWIG_fail;
12734 }
12735 Py_INCREF(Py_None); resultobj = Py_None;
12736 return resultobj;
12737 fail:
12738 return NULL;
12739 }
12740
12741
12742 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
12743 PyObject *resultobj;
12744 wxSlider *arg1 = (wxSlider *) 0 ;
12745 int arg2 ;
12746 PyObject * obj0 = 0 ;
12747 PyObject * obj1 = 0 ;
12748 char *kwnames[] = {
12749 (char *) "self",(char *) "tickPos", NULL
12750 };
12751
12752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
12753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12755 arg2 = (int) SWIG_AsInt(obj1);
12756 if (PyErr_Occurred()) SWIG_fail;
12757 {
12758 PyThreadState* __tstate = wxPyBeginAllowThreads();
12759 (arg1)->SetTick(arg2);
12760
12761 wxPyEndAllowThreads(__tstate);
12762 if (PyErr_Occurred()) SWIG_fail;
12763 }
12764 Py_INCREF(Py_None); resultobj = Py_None;
12765 return resultobj;
12766 fail:
12767 return NULL;
12768 }
12769
12770
12771 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
12772 PyObject *resultobj;
12773 wxSlider *arg1 = (wxSlider *) 0 ;
12774 PyObject * obj0 = 0 ;
12775 char *kwnames[] = {
12776 (char *) "self", NULL
12777 };
12778
12779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
12780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12782 {
12783 PyThreadState* __tstate = wxPyBeginAllowThreads();
12784 (arg1)->ClearSel();
12785
12786 wxPyEndAllowThreads(__tstate);
12787 if (PyErr_Occurred()) SWIG_fail;
12788 }
12789 Py_INCREF(Py_None); resultobj = Py_None;
12790 return resultobj;
12791 fail:
12792 return NULL;
12793 }
12794
12795
12796 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
12797 PyObject *resultobj;
12798 wxSlider *arg1 = (wxSlider *) 0 ;
12799 int result;
12800 PyObject * obj0 = 0 ;
12801 char *kwnames[] = {
12802 (char *) "self", NULL
12803 };
12804
12805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
12806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12808 {
12809 PyThreadState* __tstate = wxPyBeginAllowThreads();
12810 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12811
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 resultobj = SWIG_FromInt((int)result);
12816 return resultobj;
12817 fail:
12818 return NULL;
12819 }
12820
12821
12822 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
12823 PyObject *resultobj;
12824 wxSlider *arg1 = (wxSlider *) 0 ;
12825 int result;
12826 PyObject * obj0 = 0 ;
12827 char *kwnames[] = {
12828 (char *) "self", NULL
12829 };
12830
12831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
12832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12834 {
12835 PyThreadState* __tstate = wxPyBeginAllowThreads();
12836 result = (int)((wxSlider const *)arg1)->GetSelStart();
12837
12838 wxPyEndAllowThreads(__tstate);
12839 if (PyErr_Occurred()) SWIG_fail;
12840 }
12841 resultobj = SWIG_FromInt((int)result);
12842 return resultobj;
12843 fail:
12844 return NULL;
12845 }
12846
12847
12848 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12849 PyObject *resultobj;
12850 wxSlider *arg1 = (wxSlider *) 0 ;
12851 int arg2 ;
12852 int arg3 ;
12853 PyObject * obj0 = 0 ;
12854 PyObject * obj1 = 0 ;
12855 PyObject * obj2 = 0 ;
12856 char *kwnames[] = {
12857 (char *) "self",(char *) "min",(char *) "max", NULL
12858 };
12859
12860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
12861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12863 arg2 = (int) SWIG_AsInt(obj1);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 arg3 = (int) SWIG_AsInt(obj2);
12866 if (PyErr_Occurred()) SWIG_fail;
12867 {
12868 PyThreadState* __tstate = wxPyBeginAllowThreads();
12869 (arg1)->SetSelection(arg2,arg3);
12870
12871 wxPyEndAllowThreads(__tstate);
12872 if (PyErr_Occurred()) SWIG_fail;
12873 }
12874 Py_INCREF(Py_None); resultobj = Py_None;
12875 return resultobj;
12876 fail:
12877 return NULL;
12878 }
12879
12880
12881 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
12882 PyObject *obj;
12883 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12884 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12885 Py_INCREF(obj);
12886 return Py_BuildValue((char *)"");
12887 }
12888 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
12889 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12890 return 1;
12891 }
12892
12893
12894 static PyObject *_wrap_ToggleButtonNameStr_get() {
12895 PyObject *pyobj;
12896
12897 {
12898 #if wxUSE_UNICODE
12899 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12900 #else
12901 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12902 #endif
12903 }
12904 return pyobj;
12905 }
12906
12907
12908 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
12909 PyObject *resultobj;
12910 wxWindow *arg1 = (wxWindow *) 0 ;
12911 int arg2 ;
12912 wxString *arg3 = 0 ;
12913 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12914 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12915 wxSize const &arg5_defvalue = wxDefaultSize ;
12916 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12917 long arg6 = (long) 0 ;
12918 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12919 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12920 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
12921 wxString *arg8 = (wxString *) &arg8_defvalue ;
12922 wxToggleButton *result;
12923 bool temp3 = False ;
12924 wxPoint temp4 ;
12925 wxSize temp5 ;
12926 bool temp8 = False ;
12927 PyObject * obj0 = 0 ;
12928 PyObject * obj1 = 0 ;
12929 PyObject * obj2 = 0 ;
12930 PyObject * obj3 = 0 ;
12931 PyObject * obj4 = 0 ;
12932 PyObject * obj5 = 0 ;
12933 PyObject * obj6 = 0 ;
12934 PyObject * obj7 = 0 ;
12935 char *kwnames[] = {
12936 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12937 };
12938
12939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12942 arg2 = (int) SWIG_AsInt(obj1);
12943 if (PyErr_Occurred()) SWIG_fail;
12944 {
12945 arg3 = wxString_in_helper(obj2);
12946 if (arg3 == NULL) SWIG_fail;
12947 temp3 = True;
12948 }
12949 if (obj3) {
12950 {
12951 arg4 = &temp4;
12952 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12953 }
12954 }
12955 if (obj4) {
12956 {
12957 arg5 = &temp5;
12958 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12959 }
12960 }
12961 if (obj5) {
12962 arg6 = (long) SWIG_AsLong(obj5);
12963 if (PyErr_Occurred()) SWIG_fail;
12964 }
12965 if (obj6) {
12966 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12967 SWIG_POINTER_EXCEPTION | 0)) == -1)
12968 SWIG_fail;
12969 if (arg7 == NULL) {
12970 PyErr_SetString(PyExc_TypeError,"null reference");
12971 SWIG_fail;
12972 }
12973 }
12974 if (obj7) {
12975 {
12976 arg8 = wxString_in_helper(obj7);
12977 if (arg8 == NULL) SWIG_fail;
12978 temp8 = True;
12979 }
12980 }
12981 {
12982 PyThreadState* __tstate = wxPyBeginAllowThreads();
12983 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12984
12985 wxPyEndAllowThreads(__tstate);
12986 if (PyErr_Occurred()) SWIG_fail;
12987 }
12988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
12989 {
12990 if (temp3)
12991 delete arg3;
12992 }
12993 {
12994 if (temp8)
12995 delete arg8;
12996 }
12997 return resultobj;
12998 fail:
12999 {
13000 if (temp3)
13001 delete arg3;
13002 }
13003 {
13004 if (temp8)
13005 delete arg8;
13006 }
13007 return NULL;
13008 }
13009
13010
13011 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
13012 PyObject *resultobj;
13013 wxToggleButton *result;
13014 char *kwnames[] = {
13015 NULL
13016 };
13017
13018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
13019 {
13020 PyThreadState* __tstate = wxPyBeginAllowThreads();
13021 result = (wxToggleButton *)new wxToggleButton();
13022
13023 wxPyEndAllowThreads(__tstate);
13024 if (PyErr_Occurred()) SWIG_fail;
13025 }
13026 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13027 return resultobj;
13028 fail:
13029 return NULL;
13030 }
13031
13032
13033 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
13034 PyObject *obj;
13035 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13036 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
13037 Py_INCREF(obj);
13038 return Py_BuildValue((char *)"");
13039 }
13040 static int _wrap_NOTEBOOK_NAME_set(PyObject *) {
13041 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
13042 return 1;
13043 }
13044
13045
13046 static PyObject *_wrap_NOTEBOOK_NAME_get() {
13047 PyObject *pyobj;
13048
13049 {
13050 #if wxUSE_UNICODE
13051 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13052 #else
13053 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13054 #endif
13055 }
13056 return pyobj;
13057 }
13058
13059
13060 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
13061 PyObject *resultobj;
13062 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13063 size_t result;
13064 PyObject * obj0 = 0 ;
13065 char *kwnames[] = {
13066 (char *) "self", NULL
13067 };
13068
13069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
13070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13072 {
13073 PyThreadState* __tstate = wxPyBeginAllowThreads();
13074 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
13075
13076 wxPyEndAllowThreads(__tstate);
13077 if (PyErr_Occurred()) SWIG_fail;
13078 }
13079 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
13080 return resultobj;
13081 fail:
13082 return NULL;
13083 }
13084
13085
13086 static PyObject *_wrap_BookCtrl_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
13087 PyObject *resultobj;
13088 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13089 size_t arg2 ;
13090 wxWindow *result;
13091 PyObject * obj0 = 0 ;
13092 PyObject * obj1 = 0 ;
13093 char *kwnames[] = {
13094 (char *) "self",(char *) "n", NULL
13095 };
13096
13097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
13098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13100 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13101 if (PyErr_Occurred()) SWIG_fail;
13102 {
13103 PyThreadState* __tstate = wxPyBeginAllowThreads();
13104 result = (wxWindow *)(arg1)->GetPage(arg2);
13105
13106 wxPyEndAllowThreads(__tstate);
13107 if (PyErr_Occurred()) SWIG_fail;
13108 }
13109 {
13110 resultobj = wxPyMake_wxObject(result);
13111 }
13112 return resultobj;
13113 fail:
13114 return NULL;
13115 }
13116
13117
13118 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13119 PyObject *resultobj;
13120 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13121 int result;
13122 PyObject * obj0 = 0 ;
13123 char *kwnames[] = {
13124 (char *) "self", NULL
13125 };
13126
13127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
13128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13130 {
13131 PyThreadState* __tstate = wxPyBeginAllowThreads();
13132 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
13133
13134 wxPyEndAllowThreads(__tstate);
13135 if (PyErr_Occurred()) SWIG_fail;
13136 }
13137 resultobj = SWIG_FromInt((int)result);
13138 return resultobj;
13139 fail:
13140 return NULL;
13141 }
13142
13143
13144 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
13145 PyObject *resultobj;
13146 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13147 size_t arg2 ;
13148 wxString *arg3 = 0 ;
13149 bool result;
13150 bool temp3 = False ;
13151 PyObject * obj0 = 0 ;
13152 PyObject * obj1 = 0 ;
13153 PyObject * obj2 = 0 ;
13154 char *kwnames[] = {
13155 (char *) "self",(char *) "n",(char *) "strText", NULL
13156 };
13157
13158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
13159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13161 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13162 if (PyErr_Occurred()) SWIG_fail;
13163 {
13164 arg3 = wxString_in_helper(obj2);
13165 if (arg3 == NULL) SWIG_fail;
13166 temp3 = True;
13167 }
13168 {
13169 PyThreadState* __tstate = wxPyBeginAllowThreads();
13170 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
13171
13172 wxPyEndAllowThreads(__tstate);
13173 if (PyErr_Occurred()) SWIG_fail;
13174 }
13175 {
13176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13177 }
13178 {
13179 if (temp3)
13180 delete arg3;
13181 }
13182 return resultobj;
13183 fail:
13184 {
13185 if (temp3)
13186 delete arg3;
13187 }
13188 return NULL;
13189 }
13190
13191
13192 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
13193 PyObject *resultobj;
13194 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13195 size_t arg2 ;
13196 wxString result;
13197 PyObject * obj0 = 0 ;
13198 PyObject * obj1 = 0 ;
13199 char *kwnames[] = {
13200 (char *) "self",(char *) "n", NULL
13201 };
13202
13203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
13204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13206 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13207 if (PyErr_Occurred()) SWIG_fail;
13208 {
13209 PyThreadState* __tstate = wxPyBeginAllowThreads();
13210 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
13211
13212 wxPyEndAllowThreads(__tstate);
13213 if (PyErr_Occurred()) SWIG_fail;
13214 }
13215 {
13216 #if wxUSE_UNICODE
13217 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13218 #else
13219 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13220 #endif
13221 }
13222 return resultobj;
13223 fail:
13224 return NULL;
13225 }
13226
13227
13228 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
13229 PyObject *resultobj;
13230 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13231 wxImageList *arg2 = (wxImageList *) 0 ;
13232 PyObject * obj0 = 0 ;
13233 PyObject * obj1 = 0 ;
13234 char *kwnames[] = {
13235 (char *) "self",(char *) "imageList", NULL
13236 };
13237
13238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
13239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13241 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13243 {
13244 PyThreadState* __tstate = wxPyBeginAllowThreads();
13245 (arg1)->SetImageList(arg2);
13246
13247 wxPyEndAllowThreads(__tstate);
13248 if (PyErr_Occurred()) SWIG_fail;
13249 }
13250 Py_INCREF(Py_None); resultobj = Py_None;
13251 return resultobj;
13252 fail:
13253 return NULL;
13254 }
13255
13256
13257 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
13258 PyObject *resultobj;
13259 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13260 wxImageList *arg2 = (wxImageList *) 0 ;
13261 PyObject * obj0 = 0 ;
13262 PyObject * obj1 = 0 ;
13263 char *kwnames[] = {
13264 (char *) "self",(char *) "imageList", NULL
13265 };
13266
13267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
13268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13270 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13271 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
13272 {
13273 PyThreadState* __tstate = wxPyBeginAllowThreads();
13274 (arg1)->AssignImageList(arg2);
13275
13276 wxPyEndAllowThreads(__tstate);
13277 if (PyErr_Occurred()) SWIG_fail;
13278 }
13279 Py_INCREF(Py_None); resultobj = Py_None;
13280 return resultobj;
13281 fail:
13282 return NULL;
13283 }
13284
13285
13286 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
13287 PyObject *resultobj;
13288 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13289 wxImageList *result;
13290 PyObject * obj0 = 0 ;
13291 char *kwnames[] = {
13292 (char *) "self", NULL
13293 };
13294
13295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
13296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13298 {
13299 PyThreadState* __tstate = wxPyBeginAllowThreads();
13300 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
13301
13302 wxPyEndAllowThreads(__tstate);
13303 if (PyErr_Occurred()) SWIG_fail;
13304 }
13305 {
13306 resultobj = wxPyMake_wxObject(result);
13307 }
13308 return resultobj;
13309 fail:
13310 return NULL;
13311 }
13312
13313
13314 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
13315 PyObject *resultobj;
13316 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13317 size_t arg2 ;
13318 int result;
13319 PyObject * obj0 = 0 ;
13320 PyObject * obj1 = 0 ;
13321 char *kwnames[] = {
13322 (char *) "self",(char *) "n", NULL
13323 };
13324
13325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
13326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13328 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13329 if (PyErr_Occurred()) SWIG_fail;
13330 {
13331 PyThreadState* __tstate = wxPyBeginAllowThreads();
13332 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13333
13334 wxPyEndAllowThreads(__tstate);
13335 if (PyErr_Occurred()) SWIG_fail;
13336 }
13337 resultobj = SWIG_FromInt((int)result);
13338 return resultobj;
13339 fail:
13340 return NULL;
13341 }
13342
13343
13344 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
13345 PyObject *resultobj;
13346 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13347 size_t arg2 ;
13348 int arg3 ;
13349 bool result;
13350 PyObject * obj0 = 0 ;
13351 PyObject * obj1 = 0 ;
13352 PyObject * obj2 = 0 ;
13353 char *kwnames[] = {
13354 (char *) "self",(char *) "n",(char *) "imageId", NULL
13355 };
13356
13357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
13358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13360 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13361 if (PyErr_Occurred()) SWIG_fail;
13362 arg3 = (int) SWIG_AsInt(obj2);
13363 if (PyErr_Occurred()) SWIG_fail;
13364 {
13365 PyThreadState* __tstate = wxPyBeginAllowThreads();
13366 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13367
13368 wxPyEndAllowThreads(__tstate);
13369 if (PyErr_Occurred()) SWIG_fail;
13370 }
13371 {
13372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13373 }
13374 return resultobj;
13375 fail:
13376 return NULL;
13377 }
13378
13379
13380 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
13381 PyObject *resultobj;
13382 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13383 wxSize *arg2 = 0 ;
13384 wxSize temp2 ;
13385 PyObject * obj0 = 0 ;
13386 PyObject * obj1 = 0 ;
13387 char *kwnames[] = {
13388 (char *) "self",(char *) "size", NULL
13389 };
13390
13391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13394 {
13395 arg2 = &temp2;
13396 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13397 }
13398 {
13399 PyThreadState* __tstate = wxPyBeginAllowThreads();
13400 (arg1)->SetPageSize((wxSize const &)*arg2);
13401
13402 wxPyEndAllowThreads(__tstate);
13403 if (PyErr_Occurred()) SWIG_fail;
13404 }
13405 Py_INCREF(Py_None); resultobj = Py_None;
13406 return resultobj;
13407 fail:
13408 return NULL;
13409 }
13410
13411
13412 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
13413 PyObject *resultobj;
13414 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13415 wxSize *arg2 = 0 ;
13416 wxSize result;
13417 wxSize temp2 ;
13418 PyObject * obj0 = 0 ;
13419 PyObject * obj1 = 0 ;
13420 char *kwnames[] = {
13421 (char *) "self",(char *) "sizePage", NULL
13422 };
13423
13424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13427 {
13428 arg2 = &temp2;
13429 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13430 }
13431 {
13432 PyThreadState* __tstate = wxPyBeginAllowThreads();
13433 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13434
13435 wxPyEndAllowThreads(__tstate);
13436 if (PyErr_Occurred()) SWIG_fail;
13437 }
13438 {
13439 wxSize * resultptr;
13440 resultptr = new wxSize((wxSize &) result);
13441 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
13442 }
13443 return resultobj;
13444 fail:
13445 return NULL;
13446 }
13447
13448
13449 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
13450 PyObject *resultobj;
13451 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13452 size_t arg2 ;
13453 bool result;
13454 PyObject * obj0 = 0 ;
13455 PyObject * obj1 = 0 ;
13456 char *kwnames[] = {
13457 (char *) "self",(char *) "n", NULL
13458 };
13459
13460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
13461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13463 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13464 if (PyErr_Occurred()) SWIG_fail;
13465 {
13466 PyThreadState* __tstate = wxPyBeginAllowThreads();
13467 result = (bool)(arg1)->DeletePage(arg2);
13468
13469 wxPyEndAllowThreads(__tstate);
13470 if (PyErr_Occurred()) SWIG_fail;
13471 }
13472 {
13473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13474 }
13475 return resultobj;
13476 fail:
13477 return NULL;
13478 }
13479
13480
13481 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
13482 PyObject *resultobj;
13483 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13484 size_t arg2 ;
13485 bool result;
13486 PyObject * obj0 = 0 ;
13487 PyObject * obj1 = 0 ;
13488 char *kwnames[] = {
13489 (char *) "self",(char *) "n", NULL
13490 };
13491
13492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
13493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13495 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13496 if (PyErr_Occurred()) SWIG_fail;
13497 {
13498 PyThreadState* __tstate = wxPyBeginAllowThreads();
13499 result = (bool)(arg1)->RemovePage(arg2);
13500
13501 wxPyEndAllowThreads(__tstate);
13502 if (PyErr_Occurred()) SWIG_fail;
13503 }
13504 {
13505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13506 }
13507 return resultobj;
13508 fail:
13509 return NULL;
13510 }
13511
13512
13513 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
13514 PyObject *resultobj;
13515 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13516 bool result;
13517 PyObject * obj0 = 0 ;
13518 char *kwnames[] = {
13519 (char *) "self", NULL
13520 };
13521
13522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
13523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13525 {
13526 PyThreadState* __tstate = wxPyBeginAllowThreads();
13527 result = (bool)(arg1)->DeleteAllPages();
13528
13529 wxPyEndAllowThreads(__tstate);
13530 if (PyErr_Occurred()) SWIG_fail;
13531 }
13532 {
13533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13534 }
13535 return resultobj;
13536 fail:
13537 return NULL;
13538 }
13539
13540
13541 static PyObject *_wrap_BookCtrl_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
13542 PyObject *resultobj;
13543 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13544 wxWindow *arg2 = (wxWindow *) 0 ;
13545 wxString *arg3 = 0 ;
13546 bool arg4 = (bool) False ;
13547 int arg5 = (int) -1 ;
13548 bool result;
13549 bool temp3 = False ;
13550 PyObject * obj0 = 0 ;
13551 PyObject * obj1 = 0 ;
13552 PyObject * obj2 = 0 ;
13553 PyObject * obj3 = 0 ;
13554 PyObject * obj4 = 0 ;
13555 char *kwnames[] = {
13556 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13557 };
13558
13559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13562 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13564 {
13565 arg3 = wxString_in_helper(obj2);
13566 if (arg3 == NULL) SWIG_fail;
13567 temp3 = True;
13568 }
13569 if (obj3) {
13570 arg4 = (bool) SWIG_AsBool(obj3);
13571 if (PyErr_Occurred()) SWIG_fail;
13572 }
13573 if (obj4) {
13574 arg5 = (int) SWIG_AsInt(obj4);
13575 if (PyErr_Occurred()) SWIG_fail;
13576 }
13577 {
13578 PyThreadState* __tstate = wxPyBeginAllowThreads();
13579 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13580
13581 wxPyEndAllowThreads(__tstate);
13582 if (PyErr_Occurred()) SWIG_fail;
13583 }
13584 {
13585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13586 }
13587 {
13588 if (temp3)
13589 delete arg3;
13590 }
13591 return resultobj;
13592 fail:
13593 {
13594 if (temp3)
13595 delete arg3;
13596 }
13597 return NULL;
13598 }
13599
13600
13601 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
13602 PyObject *resultobj;
13603 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13604 size_t arg2 ;
13605 wxWindow *arg3 = (wxWindow *) 0 ;
13606 wxString *arg4 = 0 ;
13607 bool arg5 = (bool) False ;
13608 int arg6 = (int) -1 ;
13609 bool result;
13610 bool temp4 = False ;
13611 PyObject * obj0 = 0 ;
13612 PyObject * obj1 = 0 ;
13613 PyObject * obj2 = 0 ;
13614 PyObject * obj3 = 0 ;
13615 PyObject * obj4 = 0 ;
13616 PyObject * obj5 = 0 ;
13617 char *kwnames[] = {
13618 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13619 };
13620
13621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13624 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13625 if (PyErr_Occurred()) SWIG_fail;
13626 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
13627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13628 {
13629 arg4 = wxString_in_helper(obj3);
13630 if (arg4 == NULL) SWIG_fail;
13631 temp4 = True;
13632 }
13633 if (obj4) {
13634 arg5 = (bool) SWIG_AsBool(obj4);
13635 if (PyErr_Occurred()) SWIG_fail;
13636 }
13637 if (obj5) {
13638 arg6 = (int) SWIG_AsInt(obj5);
13639 if (PyErr_Occurred()) SWIG_fail;
13640 }
13641 {
13642 PyThreadState* __tstate = wxPyBeginAllowThreads();
13643 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13644
13645 wxPyEndAllowThreads(__tstate);
13646 if (PyErr_Occurred()) SWIG_fail;
13647 }
13648 {
13649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13650 }
13651 {
13652 if (temp4)
13653 delete arg4;
13654 }
13655 return resultobj;
13656 fail:
13657 {
13658 if (temp4)
13659 delete arg4;
13660 }
13661 return NULL;
13662 }
13663
13664
13665 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13666 PyObject *resultobj;
13667 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13668 size_t arg2 ;
13669 int result;
13670 PyObject * obj0 = 0 ;
13671 PyObject * obj1 = 0 ;
13672 char *kwnames[] = {
13673 (char *) "self",(char *) "n", NULL
13674 };
13675
13676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13679 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13680 if (PyErr_Occurred()) SWIG_fail;
13681 {
13682 PyThreadState* __tstate = wxPyBeginAllowThreads();
13683 result = (int)(arg1)->SetSelection(arg2);
13684
13685 wxPyEndAllowThreads(__tstate);
13686 if (PyErr_Occurred()) SWIG_fail;
13687 }
13688 resultobj = SWIG_FromInt((int)result);
13689 return resultobj;
13690 fail:
13691 return NULL;
13692 }
13693
13694
13695 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13696 PyObject *resultobj;
13697 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13698 bool arg2 = (bool) True ;
13699 PyObject * obj0 = 0 ;
13700 PyObject * obj1 = 0 ;
13701 char *kwnames[] = {
13702 (char *) "self",(char *) "forward", NULL
13703 };
13704
13705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
13706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13708 if (obj1) {
13709 arg2 = (bool) SWIG_AsBool(obj1);
13710 if (PyErr_Occurred()) SWIG_fail;
13711 }
13712 {
13713 PyThreadState* __tstate = wxPyBeginAllowThreads();
13714 (arg1)->AdvanceSelection(arg2);
13715
13716 wxPyEndAllowThreads(__tstate);
13717 if (PyErr_Occurred()) SWIG_fail;
13718 }
13719 Py_INCREF(Py_None); resultobj = Py_None;
13720 return resultobj;
13721 fail:
13722 return NULL;
13723 }
13724
13725
13726 static PyObject * BookCtrl_swigregister(PyObject *, PyObject *args) {
13727 PyObject *obj;
13728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13729 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
13730 Py_INCREF(obj);
13731 return Py_BuildValue((char *)"");
13732 }
13733 static PyObject *_wrap_new_BookCtrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13734 PyObject *resultobj;
13735 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13736 int arg2 = (int) 0 ;
13737 int arg3 = (int) -1 ;
13738 int arg4 = (int) -1 ;
13739 wxBookCtrlEvent *result;
13740 PyObject * obj0 = 0 ;
13741 PyObject * obj1 = 0 ;
13742 PyObject * obj2 = 0 ;
13743 PyObject * obj3 = 0 ;
13744 char *kwnames[] = {
13745 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13746 };
13747
13748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13749 if (obj0) {
13750 arg1 = (wxEventType) SWIG_AsInt(obj0);
13751 if (PyErr_Occurred()) SWIG_fail;
13752 }
13753 if (obj1) {
13754 arg2 = (int) SWIG_AsInt(obj1);
13755 if (PyErr_Occurred()) SWIG_fail;
13756 }
13757 if (obj2) {
13758 arg3 = (int) SWIG_AsInt(obj2);
13759 if (PyErr_Occurred()) SWIG_fail;
13760 }
13761 if (obj3) {
13762 arg4 = (int) SWIG_AsInt(obj3);
13763 if (PyErr_Occurred()) SWIG_fail;
13764 }
13765 {
13766 PyThreadState* __tstate = wxPyBeginAllowThreads();
13767 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
13768
13769 wxPyEndAllowThreads(__tstate);
13770 if (PyErr_Occurred()) SWIG_fail;
13771 }
13772 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
13773 return resultobj;
13774 fail:
13775 return NULL;
13776 }
13777
13778
13779 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13780 PyObject *resultobj;
13781 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13782 int result;
13783 PyObject * obj0 = 0 ;
13784 char *kwnames[] = {
13785 (char *) "self", NULL
13786 };
13787
13788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
13789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13791 {
13792 PyThreadState* __tstate = wxPyBeginAllowThreads();
13793 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
13794
13795 wxPyEndAllowThreads(__tstate);
13796 if (PyErr_Occurred()) SWIG_fail;
13797 }
13798 resultobj = SWIG_FromInt((int)result);
13799 return resultobj;
13800 fail:
13801 return NULL;
13802 }
13803
13804
13805 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13806 PyObject *resultobj;
13807 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13808 int arg2 ;
13809 PyObject * obj0 = 0 ;
13810 PyObject * obj1 = 0 ;
13811 char *kwnames[] = {
13812 (char *) "self",(char *) "nSel", NULL
13813 };
13814
13815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13818 arg2 = (int) SWIG_AsInt(obj1);
13819 if (PyErr_Occurred()) SWIG_fail;
13820 {
13821 PyThreadState* __tstate = wxPyBeginAllowThreads();
13822 (arg1)->SetSelection(arg2);
13823
13824 wxPyEndAllowThreads(__tstate);
13825 if (PyErr_Occurred()) SWIG_fail;
13826 }
13827 Py_INCREF(Py_None); resultobj = Py_None;
13828 return resultobj;
13829 fail:
13830 return NULL;
13831 }
13832
13833
13834 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13835 PyObject *resultobj;
13836 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13837 int result;
13838 PyObject * obj0 = 0 ;
13839 char *kwnames[] = {
13840 (char *) "self", NULL
13841 };
13842
13843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
13844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13846 {
13847 PyThreadState* __tstate = wxPyBeginAllowThreads();
13848 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
13849
13850 wxPyEndAllowThreads(__tstate);
13851 if (PyErr_Occurred()) SWIG_fail;
13852 }
13853 resultobj = SWIG_FromInt((int)result);
13854 return resultobj;
13855 fail:
13856 return NULL;
13857 }
13858
13859
13860 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13861 PyObject *resultobj;
13862 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13863 int arg2 ;
13864 PyObject * obj0 = 0 ;
13865 PyObject * obj1 = 0 ;
13866 char *kwnames[] = {
13867 (char *) "self",(char *) "nOldSel", NULL
13868 };
13869
13870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
13871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13873 arg2 = (int) SWIG_AsInt(obj1);
13874 if (PyErr_Occurred()) SWIG_fail;
13875 {
13876 PyThreadState* __tstate = wxPyBeginAllowThreads();
13877 (arg1)->SetOldSelection(arg2);
13878
13879 wxPyEndAllowThreads(__tstate);
13880 if (PyErr_Occurred()) SWIG_fail;
13881 }
13882 Py_INCREF(Py_None); resultobj = Py_None;
13883 return resultobj;
13884 fail:
13885 return NULL;
13886 }
13887
13888
13889 static PyObject * BookCtrlEvent_swigregister(PyObject *, PyObject *args) {
13890 PyObject *obj;
13891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13892 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
13893 Py_INCREF(obj);
13894 return Py_BuildValue((char *)"");
13895 }
13896 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
13897 PyObject *resultobj;
13898 wxWindow *arg1 = (wxWindow *) 0 ;
13899 int arg2 = (int) -1 ;
13900 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13901 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13902 wxSize const &arg4_defvalue = wxDefaultSize ;
13903 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13904 long arg5 = (long) 0 ;
13905 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
13906 wxString *arg6 = (wxString *) &arg6_defvalue ;
13907 wxNotebook *result;
13908 wxPoint temp3 ;
13909 wxSize temp4 ;
13910 bool temp6 = False ;
13911 PyObject * obj0 = 0 ;
13912 PyObject * obj1 = 0 ;
13913 PyObject * obj2 = 0 ;
13914 PyObject * obj3 = 0 ;
13915 PyObject * obj4 = 0 ;
13916 PyObject * obj5 = 0 ;
13917 char *kwnames[] = {
13918 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13919 };
13920
13921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13924 if (obj1) {
13925 arg2 = (int) SWIG_AsInt(obj1);
13926 if (PyErr_Occurred()) SWIG_fail;
13927 }
13928 if (obj2) {
13929 {
13930 arg3 = &temp3;
13931 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13932 }
13933 }
13934 if (obj3) {
13935 {
13936 arg4 = &temp4;
13937 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13938 }
13939 }
13940 if (obj4) {
13941 arg5 = (long) SWIG_AsLong(obj4);
13942 if (PyErr_Occurred()) SWIG_fail;
13943 }
13944 if (obj5) {
13945 {
13946 arg6 = wxString_in_helper(obj5);
13947 if (arg6 == NULL) SWIG_fail;
13948 temp6 = True;
13949 }
13950 }
13951 {
13952 PyThreadState* __tstate = wxPyBeginAllowThreads();
13953 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13954
13955 wxPyEndAllowThreads(__tstate);
13956 if (PyErr_Occurred()) SWIG_fail;
13957 }
13958 {
13959 resultobj = wxPyMake_wxObject(result);
13960 }
13961 {
13962 if (temp6)
13963 delete arg6;
13964 }
13965 return resultobj;
13966 fail:
13967 {
13968 if (temp6)
13969 delete arg6;
13970 }
13971 return NULL;
13972 }
13973
13974
13975 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
13976 PyObject *resultobj;
13977 wxNotebook *result;
13978 char *kwnames[] = {
13979 NULL
13980 };
13981
13982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
13983 {
13984 PyThreadState* __tstate = wxPyBeginAllowThreads();
13985 result = (wxNotebook *)new wxNotebook();
13986
13987 wxPyEndAllowThreads(__tstate);
13988 if (PyErr_Occurred()) SWIG_fail;
13989 }
13990 {
13991 resultobj = wxPyMake_wxObject(result);
13992 }
13993 return resultobj;
13994 fail:
13995 return NULL;
13996 }
13997
13998
13999 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14000 PyObject *resultobj;
14001 wxNotebook *arg1 = (wxNotebook *) 0 ;
14002 wxWindow *arg2 = (wxWindow *) 0 ;
14003 int arg3 ;
14004 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14005 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14006 wxSize const &arg5_defvalue = wxDefaultSize ;
14007 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14008 long arg6 = (long) 0 ;
14009 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
14010 wxString *arg7 = (wxString *) &arg7_defvalue ;
14011 bool result;
14012 wxPoint temp4 ;
14013 wxSize temp5 ;
14014 bool temp7 = False ;
14015 PyObject * obj0 = 0 ;
14016 PyObject * obj1 = 0 ;
14017 PyObject * obj2 = 0 ;
14018 PyObject * obj3 = 0 ;
14019 PyObject * obj4 = 0 ;
14020 PyObject * obj5 = 0 ;
14021 PyObject * obj6 = 0 ;
14022 char *kwnames[] = {
14023 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14024 };
14025
14026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14029 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14031 arg3 = (int) SWIG_AsInt(obj2);
14032 if (PyErr_Occurred()) SWIG_fail;
14033 if (obj3) {
14034 {
14035 arg4 = &temp4;
14036 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14037 }
14038 }
14039 if (obj4) {
14040 {
14041 arg5 = &temp5;
14042 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14043 }
14044 }
14045 if (obj5) {
14046 arg6 = (long) SWIG_AsLong(obj5);
14047 if (PyErr_Occurred()) SWIG_fail;
14048 }
14049 if (obj6) {
14050 {
14051 arg7 = wxString_in_helper(obj6);
14052 if (arg7 == NULL) SWIG_fail;
14053 temp7 = True;
14054 }
14055 }
14056 {
14057 PyThreadState* __tstate = wxPyBeginAllowThreads();
14058 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14059
14060 wxPyEndAllowThreads(__tstate);
14061 if (PyErr_Occurred()) SWIG_fail;
14062 }
14063 {
14064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14065 }
14066 {
14067 if (temp7)
14068 delete arg7;
14069 }
14070 return resultobj;
14071 fail:
14072 {
14073 if (temp7)
14074 delete arg7;
14075 }
14076 return NULL;
14077 }
14078
14079
14080 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
14081 PyObject *resultobj;
14082 wxNotebook *arg1 = (wxNotebook *) 0 ;
14083 int result;
14084 PyObject * obj0 = 0 ;
14085 char *kwnames[] = {
14086 (char *) "self", NULL
14087 };
14088
14089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
14090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14092 {
14093 PyThreadState* __tstate = wxPyBeginAllowThreads();
14094 result = (int)((wxNotebook const *)arg1)->GetRowCount();
14095
14096 wxPyEndAllowThreads(__tstate);
14097 if (PyErr_Occurred()) SWIG_fail;
14098 }
14099 resultobj = SWIG_FromInt((int)result);
14100 return resultobj;
14101 fail:
14102 return NULL;
14103 }
14104
14105
14106 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
14107 PyObject *resultobj;
14108 wxNotebook *arg1 = (wxNotebook *) 0 ;
14109 wxSize *arg2 = 0 ;
14110 wxSize temp2 ;
14111 PyObject * obj0 = 0 ;
14112 PyObject * obj1 = 0 ;
14113 char *kwnames[] = {
14114 (char *) "self",(char *) "padding", NULL
14115 };
14116
14117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
14118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14120 {
14121 arg2 = &temp2;
14122 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14123 }
14124 {
14125 PyThreadState* __tstate = wxPyBeginAllowThreads();
14126 (arg1)->SetPadding((wxSize const &)*arg2);
14127
14128 wxPyEndAllowThreads(__tstate);
14129 if (PyErr_Occurred()) SWIG_fail;
14130 }
14131 Py_INCREF(Py_None); resultobj = Py_None;
14132 return resultobj;
14133 fail:
14134 return NULL;
14135 }
14136
14137
14138 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
14139 PyObject *resultobj;
14140 wxNotebook *arg1 = (wxNotebook *) 0 ;
14141 wxSize *arg2 = 0 ;
14142 wxSize temp2 ;
14143 PyObject * obj0 = 0 ;
14144 PyObject * obj1 = 0 ;
14145 char *kwnames[] = {
14146 (char *) "self",(char *) "sz", NULL
14147 };
14148
14149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
14150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14152 {
14153 arg2 = &temp2;
14154 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14155 }
14156 {
14157 PyThreadState* __tstate = wxPyBeginAllowThreads();
14158 (arg1)->SetTabSize((wxSize const &)*arg2);
14159
14160 wxPyEndAllowThreads(__tstate);
14161 if (PyErr_Occurred()) SWIG_fail;
14162 }
14163 Py_INCREF(Py_None); resultobj = Py_None;
14164 return resultobj;
14165 fail:
14166 return NULL;
14167 }
14168
14169
14170 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
14171 PyObject *resultobj;
14172 wxNotebook *arg1 = (wxNotebook *) 0 ;
14173 wxPoint *arg2 = 0 ;
14174 long *arg3 = (long *) 0 ;
14175 int result;
14176 wxPoint temp2 ;
14177 long temp3 ;
14178 PyObject * obj0 = 0 ;
14179 PyObject * obj1 = 0 ;
14180 char *kwnames[] = {
14181 (char *) "self",(char *) "pt", NULL
14182 };
14183
14184 arg3 = &temp3;
14185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
14186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14188 {
14189 arg2 = &temp2;
14190 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14191 }
14192 {
14193 PyThreadState* __tstate = wxPyBeginAllowThreads();
14194 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
14195
14196 wxPyEndAllowThreads(__tstate);
14197 if (PyErr_Occurred()) SWIG_fail;
14198 }
14199 resultobj = SWIG_FromInt((int)result);
14200 {
14201 PyObject *o = PyInt_FromLong((long) (*arg3));
14202 resultobj = t_output_helper(resultobj,o);
14203 }
14204 return resultobj;
14205 fail:
14206 return NULL;
14207 }
14208
14209
14210 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
14211 PyObject *resultobj;
14212 wxNotebook *arg1 = (wxNotebook *) 0 ;
14213 wxSize *arg2 = 0 ;
14214 wxSize result;
14215 wxSize temp2 ;
14216 PyObject * obj0 = 0 ;
14217 PyObject * obj1 = 0 ;
14218 char *kwnames[] = {
14219 (char *) "self",(char *) "sizePage", NULL
14220 };
14221
14222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14225 {
14226 arg2 = &temp2;
14227 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14228 }
14229 {
14230 PyThreadState* __tstate = wxPyBeginAllowThreads();
14231 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14232
14233 wxPyEndAllowThreads(__tstate);
14234 if (PyErr_Occurred()) SWIG_fail;
14235 }
14236 {
14237 wxSize * resultptr;
14238 resultptr = new wxSize((wxSize &) result);
14239 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14240 }
14241 return resultobj;
14242 fail:
14243 return NULL;
14244 }
14245
14246
14247 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
14248 PyObject *obj;
14249 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14250 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
14251 Py_INCREF(obj);
14252 return Py_BuildValue((char *)"");
14253 }
14254 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14255 PyObject *resultobj;
14256 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14257 int arg2 = (int) 0 ;
14258 int arg3 = (int) -1 ;
14259 int arg4 = (int) -1 ;
14260 wxNotebookEvent *result;
14261 PyObject * obj0 = 0 ;
14262 PyObject * obj1 = 0 ;
14263 PyObject * obj2 = 0 ;
14264 PyObject * obj3 = 0 ;
14265 char *kwnames[] = {
14266 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14267 };
14268
14269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14270 if (obj0) {
14271 arg1 = (wxEventType) SWIG_AsInt(obj0);
14272 if (PyErr_Occurred()) SWIG_fail;
14273 }
14274 if (obj1) {
14275 arg2 = (int) SWIG_AsInt(obj1);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 }
14278 if (obj2) {
14279 arg3 = (int) SWIG_AsInt(obj2);
14280 if (PyErr_Occurred()) SWIG_fail;
14281 }
14282 if (obj3) {
14283 arg4 = (int) SWIG_AsInt(obj3);
14284 if (PyErr_Occurred()) SWIG_fail;
14285 }
14286 {
14287 PyThreadState* __tstate = wxPyBeginAllowThreads();
14288 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
14289
14290 wxPyEndAllowThreads(__tstate);
14291 if (PyErr_Occurred()) SWIG_fail;
14292 }
14293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
14294 return resultobj;
14295 fail:
14296 return NULL;
14297 }
14298
14299
14300 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
14301 PyObject *obj;
14302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14303 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
14304 Py_INCREF(obj);
14305 return Py_BuildValue((char *)"");
14306 }
14307 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
14308 PyObject *resultobj;
14309 wxWindow *arg1 = (wxWindow *) 0 ;
14310 int arg2 = (int) -1 ;
14311 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14312 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14313 wxSize const &arg4_defvalue = wxDefaultSize ;
14314 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14315 long arg5 = (long) 0 ;
14316 wxString const &arg6_defvalue = wxPyEmptyString ;
14317 wxString *arg6 = (wxString *) &arg6_defvalue ;
14318 wxListbook *result;
14319 wxPoint temp3 ;
14320 wxSize temp4 ;
14321 bool temp6 = False ;
14322 PyObject * obj0 = 0 ;
14323 PyObject * obj1 = 0 ;
14324 PyObject * obj2 = 0 ;
14325 PyObject * obj3 = 0 ;
14326 PyObject * obj4 = 0 ;
14327 PyObject * obj5 = 0 ;
14328 char *kwnames[] = {
14329 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14330 };
14331
14332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14335 if (obj1) {
14336 arg2 = (int) SWIG_AsInt(obj1);
14337 if (PyErr_Occurred()) SWIG_fail;
14338 }
14339 if (obj2) {
14340 {
14341 arg3 = &temp3;
14342 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14343 }
14344 }
14345 if (obj3) {
14346 {
14347 arg4 = &temp4;
14348 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14349 }
14350 }
14351 if (obj4) {
14352 arg5 = (long) SWIG_AsLong(obj4);
14353 if (PyErr_Occurred()) SWIG_fail;
14354 }
14355 if (obj5) {
14356 {
14357 arg6 = wxString_in_helper(obj5);
14358 if (arg6 == NULL) SWIG_fail;
14359 temp6 = True;
14360 }
14361 }
14362 {
14363 PyThreadState* __tstate = wxPyBeginAllowThreads();
14364 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14365
14366 wxPyEndAllowThreads(__tstate);
14367 if (PyErr_Occurred()) SWIG_fail;
14368 }
14369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14370 {
14371 if (temp6)
14372 delete arg6;
14373 }
14374 return resultobj;
14375 fail:
14376 {
14377 if (temp6)
14378 delete arg6;
14379 }
14380 return NULL;
14381 }
14382
14383
14384 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
14385 PyObject *resultobj;
14386 wxListbook *result;
14387 char *kwnames[] = {
14388 NULL
14389 };
14390
14391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14392 {
14393 PyThreadState* __tstate = wxPyBeginAllowThreads();
14394 result = (wxListbook *)new wxListbook();
14395
14396 wxPyEndAllowThreads(__tstate);
14397 if (PyErr_Occurred()) SWIG_fail;
14398 }
14399 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14400 return resultobj;
14401 fail:
14402 return NULL;
14403 }
14404
14405
14406 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14407 PyObject *resultobj;
14408 wxListbook *arg1 = (wxListbook *) 0 ;
14409 wxWindow *arg2 = (wxWindow *) 0 ;
14410 int arg3 ;
14411 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14412 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14413 wxSize const &arg5_defvalue = wxDefaultSize ;
14414 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14415 long arg6 = (long) 0 ;
14416 wxString const &arg7_defvalue = wxPyEmptyString ;
14417 wxString *arg7 = (wxString *) &arg7_defvalue ;
14418 bool result;
14419 wxPoint temp4 ;
14420 wxSize temp5 ;
14421 bool temp7 = False ;
14422 PyObject * obj0 = 0 ;
14423 PyObject * obj1 = 0 ;
14424 PyObject * obj2 = 0 ;
14425 PyObject * obj3 = 0 ;
14426 PyObject * obj4 = 0 ;
14427 PyObject * obj5 = 0 ;
14428 PyObject * obj6 = 0 ;
14429 char *kwnames[] = {
14430 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14431 };
14432
14433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14436 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14438 arg3 = (int) SWIG_AsInt(obj2);
14439 if (PyErr_Occurred()) SWIG_fail;
14440 if (obj3) {
14441 {
14442 arg4 = &temp4;
14443 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14444 }
14445 }
14446 if (obj4) {
14447 {
14448 arg5 = &temp5;
14449 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14450 }
14451 }
14452 if (obj5) {
14453 arg6 = (long) SWIG_AsLong(obj5);
14454 if (PyErr_Occurred()) SWIG_fail;
14455 }
14456 if (obj6) {
14457 {
14458 arg7 = wxString_in_helper(obj6);
14459 if (arg7 == NULL) SWIG_fail;
14460 temp7 = True;
14461 }
14462 }
14463 {
14464 PyThreadState* __tstate = wxPyBeginAllowThreads();
14465 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14466
14467 wxPyEndAllowThreads(__tstate);
14468 if (PyErr_Occurred()) SWIG_fail;
14469 }
14470 {
14471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14472 }
14473 {
14474 if (temp7)
14475 delete arg7;
14476 }
14477 return resultobj;
14478 fail:
14479 {
14480 if (temp7)
14481 delete arg7;
14482 }
14483 return NULL;
14484 }
14485
14486
14487 static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
14488 PyObject *resultobj;
14489 wxListbook *arg1 = (wxListbook *) 0 ;
14490 bool result;
14491 PyObject * obj0 = 0 ;
14492 char *kwnames[] = {
14493 (char *) "self", NULL
14494 };
14495
14496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
14497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14499 {
14500 PyThreadState* __tstate = wxPyBeginAllowThreads();
14501 result = (bool)((wxListbook const *)arg1)->IsVertical();
14502
14503 wxPyEndAllowThreads(__tstate);
14504 if (PyErr_Occurred()) SWIG_fail;
14505 }
14506 {
14507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14508 }
14509 return resultobj;
14510 fail:
14511 return NULL;
14512 }
14513
14514
14515 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
14516 PyObject *obj;
14517 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14518 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14519 Py_INCREF(obj);
14520 return Py_BuildValue((char *)"");
14521 }
14522 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14523 PyObject *resultobj;
14524 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14525 int arg2 = (int) 0 ;
14526 int arg3 = (int) -1 ;
14527 int arg4 = (int) -1 ;
14528 wxListbookEvent *result;
14529 PyObject * obj0 = 0 ;
14530 PyObject * obj1 = 0 ;
14531 PyObject * obj2 = 0 ;
14532 PyObject * obj3 = 0 ;
14533 char *kwnames[] = {
14534 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14535 };
14536
14537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14538 if (obj0) {
14539 arg1 = (wxEventType) SWIG_AsInt(obj0);
14540 if (PyErr_Occurred()) SWIG_fail;
14541 }
14542 if (obj1) {
14543 arg2 = (int) SWIG_AsInt(obj1);
14544 if (PyErr_Occurred()) SWIG_fail;
14545 }
14546 if (obj2) {
14547 arg3 = (int) SWIG_AsInt(obj2);
14548 if (PyErr_Occurred()) SWIG_fail;
14549 }
14550 if (obj3) {
14551 arg4 = (int) SWIG_AsInt(obj3);
14552 if (PyErr_Occurred()) SWIG_fail;
14553 }
14554 {
14555 PyThreadState* __tstate = wxPyBeginAllowThreads();
14556 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14557
14558 wxPyEndAllowThreads(__tstate);
14559 if (PyErr_Occurred()) SWIG_fail;
14560 }
14561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
14562 return resultobj;
14563 fail:
14564 return NULL;
14565 }
14566
14567
14568 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
14569 PyObject *obj;
14570 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14571 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14572 Py_INCREF(obj);
14573 return Py_BuildValue((char *)"");
14574 }
14575 static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
14576 PyObject *resultobj;
14577 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14578 wxBookCtrlSizer *result;
14579 PyObject * obj0 = 0 ;
14580 char *kwnames[] = {
14581 (char *) "nb", NULL
14582 };
14583
14584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
14585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14587 {
14588 PyThreadState* __tstate = wxPyBeginAllowThreads();
14589 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14590
14591 wxPyEndAllowThreads(__tstate);
14592 if (PyErr_Occurred()) SWIG_fail;
14593 }
14594 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
14595 return resultobj;
14596 fail:
14597 return NULL;
14598 }
14599
14600
14601 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
14602 PyObject *resultobj;
14603 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14604 PyObject * obj0 = 0 ;
14605 char *kwnames[] = {
14606 (char *) "self", NULL
14607 };
14608
14609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14612 {
14613 PyThreadState* __tstate = wxPyBeginAllowThreads();
14614 (arg1)->RecalcSizes();
14615
14616 wxPyEndAllowThreads(__tstate);
14617 if (PyErr_Occurred()) SWIG_fail;
14618 }
14619 Py_INCREF(Py_None); resultobj = Py_None;
14620 return resultobj;
14621 fail:
14622 return NULL;
14623 }
14624
14625
14626 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
14627 PyObject *resultobj;
14628 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14629 wxSize result;
14630 PyObject * obj0 = 0 ;
14631 char *kwnames[] = {
14632 (char *) "self", NULL
14633 };
14634
14635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
14636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14638 {
14639 PyThreadState* __tstate = wxPyBeginAllowThreads();
14640 result = (arg1)->CalcMin();
14641
14642 wxPyEndAllowThreads(__tstate);
14643 if (PyErr_Occurred()) SWIG_fail;
14644 }
14645 {
14646 wxSize * resultptr;
14647 resultptr = new wxSize((wxSize &) result);
14648 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14649 }
14650 return resultobj;
14651 fail:
14652 return NULL;
14653 }
14654
14655
14656 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
14657 PyObject *resultobj;
14658 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14659 wxBookCtrl *result;
14660 PyObject * obj0 = 0 ;
14661 char *kwnames[] = {
14662 (char *) "self", NULL
14663 };
14664
14665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
14666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14668 {
14669 PyThreadState* __tstate = wxPyBeginAllowThreads();
14670 result = (wxBookCtrl *)(arg1)->GetControl();
14671
14672 wxPyEndAllowThreads(__tstate);
14673 if (PyErr_Occurred()) SWIG_fail;
14674 }
14675 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
14676 return resultobj;
14677 fail:
14678 return NULL;
14679 }
14680
14681
14682 static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
14683 PyObject *obj;
14684 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14685 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14686 Py_INCREF(obj);
14687 return Py_BuildValue((char *)"");
14688 }
14689 static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
14690 PyObject *resultobj;
14691 wxNotebook *arg1 = (wxNotebook *) 0 ;
14692 wxNotebookSizer *result;
14693 PyObject * obj0 = 0 ;
14694 char *kwnames[] = {
14695 (char *) "nb", NULL
14696 };
14697
14698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
14699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14701 {
14702 PyThreadState* __tstate = wxPyBeginAllowThreads();
14703 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
14704
14705 wxPyEndAllowThreads(__tstate);
14706 if (PyErr_Occurred()) SWIG_fail;
14707 }
14708 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
14709 return resultobj;
14710 fail:
14711 return NULL;
14712 }
14713
14714
14715 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
14716 PyObject *resultobj;
14717 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14718 PyObject * obj0 = 0 ;
14719 char *kwnames[] = {
14720 (char *) "self", NULL
14721 };
14722
14723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14726 {
14727 PyThreadState* __tstate = wxPyBeginAllowThreads();
14728 (arg1)->RecalcSizes();
14729
14730 wxPyEndAllowThreads(__tstate);
14731 if (PyErr_Occurred()) SWIG_fail;
14732 }
14733 Py_INCREF(Py_None); resultobj = Py_None;
14734 return resultobj;
14735 fail:
14736 return NULL;
14737 }
14738
14739
14740 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
14741 PyObject *resultobj;
14742 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14743 wxSize result;
14744 PyObject * obj0 = 0 ;
14745 char *kwnames[] = {
14746 (char *) "self", NULL
14747 };
14748
14749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
14750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14752 {
14753 PyThreadState* __tstate = wxPyBeginAllowThreads();
14754 result = (arg1)->CalcMin();
14755
14756 wxPyEndAllowThreads(__tstate);
14757 if (PyErr_Occurred()) SWIG_fail;
14758 }
14759 {
14760 wxSize * resultptr;
14761 resultptr = new wxSize((wxSize &) result);
14762 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14763 }
14764 return resultobj;
14765 fail:
14766 return NULL;
14767 }
14768
14769
14770 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
14771 PyObject *resultobj;
14772 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14773 wxNotebook *result;
14774 PyObject * obj0 = 0 ;
14775 char *kwnames[] = {
14776 (char *) "self", NULL
14777 };
14778
14779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
14780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14782 {
14783 PyThreadState* __tstate = wxPyBeginAllowThreads();
14784 result = (wxNotebook *)(arg1)->GetNotebook();
14785
14786 wxPyEndAllowThreads(__tstate);
14787 if (PyErr_Occurred()) SWIG_fail;
14788 }
14789 {
14790 resultobj = wxPyMake_wxObject(result);
14791 }
14792 return resultobj;
14793 fail:
14794 return NULL;
14795 }
14796
14797
14798 static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
14799 PyObject *obj;
14800 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14801 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
14802 Py_INCREF(obj);
14803 return Py_BuildValue((char *)"");
14804 }
14805 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
14806 PyObject *resultobj;
14807 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14808 int result;
14809 PyObject * obj0 = 0 ;
14810 char *kwnames[] = {
14811 (char *) "self", NULL
14812 };
14813
14814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
14815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14817 {
14818 PyThreadState* __tstate = wxPyBeginAllowThreads();
14819 result = (int)(arg1)->GetId();
14820
14821 wxPyEndAllowThreads(__tstate);
14822 if (PyErr_Occurred()) SWIG_fail;
14823 }
14824 resultobj = SWIG_FromInt((int)result);
14825 return resultobj;
14826 fail:
14827 return NULL;
14828 }
14829
14830
14831 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
14832 PyObject *resultobj;
14833 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14834 wxControl *result;
14835 PyObject * obj0 = 0 ;
14836 char *kwnames[] = {
14837 (char *) "self", NULL
14838 };
14839
14840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
14841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14843 {
14844 PyThreadState* __tstate = wxPyBeginAllowThreads();
14845 result = (wxControl *)(arg1)->GetControl();
14846
14847 wxPyEndAllowThreads(__tstate);
14848 if (PyErr_Occurred()) SWIG_fail;
14849 }
14850 {
14851 resultobj = wxPyMake_wxObject(result);
14852 }
14853 return resultobj;
14854 fail:
14855 return NULL;
14856 }
14857
14858
14859 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
14860 PyObject *resultobj;
14861 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14862 wxToolBarBase *result;
14863 PyObject * obj0 = 0 ;
14864 char *kwnames[] = {
14865 (char *) "self", NULL
14866 };
14867
14868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
14869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14871 {
14872 PyThreadState* __tstate = wxPyBeginAllowThreads();
14873 result = (wxToolBarBase *)(arg1)->GetToolBar();
14874
14875 wxPyEndAllowThreads(__tstate);
14876 if (PyErr_Occurred()) SWIG_fail;
14877 }
14878 {
14879 resultobj = wxPyMake_wxObject(result);
14880 }
14881 return resultobj;
14882 fail:
14883 return NULL;
14884 }
14885
14886
14887 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
14888 PyObject *resultobj;
14889 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14890 int result;
14891 PyObject * obj0 = 0 ;
14892 char *kwnames[] = {
14893 (char *) "self", NULL
14894 };
14895
14896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
14897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14899 {
14900 PyThreadState* __tstate = wxPyBeginAllowThreads();
14901 result = (int)(arg1)->IsButton();
14902
14903 wxPyEndAllowThreads(__tstate);
14904 if (PyErr_Occurred()) SWIG_fail;
14905 }
14906 resultobj = SWIG_FromInt((int)result);
14907 return resultobj;
14908 fail:
14909 return NULL;
14910 }
14911
14912
14913 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
14914 PyObject *resultobj;
14915 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14916 int result;
14917 PyObject * obj0 = 0 ;
14918 char *kwnames[] = {
14919 (char *) "self", NULL
14920 };
14921
14922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
14923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14925 {
14926 PyThreadState* __tstate = wxPyBeginAllowThreads();
14927 result = (int)(arg1)->IsControl();
14928
14929 wxPyEndAllowThreads(__tstate);
14930 if (PyErr_Occurred()) SWIG_fail;
14931 }
14932 resultobj = SWIG_FromInt((int)result);
14933 return resultobj;
14934 fail:
14935 return NULL;
14936 }
14937
14938
14939 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
14940 PyObject *resultobj;
14941 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14942 int result;
14943 PyObject * obj0 = 0 ;
14944 char *kwnames[] = {
14945 (char *) "self", NULL
14946 };
14947
14948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
14949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14951 {
14952 PyThreadState* __tstate = wxPyBeginAllowThreads();
14953 result = (int)(arg1)->IsSeparator();
14954
14955 wxPyEndAllowThreads(__tstate);
14956 if (PyErr_Occurred()) SWIG_fail;
14957 }
14958 resultobj = SWIG_FromInt((int)result);
14959 return resultobj;
14960 fail:
14961 return NULL;
14962 }
14963
14964
14965 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14966 PyObject *resultobj;
14967 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14968 int result;
14969 PyObject * obj0 = 0 ;
14970 char *kwnames[] = {
14971 (char *) "self", NULL
14972 };
14973
14974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
14975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14977 {
14978 PyThreadState* __tstate = wxPyBeginAllowThreads();
14979 result = (int)(arg1)->GetStyle();
14980
14981 wxPyEndAllowThreads(__tstate);
14982 if (PyErr_Occurred()) SWIG_fail;
14983 }
14984 resultobj = SWIG_FromInt((int)result);
14985 return resultobj;
14986 fail:
14987 return NULL;
14988 }
14989
14990
14991 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
14992 PyObject *resultobj;
14993 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14994 int result;
14995 PyObject * obj0 = 0 ;
14996 char *kwnames[] = {
14997 (char *) "self", NULL
14998 };
14999
15000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
15001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15003 {
15004 PyThreadState* __tstate = wxPyBeginAllowThreads();
15005 result = (int)(arg1)->GetKind();
15006
15007 wxPyEndAllowThreads(__tstate);
15008 if (PyErr_Occurred()) SWIG_fail;
15009 }
15010 resultobj = SWIG_FromInt((int)result);
15011 return resultobj;
15012 fail:
15013 return NULL;
15014 }
15015
15016
15017 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
15018 PyObject *resultobj;
15019 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15020 bool result;
15021 PyObject * obj0 = 0 ;
15022 char *kwnames[] = {
15023 (char *) "self", NULL
15024 };
15025
15026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
15027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15029 {
15030 PyThreadState* __tstate = wxPyBeginAllowThreads();
15031 result = (bool)(arg1)->IsEnabled();
15032
15033 wxPyEndAllowThreads(__tstate);
15034 if (PyErr_Occurred()) SWIG_fail;
15035 }
15036 {
15037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15038 }
15039 return resultobj;
15040 fail:
15041 return NULL;
15042 }
15043
15044
15045 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
15046 PyObject *resultobj;
15047 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15048 bool result;
15049 PyObject * obj0 = 0 ;
15050 char *kwnames[] = {
15051 (char *) "self", NULL
15052 };
15053
15054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
15055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15057 {
15058 PyThreadState* __tstate = wxPyBeginAllowThreads();
15059 result = (bool)(arg1)->IsToggled();
15060
15061 wxPyEndAllowThreads(__tstate);
15062 if (PyErr_Occurred()) SWIG_fail;
15063 }
15064 {
15065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15066 }
15067 return resultobj;
15068 fail:
15069 return NULL;
15070 }
15071
15072
15073 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
15074 PyObject *resultobj;
15075 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15076 bool result;
15077 PyObject * obj0 = 0 ;
15078 char *kwnames[] = {
15079 (char *) "self", NULL
15080 };
15081
15082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
15083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15085 {
15086 PyThreadState* __tstate = wxPyBeginAllowThreads();
15087 result = (bool)(arg1)->CanBeToggled();
15088
15089 wxPyEndAllowThreads(__tstate);
15090 if (PyErr_Occurred()) SWIG_fail;
15091 }
15092 {
15093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15094 }
15095 return resultobj;
15096 fail:
15097 return NULL;
15098 }
15099
15100
15101 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
15102 PyObject *resultobj;
15103 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15104 wxBitmap *result;
15105 PyObject * obj0 = 0 ;
15106 char *kwnames[] = {
15107 (char *) "self", NULL
15108 };
15109
15110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
15111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15113 {
15114 PyThreadState* __tstate = wxPyBeginAllowThreads();
15115 {
15116 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
15117 result = (wxBitmap *) &_result_ref;
15118 }
15119
15120 wxPyEndAllowThreads(__tstate);
15121 if (PyErr_Occurred()) SWIG_fail;
15122 }
15123 {
15124 wxBitmap* resultptr = new wxBitmap(*result);
15125 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15126 }
15127 return resultobj;
15128 fail:
15129 return NULL;
15130 }
15131
15132
15133 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
15134 PyObject *resultobj;
15135 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15136 wxBitmap *result;
15137 PyObject * obj0 = 0 ;
15138 char *kwnames[] = {
15139 (char *) "self", NULL
15140 };
15141
15142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
15143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15145 {
15146 PyThreadState* __tstate = wxPyBeginAllowThreads();
15147 {
15148 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
15149 result = (wxBitmap *) &_result_ref;
15150 }
15151
15152 wxPyEndAllowThreads(__tstate);
15153 if (PyErr_Occurred()) SWIG_fail;
15154 }
15155 {
15156 wxBitmap* resultptr = new wxBitmap(*result);
15157 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15158 }
15159 return resultobj;
15160 fail:
15161 return NULL;
15162 }
15163
15164
15165 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
15166 PyObject *resultobj;
15167 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15168 wxBitmap result;
15169 PyObject * obj0 = 0 ;
15170 char *kwnames[] = {
15171 (char *) "self", NULL
15172 };
15173
15174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
15175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15177 {
15178 PyThreadState* __tstate = wxPyBeginAllowThreads();
15179 result = (arg1)->GetBitmap();
15180
15181 wxPyEndAllowThreads(__tstate);
15182 if (PyErr_Occurred()) SWIG_fail;
15183 }
15184 {
15185 wxBitmap * resultptr;
15186 resultptr = new wxBitmap((wxBitmap &) result);
15187 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15188 }
15189 return resultobj;
15190 fail:
15191 return NULL;
15192 }
15193
15194
15195 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
15196 PyObject *resultobj;
15197 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15198 wxString result;
15199 PyObject * obj0 = 0 ;
15200 char *kwnames[] = {
15201 (char *) "self", NULL
15202 };
15203
15204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
15205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15207 {
15208 PyThreadState* __tstate = wxPyBeginAllowThreads();
15209 result = (arg1)->GetLabel();
15210
15211 wxPyEndAllowThreads(__tstate);
15212 if (PyErr_Occurred()) SWIG_fail;
15213 }
15214 {
15215 #if wxUSE_UNICODE
15216 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15217 #else
15218 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15219 #endif
15220 }
15221 return resultobj;
15222 fail:
15223 return NULL;
15224 }
15225
15226
15227 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15228 PyObject *resultobj;
15229 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15230 wxString result;
15231 PyObject * obj0 = 0 ;
15232 char *kwnames[] = {
15233 (char *) "self", NULL
15234 };
15235
15236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15239 {
15240 PyThreadState* __tstate = wxPyBeginAllowThreads();
15241 result = (arg1)->GetShortHelp();
15242
15243 wxPyEndAllowThreads(__tstate);
15244 if (PyErr_Occurred()) SWIG_fail;
15245 }
15246 {
15247 #if wxUSE_UNICODE
15248 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15249 #else
15250 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15251 #endif
15252 }
15253 return resultobj;
15254 fail:
15255 return NULL;
15256 }
15257
15258
15259 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15260 PyObject *resultobj;
15261 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15262 wxString result;
15263 PyObject * obj0 = 0 ;
15264 char *kwnames[] = {
15265 (char *) "self", NULL
15266 };
15267
15268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15271 {
15272 PyThreadState* __tstate = wxPyBeginAllowThreads();
15273 result = (arg1)->GetLongHelp();
15274
15275 wxPyEndAllowThreads(__tstate);
15276 if (PyErr_Occurred()) SWIG_fail;
15277 }
15278 {
15279 #if wxUSE_UNICODE
15280 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15281 #else
15282 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15283 #endif
15284 }
15285 return resultobj;
15286 fail:
15287 return NULL;
15288 }
15289
15290
15291 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
15292 PyObject *resultobj;
15293 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15294 bool arg2 ;
15295 bool result;
15296 PyObject * obj0 = 0 ;
15297 PyObject * obj1 = 0 ;
15298 char *kwnames[] = {
15299 (char *) "self",(char *) "enable", NULL
15300 };
15301
15302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15305 arg2 = (bool) SWIG_AsBool(obj1);
15306 if (PyErr_Occurred()) SWIG_fail;
15307 {
15308 PyThreadState* __tstate = wxPyBeginAllowThreads();
15309 result = (bool)(arg1)->Enable(arg2);
15310
15311 wxPyEndAllowThreads(__tstate);
15312 if (PyErr_Occurred()) SWIG_fail;
15313 }
15314 {
15315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15316 }
15317 return resultobj;
15318 fail:
15319 return NULL;
15320 }
15321
15322
15323 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
15324 PyObject *resultobj;
15325 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15326 PyObject * obj0 = 0 ;
15327 char *kwnames[] = {
15328 (char *) "self", NULL
15329 };
15330
15331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
15332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15334 {
15335 PyThreadState* __tstate = wxPyBeginAllowThreads();
15336 (arg1)->Toggle();
15337
15338 wxPyEndAllowThreads(__tstate);
15339 if (PyErr_Occurred()) SWIG_fail;
15340 }
15341 Py_INCREF(Py_None); resultobj = Py_None;
15342 return resultobj;
15343 fail:
15344 return NULL;
15345 }
15346
15347
15348 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
15349 PyObject *resultobj;
15350 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15351 bool arg2 ;
15352 bool result;
15353 PyObject * obj0 = 0 ;
15354 PyObject * obj1 = 0 ;
15355 char *kwnames[] = {
15356 (char *) "self",(char *) "toggle", NULL
15357 };
15358
15359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15362 arg2 = (bool) SWIG_AsBool(obj1);
15363 if (PyErr_Occurred()) SWIG_fail;
15364 {
15365 PyThreadState* __tstate = wxPyBeginAllowThreads();
15366 result = (bool)(arg1)->SetToggle(arg2);
15367
15368 wxPyEndAllowThreads(__tstate);
15369 if (PyErr_Occurred()) SWIG_fail;
15370 }
15371 {
15372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15373 }
15374 return resultobj;
15375 fail:
15376 return NULL;
15377 }
15378
15379
15380 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15381 PyObject *resultobj;
15382 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15383 wxString *arg2 = 0 ;
15384 bool result;
15385 bool temp2 = False ;
15386 PyObject * obj0 = 0 ;
15387 PyObject * obj1 = 0 ;
15388 char *kwnames[] = {
15389 (char *) "self",(char *) "help", NULL
15390 };
15391
15392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15395 {
15396 arg2 = wxString_in_helper(obj1);
15397 if (arg2 == NULL) SWIG_fail;
15398 temp2 = True;
15399 }
15400 {
15401 PyThreadState* __tstate = wxPyBeginAllowThreads();
15402 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15403
15404 wxPyEndAllowThreads(__tstate);
15405 if (PyErr_Occurred()) SWIG_fail;
15406 }
15407 {
15408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15409 }
15410 {
15411 if (temp2)
15412 delete arg2;
15413 }
15414 return resultobj;
15415 fail:
15416 {
15417 if (temp2)
15418 delete arg2;
15419 }
15420 return NULL;
15421 }
15422
15423
15424 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15425 PyObject *resultobj;
15426 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15427 wxString *arg2 = 0 ;
15428 bool result;
15429 bool temp2 = False ;
15430 PyObject * obj0 = 0 ;
15431 PyObject * obj1 = 0 ;
15432 char *kwnames[] = {
15433 (char *) "self",(char *) "help", NULL
15434 };
15435
15436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15439 {
15440 arg2 = wxString_in_helper(obj1);
15441 if (arg2 == NULL) SWIG_fail;
15442 temp2 = True;
15443 }
15444 {
15445 PyThreadState* __tstate = wxPyBeginAllowThreads();
15446 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15447
15448 wxPyEndAllowThreads(__tstate);
15449 if (PyErr_Occurred()) SWIG_fail;
15450 }
15451 {
15452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15453 }
15454 {
15455 if (temp2)
15456 delete arg2;
15457 }
15458 return resultobj;
15459 fail:
15460 {
15461 if (temp2)
15462 delete arg2;
15463 }
15464 return NULL;
15465 }
15466
15467
15468 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
15469 PyObject *resultobj;
15470 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15471 wxBitmap *arg2 = 0 ;
15472 PyObject * obj0 = 0 ;
15473 PyObject * obj1 = 0 ;
15474 char *kwnames[] = {
15475 (char *) "self",(char *) "bmp", NULL
15476 };
15477
15478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15481 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15482 SWIG_POINTER_EXCEPTION | 0)) == -1)
15483 SWIG_fail;
15484 if (arg2 == NULL) {
15485 PyErr_SetString(PyExc_TypeError,"null reference");
15486 SWIG_fail;
15487 }
15488 {
15489 PyThreadState* __tstate = wxPyBeginAllowThreads();
15490 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15491
15492 wxPyEndAllowThreads(__tstate);
15493 if (PyErr_Occurred()) SWIG_fail;
15494 }
15495 Py_INCREF(Py_None); resultobj = Py_None;
15496 return resultobj;
15497 fail:
15498 return NULL;
15499 }
15500
15501
15502 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
15503 PyObject *resultobj;
15504 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15505 wxBitmap *arg2 = 0 ;
15506 PyObject * obj0 = 0 ;
15507 PyObject * obj1 = 0 ;
15508 char *kwnames[] = {
15509 (char *) "self",(char *) "bmp", NULL
15510 };
15511
15512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15515 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15516 SWIG_POINTER_EXCEPTION | 0)) == -1)
15517 SWIG_fail;
15518 if (arg2 == NULL) {
15519 PyErr_SetString(PyExc_TypeError,"null reference");
15520 SWIG_fail;
15521 }
15522 {
15523 PyThreadState* __tstate = wxPyBeginAllowThreads();
15524 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15525
15526 wxPyEndAllowThreads(__tstate);
15527 if (PyErr_Occurred()) SWIG_fail;
15528 }
15529 Py_INCREF(Py_None); resultobj = Py_None;
15530 return resultobj;
15531 fail:
15532 return NULL;
15533 }
15534
15535
15536 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
15537 PyObject *resultobj;
15538 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15539 wxString *arg2 = 0 ;
15540 bool temp2 = False ;
15541 PyObject * obj0 = 0 ;
15542 PyObject * obj1 = 0 ;
15543 char *kwnames[] = {
15544 (char *) "self",(char *) "label", NULL
15545 };
15546
15547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15550 {
15551 arg2 = wxString_in_helper(obj1);
15552 if (arg2 == NULL) SWIG_fail;
15553 temp2 = True;
15554 }
15555 {
15556 PyThreadState* __tstate = wxPyBeginAllowThreads();
15557 (arg1)->SetLabel((wxString const &)*arg2);
15558
15559 wxPyEndAllowThreads(__tstate);
15560 if (PyErr_Occurred()) SWIG_fail;
15561 }
15562 Py_INCREF(Py_None); resultobj = Py_None;
15563 {
15564 if (temp2)
15565 delete arg2;
15566 }
15567 return resultobj;
15568 fail:
15569 {
15570 if (temp2)
15571 delete arg2;
15572 }
15573 return NULL;
15574 }
15575
15576
15577 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
15578 PyObject *resultobj;
15579 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15580 PyObject * obj0 = 0 ;
15581 char *kwnames[] = {
15582 (char *) "self", NULL
15583 };
15584
15585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15588 {
15589 PyThreadState* __tstate = wxPyBeginAllowThreads();
15590 (arg1)->Detach();
15591
15592 wxPyEndAllowThreads(__tstate);
15593 if (PyErr_Occurred()) SWIG_fail;
15594 }
15595 Py_INCREF(Py_None); resultobj = Py_None;
15596 return resultobj;
15597 fail:
15598 return NULL;
15599 }
15600
15601
15602 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
15603 PyObject *resultobj;
15604 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15605 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15606 PyObject * obj0 = 0 ;
15607 PyObject * obj1 = 0 ;
15608 char *kwnames[] = {
15609 (char *) "self",(char *) "tbar", NULL
15610 };
15611
15612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15615 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
15616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15617 {
15618 PyThreadState* __tstate = wxPyBeginAllowThreads();
15619 (arg1)->Attach(arg2);
15620
15621 wxPyEndAllowThreads(__tstate);
15622 if (PyErr_Occurred()) SWIG_fail;
15623 }
15624 Py_INCREF(Py_None); resultobj = Py_None;
15625 return resultobj;
15626 fail:
15627 return NULL;
15628 }
15629
15630
15631 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
15632 PyObject *resultobj;
15633 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15634 PyObject *result;
15635 PyObject * obj0 = 0 ;
15636 char *kwnames[] = {
15637 (char *) "self", NULL
15638 };
15639
15640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15643 {
15644 PyThreadState* __tstate = wxPyBeginAllowThreads();
15645 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15646
15647 wxPyEndAllowThreads(__tstate);
15648 if (PyErr_Occurred()) SWIG_fail;
15649 }
15650 resultobj = result;
15651 return resultobj;
15652 fail:
15653 return NULL;
15654 }
15655
15656
15657 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
15658 PyObject *resultobj;
15659 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15660 PyObject *arg2 = (PyObject *) 0 ;
15661 PyObject * obj0 = 0 ;
15662 PyObject * obj1 = 0 ;
15663 char *kwnames[] = {
15664 (char *) "self",(char *) "clientData", NULL
15665 };
15666
15667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15670 arg2 = obj1;
15671 {
15672 PyThreadState* __tstate = wxPyBeginAllowThreads();
15673 wxToolBarToolBase_SetClientData(arg1,arg2);
15674
15675 wxPyEndAllowThreads(__tstate);
15676 if (PyErr_Occurred()) SWIG_fail;
15677 }
15678 Py_INCREF(Py_None); resultobj = Py_None;
15679 return resultobj;
15680 fail:
15681 return NULL;
15682 }
15683
15684
15685 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
15686 PyObject *obj;
15687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15688 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15689 Py_INCREF(obj);
15690 return Py_BuildValue((char *)"");
15691 }
15692 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
15693 PyObject *resultobj;
15694 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15695 int arg2 ;
15696 wxString *arg3 = 0 ;
15697 wxBitmap *arg4 = 0 ;
15698 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15699 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15700 int arg6 = (int) wxITEM_NORMAL ;
15701 wxString const &arg7_defvalue = wxPyEmptyString ;
15702 wxString *arg7 = (wxString *) &arg7_defvalue ;
15703 wxString const &arg8_defvalue = wxPyEmptyString ;
15704 wxString *arg8 = (wxString *) &arg8_defvalue ;
15705 PyObject *arg9 = (PyObject *) NULL ;
15706 wxToolBarToolBase *result;
15707 bool temp3 = False ;
15708 bool temp7 = False ;
15709 bool temp8 = False ;
15710 PyObject * obj0 = 0 ;
15711 PyObject * obj1 = 0 ;
15712 PyObject * obj2 = 0 ;
15713 PyObject * obj3 = 0 ;
15714 PyObject * obj4 = 0 ;
15715 PyObject * obj5 = 0 ;
15716 PyObject * obj6 = 0 ;
15717 PyObject * obj7 = 0 ;
15718 PyObject * obj8 = 0 ;
15719 char *kwnames[] = {
15720 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15721 };
15722
15723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15726 arg2 = (int) SWIG_AsInt(obj1);
15727 if (PyErr_Occurred()) SWIG_fail;
15728 {
15729 arg3 = wxString_in_helper(obj2);
15730 if (arg3 == NULL) SWIG_fail;
15731 temp3 = True;
15732 }
15733 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
15734 SWIG_POINTER_EXCEPTION | 0)) == -1)
15735 SWIG_fail;
15736 if (arg4 == NULL) {
15737 PyErr_SetString(PyExc_TypeError,"null reference");
15738 SWIG_fail;
15739 }
15740 if (obj4) {
15741 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
15742 SWIG_POINTER_EXCEPTION | 0)) == -1)
15743 SWIG_fail;
15744 if (arg5 == NULL) {
15745 PyErr_SetString(PyExc_TypeError,"null reference");
15746 SWIG_fail;
15747 }
15748 }
15749 if (obj5) {
15750 arg6 = (wxItemKind) SWIG_AsInt(obj5);
15751 if (PyErr_Occurred()) SWIG_fail;
15752 }
15753 if (obj6) {
15754 {
15755 arg7 = wxString_in_helper(obj6);
15756 if (arg7 == NULL) SWIG_fail;
15757 temp7 = True;
15758 }
15759 }
15760 if (obj7) {
15761 {
15762 arg8 = wxString_in_helper(obj7);
15763 if (arg8 == NULL) SWIG_fail;
15764 temp8 = True;
15765 }
15766 }
15767 if (obj8) {
15768 arg9 = obj8;
15769 }
15770 {
15771 PyThreadState* __tstate = wxPyBeginAllowThreads();
15772 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
15773
15774 wxPyEndAllowThreads(__tstate);
15775 if (PyErr_Occurred()) SWIG_fail;
15776 }
15777 {
15778 resultobj = wxPyMake_wxObject(result);
15779 }
15780 {
15781 if (temp3)
15782 delete arg3;
15783 }
15784 {
15785 if (temp7)
15786 delete arg7;
15787 }
15788 {
15789 if (temp8)
15790 delete arg8;
15791 }
15792 return resultobj;
15793 fail:
15794 {
15795 if (temp3)
15796 delete arg3;
15797 }
15798 {
15799 if (temp7)
15800 delete arg7;
15801 }
15802 {
15803 if (temp8)
15804 delete arg8;
15805 }
15806 return NULL;
15807 }
15808
15809
15810 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
15811 PyObject *resultobj;
15812 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15813 size_t arg2 ;
15814 int arg3 ;
15815 wxString *arg4 = 0 ;
15816 wxBitmap *arg5 = 0 ;
15817 wxBitmap const &arg6_defvalue = wxNullBitmap ;
15818 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
15819 int arg7 = (int) wxITEM_NORMAL ;
15820 wxString const &arg8_defvalue = wxPyEmptyString ;
15821 wxString *arg8 = (wxString *) &arg8_defvalue ;
15822 wxString const &arg9_defvalue = wxPyEmptyString ;
15823 wxString *arg9 = (wxString *) &arg9_defvalue ;
15824 PyObject *arg10 = (PyObject *) NULL ;
15825 wxToolBarToolBase *result;
15826 bool temp4 = False ;
15827 bool temp8 = False ;
15828 bool temp9 = False ;
15829 PyObject * obj0 = 0 ;
15830 PyObject * obj1 = 0 ;
15831 PyObject * obj2 = 0 ;
15832 PyObject * obj3 = 0 ;
15833 PyObject * obj4 = 0 ;
15834 PyObject * obj5 = 0 ;
15835 PyObject * obj6 = 0 ;
15836 PyObject * obj7 = 0 ;
15837 PyObject * obj8 = 0 ;
15838 PyObject * obj9 = 0 ;
15839 char *kwnames[] = {
15840 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15841 };
15842
15843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15846 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
15847 if (PyErr_Occurred()) SWIG_fail;
15848 arg3 = (int) SWIG_AsInt(obj2);
15849 if (PyErr_Occurred()) SWIG_fail;
15850 {
15851 arg4 = wxString_in_helper(obj3);
15852 if (arg4 == NULL) SWIG_fail;
15853 temp4 = True;
15854 }
15855 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
15856 SWIG_POINTER_EXCEPTION | 0)) == -1)
15857 SWIG_fail;
15858 if (arg5 == NULL) {
15859 PyErr_SetString(PyExc_TypeError,"null reference");
15860 SWIG_fail;
15861 }
15862 if (obj5) {
15863 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
15864 SWIG_POINTER_EXCEPTION | 0)) == -1)
15865 SWIG_fail;
15866 if (arg6 == NULL) {
15867 PyErr_SetString(PyExc_TypeError,"null reference");
15868 SWIG_fail;
15869 }
15870 }
15871 if (obj6) {
15872 arg7 = (wxItemKind) SWIG_AsInt(obj6);
15873 if (PyErr_Occurred()) SWIG_fail;
15874 }
15875 if (obj7) {
15876 {
15877 arg8 = wxString_in_helper(obj7);
15878 if (arg8 == NULL) SWIG_fail;
15879 temp8 = True;
15880 }
15881 }
15882 if (obj8) {
15883 {
15884 arg9 = wxString_in_helper(obj8);
15885 if (arg9 == NULL) SWIG_fail;
15886 temp9 = True;
15887 }
15888 }
15889 if (obj9) {
15890 arg10 = obj9;
15891 }
15892 {
15893 PyThreadState* __tstate = wxPyBeginAllowThreads();
15894 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);
15895
15896 wxPyEndAllowThreads(__tstate);
15897 if (PyErr_Occurred()) SWIG_fail;
15898 }
15899 {
15900 resultobj = wxPyMake_wxObject(result);
15901 }
15902 {
15903 if (temp4)
15904 delete arg4;
15905 }
15906 {
15907 if (temp8)
15908 delete arg8;
15909 }
15910 {
15911 if (temp9)
15912 delete arg9;
15913 }
15914 return resultobj;
15915 fail:
15916 {
15917 if (temp4)
15918 delete arg4;
15919 }
15920 {
15921 if (temp8)
15922 delete arg8;
15923 }
15924 {
15925 if (temp9)
15926 delete arg9;
15927 }
15928 return NULL;
15929 }
15930
15931
15932 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
15933 PyObject *resultobj;
15934 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15935 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
15936 wxToolBarToolBase *result;
15937 PyObject * obj0 = 0 ;
15938 PyObject * obj1 = 0 ;
15939 char *kwnames[] = {
15940 (char *) "self",(char *) "tool", NULL
15941 };
15942
15943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
15944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15946 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
15947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15948 {
15949 PyThreadState* __tstate = wxPyBeginAllowThreads();
15950 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
15951
15952 wxPyEndAllowThreads(__tstate);
15953 if (PyErr_Occurred()) SWIG_fail;
15954 }
15955 {
15956 resultobj = wxPyMake_wxObject(result);
15957 }
15958 return resultobj;
15959 fail:
15960 return NULL;
15961 }
15962
15963
15964 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
15965 PyObject *resultobj;
15966 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15967 size_t arg2 ;
15968 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
15969 wxToolBarToolBase *result;
15970 PyObject * obj0 = 0 ;
15971 PyObject * obj1 = 0 ;
15972 PyObject * obj2 = 0 ;
15973 char *kwnames[] = {
15974 (char *) "self",(char *) "pos",(char *) "tool", NULL
15975 };
15976
15977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15980 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
15981 if (PyErr_Occurred()) SWIG_fail;
15982 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
15983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15984 {
15985 PyThreadState* __tstate = wxPyBeginAllowThreads();
15986 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
15987
15988 wxPyEndAllowThreads(__tstate);
15989 if (PyErr_Occurred()) SWIG_fail;
15990 }
15991 {
15992 resultobj = wxPyMake_wxObject(result);
15993 }
15994 return resultobj;
15995 fail:
15996 return NULL;
15997 }
15998
15999
16000 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
16001 PyObject *resultobj;
16002 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16003 wxControl *arg2 = (wxControl *) 0 ;
16004 wxToolBarToolBase *result;
16005 PyObject * obj0 = 0 ;
16006 PyObject * obj1 = 0 ;
16007 char *kwnames[] = {
16008 (char *) "self",(char *) "control", NULL
16009 };
16010
16011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
16012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16014 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
16015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16016 {
16017 PyThreadState* __tstate = wxPyBeginAllowThreads();
16018 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
16019
16020 wxPyEndAllowThreads(__tstate);
16021 if (PyErr_Occurred()) SWIG_fail;
16022 }
16023 {
16024 resultobj = wxPyMake_wxObject(result);
16025 }
16026 return resultobj;
16027 fail:
16028 return NULL;
16029 }
16030
16031
16032 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
16033 PyObject *resultobj;
16034 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16035 size_t arg2 ;
16036 wxControl *arg3 = (wxControl *) 0 ;
16037 wxToolBarToolBase *result;
16038 PyObject * obj0 = 0 ;
16039 PyObject * obj1 = 0 ;
16040 PyObject * obj2 = 0 ;
16041 char *kwnames[] = {
16042 (char *) "self",(char *) "pos",(char *) "control", NULL
16043 };
16044
16045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
16046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16048 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16049 if (PyErr_Occurred()) SWIG_fail;
16050 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
16051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16052 {
16053 PyThreadState* __tstate = wxPyBeginAllowThreads();
16054 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
16055
16056 wxPyEndAllowThreads(__tstate);
16057 if (PyErr_Occurred()) SWIG_fail;
16058 }
16059 {
16060 resultobj = wxPyMake_wxObject(result);
16061 }
16062 return resultobj;
16063 fail:
16064 return NULL;
16065 }
16066
16067
16068 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
16069 PyObject *resultobj;
16070 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16071 int arg2 ;
16072 wxControl *result;
16073 PyObject * obj0 = 0 ;
16074 PyObject * obj1 = 0 ;
16075 char *kwnames[] = {
16076 (char *) "self",(char *) "id", NULL
16077 };
16078
16079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
16080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16082 arg2 = (int) SWIG_AsInt(obj1);
16083 if (PyErr_Occurred()) SWIG_fail;
16084 {
16085 PyThreadState* __tstate = wxPyBeginAllowThreads();
16086 result = (wxControl *)(arg1)->FindControl(arg2);
16087
16088 wxPyEndAllowThreads(__tstate);
16089 if (PyErr_Occurred()) SWIG_fail;
16090 }
16091 {
16092 resultobj = wxPyMake_wxObject(result);
16093 }
16094 return resultobj;
16095 fail:
16096 return NULL;
16097 }
16098
16099
16100 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
16101 PyObject *resultobj;
16102 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16103 wxToolBarToolBase *result;
16104 PyObject * obj0 = 0 ;
16105 char *kwnames[] = {
16106 (char *) "self", NULL
16107 };
16108
16109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
16110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16112 {
16113 PyThreadState* __tstate = wxPyBeginAllowThreads();
16114 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
16115
16116 wxPyEndAllowThreads(__tstate);
16117 if (PyErr_Occurred()) SWIG_fail;
16118 }
16119 {
16120 resultobj = wxPyMake_wxObject(result);
16121 }
16122 return resultobj;
16123 fail:
16124 return NULL;
16125 }
16126
16127
16128 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
16129 PyObject *resultobj;
16130 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16131 size_t arg2 ;
16132 wxToolBarToolBase *result;
16133 PyObject * obj0 = 0 ;
16134 PyObject * obj1 = 0 ;
16135 char *kwnames[] = {
16136 (char *) "self",(char *) "pos", NULL
16137 };
16138
16139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
16140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16142 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16143 if (PyErr_Occurred()) SWIG_fail;
16144 {
16145 PyThreadState* __tstate = wxPyBeginAllowThreads();
16146 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
16147
16148 wxPyEndAllowThreads(__tstate);
16149 if (PyErr_Occurred()) SWIG_fail;
16150 }
16151 {
16152 resultobj = wxPyMake_wxObject(result);
16153 }
16154 return resultobj;
16155 fail:
16156 return NULL;
16157 }
16158
16159
16160 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
16161 PyObject *resultobj;
16162 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16163 int arg2 ;
16164 wxToolBarToolBase *result;
16165 PyObject * obj0 = 0 ;
16166 PyObject * obj1 = 0 ;
16167 char *kwnames[] = {
16168 (char *) "self",(char *) "id", NULL
16169 };
16170
16171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
16172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16174 arg2 = (int) SWIG_AsInt(obj1);
16175 if (PyErr_Occurred()) SWIG_fail;
16176 {
16177 PyThreadState* __tstate = wxPyBeginAllowThreads();
16178 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
16179
16180 wxPyEndAllowThreads(__tstate);
16181 if (PyErr_Occurred()) SWIG_fail;
16182 }
16183 {
16184 resultobj = wxPyMake_wxObject(result);
16185 }
16186 return resultobj;
16187 fail:
16188 return NULL;
16189 }
16190
16191
16192 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
16193 PyObject *resultobj;
16194 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16195 size_t arg2 ;
16196 bool result;
16197 PyObject * obj0 = 0 ;
16198 PyObject * obj1 = 0 ;
16199 char *kwnames[] = {
16200 (char *) "self",(char *) "pos", NULL
16201 };
16202
16203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
16204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16206 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16207 if (PyErr_Occurred()) SWIG_fail;
16208 {
16209 PyThreadState* __tstate = wxPyBeginAllowThreads();
16210 result = (bool)(arg1)->DeleteToolByPos(arg2);
16211
16212 wxPyEndAllowThreads(__tstate);
16213 if (PyErr_Occurred()) SWIG_fail;
16214 }
16215 {
16216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16217 }
16218 return resultobj;
16219 fail:
16220 return NULL;
16221 }
16222
16223
16224 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
16225 PyObject *resultobj;
16226 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16227 int arg2 ;
16228 bool result;
16229 PyObject * obj0 = 0 ;
16230 PyObject * obj1 = 0 ;
16231 char *kwnames[] = {
16232 (char *) "self",(char *) "id", NULL
16233 };
16234
16235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
16236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16238 arg2 = (int) SWIG_AsInt(obj1);
16239 if (PyErr_Occurred()) SWIG_fail;
16240 {
16241 PyThreadState* __tstate = wxPyBeginAllowThreads();
16242 result = (bool)(arg1)->DeleteTool(arg2);
16243
16244 wxPyEndAllowThreads(__tstate);
16245 if (PyErr_Occurred()) SWIG_fail;
16246 }
16247 {
16248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16249 }
16250 return resultobj;
16251 fail:
16252 return NULL;
16253 }
16254
16255
16256 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
16257 PyObject *resultobj;
16258 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16259 PyObject * obj0 = 0 ;
16260 char *kwnames[] = {
16261 (char *) "self", NULL
16262 };
16263
16264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
16265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16267 {
16268 PyThreadState* __tstate = wxPyBeginAllowThreads();
16269 (arg1)->ClearTools();
16270
16271 wxPyEndAllowThreads(__tstate);
16272 if (PyErr_Occurred()) SWIG_fail;
16273 }
16274 Py_INCREF(Py_None); resultobj = Py_None;
16275 return resultobj;
16276 fail:
16277 return NULL;
16278 }
16279
16280
16281 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
16282 PyObject *resultobj;
16283 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16284 bool result;
16285 PyObject * obj0 = 0 ;
16286 char *kwnames[] = {
16287 (char *) "self", NULL
16288 };
16289
16290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
16291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16293 {
16294 PyThreadState* __tstate = wxPyBeginAllowThreads();
16295 result = (bool)(arg1)->Realize();
16296
16297 wxPyEndAllowThreads(__tstate);
16298 if (PyErr_Occurred()) SWIG_fail;
16299 }
16300 {
16301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16302 }
16303 return resultobj;
16304 fail:
16305 return NULL;
16306 }
16307
16308
16309 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
16310 PyObject *resultobj;
16311 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16312 int arg2 ;
16313 bool arg3 ;
16314 PyObject * obj0 = 0 ;
16315 PyObject * obj1 = 0 ;
16316 PyObject * obj2 = 0 ;
16317 char *kwnames[] = {
16318 (char *) "self",(char *) "id",(char *) "enable", NULL
16319 };
16320
16321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16324 arg2 = (int) SWIG_AsInt(obj1);
16325 if (PyErr_Occurred()) SWIG_fail;
16326 arg3 = (bool) SWIG_AsBool(obj2);
16327 if (PyErr_Occurred()) SWIG_fail;
16328 {
16329 PyThreadState* __tstate = wxPyBeginAllowThreads();
16330 (arg1)->EnableTool(arg2,arg3);
16331
16332 wxPyEndAllowThreads(__tstate);
16333 if (PyErr_Occurred()) SWIG_fail;
16334 }
16335 Py_INCREF(Py_None); resultobj = Py_None;
16336 return resultobj;
16337 fail:
16338 return NULL;
16339 }
16340
16341
16342 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
16343 PyObject *resultobj;
16344 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16345 int arg2 ;
16346 bool arg3 ;
16347 PyObject * obj0 = 0 ;
16348 PyObject * obj1 = 0 ;
16349 PyObject * obj2 = 0 ;
16350 char *kwnames[] = {
16351 (char *) "self",(char *) "id",(char *) "toggle", NULL
16352 };
16353
16354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16357 arg2 = (int) SWIG_AsInt(obj1);
16358 if (PyErr_Occurred()) SWIG_fail;
16359 arg3 = (bool) SWIG_AsBool(obj2);
16360 if (PyErr_Occurred()) SWIG_fail;
16361 {
16362 PyThreadState* __tstate = wxPyBeginAllowThreads();
16363 (arg1)->ToggleTool(arg2,arg3);
16364
16365 wxPyEndAllowThreads(__tstate);
16366 if (PyErr_Occurred()) SWIG_fail;
16367 }
16368 Py_INCREF(Py_None); resultobj = Py_None;
16369 return resultobj;
16370 fail:
16371 return NULL;
16372 }
16373
16374
16375 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
16376 PyObject *resultobj;
16377 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16378 int arg2 ;
16379 bool arg3 ;
16380 PyObject * obj0 = 0 ;
16381 PyObject * obj1 = 0 ;
16382 PyObject * obj2 = 0 ;
16383 char *kwnames[] = {
16384 (char *) "self",(char *) "id",(char *) "toggle", NULL
16385 };
16386
16387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
16388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16390 arg2 = (int) SWIG_AsInt(obj1);
16391 if (PyErr_Occurred()) SWIG_fail;
16392 arg3 = (bool) SWIG_AsBool(obj2);
16393 if (PyErr_Occurred()) SWIG_fail;
16394 {
16395 PyThreadState* __tstate = wxPyBeginAllowThreads();
16396 (arg1)->SetToggle(arg2,arg3);
16397
16398 wxPyEndAllowThreads(__tstate);
16399 if (PyErr_Occurred()) SWIG_fail;
16400 }
16401 Py_INCREF(Py_None); resultobj = Py_None;
16402 return resultobj;
16403 fail:
16404 return NULL;
16405 }
16406
16407
16408 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
16409 PyObject *resultobj;
16410 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16411 int arg2 ;
16412 PyObject *result;
16413 PyObject * obj0 = 0 ;
16414 PyObject * obj1 = 0 ;
16415 char *kwnames[] = {
16416 (char *) "self",(char *) "id", NULL
16417 };
16418
16419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
16420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16422 arg2 = (int) SWIG_AsInt(obj1);
16423 if (PyErr_Occurred()) SWIG_fail;
16424 {
16425 PyThreadState* __tstate = wxPyBeginAllowThreads();
16426 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16427
16428 wxPyEndAllowThreads(__tstate);
16429 if (PyErr_Occurred()) SWIG_fail;
16430 }
16431 resultobj = result;
16432 return resultobj;
16433 fail:
16434 return NULL;
16435 }
16436
16437
16438 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
16439 PyObject *resultobj;
16440 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16441 int arg2 ;
16442 PyObject *arg3 = (PyObject *) 0 ;
16443 PyObject * obj0 = 0 ;
16444 PyObject * obj1 = 0 ;
16445 PyObject * obj2 = 0 ;
16446 char *kwnames[] = {
16447 (char *) "self",(char *) "id",(char *) "clientData", NULL
16448 };
16449
16450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
16451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16453 arg2 = (int) SWIG_AsInt(obj1);
16454 if (PyErr_Occurred()) SWIG_fail;
16455 arg3 = obj2;
16456 {
16457 PyThreadState* __tstate = wxPyBeginAllowThreads();
16458 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16459
16460 wxPyEndAllowThreads(__tstate);
16461 if (PyErr_Occurred()) SWIG_fail;
16462 }
16463 Py_INCREF(Py_None); resultobj = Py_None;
16464 return resultobj;
16465 fail:
16466 return NULL;
16467 }
16468
16469
16470 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
16471 PyObject *resultobj;
16472 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16473 int arg2 ;
16474 int result;
16475 PyObject * obj0 = 0 ;
16476 PyObject * obj1 = 0 ;
16477 char *kwnames[] = {
16478 (char *) "self",(char *) "id", NULL
16479 };
16480
16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
16482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16484 arg2 = (int) SWIG_AsInt(obj1);
16485 if (PyErr_Occurred()) SWIG_fail;
16486 {
16487 PyThreadState* __tstate = wxPyBeginAllowThreads();
16488 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16489
16490 wxPyEndAllowThreads(__tstate);
16491 if (PyErr_Occurred()) SWIG_fail;
16492 }
16493 resultobj = SWIG_FromInt((int)result);
16494 return resultobj;
16495 fail:
16496 return NULL;
16497 }
16498
16499
16500 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
16501 PyObject *resultobj;
16502 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16503 int arg2 ;
16504 bool result;
16505 PyObject * obj0 = 0 ;
16506 PyObject * obj1 = 0 ;
16507 char *kwnames[] = {
16508 (char *) "self",(char *) "id", NULL
16509 };
16510
16511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
16512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16514 arg2 = (int) SWIG_AsInt(obj1);
16515 if (PyErr_Occurred()) SWIG_fail;
16516 {
16517 PyThreadState* __tstate = wxPyBeginAllowThreads();
16518 result = (bool)(arg1)->GetToolState(arg2);
16519
16520 wxPyEndAllowThreads(__tstate);
16521 if (PyErr_Occurred()) SWIG_fail;
16522 }
16523 {
16524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16525 }
16526 return resultobj;
16527 fail:
16528 return NULL;
16529 }
16530
16531
16532 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
16533 PyObject *resultobj;
16534 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16535 int arg2 ;
16536 bool result;
16537 PyObject * obj0 = 0 ;
16538 PyObject * obj1 = 0 ;
16539 char *kwnames[] = {
16540 (char *) "self",(char *) "id", NULL
16541 };
16542
16543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
16544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16546 arg2 = (int) SWIG_AsInt(obj1);
16547 if (PyErr_Occurred()) SWIG_fail;
16548 {
16549 PyThreadState* __tstate = wxPyBeginAllowThreads();
16550 result = (bool)(arg1)->GetToolEnabled(arg2);
16551
16552 wxPyEndAllowThreads(__tstate);
16553 if (PyErr_Occurred()) SWIG_fail;
16554 }
16555 {
16556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16557 }
16558 return resultobj;
16559 fail:
16560 return NULL;
16561 }
16562
16563
16564 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16565 PyObject *resultobj;
16566 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16567 int arg2 ;
16568 wxString *arg3 = 0 ;
16569 bool temp3 = False ;
16570 PyObject * obj0 = 0 ;
16571 PyObject * obj1 = 0 ;
16572 PyObject * obj2 = 0 ;
16573 char *kwnames[] = {
16574 (char *) "self",(char *) "id",(char *) "helpString", NULL
16575 };
16576
16577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16580 arg2 = (int) SWIG_AsInt(obj1);
16581 if (PyErr_Occurred()) SWIG_fail;
16582 {
16583 arg3 = wxString_in_helper(obj2);
16584 if (arg3 == NULL) SWIG_fail;
16585 temp3 = True;
16586 }
16587 {
16588 PyThreadState* __tstate = wxPyBeginAllowThreads();
16589 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16590
16591 wxPyEndAllowThreads(__tstate);
16592 if (PyErr_Occurred()) SWIG_fail;
16593 }
16594 Py_INCREF(Py_None); resultobj = Py_None;
16595 {
16596 if (temp3)
16597 delete arg3;
16598 }
16599 return resultobj;
16600 fail:
16601 {
16602 if (temp3)
16603 delete arg3;
16604 }
16605 return NULL;
16606 }
16607
16608
16609 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16610 PyObject *resultobj;
16611 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16612 int arg2 ;
16613 wxString result;
16614 PyObject * obj0 = 0 ;
16615 PyObject * obj1 = 0 ;
16616 char *kwnames[] = {
16617 (char *) "self",(char *) "id", NULL
16618 };
16619
16620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
16621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16623 arg2 = (int) SWIG_AsInt(obj1);
16624 if (PyErr_Occurred()) SWIG_fail;
16625 {
16626 PyThreadState* __tstate = wxPyBeginAllowThreads();
16627 result = (arg1)->GetToolShortHelp(arg2);
16628
16629 wxPyEndAllowThreads(__tstate);
16630 if (PyErr_Occurred()) SWIG_fail;
16631 }
16632 {
16633 #if wxUSE_UNICODE
16634 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16635 #else
16636 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16637 #endif
16638 }
16639 return resultobj;
16640 fail:
16641 return NULL;
16642 }
16643
16644
16645 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16646 PyObject *resultobj;
16647 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16648 int arg2 ;
16649 wxString *arg3 = 0 ;
16650 bool temp3 = False ;
16651 PyObject * obj0 = 0 ;
16652 PyObject * obj1 = 0 ;
16653 PyObject * obj2 = 0 ;
16654 char *kwnames[] = {
16655 (char *) "self",(char *) "id",(char *) "helpString", NULL
16656 };
16657
16658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16661 arg2 = (int) SWIG_AsInt(obj1);
16662 if (PyErr_Occurred()) SWIG_fail;
16663 {
16664 arg3 = wxString_in_helper(obj2);
16665 if (arg3 == NULL) SWIG_fail;
16666 temp3 = True;
16667 }
16668 {
16669 PyThreadState* __tstate = wxPyBeginAllowThreads();
16670 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16671
16672 wxPyEndAllowThreads(__tstate);
16673 if (PyErr_Occurred()) SWIG_fail;
16674 }
16675 Py_INCREF(Py_None); resultobj = Py_None;
16676 {
16677 if (temp3)
16678 delete arg3;
16679 }
16680 return resultobj;
16681 fail:
16682 {
16683 if (temp3)
16684 delete arg3;
16685 }
16686 return NULL;
16687 }
16688
16689
16690 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16691 PyObject *resultobj;
16692 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16693 int arg2 ;
16694 wxString result;
16695 PyObject * obj0 = 0 ;
16696 PyObject * obj1 = 0 ;
16697 char *kwnames[] = {
16698 (char *) "self",(char *) "id", NULL
16699 };
16700
16701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
16702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16704 arg2 = (int) SWIG_AsInt(obj1);
16705 if (PyErr_Occurred()) SWIG_fail;
16706 {
16707 PyThreadState* __tstate = wxPyBeginAllowThreads();
16708 result = (arg1)->GetToolLongHelp(arg2);
16709
16710 wxPyEndAllowThreads(__tstate);
16711 if (PyErr_Occurred()) SWIG_fail;
16712 }
16713 {
16714 #if wxUSE_UNICODE
16715 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16716 #else
16717 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16718 #endif
16719 }
16720 return resultobj;
16721 fail:
16722 return NULL;
16723 }
16724
16725
16726 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
16727 PyObject *resultobj;
16728 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16729 int arg2 ;
16730 int arg3 ;
16731 PyObject * obj0 = 0 ;
16732 PyObject * obj1 = 0 ;
16733 PyObject * obj2 = 0 ;
16734 char *kwnames[] = {
16735 (char *) "self",(char *) "x",(char *) "y", NULL
16736 };
16737
16738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
16739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16741 arg2 = (int) SWIG_AsInt(obj1);
16742 if (PyErr_Occurred()) SWIG_fail;
16743 arg3 = (int) SWIG_AsInt(obj2);
16744 if (PyErr_Occurred()) SWIG_fail;
16745 {
16746 PyThreadState* __tstate = wxPyBeginAllowThreads();
16747 (arg1)->SetMargins(arg2,arg3);
16748
16749 wxPyEndAllowThreads(__tstate);
16750 if (PyErr_Occurred()) SWIG_fail;
16751 }
16752 Py_INCREF(Py_None); resultobj = Py_None;
16753 return resultobj;
16754 fail:
16755 return NULL;
16756 }
16757
16758
16759 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
16760 PyObject *resultobj;
16761 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16762 wxSize *arg2 = 0 ;
16763 wxSize temp2 ;
16764 PyObject * obj0 = 0 ;
16765 PyObject * obj1 = 0 ;
16766 char *kwnames[] = {
16767 (char *) "self",(char *) "size", NULL
16768 };
16769
16770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
16771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16773 {
16774 arg2 = &temp2;
16775 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16776 }
16777 {
16778 PyThreadState* __tstate = wxPyBeginAllowThreads();
16779 (arg1)->SetMargins((wxSize const &)*arg2);
16780
16781 wxPyEndAllowThreads(__tstate);
16782 if (PyErr_Occurred()) SWIG_fail;
16783 }
16784 Py_INCREF(Py_None); resultobj = Py_None;
16785 return resultobj;
16786 fail:
16787 return NULL;
16788 }
16789
16790
16791 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
16792 PyObject *resultobj;
16793 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16794 int arg2 ;
16795 PyObject * obj0 = 0 ;
16796 PyObject * obj1 = 0 ;
16797 char *kwnames[] = {
16798 (char *) "self",(char *) "packing", NULL
16799 };
16800
16801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
16802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16804 arg2 = (int) SWIG_AsInt(obj1);
16805 if (PyErr_Occurred()) SWIG_fail;
16806 {
16807 PyThreadState* __tstate = wxPyBeginAllowThreads();
16808 (arg1)->SetToolPacking(arg2);
16809
16810 wxPyEndAllowThreads(__tstate);
16811 if (PyErr_Occurred()) SWIG_fail;
16812 }
16813 Py_INCREF(Py_None); resultobj = Py_None;
16814 return resultobj;
16815 fail:
16816 return NULL;
16817 }
16818
16819
16820 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
16821 PyObject *resultobj;
16822 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16823 int arg2 ;
16824 PyObject * obj0 = 0 ;
16825 PyObject * obj1 = 0 ;
16826 char *kwnames[] = {
16827 (char *) "self",(char *) "separation", NULL
16828 };
16829
16830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
16831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16833 arg2 = (int) SWIG_AsInt(obj1);
16834 if (PyErr_Occurred()) SWIG_fail;
16835 {
16836 PyThreadState* __tstate = wxPyBeginAllowThreads();
16837 (arg1)->SetToolSeparation(arg2);
16838
16839 wxPyEndAllowThreads(__tstate);
16840 if (PyErr_Occurred()) SWIG_fail;
16841 }
16842 Py_INCREF(Py_None); resultobj = Py_None;
16843 return resultobj;
16844 fail:
16845 return NULL;
16846 }
16847
16848
16849 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
16850 PyObject *resultobj;
16851 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16852 wxSize result;
16853 PyObject * obj0 = 0 ;
16854 char *kwnames[] = {
16855 (char *) "self", NULL
16856 };
16857
16858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
16859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16861 {
16862 PyThreadState* __tstate = wxPyBeginAllowThreads();
16863 result = (arg1)->GetToolMargins();
16864
16865 wxPyEndAllowThreads(__tstate);
16866 if (PyErr_Occurred()) SWIG_fail;
16867 }
16868 {
16869 wxSize * resultptr;
16870 resultptr = new wxSize((wxSize &) result);
16871 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16872 }
16873 return resultobj;
16874 fail:
16875 return NULL;
16876 }
16877
16878
16879 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
16880 PyObject *resultobj;
16881 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16882 wxSize result;
16883 PyObject * obj0 = 0 ;
16884 char *kwnames[] = {
16885 (char *) "self", NULL
16886 };
16887
16888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
16889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16891 {
16892 PyThreadState* __tstate = wxPyBeginAllowThreads();
16893 result = (arg1)->GetMargins();
16894
16895 wxPyEndAllowThreads(__tstate);
16896 if (PyErr_Occurred()) SWIG_fail;
16897 }
16898 {
16899 wxSize * resultptr;
16900 resultptr = new wxSize((wxSize &) result);
16901 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16902 }
16903 return resultobj;
16904 fail:
16905 return NULL;
16906 }
16907
16908
16909 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
16910 PyObject *resultobj;
16911 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16912 int result;
16913 PyObject * obj0 = 0 ;
16914 char *kwnames[] = {
16915 (char *) "self", NULL
16916 };
16917
16918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
16919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16921 {
16922 PyThreadState* __tstate = wxPyBeginAllowThreads();
16923 result = (int)(arg1)->GetToolPacking();
16924
16925 wxPyEndAllowThreads(__tstate);
16926 if (PyErr_Occurred()) SWIG_fail;
16927 }
16928 resultobj = SWIG_FromInt((int)result);
16929 return resultobj;
16930 fail:
16931 return NULL;
16932 }
16933
16934
16935 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
16936 PyObject *resultobj;
16937 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16938 int result;
16939 PyObject * obj0 = 0 ;
16940 char *kwnames[] = {
16941 (char *) "self", NULL
16942 };
16943
16944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
16945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16947 {
16948 PyThreadState* __tstate = wxPyBeginAllowThreads();
16949 result = (int)(arg1)->GetToolSeparation();
16950
16951 wxPyEndAllowThreads(__tstate);
16952 if (PyErr_Occurred()) SWIG_fail;
16953 }
16954 resultobj = SWIG_FromInt((int)result);
16955 return resultobj;
16956 fail:
16957 return NULL;
16958 }
16959
16960
16961 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
16962 PyObject *resultobj;
16963 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16964 int arg2 ;
16965 PyObject * obj0 = 0 ;
16966 PyObject * obj1 = 0 ;
16967 char *kwnames[] = {
16968 (char *) "self",(char *) "nRows", NULL
16969 };
16970
16971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
16972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16974 arg2 = (int) SWIG_AsInt(obj1);
16975 if (PyErr_Occurred()) SWIG_fail;
16976 {
16977 PyThreadState* __tstate = wxPyBeginAllowThreads();
16978 (arg1)->SetRows(arg2);
16979
16980 wxPyEndAllowThreads(__tstate);
16981 if (PyErr_Occurred()) SWIG_fail;
16982 }
16983 Py_INCREF(Py_None); resultobj = Py_None;
16984 return resultobj;
16985 fail:
16986 return NULL;
16987 }
16988
16989
16990 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
16991 PyObject *resultobj;
16992 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16993 int arg2 ;
16994 int arg3 ;
16995 PyObject * obj0 = 0 ;
16996 PyObject * obj1 = 0 ;
16997 PyObject * obj2 = 0 ;
16998 char *kwnames[] = {
16999 (char *) "self",(char *) "rows",(char *) "cols", NULL
17000 };
17001
17002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
17003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17005 arg2 = (int) SWIG_AsInt(obj1);
17006 if (PyErr_Occurred()) SWIG_fail;
17007 arg3 = (int) SWIG_AsInt(obj2);
17008 if (PyErr_Occurred()) SWIG_fail;
17009 {
17010 PyThreadState* __tstate = wxPyBeginAllowThreads();
17011 (arg1)->SetMaxRowsCols(arg2,arg3);
17012
17013 wxPyEndAllowThreads(__tstate);
17014 if (PyErr_Occurred()) SWIG_fail;
17015 }
17016 Py_INCREF(Py_None); resultobj = Py_None;
17017 return resultobj;
17018 fail:
17019 return NULL;
17020 }
17021
17022
17023 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
17024 PyObject *resultobj;
17025 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17026 int result;
17027 PyObject * obj0 = 0 ;
17028 char *kwnames[] = {
17029 (char *) "self", NULL
17030 };
17031
17032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
17033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17035 {
17036 PyThreadState* __tstate = wxPyBeginAllowThreads();
17037 result = (int)(arg1)->GetMaxRows();
17038
17039 wxPyEndAllowThreads(__tstate);
17040 if (PyErr_Occurred()) SWIG_fail;
17041 }
17042 resultobj = SWIG_FromInt((int)result);
17043 return resultobj;
17044 fail:
17045 return NULL;
17046 }
17047
17048
17049 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
17050 PyObject *resultobj;
17051 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17052 int result;
17053 PyObject * obj0 = 0 ;
17054 char *kwnames[] = {
17055 (char *) "self", NULL
17056 };
17057
17058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
17059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17061 {
17062 PyThreadState* __tstate = wxPyBeginAllowThreads();
17063 result = (int)(arg1)->GetMaxCols();
17064
17065 wxPyEndAllowThreads(__tstate);
17066 if (PyErr_Occurred()) SWIG_fail;
17067 }
17068 resultobj = SWIG_FromInt((int)result);
17069 return resultobj;
17070 fail:
17071 return NULL;
17072 }
17073
17074
17075 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
17076 PyObject *resultobj;
17077 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17078 wxSize *arg2 = 0 ;
17079 wxSize temp2 ;
17080 PyObject * obj0 = 0 ;
17081 PyObject * obj1 = 0 ;
17082 char *kwnames[] = {
17083 (char *) "self",(char *) "size", NULL
17084 };
17085
17086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
17087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17089 {
17090 arg2 = &temp2;
17091 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17092 }
17093 {
17094 PyThreadState* __tstate = wxPyBeginAllowThreads();
17095 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
17096
17097 wxPyEndAllowThreads(__tstate);
17098 if (PyErr_Occurred()) SWIG_fail;
17099 }
17100 Py_INCREF(Py_None); resultobj = Py_None;
17101 return resultobj;
17102 fail:
17103 return NULL;
17104 }
17105
17106
17107 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
17108 PyObject *resultobj;
17109 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17110 wxSize result;
17111 PyObject * obj0 = 0 ;
17112 char *kwnames[] = {
17113 (char *) "self", NULL
17114 };
17115
17116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
17117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17119 {
17120 PyThreadState* __tstate = wxPyBeginAllowThreads();
17121 result = (arg1)->GetToolBitmapSize();
17122
17123 wxPyEndAllowThreads(__tstate);
17124 if (PyErr_Occurred()) SWIG_fail;
17125 }
17126 {
17127 wxSize * resultptr;
17128 resultptr = new wxSize((wxSize &) result);
17129 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17130 }
17131 return resultobj;
17132 fail:
17133 return NULL;
17134 }
17135
17136
17137 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
17138 PyObject *resultobj;
17139 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17140 wxSize result;
17141 PyObject * obj0 = 0 ;
17142 char *kwnames[] = {
17143 (char *) "self", NULL
17144 };
17145
17146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
17147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17149 {
17150 PyThreadState* __tstate = wxPyBeginAllowThreads();
17151 result = (arg1)->GetToolSize();
17152
17153 wxPyEndAllowThreads(__tstate);
17154 if (PyErr_Occurred()) SWIG_fail;
17155 }
17156 {
17157 wxSize * resultptr;
17158 resultptr = new wxSize((wxSize &) result);
17159 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17160 }
17161 return resultobj;
17162 fail:
17163 return NULL;
17164 }
17165
17166
17167 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17168 PyObject *resultobj;
17169 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17170 int arg2 ;
17171 int arg3 ;
17172 wxToolBarToolBase *result;
17173 PyObject * obj0 = 0 ;
17174 PyObject * obj1 = 0 ;
17175 PyObject * obj2 = 0 ;
17176 char *kwnames[] = {
17177 (char *) "self",(char *) "x",(char *) "y", NULL
17178 };
17179
17180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17183 arg2 = (int) SWIG_AsInt(obj1);
17184 if (PyErr_Occurred()) SWIG_fail;
17185 arg3 = (int) SWIG_AsInt(obj2);
17186 if (PyErr_Occurred()) SWIG_fail;
17187 {
17188 PyThreadState* __tstate = wxPyBeginAllowThreads();
17189 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17190
17191 wxPyEndAllowThreads(__tstate);
17192 if (PyErr_Occurred()) SWIG_fail;
17193 }
17194 {
17195 resultobj = wxPyMake_wxObject(result);
17196 }
17197 return resultobj;
17198 fail:
17199 return NULL;
17200 }
17201
17202
17203 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
17204 PyObject *resultobj;
17205 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17206 int arg2 ;
17207 wxToolBarToolBase *result;
17208 PyObject * obj0 = 0 ;
17209 PyObject * obj1 = 0 ;
17210 char *kwnames[] = {
17211 (char *) "self",(char *) "toolid", NULL
17212 };
17213
17214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
17215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17217 arg2 = (int) SWIG_AsInt(obj1);
17218 if (PyErr_Occurred()) SWIG_fail;
17219 {
17220 PyThreadState* __tstate = wxPyBeginAllowThreads();
17221 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
17222
17223 wxPyEndAllowThreads(__tstate);
17224 if (PyErr_Occurred()) SWIG_fail;
17225 }
17226 {
17227 resultobj = wxPyMake_wxObject(result);
17228 }
17229 return resultobj;
17230 fail:
17231 return NULL;
17232 }
17233
17234
17235 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
17236 PyObject *resultobj;
17237 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17238 bool result;
17239 PyObject * obj0 = 0 ;
17240 char *kwnames[] = {
17241 (char *) "self", NULL
17242 };
17243
17244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
17245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17247 {
17248 PyThreadState* __tstate = wxPyBeginAllowThreads();
17249 result = (bool)(arg1)->IsVertical();
17250
17251 wxPyEndAllowThreads(__tstate);
17252 if (PyErr_Occurred()) SWIG_fail;
17253 }
17254 {
17255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17256 }
17257 return resultobj;
17258 fail:
17259 return NULL;
17260 }
17261
17262
17263 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
17264 PyObject *obj;
17265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17266 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
17267 Py_INCREF(obj);
17268 return Py_BuildValue((char *)"");
17269 }
17270 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17271 PyObject *resultobj;
17272 wxWindow *arg1 = (wxWindow *) 0 ;
17273 int arg2 ;
17274 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17275 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17276 wxSize const &arg4_defvalue = wxDefaultSize ;
17277 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17278 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17279 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
17280 wxString *arg6 = (wxString *) &arg6_defvalue ;
17281 wxToolBar *result;
17282 wxPoint temp3 ;
17283 wxSize temp4 ;
17284 bool temp6 = False ;
17285 PyObject * obj0 = 0 ;
17286 PyObject * obj1 = 0 ;
17287 PyObject * obj2 = 0 ;
17288 PyObject * obj3 = 0 ;
17289 PyObject * obj4 = 0 ;
17290 PyObject * obj5 = 0 ;
17291 char *kwnames[] = {
17292 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17293 };
17294
17295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17298 arg2 = (int) SWIG_AsInt(obj1);
17299 if (PyErr_Occurred()) SWIG_fail;
17300 if (obj2) {
17301 {
17302 arg3 = &temp3;
17303 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17304 }
17305 }
17306 if (obj3) {
17307 {
17308 arg4 = &temp4;
17309 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17310 }
17311 }
17312 if (obj4) {
17313 arg5 = (long) SWIG_AsLong(obj4);
17314 if (PyErr_Occurred()) SWIG_fail;
17315 }
17316 if (obj5) {
17317 {
17318 arg6 = wxString_in_helper(obj5);
17319 if (arg6 == NULL) SWIG_fail;
17320 temp6 = True;
17321 }
17322 }
17323 {
17324 PyThreadState* __tstate = wxPyBeginAllowThreads();
17325 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17326
17327 wxPyEndAllowThreads(__tstate);
17328 if (PyErr_Occurred()) SWIG_fail;
17329 }
17330 {
17331 resultobj = wxPyMake_wxObject(result);
17332 }
17333 {
17334 if (temp6)
17335 delete arg6;
17336 }
17337 return resultobj;
17338 fail:
17339 {
17340 if (temp6)
17341 delete arg6;
17342 }
17343 return NULL;
17344 }
17345
17346
17347 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17348 PyObject *resultobj;
17349 wxToolBar *result;
17350 char *kwnames[] = {
17351 NULL
17352 };
17353
17354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
17355 {
17356 PyThreadState* __tstate = wxPyBeginAllowThreads();
17357 result = (wxToolBar *)new wxToolBar();
17358
17359 wxPyEndAllowThreads(__tstate);
17360 if (PyErr_Occurred()) SWIG_fail;
17361 }
17362 {
17363 resultobj = wxPyMake_wxObject(result);
17364 }
17365 return resultobj;
17366 fail:
17367 return NULL;
17368 }
17369
17370
17371 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17372 PyObject *resultobj;
17373 wxToolBar *arg1 = (wxToolBar *) 0 ;
17374 wxWindow *arg2 = (wxWindow *) 0 ;
17375 int arg3 ;
17376 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17377 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17378 wxSize const &arg5_defvalue = wxDefaultSize ;
17379 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17380 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17381 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17382 wxString *arg7 = (wxString *) &arg7_defvalue ;
17383 bool result;
17384 wxPoint temp4 ;
17385 wxSize temp5 ;
17386 bool temp7 = False ;
17387 PyObject * obj0 = 0 ;
17388 PyObject * obj1 = 0 ;
17389 PyObject * obj2 = 0 ;
17390 PyObject * obj3 = 0 ;
17391 PyObject * obj4 = 0 ;
17392 PyObject * obj5 = 0 ;
17393 PyObject * obj6 = 0 ;
17394 char *kwnames[] = {
17395 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17396 };
17397
17398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17401 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17403 arg3 = (int) SWIG_AsInt(obj2);
17404 if (PyErr_Occurred()) SWIG_fail;
17405 if (obj3) {
17406 {
17407 arg4 = &temp4;
17408 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17409 }
17410 }
17411 if (obj4) {
17412 {
17413 arg5 = &temp5;
17414 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17415 }
17416 }
17417 if (obj5) {
17418 arg6 = (long) SWIG_AsLong(obj5);
17419 if (PyErr_Occurred()) SWIG_fail;
17420 }
17421 if (obj6) {
17422 {
17423 arg7 = wxString_in_helper(obj6);
17424 if (arg7 == NULL) SWIG_fail;
17425 temp7 = True;
17426 }
17427 }
17428 {
17429 PyThreadState* __tstate = wxPyBeginAllowThreads();
17430 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17431
17432 wxPyEndAllowThreads(__tstate);
17433 if (PyErr_Occurred()) SWIG_fail;
17434 }
17435 {
17436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17437 }
17438 {
17439 if (temp7)
17440 delete arg7;
17441 }
17442 return resultobj;
17443 fail:
17444 {
17445 if (temp7)
17446 delete arg7;
17447 }
17448 return NULL;
17449 }
17450
17451
17452 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17453 PyObject *resultobj;
17454 wxToolBar *arg1 = (wxToolBar *) 0 ;
17455 int arg2 ;
17456 int arg3 ;
17457 wxToolBarToolBase *result;
17458 PyObject * obj0 = 0 ;
17459 PyObject * obj1 = 0 ;
17460 PyObject * obj2 = 0 ;
17461 char *kwnames[] = {
17462 (char *) "self",(char *) "x",(char *) "y", NULL
17463 };
17464
17465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17468 arg2 = (int) SWIG_AsInt(obj1);
17469 if (PyErr_Occurred()) SWIG_fail;
17470 arg3 = (int) SWIG_AsInt(obj2);
17471 if (PyErr_Occurred()) SWIG_fail;
17472 {
17473 PyThreadState* __tstate = wxPyBeginAllowThreads();
17474 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17475
17476 wxPyEndAllowThreads(__tstate);
17477 if (PyErr_Occurred()) SWIG_fail;
17478 }
17479 {
17480 resultobj = wxPyMake_wxObject(result);
17481 }
17482 return resultobj;
17483 fail:
17484 return NULL;
17485 }
17486
17487
17488 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
17489 PyObject *obj;
17490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17491 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17492 Py_INCREF(obj);
17493 return Py_BuildValue((char *)"");
17494 }
17495 static int _wrap_ListCtrlNameStr_set(PyObject *) {
17496 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17497 return 1;
17498 }
17499
17500
17501 static PyObject *_wrap_ListCtrlNameStr_get() {
17502 PyObject *pyobj;
17503
17504 {
17505 #if wxUSE_UNICODE
17506 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17507 #else
17508 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17509 #endif
17510 }
17511 return pyobj;
17512 }
17513
17514
17515 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
17516 PyObject *resultobj;
17517 wxColour const &arg1_defvalue = wxNullColour ;
17518 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17519 wxColour const &arg2_defvalue = wxNullColour ;
17520 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17521 wxFont const &arg3_defvalue = wxNullFont ;
17522 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17523 wxListItemAttr *result;
17524 wxColour temp1 ;
17525 wxColour temp2 ;
17526 PyObject * obj0 = 0 ;
17527 PyObject * obj1 = 0 ;
17528 PyObject * obj2 = 0 ;
17529 char *kwnames[] = {
17530 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17531 };
17532
17533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17534 if (obj0) {
17535 {
17536 arg1 = &temp1;
17537 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17538 }
17539 }
17540 if (obj1) {
17541 {
17542 arg2 = &temp2;
17543 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17544 }
17545 }
17546 if (obj2) {
17547 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
17548 SWIG_POINTER_EXCEPTION | 0)) == -1)
17549 SWIG_fail;
17550 if (arg3 == NULL) {
17551 PyErr_SetString(PyExc_TypeError,"null reference");
17552 SWIG_fail;
17553 }
17554 }
17555 {
17556 PyThreadState* __tstate = wxPyBeginAllowThreads();
17557 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17558
17559 wxPyEndAllowThreads(__tstate);
17560 if (PyErr_Occurred()) SWIG_fail;
17561 }
17562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
17563 return resultobj;
17564 fail:
17565 return NULL;
17566 }
17567
17568
17569 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
17570 PyObject *resultobj;
17571 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17572 wxColour *arg2 = 0 ;
17573 wxColour temp2 ;
17574 PyObject * obj0 = 0 ;
17575 PyObject * obj1 = 0 ;
17576 char *kwnames[] = {
17577 (char *) "self",(char *) "colText", NULL
17578 };
17579
17580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17583 {
17584 arg2 = &temp2;
17585 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17586 }
17587 {
17588 PyThreadState* __tstate = wxPyBeginAllowThreads();
17589 (arg1)->SetTextColour((wxColour const &)*arg2);
17590
17591 wxPyEndAllowThreads(__tstate);
17592 if (PyErr_Occurred()) SWIG_fail;
17593 }
17594 Py_INCREF(Py_None); resultobj = Py_None;
17595 return resultobj;
17596 fail:
17597 return NULL;
17598 }
17599
17600
17601 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17602 PyObject *resultobj;
17603 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17604 wxColour *arg2 = 0 ;
17605 wxColour temp2 ;
17606 PyObject * obj0 = 0 ;
17607 PyObject * obj1 = 0 ;
17608 char *kwnames[] = {
17609 (char *) "self",(char *) "colBack", NULL
17610 };
17611
17612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17615 {
17616 arg2 = &temp2;
17617 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17618 }
17619 {
17620 PyThreadState* __tstate = wxPyBeginAllowThreads();
17621 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17622
17623 wxPyEndAllowThreads(__tstate);
17624 if (PyErr_Occurred()) SWIG_fail;
17625 }
17626 Py_INCREF(Py_None); resultobj = Py_None;
17627 return resultobj;
17628 fail:
17629 return NULL;
17630 }
17631
17632
17633 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
17634 PyObject *resultobj;
17635 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17636 wxFont *arg2 = 0 ;
17637 PyObject * obj0 = 0 ;
17638 PyObject * obj1 = 0 ;
17639 char *kwnames[] = {
17640 (char *) "self",(char *) "font", NULL
17641 };
17642
17643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
17644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17646 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17647 SWIG_POINTER_EXCEPTION | 0)) == -1)
17648 SWIG_fail;
17649 if (arg2 == NULL) {
17650 PyErr_SetString(PyExc_TypeError,"null reference");
17651 SWIG_fail;
17652 }
17653 {
17654 PyThreadState* __tstate = wxPyBeginAllowThreads();
17655 (arg1)->SetFont((wxFont const &)*arg2);
17656
17657 wxPyEndAllowThreads(__tstate);
17658 if (PyErr_Occurred()) SWIG_fail;
17659 }
17660 Py_INCREF(Py_None); resultobj = Py_None;
17661 return resultobj;
17662 fail:
17663 return NULL;
17664 }
17665
17666
17667 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
17668 PyObject *resultobj;
17669 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17670 bool result;
17671 PyObject * obj0 = 0 ;
17672 char *kwnames[] = {
17673 (char *) "self", NULL
17674 };
17675
17676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
17677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17679 {
17680 PyThreadState* __tstate = wxPyBeginAllowThreads();
17681 result = (bool)(arg1)->HasTextColour();
17682
17683 wxPyEndAllowThreads(__tstate);
17684 if (PyErr_Occurred()) SWIG_fail;
17685 }
17686 {
17687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17688 }
17689 return resultobj;
17690 fail:
17691 return NULL;
17692 }
17693
17694
17695 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17696 PyObject *resultobj;
17697 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17698 bool result;
17699 PyObject * obj0 = 0 ;
17700 char *kwnames[] = {
17701 (char *) "self", NULL
17702 };
17703
17704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
17705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17707 {
17708 PyThreadState* __tstate = wxPyBeginAllowThreads();
17709 result = (bool)(arg1)->HasBackgroundColour();
17710
17711 wxPyEndAllowThreads(__tstate);
17712 if (PyErr_Occurred()) SWIG_fail;
17713 }
17714 {
17715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17716 }
17717 return resultobj;
17718 fail:
17719 return NULL;
17720 }
17721
17722
17723 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
17724 PyObject *resultobj;
17725 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17726 bool result;
17727 PyObject * obj0 = 0 ;
17728 char *kwnames[] = {
17729 (char *) "self", NULL
17730 };
17731
17732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
17733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17735 {
17736 PyThreadState* __tstate = wxPyBeginAllowThreads();
17737 result = (bool)(arg1)->HasFont();
17738
17739 wxPyEndAllowThreads(__tstate);
17740 if (PyErr_Occurred()) SWIG_fail;
17741 }
17742 {
17743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17744 }
17745 return resultobj;
17746 fail:
17747 return NULL;
17748 }
17749
17750
17751 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
17752 PyObject *resultobj;
17753 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17754 wxColour result;
17755 PyObject * obj0 = 0 ;
17756 char *kwnames[] = {
17757 (char *) "self", NULL
17758 };
17759
17760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
17761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17763 {
17764 PyThreadState* __tstate = wxPyBeginAllowThreads();
17765 result = (arg1)->GetTextColour();
17766
17767 wxPyEndAllowThreads(__tstate);
17768 if (PyErr_Occurred()) SWIG_fail;
17769 }
17770 {
17771 wxColour * resultptr;
17772 resultptr = new wxColour((wxColour &) result);
17773 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17774 }
17775 return resultobj;
17776 fail:
17777 return NULL;
17778 }
17779
17780
17781 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17782 PyObject *resultobj;
17783 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17784 wxColour result;
17785 PyObject * obj0 = 0 ;
17786 char *kwnames[] = {
17787 (char *) "self", NULL
17788 };
17789
17790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
17791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17793 {
17794 PyThreadState* __tstate = wxPyBeginAllowThreads();
17795 result = (arg1)->GetBackgroundColour();
17796
17797 wxPyEndAllowThreads(__tstate);
17798 if (PyErr_Occurred()) SWIG_fail;
17799 }
17800 {
17801 wxColour * resultptr;
17802 resultptr = new wxColour((wxColour &) result);
17803 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17804 }
17805 return resultobj;
17806 fail:
17807 return NULL;
17808 }
17809
17810
17811 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
17812 PyObject *resultobj;
17813 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17814 wxFont result;
17815 PyObject * obj0 = 0 ;
17816 char *kwnames[] = {
17817 (char *) "self", NULL
17818 };
17819
17820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
17821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17823 {
17824 PyThreadState* __tstate = wxPyBeginAllowThreads();
17825 result = (arg1)->GetFont();
17826
17827 wxPyEndAllowThreads(__tstate);
17828 if (PyErr_Occurred()) SWIG_fail;
17829 }
17830 {
17831 wxFont * resultptr;
17832 resultptr = new wxFont((wxFont &) result);
17833 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
17834 }
17835 return resultobj;
17836 fail:
17837 return NULL;
17838 }
17839
17840
17841 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
17842 PyObject *resultobj;
17843 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17844 PyObject * obj0 = 0 ;
17845 char *kwnames[] = {
17846 (char *) "self", NULL
17847 };
17848
17849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
17850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17852 {
17853 PyThreadState* __tstate = wxPyBeginAllowThreads();
17854 wxListItemAttr_Destroy(arg1);
17855
17856 wxPyEndAllowThreads(__tstate);
17857 if (PyErr_Occurred()) SWIG_fail;
17858 }
17859 Py_INCREF(Py_None); resultobj = Py_None;
17860 return resultobj;
17861 fail:
17862 return NULL;
17863 }
17864
17865
17866 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
17867 PyObject *obj;
17868 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17869 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
17870 Py_INCREF(obj);
17871 return Py_BuildValue((char *)"");
17872 }
17873 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
17874 PyObject *resultobj;
17875 wxListItem *result;
17876 char *kwnames[] = {
17877 NULL
17878 };
17879
17880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
17881 {
17882 PyThreadState* __tstate = wxPyBeginAllowThreads();
17883 result = (wxListItem *)new wxListItem();
17884
17885 wxPyEndAllowThreads(__tstate);
17886 if (PyErr_Occurred()) SWIG_fail;
17887 }
17888 {
17889 resultobj = wxPyMake_wxObject(result);
17890 }
17891 return resultobj;
17892 fail:
17893 return NULL;
17894 }
17895
17896
17897 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
17898 PyObject *resultobj;
17899 wxListItem *arg1 = (wxListItem *) 0 ;
17900 PyObject * obj0 = 0 ;
17901 char *kwnames[] = {
17902 (char *) "self", NULL
17903 };
17904
17905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
17906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17908 {
17909 PyThreadState* __tstate = wxPyBeginAllowThreads();
17910 delete arg1;
17911
17912 wxPyEndAllowThreads(__tstate);
17913 if (PyErr_Occurred()) SWIG_fail;
17914 }
17915 Py_INCREF(Py_None); resultobj = Py_None;
17916 return resultobj;
17917 fail:
17918 return NULL;
17919 }
17920
17921
17922 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
17923 PyObject *resultobj;
17924 wxListItem *arg1 = (wxListItem *) 0 ;
17925 PyObject * obj0 = 0 ;
17926 char *kwnames[] = {
17927 (char *) "self", NULL
17928 };
17929
17930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
17931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17933 {
17934 PyThreadState* __tstate = wxPyBeginAllowThreads();
17935 (arg1)->Clear();
17936
17937 wxPyEndAllowThreads(__tstate);
17938 if (PyErr_Occurred()) SWIG_fail;
17939 }
17940 Py_INCREF(Py_None); resultobj = Py_None;
17941 return resultobj;
17942 fail:
17943 return NULL;
17944 }
17945
17946
17947 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17948 PyObject *resultobj;
17949 wxListItem *arg1 = (wxListItem *) 0 ;
17950 PyObject * obj0 = 0 ;
17951 char *kwnames[] = {
17952 (char *) "self", NULL
17953 };
17954
17955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
17956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17958 {
17959 PyThreadState* __tstate = wxPyBeginAllowThreads();
17960 (arg1)->ClearAttributes();
17961
17962 wxPyEndAllowThreads(__tstate);
17963 if (PyErr_Occurred()) SWIG_fail;
17964 }
17965 Py_INCREF(Py_None); resultobj = Py_None;
17966 return resultobj;
17967 fail:
17968 return NULL;
17969 }
17970
17971
17972 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
17973 PyObject *resultobj;
17974 wxListItem *arg1 = (wxListItem *) 0 ;
17975 long arg2 ;
17976 PyObject * obj0 = 0 ;
17977 PyObject * obj1 = 0 ;
17978 char *kwnames[] = {
17979 (char *) "self",(char *) "mask", NULL
17980 };
17981
17982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
17983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17985 arg2 = (long) SWIG_AsLong(obj1);
17986 if (PyErr_Occurred()) SWIG_fail;
17987 {
17988 PyThreadState* __tstate = wxPyBeginAllowThreads();
17989 (arg1)->SetMask(arg2);
17990
17991 wxPyEndAllowThreads(__tstate);
17992 if (PyErr_Occurred()) SWIG_fail;
17993 }
17994 Py_INCREF(Py_None); resultobj = Py_None;
17995 return resultobj;
17996 fail:
17997 return NULL;
17998 }
17999
18000
18001 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
18002 PyObject *resultobj;
18003 wxListItem *arg1 = (wxListItem *) 0 ;
18004 long arg2 ;
18005 PyObject * obj0 = 0 ;
18006 PyObject * obj1 = 0 ;
18007 char *kwnames[] = {
18008 (char *) "self",(char *) "id", NULL
18009 };
18010
18011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
18012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18014 arg2 = (long) SWIG_AsLong(obj1);
18015 if (PyErr_Occurred()) SWIG_fail;
18016 {
18017 PyThreadState* __tstate = wxPyBeginAllowThreads();
18018 (arg1)->SetId(arg2);
18019
18020 wxPyEndAllowThreads(__tstate);
18021 if (PyErr_Occurred()) SWIG_fail;
18022 }
18023 Py_INCREF(Py_None); resultobj = Py_None;
18024 return resultobj;
18025 fail:
18026 return NULL;
18027 }
18028
18029
18030 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
18031 PyObject *resultobj;
18032 wxListItem *arg1 = (wxListItem *) 0 ;
18033 int arg2 ;
18034 PyObject * obj0 = 0 ;
18035 PyObject * obj1 = 0 ;
18036 char *kwnames[] = {
18037 (char *) "self",(char *) "col", NULL
18038 };
18039
18040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
18041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18043 arg2 = (int) SWIG_AsInt(obj1);
18044 if (PyErr_Occurred()) SWIG_fail;
18045 {
18046 PyThreadState* __tstate = wxPyBeginAllowThreads();
18047 (arg1)->SetColumn(arg2);
18048
18049 wxPyEndAllowThreads(__tstate);
18050 if (PyErr_Occurred()) SWIG_fail;
18051 }
18052 Py_INCREF(Py_None); resultobj = Py_None;
18053 return resultobj;
18054 fail:
18055 return NULL;
18056 }
18057
18058
18059 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
18060 PyObject *resultobj;
18061 wxListItem *arg1 = (wxListItem *) 0 ;
18062 long arg2 ;
18063 PyObject * obj0 = 0 ;
18064 PyObject * obj1 = 0 ;
18065 char *kwnames[] = {
18066 (char *) "self",(char *) "state", NULL
18067 };
18068
18069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
18070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18072 arg2 = (long) SWIG_AsLong(obj1);
18073 if (PyErr_Occurred()) SWIG_fail;
18074 {
18075 PyThreadState* __tstate = wxPyBeginAllowThreads();
18076 (arg1)->SetState(arg2);
18077
18078 wxPyEndAllowThreads(__tstate);
18079 if (PyErr_Occurred()) SWIG_fail;
18080 }
18081 Py_INCREF(Py_None); resultobj = Py_None;
18082 return resultobj;
18083 fail:
18084 return NULL;
18085 }
18086
18087
18088 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
18089 PyObject *resultobj;
18090 wxListItem *arg1 = (wxListItem *) 0 ;
18091 long arg2 ;
18092 PyObject * obj0 = 0 ;
18093 PyObject * obj1 = 0 ;
18094 char *kwnames[] = {
18095 (char *) "self",(char *) "stateMask", NULL
18096 };
18097
18098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
18099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18101 arg2 = (long) SWIG_AsLong(obj1);
18102 if (PyErr_Occurred()) SWIG_fail;
18103 {
18104 PyThreadState* __tstate = wxPyBeginAllowThreads();
18105 (arg1)->SetStateMask(arg2);
18106
18107 wxPyEndAllowThreads(__tstate);
18108 if (PyErr_Occurred()) SWIG_fail;
18109 }
18110 Py_INCREF(Py_None); resultobj = Py_None;
18111 return resultobj;
18112 fail:
18113 return NULL;
18114 }
18115
18116
18117 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
18118 PyObject *resultobj;
18119 wxListItem *arg1 = (wxListItem *) 0 ;
18120 wxString *arg2 = 0 ;
18121 bool temp2 = False ;
18122 PyObject * obj0 = 0 ;
18123 PyObject * obj1 = 0 ;
18124 char *kwnames[] = {
18125 (char *) "self",(char *) "text", NULL
18126 };
18127
18128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
18129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18131 {
18132 arg2 = wxString_in_helper(obj1);
18133 if (arg2 == NULL) SWIG_fail;
18134 temp2 = True;
18135 }
18136 {
18137 PyThreadState* __tstate = wxPyBeginAllowThreads();
18138 (arg1)->SetText((wxString const &)*arg2);
18139
18140 wxPyEndAllowThreads(__tstate);
18141 if (PyErr_Occurred()) SWIG_fail;
18142 }
18143 Py_INCREF(Py_None); resultobj = Py_None;
18144 {
18145 if (temp2)
18146 delete arg2;
18147 }
18148 return resultobj;
18149 fail:
18150 {
18151 if (temp2)
18152 delete arg2;
18153 }
18154 return NULL;
18155 }
18156
18157
18158 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
18159 PyObject *resultobj;
18160 wxListItem *arg1 = (wxListItem *) 0 ;
18161 int arg2 ;
18162 PyObject * obj0 = 0 ;
18163 PyObject * obj1 = 0 ;
18164 char *kwnames[] = {
18165 (char *) "self",(char *) "image", NULL
18166 };
18167
18168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
18169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18171 arg2 = (int) SWIG_AsInt(obj1);
18172 if (PyErr_Occurred()) SWIG_fail;
18173 {
18174 PyThreadState* __tstate = wxPyBeginAllowThreads();
18175 (arg1)->SetImage(arg2);
18176
18177 wxPyEndAllowThreads(__tstate);
18178 if (PyErr_Occurred()) SWIG_fail;
18179 }
18180 Py_INCREF(Py_None); resultobj = Py_None;
18181 return resultobj;
18182 fail:
18183 return NULL;
18184 }
18185
18186
18187 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
18188 PyObject *resultobj;
18189 wxListItem *arg1 = (wxListItem *) 0 ;
18190 long arg2 ;
18191 PyObject * obj0 = 0 ;
18192 PyObject * obj1 = 0 ;
18193 char *kwnames[] = {
18194 (char *) "self",(char *) "data", NULL
18195 };
18196
18197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
18198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18200 arg2 = (long) SWIG_AsLong(obj1);
18201 if (PyErr_Occurred()) SWIG_fail;
18202 {
18203 PyThreadState* __tstate = wxPyBeginAllowThreads();
18204 (arg1)->SetData(arg2);
18205
18206 wxPyEndAllowThreads(__tstate);
18207 if (PyErr_Occurred()) SWIG_fail;
18208 }
18209 Py_INCREF(Py_None); resultobj = Py_None;
18210 return resultobj;
18211 fail:
18212 return NULL;
18213 }
18214
18215
18216 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
18217 PyObject *resultobj;
18218 wxListItem *arg1 = (wxListItem *) 0 ;
18219 int arg2 ;
18220 PyObject * obj0 = 0 ;
18221 PyObject * obj1 = 0 ;
18222 char *kwnames[] = {
18223 (char *) "self",(char *) "width", NULL
18224 };
18225
18226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
18227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18229 arg2 = (int) SWIG_AsInt(obj1);
18230 if (PyErr_Occurred()) SWIG_fail;
18231 {
18232 PyThreadState* __tstate = wxPyBeginAllowThreads();
18233 (arg1)->SetWidth(arg2);
18234
18235 wxPyEndAllowThreads(__tstate);
18236 if (PyErr_Occurred()) SWIG_fail;
18237 }
18238 Py_INCREF(Py_None); resultobj = Py_None;
18239 return resultobj;
18240 fail:
18241 return NULL;
18242 }
18243
18244
18245 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
18246 PyObject *resultobj;
18247 wxListItem *arg1 = (wxListItem *) 0 ;
18248 int arg2 ;
18249 PyObject * obj0 = 0 ;
18250 PyObject * obj1 = 0 ;
18251 char *kwnames[] = {
18252 (char *) "self",(char *) "align", NULL
18253 };
18254
18255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
18256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18258 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
18259 if (PyErr_Occurred()) SWIG_fail;
18260 {
18261 PyThreadState* __tstate = wxPyBeginAllowThreads();
18262 (arg1)->SetAlign((wxListColumnFormat )arg2);
18263
18264 wxPyEndAllowThreads(__tstate);
18265 if (PyErr_Occurred()) SWIG_fail;
18266 }
18267 Py_INCREF(Py_None); resultobj = Py_None;
18268 return resultobj;
18269 fail:
18270 return NULL;
18271 }
18272
18273
18274 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
18275 PyObject *resultobj;
18276 wxListItem *arg1 = (wxListItem *) 0 ;
18277 wxColour *arg2 = 0 ;
18278 wxColour temp2 ;
18279 PyObject * obj0 = 0 ;
18280 PyObject * obj1 = 0 ;
18281 char *kwnames[] = {
18282 (char *) "self",(char *) "colText", NULL
18283 };
18284
18285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18288 {
18289 arg2 = &temp2;
18290 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18291 }
18292 {
18293 PyThreadState* __tstate = wxPyBeginAllowThreads();
18294 (arg1)->SetTextColour((wxColour const &)*arg2);
18295
18296 wxPyEndAllowThreads(__tstate);
18297 if (PyErr_Occurred()) SWIG_fail;
18298 }
18299 Py_INCREF(Py_None); resultobj = Py_None;
18300 return resultobj;
18301 fail:
18302 return NULL;
18303 }
18304
18305
18306 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
18307 PyObject *resultobj;
18308 wxListItem *arg1 = (wxListItem *) 0 ;
18309 wxColour *arg2 = 0 ;
18310 wxColour temp2 ;
18311 PyObject * obj0 = 0 ;
18312 PyObject * obj1 = 0 ;
18313 char *kwnames[] = {
18314 (char *) "self",(char *) "colBack", NULL
18315 };
18316
18317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18320 {
18321 arg2 = &temp2;
18322 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18323 }
18324 {
18325 PyThreadState* __tstate = wxPyBeginAllowThreads();
18326 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18327
18328 wxPyEndAllowThreads(__tstate);
18329 if (PyErr_Occurred()) SWIG_fail;
18330 }
18331 Py_INCREF(Py_None); resultobj = Py_None;
18332 return resultobj;
18333 fail:
18334 return NULL;
18335 }
18336
18337
18338 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
18339 PyObject *resultobj;
18340 wxListItem *arg1 = (wxListItem *) 0 ;
18341 wxFont *arg2 = 0 ;
18342 PyObject * obj0 = 0 ;
18343 PyObject * obj1 = 0 ;
18344 char *kwnames[] = {
18345 (char *) "self",(char *) "font", NULL
18346 };
18347
18348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
18349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18351 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18352 SWIG_POINTER_EXCEPTION | 0)) == -1)
18353 SWIG_fail;
18354 if (arg2 == NULL) {
18355 PyErr_SetString(PyExc_TypeError,"null reference");
18356 SWIG_fail;
18357 }
18358 {
18359 PyThreadState* __tstate = wxPyBeginAllowThreads();
18360 (arg1)->SetFont((wxFont const &)*arg2);
18361
18362 wxPyEndAllowThreads(__tstate);
18363 if (PyErr_Occurred()) SWIG_fail;
18364 }
18365 Py_INCREF(Py_None); resultobj = Py_None;
18366 return resultobj;
18367 fail:
18368 return NULL;
18369 }
18370
18371
18372 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
18373 PyObject *resultobj;
18374 wxListItem *arg1 = (wxListItem *) 0 ;
18375 long result;
18376 PyObject * obj0 = 0 ;
18377 char *kwnames[] = {
18378 (char *) "self", NULL
18379 };
18380
18381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
18382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18384 {
18385 PyThreadState* __tstate = wxPyBeginAllowThreads();
18386 result = (long)(arg1)->GetMask();
18387
18388 wxPyEndAllowThreads(__tstate);
18389 if (PyErr_Occurred()) SWIG_fail;
18390 }
18391 resultobj = SWIG_FromLong((long)result);
18392 return resultobj;
18393 fail:
18394 return NULL;
18395 }
18396
18397
18398 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
18399 PyObject *resultobj;
18400 wxListItem *arg1 = (wxListItem *) 0 ;
18401 long result;
18402 PyObject * obj0 = 0 ;
18403 char *kwnames[] = {
18404 (char *) "self", NULL
18405 };
18406
18407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
18408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18410 {
18411 PyThreadState* __tstate = wxPyBeginAllowThreads();
18412 result = (long)(arg1)->GetId();
18413
18414 wxPyEndAllowThreads(__tstate);
18415 if (PyErr_Occurred()) SWIG_fail;
18416 }
18417 resultobj = SWIG_FromLong((long)result);
18418 return resultobj;
18419 fail:
18420 return NULL;
18421 }
18422
18423
18424 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
18425 PyObject *resultobj;
18426 wxListItem *arg1 = (wxListItem *) 0 ;
18427 int result;
18428 PyObject * obj0 = 0 ;
18429 char *kwnames[] = {
18430 (char *) "self", NULL
18431 };
18432
18433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
18434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18436 {
18437 PyThreadState* __tstate = wxPyBeginAllowThreads();
18438 result = (int)(arg1)->GetColumn();
18439
18440 wxPyEndAllowThreads(__tstate);
18441 if (PyErr_Occurred()) SWIG_fail;
18442 }
18443 resultobj = SWIG_FromInt((int)result);
18444 return resultobj;
18445 fail:
18446 return NULL;
18447 }
18448
18449
18450 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
18451 PyObject *resultobj;
18452 wxListItem *arg1 = (wxListItem *) 0 ;
18453 long result;
18454 PyObject * obj0 = 0 ;
18455 char *kwnames[] = {
18456 (char *) "self", NULL
18457 };
18458
18459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
18460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18462 {
18463 PyThreadState* __tstate = wxPyBeginAllowThreads();
18464 result = (long)(arg1)->GetState();
18465
18466 wxPyEndAllowThreads(__tstate);
18467 if (PyErr_Occurred()) SWIG_fail;
18468 }
18469 resultobj = SWIG_FromLong((long)result);
18470 return resultobj;
18471 fail:
18472 return NULL;
18473 }
18474
18475
18476 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
18477 PyObject *resultobj;
18478 wxListItem *arg1 = (wxListItem *) 0 ;
18479 wxString *result;
18480 PyObject * obj0 = 0 ;
18481 char *kwnames[] = {
18482 (char *) "self", NULL
18483 };
18484
18485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
18486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18488 {
18489 PyThreadState* __tstate = wxPyBeginAllowThreads();
18490 {
18491 wxString const &_result_ref = (arg1)->GetText();
18492 result = (wxString *) &_result_ref;
18493 }
18494
18495 wxPyEndAllowThreads(__tstate);
18496 if (PyErr_Occurred()) SWIG_fail;
18497 }
18498 {
18499 #if wxUSE_UNICODE
18500 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18501 #else
18502 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18503 #endif
18504 }
18505 return resultobj;
18506 fail:
18507 return NULL;
18508 }
18509
18510
18511 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
18512 PyObject *resultobj;
18513 wxListItem *arg1 = (wxListItem *) 0 ;
18514 int result;
18515 PyObject * obj0 = 0 ;
18516 char *kwnames[] = {
18517 (char *) "self", NULL
18518 };
18519
18520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
18521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18523 {
18524 PyThreadState* __tstate = wxPyBeginAllowThreads();
18525 result = (int)(arg1)->GetImage();
18526
18527 wxPyEndAllowThreads(__tstate);
18528 if (PyErr_Occurred()) SWIG_fail;
18529 }
18530 resultobj = SWIG_FromInt((int)result);
18531 return resultobj;
18532 fail:
18533 return NULL;
18534 }
18535
18536
18537 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
18538 PyObject *resultobj;
18539 wxListItem *arg1 = (wxListItem *) 0 ;
18540 long result;
18541 PyObject * obj0 = 0 ;
18542 char *kwnames[] = {
18543 (char *) "self", NULL
18544 };
18545
18546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
18547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18549 {
18550 PyThreadState* __tstate = wxPyBeginAllowThreads();
18551 result = (long)(arg1)->GetData();
18552
18553 wxPyEndAllowThreads(__tstate);
18554 if (PyErr_Occurred()) SWIG_fail;
18555 }
18556 resultobj = SWIG_FromLong((long)result);
18557 return resultobj;
18558 fail:
18559 return NULL;
18560 }
18561
18562
18563 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
18564 PyObject *resultobj;
18565 wxListItem *arg1 = (wxListItem *) 0 ;
18566 int result;
18567 PyObject * obj0 = 0 ;
18568 char *kwnames[] = {
18569 (char *) "self", NULL
18570 };
18571
18572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
18573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18575 {
18576 PyThreadState* __tstate = wxPyBeginAllowThreads();
18577 result = (int)(arg1)->GetWidth();
18578
18579 wxPyEndAllowThreads(__tstate);
18580 if (PyErr_Occurred()) SWIG_fail;
18581 }
18582 resultobj = SWIG_FromInt((int)result);
18583 return resultobj;
18584 fail:
18585 return NULL;
18586 }
18587
18588
18589 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
18590 PyObject *resultobj;
18591 wxListItem *arg1 = (wxListItem *) 0 ;
18592 int result;
18593 PyObject * obj0 = 0 ;
18594 char *kwnames[] = {
18595 (char *) "self", NULL
18596 };
18597
18598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
18599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18601 {
18602 PyThreadState* __tstate = wxPyBeginAllowThreads();
18603 result = (int)(arg1)->GetAlign();
18604
18605 wxPyEndAllowThreads(__tstate);
18606 if (PyErr_Occurred()) SWIG_fail;
18607 }
18608 resultobj = SWIG_FromInt((int)result);
18609 return resultobj;
18610 fail:
18611 return NULL;
18612 }
18613
18614
18615 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18616 PyObject *resultobj;
18617 wxListItem *arg1 = (wxListItem *) 0 ;
18618 wxListItemAttr *result;
18619 PyObject * obj0 = 0 ;
18620 char *kwnames[] = {
18621 (char *) "self", NULL
18622 };
18623
18624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
18625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18627 {
18628 PyThreadState* __tstate = wxPyBeginAllowThreads();
18629 result = (wxListItemAttr *)(arg1)->GetAttributes();
18630
18631 wxPyEndAllowThreads(__tstate);
18632 if (PyErr_Occurred()) SWIG_fail;
18633 }
18634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
18635 return resultobj;
18636 fail:
18637 return NULL;
18638 }
18639
18640
18641 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18642 PyObject *resultobj;
18643 wxListItem *arg1 = (wxListItem *) 0 ;
18644 bool result;
18645 PyObject * obj0 = 0 ;
18646 char *kwnames[] = {
18647 (char *) "self", NULL
18648 };
18649
18650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
18651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18653 {
18654 PyThreadState* __tstate = wxPyBeginAllowThreads();
18655 result = (bool)(arg1)->HasAttributes();
18656
18657 wxPyEndAllowThreads(__tstate);
18658 if (PyErr_Occurred()) SWIG_fail;
18659 }
18660 {
18661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18662 }
18663 return resultobj;
18664 fail:
18665 return NULL;
18666 }
18667
18668
18669 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
18670 PyObject *resultobj;
18671 wxListItem *arg1 = (wxListItem *) 0 ;
18672 wxColour result;
18673 PyObject * obj0 = 0 ;
18674 char *kwnames[] = {
18675 (char *) "self", NULL
18676 };
18677
18678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
18679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18681 {
18682 PyThreadState* __tstate = wxPyBeginAllowThreads();
18683 result = ((wxListItem const *)arg1)->GetTextColour();
18684
18685 wxPyEndAllowThreads(__tstate);
18686 if (PyErr_Occurred()) SWIG_fail;
18687 }
18688 {
18689 wxColour * resultptr;
18690 resultptr = new wxColour((wxColour &) result);
18691 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18692 }
18693 return resultobj;
18694 fail:
18695 return NULL;
18696 }
18697
18698
18699 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
18700 PyObject *resultobj;
18701 wxListItem *arg1 = (wxListItem *) 0 ;
18702 wxColour result;
18703 PyObject * obj0 = 0 ;
18704 char *kwnames[] = {
18705 (char *) "self", NULL
18706 };
18707
18708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
18709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18711 {
18712 PyThreadState* __tstate = wxPyBeginAllowThreads();
18713 result = ((wxListItem const *)arg1)->GetBackgroundColour();
18714
18715 wxPyEndAllowThreads(__tstate);
18716 if (PyErr_Occurred()) SWIG_fail;
18717 }
18718 {
18719 wxColour * resultptr;
18720 resultptr = new wxColour((wxColour &) result);
18721 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18722 }
18723 return resultobj;
18724 fail:
18725 return NULL;
18726 }
18727
18728
18729 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
18730 PyObject *resultobj;
18731 wxListItem *arg1 = (wxListItem *) 0 ;
18732 wxFont result;
18733 PyObject * obj0 = 0 ;
18734 char *kwnames[] = {
18735 (char *) "self", NULL
18736 };
18737
18738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
18739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18741 {
18742 PyThreadState* __tstate = wxPyBeginAllowThreads();
18743 result = ((wxListItem const *)arg1)->GetFont();
18744
18745 wxPyEndAllowThreads(__tstate);
18746 if (PyErr_Occurred()) SWIG_fail;
18747 }
18748 {
18749 wxFont * resultptr;
18750 resultptr = new wxFont((wxFont &) result);
18751 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
18752 }
18753 return resultobj;
18754 fail:
18755 return NULL;
18756 }
18757
18758
18759 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
18760 PyObject *resultobj;
18761 wxListItem *arg1 = (wxListItem *) 0 ;
18762 long arg2 ;
18763 PyObject * obj0 = 0 ;
18764 PyObject * obj1 = 0 ;
18765 char *kwnames[] = {
18766 (char *) "self",(char *) "m_mask", NULL
18767 };
18768
18769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
18770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18772 arg2 = (long) SWIG_AsLong(obj1);
18773 if (PyErr_Occurred()) SWIG_fail;
18774 if (arg1) (arg1)->m_mask = arg2;
18775
18776 Py_INCREF(Py_None); resultobj = Py_None;
18777 return resultobj;
18778 fail:
18779 return NULL;
18780 }
18781
18782
18783 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
18784 PyObject *resultobj;
18785 wxListItem *arg1 = (wxListItem *) 0 ;
18786 long result;
18787 PyObject * obj0 = 0 ;
18788 char *kwnames[] = {
18789 (char *) "self", NULL
18790 };
18791
18792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
18793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18795 result = (long) ((arg1)->m_mask);
18796
18797 resultobj = SWIG_FromLong((long)result);
18798 return resultobj;
18799 fail:
18800 return NULL;
18801 }
18802
18803
18804 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
18805 PyObject *resultobj;
18806 wxListItem *arg1 = (wxListItem *) 0 ;
18807 long arg2 ;
18808 PyObject * obj0 = 0 ;
18809 PyObject * obj1 = 0 ;
18810 char *kwnames[] = {
18811 (char *) "self",(char *) "m_itemId", NULL
18812 };
18813
18814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
18815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18817 arg2 = (long) SWIG_AsLong(obj1);
18818 if (PyErr_Occurred()) SWIG_fail;
18819 if (arg1) (arg1)->m_itemId = arg2;
18820
18821 Py_INCREF(Py_None); resultobj = Py_None;
18822 return resultobj;
18823 fail:
18824 return NULL;
18825 }
18826
18827
18828 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
18829 PyObject *resultobj;
18830 wxListItem *arg1 = (wxListItem *) 0 ;
18831 long result;
18832 PyObject * obj0 = 0 ;
18833 char *kwnames[] = {
18834 (char *) "self", NULL
18835 };
18836
18837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
18838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18840 result = (long) ((arg1)->m_itemId);
18841
18842 resultobj = SWIG_FromLong((long)result);
18843 return resultobj;
18844 fail:
18845 return NULL;
18846 }
18847
18848
18849 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
18850 PyObject *resultobj;
18851 wxListItem *arg1 = (wxListItem *) 0 ;
18852 int arg2 ;
18853 PyObject * obj0 = 0 ;
18854 PyObject * obj1 = 0 ;
18855 char *kwnames[] = {
18856 (char *) "self",(char *) "m_col", NULL
18857 };
18858
18859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
18860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18862 arg2 = (int) SWIG_AsInt(obj1);
18863 if (PyErr_Occurred()) SWIG_fail;
18864 if (arg1) (arg1)->m_col = arg2;
18865
18866 Py_INCREF(Py_None); resultobj = Py_None;
18867 return resultobj;
18868 fail:
18869 return NULL;
18870 }
18871
18872
18873 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
18874 PyObject *resultobj;
18875 wxListItem *arg1 = (wxListItem *) 0 ;
18876 int result;
18877 PyObject * obj0 = 0 ;
18878 char *kwnames[] = {
18879 (char *) "self", NULL
18880 };
18881
18882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
18883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18885 result = (int) ((arg1)->m_col);
18886
18887 resultobj = SWIG_FromInt((int)result);
18888 return resultobj;
18889 fail:
18890 return NULL;
18891 }
18892
18893
18894 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
18895 PyObject *resultobj;
18896 wxListItem *arg1 = (wxListItem *) 0 ;
18897 long arg2 ;
18898 PyObject * obj0 = 0 ;
18899 PyObject * obj1 = 0 ;
18900 char *kwnames[] = {
18901 (char *) "self",(char *) "m_state", NULL
18902 };
18903
18904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
18905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18907 arg2 = (long) SWIG_AsLong(obj1);
18908 if (PyErr_Occurred()) SWIG_fail;
18909 if (arg1) (arg1)->m_state = arg2;
18910
18911 Py_INCREF(Py_None); resultobj = Py_None;
18912 return resultobj;
18913 fail:
18914 return NULL;
18915 }
18916
18917
18918 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
18919 PyObject *resultobj;
18920 wxListItem *arg1 = (wxListItem *) 0 ;
18921 long result;
18922 PyObject * obj0 = 0 ;
18923 char *kwnames[] = {
18924 (char *) "self", NULL
18925 };
18926
18927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
18928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18930 result = (long) ((arg1)->m_state);
18931
18932 resultobj = SWIG_FromLong((long)result);
18933 return resultobj;
18934 fail:
18935 return NULL;
18936 }
18937
18938
18939 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
18940 PyObject *resultobj;
18941 wxListItem *arg1 = (wxListItem *) 0 ;
18942 long arg2 ;
18943 PyObject * obj0 = 0 ;
18944 PyObject * obj1 = 0 ;
18945 char *kwnames[] = {
18946 (char *) "self",(char *) "m_stateMask", NULL
18947 };
18948
18949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
18950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18952 arg2 = (long) SWIG_AsLong(obj1);
18953 if (PyErr_Occurred()) SWIG_fail;
18954 if (arg1) (arg1)->m_stateMask = arg2;
18955
18956 Py_INCREF(Py_None); resultobj = Py_None;
18957 return resultobj;
18958 fail:
18959 return NULL;
18960 }
18961
18962
18963 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
18964 PyObject *resultobj;
18965 wxListItem *arg1 = (wxListItem *) 0 ;
18966 long result;
18967 PyObject * obj0 = 0 ;
18968 char *kwnames[] = {
18969 (char *) "self", NULL
18970 };
18971
18972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
18973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18975 result = (long) ((arg1)->m_stateMask);
18976
18977 resultobj = SWIG_FromLong((long)result);
18978 return resultobj;
18979 fail:
18980 return NULL;
18981 }
18982
18983
18984 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
18985 PyObject *resultobj;
18986 wxListItem *arg1 = (wxListItem *) 0 ;
18987 wxString *arg2 = (wxString *) 0 ;
18988 bool temp2 = False ;
18989 PyObject * obj0 = 0 ;
18990 PyObject * obj1 = 0 ;
18991 char *kwnames[] = {
18992 (char *) "self",(char *) "m_text", NULL
18993 };
18994
18995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
18996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18998 {
18999 arg2 = wxString_in_helper(obj1);
19000 if (arg2 == NULL) SWIG_fail;
19001 temp2 = True;
19002 }
19003 if (arg1) (arg1)->m_text = *arg2;
19004
19005 Py_INCREF(Py_None); resultobj = Py_None;
19006 {
19007 if (temp2)
19008 delete arg2;
19009 }
19010 return resultobj;
19011 fail:
19012 {
19013 if (temp2)
19014 delete arg2;
19015 }
19016 return NULL;
19017 }
19018
19019
19020 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
19021 PyObject *resultobj;
19022 wxListItem *arg1 = (wxListItem *) 0 ;
19023 wxString *result;
19024 PyObject * obj0 = 0 ;
19025 char *kwnames[] = {
19026 (char *) "self", NULL
19027 };
19028
19029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
19030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19032 result = (wxString *)& ((arg1)->m_text);
19033
19034 {
19035 #if wxUSE_UNICODE
19036 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19037 #else
19038 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19039 #endif
19040 }
19041 return resultobj;
19042 fail:
19043 return NULL;
19044 }
19045
19046
19047 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
19048 PyObject *resultobj;
19049 wxListItem *arg1 = (wxListItem *) 0 ;
19050 int arg2 ;
19051 PyObject * obj0 = 0 ;
19052 PyObject * obj1 = 0 ;
19053 char *kwnames[] = {
19054 (char *) "self",(char *) "m_image", NULL
19055 };
19056
19057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
19058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19060 arg2 = (int) SWIG_AsInt(obj1);
19061 if (PyErr_Occurred()) SWIG_fail;
19062 if (arg1) (arg1)->m_image = arg2;
19063
19064 Py_INCREF(Py_None); resultobj = Py_None;
19065 return resultobj;
19066 fail:
19067 return NULL;
19068 }
19069
19070
19071 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
19072 PyObject *resultobj;
19073 wxListItem *arg1 = (wxListItem *) 0 ;
19074 int result;
19075 PyObject * obj0 = 0 ;
19076 char *kwnames[] = {
19077 (char *) "self", NULL
19078 };
19079
19080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
19081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19083 result = (int) ((arg1)->m_image);
19084
19085 resultobj = SWIG_FromInt((int)result);
19086 return resultobj;
19087 fail:
19088 return NULL;
19089 }
19090
19091
19092 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
19093 PyObject *resultobj;
19094 wxListItem *arg1 = (wxListItem *) 0 ;
19095 long arg2 ;
19096 PyObject * obj0 = 0 ;
19097 PyObject * obj1 = 0 ;
19098 char *kwnames[] = {
19099 (char *) "self",(char *) "m_data", NULL
19100 };
19101
19102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
19103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19105 arg2 = (long) SWIG_AsLong(obj1);
19106 if (PyErr_Occurred()) SWIG_fail;
19107 if (arg1) (arg1)->m_data = arg2;
19108
19109 Py_INCREF(Py_None); resultobj = Py_None;
19110 return resultobj;
19111 fail:
19112 return NULL;
19113 }
19114
19115
19116 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
19117 PyObject *resultobj;
19118 wxListItem *arg1 = (wxListItem *) 0 ;
19119 long result;
19120 PyObject * obj0 = 0 ;
19121 char *kwnames[] = {
19122 (char *) "self", NULL
19123 };
19124
19125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
19126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19128 result = (long) ((arg1)->m_data);
19129
19130 resultobj = SWIG_FromLong((long)result);
19131 return resultobj;
19132 fail:
19133 return NULL;
19134 }
19135
19136
19137 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
19138 PyObject *resultobj;
19139 wxListItem *arg1 = (wxListItem *) 0 ;
19140 int arg2 ;
19141 PyObject * obj0 = 0 ;
19142 PyObject * obj1 = 0 ;
19143 char *kwnames[] = {
19144 (char *) "self",(char *) "m_format", NULL
19145 };
19146
19147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
19148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19150 arg2 = (int) SWIG_AsInt(obj1);
19151 if (PyErr_Occurred()) SWIG_fail;
19152 if (arg1) (arg1)->m_format = arg2;
19153
19154 Py_INCREF(Py_None); resultobj = Py_None;
19155 return resultobj;
19156 fail:
19157 return NULL;
19158 }
19159
19160
19161 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
19162 PyObject *resultobj;
19163 wxListItem *arg1 = (wxListItem *) 0 ;
19164 int result;
19165 PyObject * obj0 = 0 ;
19166 char *kwnames[] = {
19167 (char *) "self", NULL
19168 };
19169
19170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
19171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19173 result = (int) ((arg1)->m_format);
19174
19175 resultobj = SWIG_FromInt((int)result);
19176 return resultobj;
19177 fail:
19178 return NULL;
19179 }
19180
19181
19182 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
19183 PyObject *resultobj;
19184 wxListItem *arg1 = (wxListItem *) 0 ;
19185 int arg2 ;
19186 PyObject * obj0 = 0 ;
19187 PyObject * obj1 = 0 ;
19188 char *kwnames[] = {
19189 (char *) "self",(char *) "m_width", NULL
19190 };
19191
19192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
19193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19195 arg2 = (int) SWIG_AsInt(obj1);
19196 if (PyErr_Occurred()) SWIG_fail;
19197 if (arg1) (arg1)->m_width = arg2;
19198
19199 Py_INCREF(Py_None); resultobj = Py_None;
19200 return resultobj;
19201 fail:
19202 return NULL;
19203 }
19204
19205
19206 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
19207 PyObject *resultobj;
19208 wxListItem *arg1 = (wxListItem *) 0 ;
19209 int result;
19210 PyObject * obj0 = 0 ;
19211 char *kwnames[] = {
19212 (char *) "self", NULL
19213 };
19214
19215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
19216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19218 result = (int) ((arg1)->m_width);
19219
19220 resultobj = SWIG_FromInt((int)result);
19221 return resultobj;
19222 fail:
19223 return NULL;
19224 }
19225
19226
19227 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
19228 PyObject *obj;
19229 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19230 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
19231 Py_INCREF(obj);
19232 return Py_BuildValue((char *)"");
19233 }
19234 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
19235 PyObject *resultobj;
19236 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19237 int arg2 = (int) 0 ;
19238 wxListEvent *result;
19239 PyObject * obj0 = 0 ;
19240 PyObject * obj1 = 0 ;
19241 char *kwnames[] = {
19242 (char *) "commandType",(char *) "id", NULL
19243 };
19244
19245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
19246 if (obj0) {
19247 arg1 = (wxEventType) SWIG_AsInt(obj0);
19248 if (PyErr_Occurred()) SWIG_fail;
19249 }
19250 if (obj1) {
19251 arg2 = (int) SWIG_AsInt(obj1);
19252 if (PyErr_Occurred()) SWIG_fail;
19253 }
19254 {
19255 PyThreadState* __tstate = wxPyBeginAllowThreads();
19256 result = (wxListEvent *)new wxListEvent(arg1,arg2);
19257
19258 wxPyEndAllowThreads(__tstate);
19259 if (PyErr_Occurred()) SWIG_fail;
19260 }
19261 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
19262 return resultobj;
19263 fail:
19264 return NULL;
19265 }
19266
19267
19268 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
19269 PyObject *resultobj;
19270 wxListEvent *arg1 = (wxListEvent *) 0 ;
19271 int arg2 ;
19272 PyObject * obj0 = 0 ;
19273 PyObject * obj1 = 0 ;
19274 char *kwnames[] = {
19275 (char *) "self",(char *) "m_code", NULL
19276 };
19277
19278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
19279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19281 arg2 = (int) SWIG_AsInt(obj1);
19282 if (PyErr_Occurred()) SWIG_fail;
19283 if (arg1) (arg1)->m_code = arg2;
19284
19285 Py_INCREF(Py_None); resultobj = Py_None;
19286 return resultobj;
19287 fail:
19288 return NULL;
19289 }
19290
19291
19292 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
19293 PyObject *resultobj;
19294 wxListEvent *arg1 = (wxListEvent *) 0 ;
19295 int result;
19296 PyObject * obj0 = 0 ;
19297 char *kwnames[] = {
19298 (char *) "self", NULL
19299 };
19300
19301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
19302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19304 result = (int) ((arg1)->m_code);
19305
19306 resultobj = SWIG_FromInt((int)result);
19307 return resultobj;
19308 fail:
19309 return NULL;
19310 }
19311
19312
19313 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
19314 PyObject *resultobj;
19315 wxListEvent *arg1 = (wxListEvent *) 0 ;
19316 long arg2 ;
19317 PyObject * obj0 = 0 ;
19318 PyObject * obj1 = 0 ;
19319 char *kwnames[] = {
19320 (char *) "self",(char *) "m_oldItemIndex", NULL
19321 };
19322
19323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19326 arg2 = (long) SWIG_AsLong(obj1);
19327 if (PyErr_Occurred()) SWIG_fail;
19328 if (arg1) (arg1)->m_oldItemIndex = arg2;
19329
19330 Py_INCREF(Py_None); resultobj = Py_None;
19331 return resultobj;
19332 fail:
19333 return NULL;
19334 }
19335
19336
19337 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
19338 PyObject *resultobj;
19339 wxListEvent *arg1 = (wxListEvent *) 0 ;
19340 long result;
19341 PyObject * obj0 = 0 ;
19342 char *kwnames[] = {
19343 (char *) "self", NULL
19344 };
19345
19346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
19347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19349 result = (long) ((arg1)->m_oldItemIndex);
19350
19351 resultobj = SWIG_FromLong((long)result);
19352 return resultobj;
19353 fail:
19354 return NULL;
19355 }
19356
19357
19358 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
19359 PyObject *resultobj;
19360 wxListEvent *arg1 = (wxListEvent *) 0 ;
19361 long arg2 ;
19362 PyObject * obj0 = 0 ;
19363 PyObject * obj1 = 0 ;
19364 char *kwnames[] = {
19365 (char *) "self",(char *) "m_itemIndex", NULL
19366 };
19367
19368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19371 arg2 = (long) SWIG_AsLong(obj1);
19372 if (PyErr_Occurred()) SWIG_fail;
19373 if (arg1) (arg1)->m_itemIndex = arg2;
19374
19375 Py_INCREF(Py_None); resultobj = Py_None;
19376 return resultobj;
19377 fail:
19378 return NULL;
19379 }
19380
19381
19382 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
19383 PyObject *resultobj;
19384 wxListEvent *arg1 = (wxListEvent *) 0 ;
19385 long result;
19386 PyObject * obj0 = 0 ;
19387 char *kwnames[] = {
19388 (char *) "self", NULL
19389 };
19390
19391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
19392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19394 result = (long) ((arg1)->m_itemIndex);
19395
19396 resultobj = SWIG_FromLong((long)result);
19397 return resultobj;
19398 fail:
19399 return NULL;
19400 }
19401
19402
19403 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
19404 PyObject *resultobj;
19405 wxListEvent *arg1 = (wxListEvent *) 0 ;
19406 int arg2 ;
19407 PyObject * obj0 = 0 ;
19408 PyObject * obj1 = 0 ;
19409 char *kwnames[] = {
19410 (char *) "self",(char *) "m_col", NULL
19411 };
19412
19413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19416 arg2 = (int) SWIG_AsInt(obj1);
19417 if (PyErr_Occurred()) SWIG_fail;
19418 if (arg1) (arg1)->m_col = arg2;
19419
19420 Py_INCREF(Py_None); resultobj = Py_None;
19421 return resultobj;
19422 fail:
19423 return NULL;
19424 }
19425
19426
19427 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
19428 PyObject *resultobj;
19429 wxListEvent *arg1 = (wxListEvent *) 0 ;
19430 int result;
19431 PyObject * obj0 = 0 ;
19432 char *kwnames[] = {
19433 (char *) "self", NULL
19434 };
19435
19436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
19437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19439 result = (int) ((arg1)->m_col);
19440
19441 resultobj = SWIG_FromInt((int)result);
19442 return resultobj;
19443 fail:
19444 return NULL;
19445 }
19446
19447
19448 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
19449 PyObject *resultobj;
19450 wxListEvent *arg1 = (wxListEvent *) 0 ;
19451 wxPoint *arg2 = (wxPoint *) 0 ;
19452 PyObject * obj0 = 0 ;
19453 PyObject * obj1 = 0 ;
19454 char *kwnames[] = {
19455 (char *) "self",(char *) "m_pointDrag", NULL
19456 };
19457
19458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
19459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19461 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
19462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19463 if (arg1) (arg1)->m_pointDrag = *arg2;
19464
19465 Py_INCREF(Py_None); resultobj = Py_None;
19466 return resultobj;
19467 fail:
19468 return NULL;
19469 }
19470
19471
19472 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
19473 PyObject *resultobj;
19474 wxListEvent *arg1 = (wxListEvent *) 0 ;
19475 wxPoint *result;
19476 PyObject * obj0 = 0 ;
19477 char *kwnames[] = {
19478 (char *) "self", NULL
19479 };
19480
19481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
19482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19484 result = (wxPoint *)& ((arg1)->m_pointDrag);
19485
19486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
19487 return resultobj;
19488 fail:
19489 return NULL;
19490 }
19491
19492
19493 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
19494 PyObject *resultobj;
19495 wxListEvent *arg1 = (wxListEvent *) 0 ;
19496 wxListItem *result;
19497 PyObject * obj0 = 0 ;
19498 char *kwnames[] = {
19499 (char *) "self", NULL
19500 };
19501
19502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
19503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19505 result = (wxListItem *)& ((arg1)->m_item);
19506
19507 {
19508 resultobj = wxPyMake_wxObject(result);
19509 }
19510 return resultobj;
19511 fail:
19512 return NULL;
19513 }
19514
19515
19516 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
19517 PyObject *resultobj;
19518 wxListEvent *arg1 = (wxListEvent *) 0 ;
19519 int result;
19520 PyObject * obj0 = 0 ;
19521 char *kwnames[] = {
19522 (char *) "self", NULL
19523 };
19524
19525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
19526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19528 {
19529 PyThreadState* __tstate = wxPyBeginAllowThreads();
19530 result = (int)(arg1)->GetKeyCode();
19531
19532 wxPyEndAllowThreads(__tstate);
19533 if (PyErr_Occurred()) SWIG_fail;
19534 }
19535 resultobj = SWIG_FromInt((int)result);
19536 return resultobj;
19537 fail:
19538 return NULL;
19539 }
19540
19541
19542 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
19543 PyObject *resultobj;
19544 wxListEvent *arg1 = (wxListEvent *) 0 ;
19545 long result;
19546 PyObject * obj0 = 0 ;
19547 char *kwnames[] = {
19548 (char *) "self", NULL
19549 };
19550
19551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
19552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19554 {
19555 PyThreadState* __tstate = wxPyBeginAllowThreads();
19556 result = (long)(arg1)->GetIndex();
19557
19558 wxPyEndAllowThreads(__tstate);
19559 if (PyErr_Occurred()) SWIG_fail;
19560 }
19561 resultobj = SWIG_FromLong((long)result);
19562 return resultobj;
19563 fail:
19564 return NULL;
19565 }
19566
19567
19568 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
19569 PyObject *resultobj;
19570 wxListEvent *arg1 = (wxListEvent *) 0 ;
19571 int result;
19572 PyObject * obj0 = 0 ;
19573 char *kwnames[] = {
19574 (char *) "self", NULL
19575 };
19576
19577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
19578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19580 {
19581 PyThreadState* __tstate = wxPyBeginAllowThreads();
19582 result = (int)(arg1)->GetColumn();
19583
19584 wxPyEndAllowThreads(__tstate);
19585 if (PyErr_Occurred()) SWIG_fail;
19586 }
19587 resultobj = SWIG_FromInt((int)result);
19588 return resultobj;
19589 fail:
19590 return NULL;
19591 }
19592
19593
19594 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
19595 PyObject *resultobj;
19596 wxListEvent *arg1 = (wxListEvent *) 0 ;
19597 wxPoint result;
19598 PyObject * obj0 = 0 ;
19599 char *kwnames[] = {
19600 (char *) "self", NULL
19601 };
19602
19603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
19604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19606 {
19607 PyThreadState* __tstate = wxPyBeginAllowThreads();
19608 result = (arg1)->GetPoint();
19609
19610 wxPyEndAllowThreads(__tstate);
19611 if (PyErr_Occurred()) SWIG_fail;
19612 }
19613 {
19614 wxPoint * resultptr;
19615 resultptr = new wxPoint((wxPoint &) result);
19616 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19617 }
19618 return resultobj;
19619 fail:
19620 return NULL;
19621 }
19622
19623
19624 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
19625 PyObject *resultobj;
19626 wxListEvent *arg1 = (wxListEvent *) 0 ;
19627 wxString *result;
19628 PyObject * obj0 = 0 ;
19629 char *kwnames[] = {
19630 (char *) "self", NULL
19631 };
19632
19633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
19634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19636 {
19637 PyThreadState* __tstate = wxPyBeginAllowThreads();
19638 {
19639 wxString const &_result_ref = (arg1)->GetLabel();
19640 result = (wxString *) &_result_ref;
19641 }
19642
19643 wxPyEndAllowThreads(__tstate);
19644 if (PyErr_Occurred()) SWIG_fail;
19645 }
19646 {
19647 #if wxUSE_UNICODE
19648 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19649 #else
19650 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19651 #endif
19652 }
19653 return resultobj;
19654 fail:
19655 return NULL;
19656 }
19657
19658
19659 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
19660 PyObject *resultobj;
19661 wxListEvent *arg1 = (wxListEvent *) 0 ;
19662 wxString *result;
19663 PyObject * obj0 = 0 ;
19664 char *kwnames[] = {
19665 (char *) "self", NULL
19666 };
19667
19668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
19669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19671 {
19672 PyThreadState* __tstate = wxPyBeginAllowThreads();
19673 {
19674 wxString const &_result_ref = (arg1)->GetText();
19675 result = (wxString *) &_result_ref;
19676 }
19677
19678 wxPyEndAllowThreads(__tstate);
19679 if (PyErr_Occurred()) SWIG_fail;
19680 }
19681 {
19682 #if wxUSE_UNICODE
19683 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19684 #else
19685 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19686 #endif
19687 }
19688 return resultobj;
19689 fail:
19690 return NULL;
19691 }
19692
19693
19694 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
19695 PyObject *resultobj;
19696 wxListEvent *arg1 = (wxListEvent *) 0 ;
19697 int result;
19698 PyObject * obj0 = 0 ;
19699 char *kwnames[] = {
19700 (char *) "self", NULL
19701 };
19702
19703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
19704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19706 {
19707 PyThreadState* __tstate = wxPyBeginAllowThreads();
19708 result = (int)(arg1)->GetImage();
19709
19710 wxPyEndAllowThreads(__tstate);
19711 if (PyErr_Occurred()) SWIG_fail;
19712 }
19713 resultobj = SWIG_FromInt((int)result);
19714 return resultobj;
19715 fail:
19716 return NULL;
19717 }
19718
19719
19720 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
19721 PyObject *resultobj;
19722 wxListEvent *arg1 = (wxListEvent *) 0 ;
19723 long result;
19724 PyObject * obj0 = 0 ;
19725 char *kwnames[] = {
19726 (char *) "self", NULL
19727 };
19728
19729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
19730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19732 {
19733 PyThreadState* __tstate = wxPyBeginAllowThreads();
19734 result = (long)(arg1)->GetData();
19735
19736 wxPyEndAllowThreads(__tstate);
19737 if (PyErr_Occurred()) SWIG_fail;
19738 }
19739 resultobj = SWIG_FromLong((long)result);
19740 return resultobj;
19741 fail:
19742 return NULL;
19743 }
19744
19745
19746 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
19747 PyObject *resultobj;
19748 wxListEvent *arg1 = (wxListEvent *) 0 ;
19749 long result;
19750 PyObject * obj0 = 0 ;
19751 char *kwnames[] = {
19752 (char *) "self", NULL
19753 };
19754
19755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
19756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19758 {
19759 PyThreadState* __tstate = wxPyBeginAllowThreads();
19760 result = (long)(arg1)->GetMask();
19761
19762 wxPyEndAllowThreads(__tstate);
19763 if (PyErr_Occurred()) SWIG_fail;
19764 }
19765 resultobj = SWIG_FromLong((long)result);
19766 return resultobj;
19767 fail:
19768 return NULL;
19769 }
19770
19771
19772 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
19773 PyObject *resultobj;
19774 wxListEvent *arg1 = (wxListEvent *) 0 ;
19775 wxListItem *result;
19776 PyObject * obj0 = 0 ;
19777 char *kwnames[] = {
19778 (char *) "self", NULL
19779 };
19780
19781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
19782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19784 {
19785 PyThreadState* __tstate = wxPyBeginAllowThreads();
19786 {
19787 wxListItem const &_result_ref = (arg1)->GetItem();
19788 result = (wxListItem *) &_result_ref;
19789 }
19790
19791 wxPyEndAllowThreads(__tstate);
19792 if (PyErr_Occurred()) SWIG_fail;
19793 }
19794 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
19795 return resultobj;
19796 fail:
19797 return NULL;
19798 }
19799
19800
19801 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
19802 PyObject *resultobj;
19803 wxListEvent *arg1 = (wxListEvent *) 0 ;
19804 long result;
19805 PyObject * obj0 = 0 ;
19806 char *kwnames[] = {
19807 (char *) "self", NULL
19808 };
19809
19810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
19811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19813 {
19814 PyThreadState* __tstate = wxPyBeginAllowThreads();
19815 result = (long)(arg1)->GetCacheFrom();
19816
19817 wxPyEndAllowThreads(__tstate);
19818 if (PyErr_Occurred()) SWIG_fail;
19819 }
19820 resultobj = SWIG_FromLong((long)result);
19821 return resultobj;
19822 fail:
19823 return NULL;
19824 }
19825
19826
19827 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
19828 PyObject *resultobj;
19829 wxListEvent *arg1 = (wxListEvent *) 0 ;
19830 long result;
19831 PyObject * obj0 = 0 ;
19832 char *kwnames[] = {
19833 (char *) "self", NULL
19834 };
19835
19836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
19837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19839 {
19840 PyThreadState* __tstate = wxPyBeginAllowThreads();
19841 result = (long)(arg1)->GetCacheTo();
19842
19843 wxPyEndAllowThreads(__tstate);
19844 if (PyErr_Occurred()) SWIG_fail;
19845 }
19846 resultobj = SWIG_FromLong((long)result);
19847 return resultobj;
19848 fail:
19849 return NULL;
19850 }
19851
19852
19853 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
19854 PyObject *resultobj;
19855 wxListEvent *arg1 = (wxListEvent *) 0 ;
19856 bool result;
19857 PyObject * obj0 = 0 ;
19858 char *kwnames[] = {
19859 (char *) "self", NULL
19860 };
19861
19862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
19863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19865 {
19866 PyThreadState* __tstate = wxPyBeginAllowThreads();
19867 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
19868
19869 wxPyEndAllowThreads(__tstate);
19870 if (PyErr_Occurred()) SWIG_fail;
19871 }
19872 {
19873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19874 }
19875 return resultobj;
19876 fail:
19877 return NULL;
19878 }
19879
19880
19881 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
19882 PyObject *resultobj;
19883 wxListEvent *arg1 = (wxListEvent *) 0 ;
19884 bool arg2 ;
19885 PyObject * obj0 = 0 ;
19886 PyObject * obj1 = 0 ;
19887 char *kwnames[] = {
19888 (char *) "self",(char *) "editCancelled", NULL
19889 };
19890
19891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
19892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19894 arg2 = (bool) SWIG_AsBool(obj1);
19895 if (PyErr_Occurred()) SWIG_fail;
19896 {
19897 PyThreadState* __tstate = wxPyBeginAllowThreads();
19898 (arg1)->SetEditCanceled(arg2);
19899
19900 wxPyEndAllowThreads(__tstate);
19901 if (PyErr_Occurred()) SWIG_fail;
19902 }
19903 Py_INCREF(Py_None); resultobj = Py_None;
19904 return resultobj;
19905 fail:
19906 return NULL;
19907 }
19908
19909
19910 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
19911 PyObject *obj;
19912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19913 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
19914 Py_INCREF(obj);
19915 return Py_BuildValue((char *)"");
19916 }
19917 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
19918 PyObject *resultobj;
19919 wxWindow *arg1 = (wxWindow *) 0 ;
19920 int arg2 = (int) -1 ;
19921 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19922 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19923 wxSize const &arg4_defvalue = wxDefaultSize ;
19924 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19925 long arg5 = (long) wxLC_ICON ;
19926 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19927 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19928 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19929 wxString *arg7 = (wxString *) &arg7_defvalue ;
19930 wxPyListCtrl *result;
19931 wxPoint temp3 ;
19932 wxSize temp4 ;
19933 bool temp7 = False ;
19934 PyObject * obj0 = 0 ;
19935 PyObject * obj1 = 0 ;
19936 PyObject * obj2 = 0 ;
19937 PyObject * obj3 = 0 ;
19938 PyObject * obj4 = 0 ;
19939 PyObject * obj5 = 0 ;
19940 PyObject * obj6 = 0 ;
19941 char *kwnames[] = {
19942 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19943 };
19944
19945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19948 if (obj1) {
19949 arg2 = (int) SWIG_AsInt(obj1);
19950 if (PyErr_Occurred()) SWIG_fail;
19951 }
19952 if (obj2) {
19953 {
19954 arg3 = &temp3;
19955 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19956 }
19957 }
19958 if (obj3) {
19959 {
19960 arg4 = &temp4;
19961 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19962 }
19963 }
19964 if (obj4) {
19965 arg5 = (long) SWIG_AsLong(obj4);
19966 if (PyErr_Occurred()) SWIG_fail;
19967 }
19968 if (obj5) {
19969 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
19970 SWIG_POINTER_EXCEPTION | 0)) == -1)
19971 SWIG_fail;
19972 if (arg6 == NULL) {
19973 PyErr_SetString(PyExc_TypeError,"null reference");
19974 SWIG_fail;
19975 }
19976 }
19977 if (obj6) {
19978 {
19979 arg7 = wxString_in_helper(obj6);
19980 if (arg7 == NULL) SWIG_fail;
19981 temp7 = True;
19982 }
19983 }
19984 {
19985 PyThreadState* __tstate = wxPyBeginAllowThreads();
19986 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19987
19988 wxPyEndAllowThreads(__tstate);
19989 if (PyErr_Occurred()) SWIG_fail;
19990 }
19991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
19992 {
19993 if (temp7)
19994 delete arg7;
19995 }
19996 return resultobj;
19997 fail:
19998 {
19999 if (temp7)
20000 delete arg7;
20001 }
20002 return NULL;
20003 }
20004
20005
20006 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
20007 PyObject *resultobj;
20008 wxPyListCtrl *result;
20009 char *kwnames[] = {
20010 NULL
20011 };
20012
20013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
20014 {
20015 PyThreadState* __tstate = wxPyBeginAllowThreads();
20016 result = (wxPyListCtrl *)new wxPyListCtrl();
20017
20018 wxPyEndAllowThreads(__tstate);
20019 if (PyErr_Occurred()) SWIG_fail;
20020 }
20021 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
20022 return resultobj;
20023 fail:
20024 return NULL;
20025 }
20026
20027
20028 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
20029 PyObject *resultobj;
20030 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20031 wxWindow *arg2 = (wxWindow *) 0 ;
20032 int arg3 = (int) -1 ;
20033 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20034 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20035 wxSize const &arg5_defvalue = wxDefaultSize ;
20036 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20037 long arg6 = (long) wxLC_ICON ;
20038 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20039 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20040 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
20041 wxString *arg8 = (wxString *) &arg8_defvalue ;
20042 bool result;
20043 wxPoint temp4 ;
20044 wxSize temp5 ;
20045 bool temp8 = False ;
20046 PyObject * obj0 = 0 ;
20047 PyObject * obj1 = 0 ;
20048 PyObject * obj2 = 0 ;
20049 PyObject * obj3 = 0 ;
20050 PyObject * obj4 = 0 ;
20051 PyObject * obj5 = 0 ;
20052 PyObject * obj6 = 0 ;
20053 PyObject * obj7 = 0 ;
20054 char *kwnames[] = {
20055 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20056 };
20057
20058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
20059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20061 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20063 if (obj2) {
20064 arg3 = (int) SWIG_AsInt(obj2);
20065 if (PyErr_Occurred()) SWIG_fail;
20066 }
20067 if (obj3) {
20068 {
20069 arg4 = &temp4;
20070 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20071 }
20072 }
20073 if (obj4) {
20074 {
20075 arg5 = &temp5;
20076 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20077 }
20078 }
20079 if (obj5) {
20080 arg6 = (long) SWIG_AsLong(obj5);
20081 if (PyErr_Occurred()) SWIG_fail;
20082 }
20083 if (obj6) {
20084 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
20085 SWIG_POINTER_EXCEPTION | 0)) == -1)
20086 SWIG_fail;
20087 if (arg7 == NULL) {
20088 PyErr_SetString(PyExc_TypeError,"null reference");
20089 SWIG_fail;
20090 }
20091 }
20092 if (obj7) {
20093 {
20094 arg8 = wxString_in_helper(obj7);
20095 if (arg8 == NULL) SWIG_fail;
20096 temp8 = True;
20097 }
20098 }
20099 {
20100 PyThreadState* __tstate = wxPyBeginAllowThreads();
20101 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20102
20103 wxPyEndAllowThreads(__tstate);
20104 if (PyErr_Occurred()) SWIG_fail;
20105 }
20106 {
20107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20108 }
20109 {
20110 if (temp8)
20111 delete arg8;
20112 }
20113 return resultobj;
20114 fail:
20115 {
20116 if (temp8)
20117 delete arg8;
20118 }
20119 return NULL;
20120 }
20121
20122
20123 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20124 PyObject *resultobj;
20125 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20126 PyObject *arg2 = (PyObject *) 0 ;
20127 PyObject *arg3 = (PyObject *) 0 ;
20128 PyObject * obj0 = 0 ;
20129 PyObject * obj1 = 0 ;
20130 PyObject * obj2 = 0 ;
20131 char *kwnames[] = {
20132 (char *) "self",(char *) "self",(char *) "_class", NULL
20133 };
20134
20135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20138 arg2 = obj1;
20139 arg3 = obj2;
20140 {
20141 PyThreadState* __tstate = wxPyBeginAllowThreads();
20142 (arg1)->_setCallbackInfo(arg2,arg3);
20143
20144 wxPyEndAllowThreads(__tstate);
20145 if (PyErr_Occurred()) SWIG_fail;
20146 }
20147 Py_INCREF(Py_None); resultobj = Py_None;
20148 return resultobj;
20149 fail:
20150 return NULL;
20151 }
20152
20153
20154 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
20155 PyObject *resultobj;
20156 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20157 wxColour *arg2 = 0 ;
20158 bool result;
20159 wxColour temp2 ;
20160 PyObject * obj0 = 0 ;
20161 PyObject * obj1 = 0 ;
20162 char *kwnames[] = {
20163 (char *) "self",(char *) "col", NULL
20164 };
20165
20166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
20167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20169 {
20170 arg2 = &temp2;
20171 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20172 }
20173 {
20174 PyThreadState* __tstate = wxPyBeginAllowThreads();
20175 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
20176
20177 wxPyEndAllowThreads(__tstate);
20178 if (PyErr_Occurred()) SWIG_fail;
20179 }
20180 {
20181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20182 }
20183 return resultobj;
20184 fail:
20185 return NULL;
20186 }
20187
20188
20189 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
20190 PyObject *resultobj;
20191 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20192 wxColour *arg2 = 0 ;
20193 bool result;
20194 wxColour temp2 ;
20195 PyObject * obj0 = 0 ;
20196 PyObject * obj1 = 0 ;
20197 char *kwnames[] = {
20198 (char *) "self",(char *) "col", NULL
20199 };
20200
20201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
20202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20204 {
20205 arg2 = &temp2;
20206 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20207 }
20208 {
20209 PyThreadState* __tstate = wxPyBeginAllowThreads();
20210 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
20211
20212 wxPyEndAllowThreads(__tstate);
20213 if (PyErr_Occurred()) SWIG_fail;
20214 }
20215 {
20216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20217 }
20218 return resultobj;
20219 fail:
20220 return NULL;
20221 }
20222
20223
20224 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
20225 PyObject *resultobj;
20226 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20227 int arg2 ;
20228 wxListItem *result;
20229 PyObject * obj0 = 0 ;
20230 PyObject * obj1 = 0 ;
20231 char *kwnames[] = {
20232 (char *) "self",(char *) "col", NULL
20233 };
20234
20235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
20236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20238 arg2 = (int) SWIG_AsInt(obj1);
20239 if (PyErr_Occurred()) SWIG_fail;
20240 {
20241 PyThreadState* __tstate = wxPyBeginAllowThreads();
20242 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
20243
20244 wxPyEndAllowThreads(__tstate);
20245 if (PyErr_Occurred()) SWIG_fail;
20246 }
20247 {
20248 resultobj = wxPyMake_wxObject(result);
20249 }
20250 return resultobj;
20251 fail:
20252 return NULL;
20253 }
20254
20255
20256 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
20257 PyObject *resultobj;
20258 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20259 int arg2 ;
20260 wxListItem *arg3 = 0 ;
20261 bool result;
20262 PyObject * obj0 = 0 ;
20263 PyObject * obj1 = 0 ;
20264 PyObject * obj2 = 0 ;
20265 char *kwnames[] = {
20266 (char *) "self",(char *) "col",(char *) "item", NULL
20267 };
20268
20269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
20270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20272 arg2 = (int) SWIG_AsInt(obj1);
20273 if (PyErr_Occurred()) SWIG_fail;
20274 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
20275 SWIG_POINTER_EXCEPTION | 0)) == -1)
20276 SWIG_fail;
20277 if (arg3 == NULL) {
20278 PyErr_SetString(PyExc_TypeError,"null reference");
20279 SWIG_fail;
20280 }
20281 {
20282 PyThreadState* __tstate = wxPyBeginAllowThreads();
20283 result = (bool)(arg1)->SetColumn(arg2,*arg3);
20284
20285 wxPyEndAllowThreads(__tstate);
20286 if (PyErr_Occurred()) SWIG_fail;
20287 }
20288 {
20289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20290 }
20291 return resultobj;
20292 fail:
20293 return NULL;
20294 }
20295
20296
20297 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
20298 PyObject *resultobj;
20299 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20300 int arg2 ;
20301 int result;
20302 PyObject * obj0 = 0 ;
20303 PyObject * obj1 = 0 ;
20304 char *kwnames[] = {
20305 (char *) "self",(char *) "col", NULL
20306 };
20307
20308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
20309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20311 arg2 = (int) SWIG_AsInt(obj1);
20312 if (PyErr_Occurred()) SWIG_fail;
20313 {
20314 PyThreadState* __tstate = wxPyBeginAllowThreads();
20315 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
20316
20317 wxPyEndAllowThreads(__tstate);
20318 if (PyErr_Occurred()) SWIG_fail;
20319 }
20320 resultobj = SWIG_FromInt((int)result);
20321 return resultobj;
20322 fail:
20323 return NULL;
20324 }
20325
20326
20327 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
20328 PyObject *resultobj;
20329 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20330 int arg2 ;
20331 int arg3 ;
20332 bool result;
20333 PyObject * obj0 = 0 ;
20334 PyObject * obj1 = 0 ;
20335 PyObject * obj2 = 0 ;
20336 char *kwnames[] = {
20337 (char *) "self",(char *) "col",(char *) "width", NULL
20338 };
20339
20340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20343 arg2 = (int) SWIG_AsInt(obj1);
20344 if (PyErr_Occurred()) SWIG_fail;
20345 arg3 = (int) SWIG_AsInt(obj2);
20346 if (PyErr_Occurred()) SWIG_fail;
20347 {
20348 PyThreadState* __tstate = wxPyBeginAllowThreads();
20349 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
20350
20351 wxPyEndAllowThreads(__tstate);
20352 if (PyErr_Occurred()) SWIG_fail;
20353 }
20354 {
20355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20356 }
20357 return resultobj;
20358 fail:
20359 return NULL;
20360 }
20361
20362
20363 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
20364 PyObject *resultobj;
20365 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20366 int result;
20367 PyObject * obj0 = 0 ;
20368 char *kwnames[] = {
20369 (char *) "self", NULL
20370 };
20371
20372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
20373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20375 {
20376 PyThreadState* __tstate = wxPyBeginAllowThreads();
20377 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
20378
20379 wxPyEndAllowThreads(__tstate);
20380 if (PyErr_Occurred()) SWIG_fail;
20381 }
20382 resultobj = SWIG_FromInt((int)result);
20383 return resultobj;
20384 fail:
20385 return NULL;
20386 }
20387
20388
20389 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
20390 PyObject *resultobj;
20391 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20392 wxRect result;
20393 PyObject * obj0 = 0 ;
20394 char *kwnames[] = {
20395 (char *) "self", NULL
20396 };
20397
20398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
20399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20401 {
20402 PyThreadState* __tstate = wxPyBeginAllowThreads();
20403 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
20404
20405 wxPyEndAllowThreads(__tstate);
20406 if (PyErr_Occurred()) SWIG_fail;
20407 }
20408 {
20409 wxRect * resultptr;
20410 resultptr = new wxRect((wxRect &) result);
20411 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
20412 }
20413 return resultobj;
20414 fail:
20415 return NULL;
20416 }
20417
20418
20419 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
20420 PyObject *resultobj;
20421 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20422 long arg2 ;
20423 int arg3 = (int) 0 ;
20424 wxListItem *result;
20425 PyObject * obj0 = 0 ;
20426 PyObject * obj1 = 0 ;
20427 PyObject * obj2 = 0 ;
20428 char *kwnames[] = {
20429 (char *) "self",(char *) "itemId",(char *) "col", NULL
20430 };
20431
20432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
20433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20435 arg2 = (long) SWIG_AsLong(obj1);
20436 if (PyErr_Occurred()) SWIG_fail;
20437 if (obj2) {
20438 arg3 = (int) SWIG_AsInt(obj2);
20439 if (PyErr_Occurred()) SWIG_fail;
20440 }
20441 {
20442 PyThreadState* __tstate = wxPyBeginAllowThreads();
20443 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20444
20445 wxPyEndAllowThreads(__tstate);
20446 if (PyErr_Occurred()) SWIG_fail;
20447 }
20448 {
20449 resultobj = wxPyMake_wxObject(result);
20450 }
20451 return resultobj;
20452 fail:
20453 return NULL;
20454 }
20455
20456
20457 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
20458 PyObject *resultobj;
20459 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20460 wxListItem *arg2 = 0 ;
20461 bool result;
20462 PyObject * obj0 = 0 ;
20463 PyObject * obj1 = 0 ;
20464 char *kwnames[] = {
20465 (char *) "self",(char *) "info", NULL
20466 };
20467
20468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
20469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20471 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
20472 SWIG_POINTER_EXCEPTION | 0)) == -1)
20473 SWIG_fail;
20474 if (arg2 == NULL) {
20475 PyErr_SetString(PyExc_TypeError,"null reference");
20476 SWIG_fail;
20477 }
20478 {
20479 PyThreadState* __tstate = wxPyBeginAllowThreads();
20480 result = (bool)(arg1)->SetItem(*arg2);
20481
20482 wxPyEndAllowThreads(__tstate);
20483 if (PyErr_Occurred()) SWIG_fail;
20484 }
20485 {
20486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20487 }
20488 return resultobj;
20489 fail:
20490 return NULL;
20491 }
20492
20493
20494 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
20495 PyObject *resultobj;
20496 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20497 long arg2 ;
20498 int arg3 ;
20499 wxString *arg4 = 0 ;
20500 int arg5 = (int) -1 ;
20501 long result;
20502 bool temp4 = False ;
20503 PyObject * obj0 = 0 ;
20504 PyObject * obj1 = 0 ;
20505 PyObject * obj2 = 0 ;
20506 PyObject * obj3 = 0 ;
20507 PyObject * obj4 = 0 ;
20508 char *kwnames[] = {
20509 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20510 };
20511
20512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20515 arg2 = (long) SWIG_AsLong(obj1);
20516 if (PyErr_Occurred()) SWIG_fail;
20517 arg3 = (int) SWIG_AsInt(obj2);
20518 if (PyErr_Occurred()) SWIG_fail;
20519 {
20520 arg4 = wxString_in_helper(obj3);
20521 if (arg4 == NULL) SWIG_fail;
20522 temp4 = True;
20523 }
20524 if (obj4) {
20525 arg5 = (int) SWIG_AsInt(obj4);
20526 if (PyErr_Occurred()) SWIG_fail;
20527 }
20528 {
20529 PyThreadState* __tstate = wxPyBeginAllowThreads();
20530 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20531
20532 wxPyEndAllowThreads(__tstate);
20533 if (PyErr_Occurred()) SWIG_fail;
20534 }
20535 resultobj = SWIG_FromLong((long)result);
20536 {
20537 if (temp4)
20538 delete arg4;
20539 }
20540 return resultobj;
20541 fail:
20542 {
20543 if (temp4)
20544 delete arg4;
20545 }
20546 return NULL;
20547 }
20548
20549
20550 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
20551 PyObject *resultobj;
20552 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20553 long arg2 ;
20554 long arg3 ;
20555 int result;
20556 PyObject * obj0 = 0 ;
20557 PyObject * obj1 = 0 ;
20558 PyObject * obj2 = 0 ;
20559 char *kwnames[] = {
20560 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20561 };
20562
20563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
20564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20566 arg2 = (long) SWIG_AsLong(obj1);
20567 if (PyErr_Occurred()) SWIG_fail;
20568 arg3 = (long) SWIG_AsLong(obj2);
20569 if (PyErr_Occurred()) SWIG_fail;
20570 {
20571 PyThreadState* __tstate = wxPyBeginAllowThreads();
20572 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20573
20574 wxPyEndAllowThreads(__tstate);
20575 if (PyErr_Occurred()) SWIG_fail;
20576 }
20577 resultobj = SWIG_FromInt((int)result);
20578 return resultobj;
20579 fail:
20580 return NULL;
20581 }
20582
20583
20584 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
20585 PyObject *resultobj;
20586 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20587 long arg2 ;
20588 long arg3 ;
20589 long arg4 ;
20590 bool result;
20591 PyObject * obj0 = 0 ;
20592 PyObject * obj1 = 0 ;
20593 PyObject * obj2 = 0 ;
20594 PyObject * obj3 = 0 ;
20595 char *kwnames[] = {
20596 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20597 };
20598
20599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20602 arg2 = (long) SWIG_AsLong(obj1);
20603 if (PyErr_Occurred()) SWIG_fail;
20604 arg3 = (long) SWIG_AsLong(obj2);
20605 if (PyErr_Occurred()) SWIG_fail;
20606 arg4 = (long) SWIG_AsLong(obj3);
20607 if (PyErr_Occurred()) SWIG_fail;
20608 {
20609 PyThreadState* __tstate = wxPyBeginAllowThreads();
20610 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20611
20612 wxPyEndAllowThreads(__tstate);
20613 if (PyErr_Occurred()) SWIG_fail;
20614 }
20615 {
20616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20617 }
20618 return resultobj;
20619 fail:
20620 return NULL;
20621 }
20622
20623
20624 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
20625 PyObject *resultobj;
20626 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20627 long arg2 ;
20628 int arg3 ;
20629 int arg4 ;
20630 bool result;
20631 PyObject * obj0 = 0 ;
20632 PyObject * obj1 = 0 ;
20633 PyObject * obj2 = 0 ;
20634 PyObject * obj3 = 0 ;
20635 char *kwnames[] = {
20636 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20637 };
20638
20639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20642 arg2 = (long) SWIG_AsLong(obj1);
20643 if (PyErr_Occurred()) SWIG_fail;
20644 arg3 = (int) SWIG_AsInt(obj2);
20645 if (PyErr_Occurred()) SWIG_fail;
20646 arg4 = (int) SWIG_AsInt(obj3);
20647 if (PyErr_Occurred()) SWIG_fail;
20648 {
20649 PyThreadState* __tstate = wxPyBeginAllowThreads();
20650 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20651
20652 wxPyEndAllowThreads(__tstate);
20653 if (PyErr_Occurred()) SWIG_fail;
20654 }
20655 {
20656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20657 }
20658 return resultobj;
20659 fail:
20660 return NULL;
20661 }
20662
20663
20664 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
20665 PyObject *resultobj;
20666 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20667 long arg2 ;
20668 wxString result;
20669 PyObject * obj0 = 0 ;
20670 PyObject * obj1 = 0 ;
20671 char *kwnames[] = {
20672 (char *) "self",(char *) "item", NULL
20673 };
20674
20675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20678 arg2 = (long) SWIG_AsLong(obj1);
20679 if (PyErr_Occurred()) SWIG_fail;
20680 {
20681 PyThreadState* __tstate = wxPyBeginAllowThreads();
20682 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20683
20684 wxPyEndAllowThreads(__tstate);
20685 if (PyErr_Occurred()) SWIG_fail;
20686 }
20687 {
20688 #if wxUSE_UNICODE
20689 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20690 #else
20691 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20692 #endif
20693 }
20694 return resultobj;
20695 fail:
20696 return NULL;
20697 }
20698
20699
20700 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
20701 PyObject *resultobj;
20702 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20703 long arg2 ;
20704 wxString *arg3 = 0 ;
20705 bool temp3 = False ;
20706 PyObject * obj0 = 0 ;
20707 PyObject * obj1 = 0 ;
20708 PyObject * obj2 = 0 ;
20709 char *kwnames[] = {
20710 (char *) "self",(char *) "item",(char *) "str", NULL
20711 };
20712
20713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
20714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20716 arg2 = (long) SWIG_AsLong(obj1);
20717 if (PyErr_Occurred()) SWIG_fail;
20718 {
20719 arg3 = wxString_in_helper(obj2);
20720 if (arg3 == NULL) SWIG_fail;
20721 temp3 = True;
20722 }
20723 {
20724 PyThreadState* __tstate = wxPyBeginAllowThreads();
20725 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
20726
20727 wxPyEndAllowThreads(__tstate);
20728 if (PyErr_Occurred()) SWIG_fail;
20729 }
20730 Py_INCREF(Py_None); resultobj = Py_None;
20731 {
20732 if (temp3)
20733 delete arg3;
20734 }
20735 return resultobj;
20736 fail:
20737 {
20738 if (temp3)
20739 delete arg3;
20740 }
20741 return NULL;
20742 }
20743
20744
20745 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
20746 PyObject *resultobj;
20747 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20748 long arg2 ;
20749 long result;
20750 PyObject * obj0 = 0 ;
20751 PyObject * obj1 = 0 ;
20752 char *kwnames[] = {
20753 (char *) "self",(char *) "item", NULL
20754 };
20755
20756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20759 arg2 = (long) SWIG_AsLong(obj1);
20760 if (PyErr_Occurred()) SWIG_fail;
20761 {
20762 PyThreadState* __tstate = wxPyBeginAllowThreads();
20763 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
20764
20765 wxPyEndAllowThreads(__tstate);
20766 if (PyErr_Occurred()) SWIG_fail;
20767 }
20768 resultobj = SWIG_FromLong((long)result);
20769 return resultobj;
20770 fail:
20771 return NULL;
20772 }
20773
20774
20775 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
20776 PyObject *resultobj;
20777 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20778 long arg2 ;
20779 long arg3 ;
20780 bool result;
20781 PyObject * obj0 = 0 ;
20782 PyObject * obj1 = 0 ;
20783 PyObject * obj2 = 0 ;
20784 char *kwnames[] = {
20785 (char *) "self",(char *) "item",(char *) "data", NULL
20786 };
20787
20788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20791 arg2 = (long) SWIG_AsLong(obj1);
20792 if (PyErr_Occurred()) SWIG_fail;
20793 arg3 = (long) SWIG_AsLong(obj2);
20794 if (PyErr_Occurred()) SWIG_fail;
20795 {
20796 PyThreadState* __tstate = wxPyBeginAllowThreads();
20797 result = (bool)(arg1)->SetItemData(arg2,arg3);
20798
20799 wxPyEndAllowThreads(__tstate);
20800 if (PyErr_Occurred()) SWIG_fail;
20801 }
20802 {
20803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20804 }
20805 return resultobj;
20806 fail:
20807 return NULL;
20808 }
20809
20810
20811 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20812 PyObject *resultobj;
20813 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20814 long arg2 ;
20815 wxPoint result;
20816 PyObject * obj0 = 0 ;
20817 PyObject * obj1 = 0 ;
20818 char *kwnames[] = {
20819 (char *) "self",(char *) "item", NULL
20820 };
20821
20822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
20823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20825 arg2 = (long) SWIG_AsLong(obj1);
20826 if (PyErr_Occurred()) SWIG_fail;
20827 {
20828 PyThreadState* __tstate = wxPyBeginAllowThreads();
20829 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
20830
20831 wxPyEndAllowThreads(__tstate);
20832 if (PyErr_Occurred()) SWIG_fail;
20833 }
20834 {
20835 wxPoint * resultptr;
20836 resultptr = new wxPoint((wxPoint &) result);
20837 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20838 }
20839 return resultobj;
20840 fail:
20841 return NULL;
20842 }
20843
20844
20845 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
20846 PyObject *resultobj;
20847 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20848 long arg2 ;
20849 int arg3 = (int) wxLIST_RECT_BOUNDS ;
20850 wxRect result;
20851 PyObject * obj0 = 0 ;
20852 PyObject * obj1 = 0 ;
20853 PyObject * obj2 = 0 ;
20854 char *kwnames[] = {
20855 (char *) "self",(char *) "item",(char *) "code", NULL
20856 };
20857
20858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
20859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20861 arg2 = (long) SWIG_AsLong(obj1);
20862 if (PyErr_Occurred()) SWIG_fail;
20863 if (obj2) {
20864 arg3 = (int) SWIG_AsInt(obj2);
20865 if (PyErr_Occurred()) SWIG_fail;
20866 }
20867 {
20868 PyThreadState* __tstate = wxPyBeginAllowThreads();
20869 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
20870
20871 wxPyEndAllowThreads(__tstate);
20872 if (PyErr_Occurred()) SWIG_fail;
20873 }
20874 {
20875 wxRect * resultptr;
20876 resultptr = new wxRect((wxRect &) result);
20877 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
20878 }
20879 return resultobj;
20880 fail:
20881 return NULL;
20882 }
20883
20884
20885 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20886 PyObject *resultobj;
20887 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20888 long arg2 ;
20889 wxPoint *arg3 = 0 ;
20890 bool result;
20891 wxPoint temp3 ;
20892 PyObject * obj0 = 0 ;
20893 PyObject * obj1 = 0 ;
20894 PyObject * obj2 = 0 ;
20895 char *kwnames[] = {
20896 (char *) "self",(char *) "item",(char *) "pos", NULL
20897 };
20898
20899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20902 arg2 = (long) SWIG_AsLong(obj1);
20903 if (PyErr_Occurred()) SWIG_fail;
20904 {
20905 arg3 = &temp3;
20906 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20907 }
20908 {
20909 PyThreadState* __tstate = wxPyBeginAllowThreads();
20910 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
20911
20912 wxPyEndAllowThreads(__tstate);
20913 if (PyErr_Occurred()) SWIG_fail;
20914 }
20915 {
20916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20917 }
20918 return resultobj;
20919 fail:
20920 return NULL;
20921 }
20922
20923
20924 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
20925 PyObject *resultobj;
20926 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20927 int result;
20928 PyObject * obj0 = 0 ;
20929 char *kwnames[] = {
20930 (char *) "self", NULL
20931 };
20932
20933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
20934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20936 {
20937 PyThreadState* __tstate = wxPyBeginAllowThreads();
20938 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
20939
20940 wxPyEndAllowThreads(__tstate);
20941 if (PyErr_Occurred()) SWIG_fail;
20942 }
20943 resultobj = SWIG_FromInt((int)result);
20944 return resultobj;
20945 fail:
20946 return NULL;
20947 }
20948
20949
20950 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
20951 PyObject *resultobj;
20952 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20953 int result;
20954 PyObject * obj0 = 0 ;
20955 char *kwnames[] = {
20956 (char *) "self", NULL
20957 };
20958
20959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
20960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20962 {
20963 PyThreadState* __tstate = wxPyBeginAllowThreads();
20964 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
20965
20966 wxPyEndAllowThreads(__tstate);
20967 if (PyErr_Occurred()) SWIG_fail;
20968 }
20969 resultobj = SWIG_FromInt((int)result);
20970 return resultobj;
20971 fail:
20972 return NULL;
20973 }
20974
20975
20976 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
20977 PyObject *resultobj;
20978 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20979 wxSize result;
20980 PyObject * obj0 = 0 ;
20981 char *kwnames[] = {
20982 (char *) "self", NULL
20983 };
20984
20985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
20986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20988 {
20989 PyThreadState* __tstate = wxPyBeginAllowThreads();
20990 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
20991
20992 wxPyEndAllowThreads(__tstate);
20993 if (PyErr_Occurred()) SWIG_fail;
20994 }
20995 {
20996 wxSize * resultptr;
20997 resultptr = new wxSize((wxSize &) result);
20998 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20999 }
21000 return resultobj;
21001 fail:
21002 return NULL;
21003 }
21004
21005
21006 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
21007 PyObject *resultobj;
21008 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21009 int arg2 ;
21010 bool arg3 = (bool) False ;
21011 PyObject * obj0 = 0 ;
21012 PyObject * obj1 = 0 ;
21013 PyObject * obj2 = 0 ;
21014 char *kwnames[] = {
21015 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
21016 };
21017
21018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
21019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21021 arg2 = (int) SWIG_AsInt(obj1);
21022 if (PyErr_Occurred()) SWIG_fail;
21023 if (obj2) {
21024 arg3 = (bool) SWIG_AsBool(obj2);
21025 if (PyErr_Occurred()) SWIG_fail;
21026 }
21027 {
21028 PyThreadState* __tstate = wxPyBeginAllowThreads();
21029 (arg1)->SetItemSpacing(arg2,arg3);
21030
21031 wxPyEndAllowThreads(__tstate);
21032 if (PyErr_Occurred()) SWIG_fail;
21033 }
21034 Py_INCREF(Py_None); resultobj = Py_None;
21035 return resultobj;
21036 fail:
21037 return NULL;
21038 }
21039
21040
21041 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
21042 PyObject *resultobj;
21043 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21044 int result;
21045 PyObject * obj0 = 0 ;
21046 char *kwnames[] = {
21047 (char *) "self", NULL
21048 };
21049
21050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
21051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21053 {
21054 PyThreadState* __tstate = wxPyBeginAllowThreads();
21055 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
21056
21057 wxPyEndAllowThreads(__tstate);
21058 if (PyErr_Occurred()) SWIG_fail;
21059 }
21060 resultobj = SWIG_FromInt((int)result);
21061 return resultobj;
21062 fail:
21063 return NULL;
21064 }
21065
21066
21067 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21068 PyObject *resultobj;
21069 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21070 wxColour result;
21071 PyObject * obj0 = 0 ;
21072 char *kwnames[] = {
21073 (char *) "self", NULL
21074 };
21075
21076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
21077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21079 {
21080 PyThreadState* __tstate = wxPyBeginAllowThreads();
21081 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
21082
21083 wxPyEndAllowThreads(__tstate);
21084 if (PyErr_Occurred()) SWIG_fail;
21085 }
21086 {
21087 wxColour * resultptr;
21088 resultptr = new wxColour((wxColour &) result);
21089 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21090 }
21091 return resultobj;
21092 fail:
21093 return NULL;
21094 }
21095
21096
21097 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21098 PyObject *resultobj;
21099 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21100 wxColour *arg2 = 0 ;
21101 wxColour temp2 ;
21102 PyObject * obj0 = 0 ;
21103 PyObject * obj1 = 0 ;
21104 char *kwnames[] = {
21105 (char *) "self",(char *) "col", NULL
21106 };
21107
21108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21111 {
21112 arg2 = &temp2;
21113 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21114 }
21115 {
21116 PyThreadState* __tstate = wxPyBeginAllowThreads();
21117 (arg1)->SetTextColour((wxColour const &)*arg2);
21118
21119 wxPyEndAllowThreads(__tstate);
21120 if (PyErr_Occurred()) SWIG_fail;
21121 }
21122 Py_INCREF(Py_None); resultobj = Py_None;
21123 return resultobj;
21124 fail:
21125 return NULL;
21126 }
21127
21128
21129 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
21130 PyObject *resultobj;
21131 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21132 long result;
21133 PyObject * obj0 = 0 ;
21134 char *kwnames[] = {
21135 (char *) "self", NULL
21136 };
21137
21138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
21139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21141 {
21142 PyThreadState* __tstate = wxPyBeginAllowThreads();
21143 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
21144
21145 wxPyEndAllowThreads(__tstate);
21146 if (PyErr_Occurred()) SWIG_fail;
21147 }
21148 resultobj = SWIG_FromLong((long)result);
21149 return resultobj;
21150 fail:
21151 return NULL;
21152 }
21153
21154
21155 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
21156 PyObject *resultobj;
21157 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21158 long arg2 ;
21159 bool arg3 = (bool) True ;
21160 PyObject * obj0 = 0 ;
21161 PyObject * obj1 = 0 ;
21162 PyObject * obj2 = 0 ;
21163 char *kwnames[] = {
21164 (char *) "self",(char *) "style",(char *) "add", NULL
21165 };
21166
21167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
21168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21170 arg2 = (long) SWIG_AsLong(obj1);
21171 if (PyErr_Occurred()) SWIG_fail;
21172 if (obj2) {
21173 arg3 = (bool) SWIG_AsBool(obj2);
21174 if (PyErr_Occurred()) SWIG_fail;
21175 }
21176 {
21177 PyThreadState* __tstate = wxPyBeginAllowThreads();
21178 (arg1)->SetSingleStyle(arg2,arg3);
21179
21180 wxPyEndAllowThreads(__tstate);
21181 if (PyErr_Occurred()) SWIG_fail;
21182 }
21183 Py_INCREF(Py_None); resultobj = Py_None;
21184 return resultobj;
21185 fail:
21186 return NULL;
21187 }
21188
21189
21190 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
21191 PyObject *resultobj;
21192 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21193 long arg2 ;
21194 PyObject * obj0 = 0 ;
21195 PyObject * obj1 = 0 ;
21196 char *kwnames[] = {
21197 (char *) "self",(char *) "style", NULL
21198 };
21199
21200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
21201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21203 arg2 = (long) SWIG_AsLong(obj1);
21204 if (PyErr_Occurred()) SWIG_fail;
21205 {
21206 PyThreadState* __tstate = wxPyBeginAllowThreads();
21207 (arg1)->SetWindowStyleFlag(arg2);
21208
21209 wxPyEndAllowThreads(__tstate);
21210 if (PyErr_Occurred()) SWIG_fail;
21211 }
21212 Py_INCREF(Py_None); resultobj = Py_None;
21213 return resultobj;
21214 fail:
21215 return NULL;
21216 }
21217
21218
21219 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
21220 PyObject *resultobj;
21221 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21222 long arg2 ;
21223 int arg3 = (int) wxLIST_NEXT_ALL ;
21224 int arg4 = (int) wxLIST_STATE_DONTCARE ;
21225 long result;
21226 PyObject * obj0 = 0 ;
21227 PyObject * obj1 = 0 ;
21228 PyObject * obj2 = 0 ;
21229 PyObject * obj3 = 0 ;
21230 char *kwnames[] = {
21231 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21232 };
21233
21234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21237 arg2 = (long) SWIG_AsLong(obj1);
21238 if (PyErr_Occurred()) SWIG_fail;
21239 if (obj2) {
21240 arg3 = (int) SWIG_AsInt(obj2);
21241 if (PyErr_Occurred()) SWIG_fail;
21242 }
21243 if (obj3) {
21244 arg4 = (int) SWIG_AsInt(obj3);
21245 if (PyErr_Occurred()) SWIG_fail;
21246 }
21247 {
21248 PyThreadState* __tstate = wxPyBeginAllowThreads();
21249 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
21250
21251 wxPyEndAllowThreads(__tstate);
21252 if (PyErr_Occurred()) SWIG_fail;
21253 }
21254 resultobj = SWIG_FromLong((long)result);
21255 return resultobj;
21256 fail:
21257 return NULL;
21258 }
21259
21260
21261 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
21262 PyObject *resultobj;
21263 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21264 int arg2 ;
21265 wxImageList *result;
21266 PyObject * obj0 = 0 ;
21267 PyObject * obj1 = 0 ;
21268 char *kwnames[] = {
21269 (char *) "self",(char *) "which", NULL
21270 };
21271
21272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
21273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21275 arg2 = (int) SWIG_AsInt(obj1);
21276 if (PyErr_Occurred()) SWIG_fail;
21277 {
21278 PyThreadState* __tstate = wxPyBeginAllowThreads();
21279 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
21280
21281 wxPyEndAllowThreads(__tstate);
21282 if (PyErr_Occurred()) SWIG_fail;
21283 }
21284 {
21285 resultobj = wxPyMake_wxObject(result);
21286 }
21287 return resultobj;
21288 fail:
21289 return NULL;
21290 }
21291
21292
21293 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
21294 PyObject *resultobj;
21295 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21296 wxImageList *arg2 = (wxImageList *) 0 ;
21297 int arg3 ;
21298 PyObject * obj0 = 0 ;
21299 PyObject * obj1 = 0 ;
21300 PyObject * obj2 = 0 ;
21301 char *kwnames[] = {
21302 (char *) "self",(char *) "imageList",(char *) "which", NULL
21303 };
21304
21305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21308 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21310 arg3 = (int) SWIG_AsInt(obj2);
21311 if (PyErr_Occurred()) SWIG_fail;
21312 {
21313 PyThreadState* __tstate = wxPyBeginAllowThreads();
21314 (arg1)->SetImageList(arg2,arg3);
21315
21316 wxPyEndAllowThreads(__tstate);
21317 if (PyErr_Occurred()) SWIG_fail;
21318 }
21319 Py_INCREF(Py_None); resultobj = Py_None;
21320 return resultobj;
21321 fail:
21322 return NULL;
21323 }
21324
21325
21326 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
21327 PyObject *resultobj;
21328 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21329 wxImageList *arg2 = (wxImageList *) 0 ;
21330 int arg3 ;
21331 PyObject * obj0 = 0 ;
21332 PyObject * obj1 = 0 ;
21333 PyObject * obj2 = 0 ;
21334 char *kwnames[] = {
21335 (char *) "self",(char *) "imageList",(char *) "which", NULL
21336 };
21337
21338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21341 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21342 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
21343 arg3 = (int) SWIG_AsInt(obj2);
21344 if (PyErr_Occurred()) SWIG_fail;
21345 {
21346 PyThreadState* __tstate = wxPyBeginAllowThreads();
21347 (arg1)->AssignImageList(arg2,arg3);
21348
21349 wxPyEndAllowThreads(__tstate);
21350 if (PyErr_Occurred()) SWIG_fail;
21351 }
21352 Py_INCREF(Py_None); resultobj = Py_None;
21353 return resultobj;
21354 fail:
21355 return NULL;
21356 }
21357
21358
21359 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
21360 PyObject *resultobj;
21361 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21362 bool result;
21363 PyObject * obj0 = 0 ;
21364 char *kwnames[] = {
21365 (char *) "self", NULL
21366 };
21367
21368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
21369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21371 {
21372 PyThreadState* __tstate = wxPyBeginAllowThreads();
21373 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
21374
21375 wxPyEndAllowThreads(__tstate);
21376 if (PyErr_Occurred()) SWIG_fail;
21377 }
21378 {
21379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21380 }
21381 return resultobj;
21382 fail:
21383 return NULL;
21384 }
21385
21386
21387 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
21388 PyObject *resultobj;
21389 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21390 bool result;
21391 PyObject * obj0 = 0 ;
21392 char *kwnames[] = {
21393 (char *) "self", NULL
21394 };
21395
21396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
21397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21399 {
21400 PyThreadState* __tstate = wxPyBeginAllowThreads();
21401 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
21402
21403 wxPyEndAllowThreads(__tstate);
21404 if (PyErr_Occurred()) SWIG_fail;
21405 }
21406 {
21407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21408 }
21409 return resultobj;
21410 fail:
21411 return NULL;
21412 }
21413
21414
21415 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
21416 PyObject *resultobj;
21417 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21418 long arg2 ;
21419 PyObject * obj0 = 0 ;
21420 PyObject * obj1 = 0 ;
21421 char *kwnames[] = {
21422 (char *) "self",(char *) "item", NULL
21423 };
21424
21425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
21426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21428 arg2 = (long) SWIG_AsLong(obj1);
21429 if (PyErr_Occurred()) SWIG_fail;
21430 {
21431 PyThreadState* __tstate = wxPyBeginAllowThreads();
21432 (arg1)->RefreshItem(arg2);
21433
21434 wxPyEndAllowThreads(__tstate);
21435 if (PyErr_Occurred()) SWIG_fail;
21436 }
21437 Py_INCREF(Py_None); resultobj = Py_None;
21438 return resultobj;
21439 fail:
21440 return NULL;
21441 }
21442
21443
21444 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
21445 PyObject *resultobj;
21446 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21447 long arg2 ;
21448 long arg3 ;
21449 PyObject * obj0 = 0 ;
21450 PyObject * obj1 = 0 ;
21451 PyObject * obj2 = 0 ;
21452 char *kwnames[] = {
21453 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21454 };
21455
21456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
21457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21459 arg2 = (long) SWIG_AsLong(obj1);
21460 if (PyErr_Occurred()) SWIG_fail;
21461 arg3 = (long) SWIG_AsLong(obj2);
21462 if (PyErr_Occurred()) SWIG_fail;
21463 {
21464 PyThreadState* __tstate = wxPyBeginAllowThreads();
21465 (arg1)->RefreshItems(arg2,arg3);
21466
21467 wxPyEndAllowThreads(__tstate);
21468 if (PyErr_Occurred()) SWIG_fail;
21469 }
21470 Py_INCREF(Py_None); resultobj = Py_None;
21471 return resultobj;
21472 fail:
21473 return NULL;
21474 }
21475
21476
21477 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
21478 PyObject *resultobj;
21479 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21480 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21481 bool result;
21482 PyObject * obj0 = 0 ;
21483 PyObject * obj1 = 0 ;
21484 char *kwnames[] = {
21485 (char *) "self",(char *) "flag", NULL
21486 };
21487
21488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
21489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21491 if (obj1) {
21492 arg2 = (int) SWIG_AsInt(obj1);
21493 if (PyErr_Occurred()) SWIG_fail;
21494 }
21495 {
21496 PyThreadState* __tstate = wxPyBeginAllowThreads();
21497 result = (bool)(arg1)->Arrange(arg2);
21498
21499 wxPyEndAllowThreads(__tstate);
21500 if (PyErr_Occurred()) SWIG_fail;
21501 }
21502 {
21503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21504 }
21505 return resultobj;
21506 fail:
21507 return NULL;
21508 }
21509
21510
21511 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
21512 PyObject *resultobj;
21513 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21514 long arg2 ;
21515 bool result;
21516 PyObject * obj0 = 0 ;
21517 PyObject * obj1 = 0 ;
21518 char *kwnames[] = {
21519 (char *) "self",(char *) "item", NULL
21520 };
21521
21522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
21523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21525 arg2 = (long) SWIG_AsLong(obj1);
21526 if (PyErr_Occurred()) SWIG_fail;
21527 {
21528 PyThreadState* __tstate = wxPyBeginAllowThreads();
21529 result = (bool)(arg1)->DeleteItem(arg2);
21530
21531 wxPyEndAllowThreads(__tstate);
21532 if (PyErr_Occurred()) SWIG_fail;
21533 }
21534 {
21535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21536 }
21537 return resultobj;
21538 fail:
21539 return NULL;
21540 }
21541
21542
21543 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
21544 PyObject *resultobj;
21545 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21546 bool result;
21547 PyObject * obj0 = 0 ;
21548 char *kwnames[] = {
21549 (char *) "self", NULL
21550 };
21551
21552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
21553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21555 {
21556 PyThreadState* __tstate = wxPyBeginAllowThreads();
21557 result = (bool)(arg1)->DeleteAllItems();
21558
21559 wxPyEndAllowThreads(__tstate);
21560 if (PyErr_Occurred()) SWIG_fail;
21561 }
21562 {
21563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21564 }
21565 return resultobj;
21566 fail:
21567 return NULL;
21568 }
21569
21570
21571 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21572 PyObject *resultobj;
21573 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21574 int arg2 ;
21575 bool result;
21576 PyObject * obj0 = 0 ;
21577 PyObject * obj1 = 0 ;
21578 char *kwnames[] = {
21579 (char *) "self",(char *) "col", NULL
21580 };
21581
21582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
21583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21585 arg2 = (int) SWIG_AsInt(obj1);
21586 if (PyErr_Occurred()) SWIG_fail;
21587 {
21588 PyThreadState* __tstate = wxPyBeginAllowThreads();
21589 result = (bool)(arg1)->DeleteColumn(arg2);
21590
21591 wxPyEndAllowThreads(__tstate);
21592 if (PyErr_Occurred()) SWIG_fail;
21593 }
21594 {
21595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21596 }
21597 return resultobj;
21598 fail:
21599 return NULL;
21600 }
21601
21602
21603 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
21604 PyObject *resultobj;
21605 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21606 bool result;
21607 PyObject * obj0 = 0 ;
21608 char *kwnames[] = {
21609 (char *) "self", NULL
21610 };
21611
21612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
21613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21615 {
21616 PyThreadState* __tstate = wxPyBeginAllowThreads();
21617 result = (bool)(arg1)->DeleteAllColumns();
21618
21619 wxPyEndAllowThreads(__tstate);
21620 if (PyErr_Occurred()) SWIG_fail;
21621 }
21622 {
21623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21624 }
21625 return resultobj;
21626 fail:
21627 return NULL;
21628 }
21629
21630
21631 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
21632 PyObject *resultobj;
21633 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21634 PyObject * obj0 = 0 ;
21635 char *kwnames[] = {
21636 (char *) "self", NULL
21637 };
21638
21639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
21640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21642 {
21643 PyThreadState* __tstate = wxPyBeginAllowThreads();
21644 (arg1)->ClearAll();
21645
21646 wxPyEndAllowThreads(__tstate);
21647 if (PyErr_Occurred()) SWIG_fail;
21648 }
21649 Py_INCREF(Py_None); resultobj = Py_None;
21650 return resultobj;
21651 fail:
21652 return NULL;
21653 }
21654
21655
21656 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
21657 PyObject *resultobj;
21658 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21659 long arg2 ;
21660 PyObject * obj0 = 0 ;
21661 PyObject * obj1 = 0 ;
21662 char *kwnames[] = {
21663 (char *) "self",(char *) "item", NULL
21664 };
21665
21666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
21667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21669 arg2 = (long) SWIG_AsLong(obj1);
21670 if (PyErr_Occurred()) SWIG_fail;
21671 {
21672 PyThreadState* __tstate = wxPyBeginAllowThreads();
21673 (arg1)->EditLabel(arg2);
21674
21675 wxPyEndAllowThreads(__tstate);
21676 if (PyErr_Occurred()) SWIG_fail;
21677 }
21678 Py_INCREF(Py_None); resultobj = Py_None;
21679 return resultobj;
21680 fail:
21681 return NULL;
21682 }
21683
21684
21685 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
21686 PyObject *resultobj;
21687 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21688 long arg2 ;
21689 bool result;
21690 PyObject * obj0 = 0 ;
21691 PyObject * obj1 = 0 ;
21692 char *kwnames[] = {
21693 (char *) "self",(char *) "item", NULL
21694 };
21695
21696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
21697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21699 arg2 = (long) SWIG_AsLong(obj1);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 {
21702 PyThreadState* __tstate = wxPyBeginAllowThreads();
21703 result = (bool)(arg1)->EnsureVisible(arg2);
21704
21705 wxPyEndAllowThreads(__tstate);
21706 if (PyErr_Occurred()) SWIG_fail;
21707 }
21708 {
21709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21710 }
21711 return resultobj;
21712 fail:
21713 return NULL;
21714 }
21715
21716
21717 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
21718 PyObject *resultobj;
21719 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21720 long arg2 ;
21721 wxString *arg3 = 0 ;
21722 bool arg4 = (bool) False ;
21723 long result;
21724 bool temp3 = False ;
21725 PyObject * obj0 = 0 ;
21726 PyObject * obj1 = 0 ;
21727 PyObject * obj2 = 0 ;
21728 PyObject * obj3 = 0 ;
21729 char *kwnames[] = {
21730 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21731 };
21732
21733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21736 arg2 = (long) SWIG_AsLong(obj1);
21737 if (PyErr_Occurred()) SWIG_fail;
21738 {
21739 arg3 = wxString_in_helper(obj2);
21740 if (arg3 == NULL) SWIG_fail;
21741 temp3 = True;
21742 }
21743 if (obj3) {
21744 arg4 = (bool) SWIG_AsBool(obj3);
21745 if (PyErr_Occurred()) SWIG_fail;
21746 }
21747 {
21748 PyThreadState* __tstate = wxPyBeginAllowThreads();
21749 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
21750
21751 wxPyEndAllowThreads(__tstate);
21752 if (PyErr_Occurred()) SWIG_fail;
21753 }
21754 resultobj = SWIG_FromLong((long)result);
21755 {
21756 if (temp3)
21757 delete arg3;
21758 }
21759 return resultobj;
21760 fail:
21761 {
21762 if (temp3)
21763 delete arg3;
21764 }
21765 return NULL;
21766 }
21767
21768
21769 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
21770 PyObject *resultobj;
21771 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21772 long arg2 ;
21773 long arg3 ;
21774 long result;
21775 PyObject * obj0 = 0 ;
21776 PyObject * obj1 = 0 ;
21777 PyObject * obj2 = 0 ;
21778 char *kwnames[] = {
21779 (char *) "self",(char *) "start",(char *) "data", NULL
21780 };
21781
21782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21785 arg2 = (long) SWIG_AsLong(obj1);
21786 if (PyErr_Occurred()) SWIG_fail;
21787 arg3 = (long) SWIG_AsLong(obj2);
21788 if (PyErr_Occurred()) SWIG_fail;
21789 {
21790 PyThreadState* __tstate = wxPyBeginAllowThreads();
21791 result = (long)(arg1)->FindItem(arg2,arg3);
21792
21793 wxPyEndAllowThreads(__tstate);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 }
21796 resultobj = SWIG_FromLong((long)result);
21797 return resultobj;
21798 fail:
21799 return NULL;
21800 }
21801
21802
21803 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
21804 PyObject *resultobj;
21805 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21806 long arg2 ;
21807 wxPoint *arg3 = 0 ;
21808 int arg4 ;
21809 long result;
21810 wxPoint temp3 ;
21811 PyObject * obj0 = 0 ;
21812 PyObject * obj1 = 0 ;
21813 PyObject * obj2 = 0 ;
21814 PyObject * obj3 = 0 ;
21815 char *kwnames[] = {
21816 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21817 };
21818
21819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21822 arg2 = (long) SWIG_AsLong(obj1);
21823 if (PyErr_Occurred()) SWIG_fail;
21824 {
21825 arg3 = &temp3;
21826 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21827 }
21828 arg4 = (int) SWIG_AsInt(obj3);
21829 if (PyErr_Occurred()) SWIG_fail;
21830 {
21831 PyThreadState* __tstate = wxPyBeginAllowThreads();
21832 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
21833
21834 wxPyEndAllowThreads(__tstate);
21835 if (PyErr_Occurred()) SWIG_fail;
21836 }
21837 resultobj = SWIG_FromLong((long)result);
21838 return resultobj;
21839 fail:
21840 return NULL;
21841 }
21842
21843
21844 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
21845 PyObject *resultobj;
21846 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21847 wxPoint *arg2 = 0 ;
21848 int *arg3 = 0 ;
21849 long result;
21850 wxPoint temp2 ;
21851 int temp3 ;
21852 PyObject * obj0 = 0 ;
21853 PyObject * obj1 = 0 ;
21854 char *kwnames[] = {
21855 (char *) "self",(char *) "point", NULL
21856 };
21857
21858 arg3 = &temp3;
21859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
21860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21862 {
21863 arg2 = &temp2;
21864 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21865 }
21866 {
21867 PyThreadState* __tstate = wxPyBeginAllowThreads();
21868 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
21869
21870 wxPyEndAllowThreads(__tstate);
21871 if (PyErr_Occurred()) SWIG_fail;
21872 }
21873 resultobj = SWIG_FromLong((long)result);
21874 {
21875 PyObject *o = PyInt_FromLong((long) (*arg3));
21876 resultobj = t_output_helper(resultobj,o);
21877 }
21878 return resultobj;
21879 fail:
21880 return NULL;
21881 }
21882
21883
21884 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
21885 PyObject *resultobj;
21886 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21887 wxListItem *arg2 = 0 ;
21888 long result;
21889 PyObject * obj0 = 0 ;
21890 PyObject * obj1 = 0 ;
21891 char *kwnames[] = {
21892 (char *) "self",(char *) "info", NULL
21893 };
21894
21895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
21896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21898 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
21899 SWIG_POINTER_EXCEPTION | 0)) == -1)
21900 SWIG_fail;
21901 if (arg2 == NULL) {
21902 PyErr_SetString(PyExc_TypeError,"null reference");
21903 SWIG_fail;
21904 }
21905 {
21906 PyThreadState* __tstate = wxPyBeginAllowThreads();
21907 result = (long)(arg1)->InsertItem(*arg2);
21908
21909 wxPyEndAllowThreads(__tstate);
21910 if (PyErr_Occurred()) SWIG_fail;
21911 }
21912 resultobj = SWIG_FromLong((long)result);
21913 return resultobj;
21914 fail:
21915 return NULL;
21916 }
21917
21918
21919 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
21920 PyObject *resultobj;
21921 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21922 long arg2 ;
21923 wxString *arg3 = 0 ;
21924 long result;
21925 bool temp3 = False ;
21926 PyObject * obj0 = 0 ;
21927 PyObject * obj1 = 0 ;
21928 PyObject * obj2 = 0 ;
21929 char *kwnames[] = {
21930 (char *) "self",(char *) "index",(char *) "label", NULL
21931 };
21932
21933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21936 arg2 = (long) SWIG_AsLong(obj1);
21937 if (PyErr_Occurred()) SWIG_fail;
21938 {
21939 arg3 = wxString_in_helper(obj2);
21940 if (arg3 == NULL) SWIG_fail;
21941 temp3 = True;
21942 }
21943 {
21944 PyThreadState* __tstate = wxPyBeginAllowThreads();
21945 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
21946
21947 wxPyEndAllowThreads(__tstate);
21948 if (PyErr_Occurred()) SWIG_fail;
21949 }
21950 resultobj = SWIG_FromLong((long)result);
21951 {
21952 if (temp3)
21953 delete arg3;
21954 }
21955 return resultobj;
21956 fail:
21957 {
21958 if (temp3)
21959 delete arg3;
21960 }
21961 return NULL;
21962 }
21963
21964
21965 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
21966 PyObject *resultobj;
21967 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21968 long arg2 ;
21969 int arg3 ;
21970 long result;
21971 PyObject * obj0 = 0 ;
21972 PyObject * obj1 = 0 ;
21973 PyObject * obj2 = 0 ;
21974 char *kwnames[] = {
21975 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21976 };
21977
21978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21981 arg2 = (long) SWIG_AsLong(obj1);
21982 if (PyErr_Occurred()) SWIG_fail;
21983 arg3 = (int) SWIG_AsInt(obj2);
21984 if (PyErr_Occurred()) SWIG_fail;
21985 {
21986 PyThreadState* __tstate = wxPyBeginAllowThreads();
21987 result = (long)(arg1)->InsertItem(arg2,arg3);
21988
21989 wxPyEndAllowThreads(__tstate);
21990 if (PyErr_Occurred()) SWIG_fail;
21991 }
21992 resultobj = SWIG_FromLong((long)result);
21993 return resultobj;
21994 fail:
21995 return NULL;
21996 }
21997
21998
21999 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
22000 PyObject *resultobj;
22001 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22002 long arg2 ;
22003 wxString *arg3 = 0 ;
22004 int arg4 ;
22005 long result;
22006 bool temp3 = False ;
22007 PyObject * obj0 = 0 ;
22008 PyObject * obj1 = 0 ;
22009 PyObject * obj2 = 0 ;
22010 PyObject * obj3 = 0 ;
22011 char *kwnames[] = {
22012 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22013 };
22014
22015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22018 arg2 = (long) SWIG_AsLong(obj1);
22019 if (PyErr_Occurred()) SWIG_fail;
22020 {
22021 arg3 = wxString_in_helper(obj2);
22022 if (arg3 == NULL) SWIG_fail;
22023 temp3 = True;
22024 }
22025 arg4 = (int) SWIG_AsInt(obj3);
22026 if (PyErr_Occurred()) SWIG_fail;
22027 {
22028 PyThreadState* __tstate = wxPyBeginAllowThreads();
22029 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
22030
22031 wxPyEndAllowThreads(__tstate);
22032 if (PyErr_Occurred()) SWIG_fail;
22033 }
22034 resultobj = SWIG_FromLong((long)result);
22035 {
22036 if (temp3)
22037 delete arg3;
22038 }
22039 return resultobj;
22040 fail:
22041 {
22042 if (temp3)
22043 delete arg3;
22044 }
22045 return NULL;
22046 }
22047
22048
22049 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22050 PyObject *resultobj;
22051 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22052 long arg2 ;
22053 wxListItem *arg3 = 0 ;
22054 long result;
22055 PyObject * obj0 = 0 ;
22056 PyObject * obj1 = 0 ;
22057 PyObject * obj2 = 0 ;
22058 char *kwnames[] = {
22059 (char *) "self",(char *) "col",(char *) "info", NULL
22060 };
22061
22062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22065 arg2 = (long) SWIG_AsLong(obj1);
22066 if (PyErr_Occurred()) SWIG_fail;
22067 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
22068 SWIG_POINTER_EXCEPTION | 0)) == -1)
22069 SWIG_fail;
22070 if (arg3 == NULL) {
22071 PyErr_SetString(PyExc_TypeError,"null reference");
22072 SWIG_fail;
22073 }
22074 {
22075 PyThreadState* __tstate = wxPyBeginAllowThreads();
22076 result = (long)(arg1)->InsertColumn(arg2,*arg3);
22077
22078 wxPyEndAllowThreads(__tstate);
22079 if (PyErr_Occurred()) SWIG_fail;
22080 }
22081 resultobj = SWIG_FromLong((long)result);
22082 return resultobj;
22083 fail:
22084 return NULL;
22085 }
22086
22087
22088 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
22089 PyObject *resultobj;
22090 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22091 long arg2 ;
22092 wxString *arg3 = 0 ;
22093 int arg4 = (int) wxLIST_FORMAT_LEFT ;
22094 int arg5 = (int) -1 ;
22095 long result;
22096 bool temp3 = False ;
22097 PyObject * obj0 = 0 ;
22098 PyObject * obj1 = 0 ;
22099 PyObject * obj2 = 0 ;
22100 PyObject * obj3 = 0 ;
22101 PyObject * obj4 = 0 ;
22102 char *kwnames[] = {
22103 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22104 };
22105
22106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22109 arg2 = (long) SWIG_AsLong(obj1);
22110 if (PyErr_Occurred()) SWIG_fail;
22111 {
22112 arg3 = wxString_in_helper(obj2);
22113 if (arg3 == NULL) SWIG_fail;
22114 temp3 = True;
22115 }
22116 if (obj3) {
22117 arg4 = (int) SWIG_AsInt(obj3);
22118 if (PyErr_Occurred()) SWIG_fail;
22119 }
22120 if (obj4) {
22121 arg5 = (int) SWIG_AsInt(obj4);
22122 if (PyErr_Occurred()) SWIG_fail;
22123 }
22124 {
22125 PyThreadState* __tstate = wxPyBeginAllowThreads();
22126 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
22127
22128 wxPyEndAllowThreads(__tstate);
22129 if (PyErr_Occurred()) SWIG_fail;
22130 }
22131 resultobj = SWIG_FromLong((long)result);
22132 {
22133 if (temp3)
22134 delete arg3;
22135 }
22136 return resultobj;
22137 fail:
22138 {
22139 if (temp3)
22140 delete arg3;
22141 }
22142 return NULL;
22143 }
22144
22145
22146 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
22147 PyObject *resultobj;
22148 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22149 long arg2 ;
22150 PyObject * obj0 = 0 ;
22151 PyObject * obj1 = 0 ;
22152 char *kwnames[] = {
22153 (char *) "self",(char *) "count", NULL
22154 };
22155
22156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
22157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22159 arg2 = (long) SWIG_AsLong(obj1);
22160 if (PyErr_Occurred()) SWIG_fail;
22161 {
22162 PyThreadState* __tstate = wxPyBeginAllowThreads();
22163 (arg1)->SetItemCount(arg2);
22164
22165 wxPyEndAllowThreads(__tstate);
22166 if (PyErr_Occurred()) SWIG_fail;
22167 }
22168 Py_INCREF(Py_None); resultobj = Py_None;
22169 return resultobj;
22170 fail:
22171 return NULL;
22172 }
22173
22174
22175 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
22176 PyObject *resultobj;
22177 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22178 int arg2 ;
22179 int arg3 ;
22180 bool result;
22181 PyObject * obj0 = 0 ;
22182 PyObject * obj1 = 0 ;
22183 PyObject * obj2 = 0 ;
22184 char *kwnames[] = {
22185 (char *) "self",(char *) "dx",(char *) "dy", NULL
22186 };
22187
22188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22191 arg2 = (int) SWIG_AsInt(obj1);
22192 if (PyErr_Occurred()) SWIG_fail;
22193 arg3 = (int) SWIG_AsInt(obj2);
22194 if (PyErr_Occurred()) SWIG_fail;
22195 {
22196 PyThreadState* __tstate = wxPyBeginAllowThreads();
22197 result = (bool)(arg1)->ScrollList(arg2,arg3);
22198
22199 wxPyEndAllowThreads(__tstate);
22200 if (PyErr_Occurred()) SWIG_fail;
22201 }
22202 {
22203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22204 }
22205 return resultobj;
22206 fail:
22207 return NULL;
22208 }
22209
22210
22211 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22212 PyObject *resultobj;
22213 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22214 long arg2 ;
22215 wxColour *arg3 = 0 ;
22216 wxColour temp3 ;
22217 PyObject * obj0 = 0 ;
22218 PyObject * obj1 = 0 ;
22219 PyObject * obj2 = 0 ;
22220 char *kwnames[] = {
22221 (char *) "self",(char *) "item",(char *) "col", NULL
22222 };
22223
22224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22227 arg2 = (long) SWIG_AsLong(obj1);
22228 if (PyErr_Occurred()) SWIG_fail;
22229 {
22230 arg3 = &temp3;
22231 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22232 }
22233 {
22234 PyThreadState* __tstate = wxPyBeginAllowThreads();
22235 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
22236
22237 wxPyEndAllowThreads(__tstate);
22238 if (PyErr_Occurred()) SWIG_fail;
22239 }
22240 Py_INCREF(Py_None); resultobj = Py_None;
22241 return resultobj;
22242 fail:
22243 return NULL;
22244 }
22245
22246
22247 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22248 PyObject *resultobj;
22249 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22250 long arg2 ;
22251 wxColour result;
22252 PyObject * obj0 = 0 ;
22253 PyObject * obj1 = 0 ;
22254 char *kwnames[] = {
22255 (char *) "self",(char *) "item", NULL
22256 };
22257
22258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
22259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22261 arg2 = (long) SWIG_AsLong(obj1);
22262 if (PyErr_Occurred()) SWIG_fail;
22263 {
22264 PyThreadState* __tstate = wxPyBeginAllowThreads();
22265 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
22266
22267 wxPyEndAllowThreads(__tstate);
22268 if (PyErr_Occurred()) SWIG_fail;
22269 }
22270 {
22271 wxColour * resultptr;
22272 resultptr = new wxColour((wxColour &) result);
22273 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22274 }
22275 return resultobj;
22276 fail:
22277 return NULL;
22278 }
22279
22280
22281 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22282 PyObject *resultobj;
22283 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22284 long arg2 ;
22285 wxColour *arg3 = 0 ;
22286 wxColour temp3 ;
22287 PyObject * obj0 = 0 ;
22288 PyObject * obj1 = 0 ;
22289 PyObject * obj2 = 0 ;
22290 char *kwnames[] = {
22291 (char *) "self",(char *) "item",(char *) "col", NULL
22292 };
22293
22294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22297 arg2 = (long) SWIG_AsLong(obj1);
22298 if (PyErr_Occurred()) SWIG_fail;
22299 {
22300 arg3 = &temp3;
22301 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22302 }
22303 {
22304 PyThreadState* __tstate = wxPyBeginAllowThreads();
22305 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
22306
22307 wxPyEndAllowThreads(__tstate);
22308 if (PyErr_Occurred()) SWIG_fail;
22309 }
22310 Py_INCREF(Py_None); resultobj = Py_None;
22311 return resultobj;
22312 fail:
22313 return NULL;
22314 }
22315
22316
22317 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22318 PyObject *resultobj;
22319 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22320 long arg2 ;
22321 wxColour result;
22322 PyObject * obj0 = 0 ;
22323 PyObject * obj1 = 0 ;
22324 char *kwnames[] = {
22325 (char *) "self",(char *) "item", NULL
22326 };
22327
22328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22331 arg2 = (long) SWIG_AsLong(obj1);
22332 if (PyErr_Occurred()) SWIG_fail;
22333 {
22334 PyThreadState* __tstate = wxPyBeginAllowThreads();
22335 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
22336
22337 wxPyEndAllowThreads(__tstate);
22338 if (PyErr_Occurred()) SWIG_fail;
22339 }
22340 {
22341 wxColour * resultptr;
22342 resultptr = new wxColour((wxColour &) result);
22343 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22344 }
22345 return resultobj;
22346 fail:
22347 return NULL;
22348 }
22349
22350
22351 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
22352 PyObject *resultobj;
22353 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22354 PyObject *arg2 = (PyObject *) 0 ;
22355 bool result;
22356 PyObject * obj0 = 0 ;
22357 PyObject * obj1 = 0 ;
22358 char *kwnames[] = {
22359 (char *) "self",(char *) "func", NULL
22360 };
22361
22362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
22363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22365 arg2 = obj1;
22366 {
22367 PyThreadState* __tstate = wxPyBeginAllowThreads();
22368 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
22369
22370 wxPyEndAllowThreads(__tstate);
22371 if (PyErr_Occurred()) SWIG_fail;
22372 }
22373 {
22374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22375 }
22376 return resultobj;
22377 fail:
22378 return NULL;
22379 }
22380
22381
22382 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
22383 PyObject *resultobj;
22384 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22385 wxWindow *result;
22386 PyObject * obj0 = 0 ;
22387 char *kwnames[] = {
22388 (char *) "self", NULL
22389 };
22390
22391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
22392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22394 {
22395 PyThreadState* __tstate = wxPyBeginAllowThreads();
22396 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
22397
22398 wxPyEndAllowThreads(__tstate);
22399 if (PyErr_Occurred()) SWIG_fail;
22400 }
22401 {
22402 resultobj = wxPyMake_wxObject(result);
22403 }
22404 return resultobj;
22405 fail:
22406 return NULL;
22407 }
22408
22409
22410 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22411 PyObject *resultobj;
22412 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
22413 wxVisualAttributes result;
22414 PyObject * obj0 = 0 ;
22415 char *kwnames[] = {
22416 (char *) "variant", NULL
22417 };
22418
22419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
22420 if (obj0) {
22421 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
22422 if (PyErr_Occurred()) SWIG_fail;
22423 }
22424 {
22425 PyThreadState* __tstate = wxPyBeginAllowThreads();
22426 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
22427
22428 wxPyEndAllowThreads(__tstate);
22429 if (PyErr_Occurred()) SWIG_fail;
22430 }
22431 {
22432 wxVisualAttributes * resultptr;
22433 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
22434 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
22435 }
22436 return resultobj;
22437 fail:
22438 return NULL;
22439 }
22440
22441
22442 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
22443 PyObject *obj;
22444 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22445 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
22446 Py_INCREF(obj);
22447 return Py_BuildValue((char *)"");
22448 }
22449 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
22450 PyObject *resultobj;
22451 wxWindow *arg1 = (wxWindow *) 0 ;
22452 int arg2 = (int) -1 ;
22453 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22454 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22455 wxSize const &arg4_defvalue = wxDefaultSize ;
22456 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22457 long arg5 = (long) wxLC_REPORT ;
22458 wxValidator const &arg6_defvalue = wxDefaultValidator ;
22459 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
22460 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
22461 wxString *arg7 = (wxString *) &arg7_defvalue ;
22462 wxListView *result;
22463 wxPoint temp3 ;
22464 wxSize temp4 ;
22465 bool temp7 = False ;
22466 PyObject * obj0 = 0 ;
22467 PyObject * obj1 = 0 ;
22468 PyObject * obj2 = 0 ;
22469 PyObject * obj3 = 0 ;
22470 PyObject * obj4 = 0 ;
22471 PyObject * obj5 = 0 ;
22472 PyObject * obj6 = 0 ;
22473 char *kwnames[] = {
22474 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22475 };
22476
22477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22480 if (obj1) {
22481 arg2 = (int) SWIG_AsInt(obj1);
22482 if (PyErr_Occurred()) SWIG_fail;
22483 }
22484 if (obj2) {
22485 {
22486 arg3 = &temp3;
22487 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22488 }
22489 }
22490 if (obj3) {
22491 {
22492 arg4 = &temp4;
22493 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22494 }
22495 }
22496 if (obj4) {
22497 arg5 = (long) SWIG_AsLong(obj4);
22498 if (PyErr_Occurred()) SWIG_fail;
22499 }
22500 if (obj5) {
22501 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
22502 SWIG_POINTER_EXCEPTION | 0)) == -1)
22503 SWIG_fail;
22504 if (arg6 == NULL) {
22505 PyErr_SetString(PyExc_TypeError,"null reference");
22506 SWIG_fail;
22507 }
22508 }
22509 if (obj6) {
22510 {
22511 arg7 = wxString_in_helper(obj6);
22512 if (arg7 == NULL) SWIG_fail;
22513 temp7 = True;
22514 }
22515 }
22516 {
22517 PyThreadState* __tstate = wxPyBeginAllowThreads();
22518 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22519
22520 wxPyEndAllowThreads(__tstate);
22521 if (PyErr_Occurred()) SWIG_fail;
22522 }
22523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22524 {
22525 if (temp7)
22526 delete arg7;
22527 }
22528 return resultobj;
22529 fail:
22530 {
22531 if (temp7)
22532 delete arg7;
22533 }
22534 return NULL;
22535 }
22536
22537
22538 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
22539 PyObject *resultobj;
22540 wxListView *result;
22541 char *kwnames[] = {
22542 NULL
22543 };
22544
22545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22546 {
22547 PyThreadState* __tstate = wxPyBeginAllowThreads();
22548 result = (wxListView *)new wxListView();
22549
22550 wxPyEndAllowThreads(__tstate);
22551 if (PyErr_Occurred()) SWIG_fail;
22552 }
22553 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22554 return resultobj;
22555 fail:
22556 return NULL;
22557 }
22558
22559
22560 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
22561 PyObject *resultobj;
22562 wxListView *arg1 = (wxListView *) 0 ;
22563 wxWindow *arg2 = (wxWindow *) 0 ;
22564 int arg3 = (int) -1 ;
22565 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22566 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22567 wxSize const &arg5_defvalue = wxDefaultSize ;
22568 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22569 long arg6 = (long) wxLC_REPORT ;
22570 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22571 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22572 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22573 wxString *arg8 = (wxString *) &arg8_defvalue ;
22574 bool result;
22575 wxPoint temp4 ;
22576 wxSize temp5 ;
22577 bool temp8 = False ;
22578 PyObject * obj0 = 0 ;
22579 PyObject * obj1 = 0 ;
22580 PyObject * obj2 = 0 ;
22581 PyObject * obj3 = 0 ;
22582 PyObject * obj4 = 0 ;
22583 PyObject * obj5 = 0 ;
22584 PyObject * obj6 = 0 ;
22585 PyObject * obj7 = 0 ;
22586 char *kwnames[] = {
22587 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22588 };
22589
22590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
22591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22593 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22595 if (obj2) {
22596 arg3 = (int) SWIG_AsInt(obj2);
22597 if (PyErr_Occurred()) SWIG_fail;
22598 }
22599 if (obj3) {
22600 {
22601 arg4 = &temp4;
22602 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22603 }
22604 }
22605 if (obj4) {
22606 {
22607 arg5 = &temp5;
22608 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22609 }
22610 }
22611 if (obj5) {
22612 arg6 = (long) SWIG_AsLong(obj5);
22613 if (PyErr_Occurred()) SWIG_fail;
22614 }
22615 if (obj6) {
22616 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
22617 SWIG_POINTER_EXCEPTION | 0)) == -1)
22618 SWIG_fail;
22619 if (arg7 == NULL) {
22620 PyErr_SetString(PyExc_TypeError,"null reference");
22621 SWIG_fail;
22622 }
22623 }
22624 if (obj7) {
22625 {
22626 arg8 = wxString_in_helper(obj7);
22627 if (arg8 == NULL) SWIG_fail;
22628 temp8 = True;
22629 }
22630 }
22631 {
22632 PyThreadState* __tstate = wxPyBeginAllowThreads();
22633 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22634
22635 wxPyEndAllowThreads(__tstate);
22636 if (PyErr_Occurred()) SWIG_fail;
22637 }
22638 {
22639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22640 }
22641 {
22642 if (temp8)
22643 delete arg8;
22644 }
22645 return resultobj;
22646 fail:
22647 {
22648 if (temp8)
22649 delete arg8;
22650 }
22651 return NULL;
22652 }
22653
22654
22655 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
22656 PyObject *resultobj;
22657 wxListView *arg1 = (wxListView *) 0 ;
22658 long arg2 ;
22659 bool arg3 = (bool) True ;
22660 PyObject * obj0 = 0 ;
22661 PyObject * obj1 = 0 ;
22662 PyObject * obj2 = 0 ;
22663 char *kwnames[] = {
22664 (char *) "self",(char *) "n",(char *) "on", NULL
22665 };
22666
22667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
22668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22670 arg2 = (long) SWIG_AsLong(obj1);
22671 if (PyErr_Occurred()) SWIG_fail;
22672 if (obj2) {
22673 arg3 = (bool) SWIG_AsBool(obj2);
22674 if (PyErr_Occurred()) SWIG_fail;
22675 }
22676 {
22677 PyThreadState* __tstate = wxPyBeginAllowThreads();
22678 (arg1)->Select(arg2,arg3);
22679
22680 wxPyEndAllowThreads(__tstate);
22681 if (PyErr_Occurred()) SWIG_fail;
22682 }
22683 Py_INCREF(Py_None); resultobj = Py_None;
22684 return resultobj;
22685 fail:
22686 return NULL;
22687 }
22688
22689
22690 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
22691 PyObject *resultobj;
22692 wxListView *arg1 = (wxListView *) 0 ;
22693 long arg2 ;
22694 PyObject * obj0 = 0 ;
22695 PyObject * obj1 = 0 ;
22696 char *kwnames[] = {
22697 (char *) "self",(char *) "index", NULL
22698 };
22699
22700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
22701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22703 arg2 = (long) SWIG_AsLong(obj1);
22704 if (PyErr_Occurred()) SWIG_fail;
22705 {
22706 PyThreadState* __tstate = wxPyBeginAllowThreads();
22707 (arg1)->Focus(arg2);
22708
22709 wxPyEndAllowThreads(__tstate);
22710 if (PyErr_Occurred()) SWIG_fail;
22711 }
22712 Py_INCREF(Py_None); resultobj = Py_None;
22713 return resultobj;
22714 fail:
22715 return NULL;
22716 }
22717
22718
22719 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
22720 PyObject *resultobj;
22721 wxListView *arg1 = (wxListView *) 0 ;
22722 long result;
22723 PyObject * obj0 = 0 ;
22724 char *kwnames[] = {
22725 (char *) "self", NULL
22726 };
22727
22728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
22729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22731 {
22732 PyThreadState* __tstate = wxPyBeginAllowThreads();
22733 result = (long)((wxListView const *)arg1)->GetFocusedItem();
22734
22735 wxPyEndAllowThreads(__tstate);
22736 if (PyErr_Occurred()) SWIG_fail;
22737 }
22738 resultobj = SWIG_FromLong((long)result);
22739 return resultobj;
22740 fail:
22741 return NULL;
22742 }
22743
22744
22745 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
22746 PyObject *resultobj;
22747 wxListView *arg1 = (wxListView *) 0 ;
22748 long arg2 ;
22749 long result;
22750 PyObject * obj0 = 0 ;
22751 PyObject * obj1 = 0 ;
22752 char *kwnames[] = {
22753 (char *) "self",(char *) "item", NULL
22754 };
22755
22756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
22757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22759 arg2 = (long) SWIG_AsLong(obj1);
22760 if (PyErr_Occurred()) SWIG_fail;
22761 {
22762 PyThreadState* __tstate = wxPyBeginAllowThreads();
22763 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
22764
22765 wxPyEndAllowThreads(__tstate);
22766 if (PyErr_Occurred()) SWIG_fail;
22767 }
22768 resultobj = SWIG_FromLong((long)result);
22769 return resultobj;
22770 fail:
22771 return NULL;
22772 }
22773
22774
22775 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
22776 PyObject *resultobj;
22777 wxListView *arg1 = (wxListView *) 0 ;
22778 long result;
22779 PyObject * obj0 = 0 ;
22780 char *kwnames[] = {
22781 (char *) "self", NULL
22782 };
22783
22784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
22785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22787 {
22788 PyThreadState* __tstate = wxPyBeginAllowThreads();
22789 result = (long)((wxListView const *)arg1)->GetFirstSelected();
22790
22791 wxPyEndAllowThreads(__tstate);
22792 if (PyErr_Occurred()) SWIG_fail;
22793 }
22794 resultobj = SWIG_FromLong((long)result);
22795 return resultobj;
22796 fail:
22797 return NULL;
22798 }
22799
22800
22801 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
22802 PyObject *resultobj;
22803 wxListView *arg1 = (wxListView *) 0 ;
22804 long arg2 ;
22805 bool result;
22806 PyObject * obj0 = 0 ;
22807 PyObject * obj1 = 0 ;
22808 char *kwnames[] = {
22809 (char *) "self",(char *) "index", NULL
22810 };
22811
22812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22815 arg2 = (long) SWIG_AsLong(obj1);
22816 if (PyErr_Occurred()) SWIG_fail;
22817 {
22818 PyThreadState* __tstate = wxPyBeginAllowThreads();
22819 result = (bool)(arg1)->IsSelected(arg2);
22820
22821 wxPyEndAllowThreads(__tstate);
22822 if (PyErr_Occurred()) SWIG_fail;
22823 }
22824 {
22825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22826 }
22827 return resultobj;
22828 fail:
22829 return NULL;
22830 }
22831
22832
22833 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
22834 PyObject *resultobj;
22835 wxListView *arg1 = (wxListView *) 0 ;
22836 int arg2 ;
22837 int arg3 ;
22838 PyObject * obj0 = 0 ;
22839 PyObject * obj1 = 0 ;
22840 PyObject * obj2 = 0 ;
22841 char *kwnames[] = {
22842 (char *) "self",(char *) "col",(char *) "image", NULL
22843 };
22844
22845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22848 arg2 = (int) SWIG_AsInt(obj1);
22849 if (PyErr_Occurred()) SWIG_fail;
22850 arg3 = (int) SWIG_AsInt(obj2);
22851 if (PyErr_Occurred()) SWIG_fail;
22852 {
22853 PyThreadState* __tstate = wxPyBeginAllowThreads();
22854 (arg1)->SetColumnImage(arg2,arg3);
22855
22856 wxPyEndAllowThreads(__tstate);
22857 if (PyErr_Occurred()) SWIG_fail;
22858 }
22859 Py_INCREF(Py_None); resultobj = Py_None;
22860 return resultobj;
22861 fail:
22862 return NULL;
22863 }
22864
22865
22866 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
22867 PyObject *resultobj;
22868 wxListView *arg1 = (wxListView *) 0 ;
22869 int arg2 ;
22870 PyObject * obj0 = 0 ;
22871 PyObject * obj1 = 0 ;
22872 char *kwnames[] = {
22873 (char *) "self",(char *) "col", NULL
22874 };
22875
22876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
22877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22879 arg2 = (int) SWIG_AsInt(obj1);
22880 if (PyErr_Occurred()) SWIG_fail;
22881 {
22882 PyThreadState* __tstate = wxPyBeginAllowThreads();
22883 (arg1)->ClearColumnImage(arg2);
22884
22885 wxPyEndAllowThreads(__tstate);
22886 if (PyErr_Occurred()) SWIG_fail;
22887 }
22888 Py_INCREF(Py_None); resultobj = Py_None;
22889 return resultobj;
22890 fail:
22891 return NULL;
22892 }
22893
22894
22895 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
22896 PyObject *obj;
22897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22898 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
22899 Py_INCREF(obj);
22900 return Py_BuildValue((char *)"");
22901 }
22902 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
22903 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
22904 return 1;
22905 }
22906
22907
22908 static PyObject *_wrap_TreeCtrlNameStr_get() {
22909 PyObject *pyobj;
22910
22911 {
22912 #if wxUSE_UNICODE
22913 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22914 #else
22915 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22916 #endif
22917 }
22918 return pyobj;
22919 }
22920
22921
22922 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
22923 PyObject *resultobj;
22924 wxTreeItemId *result;
22925 char *kwnames[] = {
22926 NULL
22927 };
22928
22929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
22930 {
22931 PyThreadState* __tstate = wxPyBeginAllowThreads();
22932 result = (wxTreeItemId *)new wxTreeItemId();
22933
22934 wxPyEndAllowThreads(__tstate);
22935 if (PyErr_Occurred()) SWIG_fail;
22936 }
22937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
22938 return resultobj;
22939 fail:
22940 return NULL;
22941 }
22942
22943
22944 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
22945 PyObject *resultobj;
22946 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22947 PyObject * obj0 = 0 ;
22948 char *kwnames[] = {
22949 (char *) "self", NULL
22950 };
22951
22952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
22953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22955 {
22956 PyThreadState* __tstate = wxPyBeginAllowThreads();
22957 delete arg1;
22958
22959 wxPyEndAllowThreads(__tstate);
22960 if (PyErr_Occurred()) SWIG_fail;
22961 }
22962 Py_INCREF(Py_None); resultobj = Py_None;
22963 return resultobj;
22964 fail:
22965 return NULL;
22966 }
22967
22968
22969 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
22970 PyObject *resultobj;
22971 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22972 bool result;
22973 PyObject * obj0 = 0 ;
22974 char *kwnames[] = {
22975 (char *) "self", NULL
22976 };
22977
22978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
22979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22981 {
22982 PyThreadState* __tstate = wxPyBeginAllowThreads();
22983 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
22984
22985 wxPyEndAllowThreads(__tstate);
22986 if (PyErr_Occurred()) SWIG_fail;
22987 }
22988 {
22989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22990 }
22991 return resultobj;
22992 fail:
22993 return NULL;
22994 }
22995
22996
22997 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
22998 PyObject *resultobj;
22999 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23000 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
23001 bool result;
23002 PyObject * obj0 = 0 ;
23003 PyObject * obj1 = 0 ;
23004 char *kwnames[] = {
23005 (char *) "self",(char *) "other", NULL
23006 };
23007
23008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
23009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23013 {
23014 PyThreadState* __tstate = wxPyBeginAllowThreads();
23015 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
23016
23017 wxPyEndAllowThreads(__tstate);
23018 if (PyErr_Occurred()) SWIG_fail;
23019 }
23020 {
23021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23022 }
23023 return resultobj;
23024 fail:
23025 return NULL;
23026 }
23027
23028
23029 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
23030 PyObject *resultobj;
23031 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23032 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
23033 bool result;
23034 PyObject * obj0 = 0 ;
23035 PyObject * obj1 = 0 ;
23036 char *kwnames[] = {
23037 (char *) "self",(char *) "other", NULL
23038 };
23039
23040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
23041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23043 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23045 {
23046 PyThreadState* __tstate = wxPyBeginAllowThreads();
23047 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
23048
23049 wxPyEndAllowThreads(__tstate);
23050 if (PyErr_Occurred()) SWIG_fail;
23051 }
23052 {
23053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23054 }
23055 return resultobj;
23056 fail:
23057 return NULL;
23058 }
23059
23060
23061 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
23062 PyObject *resultobj;
23063 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23064 void *arg2 = (void *) 0 ;
23065 PyObject * obj0 = 0 ;
23066 PyObject * obj1 = 0 ;
23067 char *kwnames[] = {
23068 (char *) "self",(char *) "m_pItem", NULL
23069 };
23070
23071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
23072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23074 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
23075 if (arg1) (arg1)->m_pItem = arg2;
23076
23077 Py_INCREF(Py_None); resultobj = Py_None;
23078 return resultobj;
23079 fail:
23080 return NULL;
23081 }
23082
23083
23084 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
23085 PyObject *resultobj;
23086 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23087 void *result;
23088 PyObject * obj0 = 0 ;
23089 char *kwnames[] = {
23090 (char *) "self", NULL
23091 };
23092
23093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
23094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23096 result = (void *) ((arg1)->m_pItem);
23097
23098 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
23099 return resultobj;
23100 fail:
23101 return NULL;
23102 }
23103
23104
23105 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
23106 PyObject *obj;
23107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23108 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
23109 Py_INCREF(obj);
23110 return Py_BuildValue((char *)"");
23111 }
23112 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
23113 PyObject *resultobj;
23114 PyObject *arg1 = (PyObject *) NULL ;
23115 wxPyTreeItemData *result;
23116 PyObject * obj0 = 0 ;
23117 char *kwnames[] = {
23118 (char *) "obj", NULL
23119 };
23120
23121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
23122 if (obj0) {
23123 arg1 = obj0;
23124 }
23125 {
23126 PyThreadState* __tstate = wxPyBeginAllowThreads();
23127 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
23128
23129 wxPyEndAllowThreads(__tstate);
23130 if (PyErr_Occurred()) SWIG_fail;
23131 }
23132 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
23133 return resultobj;
23134 fail:
23135 return NULL;
23136 }
23137
23138
23139 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
23140 PyObject *resultobj;
23141 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23142 PyObject *result;
23143 PyObject * obj0 = 0 ;
23144 char *kwnames[] = {
23145 (char *) "self", NULL
23146 };
23147
23148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
23149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23151 {
23152 PyThreadState* __tstate = wxPyBeginAllowThreads();
23153 result = (PyObject *)(arg1)->GetData();
23154
23155 wxPyEndAllowThreads(__tstate);
23156 if (PyErr_Occurred()) SWIG_fail;
23157 }
23158 resultobj = result;
23159 return resultobj;
23160 fail:
23161 return NULL;
23162 }
23163
23164
23165 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
23166 PyObject *resultobj;
23167 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23168 PyObject *arg2 = (PyObject *) 0 ;
23169 PyObject * obj0 = 0 ;
23170 PyObject * obj1 = 0 ;
23171 char *kwnames[] = {
23172 (char *) "self",(char *) "obj", NULL
23173 };
23174
23175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
23176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23178 arg2 = obj1;
23179 {
23180 PyThreadState* __tstate = wxPyBeginAllowThreads();
23181 (arg1)->SetData(arg2);
23182
23183 wxPyEndAllowThreads(__tstate);
23184 if (PyErr_Occurred()) SWIG_fail;
23185 }
23186 Py_INCREF(Py_None); resultobj = Py_None;
23187 return resultobj;
23188 fail:
23189 return NULL;
23190 }
23191
23192
23193 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
23194 PyObject *resultobj;
23195 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23196 wxTreeItemId *result;
23197 PyObject * obj0 = 0 ;
23198 char *kwnames[] = {
23199 (char *) "self", NULL
23200 };
23201
23202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
23203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23205 {
23206 PyThreadState* __tstate = wxPyBeginAllowThreads();
23207 {
23208 wxTreeItemId const &_result_ref = (arg1)->GetId();
23209 result = (wxTreeItemId *) &_result_ref;
23210 }
23211
23212 wxPyEndAllowThreads(__tstate);
23213 if (PyErr_Occurred()) SWIG_fail;
23214 }
23215 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
23216 return resultobj;
23217 fail:
23218 return NULL;
23219 }
23220
23221
23222 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
23223 PyObject *resultobj;
23224 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23225 wxTreeItemId *arg2 = 0 ;
23226 PyObject * obj0 = 0 ;
23227 PyObject * obj1 = 0 ;
23228 char *kwnames[] = {
23229 (char *) "self",(char *) "id", NULL
23230 };
23231
23232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
23233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23235 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23236 SWIG_POINTER_EXCEPTION | 0)) == -1)
23237 SWIG_fail;
23238 if (arg2 == NULL) {
23239 PyErr_SetString(PyExc_TypeError,"null reference");
23240 SWIG_fail;
23241 }
23242 {
23243 PyThreadState* __tstate = wxPyBeginAllowThreads();
23244 (arg1)->SetId((wxTreeItemId const &)*arg2);
23245
23246 wxPyEndAllowThreads(__tstate);
23247 if (PyErr_Occurred()) SWIG_fail;
23248 }
23249 Py_INCREF(Py_None); resultobj = Py_None;
23250 return resultobj;
23251 fail:
23252 return NULL;
23253 }
23254
23255
23256 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
23257 PyObject *resultobj;
23258 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23259 PyObject * obj0 = 0 ;
23260 char *kwnames[] = {
23261 (char *) "self", NULL
23262 };
23263
23264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
23265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23267 {
23268 PyThreadState* __tstate = wxPyBeginAllowThreads();
23269 wxPyTreeItemData_Destroy(arg1);
23270
23271 wxPyEndAllowThreads(__tstate);
23272 if (PyErr_Occurred()) SWIG_fail;
23273 }
23274 Py_INCREF(Py_None); resultobj = Py_None;
23275 return resultobj;
23276 fail:
23277 return NULL;
23278 }
23279
23280
23281 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
23282 PyObject *obj;
23283 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23284 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
23285 Py_INCREF(obj);
23286 return Py_BuildValue((char *)"");
23287 }
23288 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23289 PyObject *resultobj;
23290 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23291 int arg2 = (int) 0 ;
23292 wxTreeEvent *result;
23293 PyObject * obj0 = 0 ;
23294 PyObject * obj1 = 0 ;
23295 char *kwnames[] = {
23296 (char *) "commandType",(char *) "id", NULL
23297 };
23298
23299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
23300 if (obj0) {
23301 arg1 = (wxEventType) SWIG_AsInt(obj0);
23302 if (PyErr_Occurred()) SWIG_fail;
23303 }
23304 if (obj1) {
23305 arg2 = (int) SWIG_AsInt(obj1);
23306 if (PyErr_Occurred()) SWIG_fail;
23307 }
23308 {
23309 PyThreadState* __tstate = wxPyBeginAllowThreads();
23310 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
23311
23312 wxPyEndAllowThreads(__tstate);
23313 if (PyErr_Occurred()) SWIG_fail;
23314 }
23315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
23316 return resultobj;
23317 fail:
23318 return NULL;
23319 }
23320
23321
23322 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23323 PyObject *resultobj;
23324 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23325 wxTreeItemId result;
23326 PyObject * obj0 = 0 ;
23327 char *kwnames[] = {
23328 (char *) "self", NULL
23329 };
23330
23331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
23332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23334 {
23335 PyThreadState* __tstate = wxPyBeginAllowThreads();
23336 result = ((wxTreeEvent const *)arg1)->GetItem();
23337
23338 wxPyEndAllowThreads(__tstate);
23339 if (PyErr_Occurred()) SWIG_fail;
23340 }
23341 {
23342 wxTreeItemId * resultptr;
23343 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23344 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23345 }
23346 return resultobj;
23347 fail:
23348 return NULL;
23349 }
23350
23351
23352 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23353 PyObject *resultobj;
23354 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23355 wxTreeItemId *arg2 = 0 ;
23356 PyObject * obj0 = 0 ;
23357 PyObject * obj1 = 0 ;
23358 char *kwnames[] = {
23359 (char *) "self",(char *) "item", NULL
23360 };
23361
23362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
23363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23365 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23366 SWIG_POINTER_EXCEPTION | 0)) == -1)
23367 SWIG_fail;
23368 if (arg2 == NULL) {
23369 PyErr_SetString(PyExc_TypeError,"null reference");
23370 SWIG_fail;
23371 }
23372 {
23373 PyThreadState* __tstate = wxPyBeginAllowThreads();
23374 (arg1)->SetItem((wxTreeItemId const &)*arg2);
23375
23376 wxPyEndAllowThreads(__tstate);
23377 if (PyErr_Occurred()) SWIG_fail;
23378 }
23379 Py_INCREF(Py_None); resultobj = Py_None;
23380 return resultobj;
23381 fail:
23382 return NULL;
23383 }
23384
23385
23386 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
23387 PyObject *resultobj;
23388 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23389 wxTreeItemId result;
23390 PyObject * obj0 = 0 ;
23391 char *kwnames[] = {
23392 (char *) "self", NULL
23393 };
23394
23395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
23396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23398 {
23399 PyThreadState* __tstate = wxPyBeginAllowThreads();
23400 result = ((wxTreeEvent const *)arg1)->GetOldItem();
23401
23402 wxPyEndAllowThreads(__tstate);
23403 if (PyErr_Occurred()) SWIG_fail;
23404 }
23405 {
23406 wxTreeItemId * resultptr;
23407 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23408 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23409 }
23410 return resultobj;
23411 fail:
23412 return NULL;
23413 }
23414
23415
23416 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
23417 PyObject *resultobj;
23418 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23419 wxTreeItemId *arg2 = 0 ;
23420 PyObject * obj0 = 0 ;
23421 PyObject * obj1 = 0 ;
23422 char *kwnames[] = {
23423 (char *) "self",(char *) "item", NULL
23424 };
23425
23426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
23427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23429 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23430 SWIG_POINTER_EXCEPTION | 0)) == -1)
23431 SWIG_fail;
23432 if (arg2 == NULL) {
23433 PyErr_SetString(PyExc_TypeError,"null reference");
23434 SWIG_fail;
23435 }
23436 {
23437 PyThreadState* __tstate = wxPyBeginAllowThreads();
23438 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
23439
23440 wxPyEndAllowThreads(__tstate);
23441 if (PyErr_Occurred()) SWIG_fail;
23442 }
23443 Py_INCREF(Py_None); resultobj = Py_None;
23444 return resultobj;
23445 fail:
23446 return NULL;
23447 }
23448
23449
23450 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23451 PyObject *resultobj;
23452 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23453 wxPoint result;
23454 PyObject * obj0 = 0 ;
23455 char *kwnames[] = {
23456 (char *) "self", NULL
23457 };
23458
23459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
23460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23462 {
23463 PyThreadState* __tstate = wxPyBeginAllowThreads();
23464 result = ((wxTreeEvent const *)arg1)->GetPoint();
23465
23466 wxPyEndAllowThreads(__tstate);
23467 if (PyErr_Occurred()) SWIG_fail;
23468 }
23469 {
23470 wxPoint * resultptr;
23471 resultptr = new wxPoint((wxPoint &) result);
23472 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23473 }
23474 return resultobj;
23475 fail:
23476 return NULL;
23477 }
23478
23479
23480 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23481 PyObject *resultobj;
23482 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23483 wxPoint *arg2 = 0 ;
23484 wxPoint temp2 ;
23485 PyObject * obj0 = 0 ;
23486 PyObject * obj1 = 0 ;
23487 char *kwnames[] = {
23488 (char *) "self",(char *) "pt", NULL
23489 };
23490
23491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
23492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23494 {
23495 arg2 = &temp2;
23496 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23497 }
23498 {
23499 PyThreadState* __tstate = wxPyBeginAllowThreads();
23500 (arg1)->SetPoint((wxPoint const &)*arg2);
23501
23502 wxPyEndAllowThreads(__tstate);
23503 if (PyErr_Occurred()) SWIG_fail;
23504 }
23505 Py_INCREF(Py_None); resultobj = Py_None;
23506 return resultobj;
23507 fail:
23508 return NULL;
23509 }
23510
23511
23512 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23513 PyObject *resultobj;
23514 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23515 wxKeyEvent *result;
23516 PyObject * obj0 = 0 ;
23517 char *kwnames[] = {
23518 (char *) "self", NULL
23519 };
23520
23521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
23522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23524 {
23525 PyThreadState* __tstate = wxPyBeginAllowThreads();
23526 {
23527 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23528 result = (wxKeyEvent *) &_result_ref;
23529 }
23530
23531 wxPyEndAllowThreads(__tstate);
23532 if (PyErr_Occurred()) SWIG_fail;
23533 }
23534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
23535 return resultobj;
23536 fail:
23537 return NULL;
23538 }
23539
23540
23541 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
23542 PyObject *resultobj;
23543 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23544 int result;
23545 PyObject * obj0 = 0 ;
23546 char *kwnames[] = {
23547 (char *) "self", NULL
23548 };
23549
23550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23553 {
23554 PyThreadState* __tstate = wxPyBeginAllowThreads();
23555 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23556
23557 wxPyEndAllowThreads(__tstate);
23558 if (PyErr_Occurred()) SWIG_fail;
23559 }
23560 resultobj = SWIG_FromInt((int)result);
23561 return resultobj;
23562 fail:
23563 return NULL;
23564 }
23565
23566
23567 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23568 PyObject *resultobj;
23569 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23570 wxKeyEvent *arg2 = 0 ;
23571 PyObject * obj0 = 0 ;
23572 PyObject * obj1 = 0 ;
23573 char *kwnames[] = {
23574 (char *) "self",(char *) "evt", NULL
23575 };
23576
23577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
23578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23580 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
23581 SWIG_POINTER_EXCEPTION | 0)) == -1)
23582 SWIG_fail;
23583 if (arg2 == NULL) {
23584 PyErr_SetString(PyExc_TypeError,"null reference");
23585 SWIG_fail;
23586 }
23587 {
23588 PyThreadState* __tstate = wxPyBeginAllowThreads();
23589 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23590
23591 wxPyEndAllowThreads(__tstate);
23592 if (PyErr_Occurred()) SWIG_fail;
23593 }
23594 Py_INCREF(Py_None); resultobj = Py_None;
23595 return resultobj;
23596 fail:
23597 return NULL;
23598 }
23599
23600
23601 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23602 PyObject *resultobj;
23603 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23604 wxString *result;
23605 PyObject * obj0 = 0 ;
23606 char *kwnames[] = {
23607 (char *) "self", NULL
23608 };
23609
23610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
23611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23613 {
23614 PyThreadState* __tstate = wxPyBeginAllowThreads();
23615 {
23616 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23617 result = (wxString *) &_result_ref;
23618 }
23619
23620 wxPyEndAllowThreads(__tstate);
23621 if (PyErr_Occurred()) SWIG_fail;
23622 }
23623 {
23624 #if wxUSE_UNICODE
23625 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23626 #else
23627 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23628 #endif
23629 }
23630 return resultobj;
23631 fail:
23632 return NULL;
23633 }
23634
23635
23636 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23637 PyObject *resultobj;
23638 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23639 wxString *arg2 = 0 ;
23640 bool temp2 = False ;
23641 PyObject * obj0 = 0 ;
23642 PyObject * obj1 = 0 ;
23643 char *kwnames[] = {
23644 (char *) "self",(char *) "label", NULL
23645 };
23646
23647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
23648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23650 {
23651 arg2 = wxString_in_helper(obj1);
23652 if (arg2 == NULL) SWIG_fail;
23653 temp2 = True;
23654 }
23655 {
23656 PyThreadState* __tstate = wxPyBeginAllowThreads();
23657 (arg1)->SetLabel((wxString const &)*arg2);
23658
23659 wxPyEndAllowThreads(__tstate);
23660 if (PyErr_Occurred()) SWIG_fail;
23661 }
23662 Py_INCREF(Py_None); resultobj = Py_None;
23663 {
23664 if (temp2)
23665 delete arg2;
23666 }
23667 return resultobj;
23668 fail:
23669 {
23670 if (temp2)
23671 delete arg2;
23672 }
23673 return NULL;
23674 }
23675
23676
23677 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
23678 PyObject *resultobj;
23679 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23680 bool result;
23681 PyObject * obj0 = 0 ;
23682 char *kwnames[] = {
23683 (char *) "self", NULL
23684 };
23685
23686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23689 {
23690 PyThreadState* __tstate = wxPyBeginAllowThreads();
23691 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23692
23693 wxPyEndAllowThreads(__tstate);
23694 if (PyErr_Occurred()) SWIG_fail;
23695 }
23696 {
23697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23698 }
23699 return resultobj;
23700 fail:
23701 return NULL;
23702 }
23703
23704
23705 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
23706 PyObject *resultobj;
23707 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23708 bool arg2 ;
23709 PyObject * obj0 = 0 ;
23710 PyObject * obj1 = 0 ;
23711 char *kwnames[] = {
23712 (char *) "self",(char *) "editCancelled", NULL
23713 };
23714
23715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23718 arg2 = (bool) SWIG_AsBool(obj1);
23719 if (PyErr_Occurred()) SWIG_fail;
23720 {
23721 PyThreadState* __tstate = wxPyBeginAllowThreads();
23722 (arg1)->SetEditCanceled(arg2);
23723
23724 wxPyEndAllowThreads(__tstate);
23725 if (PyErr_Occurred()) SWIG_fail;
23726 }
23727 Py_INCREF(Py_None); resultobj = Py_None;
23728 return resultobj;
23729 fail:
23730 return NULL;
23731 }
23732
23733
23734 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
23735 PyObject *resultobj;
23736 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23737 wxString *arg2 = 0 ;
23738 bool temp2 = False ;
23739 PyObject * obj0 = 0 ;
23740 PyObject * obj1 = 0 ;
23741 char *kwnames[] = {
23742 (char *) "self",(char *) "toolTip", NULL
23743 };
23744
23745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23748 {
23749 arg2 = wxString_in_helper(obj1);
23750 if (arg2 == NULL) SWIG_fail;
23751 temp2 = True;
23752 }
23753 {
23754 PyThreadState* __tstate = wxPyBeginAllowThreads();
23755 (arg1)->SetToolTip((wxString const &)*arg2);
23756
23757 wxPyEndAllowThreads(__tstate);
23758 if (PyErr_Occurred()) SWIG_fail;
23759 }
23760 Py_INCREF(Py_None); resultobj = Py_None;
23761 {
23762 if (temp2)
23763 delete arg2;
23764 }
23765 return resultobj;
23766 fail:
23767 {
23768 if (temp2)
23769 delete arg2;
23770 }
23771 return NULL;
23772 }
23773
23774
23775 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
23776 PyObject *obj;
23777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23778 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
23779 Py_INCREF(obj);
23780 return Py_BuildValue((char *)"");
23781 }
23782 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23783 PyObject *resultobj;
23784 wxWindow *arg1 = (wxWindow *) 0 ;
23785 int arg2 = (int) -1 ;
23786 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23787 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23788 wxSize const &arg4_defvalue = wxDefaultSize ;
23789 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23790 long arg5 = (long) wxTR_DEFAULT_STYLE ;
23791 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23792 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23793 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
23794 wxString *arg7 = (wxString *) &arg7_defvalue ;
23795 wxPyTreeCtrl *result;
23796 wxPoint temp3 ;
23797 wxSize temp4 ;
23798 bool temp7 = False ;
23799 PyObject * obj0 = 0 ;
23800 PyObject * obj1 = 0 ;
23801 PyObject * obj2 = 0 ;
23802 PyObject * obj3 = 0 ;
23803 PyObject * obj4 = 0 ;
23804 PyObject * obj5 = 0 ;
23805 PyObject * obj6 = 0 ;
23806 char *kwnames[] = {
23807 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23808 };
23809
23810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23813 if (obj1) {
23814 arg2 = (int) SWIG_AsInt(obj1);
23815 if (PyErr_Occurred()) SWIG_fail;
23816 }
23817 if (obj2) {
23818 {
23819 arg3 = &temp3;
23820 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23821 }
23822 }
23823 if (obj3) {
23824 {
23825 arg4 = &temp4;
23826 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23827 }
23828 }
23829 if (obj4) {
23830 arg5 = (long) SWIG_AsLong(obj4);
23831 if (PyErr_Occurred()) SWIG_fail;
23832 }
23833 if (obj5) {
23834 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
23835 SWIG_POINTER_EXCEPTION | 0)) == -1)
23836 SWIG_fail;
23837 if (arg6 == NULL) {
23838 PyErr_SetString(PyExc_TypeError,"null reference");
23839 SWIG_fail;
23840 }
23841 }
23842 if (obj6) {
23843 {
23844 arg7 = wxString_in_helper(obj6);
23845 if (arg7 == NULL) SWIG_fail;
23846 temp7 = True;
23847 }
23848 }
23849 {
23850 PyThreadState* __tstate = wxPyBeginAllowThreads();
23851 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23852
23853 wxPyEndAllowThreads(__tstate);
23854 if (PyErr_Occurred()) SWIG_fail;
23855 }
23856 {
23857 resultobj = wxPyMake_wxObject(result);
23858 }
23859 {
23860 if (temp7)
23861 delete arg7;
23862 }
23863 return resultobj;
23864 fail:
23865 {
23866 if (temp7)
23867 delete arg7;
23868 }
23869 return NULL;
23870 }
23871
23872
23873 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23874 PyObject *resultobj;
23875 wxPyTreeCtrl *result;
23876 char *kwnames[] = {
23877 NULL
23878 };
23879
23880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
23881 {
23882 PyThreadState* __tstate = wxPyBeginAllowThreads();
23883 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
23884
23885 wxPyEndAllowThreads(__tstate);
23886 if (PyErr_Occurred()) SWIG_fail;
23887 }
23888 {
23889 resultobj = wxPyMake_wxObject(result);
23890 }
23891 return resultobj;
23892 fail:
23893 return NULL;
23894 }
23895
23896
23897 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
23898 PyObject *resultobj;
23899 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23900 wxWindow *arg2 = (wxWindow *) 0 ;
23901 int arg3 = (int) -1 ;
23902 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23903 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23904 wxSize const &arg5_defvalue = wxDefaultSize ;
23905 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23906 long arg6 = (long) wxTR_DEFAULT_STYLE ;
23907 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23908 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23909 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
23910 wxString *arg8 = (wxString *) &arg8_defvalue ;
23911 bool result;
23912 wxPoint temp4 ;
23913 wxSize temp5 ;
23914 bool temp8 = False ;
23915 PyObject * obj0 = 0 ;
23916 PyObject * obj1 = 0 ;
23917 PyObject * obj2 = 0 ;
23918 PyObject * obj3 = 0 ;
23919 PyObject * obj4 = 0 ;
23920 PyObject * obj5 = 0 ;
23921 PyObject * obj6 = 0 ;
23922 PyObject * obj7 = 0 ;
23923 char *kwnames[] = {
23924 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23925 };
23926
23927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23930 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23932 if (obj2) {
23933 arg3 = (int) SWIG_AsInt(obj2);
23934 if (PyErr_Occurred()) SWIG_fail;
23935 }
23936 if (obj3) {
23937 {
23938 arg4 = &temp4;
23939 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23940 }
23941 }
23942 if (obj4) {
23943 {
23944 arg5 = &temp5;
23945 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23946 }
23947 }
23948 if (obj5) {
23949 arg6 = (long) SWIG_AsLong(obj5);
23950 if (PyErr_Occurred()) SWIG_fail;
23951 }
23952 if (obj6) {
23953 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
23954 SWIG_POINTER_EXCEPTION | 0)) == -1)
23955 SWIG_fail;
23956 if (arg7 == NULL) {
23957 PyErr_SetString(PyExc_TypeError,"null reference");
23958 SWIG_fail;
23959 }
23960 }
23961 if (obj7) {
23962 {
23963 arg8 = wxString_in_helper(obj7);
23964 if (arg8 == NULL) SWIG_fail;
23965 temp8 = True;
23966 }
23967 }
23968 {
23969 PyThreadState* __tstate = wxPyBeginAllowThreads();
23970 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23971
23972 wxPyEndAllowThreads(__tstate);
23973 if (PyErr_Occurred()) SWIG_fail;
23974 }
23975 {
23976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23977 }
23978 {
23979 if (temp8)
23980 delete arg8;
23981 }
23982 return resultobj;
23983 fail:
23984 {
23985 if (temp8)
23986 delete arg8;
23987 }
23988 return NULL;
23989 }
23990
23991
23992 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23993 PyObject *resultobj;
23994 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23995 PyObject *arg2 = (PyObject *) 0 ;
23996 PyObject *arg3 = (PyObject *) 0 ;
23997 PyObject * obj0 = 0 ;
23998 PyObject * obj1 = 0 ;
23999 PyObject * obj2 = 0 ;
24000 char *kwnames[] = {
24001 (char *) "self",(char *) "self",(char *) "_class", NULL
24002 };
24003
24004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24007 arg2 = obj1;
24008 arg3 = obj2;
24009 {
24010 PyThreadState* __tstate = wxPyBeginAllowThreads();
24011 (arg1)->_setCallbackInfo(arg2,arg3);
24012
24013 wxPyEndAllowThreads(__tstate);
24014 if (PyErr_Occurred()) SWIG_fail;
24015 }
24016 Py_INCREF(Py_None); resultobj = Py_None;
24017 return resultobj;
24018 fail:
24019 return NULL;
24020 }
24021
24022
24023 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
24024 PyObject *resultobj;
24025 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24026 size_t result;
24027 PyObject * obj0 = 0 ;
24028 char *kwnames[] = {
24029 (char *) "self", NULL
24030 };
24031
24032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
24033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24035 {
24036 PyThreadState* __tstate = wxPyBeginAllowThreads();
24037 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
24038
24039 wxPyEndAllowThreads(__tstate);
24040 if (PyErr_Occurred()) SWIG_fail;
24041 }
24042 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24043 return resultobj;
24044 fail:
24045 return NULL;
24046 }
24047
24048
24049 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
24050 PyObject *resultobj;
24051 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24052 unsigned int result;
24053 PyObject * obj0 = 0 ;
24054 char *kwnames[] = {
24055 (char *) "self", NULL
24056 };
24057
24058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
24059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24061 {
24062 PyThreadState* __tstate = wxPyBeginAllowThreads();
24063 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
24064
24065 wxPyEndAllowThreads(__tstate);
24066 if (PyErr_Occurred()) SWIG_fail;
24067 }
24068 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
24069 return resultobj;
24070 fail:
24071 return NULL;
24072 }
24073
24074
24075 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
24076 PyObject *resultobj;
24077 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24078 unsigned int arg2 ;
24079 PyObject * obj0 = 0 ;
24080 PyObject * obj1 = 0 ;
24081 char *kwnames[] = {
24082 (char *) "self",(char *) "indent", NULL
24083 };
24084
24085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
24086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24088 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24089 if (PyErr_Occurred()) SWIG_fail;
24090 {
24091 PyThreadState* __tstate = wxPyBeginAllowThreads();
24092 (arg1)->SetIndent(arg2);
24093
24094 wxPyEndAllowThreads(__tstate);
24095 if (PyErr_Occurred()) SWIG_fail;
24096 }
24097 Py_INCREF(Py_None); resultobj = Py_None;
24098 return resultobj;
24099 fail:
24100 return NULL;
24101 }
24102
24103
24104 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24105 PyObject *resultobj;
24106 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24107 unsigned int result;
24108 PyObject * obj0 = 0 ;
24109 char *kwnames[] = {
24110 (char *) "self", NULL
24111 };
24112
24113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
24114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24116 {
24117 PyThreadState* __tstate = wxPyBeginAllowThreads();
24118 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
24119
24120 wxPyEndAllowThreads(__tstate);
24121 if (PyErr_Occurred()) SWIG_fail;
24122 }
24123 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
24124 return resultobj;
24125 fail:
24126 return NULL;
24127 }
24128
24129
24130 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24131 PyObject *resultobj;
24132 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24133 unsigned int arg2 ;
24134 PyObject * obj0 = 0 ;
24135 PyObject * obj1 = 0 ;
24136 char *kwnames[] = {
24137 (char *) "self",(char *) "spacing", NULL
24138 };
24139
24140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
24141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24143 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24144 if (PyErr_Occurred()) SWIG_fail;
24145 {
24146 PyThreadState* __tstate = wxPyBeginAllowThreads();
24147 (arg1)->SetSpacing(arg2);
24148
24149 wxPyEndAllowThreads(__tstate);
24150 if (PyErr_Occurred()) SWIG_fail;
24151 }
24152 Py_INCREF(Py_None); resultobj = Py_None;
24153 return resultobj;
24154 fail:
24155 return NULL;
24156 }
24157
24158
24159 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
24160 PyObject *resultobj;
24161 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24162 wxImageList *result;
24163 PyObject * obj0 = 0 ;
24164 char *kwnames[] = {
24165 (char *) "self", NULL
24166 };
24167
24168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
24169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24171 {
24172 PyThreadState* __tstate = wxPyBeginAllowThreads();
24173 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
24174
24175 wxPyEndAllowThreads(__tstate);
24176 if (PyErr_Occurred()) SWIG_fail;
24177 }
24178 {
24179 resultobj = wxPyMake_wxObject(result);
24180 }
24181 return resultobj;
24182 fail:
24183 return NULL;
24184 }
24185
24186
24187 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
24188 PyObject *resultobj;
24189 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24190 wxImageList *result;
24191 PyObject * obj0 = 0 ;
24192 char *kwnames[] = {
24193 (char *) "self", NULL
24194 };
24195
24196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
24197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24199 {
24200 PyThreadState* __tstate = wxPyBeginAllowThreads();
24201 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
24202
24203 wxPyEndAllowThreads(__tstate);
24204 if (PyErr_Occurred()) SWIG_fail;
24205 }
24206 {
24207 resultobj = wxPyMake_wxObject(result);
24208 }
24209 return resultobj;
24210 fail:
24211 return NULL;
24212 }
24213
24214
24215 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
24216 PyObject *resultobj;
24217 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24218 wxImageList *arg2 = (wxImageList *) 0 ;
24219 PyObject * obj0 = 0 ;
24220 PyObject * obj1 = 0 ;
24221 char *kwnames[] = {
24222 (char *) "self",(char *) "imageList", NULL
24223 };
24224
24225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
24226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24228 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24230 {
24231 PyThreadState* __tstate = wxPyBeginAllowThreads();
24232 (arg1)->SetImageList(arg2);
24233
24234 wxPyEndAllowThreads(__tstate);
24235 if (PyErr_Occurred()) SWIG_fail;
24236 }
24237 Py_INCREF(Py_None); resultobj = Py_None;
24238 return resultobj;
24239 fail:
24240 return NULL;
24241 }
24242
24243
24244 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
24245 PyObject *resultobj;
24246 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24247 wxImageList *arg2 = (wxImageList *) 0 ;
24248 PyObject * obj0 = 0 ;
24249 PyObject * obj1 = 0 ;
24250 char *kwnames[] = {
24251 (char *) "self",(char *) "imageList", NULL
24252 };
24253
24254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
24255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24257 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24259 {
24260 PyThreadState* __tstate = wxPyBeginAllowThreads();
24261 (arg1)->SetStateImageList(arg2);
24262
24263 wxPyEndAllowThreads(__tstate);
24264 if (PyErr_Occurred()) SWIG_fail;
24265 }
24266 Py_INCREF(Py_None); resultobj = Py_None;
24267 return resultobj;
24268 fail:
24269 return NULL;
24270 }
24271
24272
24273 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
24274 PyObject *resultobj;
24275 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24276 wxImageList *arg2 = (wxImageList *) 0 ;
24277 PyObject * obj0 = 0 ;
24278 PyObject * obj1 = 0 ;
24279 char *kwnames[] = {
24280 (char *) "self",(char *) "imageList", NULL
24281 };
24282
24283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
24284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24286 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24287 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24288 {
24289 PyThreadState* __tstate = wxPyBeginAllowThreads();
24290 (arg1)->AssignImageList(arg2);
24291
24292 wxPyEndAllowThreads(__tstate);
24293 if (PyErr_Occurred()) SWIG_fail;
24294 }
24295 Py_INCREF(Py_None); resultobj = Py_None;
24296 return resultobj;
24297 fail:
24298 return NULL;
24299 }
24300
24301
24302 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
24303 PyObject *resultobj;
24304 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24305 wxImageList *arg2 = (wxImageList *) 0 ;
24306 PyObject * obj0 = 0 ;
24307 PyObject * obj1 = 0 ;
24308 char *kwnames[] = {
24309 (char *) "self",(char *) "imageList", NULL
24310 };
24311
24312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
24313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24316 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24317 {
24318 PyThreadState* __tstate = wxPyBeginAllowThreads();
24319 (arg1)->AssignStateImageList(arg2);
24320
24321 wxPyEndAllowThreads(__tstate);
24322 if (PyErr_Occurred()) SWIG_fail;
24323 }
24324 Py_INCREF(Py_None); resultobj = Py_None;
24325 return resultobj;
24326 fail:
24327 return NULL;
24328 }
24329
24330
24331 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24332 PyObject *resultobj;
24333 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24334 wxTreeItemId *arg2 = 0 ;
24335 wxString result;
24336 PyObject * obj0 = 0 ;
24337 PyObject * obj1 = 0 ;
24338 char *kwnames[] = {
24339 (char *) "self",(char *) "item", NULL
24340 };
24341
24342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24345 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24346 SWIG_POINTER_EXCEPTION | 0)) == -1)
24347 SWIG_fail;
24348 if (arg2 == NULL) {
24349 PyErr_SetString(PyExc_TypeError,"null reference");
24350 SWIG_fail;
24351 }
24352 {
24353 PyThreadState* __tstate = wxPyBeginAllowThreads();
24354 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
24355
24356 wxPyEndAllowThreads(__tstate);
24357 if (PyErr_Occurred()) SWIG_fail;
24358 }
24359 {
24360 #if wxUSE_UNICODE
24361 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24362 #else
24363 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24364 #endif
24365 }
24366 return resultobj;
24367 fail:
24368 return NULL;
24369 }
24370
24371
24372 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24373 PyObject *resultobj;
24374 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24375 wxTreeItemId *arg2 = 0 ;
24376 int arg3 = (int) wxTreeItemIcon_Normal ;
24377 int result;
24378 PyObject * obj0 = 0 ;
24379 PyObject * obj1 = 0 ;
24380 PyObject * obj2 = 0 ;
24381 char *kwnames[] = {
24382 (char *) "self",(char *) "item",(char *) "which", NULL
24383 };
24384
24385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24388 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24389 SWIG_POINTER_EXCEPTION | 0)) == -1)
24390 SWIG_fail;
24391 if (arg2 == NULL) {
24392 PyErr_SetString(PyExc_TypeError,"null reference");
24393 SWIG_fail;
24394 }
24395 if (obj2) {
24396 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
24397 if (PyErr_Occurred()) SWIG_fail;
24398 }
24399 {
24400 PyThreadState* __tstate = wxPyBeginAllowThreads();
24401 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
24402
24403 wxPyEndAllowThreads(__tstate);
24404 if (PyErr_Occurred()) SWIG_fail;
24405 }
24406 resultobj = SWIG_FromInt((int)result);
24407 return resultobj;
24408 fail:
24409 return NULL;
24410 }
24411
24412
24413 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24414 PyObject *resultobj;
24415 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24416 wxTreeItemId *arg2 = 0 ;
24417 wxPyTreeItemData *result;
24418 PyObject * obj0 = 0 ;
24419 PyObject * obj1 = 0 ;
24420 char *kwnames[] = {
24421 (char *) "self",(char *) "item", NULL
24422 };
24423
24424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24427 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24428 SWIG_POINTER_EXCEPTION | 0)) == -1)
24429 SWIG_fail;
24430 if (arg2 == NULL) {
24431 PyErr_SetString(PyExc_TypeError,"null reference");
24432 SWIG_fail;
24433 }
24434 {
24435 PyThreadState* __tstate = wxPyBeginAllowThreads();
24436 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
24437
24438 wxPyEndAllowThreads(__tstate);
24439 if (PyErr_Occurred()) SWIG_fail;
24440 }
24441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
24442 return resultobj;
24443 fail:
24444 return NULL;
24445 }
24446
24447
24448 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
24449 PyObject *resultobj;
24450 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24451 wxTreeItemId *arg2 = 0 ;
24452 PyObject *result;
24453 PyObject * obj0 = 0 ;
24454 PyObject * obj1 = 0 ;
24455 char *kwnames[] = {
24456 (char *) "self",(char *) "item", NULL
24457 };
24458
24459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
24460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24463 SWIG_POINTER_EXCEPTION | 0)) == -1)
24464 SWIG_fail;
24465 if (arg2 == NULL) {
24466 PyErr_SetString(PyExc_TypeError,"null reference");
24467 SWIG_fail;
24468 }
24469 {
24470 PyThreadState* __tstate = wxPyBeginAllowThreads();
24471 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
24472
24473 wxPyEndAllowThreads(__tstate);
24474 if (PyErr_Occurred()) SWIG_fail;
24475 }
24476 resultobj = result;
24477 return resultobj;
24478 fail:
24479 return NULL;
24480 }
24481
24482
24483 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
24484 PyObject *resultobj;
24485 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24486 wxTreeItemId *arg2 = 0 ;
24487 wxColour result;
24488 PyObject * obj0 = 0 ;
24489 PyObject * obj1 = 0 ;
24490 char *kwnames[] = {
24491 (char *) "self",(char *) "item", NULL
24492 };
24493
24494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
24495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24497 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24498 SWIG_POINTER_EXCEPTION | 0)) == -1)
24499 SWIG_fail;
24500 if (arg2 == NULL) {
24501 PyErr_SetString(PyExc_TypeError,"null reference");
24502 SWIG_fail;
24503 }
24504 {
24505 PyThreadState* __tstate = wxPyBeginAllowThreads();
24506 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
24507
24508 wxPyEndAllowThreads(__tstate);
24509 if (PyErr_Occurred()) SWIG_fail;
24510 }
24511 {
24512 wxColour * resultptr;
24513 resultptr = new wxColour((wxColour &) result);
24514 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24515 }
24516 return resultobj;
24517 fail:
24518 return NULL;
24519 }
24520
24521
24522 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24523 PyObject *resultobj;
24524 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24525 wxTreeItemId *arg2 = 0 ;
24526 wxColour result;
24527 PyObject * obj0 = 0 ;
24528 PyObject * obj1 = 0 ;
24529 char *kwnames[] = {
24530 (char *) "self",(char *) "item", NULL
24531 };
24532
24533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24536 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24537 SWIG_POINTER_EXCEPTION | 0)) == -1)
24538 SWIG_fail;
24539 if (arg2 == NULL) {
24540 PyErr_SetString(PyExc_TypeError,"null reference");
24541 SWIG_fail;
24542 }
24543 {
24544 PyThreadState* __tstate = wxPyBeginAllowThreads();
24545 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24546
24547 wxPyEndAllowThreads(__tstate);
24548 if (PyErr_Occurred()) SWIG_fail;
24549 }
24550 {
24551 wxColour * resultptr;
24552 resultptr = new wxColour((wxColour &) result);
24553 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24554 }
24555 return resultobj;
24556 fail:
24557 return NULL;
24558 }
24559
24560
24561 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
24562 PyObject *resultobj;
24563 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24564 wxTreeItemId *arg2 = 0 ;
24565 wxFont result;
24566 PyObject * obj0 = 0 ;
24567 PyObject * obj1 = 0 ;
24568 char *kwnames[] = {
24569 (char *) "self",(char *) "item", NULL
24570 };
24571
24572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
24573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24575 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24576 SWIG_POINTER_EXCEPTION | 0)) == -1)
24577 SWIG_fail;
24578 if (arg2 == NULL) {
24579 PyErr_SetString(PyExc_TypeError,"null reference");
24580 SWIG_fail;
24581 }
24582 {
24583 PyThreadState* __tstate = wxPyBeginAllowThreads();
24584 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24585
24586 wxPyEndAllowThreads(__tstate);
24587 if (PyErr_Occurred()) SWIG_fail;
24588 }
24589 {
24590 wxFont * resultptr;
24591 resultptr = new wxFont((wxFont &) result);
24592 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
24593 }
24594 return resultobj;
24595 fail:
24596 return NULL;
24597 }
24598
24599
24600 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24601 PyObject *resultobj;
24602 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24603 wxTreeItemId *arg2 = 0 ;
24604 wxString *arg3 = 0 ;
24605 bool temp3 = False ;
24606 PyObject * obj0 = 0 ;
24607 PyObject * obj1 = 0 ;
24608 PyObject * obj2 = 0 ;
24609 char *kwnames[] = {
24610 (char *) "self",(char *) "item",(char *) "text", NULL
24611 };
24612
24613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24616 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24617 SWIG_POINTER_EXCEPTION | 0)) == -1)
24618 SWIG_fail;
24619 if (arg2 == NULL) {
24620 PyErr_SetString(PyExc_TypeError,"null reference");
24621 SWIG_fail;
24622 }
24623 {
24624 arg3 = wxString_in_helper(obj2);
24625 if (arg3 == NULL) SWIG_fail;
24626 temp3 = True;
24627 }
24628 {
24629 PyThreadState* __tstate = wxPyBeginAllowThreads();
24630 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24631
24632 wxPyEndAllowThreads(__tstate);
24633 if (PyErr_Occurred()) SWIG_fail;
24634 }
24635 Py_INCREF(Py_None); resultobj = Py_None;
24636 {
24637 if (temp3)
24638 delete arg3;
24639 }
24640 return resultobj;
24641 fail:
24642 {
24643 if (temp3)
24644 delete arg3;
24645 }
24646 return NULL;
24647 }
24648
24649
24650 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24651 PyObject *resultobj;
24652 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24653 wxTreeItemId *arg2 = 0 ;
24654 int arg3 ;
24655 int arg4 = (int) wxTreeItemIcon_Normal ;
24656 PyObject * obj0 = 0 ;
24657 PyObject * obj1 = 0 ;
24658 PyObject * obj2 = 0 ;
24659 PyObject * obj3 = 0 ;
24660 char *kwnames[] = {
24661 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24662 };
24663
24664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24667 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24668 SWIG_POINTER_EXCEPTION | 0)) == -1)
24669 SWIG_fail;
24670 if (arg2 == NULL) {
24671 PyErr_SetString(PyExc_TypeError,"null reference");
24672 SWIG_fail;
24673 }
24674 arg3 = (int) SWIG_AsInt(obj2);
24675 if (PyErr_Occurred()) SWIG_fail;
24676 if (obj3) {
24677 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
24678 if (PyErr_Occurred()) SWIG_fail;
24679 }
24680 {
24681 PyThreadState* __tstate = wxPyBeginAllowThreads();
24682 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
24683
24684 wxPyEndAllowThreads(__tstate);
24685 if (PyErr_Occurred()) SWIG_fail;
24686 }
24687 Py_INCREF(Py_None); resultobj = Py_None;
24688 return resultobj;
24689 fail:
24690 return NULL;
24691 }
24692
24693
24694 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24695 PyObject *resultobj;
24696 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24697 wxTreeItemId *arg2 = 0 ;
24698 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
24699 PyObject * obj0 = 0 ;
24700 PyObject * obj1 = 0 ;
24701 PyObject * obj2 = 0 ;
24702 char *kwnames[] = {
24703 (char *) "self",(char *) "item",(char *) "data", NULL
24704 };
24705
24706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24709 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24710 SWIG_POINTER_EXCEPTION | 0)) == -1)
24711 SWIG_fail;
24712 if (arg2 == NULL) {
24713 PyErr_SetString(PyExc_TypeError,"null reference");
24714 SWIG_fail;
24715 }
24716 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
24717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24718 {
24719 PyThreadState* __tstate = wxPyBeginAllowThreads();
24720 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
24721
24722 wxPyEndAllowThreads(__tstate);
24723 if (PyErr_Occurred()) SWIG_fail;
24724 }
24725 Py_INCREF(Py_None); resultobj = Py_None;
24726 return resultobj;
24727 fail:
24728 return NULL;
24729 }
24730
24731
24732 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
24733 PyObject *resultobj;
24734 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24735 wxTreeItemId *arg2 = 0 ;
24736 PyObject *arg3 = (PyObject *) 0 ;
24737 PyObject * obj0 = 0 ;
24738 PyObject * obj1 = 0 ;
24739 PyObject * obj2 = 0 ;
24740 char *kwnames[] = {
24741 (char *) "self",(char *) "item",(char *) "obj", NULL
24742 };
24743
24744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24747 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24748 SWIG_POINTER_EXCEPTION | 0)) == -1)
24749 SWIG_fail;
24750 if (arg2 == NULL) {
24751 PyErr_SetString(PyExc_TypeError,"null reference");
24752 SWIG_fail;
24753 }
24754 arg3 = obj2;
24755 {
24756 PyThreadState* __tstate = wxPyBeginAllowThreads();
24757 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
24758
24759 wxPyEndAllowThreads(__tstate);
24760 if (PyErr_Occurred()) SWIG_fail;
24761 }
24762 Py_INCREF(Py_None); resultobj = Py_None;
24763 return resultobj;
24764 fail:
24765 return NULL;
24766 }
24767
24768
24769 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
24770 PyObject *resultobj;
24771 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24772 wxTreeItemId *arg2 = 0 ;
24773 bool arg3 = (bool) True ;
24774 PyObject * obj0 = 0 ;
24775 PyObject * obj1 = 0 ;
24776 PyObject * obj2 = 0 ;
24777 char *kwnames[] = {
24778 (char *) "self",(char *) "item",(char *) "has", NULL
24779 };
24780
24781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
24782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24784 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24785 SWIG_POINTER_EXCEPTION | 0)) == -1)
24786 SWIG_fail;
24787 if (arg2 == NULL) {
24788 PyErr_SetString(PyExc_TypeError,"null reference");
24789 SWIG_fail;
24790 }
24791 if (obj2) {
24792 arg3 = (bool) SWIG_AsBool(obj2);
24793 if (PyErr_Occurred()) SWIG_fail;
24794 }
24795 {
24796 PyThreadState* __tstate = wxPyBeginAllowThreads();
24797 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
24798
24799 wxPyEndAllowThreads(__tstate);
24800 if (PyErr_Occurred()) SWIG_fail;
24801 }
24802 Py_INCREF(Py_None); resultobj = Py_None;
24803 return resultobj;
24804 fail:
24805 return NULL;
24806 }
24807
24808
24809 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
24810 PyObject *resultobj;
24811 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24812 wxTreeItemId *arg2 = 0 ;
24813 bool arg3 = (bool) True ;
24814 PyObject * obj0 = 0 ;
24815 PyObject * obj1 = 0 ;
24816 PyObject * obj2 = 0 ;
24817 char *kwnames[] = {
24818 (char *) "self",(char *) "item",(char *) "bold", NULL
24819 };
24820
24821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
24822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24824 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24825 SWIG_POINTER_EXCEPTION | 0)) == -1)
24826 SWIG_fail;
24827 if (arg2 == NULL) {
24828 PyErr_SetString(PyExc_TypeError,"null reference");
24829 SWIG_fail;
24830 }
24831 if (obj2) {
24832 arg3 = (bool) SWIG_AsBool(obj2);
24833 if (PyErr_Occurred()) SWIG_fail;
24834 }
24835 {
24836 PyThreadState* __tstate = wxPyBeginAllowThreads();
24837 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
24838
24839 wxPyEndAllowThreads(__tstate);
24840 if (PyErr_Occurred()) SWIG_fail;
24841 }
24842 Py_INCREF(Py_None); resultobj = Py_None;
24843 return resultobj;
24844 fail:
24845 return NULL;
24846 }
24847
24848
24849 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
24850 PyObject *resultobj;
24851 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24852 wxTreeItemId *arg2 = 0 ;
24853 wxColour *arg3 = 0 ;
24854 wxColour temp3 ;
24855 PyObject * obj0 = 0 ;
24856 PyObject * obj1 = 0 ;
24857 PyObject * obj2 = 0 ;
24858 char *kwnames[] = {
24859 (char *) "self",(char *) "item",(char *) "col", NULL
24860 };
24861
24862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24865 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24866 SWIG_POINTER_EXCEPTION | 0)) == -1)
24867 SWIG_fail;
24868 if (arg2 == NULL) {
24869 PyErr_SetString(PyExc_TypeError,"null reference");
24870 SWIG_fail;
24871 }
24872 {
24873 arg3 = &temp3;
24874 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24875 }
24876 {
24877 PyThreadState* __tstate = wxPyBeginAllowThreads();
24878 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24879
24880 wxPyEndAllowThreads(__tstate);
24881 if (PyErr_Occurred()) SWIG_fail;
24882 }
24883 Py_INCREF(Py_None); resultobj = Py_None;
24884 return resultobj;
24885 fail:
24886 return NULL;
24887 }
24888
24889
24890 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24891 PyObject *resultobj;
24892 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24893 wxTreeItemId *arg2 = 0 ;
24894 wxColour *arg3 = 0 ;
24895 wxColour temp3 ;
24896 PyObject * obj0 = 0 ;
24897 PyObject * obj1 = 0 ;
24898 PyObject * obj2 = 0 ;
24899 char *kwnames[] = {
24900 (char *) "self",(char *) "item",(char *) "col", NULL
24901 };
24902
24903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24906 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24907 SWIG_POINTER_EXCEPTION | 0)) == -1)
24908 SWIG_fail;
24909 if (arg2 == NULL) {
24910 PyErr_SetString(PyExc_TypeError,"null reference");
24911 SWIG_fail;
24912 }
24913 {
24914 arg3 = &temp3;
24915 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24916 }
24917 {
24918 PyThreadState* __tstate = wxPyBeginAllowThreads();
24919 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24920
24921 wxPyEndAllowThreads(__tstate);
24922 if (PyErr_Occurred()) SWIG_fail;
24923 }
24924 Py_INCREF(Py_None); resultobj = Py_None;
24925 return resultobj;
24926 fail:
24927 return NULL;
24928 }
24929
24930
24931 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
24932 PyObject *resultobj;
24933 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24934 wxTreeItemId *arg2 = 0 ;
24935 wxFont *arg3 = 0 ;
24936 PyObject * obj0 = 0 ;
24937 PyObject * obj1 = 0 ;
24938 PyObject * obj2 = 0 ;
24939 char *kwnames[] = {
24940 (char *) "self",(char *) "item",(char *) "font", NULL
24941 };
24942
24943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
24944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24946 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24947 SWIG_POINTER_EXCEPTION | 0)) == -1)
24948 SWIG_fail;
24949 if (arg2 == NULL) {
24950 PyErr_SetString(PyExc_TypeError,"null reference");
24951 SWIG_fail;
24952 }
24953 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
24954 SWIG_POINTER_EXCEPTION | 0)) == -1)
24955 SWIG_fail;
24956 if (arg3 == NULL) {
24957 PyErr_SetString(PyExc_TypeError,"null reference");
24958 SWIG_fail;
24959 }
24960 {
24961 PyThreadState* __tstate = wxPyBeginAllowThreads();
24962 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
24963
24964 wxPyEndAllowThreads(__tstate);
24965 if (PyErr_Occurred()) SWIG_fail;
24966 }
24967 Py_INCREF(Py_None); resultobj = Py_None;
24968 return resultobj;
24969 fail:
24970 return NULL;
24971 }
24972
24973
24974 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
24975 PyObject *resultobj;
24976 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24977 wxTreeItemId *arg2 = 0 ;
24978 bool result;
24979 PyObject * obj0 = 0 ;
24980 PyObject * obj1 = 0 ;
24981 char *kwnames[] = {
24982 (char *) "self",(char *) "item", NULL
24983 };
24984
24985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
24986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24988 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24989 SWIG_POINTER_EXCEPTION | 0)) == -1)
24990 SWIG_fail;
24991 if (arg2 == NULL) {
24992 PyErr_SetString(PyExc_TypeError,"null reference");
24993 SWIG_fail;
24994 }
24995 {
24996 PyThreadState* __tstate = wxPyBeginAllowThreads();
24997 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
24998
24999 wxPyEndAllowThreads(__tstate);
25000 if (PyErr_Occurred()) SWIG_fail;
25001 }
25002 {
25003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25004 }
25005 return resultobj;
25006 fail:
25007 return NULL;
25008 }
25009
25010
25011 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
25012 PyObject *resultobj;
25013 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25014 wxTreeItemId *arg2 = 0 ;
25015 bool result;
25016 PyObject * obj0 = 0 ;
25017 PyObject * obj1 = 0 ;
25018 char *kwnames[] = {
25019 (char *) "self",(char *) "item", NULL
25020 };
25021
25022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
25023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25025 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25026 SWIG_POINTER_EXCEPTION | 0)) == -1)
25027 SWIG_fail;
25028 if (arg2 == NULL) {
25029 PyErr_SetString(PyExc_TypeError,"null reference");
25030 SWIG_fail;
25031 }
25032 {
25033 PyThreadState* __tstate = wxPyBeginAllowThreads();
25034 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
25035
25036 wxPyEndAllowThreads(__tstate);
25037 if (PyErr_Occurred()) SWIG_fail;
25038 }
25039 {
25040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25041 }
25042 return resultobj;
25043 fail:
25044 return NULL;
25045 }
25046
25047
25048 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
25049 PyObject *resultobj;
25050 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25051 wxTreeItemId *arg2 = 0 ;
25052 bool result;
25053 PyObject * obj0 = 0 ;
25054 PyObject * obj1 = 0 ;
25055 char *kwnames[] = {
25056 (char *) "self",(char *) "item", NULL
25057 };
25058
25059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
25060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25063 SWIG_POINTER_EXCEPTION | 0)) == -1)
25064 SWIG_fail;
25065 if (arg2 == NULL) {
25066 PyErr_SetString(PyExc_TypeError,"null reference");
25067 SWIG_fail;
25068 }
25069 {
25070 PyThreadState* __tstate = wxPyBeginAllowThreads();
25071 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
25072
25073 wxPyEndAllowThreads(__tstate);
25074 if (PyErr_Occurred()) SWIG_fail;
25075 }
25076 {
25077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25078 }
25079 return resultobj;
25080 fail:
25081 return NULL;
25082 }
25083
25084
25085 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
25086 PyObject *resultobj;
25087 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25088 wxTreeItemId *arg2 = 0 ;
25089 bool result;
25090 PyObject * obj0 = 0 ;
25091 PyObject * obj1 = 0 ;
25092 char *kwnames[] = {
25093 (char *) "self",(char *) "item", NULL
25094 };
25095
25096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
25097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25099 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25100 SWIG_POINTER_EXCEPTION | 0)) == -1)
25101 SWIG_fail;
25102 if (arg2 == NULL) {
25103 PyErr_SetString(PyExc_TypeError,"null reference");
25104 SWIG_fail;
25105 }
25106 {
25107 PyThreadState* __tstate = wxPyBeginAllowThreads();
25108 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
25109
25110 wxPyEndAllowThreads(__tstate);
25111 if (PyErr_Occurred()) SWIG_fail;
25112 }
25113 {
25114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25115 }
25116 return resultobj;
25117 fail:
25118 return NULL;
25119 }
25120
25121
25122 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
25123 PyObject *resultobj;
25124 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25125 wxTreeItemId *arg2 = 0 ;
25126 bool result;
25127 PyObject * obj0 = 0 ;
25128 PyObject * obj1 = 0 ;
25129 char *kwnames[] = {
25130 (char *) "self",(char *) "item", NULL
25131 };
25132
25133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
25134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25136 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25137 SWIG_POINTER_EXCEPTION | 0)) == -1)
25138 SWIG_fail;
25139 if (arg2 == NULL) {
25140 PyErr_SetString(PyExc_TypeError,"null reference");
25141 SWIG_fail;
25142 }
25143 {
25144 PyThreadState* __tstate = wxPyBeginAllowThreads();
25145 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
25146
25147 wxPyEndAllowThreads(__tstate);
25148 if (PyErr_Occurred()) SWIG_fail;
25149 }
25150 {
25151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25152 }
25153 return resultobj;
25154 fail:
25155 return NULL;
25156 }
25157
25158
25159 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
25160 PyObject *resultobj;
25161 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25162 wxTreeItemId *arg2 = 0 ;
25163 bool arg3 = (bool) True ;
25164 size_t result;
25165 PyObject * obj0 = 0 ;
25166 PyObject * obj1 = 0 ;
25167 PyObject * obj2 = 0 ;
25168 char *kwnames[] = {
25169 (char *) "self",(char *) "item",(char *) "recursively", NULL
25170 };
25171
25172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
25173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25175 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25176 SWIG_POINTER_EXCEPTION | 0)) == -1)
25177 SWIG_fail;
25178 if (arg2 == NULL) {
25179 PyErr_SetString(PyExc_TypeError,"null reference");
25180 SWIG_fail;
25181 }
25182 if (obj2) {
25183 arg3 = (bool) SWIG_AsBool(obj2);
25184 if (PyErr_Occurred()) SWIG_fail;
25185 }
25186 {
25187 PyThreadState* __tstate = wxPyBeginAllowThreads();
25188 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
25189
25190 wxPyEndAllowThreads(__tstate);
25191 if (PyErr_Occurred()) SWIG_fail;
25192 }
25193 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25194 return resultobj;
25195 fail:
25196 return NULL;
25197 }
25198
25199
25200 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
25201 PyObject *resultobj;
25202 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25203 wxTreeItemId result;
25204 PyObject * obj0 = 0 ;
25205 char *kwnames[] = {
25206 (char *) "self", NULL
25207 };
25208
25209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
25210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25212 {
25213 PyThreadState* __tstate = wxPyBeginAllowThreads();
25214 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
25215
25216 wxPyEndAllowThreads(__tstate);
25217 if (PyErr_Occurred()) SWIG_fail;
25218 }
25219 {
25220 wxTreeItemId * resultptr;
25221 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25222 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25223 }
25224 return resultobj;
25225 fail:
25226 return NULL;
25227 }
25228
25229
25230 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
25231 PyObject *resultobj;
25232 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25233 wxTreeItemId result;
25234 PyObject * obj0 = 0 ;
25235 char *kwnames[] = {
25236 (char *) "self", NULL
25237 };
25238
25239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
25240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25242 {
25243 PyThreadState* __tstate = wxPyBeginAllowThreads();
25244 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
25245
25246 wxPyEndAllowThreads(__tstate);
25247 if (PyErr_Occurred()) SWIG_fail;
25248 }
25249 {
25250 wxTreeItemId * resultptr;
25251 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25252 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25253 }
25254 return resultobj;
25255 fail:
25256 return NULL;
25257 }
25258
25259
25260 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
25261 PyObject *resultobj;
25262 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25263 PyObject *result;
25264 PyObject * obj0 = 0 ;
25265 char *kwnames[] = {
25266 (char *) "self", NULL
25267 };
25268
25269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
25270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25272 {
25273 PyThreadState* __tstate = wxPyBeginAllowThreads();
25274 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
25275
25276 wxPyEndAllowThreads(__tstate);
25277 if (PyErr_Occurred()) SWIG_fail;
25278 }
25279 resultobj = result;
25280 return resultobj;
25281 fail:
25282 return NULL;
25283 }
25284
25285
25286 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
25287 PyObject *resultobj;
25288 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25289 wxTreeItemId *arg2 = 0 ;
25290 wxTreeItemId result;
25291 PyObject * obj0 = 0 ;
25292 PyObject * obj1 = 0 ;
25293 char *kwnames[] = {
25294 (char *) "self",(char *) "item", NULL
25295 };
25296
25297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
25298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25300 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25301 SWIG_POINTER_EXCEPTION | 0)) == -1)
25302 SWIG_fail;
25303 if (arg2 == NULL) {
25304 PyErr_SetString(PyExc_TypeError,"null reference");
25305 SWIG_fail;
25306 }
25307 {
25308 PyThreadState* __tstate = wxPyBeginAllowThreads();
25309 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
25310
25311 wxPyEndAllowThreads(__tstate);
25312 if (PyErr_Occurred()) SWIG_fail;
25313 }
25314 {
25315 wxTreeItemId * resultptr;
25316 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25317 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25318 }
25319 return resultobj;
25320 fail:
25321 return NULL;
25322 }
25323
25324
25325 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
25326 PyObject *resultobj;
25327 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25328 wxTreeItemId *arg2 = 0 ;
25329 PyObject *result;
25330 PyObject * obj0 = 0 ;
25331 PyObject * obj1 = 0 ;
25332 char *kwnames[] = {
25333 (char *) "self",(char *) "item", NULL
25334 };
25335
25336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
25337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25339 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25340 SWIG_POINTER_EXCEPTION | 0)) == -1)
25341 SWIG_fail;
25342 if (arg2 == NULL) {
25343 PyErr_SetString(PyExc_TypeError,"null reference");
25344 SWIG_fail;
25345 }
25346 {
25347 PyThreadState* __tstate = wxPyBeginAllowThreads();
25348 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
25349
25350 wxPyEndAllowThreads(__tstate);
25351 if (PyErr_Occurred()) SWIG_fail;
25352 }
25353 resultobj = result;
25354 return resultobj;
25355 fail:
25356 return NULL;
25357 }
25358
25359
25360 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
25361 PyObject *resultobj;
25362 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25363 wxTreeItemId *arg2 = 0 ;
25364 void *arg3 = (void *) 0 ;
25365 PyObject *result;
25366 PyObject * obj0 = 0 ;
25367 PyObject * obj1 = 0 ;
25368 PyObject * obj2 = 0 ;
25369 char *kwnames[] = {
25370 (char *) "self",(char *) "item",(char *) "cookie", NULL
25371 };
25372
25373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
25374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25376 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25377 SWIG_POINTER_EXCEPTION | 0)) == -1)
25378 SWIG_fail;
25379 if (arg2 == NULL) {
25380 PyErr_SetString(PyExc_TypeError,"null reference");
25381 SWIG_fail;
25382 }
25383 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25384 {
25385 PyThreadState* __tstate = wxPyBeginAllowThreads();
25386 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
25387
25388 wxPyEndAllowThreads(__tstate);
25389 if (PyErr_Occurred()) SWIG_fail;
25390 }
25391 resultobj = result;
25392 return resultobj;
25393 fail:
25394 return NULL;
25395 }
25396
25397
25398 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
25399 PyObject *resultobj;
25400 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25401 wxTreeItemId *arg2 = 0 ;
25402 wxTreeItemId result;
25403 PyObject * obj0 = 0 ;
25404 PyObject * obj1 = 0 ;
25405 char *kwnames[] = {
25406 (char *) "self",(char *) "item", NULL
25407 };
25408
25409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
25410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25412 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25413 SWIG_POINTER_EXCEPTION | 0)) == -1)
25414 SWIG_fail;
25415 if (arg2 == NULL) {
25416 PyErr_SetString(PyExc_TypeError,"null reference");
25417 SWIG_fail;
25418 }
25419 {
25420 PyThreadState* __tstate = wxPyBeginAllowThreads();
25421 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
25422
25423 wxPyEndAllowThreads(__tstate);
25424 if (PyErr_Occurred()) SWIG_fail;
25425 }
25426 {
25427 wxTreeItemId * resultptr;
25428 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25429 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25430 }
25431 return resultobj;
25432 fail:
25433 return NULL;
25434 }
25435
25436
25437 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
25438 PyObject *resultobj;
25439 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25440 wxTreeItemId *arg2 = 0 ;
25441 wxTreeItemId result;
25442 PyObject * obj0 = 0 ;
25443 PyObject * obj1 = 0 ;
25444 char *kwnames[] = {
25445 (char *) "self",(char *) "item", NULL
25446 };
25447
25448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
25449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25451 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25452 SWIG_POINTER_EXCEPTION | 0)) == -1)
25453 SWIG_fail;
25454 if (arg2 == NULL) {
25455 PyErr_SetString(PyExc_TypeError,"null reference");
25456 SWIG_fail;
25457 }
25458 {
25459 PyThreadState* __tstate = wxPyBeginAllowThreads();
25460 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
25461
25462 wxPyEndAllowThreads(__tstate);
25463 if (PyErr_Occurred()) SWIG_fail;
25464 }
25465 {
25466 wxTreeItemId * resultptr;
25467 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25468 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25469 }
25470 return resultobj;
25471 fail:
25472 return NULL;
25473 }
25474
25475
25476 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
25477 PyObject *resultobj;
25478 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25479 wxTreeItemId *arg2 = 0 ;
25480 wxTreeItemId result;
25481 PyObject * obj0 = 0 ;
25482 PyObject * obj1 = 0 ;
25483 char *kwnames[] = {
25484 (char *) "self",(char *) "item", NULL
25485 };
25486
25487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
25488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25490 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25491 SWIG_POINTER_EXCEPTION | 0)) == -1)
25492 SWIG_fail;
25493 if (arg2 == NULL) {
25494 PyErr_SetString(PyExc_TypeError,"null reference");
25495 SWIG_fail;
25496 }
25497 {
25498 PyThreadState* __tstate = wxPyBeginAllowThreads();
25499 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
25500
25501 wxPyEndAllowThreads(__tstate);
25502 if (PyErr_Occurred()) SWIG_fail;
25503 }
25504 {
25505 wxTreeItemId * resultptr;
25506 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25507 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25508 }
25509 return resultobj;
25510 fail:
25511 return NULL;
25512 }
25513
25514
25515 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
25516 PyObject *resultobj;
25517 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25518 wxTreeItemId result;
25519 PyObject * obj0 = 0 ;
25520 char *kwnames[] = {
25521 (char *) "self", NULL
25522 };
25523
25524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
25525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25527 {
25528 PyThreadState* __tstate = wxPyBeginAllowThreads();
25529 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
25530
25531 wxPyEndAllowThreads(__tstate);
25532 if (PyErr_Occurred()) SWIG_fail;
25533 }
25534 {
25535 wxTreeItemId * resultptr;
25536 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25537 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25538 }
25539 return resultobj;
25540 fail:
25541 return NULL;
25542 }
25543
25544
25545 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25546 PyObject *resultobj;
25547 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25548 wxTreeItemId *arg2 = 0 ;
25549 wxTreeItemId result;
25550 PyObject * obj0 = 0 ;
25551 PyObject * obj1 = 0 ;
25552 char *kwnames[] = {
25553 (char *) "self",(char *) "item", NULL
25554 };
25555
25556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
25557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25559 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25560 SWIG_POINTER_EXCEPTION | 0)) == -1)
25561 SWIG_fail;
25562 if (arg2 == NULL) {
25563 PyErr_SetString(PyExc_TypeError,"null reference");
25564 SWIG_fail;
25565 }
25566 {
25567 PyThreadState* __tstate = wxPyBeginAllowThreads();
25568 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
25569
25570 wxPyEndAllowThreads(__tstate);
25571 if (PyErr_Occurred()) SWIG_fail;
25572 }
25573 {
25574 wxTreeItemId * resultptr;
25575 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25576 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25577 }
25578 return resultobj;
25579 fail:
25580 return NULL;
25581 }
25582
25583
25584 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25585 PyObject *resultobj;
25586 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25587 wxTreeItemId *arg2 = 0 ;
25588 wxTreeItemId result;
25589 PyObject * obj0 = 0 ;
25590 PyObject * obj1 = 0 ;
25591 char *kwnames[] = {
25592 (char *) "self",(char *) "item", NULL
25593 };
25594
25595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
25596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25598 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25599 SWIG_POINTER_EXCEPTION | 0)) == -1)
25600 SWIG_fail;
25601 if (arg2 == NULL) {
25602 PyErr_SetString(PyExc_TypeError,"null reference");
25603 SWIG_fail;
25604 }
25605 {
25606 PyThreadState* __tstate = wxPyBeginAllowThreads();
25607 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
25608
25609 wxPyEndAllowThreads(__tstate);
25610 if (PyErr_Occurred()) SWIG_fail;
25611 }
25612 {
25613 wxTreeItemId * resultptr;
25614 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25615 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25616 }
25617 return resultobj;
25618 fail:
25619 return NULL;
25620 }
25621
25622
25623 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
25624 PyObject *resultobj;
25625 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25626 wxString *arg2 = 0 ;
25627 int arg3 = (int) -1 ;
25628 int arg4 = (int) -1 ;
25629 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
25630 wxTreeItemId result;
25631 bool temp2 = False ;
25632 PyObject * obj0 = 0 ;
25633 PyObject * obj1 = 0 ;
25634 PyObject * obj2 = 0 ;
25635 PyObject * obj3 = 0 ;
25636 PyObject * obj4 = 0 ;
25637 char *kwnames[] = {
25638 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25639 };
25640
25641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25644 {
25645 arg2 = wxString_in_helper(obj1);
25646 if (arg2 == NULL) SWIG_fail;
25647 temp2 = True;
25648 }
25649 if (obj2) {
25650 arg3 = (int) SWIG_AsInt(obj2);
25651 if (PyErr_Occurred()) SWIG_fail;
25652 }
25653 if (obj3) {
25654 arg4 = (int) SWIG_AsInt(obj3);
25655 if (PyErr_Occurred()) SWIG_fail;
25656 }
25657 if (obj4) {
25658 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
25659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25660 }
25661 {
25662 PyThreadState* __tstate = wxPyBeginAllowThreads();
25663 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
25664
25665 wxPyEndAllowThreads(__tstate);
25666 if (PyErr_Occurred()) SWIG_fail;
25667 }
25668 {
25669 wxTreeItemId * resultptr;
25670 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25671 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25672 }
25673 {
25674 if (temp2)
25675 delete arg2;
25676 }
25677 return resultobj;
25678 fail:
25679 {
25680 if (temp2)
25681 delete arg2;
25682 }
25683 return NULL;
25684 }
25685
25686
25687 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
25688 PyObject *resultobj;
25689 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25690 wxTreeItemId *arg2 = 0 ;
25691 wxString *arg3 = 0 ;
25692 int arg4 = (int) -1 ;
25693 int arg5 = (int) -1 ;
25694 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25695 wxTreeItemId result;
25696 bool temp3 = False ;
25697 PyObject * obj0 = 0 ;
25698 PyObject * obj1 = 0 ;
25699 PyObject * obj2 = 0 ;
25700 PyObject * obj3 = 0 ;
25701 PyObject * obj4 = 0 ;
25702 PyObject * obj5 = 0 ;
25703 char *kwnames[] = {
25704 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25705 };
25706
25707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25710 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25711 SWIG_POINTER_EXCEPTION | 0)) == -1)
25712 SWIG_fail;
25713 if (arg2 == NULL) {
25714 PyErr_SetString(PyExc_TypeError,"null reference");
25715 SWIG_fail;
25716 }
25717 {
25718 arg3 = wxString_in_helper(obj2);
25719 if (arg3 == NULL) SWIG_fail;
25720 temp3 = True;
25721 }
25722 if (obj3) {
25723 arg4 = (int) SWIG_AsInt(obj3);
25724 if (PyErr_Occurred()) SWIG_fail;
25725 }
25726 if (obj4) {
25727 arg5 = (int) SWIG_AsInt(obj4);
25728 if (PyErr_Occurred()) SWIG_fail;
25729 }
25730 if (obj5) {
25731 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
25732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25733 }
25734 {
25735 PyThreadState* __tstate = wxPyBeginAllowThreads();
25736 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25737
25738 wxPyEndAllowThreads(__tstate);
25739 if (PyErr_Occurred()) SWIG_fail;
25740 }
25741 {
25742 wxTreeItemId * resultptr;
25743 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25744 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25745 }
25746 {
25747 if (temp3)
25748 delete arg3;
25749 }
25750 return resultobj;
25751 fail:
25752 {
25753 if (temp3)
25754 delete arg3;
25755 }
25756 return NULL;
25757 }
25758
25759
25760 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
25761 PyObject *resultobj;
25762 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25763 wxTreeItemId *arg2 = 0 ;
25764 wxTreeItemId *arg3 = 0 ;
25765 wxString *arg4 = 0 ;
25766 int arg5 = (int) -1 ;
25767 int arg6 = (int) -1 ;
25768 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25769 wxTreeItemId result;
25770 bool temp4 = False ;
25771 PyObject * obj0 = 0 ;
25772 PyObject * obj1 = 0 ;
25773 PyObject * obj2 = 0 ;
25774 PyObject * obj3 = 0 ;
25775 PyObject * obj4 = 0 ;
25776 PyObject * obj5 = 0 ;
25777 PyObject * obj6 = 0 ;
25778 char *kwnames[] = {
25779 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25780 };
25781
25782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25785 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25786 SWIG_POINTER_EXCEPTION | 0)) == -1)
25787 SWIG_fail;
25788 if (arg2 == NULL) {
25789 PyErr_SetString(PyExc_TypeError,"null reference");
25790 SWIG_fail;
25791 }
25792 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
25793 SWIG_POINTER_EXCEPTION | 0)) == -1)
25794 SWIG_fail;
25795 if (arg3 == NULL) {
25796 PyErr_SetString(PyExc_TypeError,"null reference");
25797 SWIG_fail;
25798 }
25799 {
25800 arg4 = wxString_in_helper(obj3);
25801 if (arg4 == NULL) SWIG_fail;
25802 temp4 = True;
25803 }
25804 if (obj4) {
25805 arg5 = (int) SWIG_AsInt(obj4);
25806 if (PyErr_Occurred()) SWIG_fail;
25807 }
25808 if (obj5) {
25809 arg6 = (int) SWIG_AsInt(obj5);
25810 if (PyErr_Occurred()) SWIG_fail;
25811 }
25812 if (obj6) {
25813 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
25814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25815 }
25816 {
25817 PyThreadState* __tstate = wxPyBeginAllowThreads();
25818 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25819
25820 wxPyEndAllowThreads(__tstate);
25821 if (PyErr_Occurred()) SWIG_fail;
25822 }
25823 {
25824 wxTreeItemId * resultptr;
25825 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25826 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25827 }
25828 {
25829 if (temp4)
25830 delete arg4;
25831 }
25832 return resultobj;
25833 fail:
25834 {
25835 if (temp4)
25836 delete arg4;
25837 }
25838 return NULL;
25839 }
25840
25841
25842 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
25843 PyObject *resultobj;
25844 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25845 wxTreeItemId *arg2 = 0 ;
25846 size_t arg3 ;
25847 wxString *arg4 = 0 ;
25848 int arg5 = (int) -1 ;
25849 int arg6 = (int) -1 ;
25850 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25851 wxTreeItemId result;
25852 bool temp4 = False ;
25853 PyObject * obj0 = 0 ;
25854 PyObject * obj1 = 0 ;
25855 PyObject * obj2 = 0 ;
25856 PyObject * obj3 = 0 ;
25857 PyObject * obj4 = 0 ;
25858 PyObject * obj5 = 0 ;
25859 PyObject * obj6 = 0 ;
25860 char *kwnames[] = {
25861 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25862 };
25863
25864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25867 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25868 SWIG_POINTER_EXCEPTION | 0)) == -1)
25869 SWIG_fail;
25870 if (arg2 == NULL) {
25871 PyErr_SetString(PyExc_TypeError,"null reference");
25872 SWIG_fail;
25873 }
25874 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
25875 if (PyErr_Occurred()) SWIG_fail;
25876 {
25877 arg4 = wxString_in_helper(obj3);
25878 if (arg4 == NULL) SWIG_fail;
25879 temp4 = True;
25880 }
25881 if (obj4) {
25882 arg5 = (int) SWIG_AsInt(obj4);
25883 if (PyErr_Occurred()) SWIG_fail;
25884 }
25885 if (obj5) {
25886 arg6 = (int) SWIG_AsInt(obj5);
25887 if (PyErr_Occurred()) SWIG_fail;
25888 }
25889 if (obj6) {
25890 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
25891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25892 }
25893 {
25894 PyThreadState* __tstate = wxPyBeginAllowThreads();
25895 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25896
25897 wxPyEndAllowThreads(__tstate);
25898 if (PyErr_Occurred()) SWIG_fail;
25899 }
25900 {
25901 wxTreeItemId * resultptr;
25902 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25903 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25904 }
25905 {
25906 if (temp4)
25907 delete arg4;
25908 }
25909 return resultobj;
25910 fail:
25911 {
25912 if (temp4)
25913 delete arg4;
25914 }
25915 return NULL;
25916 }
25917
25918
25919 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
25920 PyObject *resultobj;
25921 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25922 wxTreeItemId *arg2 = 0 ;
25923 wxString *arg3 = 0 ;
25924 int arg4 = (int) -1 ;
25925 int arg5 = (int) -1 ;
25926 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25927 wxTreeItemId result;
25928 bool temp3 = False ;
25929 PyObject * obj0 = 0 ;
25930 PyObject * obj1 = 0 ;
25931 PyObject * obj2 = 0 ;
25932 PyObject * obj3 = 0 ;
25933 PyObject * obj4 = 0 ;
25934 PyObject * obj5 = 0 ;
25935 char *kwnames[] = {
25936 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25937 };
25938
25939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25942 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25943 SWIG_POINTER_EXCEPTION | 0)) == -1)
25944 SWIG_fail;
25945 if (arg2 == NULL) {
25946 PyErr_SetString(PyExc_TypeError,"null reference");
25947 SWIG_fail;
25948 }
25949 {
25950 arg3 = wxString_in_helper(obj2);
25951 if (arg3 == NULL) SWIG_fail;
25952 temp3 = True;
25953 }
25954 if (obj3) {
25955 arg4 = (int) SWIG_AsInt(obj3);
25956 if (PyErr_Occurred()) SWIG_fail;
25957 }
25958 if (obj4) {
25959 arg5 = (int) SWIG_AsInt(obj4);
25960 if (PyErr_Occurred()) SWIG_fail;
25961 }
25962 if (obj5) {
25963 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
25964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25965 }
25966 {
25967 PyThreadState* __tstate = wxPyBeginAllowThreads();
25968 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25969
25970 wxPyEndAllowThreads(__tstate);
25971 if (PyErr_Occurred()) SWIG_fail;
25972 }
25973 {
25974 wxTreeItemId * resultptr;
25975 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25976 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25977 }
25978 {
25979 if (temp3)
25980 delete arg3;
25981 }
25982 return resultobj;
25983 fail:
25984 {
25985 if (temp3)
25986 delete arg3;
25987 }
25988 return NULL;
25989 }
25990
25991
25992 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
25993 PyObject *resultobj;
25994 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25995 wxTreeItemId *arg2 = 0 ;
25996 PyObject * obj0 = 0 ;
25997 PyObject * obj1 = 0 ;
25998 char *kwnames[] = {
25999 (char *) "self",(char *) "item", NULL
26000 };
26001
26002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
26003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26005 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26006 SWIG_POINTER_EXCEPTION | 0)) == -1)
26007 SWIG_fail;
26008 if (arg2 == NULL) {
26009 PyErr_SetString(PyExc_TypeError,"null reference");
26010 SWIG_fail;
26011 }
26012 {
26013 PyThreadState* __tstate = wxPyBeginAllowThreads();
26014 (arg1)->Delete((wxTreeItemId const &)*arg2);
26015
26016 wxPyEndAllowThreads(__tstate);
26017 if (PyErr_Occurred()) SWIG_fail;
26018 }
26019 Py_INCREF(Py_None); resultobj = Py_None;
26020 return resultobj;
26021 fail:
26022 return NULL;
26023 }
26024
26025
26026 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
26027 PyObject *resultobj;
26028 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26029 wxTreeItemId *arg2 = 0 ;
26030 PyObject * obj0 = 0 ;
26031 PyObject * obj1 = 0 ;
26032 char *kwnames[] = {
26033 (char *) "self",(char *) "item", NULL
26034 };
26035
26036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
26037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26039 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26040 SWIG_POINTER_EXCEPTION | 0)) == -1)
26041 SWIG_fail;
26042 if (arg2 == NULL) {
26043 PyErr_SetString(PyExc_TypeError,"null reference");
26044 SWIG_fail;
26045 }
26046 {
26047 PyThreadState* __tstate = wxPyBeginAllowThreads();
26048 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
26049
26050 wxPyEndAllowThreads(__tstate);
26051 if (PyErr_Occurred()) SWIG_fail;
26052 }
26053 Py_INCREF(Py_None); resultobj = Py_None;
26054 return resultobj;
26055 fail:
26056 return NULL;
26057 }
26058
26059
26060 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
26061 PyObject *resultobj;
26062 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26063 PyObject * obj0 = 0 ;
26064 char *kwnames[] = {
26065 (char *) "self", NULL
26066 };
26067
26068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
26069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26071 {
26072 PyThreadState* __tstate = wxPyBeginAllowThreads();
26073 (arg1)->DeleteAllItems();
26074
26075 wxPyEndAllowThreads(__tstate);
26076 if (PyErr_Occurred()) SWIG_fail;
26077 }
26078 Py_INCREF(Py_None); resultobj = Py_None;
26079 return resultobj;
26080 fail:
26081 return NULL;
26082 }
26083
26084
26085 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
26086 PyObject *resultobj;
26087 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26088 wxTreeItemId *arg2 = 0 ;
26089 PyObject * obj0 = 0 ;
26090 PyObject * obj1 = 0 ;
26091 char *kwnames[] = {
26092 (char *) "self",(char *) "item", NULL
26093 };
26094
26095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
26096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26098 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26099 SWIG_POINTER_EXCEPTION | 0)) == -1)
26100 SWIG_fail;
26101 if (arg2 == NULL) {
26102 PyErr_SetString(PyExc_TypeError,"null reference");
26103 SWIG_fail;
26104 }
26105 {
26106 PyThreadState* __tstate = wxPyBeginAllowThreads();
26107 (arg1)->Expand((wxTreeItemId const &)*arg2);
26108
26109 wxPyEndAllowThreads(__tstate);
26110 if (PyErr_Occurred()) SWIG_fail;
26111 }
26112 Py_INCREF(Py_None); resultobj = Py_None;
26113 return resultobj;
26114 fail:
26115 return NULL;
26116 }
26117
26118
26119 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
26120 PyObject *resultobj;
26121 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26122 wxTreeItemId *arg2 = 0 ;
26123 PyObject * obj0 = 0 ;
26124 PyObject * obj1 = 0 ;
26125 char *kwnames[] = {
26126 (char *) "self",(char *) "item", NULL
26127 };
26128
26129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
26130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26132 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26133 SWIG_POINTER_EXCEPTION | 0)) == -1)
26134 SWIG_fail;
26135 if (arg2 == NULL) {
26136 PyErr_SetString(PyExc_TypeError,"null reference");
26137 SWIG_fail;
26138 }
26139 {
26140 PyThreadState* __tstate = wxPyBeginAllowThreads();
26141 (arg1)->Collapse((wxTreeItemId const &)*arg2);
26142
26143 wxPyEndAllowThreads(__tstate);
26144 if (PyErr_Occurred()) SWIG_fail;
26145 }
26146 Py_INCREF(Py_None); resultobj = Py_None;
26147 return resultobj;
26148 fail:
26149 return NULL;
26150 }
26151
26152
26153 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
26154 PyObject *resultobj;
26155 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26156 wxTreeItemId *arg2 = 0 ;
26157 PyObject * obj0 = 0 ;
26158 PyObject * obj1 = 0 ;
26159 char *kwnames[] = {
26160 (char *) "self",(char *) "item", NULL
26161 };
26162
26163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
26164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26166 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26167 SWIG_POINTER_EXCEPTION | 0)) == -1)
26168 SWIG_fail;
26169 if (arg2 == NULL) {
26170 PyErr_SetString(PyExc_TypeError,"null reference");
26171 SWIG_fail;
26172 }
26173 {
26174 PyThreadState* __tstate = wxPyBeginAllowThreads();
26175 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
26176
26177 wxPyEndAllowThreads(__tstate);
26178 if (PyErr_Occurred()) SWIG_fail;
26179 }
26180 Py_INCREF(Py_None); resultobj = Py_None;
26181 return resultobj;
26182 fail:
26183 return NULL;
26184 }
26185
26186
26187 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
26188 PyObject *resultobj;
26189 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26190 wxTreeItemId *arg2 = 0 ;
26191 PyObject * obj0 = 0 ;
26192 PyObject * obj1 = 0 ;
26193 char *kwnames[] = {
26194 (char *) "self",(char *) "item", NULL
26195 };
26196
26197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
26198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26200 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26201 SWIG_POINTER_EXCEPTION | 0)) == -1)
26202 SWIG_fail;
26203 if (arg2 == NULL) {
26204 PyErr_SetString(PyExc_TypeError,"null reference");
26205 SWIG_fail;
26206 }
26207 {
26208 PyThreadState* __tstate = wxPyBeginAllowThreads();
26209 (arg1)->Toggle((wxTreeItemId const &)*arg2);
26210
26211 wxPyEndAllowThreads(__tstate);
26212 if (PyErr_Occurred()) SWIG_fail;
26213 }
26214 Py_INCREF(Py_None); resultobj = Py_None;
26215 return resultobj;
26216 fail:
26217 return NULL;
26218 }
26219
26220
26221 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
26222 PyObject *resultobj;
26223 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26224 PyObject * obj0 = 0 ;
26225 char *kwnames[] = {
26226 (char *) "self", NULL
26227 };
26228
26229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
26230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26232 {
26233 PyThreadState* __tstate = wxPyBeginAllowThreads();
26234 (arg1)->Unselect();
26235
26236 wxPyEndAllowThreads(__tstate);
26237 if (PyErr_Occurred()) SWIG_fail;
26238 }
26239 Py_INCREF(Py_None); resultobj = Py_None;
26240 return resultobj;
26241 fail:
26242 return NULL;
26243 }
26244
26245
26246 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
26247 PyObject *resultobj;
26248 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26249 wxTreeItemId *arg2 = 0 ;
26250 PyObject * obj0 = 0 ;
26251 PyObject * obj1 = 0 ;
26252 char *kwnames[] = {
26253 (char *) "self",(char *) "item", NULL
26254 };
26255
26256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
26257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26259 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26260 SWIG_POINTER_EXCEPTION | 0)) == -1)
26261 SWIG_fail;
26262 if (arg2 == NULL) {
26263 PyErr_SetString(PyExc_TypeError,"null reference");
26264 SWIG_fail;
26265 }
26266 {
26267 PyThreadState* __tstate = wxPyBeginAllowThreads();
26268 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
26269
26270 wxPyEndAllowThreads(__tstate);
26271 if (PyErr_Occurred()) SWIG_fail;
26272 }
26273 Py_INCREF(Py_None); resultobj = Py_None;
26274 return resultobj;
26275 fail:
26276 return NULL;
26277 }
26278
26279
26280 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
26281 PyObject *resultobj;
26282 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26283 PyObject * obj0 = 0 ;
26284 char *kwnames[] = {
26285 (char *) "self", NULL
26286 };
26287
26288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
26289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26291 {
26292 PyThreadState* __tstate = wxPyBeginAllowThreads();
26293 (arg1)->UnselectAll();
26294
26295 wxPyEndAllowThreads(__tstate);
26296 if (PyErr_Occurred()) SWIG_fail;
26297 }
26298 Py_INCREF(Py_None); resultobj = Py_None;
26299 return resultobj;
26300 fail:
26301 return NULL;
26302 }
26303
26304
26305 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
26306 PyObject *resultobj;
26307 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26308 wxTreeItemId *arg2 = 0 ;
26309 bool arg3 = (bool) True ;
26310 PyObject * obj0 = 0 ;
26311 PyObject * obj1 = 0 ;
26312 PyObject * obj2 = 0 ;
26313 char *kwnames[] = {
26314 (char *) "self",(char *) "item",(char *) "select", NULL
26315 };
26316
26317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26320 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26321 SWIG_POINTER_EXCEPTION | 0)) == -1)
26322 SWIG_fail;
26323 if (arg2 == NULL) {
26324 PyErr_SetString(PyExc_TypeError,"null reference");
26325 SWIG_fail;
26326 }
26327 if (obj2) {
26328 arg3 = (bool) SWIG_AsBool(obj2);
26329 if (PyErr_Occurred()) SWIG_fail;
26330 }
26331 {
26332 PyThreadState* __tstate = wxPyBeginAllowThreads();
26333 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
26334
26335 wxPyEndAllowThreads(__tstate);
26336 if (PyErr_Occurred()) SWIG_fail;
26337 }
26338 Py_INCREF(Py_None); resultobj = Py_None;
26339 return resultobj;
26340 fail:
26341 return NULL;
26342 }
26343
26344
26345 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
26346 PyObject *resultobj;
26347 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26348 wxTreeItemId *arg2 = 0 ;
26349 PyObject * obj0 = 0 ;
26350 PyObject * obj1 = 0 ;
26351 char *kwnames[] = {
26352 (char *) "self",(char *) "item", NULL
26353 };
26354
26355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
26356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26358 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26359 SWIG_POINTER_EXCEPTION | 0)) == -1)
26360 SWIG_fail;
26361 if (arg2 == NULL) {
26362 PyErr_SetString(PyExc_TypeError,"null reference");
26363 SWIG_fail;
26364 }
26365 {
26366 PyThreadState* __tstate = wxPyBeginAllowThreads();
26367 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
26368
26369 wxPyEndAllowThreads(__tstate);
26370 if (PyErr_Occurred()) SWIG_fail;
26371 }
26372 Py_INCREF(Py_None); resultobj = Py_None;
26373 return resultobj;
26374 fail:
26375 return NULL;
26376 }
26377
26378
26379 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
26380 PyObject *resultobj;
26381 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26382 wxTreeItemId *arg2 = 0 ;
26383 PyObject * obj0 = 0 ;
26384 PyObject * obj1 = 0 ;
26385 char *kwnames[] = {
26386 (char *) "self",(char *) "item", NULL
26387 };
26388
26389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
26390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26392 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26393 SWIG_POINTER_EXCEPTION | 0)) == -1)
26394 SWIG_fail;
26395 if (arg2 == NULL) {
26396 PyErr_SetString(PyExc_TypeError,"null reference");
26397 SWIG_fail;
26398 }
26399 {
26400 PyThreadState* __tstate = wxPyBeginAllowThreads();
26401 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
26402
26403 wxPyEndAllowThreads(__tstate);
26404 if (PyErr_Occurred()) SWIG_fail;
26405 }
26406 Py_INCREF(Py_None); resultobj = Py_None;
26407 return resultobj;
26408 fail:
26409 return NULL;
26410 }
26411
26412
26413 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
26414 PyObject *resultobj;
26415 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26416 wxTreeItemId *arg2 = 0 ;
26417 PyObject * obj0 = 0 ;
26418 PyObject * obj1 = 0 ;
26419 char *kwnames[] = {
26420 (char *) "self",(char *) "item", NULL
26421 };
26422
26423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
26424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26426 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26427 SWIG_POINTER_EXCEPTION | 0)) == -1)
26428 SWIG_fail;
26429 if (arg2 == NULL) {
26430 PyErr_SetString(PyExc_TypeError,"null reference");
26431 SWIG_fail;
26432 }
26433 {
26434 PyThreadState* __tstate = wxPyBeginAllowThreads();
26435 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
26436
26437 wxPyEndAllowThreads(__tstate);
26438 if (PyErr_Occurred()) SWIG_fail;
26439 }
26440 Py_INCREF(Py_None); resultobj = Py_None;
26441 return resultobj;
26442 fail:
26443 return NULL;
26444 }
26445
26446
26447 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
26448 PyObject *resultobj;
26449 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26450 wxTreeItemId *arg2 = 0 ;
26451 PyObject * obj0 = 0 ;
26452 PyObject * obj1 = 0 ;
26453 char *kwnames[] = {
26454 (char *) "self",(char *) "item", NULL
26455 };
26456
26457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
26458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26460 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26461 SWIG_POINTER_EXCEPTION | 0)) == -1)
26462 SWIG_fail;
26463 if (arg2 == NULL) {
26464 PyErr_SetString(PyExc_TypeError,"null reference");
26465 SWIG_fail;
26466 }
26467 {
26468 PyThreadState* __tstate = wxPyBeginAllowThreads();
26469 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
26470
26471 wxPyEndAllowThreads(__tstate);
26472 if (PyErr_Occurred()) SWIG_fail;
26473 }
26474 Py_INCREF(Py_None); resultobj = Py_None;
26475 return resultobj;
26476 fail:
26477 return NULL;
26478 }
26479
26480
26481 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
26482 PyObject *resultobj;
26483 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26484 wxTextCtrl *result;
26485 PyObject * obj0 = 0 ;
26486 char *kwnames[] = {
26487 (char *) "self", NULL
26488 };
26489
26490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
26491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26493 {
26494 PyThreadState* __tstate = wxPyBeginAllowThreads();
26495 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
26496
26497 wxPyEndAllowThreads(__tstate);
26498 if (PyErr_Occurred()) SWIG_fail;
26499 }
26500 {
26501 resultobj = wxPyMake_wxObject(result);
26502 }
26503 return resultobj;
26504 fail:
26505 return NULL;
26506 }
26507
26508
26509 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
26510 PyObject *resultobj;
26511 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26512 wxTreeItemId *arg2 = 0 ;
26513 PyObject * obj0 = 0 ;
26514 PyObject * obj1 = 0 ;
26515 char *kwnames[] = {
26516 (char *) "self",(char *) "item", NULL
26517 };
26518
26519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
26520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26523 SWIG_POINTER_EXCEPTION | 0)) == -1)
26524 SWIG_fail;
26525 if (arg2 == NULL) {
26526 PyErr_SetString(PyExc_TypeError,"null reference");
26527 SWIG_fail;
26528 }
26529 {
26530 PyThreadState* __tstate = wxPyBeginAllowThreads();
26531 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
26532
26533 wxPyEndAllowThreads(__tstate);
26534 if (PyErr_Occurred()) SWIG_fail;
26535 }
26536 Py_INCREF(Py_None); resultobj = Py_None;
26537 return resultobj;
26538 fail:
26539 return NULL;
26540 }
26541
26542
26543 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
26544 PyObject *resultobj;
26545 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26546 wxPoint *arg2 = 0 ;
26547 int *arg3 = 0 ;
26548 wxTreeItemId result;
26549 wxPoint temp2 ;
26550 int temp3 ;
26551 PyObject * obj0 = 0 ;
26552 PyObject * obj1 = 0 ;
26553 char *kwnames[] = {
26554 (char *) "self",(char *) "point", NULL
26555 };
26556
26557 arg3 = &temp3;
26558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
26559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26561 {
26562 arg2 = &temp2;
26563 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26564 }
26565 {
26566 PyThreadState* __tstate = wxPyBeginAllowThreads();
26567 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
26568
26569 wxPyEndAllowThreads(__tstate);
26570 if (PyErr_Occurred()) SWIG_fail;
26571 }
26572 {
26573 wxTreeItemId * resultptr;
26574 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26575 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26576 }
26577 {
26578 PyObject *o = PyInt_FromLong((long) (*arg3));
26579 resultobj = t_output_helper(resultobj,o);
26580 }
26581 return resultobj;
26582 fail:
26583 return NULL;
26584 }
26585
26586
26587 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
26588 PyObject *resultobj;
26589 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26590 wxTreeItemId *arg2 = 0 ;
26591 bool arg3 = (bool) False ;
26592 PyObject *result;
26593 PyObject * obj0 = 0 ;
26594 PyObject * obj1 = 0 ;
26595 PyObject * obj2 = 0 ;
26596 char *kwnames[] = {
26597 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26598 };
26599
26600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
26601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26603 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26604 SWIG_POINTER_EXCEPTION | 0)) == -1)
26605 SWIG_fail;
26606 if (arg2 == NULL) {
26607 PyErr_SetString(PyExc_TypeError,"null reference");
26608 SWIG_fail;
26609 }
26610 if (obj2) {
26611 arg3 = (bool) SWIG_AsBool(obj2);
26612 if (PyErr_Occurred()) SWIG_fail;
26613 }
26614 {
26615 PyThreadState* __tstate = wxPyBeginAllowThreads();
26616 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
26617
26618 wxPyEndAllowThreads(__tstate);
26619 if (PyErr_Occurred()) SWIG_fail;
26620 }
26621 resultobj = result;
26622 return resultobj;
26623 fail:
26624 return NULL;
26625 }
26626
26627
26628 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
26629 PyObject *resultobj;
26630 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
26631 wxVisualAttributes result;
26632 PyObject * obj0 = 0 ;
26633 char *kwnames[] = {
26634 (char *) "variant", NULL
26635 };
26636
26637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26638 if (obj0) {
26639 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
26640 if (PyErr_Occurred()) SWIG_fail;
26641 }
26642 {
26643 PyThreadState* __tstate = wxPyBeginAllowThreads();
26644 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26645
26646 wxPyEndAllowThreads(__tstate);
26647 if (PyErr_Occurred()) SWIG_fail;
26648 }
26649 {
26650 wxVisualAttributes * resultptr;
26651 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
26652 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26653 }
26654 return resultobj;
26655 fail:
26656 return NULL;
26657 }
26658
26659
26660 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
26661 PyObject *obj;
26662 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26663 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
26664 Py_INCREF(obj);
26665 return Py_BuildValue((char *)"");
26666 }
26667 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
26668 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
26669 return 1;
26670 }
26671
26672
26673 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
26674 PyObject *pyobj;
26675
26676 {
26677 #if wxUSE_UNICODE
26678 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26679 #else
26680 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26681 #endif
26682 }
26683 return pyobj;
26684 }
26685
26686
26687 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
26688 PyObject *resultobj;
26689 wxWindow *arg1 = (wxWindow *) 0 ;
26690 int arg2 = (int) (int)-1 ;
26691 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
26692 wxString *arg3 = (wxString *) &arg3_defvalue ;
26693 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26694 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26695 wxSize const &arg5_defvalue = wxDefaultSize ;
26696 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26697 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26698 wxString const &arg7_defvalue = wxPyEmptyString ;
26699 wxString *arg7 = (wxString *) &arg7_defvalue ;
26700 int arg8 = (int) 0 ;
26701 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
26702 wxString *arg9 = (wxString *) &arg9_defvalue ;
26703 wxGenericDirCtrl *result;
26704 bool temp3 = False ;
26705 wxPoint temp4 ;
26706 wxSize temp5 ;
26707 bool temp7 = False ;
26708 bool temp9 = False ;
26709 PyObject * obj0 = 0 ;
26710 PyObject * obj1 = 0 ;
26711 PyObject * obj2 = 0 ;
26712 PyObject * obj3 = 0 ;
26713 PyObject * obj4 = 0 ;
26714 PyObject * obj5 = 0 ;
26715 PyObject * obj6 = 0 ;
26716 PyObject * obj7 = 0 ;
26717 PyObject * obj8 = 0 ;
26718 char *kwnames[] = {
26719 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26720 };
26721
26722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
26723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26725 if (obj1) {
26726 arg2 = (int const) SWIG_AsInt(obj1);
26727 if (PyErr_Occurred()) SWIG_fail;
26728 }
26729 if (obj2) {
26730 {
26731 arg3 = wxString_in_helper(obj2);
26732 if (arg3 == NULL) SWIG_fail;
26733 temp3 = True;
26734 }
26735 }
26736 if (obj3) {
26737 {
26738 arg4 = &temp4;
26739 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26740 }
26741 }
26742 if (obj4) {
26743 {
26744 arg5 = &temp5;
26745 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26746 }
26747 }
26748 if (obj5) {
26749 arg6 = (long) SWIG_AsLong(obj5);
26750 if (PyErr_Occurred()) SWIG_fail;
26751 }
26752 if (obj6) {
26753 {
26754 arg7 = wxString_in_helper(obj6);
26755 if (arg7 == NULL) SWIG_fail;
26756 temp7 = True;
26757 }
26758 }
26759 if (obj7) {
26760 arg8 = (int) SWIG_AsInt(obj7);
26761 if (PyErr_Occurred()) SWIG_fail;
26762 }
26763 if (obj8) {
26764 {
26765 arg9 = wxString_in_helper(obj8);
26766 if (arg9 == NULL) SWIG_fail;
26767 temp9 = True;
26768 }
26769 }
26770 {
26771 PyThreadState* __tstate = wxPyBeginAllowThreads();
26772 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
26773
26774 wxPyEndAllowThreads(__tstate);
26775 if (PyErr_Occurred()) SWIG_fail;
26776 }
26777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
26778 {
26779 if (temp3)
26780 delete arg3;
26781 }
26782 {
26783 if (temp7)
26784 delete arg7;
26785 }
26786 {
26787 if (temp9)
26788 delete arg9;
26789 }
26790 return resultobj;
26791 fail:
26792 {
26793 if (temp3)
26794 delete arg3;
26795 }
26796 {
26797 if (temp7)
26798 delete arg7;
26799 }
26800 {
26801 if (temp9)
26802 delete arg9;
26803 }
26804 return NULL;
26805 }
26806
26807
26808 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
26809 PyObject *resultobj;
26810 wxGenericDirCtrl *result;
26811 char *kwnames[] = {
26812 NULL
26813 };
26814
26815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
26816 {
26817 PyThreadState* __tstate = wxPyBeginAllowThreads();
26818 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
26819
26820 wxPyEndAllowThreads(__tstate);
26821 if (PyErr_Occurred()) SWIG_fail;
26822 }
26823 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
26824 return resultobj;
26825 fail:
26826 return NULL;
26827 }
26828
26829
26830 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
26831 PyObject *resultobj;
26832 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26833 wxWindow *arg2 = (wxWindow *) 0 ;
26834 int arg3 = (int) (int)-1 ;
26835 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
26836 wxString *arg4 = (wxString *) &arg4_defvalue ;
26837 wxPoint const &arg5_defvalue = wxDefaultPosition ;
26838 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
26839 wxSize const &arg6_defvalue = wxDefaultSize ;
26840 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
26841 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26842 wxString const &arg8_defvalue = wxPyEmptyString ;
26843 wxString *arg8 = (wxString *) &arg8_defvalue ;
26844 int arg9 = (int) 0 ;
26845 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
26846 wxString *arg10 = (wxString *) &arg10_defvalue ;
26847 bool result;
26848 bool temp4 = False ;
26849 wxPoint temp5 ;
26850 wxSize temp6 ;
26851 bool temp8 = False ;
26852 bool temp10 = False ;
26853 PyObject * obj0 = 0 ;
26854 PyObject * obj1 = 0 ;
26855 PyObject * obj2 = 0 ;
26856 PyObject * obj3 = 0 ;
26857 PyObject * obj4 = 0 ;
26858 PyObject * obj5 = 0 ;
26859 PyObject * obj6 = 0 ;
26860 PyObject * obj7 = 0 ;
26861 PyObject * obj8 = 0 ;
26862 PyObject * obj9 = 0 ;
26863 char *kwnames[] = {
26864 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26865 };
26866
26867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
26868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26870 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
26871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26872 if (obj2) {
26873 arg3 = (int const) SWIG_AsInt(obj2);
26874 if (PyErr_Occurred()) SWIG_fail;
26875 }
26876 if (obj3) {
26877 {
26878 arg4 = wxString_in_helper(obj3);
26879 if (arg4 == NULL) SWIG_fail;
26880 temp4 = True;
26881 }
26882 }
26883 if (obj4) {
26884 {
26885 arg5 = &temp5;
26886 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
26887 }
26888 }
26889 if (obj5) {
26890 {
26891 arg6 = &temp6;
26892 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
26893 }
26894 }
26895 if (obj6) {
26896 arg7 = (long) SWIG_AsLong(obj6);
26897 if (PyErr_Occurred()) SWIG_fail;
26898 }
26899 if (obj7) {
26900 {
26901 arg8 = wxString_in_helper(obj7);
26902 if (arg8 == NULL) SWIG_fail;
26903 temp8 = True;
26904 }
26905 }
26906 if (obj8) {
26907 arg9 = (int) SWIG_AsInt(obj8);
26908 if (PyErr_Occurred()) SWIG_fail;
26909 }
26910 if (obj9) {
26911 {
26912 arg10 = wxString_in_helper(obj9);
26913 if (arg10 == NULL) SWIG_fail;
26914 temp10 = True;
26915 }
26916 }
26917 {
26918 PyThreadState* __tstate = wxPyBeginAllowThreads();
26919 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
26920
26921 wxPyEndAllowThreads(__tstate);
26922 if (PyErr_Occurred()) SWIG_fail;
26923 }
26924 {
26925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26926 }
26927 {
26928 if (temp4)
26929 delete arg4;
26930 }
26931 {
26932 if (temp8)
26933 delete arg8;
26934 }
26935 {
26936 if (temp10)
26937 delete arg10;
26938 }
26939 return resultobj;
26940 fail:
26941 {
26942 if (temp4)
26943 delete arg4;
26944 }
26945 {
26946 if (temp8)
26947 delete arg8;
26948 }
26949 {
26950 if (temp10)
26951 delete arg10;
26952 }
26953 return NULL;
26954 }
26955
26956
26957 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
26958 PyObject *resultobj;
26959 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26960 wxString *arg2 = 0 ;
26961 bool result;
26962 bool temp2 = False ;
26963 PyObject * obj0 = 0 ;
26964 PyObject * obj1 = 0 ;
26965 char *kwnames[] = {
26966 (char *) "self",(char *) "path", NULL
26967 };
26968
26969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
26970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26972 {
26973 arg2 = wxString_in_helper(obj1);
26974 if (arg2 == NULL) SWIG_fail;
26975 temp2 = True;
26976 }
26977 {
26978 PyThreadState* __tstate = wxPyBeginAllowThreads();
26979 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
26980
26981 wxPyEndAllowThreads(__tstate);
26982 if (PyErr_Occurred()) SWIG_fail;
26983 }
26984 {
26985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26986 }
26987 {
26988 if (temp2)
26989 delete arg2;
26990 }
26991 return resultobj;
26992 fail:
26993 {
26994 if (temp2)
26995 delete arg2;
26996 }
26997 return NULL;
26998 }
26999
27000
27001 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
27002 PyObject *resultobj;
27003 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27004 wxString result;
27005 PyObject * obj0 = 0 ;
27006 char *kwnames[] = {
27007 (char *) "self", NULL
27008 };
27009
27010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
27011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27013 {
27014 PyThreadState* __tstate = wxPyBeginAllowThreads();
27015 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
27016
27017 wxPyEndAllowThreads(__tstate);
27018 if (PyErr_Occurred()) SWIG_fail;
27019 }
27020 {
27021 #if wxUSE_UNICODE
27022 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27023 #else
27024 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27025 #endif
27026 }
27027 return resultobj;
27028 fail:
27029 return NULL;
27030 }
27031
27032
27033 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
27034 PyObject *resultobj;
27035 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27036 wxString *arg2 = 0 ;
27037 bool temp2 = False ;
27038 PyObject * obj0 = 0 ;
27039 PyObject * obj1 = 0 ;
27040 char *kwnames[] = {
27041 (char *) "self",(char *) "path", NULL
27042 };
27043
27044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
27045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27047 {
27048 arg2 = wxString_in_helper(obj1);
27049 if (arg2 == NULL) SWIG_fail;
27050 temp2 = True;
27051 }
27052 {
27053 PyThreadState* __tstate = wxPyBeginAllowThreads();
27054 (arg1)->SetDefaultPath((wxString const &)*arg2);
27055
27056 wxPyEndAllowThreads(__tstate);
27057 if (PyErr_Occurred()) SWIG_fail;
27058 }
27059 Py_INCREF(Py_None); resultobj = Py_None;
27060 {
27061 if (temp2)
27062 delete arg2;
27063 }
27064 return resultobj;
27065 fail:
27066 {
27067 if (temp2)
27068 delete arg2;
27069 }
27070 return NULL;
27071 }
27072
27073
27074 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
27075 PyObject *resultobj;
27076 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27077 wxString result;
27078 PyObject * obj0 = 0 ;
27079 char *kwnames[] = {
27080 (char *) "self", NULL
27081 };
27082
27083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
27084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27086 {
27087 PyThreadState* __tstate = wxPyBeginAllowThreads();
27088 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
27089
27090 wxPyEndAllowThreads(__tstate);
27091 if (PyErr_Occurred()) SWIG_fail;
27092 }
27093 {
27094 #if wxUSE_UNICODE
27095 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27096 #else
27097 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27098 #endif
27099 }
27100 return resultobj;
27101 fail:
27102 return NULL;
27103 }
27104
27105
27106 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
27107 PyObject *resultobj;
27108 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27109 wxString result;
27110 PyObject * obj0 = 0 ;
27111 char *kwnames[] = {
27112 (char *) "self", NULL
27113 };
27114
27115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
27116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27118 {
27119 PyThreadState* __tstate = wxPyBeginAllowThreads();
27120 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
27121
27122 wxPyEndAllowThreads(__tstate);
27123 if (PyErr_Occurred()) SWIG_fail;
27124 }
27125 {
27126 #if wxUSE_UNICODE
27127 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27128 #else
27129 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27130 #endif
27131 }
27132 return resultobj;
27133 fail:
27134 return NULL;
27135 }
27136
27137
27138 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
27139 PyObject *resultobj;
27140 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27141 wxString *arg2 = 0 ;
27142 bool temp2 = False ;
27143 PyObject * obj0 = 0 ;
27144 PyObject * obj1 = 0 ;
27145 char *kwnames[] = {
27146 (char *) "self",(char *) "path", NULL
27147 };
27148
27149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
27150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27152 {
27153 arg2 = wxString_in_helper(obj1);
27154 if (arg2 == NULL) SWIG_fail;
27155 temp2 = True;
27156 }
27157 {
27158 PyThreadState* __tstate = wxPyBeginAllowThreads();
27159 (arg1)->SetPath((wxString const &)*arg2);
27160
27161 wxPyEndAllowThreads(__tstate);
27162 if (PyErr_Occurred()) SWIG_fail;
27163 }
27164 Py_INCREF(Py_None); resultobj = Py_None;
27165 {
27166 if (temp2)
27167 delete arg2;
27168 }
27169 return resultobj;
27170 fail:
27171 {
27172 if (temp2)
27173 delete arg2;
27174 }
27175 return NULL;
27176 }
27177
27178
27179 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
27180 PyObject *resultobj;
27181 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27182 bool arg2 ;
27183 PyObject * obj0 = 0 ;
27184 PyObject * obj1 = 0 ;
27185 char *kwnames[] = {
27186 (char *) "self",(char *) "show", NULL
27187 };
27188
27189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
27190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27192 arg2 = (bool) SWIG_AsBool(obj1);
27193 if (PyErr_Occurred()) SWIG_fail;
27194 {
27195 PyThreadState* __tstate = wxPyBeginAllowThreads();
27196 (arg1)->ShowHidden(arg2);
27197
27198 wxPyEndAllowThreads(__tstate);
27199 if (PyErr_Occurred()) SWIG_fail;
27200 }
27201 Py_INCREF(Py_None); resultobj = Py_None;
27202 return resultobj;
27203 fail:
27204 return NULL;
27205 }
27206
27207
27208 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
27209 PyObject *resultobj;
27210 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27211 bool result;
27212 PyObject * obj0 = 0 ;
27213 char *kwnames[] = {
27214 (char *) "self", NULL
27215 };
27216
27217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
27218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27220 {
27221 PyThreadState* __tstate = wxPyBeginAllowThreads();
27222 result = (bool)(arg1)->GetShowHidden();
27223
27224 wxPyEndAllowThreads(__tstate);
27225 if (PyErr_Occurred()) SWIG_fail;
27226 }
27227 {
27228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27229 }
27230 return resultobj;
27231 fail:
27232 return NULL;
27233 }
27234
27235
27236 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
27237 PyObject *resultobj;
27238 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27239 wxString result;
27240 PyObject * obj0 = 0 ;
27241 char *kwnames[] = {
27242 (char *) "self", NULL
27243 };
27244
27245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
27246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27248 {
27249 PyThreadState* __tstate = wxPyBeginAllowThreads();
27250 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
27251
27252 wxPyEndAllowThreads(__tstate);
27253 if (PyErr_Occurred()) SWIG_fail;
27254 }
27255 {
27256 #if wxUSE_UNICODE
27257 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27258 #else
27259 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27260 #endif
27261 }
27262 return resultobj;
27263 fail:
27264 return NULL;
27265 }
27266
27267
27268 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
27269 PyObject *resultobj;
27270 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27271 wxString *arg2 = 0 ;
27272 bool temp2 = False ;
27273 PyObject * obj0 = 0 ;
27274 PyObject * obj1 = 0 ;
27275 char *kwnames[] = {
27276 (char *) "self",(char *) "filter", NULL
27277 };
27278
27279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
27280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27282 {
27283 arg2 = wxString_in_helper(obj1);
27284 if (arg2 == NULL) SWIG_fail;
27285 temp2 = True;
27286 }
27287 {
27288 PyThreadState* __tstate = wxPyBeginAllowThreads();
27289 (arg1)->SetFilter((wxString const &)*arg2);
27290
27291 wxPyEndAllowThreads(__tstate);
27292 if (PyErr_Occurred()) SWIG_fail;
27293 }
27294 Py_INCREF(Py_None); resultobj = Py_None;
27295 {
27296 if (temp2)
27297 delete arg2;
27298 }
27299 return resultobj;
27300 fail:
27301 {
27302 if (temp2)
27303 delete arg2;
27304 }
27305 return NULL;
27306 }
27307
27308
27309 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
27310 PyObject *resultobj;
27311 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27312 int result;
27313 PyObject * obj0 = 0 ;
27314 char *kwnames[] = {
27315 (char *) "self", NULL
27316 };
27317
27318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
27319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27321 {
27322 PyThreadState* __tstate = wxPyBeginAllowThreads();
27323 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
27324
27325 wxPyEndAllowThreads(__tstate);
27326 if (PyErr_Occurred()) SWIG_fail;
27327 }
27328 resultobj = SWIG_FromInt((int)result);
27329 return resultobj;
27330 fail:
27331 return NULL;
27332 }
27333
27334
27335 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
27336 PyObject *resultobj;
27337 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27338 int arg2 ;
27339 PyObject * obj0 = 0 ;
27340 PyObject * obj1 = 0 ;
27341 char *kwnames[] = {
27342 (char *) "self",(char *) "n", NULL
27343 };
27344
27345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
27346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27348 arg2 = (int) SWIG_AsInt(obj1);
27349 if (PyErr_Occurred()) SWIG_fail;
27350 {
27351 PyThreadState* __tstate = wxPyBeginAllowThreads();
27352 (arg1)->SetFilterIndex(arg2);
27353
27354 wxPyEndAllowThreads(__tstate);
27355 if (PyErr_Occurred()) SWIG_fail;
27356 }
27357 Py_INCREF(Py_None); resultobj = Py_None;
27358 return resultobj;
27359 fail:
27360 return NULL;
27361 }
27362
27363
27364 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
27365 PyObject *resultobj;
27366 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27367 wxTreeItemId result;
27368 PyObject * obj0 = 0 ;
27369 char *kwnames[] = {
27370 (char *) "self", NULL
27371 };
27372
27373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
27374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27376 {
27377 PyThreadState* __tstate = wxPyBeginAllowThreads();
27378 result = (arg1)->GetRootId();
27379
27380 wxPyEndAllowThreads(__tstate);
27381 if (PyErr_Occurred()) SWIG_fail;
27382 }
27383 {
27384 wxTreeItemId * resultptr;
27385 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27386 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27387 }
27388 return resultobj;
27389 fail:
27390 return NULL;
27391 }
27392
27393
27394 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27395 PyObject *resultobj;
27396 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27397 wxPyTreeCtrl *result;
27398 PyObject * obj0 = 0 ;
27399 char *kwnames[] = {
27400 (char *) "self", NULL
27401 };
27402
27403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
27404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27406 {
27407 PyThreadState* __tstate = wxPyBeginAllowThreads();
27408 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
27409
27410 wxPyEndAllowThreads(__tstate);
27411 if (PyErr_Occurred()) SWIG_fail;
27412 }
27413 {
27414 resultobj = wxPyMake_wxObject(result);
27415 }
27416 return resultobj;
27417 fail:
27418 return NULL;
27419 }
27420
27421
27422 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27423 PyObject *resultobj;
27424 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27425 wxDirFilterListCtrl *result;
27426 PyObject * obj0 = 0 ;
27427 char *kwnames[] = {
27428 (char *) "self", NULL
27429 };
27430
27431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
27432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27434 {
27435 PyThreadState* __tstate = wxPyBeginAllowThreads();
27436 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
27437
27438 wxPyEndAllowThreads(__tstate);
27439 if (PyErr_Occurred()) SWIG_fail;
27440 }
27441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
27442 return resultobj;
27443 fail:
27444 return NULL;
27445 }
27446
27447
27448 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
27449 PyObject *resultobj;
27450 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27451 wxTreeItemId arg2 ;
27452 wxString *arg3 = 0 ;
27453 bool *arg4 = 0 ;
27454 wxTreeItemId result;
27455 wxTreeItemId *argp2 ;
27456 bool temp3 = False ;
27457 bool temp4 ;
27458 PyObject * obj0 = 0 ;
27459 PyObject * obj1 = 0 ;
27460 PyObject * obj2 = 0 ;
27461 char *kwnames[] = {
27462 (char *) "self",(char *) "parentId",(char *) "path", NULL
27463 };
27464
27465 arg4 = &temp4;
27466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
27467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27469 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
27470 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
27471 arg2 = *argp2;
27472 {
27473 arg3 = wxString_in_helper(obj2);
27474 if (arg3 == NULL) SWIG_fail;
27475 temp3 = True;
27476 }
27477 {
27478 PyThreadState* __tstate = wxPyBeginAllowThreads();
27479 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
27480
27481 wxPyEndAllowThreads(__tstate);
27482 if (PyErr_Occurred()) SWIG_fail;
27483 }
27484 {
27485 wxTreeItemId * resultptr;
27486 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27487 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27488 }
27489 {
27490 PyObject *o = PyInt_FromLong((long) (*arg4));
27491 resultobj = t_output_helper(resultobj,o);
27492 }
27493 {
27494 if (temp3)
27495 delete arg3;
27496 }
27497 return resultobj;
27498 fail:
27499 {
27500 if (temp3)
27501 delete arg3;
27502 }
27503 return NULL;
27504 }
27505
27506
27507 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
27508 PyObject *resultobj;
27509 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27510 PyObject * obj0 = 0 ;
27511 char *kwnames[] = {
27512 (char *) "self", NULL
27513 };
27514
27515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
27516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27518 {
27519 PyThreadState* __tstate = wxPyBeginAllowThreads();
27520 (arg1)->DoResize();
27521
27522 wxPyEndAllowThreads(__tstate);
27523 if (PyErr_Occurred()) SWIG_fail;
27524 }
27525 Py_INCREF(Py_None); resultobj = Py_None;
27526 return resultobj;
27527 fail:
27528 return NULL;
27529 }
27530
27531
27532 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
27533 PyObject *resultobj;
27534 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27535 PyObject * obj0 = 0 ;
27536 char *kwnames[] = {
27537 (char *) "self", NULL
27538 };
27539
27540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
27541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27543 {
27544 PyThreadState* __tstate = wxPyBeginAllowThreads();
27545 (arg1)->ReCreateTree();
27546
27547 wxPyEndAllowThreads(__tstate);
27548 if (PyErr_Occurred()) SWIG_fail;
27549 }
27550 Py_INCREF(Py_None); resultobj = Py_None;
27551 return resultobj;
27552 fail:
27553 return NULL;
27554 }
27555
27556
27557 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
27558 PyObject *obj;
27559 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27560 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
27561 Py_INCREF(obj);
27562 return Py_BuildValue((char *)"");
27563 }
27564 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27565 PyObject *resultobj;
27566 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27567 int arg2 = (int) (int)-1 ;
27568 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27569 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27570 wxSize const &arg4_defvalue = wxDefaultSize ;
27571 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27572 long arg5 = (long) 0 ;
27573 wxDirFilterListCtrl *result;
27574 wxPoint temp3 ;
27575 wxSize temp4 ;
27576 PyObject * obj0 = 0 ;
27577 PyObject * obj1 = 0 ;
27578 PyObject * obj2 = 0 ;
27579 PyObject * obj3 = 0 ;
27580 PyObject * obj4 = 0 ;
27581 char *kwnames[] = {
27582 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27583 };
27584
27585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27588 if (obj1) {
27589 arg2 = (int const) SWIG_AsInt(obj1);
27590 if (PyErr_Occurred()) SWIG_fail;
27591 }
27592 if (obj2) {
27593 {
27594 arg3 = &temp3;
27595 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27596 }
27597 }
27598 if (obj3) {
27599 {
27600 arg4 = &temp4;
27601 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27602 }
27603 }
27604 if (obj4) {
27605 arg5 = (long) SWIG_AsLong(obj4);
27606 if (PyErr_Occurred()) SWIG_fail;
27607 }
27608 {
27609 PyThreadState* __tstate = wxPyBeginAllowThreads();
27610 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
27611
27612 wxPyEndAllowThreads(__tstate);
27613 if (PyErr_Occurred()) SWIG_fail;
27614 }
27615 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27616 return resultobj;
27617 fail:
27618 return NULL;
27619 }
27620
27621
27622 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27623 PyObject *resultobj;
27624 wxDirFilterListCtrl *result;
27625 char *kwnames[] = {
27626 NULL
27627 };
27628
27629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
27630 {
27631 PyThreadState* __tstate = wxPyBeginAllowThreads();
27632 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
27633
27634 wxPyEndAllowThreads(__tstate);
27635 if (PyErr_Occurred()) SWIG_fail;
27636 }
27637 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27638 return resultobj;
27639 fail:
27640 return NULL;
27641 }
27642
27643
27644 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
27645 PyObject *resultobj;
27646 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27647 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
27648 int arg3 = (int) (int)-1 ;
27649 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27650 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27651 wxSize const &arg5_defvalue = wxDefaultSize ;
27652 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27653 long arg6 = (long) 0 ;
27654 bool result;
27655 wxPoint temp4 ;
27656 wxSize temp5 ;
27657 PyObject * obj0 = 0 ;
27658 PyObject * obj1 = 0 ;
27659 PyObject * obj2 = 0 ;
27660 PyObject * obj3 = 0 ;
27661 PyObject * obj4 = 0 ;
27662 PyObject * obj5 = 0 ;
27663 char *kwnames[] = {
27664 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27665 };
27666
27667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27670 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
27671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27672 if (obj2) {
27673 arg3 = (int const) SWIG_AsInt(obj2);
27674 if (PyErr_Occurred()) SWIG_fail;
27675 }
27676 if (obj3) {
27677 {
27678 arg4 = &temp4;
27679 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27680 }
27681 }
27682 if (obj4) {
27683 {
27684 arg5 = &temp5;
27685 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27686 }
27687 }
27688 if (obj5) {
27689 arg6 = (long) SWIG_AsLong(obj5);
27690 if (PyErr_Occurred()) SWIG_fail;
27691 }
27692 {
27693 PyThreadState* __tstate = wxPyBeginAllowThreads();
27694 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
27695
27696 wxPyEndAllowThreads(__tstate);
27697 if (PyErr_Occurred()) SWIG_fail;
27698 }
27699 {
27700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27701 }
27702 return resultobj;
27703 fail:
27704 return NULL;
27705 }
27706
27707
27708 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
27709 PyObject *resultobj;
27710 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27711 wxString *arg2 = 0 ;
27712 int arg3 ;
27713 bool temp2 = False ;
27714 PyObject * obj0 = 0 ;
27715 PyObject * obj1 = 0 ;
27716 PyObject * obj2 = 0 ;
27717 char *kwnames[] = {
27718 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27719 };
27720
27721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
27722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27724 {
27725 arg2 = wxString_in_helper(obj1);
27726 if (arg2 == NULL) SWIG_fail;
27727 temp2 = True;
27728 }
27729 arg3 = (int) SWIG_AsInt(obj2);
27730 if (PyErr_Occurred()) SWIG_fail;
27731 {
27732 PyThreadState* __tstate = wxPyBeginAllowThreads();
27733 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
27734
27735 wxPyEndAllowThreads(__tstate);
27736 if (PyErr_Occurred()) SWIG_fail;
27737 }
27738 Py_INCREF(Py_None); resultobj = Py_None;
27739 {
27740 if (temp2)
27741 delete arg2;
27742 }
27743 return resultobj;
27744 fail:
27745 {
27746 if (temp2)
27747 delete arg2;
27748 }
27749 return NULL;
27750 }
27751
27752
27753 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
27754 PyObject *obj;
27755 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27756 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
27757 Py_INCREF(obj);
27758 return Py_BuildValue((char *)"");
27759 }
27760 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
27761 PyObject *resultobj;
27762 wxWindow *arg1 = (wxWindow *) 0 ;
27763 int arg2 ;
27764 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27765 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27766 wxSize const &arg4_defvalue = wxDefaultSize ;
27767 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27768 long arg5 = (long) 0 ;
27769 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27770 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27771 wxString const &arg7_defvalue = wxPyControlNameStr ;
27772 wxString *arg7 = (wxString *) &arg7_defvalue ;
27773 wxPyControl *result;
27774 wxPoint temp3 ;
27775 wxSize temp4 ;
27776 bool temp7 = False ;
27777 PyObject * obj0 = 0 ;
27778 PyObject * obj1 = 0 ;
27779 PyObject * obj2 = 0 ;
27780 PyObject * obj3 = 0 ;
27781 PyObject * obj4 = 0 ;
27782 PyObject * obj5 = 0 ;
27783 PyObject * obj6 = 0 ;
27784 char *kwnames[] = {
27785 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27786 };
27787
27788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27791 arg2 = (int const) SWIG_AsInt(obj1);
27792 if (PyErr_Occurred()) SWIG_fail;
27793 if (obj2) {
27794 {
27795 arg3 = &temp3;
27796 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27797 }
27798 }
27799 if (obj3) {
27800 {
27801 arg4 = &temp4;
27802 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27803 }
27804 }
27805 if (obj4) {
27806 arg5 = (long) SWIG_AsLong(obj4);
27807 if (PyErr_Occurred()) SWIG_fail;
27808 }
27809 if (obj5) {
27810 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
27811 SWIG_POINTER_EXCEPTION | 0)) == -1)
27812 SWIG_fail;
27813 if (arg6 == NULL) {
27814 PyErr_SetString(PyExc_TypeError,"null reference");
27815 SWIG_fail;
27816 }
27817 }
27818 if (obj6) {
27819 {
27820 arg7 = wxString_in_helper(obj6);
27821 if (arg7 == NULL) SWIG_fail;
27822 temp7 = True;
27823 }
27824 }
27825 {
27826 PyThreadState* __tstate = wxPyBeginAllowThreads();
27827 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27828
27829 wxPyEndAllowThreads(__tstate);
27830 if (PyErr_Occurred()) SWIG_fail;
27831 }
27832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
27833 {
27834 if (temp7)
27835 delete arg7;
27836 }
27837 return resultobj;
27838 fail:
27839 {
27840 if (temp7)
27841 delete arg7;
27842 }
27843 return NULL;
27844 }
27845
27846
27847 static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
27848 PyObject *resultobj;
27849 wxPyControl *result;
27850 char *kwnames[] = {
27851 NULL
27852 };
27853
27854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
27855 {
27856 PyThreadState* __tstate = wxPyBeginAllowThreads();
27857 result = (wxPyControl *)new wxPyControl();
27858
27859 wxPyEndAllowThreads(__tstate);
27860 if (PyErr_Occurred()) SWIG_fail;
27861 }
27862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
27863 return resultobj;
27864 fail:
27865 return NULL;
27866 }
27867
27868
27869 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27870 PyObject *resultobj;
27871 wxPyControl *arg1 = (wxPyControl *) 0 ;
27872 PyObject *arg2 = (PyObject *) 0 ;
27873 PyObject *arg3 = (PyObject *) 0 ;
27874 PyObject * obj0 = 0 ;
27875 PyObject * obj1 = 0 ;
27876 PyObject * obj2 = 0 ;
27877 char *kwnames[] = {
27878 (char *) "self",(char *) "self",(char *) "_class", NULL
27879 };
27880
27881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27884 arg2 = obj1;
27885 arg3 = obj2;
27886 {
27887 PyThreadState* __tstate = wxPyBeginAllowThreads();
27888 (arg1)->_setCallbackInfo(arg2,arg3);
27889
27890 wxPyEndAllowThreads(__tstate);
27891 if (PyErr_Occurred()) SWIG_fail;
27892 }
27893 Py_INCREF(Py_None); resultobj = Py_None;
27894 return resultobj;
27895 fail:
27896 return NULL;
27897 }
27898
27899
27900 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
27901 PyObject *resultobj;
27902 wxPyControl *arg1 = (wxPyControl *) 0 ;
27903 int arg2 ;
27904 int arg3 ;
27905 int arg4 ;
27906 int arg5 ;
27907 PyObject * obj0 = 0 ;
27908 PyObject * obj1 = 0 ;
27909 PyObject * obj2 = 0 ;
27910 PyObject * obj3 = 0 ;
27911 PyObject * obj4 = 0 ;
27912 char *kwnames[] = {
27913 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27914 };
27915
27916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27919 arg2 = (int) SWIG_AsInt(obj1);
27920 if (PyErr_Occurred()) SWIG_fail;
27921 arg3 = (int) SWIG_AsInt(obj2);
27922 if (PyErr_Occurred()) SWIG_fail;
27923 arg4 = (int) SWIG_AsInt(obj3);
27924 if (PyErr_Occurred()) SWIG_fail;
27925 arg5 = (int) SWIG_AsInt(obj4);
27926 if (PyErr_Occurred()) SWIG_fail;
27927 {
27928 PyThreadState* __tstate = wxPyBeginAllowThreads();
27929 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
27930
27931 wxPyEndAllowThreads(__tstate);
27932 if (PyErr_Occurred()) SWIG_fail;
27933 }
27934 Py_INCREF(Py_None); resultobj = Py_None;
27935 return resultobj;
27936 fail:
27937 return NULL;
27938 }
27939
27940
27941 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
27942 PyObject *resultobj;
27943 wxPyControl *arg1 = (wxPyControl *) 0 ;
27944 int arg2 ;
27945 int arg3 ;
27946 int arg4 ;
27947 int arg5 ;
27948 int arg6 = (int) wxSIZE_AUTO ;
27949 PyObject * obj0 = 0 ;
27950 PyObject * obj1 = 0 ;
27951 PyObject * obj2 = 0 ;
27952 PyObject * obj3 = 0 ;
27953 PyObject * obj4 = 0 ;
27954 PyObject * obj5 = 0 ;
27955 char *kwnames[] = {
27956 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27957 };
27958
27959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27962 arg2 = (int) SWIG_AsInt(obj1);
27963 if (PyErr_Occurred()) SWIG_fail;
27964 arg3 = (int) SWIG_AsInt(obj2);
27965 if (PyErr_Occurred()) SWIG_fail;
27966 arg4 = (int) SWIG_AsInt(obj3);
27967 if (PyErr_Occurred()) SWIG_fail;
27968 arg5 = (int) SWIG_AsInt(obj4);
27969 if (PyErr_Occurred()) SWIG_fail;
27970 if (obj5) {
27971 arg6 = (int) SWIG_AsInt(obj5);
27972 if (PyErr_Occurred()) SWIG_fail;
27973 }
27974 {
27975 PyThreadState* __tstate = wxPyBeginAllowThreads();
27976 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
27977
27978 wxPyEndAllowThreads(__tstate);
27979 if (PyErr_Occurred()) SWIG_fail;
27980 }
27981 Py_INCREF(Py_None); resultobj = Py_None;
27982 return resultobj;
27983 fail:
27984 return NULL;
27985 }
27986
27987
27988 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
27989 PyObject *resultobj;
27990 wxPyControl *arg1 = (wxPyControl *) 0 ;
27991 int arg2 ;
27992 int arg3 ;
27993 PyObject * obj0 = 0 ;
27994 PyObject * obj1 = 0 ;
27995 PyObject * obj2 = 0 ;
27996 char *kwnames[] = {
27997 (char *) "self",(char *) "width",(char *) "height", NULL
27998 };
27999
28000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28003 arg2 = (int) SWIG_AsInt(obj1);
28004 if (PyErr_Occurred()) SWIG_fail;
28005 arg3 = (int) SWIG_AsInt(obj2);
28006 if (PyErr_Occurred()) SWIG_fail;
28007 {
28008 PyThreadState* __tstate = wxPyBeginAllowThreads();
28009 (arg1)->base_DoSetClientSize(arg2,arg3);
28010
28011 wxPyEndAllowThreads(__tstate);
28012 if (PyErr_Occurred()) SWIG_fail;
28013 }
28014 Py_INCREF(Py_None); resultobj = Py_None;
28015 return resultobj;
28016 fail:
28017 return NULL;
28018 }
28019
28020
28021 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
28022 PyObject *resultobj;
28023 wxPyControl *arg1 = (wxPyControl *) 0 ;
28024 int arg2 ;
28025 int arg3 ;
28026 PyObject * obj0 = 0 ;
28027 PyObject * obj1 = 0 ;
28028 PyObject * obj2 = 0 ;
28029 char *kwnames[] = {
28030 (char *) "self",(char *) "x",(char *) "y", NULL
28031 };
28032
28033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28036 arg2 = (int) SWIG_AsInt(obj1);
28037 if (PyErr_Occurred()) SWIG_fail;
28038 arg3 = (int) SWIG_AsInt(obj2);
28039 if (PyErr_Occurred()) SWIG_fail;
28040 {
28041 PyThreadState* __tstate = wxPyBeginAllowThreads();
28042 (arg1)->base_DoSetVirtualSize(arg2,arg3);
28043
28044 wxPyEndAllowThreads(__tstate);
28045 if (PyErr_Occurred()) SWIG_fail;
28046 }
28047 Py_INCREF(Py_None); resultobj = Py_None;
28048 return resultobj;
28049 fail:
28050 return NULL;
28051 }
28052
28053
28054 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
28055 PyObject *resultobj;
28056 wxPyControl *arg1 = (wxPyControl *) 0 ;
28057 int *arg2 = (int *) 0 ;
28058 int *arg3 = (int *) 0 ;
28059 int temp2 ;
28060 int temp3 ;
28061 PyObject * obj0 = 0 ;
28062 char *kwnames[] = {
28063 (char *) "self", NULL
28064 };
28065
28066 arg2 = &temp2;
28067 arg3 = &temp3;
28068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
28069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28071 {
28072 PyThreadState* __tstate = wxPyBeginAllowThreads();
28073 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
28074
28075 wxPyEndAllowThreads(__tstate);
28076 if (PyErr_Occurred()) SWIG_fail;
28077 }
28078 Py_INCREF(Py_None); resultobj = Py_None;
28079 {
28080 PyObject *o = PyInt_FromLong((long) (*arg2));
28081 resultobj = t_output_helper(resultobj,o);
28082 }
28083 {
28084 PyObject *o = PyInt_FromLong((long) (*arg3));
28085 resultobj = t_output_helper(resultobj,o);
28086 }
28087 return resultobj;
28088 fail:
28089 return NULL;
28090 }
28091
28092
28093 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
28094 PyObject *resultobj;
28095 wxPyControl *arg1 = (wxPyControl *) 0 ;
28096 int *arg2 = (int *) 0 ;
28097 int *arg3 = (int *) 0 ;
28098 int temp2 ;
28099 int temp3 ;
28100 PyObject * obj0 = 0 ;
28101 char *kwnames[] = {
28102 (char *) "self", NULL
28103 };
28104
28105 arg2 = &temp2;
28106 arg3 = &temp3;
28107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
28108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28110 {
28111 PyThreadState* __tstate = wxPyBeginAllowThreads();
28112 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
28113
28114 wxPyEndAllowThreads(__tstate);
28115 if (PyErr_Occurred()) SWIG_fail;
28116 }
28117 Py_INCREF(Py_None); resultobj = Py_None;
28118 {
28119 PyObject *o = PyInt_FromLong((long) (*arg2));
28120 resultobj = t_output_helper(resultobj,o);
28121 }
28122 {
28123 PyObject *o = PyInt_FromLong((long) (*arg3));
28124 resultobj = t_output_helper(resultobj,o);
28125 }
28126 return resultobj;
28127 fail:
28128 return NULL;
28129 }
28130
28131
28132 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
28133 PyObject *resultobj;
28134 wxPyControl *arg1 = (wxPyControl *) 0 ;
28135 int *arg2 = (int *) 0 ;
28136 int *arg3 = (int *) 0 ;
28137 int temp2 ;
28138 int temp3 ;
28139 PyObject * obj0 = 0 ;
28140 char *kwnames[] = {
28141 (char *) "self", NULL
28142 };
28143
28144 arg2 = &temp2;
28145 arg3 = &temp3;
28146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
28147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28149 {
28150 PyThreadState* __tstate = wxPyBeginAllowThreads();
28151 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
28152
28153 wxPyEndAllowThreads(__tstate);
28154 if (PyErr_Occurred()) SWIG_fail;
28155 }
28156 Py_INCREF(Py_None); resultobj = Py_None;
28157 {
28158 PyObject *o = PyInt_FromLong((long) (*arg2));
28159 resultobj = t_output_helper(resultobj,o);
28160 }
28161 {
28162 PyObject *o = PyInt_FromLong((long) (*arg3));
28163 resultobj = t_output_helper(resultobj,o);
28164 }
28165 return resultobj;
28166 fail:
28167 return NULL;
28168 }
28169
28170
28171 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
28172 PyObject *resultobj;
28173 wxPyControl *arg1 = (wxPyControl *) 0 ;
28174 wxSize result;
28175 PyObject * obj0 = 0 ;
28176 char *kwnames[] = {
28177 (char *) "self", NULL
28178 };
28179
28180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
28181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28183 {
28184 PyThreadState* __tstate = wxPyBeginAllowThreads();
28185 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
28186
28187 wxPyEndAllowThreads(__tstate);
28188 if (PyErr_Occurred()) SWIG_fail;
28189 }
28190 {
28191 wxSize * resultptr;
28192 resultptr = new wxSize((wxSize &) result);
28193 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28194 }
28195 return resultobj;
28196 fail:
28197 return NULL;
28198 }
28199
28200
28201 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
28202 PyObject *resultobj;
28203 wxPyControl *arg1 = (wxPyControl *) 0 ;
28204 wxSize result;
28205 PyObject * obj0 = 0 ;
28206 char *kwnames[] = {
28207 (char *) "self", NULL
28208 };
28209
28210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
28211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28213 {
28214 PyThreadState* __tstate = wxPyBeginAllowThreads();
28215 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
28216
28217 wxPyEndAllowThreads(__tstate);
28218 if (PyErr_Occurred()) SWIG_fail;
28219 }
28220 {
28221 wxSize * resultptr;
28222 resultptr = new wxSize((wxSize &) result);
28223 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28224 }
28225 return resultobj;
28226 fail:
28227 return NULL;
28228 }
28229
28230
28231 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
28232 PyObject *resultobj;
28233 wxPyControl *arg1 = (wxPyControl *) 0 ;
28234 PyObject * obj0 = 0 ;
28235 char *kwnames[] = {
28236 (char *) "self", NULL
28237 };
28238
28239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
28240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28242 {
28243 PyThreadState* __tstate = wxPyBeginAllowThreads();
28244 (arg1)->base_InitDialog();
28245
28246 wxPyEndAllowThreads(__tstate);
28247 if (PyErr_Occurred()) SWIG_fail;
28248 }
28249 Py_INCREF(Py_None); resultobj = Py_None;
28250 return resultobj;
28251 fail:
28252 return NULL;
28253 }
28254
28255
28256 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
28257 PyObject *resultobj;
28258 wxPyControl *arg1 = (wxPyControl *) 0 ;
28259 bool result;
28260 PyObject * obj0 = 0 ;
28261 char *kwnames[] = {
28262 (char *) "self", NULL
28263 };
28264
28265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
28266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28268 {
28269 PyThreadState* __tstate = wxPyBeginAllowThreads();
28270 result = (bool)(arg1)->base_TransferDataToWindow();
28271
28272 wxPyEndAllowThreads(__tstate);
28273 if (PyErr_Occurred()) SWIG_fail;
28274 }
28275 {
28276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28277 }
28278 return resultobj;
28279 fail:
28280 return NULL;
28281 }
28282
28283
28284 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
28285 PyObject *resultobj;
28286 wxPyControl *arg1 = (wxPyControl *) 0 ;
28287 bool result;
28288 PyObject * obj0 = 0 ;
28289 char *kwnames[] = {
28290 (char *) "self", NULL
28291 };
28292
28293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
28294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28296 {
28297 PyThreadState* __tstate = wxPyBeginAllowThreads();
28298 result = (bool)(arg1)->base_TransferDataFromWindow();
28299
28300 wxPyEndAllowThreads(__tstate);
28301 if (PyErr_Occurred()) SWIG_fail;
28302 }
28303 {
28304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28305 }
28306 return resultobj;
28307 fail:
28308 return NULL;
28309 }
28310
28311
28312 static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
28313 PyObject *resultobj;
28314 wxPyControl *arg1 = (wxPyControl *) 0 ;
28315 bool result;
28316 PyObject * obj0 = 0 ;
28317 char *kwnames[] = {
28318 (char *) "self", NULL
28319 };
28320
28321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
28322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28324 {
28325 PyThreadState* __tstate = wxPyBeginAllowThreads();
28326 result = (bool)(arg1)->base_Validate();
28327
28328 wxPyEndAllowThreads(__tstate);
28329 if (PyErr_Occurred()) SWIG_fail;
28330 }
28331 {
28332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28333 }
28334 return resultobj;
28335 fail:
28336 return NULL;
28337 }
28338
28339
28340 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
28341 PyObject *resultobj;
28342 wxPyControl *arg1 = (wxPyControl *) 0 ;
28343 bool result;
28344 PyObject * obj0 = 0 ;
28345 char *kwnames[] = {
28346 (char *) "self", NULL
28347 };
28348
28349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
28350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28352 {
28353 PyThreadState* __tstate = wxPyBeginAllowThreads();
28354 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
28355
28356 wxPyEndAllowThreads(__tstate);
28357 if (PyErr_Occurred()) SWIG_fail;
28358 }
28359 {
28360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28361 }
28362 return resultobj;
28363 fail:
28364 return NULL;
28365 }
28366
28367
28368 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
28369 PyObject *resultobj;
28370 wxPyControl *arg1 = (wxPyControl *) 0 ;
28371 bool result;
28372 PyObject * obj0 = 0 ;
28373 char *kwnames[] = {
28374 (char *) "self", NULL
28375 };
28376
28377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
28378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28380 {
28381 PyThreadState* __tstate = wxPyBeginAllowThreads();
28382 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
28383
28384 wxPyEndAllowThreads(__tstate);
28385 if (PyErr_Occurred()) SWIG_fail;
28386 }
28387 {
28388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28389 }
28390 return resultobj;
28391 fail:
28392 return NULL;
28393 }
28394
28395
28396 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
28397 PyObject *resultobj;
28398 wxPyControl *arg1 = (wxPyControl *) 0 ;
28399 wxSize result;
28400 PyObject * obj0 = 0 ;
28401 char *kwnames[] = {
28402 (char *) "self", NULL
28403 };
28404
28405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
28406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28408 {
28409 PyThreadState* __tstate = wxPyBeginAllowThreads();
28410 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
28411
28412 wxPyEndAllowThreads(__tstate);
28413 if (PyErr_Occurred()) SWIG_fail;
28414 }
28415 {
28416 wxSize * resultptr;
28417 resultptr = new wxSize((wxSize &) result);
28418 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28419 }
28420 return resultobj;
28421 fail:
28422 return NULL;
28423 }
28424
28425
28426 static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
28427 PyObject *resultobj;
28428 wxPyControl *arg1 = (wxPyControl *) 0 ;
28429 wxWindow *arg2 = (wxWindow *) 0 ;
28430 PyObject * obj0 = 0 ;
28431 PyObject * obj1 = 0 ;
28432 char *kwnames[] = {
28433 (char *) "self",(char *) "child", NULL
28434 };
28435
28436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
28437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28439 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28441 {
28442 PyThreadState* __tstate = wxPyBeginAllowThreads();
28443 (arg1)->base_AddChild(arg2);
28444
28445 wxPyEndAllowThreads(__tstate);
28446 if (PyErr_Occurred()) SWIG_fail;
28447 }
28448 Py_INCREF(Py_None); resultobj = Py_None;
28449 return resultobj;
28450 fail:
28451 return NULL;
28452 }
28453
28454
28455 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
28456 PyObject *resultobj;
28457 wxPyControl *arg1 = (wxPyControl *) 0 ;
28458 wxWindow *arg2 = (wxWindow *) 0 ;
28459 PyObject * obj0 = 0 ;
28460 PyObject * obj1 = 0 ;
28461 char *kwnames[] = {
28462 (char *) "self",(char *) "child", NULL
28463 };
28464
28465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
28466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28468 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28470 {
28471 PyThreadState* __tstate = wxPyBeginAllowThreads();
28472 (arg1)->base_RemoveChild(arg2);
28473
28474 wxPyEndAllowThreads(__tstate);
28475 if (PyErr_Occurred()) SWIG_fail;
28476 }
28477 Py_INCREF(Py_None); resultobj = Py_None;
28478 return resultobj;
28479 fail:
28480 return NULL;
28481 }
28482
28483
28484 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
28485 PyObject *resultobj;
28486 wxPyControl *arg1 = (wxPyControl *) 0 ;
28487 bool result;
28488 PyObject * obj0 = 0 ;
28489 char *kwnames[] = {
28490 (char *) "self", NULL
28491 };
28492
28493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
28494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28496 {
28497 PyThreadState* __tstate = wxPyBeginAllowThreads();
28498 result = (bool)(arg1)->base_ShouldInheritColours();
28499
28500 wxPyEndAllowThreads(__tstate);
28501 if (PyErr_Occurred()) SWIG_fail;
28502 }
28503 {
28504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28505 }
28506 return resultobj;
28507 fail:
28508 return NULL;
28509 }
28510
28511
28512 static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
28513 PyObject *resultobj;
28514 wxPyControl *arg1 = (wxPyControl *) 0 ;
28515 wxColour *arg2 = 0 ;
28516 wxColour temp2 ;
28517 PyObject * obj0 = 0 ;
28518 PyObject * obj1 = 0 ;
28519 char *kwnames[] = {
28520 (char *) "self",(char *) "c", NULL
28521 };
28522
28523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
28524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28526 {
28527 arg2 = &temp2;
28528 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
28529 }
28530 {
28531 PyThreadState* __tstate = wxPyBeginAllowThreads();
28532 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
28533
28534 wxPyEndAllowThreads(__tstate);
28535 if (PyErr_Occurred()) SWIG_fail;
28536 }
28537 Py_INCREF(Py_None); resultobj = Py_None;
28538 return resultobj;
28539 fail:
28540 return NULL;
28541 }
28542
28543
28544 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
28545 PyObject *obj;
28546 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28547 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
28548 Py_INCREF(obj);
28549 return Py_BuildValue((char *)"");
28550 }
28551 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
28552 PyObject *resultobj;
28553 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28554 int arg2 = (int) 0 ;
28555 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28556 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28557 wxHelpEvent *result;
28558 wxPoint temp3 ;
28559 PyObject * obj0 = 0 ;
28560 PyObject * obj1 = 0 ;
28561 PyObject * obj2 = 0 ;
28562 char *kwnames[] = {
28563 (char *) "type",(char *) "winid",(char *) "pt", NULL
28564 };
28565
28566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
28567 if (obj0) {
28568 arg1 = (wxEventType) SWIG_AsInt(obj0);
28569 if (PyErr_Occurred()) SWIG_fail;
28570 }
28571 if (obj1) {
28572 arg2 = (int) SWIG_AsInt(obj1);
28573 if (PyErr_Occurred()) SWIG_fail;
28574 }
28575 if (obj2) {
28576 {
28577 arg3 = &temp3;
28578 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28579 }
28580 }
28581 {
28582 PyThreadState* __tstate = wxPyBeginAllowThreads();
28583 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
28584
28585 wxPyEndAllowThreads(__tstate);
28586 if (PyErr_Occurred()) SWIG_fail;
28587 }
28588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
28589 return resultobj;
28590 fail:
28591 return NULL;
28592 }
28593
28594
28595 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
28596 PyObject *resultobj;
28597 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28598 wxPoint result;
28599 PyObject * obj0 = 0 ;
28600 char *kwnames[] = {
28601 (char *) "self", NULL
28602 };
28603
28604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
28605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28607 {
28608 PyThreadState* __tstate = wxPyBeginAllowThreads();
28609 result = ((wxHelpEvent const *)arg1)->GetPosition();
28610
28611 wxPyEndAllowThreads(__tstate);
28612 if (PyErr_Occurred()) SWIG_fail;
28613 }
28614 {
28615 wxPoint * resultptr;
28616 resultptr = new wxPoint((wxPoint &) result);
28617 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28618 }
28619 return resultobj;
28620 fail:
28621 return NULL;
28622 }
28623
28624
28625 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
28626 PyObject *resultobj;
28627 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28628 wxPoint *arg2 = 0 ;
28629 wxPoint temp2 ;
28630 PyObject * obj0 = 0 ;
28631 PyObject * obj1 = 0 ;
28632 char *kwnames[] = {
28633 (char *) "self",(char *) "pos", NULL
28634 };
28635
28636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
28637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28639 {
28640 arg2 = &temp2;
28641 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28642 }
28643 {
28644 PyThreadState* __tstate = wxPyBeginAllowThreads();
28645 (arg1)->SetPosition((wxPoint const &)*arg2);
28646
28647 wxPyEndAllowThreads(__tstate);
28648 if (PyErr_Occurred()) SWIG_fail;
28649 }
28650 Py_INCREF(Py_None); resultobj = Py_None;
28651 return resultobj;
28652 fail:
28653 return NULL;
28654 }
28655
28656
28657 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
28658 PyObject *resultobj;
28659 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28660 wxString *result;
28661 PyObject * obj0 = 0 ;
28662 char *kwnames[] = {
28663 (char *) "self", NULL
28664 };
28665
28666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
28667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28669 {
28670 PyThreadState* __tstate = wxPyBeginAllowThreads();
28671 {
28672 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
28673 result = (wxString *) &_result_ref;
28674 }
28675
28676 wxPyEndAllowThreads(__tstate);
28677 if (PyErr_Occurred()) SWIG_fail;
28678 }
28679 {
28680 #if wxUSE_UNICODE
28681 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28682 #else
28683 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28684 #endif
28685 }
28686 return resultobj;
28687 fail:
28688 return NULL;
28689 }
28690
28691
28692 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
28693 PyObject *resultobj;
28694 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28695 wxString *arg2 = 0 ;
28696 bool temp2 = False ;
28697 PyObject * obj0 = 0 ;
28698 PyObject * obj1 = 0 ;
28699 char *kwnames[] = {
28700 (char *) "self",(char *) "link", NULL
28701 };
28702
28703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
28704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28706 {
28707 arg2 = wxString_in_helper(obj1);
28708 if (arg2 == NULL) SWIG_fail;
28709 temp2 = True;
28710 }
28711 {
28712 PyThreadState* __tstate = wxPyBeginAllowThreads();
28713 (arg1)->SetLink((wxString const &)*arg2);
28714
28715 wxPyEndAllowThreads(__tstate);
28716 if (PyErr_Occurred()) SWIG_fail;
28717 }
28718 Py_INCREF(Py_None); resultobj = Py_None;
28719 {
28720 if (temp2)
28721 delete arg2;
28722 }
28723 return resultobj;
28724 fail:
28725 {
28726 if (temp2)
28727 delete arg2;
28728 }
28729 return NULL;
28730 }
28731
28732
28733 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
28734 PyObject *resultobj;
28735 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28736 wxString *result;
28737 PyObject * obj0 = 0 ;
28738 char *kwnames[] = {
28739 (char *) "self", NULL
28740 };
28741
28742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
28743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28745 {
28746 PyThreadState* __tstate = wxPyBeginAllowThreads();
28747 {
28748 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
28749 result = (wxString *) &_result_ref;
28750 }
28751
28752 wxPyEndAllowThreads(__tstate);
28753 if (PyErr_Occurred()) SWIG_fail;
28754 }
28755 {
28756 #if wxUSE_UNICODE
28757 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28758 #else
28759 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28760 #endif
28761 }
28762 return resultobj;
28763 fail:
28764 return NULL;
28765 }
28766
28767
28768 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
28769 PyObject *resultobj;
28770 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28771 wxString *arg2 = 0 ;
28772 bool temp2 = False ;
28773 PyObject * obj0 = 0 ;
28774 PyObject * obj1 = 0 ;
28775 char *kwnames[] = {
28776 (char *) "self",(char *) "target", NULL
28777 };
28778
28779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
28780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28782 {
28783 arg2 = wxString_in_helper(obj1);
28784 if (arg2 == NULL) SWIG_fail;
28785 temp2 = True;
28786 }
28787 {
28788 PyThreadState* __tstate = wxPyBeginAllowThreads();
28789 (arg1)->SetTarget((wxString const &)*arg2);
28790
28791 wxPyEndAllowThreads(__tstate);
28792 if (PyErr_Occurred()) SWIG_fail;
28793 }
28794 Py_INCREF(Py_None); resultobj = Py_None;
28795 {
28796 if (temp2)
28797 delete arg2;
28798 }
28799 return resultobj;
28800 fail:
28801 {
28802 if (temp2)
28803 delete arg2;
28804 }
28805 return NULL;
28806 }
28807
28808
28809 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
28810 PyObject *obj;
28811 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28812 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
28813 Py_INCREF(obj);
28814 return Py_BuildValue((char *)"");
28815 }
28816 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28817 PyObject *resultobj;
28818 wxWindow *arg1 = (wxWindow *) NULL ;
28819 bool arg2 = (bool) True ;
28820 wxContextHelp *result;
28821 PyObject * obj0 = 0 ;
28822 PyObject * obj1 = 0 ;
28823 char *kwnames[] = {
28824 (char *) "window",(char *) "doNow", NULL
28825 };
28826
28827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
28828 if (obj0) {
28829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28831 }
28832 if (obj1) {
28833 arg2 = (bool) SWIG_AsBool(obj1);
28834 if (PyErr_Occurred()) SWIG_fail;
28835 }
28836 {
28837 PyThreadState* __tstate = wxPyBeginAllowThreads();
28838 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
28839
28840 wxPyEndAllowThreads(__tstate);
28841 if (PyErr_Occurred()) SWIG_fail;
28842 }
28843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
28844 return resultobj;
28845 fail:
28846 return NULL;
28847 }
28848
28849
28850 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28851 PyObject *resultobj;
28852 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28853 PyObject * obj0 = 0 ;
28854 char *kwnames[] = {
28855 (char *) "self", NULL
28856 };
28857
28858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
28859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28861 {
28862 PyThreadState* __tstate = wxPyBeginAllowThreads();
28863 delete arg1;
28864
28865 wxPyEndAllowThreads(__tstate);
28866 if (PyErr_Occurred()) SWIG_fail;
28867 }
28868 Py_INCREF(Py_None); resultobj = Py_None;
28869 return resultobj;
28870 fail:
28871 return NULL;
28872 }
28873
28874
28875 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28876 PyObject *resultobj;
28877 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28878 wxWindow *arg2 = (wxWindow *) NULL ;
28879 bool result;
28880 PyObject * obj0 = 0 ;
28881 PyObject * obj1 = 0 ;
28882 char *kwnames[] = {
28883 (char *) "self",(char *) "window", NULL
28884 };
28885
28886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
28887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28889 if (obj1) {
28890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28892 }
28893 {
28894 PyThreadState* __tstate = wxPyBeginAllowThreads();
28895 result = (bool)(arg1)->BeginContextHelp(arg2);
28896
28897 wxPyEndAllowThreads(__tstate);
28898 if (PyErr_Occurred()) SWIG_fail;
28899 }
28900 {
28901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28902 }
28903 return resultobj;
28904 fail:
28905 return NULL;
28906 }
28907
28908
28909 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28910 PyObject *resultobj;
28911 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28912 bool result;
28913 PyObject * obj0 = 0 ;
28914 char *kwnames[] = {
28915 (char *) "self", NULL
28916 };
28917
28918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
28919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28921 {
28922 PyThreadState* __tstate = wxPyBeginAllowThreads();
28923 result = (bool)(arg1)->EndContextHelp();
28924
28925 wxPyEndAllowThreads(__tstate);
28926 if (PyErr_Occurred()) SWIG_fail;
28927 }
28928 {
28929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28930 }
28931 return resultobj;
28932 fail:
28933 return NULL;
28934 }
28935
28936
28937 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
28938 PyObject *obj;
28939 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28940 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
28941 Py_INCREF(obj);
28942 return Py_BuildValue((char *)"");
28943 }
28944 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
28945 PyObject *resultobj;
28946 wxWindow *arg1 = (wxWindow *) 0 ;
28947 int arg2 = (int) wxID_CONTEXT_HELP ;
28948 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28949 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28950 wxSize const &arg4_defvalue = wxDefaultSize ;
28951 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28952 long arg5 = (long) wxBU_AUTODRAW ;
28953 wxContextHelpButton *result;
28954 wxPoint temp3 ;
28955 wxSize temp4 ;
28956 PyObject * obj0 = 0 ;
28957 PyObject * obj1 = 0 ;
28958 PyObject * obj2 = 0 ;
28959 PyObject * obj3 = 0 ;
28960 PyObject * obj4 = 0 ;
28961 char *kwnames[] = {
28962 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28963 };
28964
28965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28968 if (obj1) {
28969 arg2 = (int) SWIG_AsInt(obj1);
28970 if (PyErr_Occurred()) SWIG_fail;
28971 }
28972 if (obj2) {
28973 {
28974 arg3 = &temp3;
28975 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28976 }
28977 }
28978 if (obj3) {
28979 {
28980 arg4 = &temp4;
28981 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28982 }
28983 }
28984 if (obj4) {
28985 arg5 = (long) SWIG_AsLong(obj4);
28986 if (PyErr_Occurred()) SWIG_fail;
28987 }
28988 {
28989 PyThreadState* __tstate = wxPyBeginAllowThreads();
28990 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28991
28992 wxPyEndAllowThreads(__tstate);
28993 if (PyErr_Occurred()) SWIG_fail;
28994 }
28995 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
28996 return resultobj;
28997 fail:
28998 return NULL;
28999 }
29000
29001
29002 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
29003 PyObject *obj;
29004 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29005 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
29006 Py_INCREF(obj);
29007 return Py_BuildValue((char *)"");
29008 }
29009 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
29010 PyObject *resultobj;
29011 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29012 wxHelpProvider *result;
29013 PyObject * obj0 = 0 ;
29014 char *kwnames[] = {
29015 (char *) "helpProvider", NULL
29016 };
29017
29018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
29019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29021 {
29022 PyThreadState* __tstate = wxPyBeginAllowThreads();
29023 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
29024
29025 wxPyEndAllowThreads(__tstate);
29026 if (PyErr_Occurred()) SWIG_fail;
29027 }
29028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
29029 return resultobj;
29030 fail:
29031 return NULL;
29032 }
29033
29034
29035 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
29036 PyObject *resultobj;
29037 wxHelpProvider *result;
29038 char *kwnames[] = {
29039 NULL
29040 };
29041
29042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
29043 {
29044 PyThreadState* __tstate = wxPyBeginAllowThreads();
29045 result = (wxHelpProvider *)wxHelpProvider::Get();
29046
29047 wxPyEndAllowThreads(__tstate);
29048 if (PyErr_Occurred()) SWIG_fail;
29049 }
29050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
29051 return resultobj;
29052 fail:
29053 return NULL;
29054 }
29055
29056
29057 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
29058 PyObject *resultobj;
29059 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29060 wxWindow *arg2 = (wxWindow *) 0 ;
29061 wxString result;
29062 PyObject * obj0 = 0 ;
29063 PyObject * obj1 = 0 ;
29064 char *kwnames[] = {
29065 (char *) "self",(char *) "window", NULL
29066 };
29067
29068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
29069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29071 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29073 {
29074 PyThreadState* __tstate = wxPyBeginAllowThreads();
29075 result = (arg1)->GetHelp((wxWindow const *)arg2);
29076
29077 wxPyEndAllowThreads(__tstate);
29078 if (PyErr_Occurred()) SWIG_fail;
29079 }
29080 {
29081 #if wxUSE_UNICODE
29082 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29083 #else
29084 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29085 #endif
29086 }
29087 return resultobj;
29088 fail:
29089 return NULL;
29090 }
29091
29092
29093 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
29094 PyObject *resultobj;
29095 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29096 wxWindow *arg2 = (wxWindow *) 0 ;
29097 bool result;
29098 PyObject * obj0 = 0 ;
29099 PyObject * obj1 = 0 ;
29100 char *kwnames[] = {
29101 (char *) "self",(char *) "window", NULL
29102 };
29103
29104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
29105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29107 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29109 {
29110 PyThreadState* __tstate = wxPyBeginAllowThreads();
29111 result = (bool)(arg1)->ShowHelp(arg2);
29112
29113 wxPyEndAllowThreads(__tstate);
29114 if (PyErr_Occurred()) SWIG_fail;
29115 }
29116 {
29117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29118 }
29119 return resultobj;
29120 fail:
29121 return NULL;
29122 }
29123
29124
29125 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
29126 PyObject *resultobj;
29127 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29128 wxWindow *arg2 = (wxWindow *) 0 ;
29129 wxString *arg3 = 0 ;
29130 bool temp3 = False ;
29131 PyObject * obj0 = 0 ;
29132 PyObject * obj1 = 0 ;
29133 PyObject * obj2 = 0 ;
29134 char *kwnames[] = {
29135 (char *) "self",(char *) "window",(char *) "text", NULL
29136 };
29137
29138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
29139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29141 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29143 {
29144 arg3 = wxString_in_helper(obj2);
29145 if (arg3 == NULL) SWIG_fail;
29146 temp3 = True;
29147 }
29148 {
29149 PyThreadState* __tstate = wxPyBeginAllowThreads();
29150 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29151
29152 wxPyEndAllowThreads(__tstate);
29153 if (PyErr_Occurred()) SWIG_fail;
29154 }
29155 Py_INCREF(Py_None); resultobj = Py_None;
29156 {
29157 if (temp3)
29158 delete arg3;
29159 }
29160 return resultobj;
29161 fail:
29162 {
29163 if (temp3)
29164 delete arg3;
29165 }
29166 return NULL;
29167 }
29168
29169
29170 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
29171 PyObject *resultobj;
29172 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29173 int arg2 ;
29174 wxString *arg3 = 0 ;
29175 bool temp3 = False ;
29176 PyObject * obj0 = 0 ;
29177 PyObject * obj1 = 0 ;
29178 PyObject * obj2 = 0 ;
29179 char *kwnames[] = {
29180 (char *) "self",(char *) "id",(char *) "text", NULL
29181 };
29182
29183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
29184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29186 arg2 = (int) SWIG_AsInt(obj1);
29187 if (PyErr_Occurred()) SWIG_fail;
29188 {
29189 arg3 = wxString_in_helper(obj2);
29190 if (arg3 == NULL) SWIG_fail;
29191 temp3 = True;
29192 }
29193 {
29194 PyThreadState* __tstate = wxPyBeginAllowThreads();
29195 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29196
29197 wxPyEndAllowThreads(__tstate);
29198 if (PyErr_Occurred()) SWIG_fail;
29199 }
29200 Py_INCREF(Py_None); resultobj = Py_None;
29201 {
29202 if (temp3)
29203 delete arg3;
29204 }
29205 return resultobj;
29206 fail:
29207 {
29208 if (temp3)
29209 delete arg3;
29210 }
29211 return NULL;
29212 }
29213
29214
29215 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
29216 PyObject *resultobj;
29217 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29218 wxWindow *arg2 = (wxWindow *) 0 ;
29219 PyObject * obj0 = 0 ;
29220 PyObject * obj1 = 0 ;
29221 char *kwnames[] = {
29222 (char *) "self",(char *) "window", NULL
29223 };
29224
29225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
29226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29228 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29230 {
29231 PyThreadState* __tstate = wxPyBeginAllowThreads();
29232 (arg1)->RemoveHelp(arg2);
29233
29234 wxPyEndAllowThreads(__tstate);
29235 if (PyErr_Occurred()) SWIG_fail;
29236 }
29237 Py_INCREF(Py_None); resultobj = Py_None;
29238 return resultobj;
29239 fail:
29240 return NULL;
29241 }
29242
29243
29244 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
29245 PyObject *resultobj;
29246 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29247 PyObject * obj0 = 0 ;
29248 char *kwnames[] = {
29249 (char *) "self", NULL
29250 };
29251
29252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
29253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29255 {
29256 PyThreadState* __tstate = wxPyBeginAllowThreads();
29257 wxHelpProvider_Destroy(arg1);
29258
29259 wxPyEndAllowThreads(__tstate);
29260 if (PyErr_Occurred()) SWIG_fail;
29261 }
29262 Py_INCREF(Py_None); resultobj = Py_None;
29263 return resultobj;
29264 fail:
29265 return NULL;
29266 }
29267
29268
29269 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
29270 PyObject *obj;
29271 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29272 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
29273 Py_INCREF(obj);
29274 return Py_BuildValue((char *)"");
29275 }
29276 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
29277 PyObject *resultobj;
29278 wxSimpleHelpProvider *result;
29279 char *kwnames[] = {
29280 NULL
29281 };
29282
29283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
29284 {
29285 PyThreadState* __tstate = wxPyBeginAllowThreads();
29286 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
29287
29288 wxPyEndAllowThreads(__tstate);
29289 if (PyErr_Occurred()) SWIG_fail;
29290 }
29291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
29292 return resultobj;
29293 fail:
29294 return NULL;
29295 }
29296
29297
29298 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
29299 PyObject *obj;
29300 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29301 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
29302 Py_INCREF(obj);
29303 return Py_BuildValue((char *)"");
29304 }
29305 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
29306 PyObject *resultobj;
29307 wxBitmap *arg1 = 0 ;
29308 wxCursor const &arg2_defvalue = wxNullCursor ;
29309 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29310 wxGenericDragImage *result;
29311 PyObject * obj0 = 0 ;
29312 PyObject * obj1 = 0 ;
29313 char *kwnames[] = {
29314 (char *) "image",(char *) "cursor", NULL
29315 };
29316
29317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
29318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
29319 SWIG_POINTER_EXCEPTION | 0)) == -1)
29320 SWIG_fail;
29321 if (arg1 == NULL) {
29322 PyErr_SetString(PyExc_TypeError,"null reference");
29323 SWIG_fail;
29324 }
29325 if (obj1) {
29326 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29327 SWIG_POINTER_EXCEPTION | 0)) == -1)
29328 SWIG_fail;
29329 if (arg2 == NULL) {
29330 PyErr_SetString(PyExc_TypeError,"null reference");
29331 SWIG_fail;
29332 }
29333 }
29334 {
29335 PyThreadState* __tstate = wxPyBeginAllowThreads();
29336 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
29337
29338 wxPyEndAllowThreads(__tstate);
29339 if (PyErr_Occurred()) SWIG_fail;
29340 }
29341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29342 return resultobj;
29343 fail:
29344 return NULL;
29345 }
29346
29347
29348 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
29349 PyObject *resultobj;
29350 wxIcon *arg1 = 0 ;
29351 wxCursor const &arg2_defvalue = wxNullCursor ;
29352 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29353 wxGenericDragImage *result;
29354 PyObject * obj0 = 0 ;
29355 PyObject * obj1 = 0 ;
29356 char *kwnames[] = {
29357 (char *) "image",(char *) "cursor", NULL
29358 };
29359
29360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
29361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
29362 SWIG_POINTER_EXCEPTION | 0)) == -1)
29363 SWIG_fail;
29364 if (arg1 == NULL) {
29365 PyErr_SetString(PyExc_TypeError,"null reference");
29366 SWIG_fail;
29367 }
29368 if (obj1) {
29369 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29370 SWIG_POINTER_EXCEPTION | 0)) == -1)
29371 SWIG_fail;
29372 if (arg2 == NULL) {
29373 PyErr_SetString(PyExc_TypeError,"null reference");
29374 SWIG_fail;
29375 }
29376 }
29377 {
29378 PyThreadState* __tstate = wxPyBeginAllowThreads();
29379 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
29380
29381 wxPyEndAllowThreads(__tstate);
29382 if (PyErr_Occurred()) SWIG_fail;
29383 }
29384 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29385 return resultobj;
29386 fail:
29387 return NULL;
29388 }
29389
29390
29391 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
29392 PyObject *resultobj;
29393 wxString *arg1 = 0 ;
29394 wxCursor const &arg2_defvalue = wxNullCursor ;
29395 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29396 wxGenericDragImage *result;
29397 bool temp1 = False ;
29398 PyObject * obj0 = 0 ;
29399 PyObject * obj1 = 0 ;
29400 char *kwnames[] = {
29401 (char *) "str",(char *) "cursor", NULL
29402 };
29403
29404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
29405 {
29406 arg1 = wxString_in_helper(obj0);
29407 if (arg1 == NULL) SWIG_fail;
29408 temp1 = True;
29409 }
29410 if (obj1) {
29411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29412 SWIG_POINTER_EXCEPTION | 0)) == -1)
29413 SWIG_fail;
29414 if (arg2 == NULL) {
29415 PyErr_SetString(PyExc_TypeError,"null reference");
29416 SWIG_fail;
29417 }
29418 }
29419 {
29420 PyThreadState* __tstate = wxPyBeginAllowThreads();
29421 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
29422
29423 wxPyEndAllowThreads(__tstate);
29424 if (PyErr_Occurred()) SWIG_fail;
29425 }
29426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29427 {
29428 if (temp1)
29429 delete arg1;
29430 }
29431 return resultobj;
29432 fail:
29433 {
29434 if (temp1)
29435 delete arg1;
29436 }
29437 return NULL;
29438 }
29439
29440
29441 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
29442 PyObject *resultobj;
29443 wxPyTreeCtrl *arg1 = 0 ;
29444 wxTreeItemId *arg2 = 0 ;
29445 wxGenericDragImage *result;
29446 PyObject * obj0 = 0 ;
29447 PyObject * obj1 = 0 ;
29448 char *kwnames[] = {
29449 (char *) "treeCtrl",(char *) "id", NULL
29450 };
29451
29452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
29453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
29454 SWIG_POINTER_EXCEPTION | 0)) == -1)
29455 SWIG_fail;
29456 if (arg1 == NULL) {
29457 PyErr_SetString(PyExc_TypeError,"null reference");
29458 SWIG_fail;
29459 }
29460 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
29461 SWIG_POINTER_EXCEPTION | 0)) == -1)
29462 SWIG_fail;
29463 if (arg2 == NULL) {
29464 PyErr_SetString(PyExc_TypeError,"null reference");
29465 SWIG_fail;
29466 }
29467 {
29468 PyThreadState* __tstate = wxPyBeginAllowThreads();
29469 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
29470
29471 wxPyEndAllowThreads(__tstate);
29472 if (PyErr_Occurred()) SWIG_fail;
29473 }
29474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29475 return resultobj;
29476 fail:
29477 return NULL;
29478 }
29479
29480
29481 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
29482 PyObject *resultobj;
29483 wxPyListCtrl *arg1 = 0 ;
29484 long arg2 ;
29485 wxGenericDragImage *result;
29486 PyObject * obj0 = 0 ;
29487 PyObject * obj1 = 0 ;
29488 char *kwnames[] = {
29489 (char *) "listCtrl",(char *) "id", NULL
29490 };
29491
29492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
29493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
29494 SWIG_POINTER_EXCEPTION | 0)) == -1)
29495 SWIG_fail;
29496 if (arg1 == NULL) {
29497 PyErr_SetString(PyExc_TypeError,"null reference");
29498 SWIG_fail;
29499 }
29500 arg2 = (long) SWIG_AsLong(obj1);
29501 if (PyErr_Occurred()) SWIG_fail;
29502 {
29503 PyThreadState* __tstate = wxPyBeginAllowThreads();
29504 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
29505
29506 wxPyEndAllowThreads(__tstate);
29507 if (PyErr_Occurred()) SWIG_fail;
29508 }
29509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29510 return resultobj;
29511 fail:
29512 return NULL;
29513 }
29514
29515
29516 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
29517 PyObject *resultobj;
29518 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29519 PyObject * obj0 = 0 ;
29520 char *kwnames[] = {
29521 (char *) "self", NULL
29522 };
29523
29524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
29525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29527 {
29528 PyThreadState* __tstate = wxPyBeginAllowThreads();
29529 delete arg1;
29530
29531 wxPyEndAllowThreads(__tstate);
29532 if (PyErr_Occurred()) SWIG_fail;
29533 }
29534 Py_INCREF(Py_None); resultobj = Py_None;
29535 return resultobj;
29536 fail:
29537 return NULL;
29538 }
29539
29540
29541 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
29542 PyObject *resultobj;
29543 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29544 wxBitmap *arg2 = (wxBitmap *) 0 ;
29545 PyObject * obj0 = 0 ;
29546 PyObject * obj1 = 0 ;
29547 char *kwnames[] = {
29548 (char *) "self",(char *) "bitmap", NULL
29549 };
29550
29551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
29552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29554 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
29555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29556 {
29557 PyThreadState* __tstate = wxPyBeginAllowThreads();
29558 (arg1)->SetBackingBitmap(arg2);
29559
29560 wxPyEndAllowThreads(__tstate);
29561 if (PyErr_Occurred()) SWIG_fail;
29562 }
29563 Py_INCREF(Py_None); resultobj = Py_None;
29564 return resultobj;
29565 fail:
29566 return NULL;
29567 }
29568
29569
29570 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
29571 PyObject *resultobj;
29572 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29573 wxPoint *arg2 = 0 ;
29574 wxWindow *arg3 = (wxWindow *) 0 ;
29575 bool arg4 = (bool) False ;
29576 wxRect *arg5 = (wxRect *) NULL ;
29577 bool result;
29578 wxPoint temp2 ;
29579 PyObject * obj0 = 0 ;
29580 PyObject * obj1 = 0 ;
29581 PyObject * obj2 = 0 ;
29582 PyObject * obj3 = 0 ;
29583 PyObject * obj4 = 0 ;
29584 char *kwnames[] = {
29585 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29586 };
29587
29588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29591 {
29592 arg2 = &temp2;
29593 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29594 }
29595 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29597 if (obj3) {
29598 arg4 = (bool) SWIG_AsBool(obj3);
29599 if (PyErr_Occurred()) SWIG_fail;
29600 }
29601 if (obj4) {
29602 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
29603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29604 }
29605 {
29606 PyThreadState* __tstate = wxPyBeginAllowThreads();
29607 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
29608
29609 wxPyEndAllowThreads(__tstate);
29610 if (PyErr_Occurred()) SWIG_fail;
29611 }
29612 {
29613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29614 }
29615 return resultobj;
29616 fail:
29617 return NULL;
29618 }
29619
29620
29621 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
29622 PyObject *resultobj;
29623 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29624 wxPoint *arg2 = 0 ;
29625 wxWindow *arg3 = (wxWindow *) 0 ;
29626 wxWindow *arg4 = (wxWindow *) 0 ;
29627 bool result;
29628 wxPoint temp2 ;
29629 PyObject * obj0 = 0 ;
29630 PyObject * obj1 = 0 ;
29631 PyObject * obj2 = 0 ;
29632 PyObject * obj3 = 0 ;
29633 char *kwnames[] = {
29634 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29635 };
29636
29637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29640 {
29641 arg2 = &temp2;
29642 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29643 }
29644 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29646 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
29647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29648 {
29649 PyThreadState* __tstate = wxPyBeginAllowThreads();
29650 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
29651
29652 wxPyEndAllowThreads(__tstate);
29653 if (PyErr_Occurred()) SWIG_fail;
29654 }
29655 {
29656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29657 }
29658 return resultobj;
29659 fail:
29660 return NULL;
29661 }
29662
29663
29664 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
29665 PyObject *resultobj;
29666 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29667 bool result;
29668 PyObject * obj0 = 0 ;
29669 char *kwnames[] = {
29670 (char *) "self", NULL
29671 };
29672
29673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
29674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29676 {
29677 PyThreadState* __tstate = wxPyBeginAllowThreads();
29678 result = (bool)(arg1)->EndDrag();
29679
29680 wxPyEndAllowThreads(__tstate);
29681 if (PyErr_Occurred()) SWIG_fail;
29682 }
29683 {
29684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29685 }
29686 return resultobj;
29687 fail:
29688 return NULL;
29689 }
29690
29691
29692 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
29693 PyObject *resultobj;
29694 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29695 wxPoint *arg2 = 0 ;
29696 bool result;
29697 wxPoint temp2 ;
29698 PyObject * obj0 = 0 ;
29699 PyObject * obj1 = 0 ;
29700 char *kwnames[] = {
29701 (char *) "self",(char *) "pt", NULL
29702 };
29703
29704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
29705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29707 {
29708 arg2 = &temp2;
29709 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29710 }
29711 {
29712 PyThreadState* __tstate = wxPyBeginAllowThreads();
29713 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
29714
29715 wxPyEndAllowThreads(__tstate);
29716 if (PyErr_Occurred()) SWIG_fail;
29717 }
29718 {
29719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29720 }
29721 return resultobj;
29722 fail:
29723 return NULL;
29724 }
29725
29726
29727 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
29728 PyObject *resultobj;
29729 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29730 bool result;
29731 PyObject * obj0 = 0 ;
29732 char *kwnames[] = {
29733 (char *) "self", NULL
29734 };
29735
29736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
29737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29739 {
29740 PyThreadState* __tstate = wxPyBeginAllowThreads();
29741 result = (bool)(arg1)->Show();
29742
29743 wxPyEndAllowThreads(__tstate);
29744 if (PyErr_Occurred()) SWIG_fail;
29745 }
29746 {
29747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29748 }
29749 return resultobj;
29750 fail:
29751 return NULL;
29752 }
29753
29754
29755 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
29756 PyObject *resultobj;
29757 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29758 bool result;
29759 PyObject * obj0 = 0 ;
29760 char *kwnames[] = {
29761 (char *) "self", NULL
29762 };
29763
29764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
29765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29767 {
29768 PyThreadState* __tstate = wxPyBeginAllowThreads();
29769 result = (bool)(arg1)->Hide();
29770
29771 wxPyEndAllowThreads(__tstate);
29772 if (PyErr_Occurred()) SWIG_fail;
29773 }
29774 {
29775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29776 }
29777 return resultobj;
29778 fail:
29779 return NULL;
29780 }
29781
29782
29783 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
29784 PyObject *resultobj;
29785 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29786 wxPoint *arg2 = 0 ;
29787 wxRect result;
29788 wxPoint temp2 ;
29789 PyObject * obj0 = 0 ;
29790 PyObject * obj1 = 0 ;
29791 char *kwnames[] = {
29792 (char *) "self",(char *) "pos", NULL
29793 };
29794
29795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
29796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29798 {
29799 arg2 = &temp2;
29800 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29801 }
29802 {
29803 PyThreadState* __tstate = wxPyBeginAllowThreads();
29804 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
29805
29806 wxPyEndAllowThreads(__tstate);
29807 if (PyErr_Occurred()) SWIG_fail;
29808 }
29809 {
29810 wxRect * resultptr;
29811 resultptr = new wxRect((wxRect &) result);
29812 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
29813 }
29814 return resultobj;
29815 fail:
29816 return NULL;
29817 }
29818
29819
29820 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
29821 PyObject *resultobj;
29822 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29823 wxDC *arg2 = 0 ;
29824 wxPoint *arg3 = 0 ;
29825 bool result;
29826 wxPoint temp3 ;
29827 PyObject * obj0 = 0 ;
29828 PyObject * obj1 = 0 ;
29829 PyObject * obj2 = 0 ;
29830 char *kwnames[] = {
29831 (char *) "self",(char *) "dc",(char *) "pos", NULL
29832 };
29833
29834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
29835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29837 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29838 SWIG_POINTER_EXCEPTION | 0)) == -1)
29839 SWIG_fail;
29840 if (arg2 == NULL) {
29841 PyErr_SetString(PyExc_TypeError,"null reference");
29842 SWIG_fail;
29843 }
29844 {
29845 arg3 = &temp3;
29846 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29847 }
29848 {
29849 PyThreadState* __tstate = wxPyBeginAllowThreads();
29850 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
29851
29852 wxPyEndAllowThreads(__tstate);
29853 if (PyErr_Occurred()) SWIG_fail;
29854 }
29855 {
29856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29857 }
29858 return resultobj;
29859 fail:
29860 return NULL;
29861 }
29862
29863
29864 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
29865 PyObject *resultobj;
29866 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29867 wxDC *arg2 = 0 ;
29868 wxMemoryDC *arg3 = 0 ;
29869 wxRect *arg4 = 0 ;
29870 wxRect *arg5 = 0 ;
29871 bool result;
29872 wxRect temp4 ;
29873 wxRect temp5 ;
29874 PyObject * obj0 = 0 ;
29875 PyObject * obj1 = 0 ;
29876 PyObject * obj2 = 0 ;
29877 PyObject * obj3 = 0 ;
29878 PyObject * obj4 = 0 ;
29879 char *kwnames[] = {
29880 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29881 };
29882
29883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29886 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29887 SWIG_POINTER_EXCEPTION | 0)) == -1)
29888 SWIG_fail;
29889 if (arg2 == NULL) {
29890 PyErr_SetString(PyExc_TypeError,"null reference");
29891 SWIG_fail;
29892 }
29893 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
29894 SWIG_POINTER_EXCEPTION | 0)) == -1)
29895 SWIG_fail;
29896 if (arg3 == NULL) {
29897 PyErr_SetString(PyExc_TypeError,"null reference");
29898 SWIG_fail;
29899 }
29900 {
29901 arg4 = &temp4;
29902 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
29903 }
29904 {
29905 arg5 = &temp5;
29906 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
29907 }
29908 {
29909 PyThreadState* __tstate = wxPyBeginAllowThreads();
29910 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
29911
29912 wxPyEndAllowThreads(__tstate);
29913 if (PyErr_Occurred()) SWIG_fail;
29914 }
29915 {
29916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29917 }
29918 return resultobj;
29919 fail:
29920 return NULL;
29921 }
29922
29923
29924 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
29925 PyObject *resultobj;
29926 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29927 wxPoint *arg2 = 0 ;
29928 wxPoint *arg3 = 0 ;
29929 bool arg4 ;
29930 bool arg5 ;
29931 bool result;
29932 wxPoint temp2 ;
29933 wxPoint temp3 ;
29934 PyObject * obj0 = 0 ;
29935 PyObject * obj1 = 0 ;
29936 PyObject * obj2 = 0 ;
29937 PyObject * obj3 = 0 ;
29938 PyObject * obj4 = 0 ;
29939 char *kwnames[] = {
29940 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29941 };
29942
29943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29946 {
29947 arg2 = &temp2;
29948 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29949 }
29950 {
29951 arg3 = &temp3;
29952 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29953 }
29954 arg4 = (bool) SWIG_AsBool(obj3);
29955 if (PyErr_Occurred()) SWIG_fail;
29956 arg5 = (bool) SWIG_AsBool(obj4);
29957 if (PyErr_Occurred()) SWIG_fail;
29958 {
29959 PyThreadState* __tstate = wxPyBeginAllowThreads();
29960 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
29961
29962 wxPyEndAllowThreads(__tstate);
29963 if (PyErr_Occurred()) SWIG_fail;
29964 }
29965 {
29966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29967 }
29968 return resultobj;
29969 fail:
29970 return NULL;
29971 }
29972
29973
29974 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
29975 PyObject *obj;
29976 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29977 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
29978 Py_INCREF(obj);
29979 return Py_BuildValue((char *)"");
29980 }
29981 static PyMethodDef SwigMethods[] = {
29982 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL },
29983 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL },
29984 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29985 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL },
29986 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
29987 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL },
29988 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
29989 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
29990 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29991 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
29992 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
29993 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
29994 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
29995 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
29996 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
29997 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
29998 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
29999 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
30000 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL },
30001 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL },
30002 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL },
30003 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
30004 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
30005 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30006 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30007 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
30008 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30009 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
30010 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
30011 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL },
30012 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL },
30013 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL },
30014 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL },
30015 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL },
30016 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30017 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30018 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30019 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
30020 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL },
30021 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
30022 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
30023 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30024 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30025 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30026 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
30027 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
30028 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
30029 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
30030 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
30031 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30032 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
30033 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30034 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL },
30035 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
30036 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
30037 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
30038 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL },
30039 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL },
30040 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL },
30041 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30042 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
30043 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
30044 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30045 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30046 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
30047 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
30048 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
30049 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
30050 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
30051 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL },
30052 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
30053 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
30054 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30055 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL },
30056 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
30057 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
30058 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30059 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
30060 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
30061 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL },
30062 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL },
30063 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL },
30064 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30065 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL },
30066 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30067 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30068 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30069 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30070 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30071 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
30072 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL },
30073 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL },
30074 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL },
30075 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30076 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
30077 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL },
30078 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL },
30079 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
30080 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30081 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
30082 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL },
30083 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
30084 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30085 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
30086 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL },
30087 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL },
30088 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30089 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30090 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL },
30091 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30092 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30093 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
30094 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
30095 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL },
30096 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
30097 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
30098 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30099 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
30100 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL },
30101 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
30102 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
30103 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL },
30104 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS, NULL },
30105 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL },
30106 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL },
30107 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30108 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30109 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
30110 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
30111 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
30112 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
30113 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
30114 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
30115 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30116 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30117 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
30118 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
30119 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL },
30120 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
30121 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
30122 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL },
30123 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30124 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30125 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
30126 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
30127 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
30128 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
30129 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
30130 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
30131 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL },
30132 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL },
30133 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL },
30134 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30135 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30136 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30137 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30138 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30139 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
30140 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL },
30141 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL },
30142 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL },
30143 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL },
30144 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL },
30145 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL },
30146 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL },
30147 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30148 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30149 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
30150 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
30151 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
30152 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
30153 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
30154 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL },
30155 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL },
30156 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL },
30157 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL },
30158 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL },
30159 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL },
30160 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
30161 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
30162 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
30163 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
30164 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30165 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL },
30166 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30167 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
30168 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
30169 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
30170 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
30171 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL },
30172 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL },
30173 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL },
30174 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL },
30175 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL },
30176 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL },
30177 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL },
30178 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
30179 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
30180 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
30181 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30182 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30183 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
30184 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
30185 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL },
30186 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
30187 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL },
30188 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30189 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30190 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL },
30191 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL },
30192 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL },
30193 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
30194 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
30195 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30196 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30197 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL },
30198 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
30199 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
30200 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
30201 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30202 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
30203 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL },
30204 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
30205 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
30206 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30207 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30208 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
30209 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
30210 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30211 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
30212 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
30213 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
30214 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
30215 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL },
30216 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30217 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30218 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30219 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30220 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30221 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL },
30222 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
30223 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
30224 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
30225 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30226 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL },
30227 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30228 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30229 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30230 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL },
30231 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
30232 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
30233 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30234 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30235 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30236 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30237 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30238 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
30239 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL },
30240 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
30241 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
30242 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL },
30243 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL },
30244 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
30245 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
30246 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
30247 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL },
30248 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
30249 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
30250 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30251 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30252 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30253 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL },
30254 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL },
30255 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL },
30256 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30257 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30258 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30259 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
30260 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
30261 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
30262 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
30263 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
30264 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
30265 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
30266 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
30267 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
30268 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
30269 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
30270 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
30271 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
30272 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL },
30273 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL },
30274 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL },
30275 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL },
30276 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL },
30277 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30278 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL },
30279 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
30280 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
30281 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL },
30282 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL },
30283 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS, NULL },
30284 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30285 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
30286 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
30287 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30288 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30289 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30290 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
30291 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
30292 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
30293 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
30294 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL },
30295 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL },
30296 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
30297 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS, NULL },
30298 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL },
30299 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30300 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30301 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS, NULL },
30302 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30303 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30304 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30305 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30306 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30307 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS, NULL },
30308 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL },
30309 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
30310 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30311 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
30312 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL },
30313 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL },
30314 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
30315 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
30316 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL },
30317 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30318 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL },
30319 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL },
30320 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL },
30321 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30322 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
30323 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL },
30324 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30325 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL },
30326 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL },
30327 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
30328 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
30329 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
30330 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL },
30331 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL },
30332 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
30333 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
30334 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
30335 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL },
30336 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
30337 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
30338 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
30339 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
30340 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL },
30341 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
30342 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
30343 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL },
30344 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
30345 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL },
30346 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL },
30347 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30348 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30349 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30350 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30351 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30352 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30353 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
30354 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
30355 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
30356 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30357 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30358 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30359 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30360 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30361 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
30362 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
30363 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
30364 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
30365 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL },
30366 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL },
30367 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL },
30368 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
30369 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
30370 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL },
30371 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL },
30372 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL },
30373 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
30374 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
30375 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL },
30376 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL },
30377 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL },
30378 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL },
30379 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL },
30380 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL },
30381 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL },
30382 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
30383 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
30384 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
30385 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL },
30386 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL },
30387 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
30388 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30389 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30390 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30391 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30392 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
30393 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
30394 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
30395 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
30396 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL },
30397 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
30398 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
30399 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
30400 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL },
30401 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL },
30402 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL },
30403 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL },
30404 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
30405 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
30406 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL },
30407 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30408 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL },
30409 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
30410 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL },
30411 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
30412 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
30413 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30414 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30415 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL },
30416 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL },
30417 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30418 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30419 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
30420 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30421 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30422 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
30423 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30424 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30425 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
30426 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
30427 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL },
30428 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
30429 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
30430 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
30431 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
30432 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL },
30433 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
30434 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30435 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL },
30436 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL },
30437 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
30438 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL },
30439 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
30440 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
30441 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
30442 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30443 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30444 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
30445 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
30446 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
30447 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30448 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL },
30449 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
30450 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
30451 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
30452 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
30453 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
30454 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
30455 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
30456 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30457 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30458 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
30459 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL },
30460 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL },
30461 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL },
30462 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL },
30463 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
30464 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
30465 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL },
30466 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL },
30467 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL },
30468 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL },
30469 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL },
30470 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL },
30471 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL },
30472 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL },
30473 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL },
30474 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL },
30475 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL },
30476 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL },
30477 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
30478 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
30479 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL },
30480 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30481 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL },
30482 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL },
30483 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
30484 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
30485 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
30486 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
30487 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
30488 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
30489 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL },
30490 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL },
30491 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL },
30492 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
30493 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL },
30494 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30495 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
30496 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30497 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
30498 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
30499 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
30500 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
30501 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30502 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL },
30503 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL },
30504 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
30505 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
30506 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL },
30507 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30508 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30509 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30510 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
30511 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30512 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30513 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30514 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30515 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
30516 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
30517 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL },
30518 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL },
30519 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30520 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30521 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
30522 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
30523 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
30524 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
30525 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
30526 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
30527 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30528 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30529 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30530 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL },
30531 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30532 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
30533 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
30534 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
30535 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
30536 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
30537 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30538 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30539 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL },
30540 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL },
30541 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
30542 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
30543 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30544 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30545 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30546 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL },
30547 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL },
30548 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL },
30549 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL },
30550 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL },
30551 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL },
30552 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
30553 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30554 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL },
30555 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL },
30556 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30557 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30558 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL },
30559 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30560 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL },
30561 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
30562 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
30563 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
30564 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL },
30565 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
30566 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL },
30567 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30568 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
30569 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL },
30570 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30571 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30572 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30573 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30574 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL },
30575 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30576 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
30577 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL },
30578 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL },
30579 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL },
30580 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30581 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL },
30582 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL },
30583 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL },
30584 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
30585 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
30586 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
30587 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
30588 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
30589 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL },
30590 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
30591 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
30592 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
30593 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
30594 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
30595 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL },
30596 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL },
30597 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL },
30598 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30599 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
30600 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
30601 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
30602 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
30603 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
30604 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL },
30605 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30606 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30607 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30608 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
30609 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
30610 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
30611 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
30612 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30613 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
30614 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30615 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30616 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30617 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
30618 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
30619 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
30620 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL },
30621 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30622 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30623 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30624 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
30625 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
30626 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
30627 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
30628 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
30629 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
30630 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30631 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30632 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30633 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30634 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30635 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30636 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
30637 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
30638 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30639 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
30640 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30641 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30642 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
30643 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
30644 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
30645 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30646 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
30647 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
30648 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL },
30649 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30650 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30651 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
30652 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30653 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
30654 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL },
30655 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
30656 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL },
30657 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL },
30658 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL },
30659 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30660 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
30661 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL },
30662 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL },
30663 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL },
30664 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL },
30665 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL },
30666 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL },
30667 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL },
30668 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30669 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30670 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL },
30671 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
30672 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
30673 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL },
30674 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL },
30675 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
30676 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL },
30677 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
30678 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL },
30679 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL },
30680 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL },
30681 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
30682 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL },
30683 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL },
30684 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
30685 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL },
30686 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30687 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30688 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL },
30689 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30690 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL },
30691 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL },
30692 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
30693 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
30694 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
30695 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL },
30696 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30697 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30698 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30699 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL },
30700 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
30701 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
30702 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
30703 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL },
30704 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
30705 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
30706 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
30707 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
30708 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
30709 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
30710 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
30711 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL },
30712 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30713 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30714 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL },
30715 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL },
30716 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL },
30717 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL },
30718 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30719 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30720 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30721 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL },
30722 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL },
30723 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL },
30724 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL },
30725 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
30726 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30727 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
30728 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
30729 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
30730 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
30731 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
30732 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30733 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
30734 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
30735 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
30736 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30737 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30738 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
30739 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
30740 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
30741 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
30742 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
30743 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
30744 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
30745 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
30746 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL },
30747 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30748 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30749 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30750 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL },
30751 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL },
30752 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
30753 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
30754 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL },
30755 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30756 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30757 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30758 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30759 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL },
30760 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL },
30761 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL },
30762 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL },
30763 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL },
30764 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30765 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30766 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30767 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL },
30768 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30769 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
30770 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL },
30771 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL },
30772 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL },
30773 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
30774 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL },
30775 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL },
30776 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL },
30777 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL },
30778 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
30779 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30780 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL },
30781 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL },
30782 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL },
30783 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL },
30784 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL },
30785 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
30786 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL },
30787 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
30788 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30789 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
30790 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL },
30791 { NULL, NULL, 0, NULL }
30792 };
30793
30794
30795 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30796
30797 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
30798 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30799 }
30800 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
30801 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
30802 }
30803 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
30804 return (void *)((wxSizer *) ((wxBoxSizer *) x));
30805 }
30806 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
30807 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
30808 }
30809 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
30810 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30811 }
30812 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
30813 return (void *)((wxSizer *) ((wxGridSizer *) x));
30814 }
30815 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
30816 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
30817 }
30818 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
30819 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
30820 }
30821 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
30822 return (void *)((wxSizer *) ((wxPySizer *) x));
30823 }
30824 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
30825 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
30826 }
30827 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
30828 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
30829 }
30830 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
30831 return (void *)((wxEvent *) ((wxMenuEvent *) x));
30832 }
30833 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
30834 return (void *)((wxEvent *) ((wxCloseEvent *) x));
30835 }
30836 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
30837 return (void *)((wxEvent *) ((wxMouseEvent *) x));
30838 }
30839 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
30840 return (void *)((wxEvent *) ((wxEraseEvent *) x));
30841 }
30842 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
30843 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30844 }
30845 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
30846 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
30847 }
30848 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
30849 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
30850 }
30851 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
30852 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
30853 }
30854 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
30855 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
30856 }
30857 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
30858 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30859 }
30860 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
30861 return (void *)((wxEvent *) ((wxPyEvent *) x));
30862 }
30863 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
30864 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
30865 }
30866 static void *_p_wxListEventTo_p_wxEvent(void *x) {
30867 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30868 }
30869 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
30870 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30871 }
30872 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
30873 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30874 }
30875 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
30876 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
30877 }
30878 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
30879 return (void *)((wxEvent *) ((wxIdleEvent *) x));
30880 }
30881 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
30882 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
30883 }
30884 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
30885 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
30886 }
30887 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
30888 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
30889 }
30890 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
30891 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
30892 }
30893 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
30894 return (void *)((wxEvent *) ((wxActivateEvent *) x));
30895 }
30896 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
30897 return (void *)((wxEvent *) ((wxSizeEvent *) x));
30898 }
30899 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
30900 return (void *)((wxEvent *) ((wxMoveEvent *) x));
30901 }
30902 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
30903 return (void *)((wxEvent *) ((wxPaintEvent *) x));
30904 }
30905 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
30906 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
30907 }
30908 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
30909 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
30910 }
30911 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
30912 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
30913 }
30914 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
30915 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
30916 }
30917 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
30918 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30919 }
30920 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
30921 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
30922 }
30923 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
30924 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
30925 }
30926 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
30927 return (void *)((wxEvent *) ((wxFocusEvent *) x));
30928 }
30929 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
30930 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
30931 }
30932 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
30933 return (void *)((wxEvent *) ((wxShowEvent *) x));
30934 }
30935 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
30936 return (void *)((wxEvent *) ((wxCommandEvent *) x));
30937 }
30938 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
30939 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
30940 }
30941 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
30942 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30943 }
30944 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
30945 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
30946 }
30947 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
30948 return (void *)((wxEvent *) ((wxKeyEvent *) x));
30949 }
30950 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
30951 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
30952 }
30953 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
30954 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30955 }
30956 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
30957 return (void *)((wxItemContainer *) ((wxComboBox *) x));
30958 }
30959 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
30960 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30961 }
30962 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
30963 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
30964 }
30965 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
30966 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
30967 }
30968 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
30969 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
30970 }
30971 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
30972 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30973 }
30974 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
30975 return (void *)((wxPyListCtrl *) ((wxListView *) x));
30976 }
30977 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
30978 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30979 }
30980 static void *_p_wxListBoxTo_p_wxControl(void *x) {
30981 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
30982 }
30983 static void *_p_wxChoiceTo_p_wxControl(void *x) {
30984 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
30985 }
30986 static void *_p_wxToolBarTo_p_wxControl(void *x) {
30987 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
30988 }
30989 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
30990 return (void *)((wxControl *) ((wxStaticBitmap *) x));
30991 }
30992 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
30993 return (void *)((wxControl *) ((wxComboBox *) x));
30994 }
30995 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
30996 return (void *)((wxControl *) ((wxSpinCtrl *) x));
30997 }
30998 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
30999 return (void *)((wxControl *) ((wxStaticBox *) x));
31000 }
31001 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
31002 return (void *)((wxControl *) ((wxPyListCtrl *) x));
31003 }
31004 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
31005 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
31006 }
31007 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
31008 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31009 }
31010 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
31011 return (void *)((wxControl *) ((wxScrollBar *) x));
31012 }
31013 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
31014 return (void *)((wxControl *) ((wxBookCtrl *) x));
31015 }
31016 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
31017 return (void *)((wxControl *) ((wxRadioButton *) x));
31018 }
31019 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
31020 return (void *)((wxControl *) ((wxToggleButton *) x));
31021 }
31022 static void *_p_wxGaugeTo_p_wxControl(void *x) {
31023 return (void *)((wxControl *) ((wxGauge *) x));
31024 }
31025 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
31026 return (void *)((wxControl *) ((wxToolBarBase *) x));
31027 }
31028 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
31029 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
31030 }
31031 static void *_p_wxButtonTo_p_wxControl(void *x) {
31032 return (void *)((wxControl *) ((wxButton *) x));
31033 }
31034 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
31035 return (void *)((wxControl *) ((wxSpinButton *) x));
31036 }
31037 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
31038 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31039 }
31040 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
31041 return (void *)((wxControl *) ((wxControlWithItems *) x));
31042 }
31043 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
31044 return (void *)((wxControl *) ((wxRadioBox *) x));
31045 }
31046 static void *_p_wxNotebookTo_p_wxControl(void *x) {
31047 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
31048 }
31049 static void *_p_wxListbookTo_p_wxControl(void *x) {
31050 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
31051 }
31052 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
31053 return (void *)((wxControl *) ((wxCheckBox *) x));
31054 }
31055 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
31056 return (void *)((wxControl *) ((wxTextCtrl *) x));
31057 }
31058 static void *_p_wxListViewTo_p_wxControl(void *x) {
31059 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
31060 }
31061 static void *_p_wxSliderTo_p_wxControl(void *x) {
31062 return (void *)((wxControl *) ((wxSlider *) x));
31063 }
31064 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
31065 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
31066 }
31067 static void *_p_wxPyControlTo_p_wxControl(void *x) {
31068 return (void *)((wxControl *) ((wxPyControl *) x));
31069 }
31070 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
31071 return (void *)((wxControl *) ((wxStaticLine *) x));
31072 }
31073 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
31074 return (void *)((wxControl *) ((wxStaticText *) x));
31075 }
31076 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
31077 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
31078 }
31079 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
31080 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
31081 }
31082 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
31083 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
31084 }
31085 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
31086 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31087 }
31088 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
31089 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
31090 }
31091 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
31092 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
31093 }
31094 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
31095 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31096 }
31097 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
31098 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
31099 }
31100 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
31101 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31102 }
31103 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31104 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31105 }
31106 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31107 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31108 }
31109 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31110 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31111 }
31112 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
31113 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31114 }
31115 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31116 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31117 }
31118 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
31119 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
31120 }
31121 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
31122 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
31123 }
31124 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31125 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31126 }
31127 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31128 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31129 }
31130 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
31131 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31132 }
31133 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
31134 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31135 }
31136 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
31137 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
31138 }
31139 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
31140 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31141 }
31142 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
31143 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
31144 }
31145 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31146 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31147 }
31148 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
31149 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31150 }
31151 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
31152 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
31153 }
31154 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31155 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31156 }
31157 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
31158 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
31159 }
31160 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
31161 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
31162 }
31163 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
31164 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31165 }
31166 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
31167 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31168 }
31169 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
31170 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
31171 }
31172 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
31173 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
31174 }
31175 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
31176 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31177 }
31178 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
31179 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31180 }
31181 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
31182 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31183 }
31184 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
31185 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31186 }
31187 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
31188 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31189 }
31190 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
31191 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31192 }
31193 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
31194 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31195 }
31196 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
31197 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
31198 }
31199 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
31200 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
31201 }
31202 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
31203 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
31204 }
31205 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
31206 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
31207 }
31208 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
31209 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
31210 }
31211 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
31212 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31213 }
31214 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
31215 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31216 }
31217 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
31218 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31219 }
31220 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
31221 return (void *)((wxListBox *) ((wxCheckListBox *) x));
31222 }
31223 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
31224 return (void *)((wxBookCtrl *) ((wxListbook *) x));
31225 }
31226 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
31227 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
31228 }
31229 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
31230 return (void *)((wxButton *) ((wxBitmapButton *) x));
31231 }
31232 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
31233 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
31234 }
31235 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
31236 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
31237 }
31238 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
31239 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
31240 }
31241 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31242 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31243 }
31244 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31245 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31246 }
31247 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31248 return (void *)((wxObject *) ((wxSizerItem *) x));
31249 }
31250 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31251 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31252 }
31253 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31254 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31255 }
31256 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
31257 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
31258 }
31259 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
31260 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31261 }
31262 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31263 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31264 }
31265 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31266 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31267 }
31268 static void *_p_wxSizerTo_p_wxObject(void *x) {
31269 return (void *)((wxObject *) ((wxSizer *) x));
31270 }
31271 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31272 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31273 }
31274 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
31275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
31276 }
31277 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
31278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31279 }
31280 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31281 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31282 }
31283 static void *_p_wxEventTo_p_wxObject(void *x) {
31284 return (void *)((wxObject *) ((wxEvent *) x));
31285 }
31286 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31287 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31288 }
31289 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31290 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31291 }
31292 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31293 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31294 }
31295 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
31296 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31297 }
31298 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
31299 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31300 }
31301 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
31302 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31303 }
31304 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31305 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31306 }
31307 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31308 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31309 }
31310 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31311 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31312 }
31313 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31314 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31315 }
31316 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31317 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31318 }
31319 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31320 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31321 }
31322 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
31323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
31324 }
31325 static void *_p_wxControlTo_p_wxObject(void *x) {
31326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31327 }
31328 static void *_p_wxPyControlTo_p_wxObject(void *x) {
31329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
31330 }
31331 static void *_p_wxGaugeTo_p_wxObject(void *x) {
31332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
31333 }
31334 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
31335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
31336 }
31337 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
31338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
31339 }
31340 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
31341 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31342 }
31343 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31344 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31345 }
31346 static void *_p_wxChoiceTo_p_wxObject(void *x) {
31347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31348 }
31349 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31350 return (void *)((wxObject *) ((wxFSFile *) x));
31351 }
31352 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31353 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31354 }
31355 static void *_p_wxListViewTo_p_wxObject(void *x) {
31356 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31357 }
31358 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
31359 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31360 }
31361 static void *_p_wxNotebookTo_p_wxObject(void *x) {
31362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31363 }
31364 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31365 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31366 }
31367 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31368 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31369 }
31370 static void *_p_wxListbookTo_p_wxObject(void *x) {
31371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31372 }
31373 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31374 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31375 }
31376 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
31377 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31378 }
31379 static void *_p_wxSliderTo_p_wxObject(void *x) {
31380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
31381 }
31382 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31383 return (void *)((wxObject *) ((wxMenuItem *) x));
31384 }
31385 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31386 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31387 }
31388 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31389 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31390 }
31391 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31392 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31393 }
31394 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31395 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31396 }
31397 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31398 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31399 }
31400 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31401 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31402 }
31403 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31404 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31405 }
31406 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31407 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31408 }
31409 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
31410 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
31411 }
31412 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
31413 return (void *)((wxObject *) ((wxContextHelp *) x));
31414 }
31415 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31416 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31417 }
31418 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31419 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31420 }
31421 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31422 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31423 }
31424 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31425 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31426 }
31427 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31428 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31429 }
31430 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31431 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31432 }
31433 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31434 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31435 }
31436 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31437 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31438 }
31439 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31440 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31441 }
31442 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31443 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31444 }
31445 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31446 return (void *)((wxObject *) ((wxImageHandler *) x));
31447 }
31448 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31449 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31450 }
31451 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31452 return (void *)((wxObject *) ((wxEvtHandler *) x));
31453 }
31454 static void *_p_wxListEventTo_p_wxObject(void *x) {
31455 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
31456 }
31457 static void *_p_wxListBoxTo_p_wxObject(void *x) {
31458 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31459 }
31460 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
31461 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31462 }
31463 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
31464 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31465 }
31466 static void *_p_wxButtonTo_p_wxObject(void *x) {
31467 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
31468 }
31469 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
31470 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31471 }
31472 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
31473 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
31474 }
31475 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
31476 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31477 }
31478 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31479 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31480 }
31481 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
31482 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
31483 }
31484 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
31485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
31486 }
31487 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
31488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
31489 }
31490 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
31491 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
31492 }
31493 static void *_p_wxListItemTo_p_wxObject(void *x) {
31494 return (void *)((wxObject *) ((wxListItem *) x));
31495 }
31496 static void *_p_wxImageTo_p_wxObject(void *x) {
31497 return (void *)((wxObject *) ((wxImage *) x));
31498 }
31499 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
31500 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
31501 }
31502 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31503 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31504 }
31505 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
31506 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
31507 }
31508 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
31509 return (void *)((wxObject *) ((wxGenericDragImage *) x));
31510 }
31511 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
31512 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31513 }
31514 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
31515 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31516 }
31517 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
31518 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31519 }
31520 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31521 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31522 }
31523 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31524 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31525 }
31526 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31527 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31528 }
31529 static void *_p_wxWindowTo_p_wxObject(void *x) {
31530 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31531 }
31532 static void *_p_wxMenuTo_p_wxObject(void *x) {
31533 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31534 }
31535 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31536 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31537 }
31538 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31539 return (void *)((wxObject *) ((wxFileSystem *) x));
31540 }
31541 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31542 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31543 }
31544 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31545 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31546 }
31547 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31548 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31549 }
31550 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31551 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31552 }
31553 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31554 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31555 }
31556 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31557 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31558 }
31559 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
31560 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31561 }
31562 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31563 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31564 }
31565 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31566 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31567 }
31568 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
31569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
31570 }
31571 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31572 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31573 }
31574 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31575 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31576 }
31577 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31578 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31579 }
31580 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31581 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31582 }
31583 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
31584 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
31585 }
31586 static void *_p_wxToolBarTo_p_wxObject(void *x) {
31587 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31588 }
31589 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31590 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31591 }
31592 static void *_p_wxValidatorTo_p_wxObject(void *x) {
31593 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31594 }
31595 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
31596 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
31597 }
31598 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
31599 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
31600 }
31601 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31602 return (void *)((wxWindow *) ((wxMenuBar *) x));
31603 }
31604 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
31605 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31606 }
31607 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
31608 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
31609 }
31610 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
31611 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
31612 }
31613 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
31614 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
31615 }
31616 static void *_p_wxControlTo_p_wxWindow(void *x) {
31617 return (void *)((wxWindow *) ((wxControl *) x));
31618 }
31619 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
31620 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
31621 }
31622 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
31623 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31624 }
31625 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
31626 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
31627 }
31628 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
31629 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
31630 }
31631 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
31632 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
31633 }
31634 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
31635 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
31636 }
31637 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
31638 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
31639 }
31640 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
31641 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
31642 }
31643 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
31644 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
31645 }
31646 static void *_p_wxListbookTo_p_wxWindow(void *x) {
31647 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31648 }
31649 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
31650 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
31651 }
31652 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
31653 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
31654 }
31655 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
31656 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
31657 }
31658 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
31659 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31660 }
31661 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
31662 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31663 }
31664 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
31665 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31666 }
31667 static void *_p_wxListViewTo_p_wxWindow(void *x) {
31668 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31669 }
31670 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
31671 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31672 }
31673 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
31674 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
31675 }
31676 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
31677 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
31678 }
31679 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
31680 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
31681 }
31682 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
31683 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
31684 }
31685 static void *_p_wxSliderTo_p_wxWindow(void *x) {
31686 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
31687 }
31688 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
31689 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
31690 }
31691 static void *_p_wxButtonTo_p_wxWindow(void *x) {
31692 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
31693 }
31694 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
31695 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
31696 }
31697 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
31698 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31699 }
31700 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
31701 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
31702 }
31703 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
31704 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31705 }
31706 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
31707 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31708 }
31709 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
31710 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
31711 }
31712 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
31713 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
31714 }
31715 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
31716 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
31717 }
31718 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
31719 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
31720 }
31721 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
31722 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
31723 }
31724 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
31725 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31726 }
31727 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
31728 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31729 }
31730 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
31731 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
31732 }
31733 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
31734 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
31735 }
31736 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
31737 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
31738 }
31739 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
31740 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
31741 }
31742 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
31743 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
31744 }
31745 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
31746 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
31747 }
31748 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
31749 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
31750 }
31751 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
31752 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
31753 }
31754 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
31755 return (void *)((wxControlWithItems *) ((wxChoice *) x));
31756 }
31757 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
31758 return (void *)((wxControlWithItems *) ((wxListBox *) x));
31759 }
31760 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
31761 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
31762 }
31763 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
31764 return (void *)((wxValidator *) ((wxPyValidator *) x));
31765 }
31766 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}};
31767 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},{0, 0, 0, 0, 0, 0, 0}};
31768 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}};
31769 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}};
31770 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}};
31771 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_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_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_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_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}};
31772 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}};
31773 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}};
31774 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}};
31775 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}};
31776 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}};
31777 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}};
31778 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}};
31779 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_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_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_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_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_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}};
31780 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}};
31781 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}};
31782 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}};
31783 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}};
31784 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}};
31785 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}};
31786 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31787 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}};
31788 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}};
31789 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}};
31790 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}};
31791 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}};
31792 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}};
31793 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}};
31794 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}};
31795 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}};
31796 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}};
31797 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}};
31798 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_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31799 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}};
31800 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}};
31801 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}};
31802 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}};
31803 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}};
31804 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}};
31805 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}};
31806 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}};
31807 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_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_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_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_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_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}};
31808 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}};
31809 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}};
31810 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}};
31811 static swig_type_info _swigt__p_wxBookCtrl[] = {{"_p_wxBookCtrl", 0, "wxBookCtrl *", 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}};
31812 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}};
31813 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}};
31814 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}};
31815 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}};
31816 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}};
31817 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}};
31818 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}};
31819 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}};
31820 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}};
31821 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}};
31822 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}};
31823 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}};
31824 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}};
31825 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}};
31826 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}};
31827 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}};
31828 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}};
31829 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}};
31830 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}};
31831 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}};
31832 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}};
31833 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}};
31834 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}};
31835 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_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_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_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_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_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_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}};
31836 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}};
31837 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}};
31838 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_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_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_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_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_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_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31839 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}};
31840 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}};
31841 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}};
31842 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}};
31843 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_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}};
31844 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}};
31845 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31846 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}};
31847 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}};
31848 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}};
31849 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}};
31850 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}};
31851
31852 static swig_type_info *swig_types_initial[] = {
31853 _swigt__p_wxTextUrlEvent,
31854 _swigt__p_wxBookCtrlEvent,
31855 _swigt__p_wxSizer,
31856 _swigt__p_wxCheckBox,
31857 _swigt__p_wxPyTreeCtrl,
31858 _swigt__p_wxEvent,
31859 _swigt__p_wxGenericDirCtrl,
31860 _swigt__p_bool,
31861 _swigt__p_wxPyTreeItemData,
31862 _swigt__p_wxItemContainer,
31863 _swigt__p_wxPyListCtrl,
31864 _swigt__p_wxDirFilterListCtrl,
31865 _swigt__p_wxStaticLine,
31866 _swigt__p_wxControl,
31867 _swigt__p_wxPyControl,
31868 _swigt__p_wxGauge,
31869 _swigt__p_wxToolBarBase,
31870 _swigt__p_wxFont,
31871 _swigt__p_wxToggleButton,
31872 _swigt__p_wxRadioButton,
31873 _swigt__p_wxChoice,
31874 _swigt__p_wxMemoryDC,
31875 _swigt__p_wxListItemAttr,
31876 _swigt__p_void,
31877 _swigt__p_int,
31878 _swigt__p_wxSize,
31879 _swigt__p_wxDC,
31880 _swigt__p_wxListView,
31881 _swigt__p_wxIcon,
31882 _swigt__p_wxVisualAttributes,
31883 _swigt__p_wxTextCtrl,
31884 _swigt__p_wxNotebook,
31885 _swigt__p_wxNotifyEvent,
31886 _swigt__p_wxArrayString,
31887 _swigt__p_wxListbook,
31888 _swigt__p_wxStaticBitmap,
31889 _swigt__p_wxSlider,
31890 _swigt__p_wxStaticBox,
31891 _swigt__p_wxArrayInt,
31892 _swigt__p_wxContextHelp,
31893 _swigt__p_long,
31894 _swigt__p_wxEvtHandler,
31895 _swigt__p_wxListEvent,
31896 _swigt__p_wxCheckListBox,
31897 _swigt__p_wxListBox,
31898 _swigt__p_wxBookCtrl,
31899 _swigt__p_wxSpinButton,
31900 _swigt__p_wxButton,
31901 _swigt__p_wxBitmapButton,
31902 _swigt__p_wxRect,
31903 _swigt__p_wxContextHelpButton,
31904 _swigt__p_wxRadioBox,
31905 _swigt__p_wxScrollBar,
31906 _swigt__p_char,
31907 _swigt__p_wxTreeItemId,
31908 _swigt__p_wxComboBox,
31909 _swigt__p_wxHelpEvent,
31910 _swigt__p_wxListItem,
31911 _swigt__p_wxNotebookSizer,
31912 _swigt__p_wxSpinEvent,
31913 _swigt__p_wxGenericDragImage,
31914 _swigt__p_wxSpinCtrl,
31915 _swigt__p_wxImageList,
31916 _swigt__p_wxHelpProvider,
31917 _swigt__p_wxTextAttr,
31918 _swigt__p_wxSimpleHelpProvider,
31919 _swigt__p_wxPoint,
31920 _swigt__p_wxListbookEvent,
31921 _swigt__p_wxNotebookEvent,
31922 _swigt__p_wxObject,
31923 _swigt__p_wxCursor,
31924 _swigt__p_wxKeyEvent,
31925 _swigt__p_wxWindow,
31926 _swigt__p_wxString,
31927 _swigt__p_wxBitmap,
31928 _swigt__p_wxTreeEvent,
31929 _swigt__p_wxMouseEvent,
31930 _swigt__p_wxCommandEvent,
31931 _swigt__p_wxStaticText,
31932 _swigt__p_wxControlWithItems,
31933 _swigt__p_wxToolBarToolBase,
31934 _swigt__p_wxColour,
31935 _swigt__p_wxToolBar,
31936 _swigt__p_wxBookCtrlSizer,
31937 _swigt__p_wxValidator,
31938 0
31939 };
31940
31941
31942 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31943
31944 static swig_const_info swig_const_table[] = {
31945 {0, 0, 0, 0.0, 0, 0}};
31946
31947 #ifdef __cplusplus
31948 }
31949 #endif
31950
31951 #ifdef __cplusplus
31952 extern "C"
31953 #endif
31954 SWIGEXPORT(void) SWIG_init(void) {
31955 static PyObject *SWIG_globals = 0;
31956 static int typeinit = 0;
31957 PyObject *m, *d;
31958 int i;
31959 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
31960 m = Py_InitModule((char *) SWIG_name, SwigMethods);
31961 d = PyModule_GetDict(m);
31962
31963 if (!typeinit) {
31964 for (i = 0; swig_types_initial[i]; i++) {
31965 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
31966 }
31967 typeinit = 1;
31968 }
31969 SWIG_InstallConstants(d,swig_const_table);
31970
31971 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
31972 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
31973 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
31974 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
31975 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
31976 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
31977 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
31978 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
31979 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
31980 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
31981 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
31982 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
31983 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
31984 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
31985 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
31986 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
31987 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
31988 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
31989 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
31990 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
31991 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
31992 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
31993 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
31994 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
31995 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
31996 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
31997 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
31998 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
31999 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
32000 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
32001 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
32002 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
32003 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
32004 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
32005 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
32006 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
32007 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
32008 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
32009 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
32010 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
32011 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
32012 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
32013 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
32014 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
32015 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
32016 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
32017 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
32018 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
32019 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
32020 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
32021 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
32022 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
32023 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
32024 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
32025 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
32026 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
32027 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
32028 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
32029 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
32030 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
32031 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
32032 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
32033 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
32034 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
32035 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
32036 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
32037 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
32038 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
32039 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
32040 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
32041 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
32042 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
32043 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
32044 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
32045 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
32046 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
32047 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
32048 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
32049 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
32050 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
32051 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
32052 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
32053 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
32054 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
32055 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
32056 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
32057 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
32058 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
32059 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
32060 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
32061 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
32062 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
32063 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
32064 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
32065 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
32066 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
32067 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
32068 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
32069 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
32070 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
32071 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
32072 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
32073 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
32074 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
32075 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
32076 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
32077 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
32078 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
32079 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
32080 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
32081 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
32082 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
32083 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
32084 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
32085 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
32086 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
32087 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
32088 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
32089 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
32090 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
32091 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
32092 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
32093 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
32094 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
32095 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
32096 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
32097 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
32098 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
32099 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
32100 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
32101 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
32102 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
32103 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
32104 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
32105 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
32106 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
32107 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
32108 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
32109 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
32110 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
32111 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
32112 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
32113 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
32114 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
32115 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
32116 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
32117 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
32118 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
32119 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
32120 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
32121 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
32122 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
32123 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
32124 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
32125 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
32126 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
32127 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
32128 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
32129 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
32130 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
32131 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
32132 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
32133 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
32134 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
32135 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
32136 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
32137 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
32138 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
32139 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
32140 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
32141 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
32142 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
32143 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
32144 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
32145 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
32146 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
32147 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
32148 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
32149 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
32150 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
32151 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
32152 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
32153 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
32154 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
32155 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
32156 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
32157 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
32158 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
32159 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
32160 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
32161 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
32162 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
32163 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
32164 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
32165 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
32166 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
32167 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
32168 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
32169 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
32170 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
32171 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
32172 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
32173 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
32174 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
32175 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
32176 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
32177 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
32178 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
32179 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
32180 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
32181 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
32182
32183 // Map renamed classes back to their common name for OOR
32184 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32185
32186 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
32187 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
32188 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
32189 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
32190 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
32191 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
32192 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
32193 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
32194 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
32195 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
32196 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
32197 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
32198 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
32199 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
32200 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
32201 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
32202 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
32203 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
32204 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
32205 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
32206 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
32207 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
32208 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
32209 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
32210 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
32211 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
32212 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
32213 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
32214 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
32215 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
32216 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
32217 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
32218 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
32219 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
32220 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
32221 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
32222 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
32223 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
32224 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
32225 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
32226 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
32227 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
32228 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
32229 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
32230 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
32231 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
32232 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
32233 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
32234 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
32235 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
32236 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
32237 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
32238 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
32239 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
32240 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
32241 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
32242
32243 // Map renamed classes back to their common name for OOR
32244 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32245 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32246
32247 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
32248 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
32249 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
32250 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
32251 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
32252 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
32253 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
32254 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
32255 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
32256 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
32257
32258 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
32259
32260 }
32261