]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_controls_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / msw / _controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_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 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
653 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
654 // Python aware sorting function for wxPyListCtrl
655 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
656 int retval = 0;
657 PyObject* func = (PyObject*)funcPtr;
658 bool blocked = wxPyBeginBlockThreads();
659
660 PyObject* args = Py_BuildValue("(ii)", item1, item2);
661 PyObject* result = PyEval_CallObject(func, args);
662 Py_DECREF(args);
663 if (result) {
664 retval = PyInt_AsLong(result);
665 Py_DECREF(result);
666 }
667
668 wxPyEndBlockThreads(blocked);
669 return retval;
670 }
671
672 // C++ Version of a Python aware class
673 class wxPyListCtrl : public wxListCtrl {
674 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
675 public:
676 wxPyListCtrl() : wxListCtrl() {}
677 wxPyListCtrl(wxWindow* parent, wxWindowID id,
678 const wxPoint& pos,
679 const wxSize& size,
680 long style,
681 const wxValidator& validator,
682 const wxString& name) :
683 wxListCtrl(parent, id, pos, size, style, validator, name) {}
684
685 bool Create(wxWindow* parent, wxWindowID id,
686 const wxPoint& pos,
687 const wxSize& size,
688 long style,
689 const wxValidator& validator,
690 const wxString& name) {
691 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
692 }
693
694 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
695 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
696 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
697
698 PYPRIVATE;
699 };
700
701 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
702
703 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
704 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
705 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
706
707 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
708 wxListItem item;
709 item.SetMask( wxLIST_MASK_STATE |
710 wxLIST_MASK_TEXT |
711 wxLIST_MASK_IMAGE |
712 wxLIST_MASK_DATA |
713 wxLIST_SET_ITEM |
714 wxLIST_MASK_WIDTH |
715 wxLIST_MASK_FORMAT
716 );
717 if (self->GetColumn(col, item))
718 return new wxListItem(item);
719 else
720 return NULL;
721 }
722 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
723 wxListItem* info = new wxListItem;
724 info->m_itemId = itemId;
725 info->m_col = col;
726 info->m_mask = 0xFFFF;
727 self->GetItem(*info);
728 return info;
729 }
730 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
731 wxPoint pos;
732 self->GetItemPosition(item, pos);
733 return pos;
734 }
735 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
736 wxRect rect;
737 self->GetItemRect(item, rect, code);
738 return rect;
739 }
740 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
741 if (!PyCallable_Check(func))
742 return False;
743 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
744 }
745 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
746
747 return self;
748
749
750
751 }
752
753 #include <wx/treectrl.h>
754 #include "wx/wxPython/pytree.h"
755
756 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
757 bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : False; }
758 bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : True; }
759 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
760 // C++ version of Python aware wxTreeCtrl
761 class wxPyTreeCtrl : public wxTreeCtrl {
762 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
763 public:
764 wxPyTreeCtrl() : wxTreeCtrl() {}
765 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
766 const wxPoint& pos,
767 const wxSize& size,
768 long style,
769 const wxValidator& validator,
770 const wxString& name) :
771 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
772
773 bool Create(wxWindow *parent, wxWindowID id,
774 const wxPoint& pos,
775 const wxSize& size,
776 long style,
777 const wxValidator& validator,
778 const wxString& name) {
779 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
780 }
781
782
783 int OnCompareItems(const wxTreeItemId& item1,
784 const wxTreeItemId& item2) {
785 int rval = 0;
786 bool found;
787 bool blocked = wxPyBeginBlockThreads();
788 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
789 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
790 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
791 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
792 Py_DECREF(o1);
793 Py_DECREF(o2);
794 }
795 wxPyEndBlockThreads(blocked);
796 if (! found)
797 rval = wxTreeCtrl::OnCompareItems(item1, item2);
798 return rval;
799 }
800 PYPRIVATE;
801 };
802
803 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
804
805
806
807 #if UINT_MAX < LONG_MAX
808 #define SWIG_FromUnsignedInt SWIG_FromLong
809 #else
810 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
811 #endif
812
813
814 SWIGSTATICINLINE(unsigned long)
815 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
816 unsigned long max_value)
817 {
818 if (!PyErr_Occurred()) {
819 if (value > max_value) {
820 PyObject *err =
821 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
822 value, type, max_value);
823 PyErr_SetObject(PyExc_OverflowError, err);
824 Py_DECREF(err);
825 }
826 }
827 return value;
828 }
829
830
831 #if UINT_MAX != ULONG_MAX
832 SWIGSTATICINLINE(unsigned int)
833 SWIG_AsUnsignedInt(PyObject *obj)
834 {
835 return swig_numeric_cast(unsigned int,
836 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
837 "unsigned int", UINT_MAX));
838 }
839 #else
840 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
841 #endif
842
843
844 SWIGSTATICINLINE(int)
845 SWIG_CheckUnsignedInt(PyObject* obj)
846 {
847 SWIG_AsUnsignedInt(obj);
848 if (PyErr_Occurred()) {
849 PyErr_Clear();
850 return 0;
851 } else {
852 return 1;
853 }
854 }
855
856 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
857 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
858 if (data == NULL) {
859 data = new wxPyTreeItemData();
860 data->SetId(item); // set the id
861 self->SetItemData(item, data);
862 }
863 return data;
864 }
865 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
866 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
867 if (data == NULL) {
868 data = new wxPyTreeItemData();
869 data->SetId(item); // set the id
870 self->SetItemData(item, data);
871 }
872 return data->GetData();
873 }
874 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
875 data->SetId(item); // set the id
876 self->SetItemData(item, data);
877 }
878 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
879 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
880 if (data == NULL) {
881 data = new wxPyTreeItemData(obj);
882 data->SetId(item); // set the id
883 self->SetItemData(item, data);
884 } else
885 data->SetData(obj);
886 }
887 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
888 bool blocked = wxPyBeginBlockThreads();
889 PyObject* rval = PyList_New(0);
890 wxArrayTreeItemIds array;
891 size_t num, x;
892 num = self->GetSelections(array);
893 for (x=0; x < num; x++) {
894 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
895 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
896 PyList_Append(rval, item);
897 Py_DECREF(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 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
949
950 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
951 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
952 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
953 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
954
955 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
957 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
958
959 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
960 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
961
962 DEC_PYCALLBACK__(InitDialog);
963 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
964 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
965 DEC_PYCALLBACK_BOOL_(Validate);
966
967 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
968 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
969 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
970
971 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
972 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
973
974 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
975 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
976 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
977
978 PYPRIVATE;
979 };
980
981 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
982
983 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
984 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
985 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
986 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
987
988 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
989 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
990 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
991
992 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
993 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
994
995 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
996 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
997 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
998 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
999
1000 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
1001 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
1002 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
1003
1004 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
1005 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
1006
1007 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
1008 IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
1009 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
1010
1011
1012
1013 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
1014
1015 #include <wx/generic/dragimgg.h>
1016
1017 #ifdef __cplusplus
1018 extern "C" {
1019 #endif
1020 static int _wrap_ButtonNameStr_set(PyObject *_val) {
1021 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1022 return 1;
1023 }
1024
1025
1026 static PyObject *_wrap_ButtonNameStr_get() {
1027 PyObject *pyobj;
1028
1029 {
1030 #if wxUSE_UNICODE
1031 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1032 #else
1033 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1034 #endif
1035 }
1036 return pyobj;
1037 }
1038
1039
1040 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
1041 PyObject *resultobj;
1042 wxWindow *arg1 = (wxWindow *) 0 ;
1043 int arg2 = (int) -1 ;
1044 wxString const &arg3_defvalue = wxPyEmptyString ;
1045 wxString *arg3 = (wxString *) &arg3_defvalue ;
1046 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1047 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1048 wxSize const &arg5_defvalue = wxDefaultSize ;
1049 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1050 long arg6 = (long) 0 ;
1051 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1052 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1053 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1054 wxString *arg8 = (wxString *) &arg8_defvalue ;
1055 wxButton *result;
1056 bool temp3 = False ;
1057 wxPoint temp4 ;
1058 wxSize temp5 ;
1059 bool temp8 = False ;
1060 PyObject * obj0 = 0 ;
1061 PyObject * obj1 = 0 ;
1062 PyObject * obj2 = 0 ;
1063 PyObject * obj3 = 0 ;
1064 PyObject * obj4 = 0 ;
1065 PyObject * obj5 = 0 ;
1066 PyObject * obj6 = 0 ;
1067 PyObject * obj7 = 0 ;
1068 char *kwnames[] = {
1069 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1070 };
1071
1072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1075 if (obj1) {
1076 arg2 = (int) SWIG_AsInt(obj1);
1077 if (PyErr_Occurred()) SWIG_fail;
1078 }
1079 if (obj2) {
1080 {
1081 arg3 = wxString_in_helper(obj2);
1082 if (arg3 == NULL) SWIG_fail;
1083 temp3 = True;
1084 }
1085 }
1086 if (obj3) {
1087 {
1088 arg4 = &temp4;
1089 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1090 }
1091 }
1092 if (obj4) {
1093 {
1094 arg5 = &temp5;
1095 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1096 }
1097 }
1098 if (obj5) {
1099 arg6 = (long) SWIG_AsLong(obj5);
1100 if (PyErr_Occurred()) SWIG_fail;
1101 }
1102 if (obj6) {
1103 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1104 SWIG_POINTER_EXCEPTION | 0)) == -1)
1105 SWIG_fail;
1106 if (arg7 == NULL) {
1107 PyErr_SetString(PyExc_TypeError,"null reference");
1108 SWIG_fail;
1109 }
1110 }
1111 if (obj7) {
1112 {
1113 arg8 = wxString_in_helper(obj7);
1114 if (arg8 == NULL) SWIG_fail;
1115 temp8 = True;
1116 }
1117 }
1118 {
1119 if (!wxPyCheckForApp()) SWIG_fail;
1120 PyThreadState* __tstate = wxPyBeginAllowThreads();
1121 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1122
1123 wxPyEndAllowThreads(__tstate);
1124 if (PyErr_Occurred()) SWIG_fail;
1125 }
1126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
1127 {
1128 if (temp3)
1129 delete arg3;
1130 }
1131 {
1132 if (temp8)
1133 delete arg8;
1134 }
1135 return resultobj;
1136 fail:
1137 {
1138 if (temp3)
1139 delete arg3;
1140 }
1141 {
1142 if (temp8)
1143 delete arg8;
1144 }
1145 return NULL;
1146 }
1147
1148
1149 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1150 PyObject *resultobj;
1151 wxButton *result;
1152 char *kwnames[] = {
1153 NULL
1154 };
1155
1156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1157 {
1158 if (!wxPyCheckForApp()) SWIG_fail;
1159 PyThreadState* __tstate = wxPyBeginAllowThreads();
1160 result = (wxButton *)new wxButton();
1161
1162 wxPyEndAllowThreads(__tstate);
1163 if (PyErr_Occurred()) SWIG_fail;
1164 }
1165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
1166 return resultobj;
1167 fail:
1168 return NULL;
1169 }
1170
1171
1172 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1173 PyObject *resultobj;
1174 wxButton *arg1 = (wxButton *) 0 ;
1175 wxWindow *arg2 = (wxWindow *) 0 ;
1176 int arg3 = (int) -1 ;
1177 wxString const &arg4_defvalue = wxPyEmptyString ;
1178 wxString *arg4 = (wxString *) &arg4_defvalue ;
1179 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1180 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1181 wxSize const &arg6_defvalue = wxDefaultSize ;
1182 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1183 long arg7 = (long) 0 ;
1184 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1185 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1186 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1187 wxString *arg9 = (wxString *) &arg9_defvalue ;
1188 bool result;
1189 bool temp4 = False ;
1190 wxPoint temp5 ;
1191 wxSize temp6 ;
1192 bool temp9 = False ;
1193 PyObject * obj0 = 0 ;
1194 PyObject * obj1 = 0 ;
1195 PyObject * obj2 = 0 ;
1196 PyObject * obj3 = 0 ;
1197 PyObject * obj4 = 0 ;
1198 PyObject * obj5 = 0 ;
1199 PyObject * obj6 = 0 ;
1200 PyObject * obj7 = 0 ;
1201 PyObject * obj8 = 0 ;
1202 char *kwnames[] = {
1203 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1204 };
1205
1206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1209 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1211 if (obj2) {
1212 arg3 = (int) SWIG_AsInt(obj2);
1213 if (PyErr_Occurred()) SWIG_fail;
1214 }
1215 if (obj3) {
1216 {
1217 arg4 = wxString_in_helper(obj3);
1218 if (arg4 == NULL) SWIG_fail;
1219 temp4 = True;
1220 }
1221 }
1222 if (obj4) {
1223 {
1224 arg5 = &temp5;
1225 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1226 }
1227 }
1228 if (obj5) {
1229 {
1230 arg6 = &temp6;
1231 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1232 }
1233 }
1234 if (obj6) {
1235 arg7 = (long) SWIG_AsLong(obj6);
1236 if (PyErr_Occurred()) SWIG_fail;
1237 }
1238 if (obj7) {
1239 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1240 SWIG_POINTER_EXCEPTION | 0)) == -1)
1241 SWIG_fail;
1242 if (arg8 == NULL) {
1243 PyErr_SetString(PyExc_TypeError,"null reference");
1244 SWIG_fail;
1245 }
1246 }
1247 if (obj8) {
1248 {
1249 arg9 = wxString_in_helper(obj8);
1250 if (arg9 == NULL) SWIG_fail;
1251 temp9 = True;
1252 }
1253 }
1254 {
1255 PyThreadState* __tstate = wxPyBeginAllowThreads();
1256 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1257
1258 wxPyEndAllowThreads(__tstate);
1259 if (PyErr_Occurred()) SWIG_fail;
1260 }
1261 {
1262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1263 }
1264 {
1265 if (temp4)
1266 delete arg4;
1267 }
1268 {
1269 if (temp9)
1270 delete arg9;
1271 }
1272 return resultobj;
1273 fail:
1274 {
1275 if (temp4)
1276 delete arg4;
1277 }
1278 {
1279 if (temp9)
1280 delete arg9;
1281 }
1282 return NULL;
1283 }
1284
1285
1286 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1287 PyObject *resultobj;
1288 wxButton *arg1 = (wxButton *) 0 ;
1289 PyObject * obj0 = 0 ;
1290 char *kwnames[] = {
1291 (char *) "self", NULL
1292 };
1293
1294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1297 {
1298 PyThreadState* __tstate = wxPyBeginAllowThreads();
1299 (arg1)->SetDefault();
1300
1301 wxPyEndAllowThreads(__tstate);
1302 if (PyErr_Occurred()) SWIG_fail;
1303 }
1304 Py_INCREF(Py_None); resultobj = Py_None;
1305 return resultobj;
1306 fail:
1307 return NULL;
1308 }
1309
1310
1311 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1312 PyObject *resultobj;
1313 wxSize result;
1314 char *kwnames[] = {
1315 NULL
1316 };
1317
1318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1319 {
1320 PyThreadState* __tstate = wxPyBeginAllowThreads();
1321 result = wxButton::GetDefaultSize();
1322
1323 wxPyEndAllowThreads(__tstate);
1324 if (PyErr_Occurred()) SWIG_fail;
1325 }
1326 {
1327 wxSize * resultptr;
1328 resultptr = new wxSize((wxSize &) result);
1329 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1330 }
1331 return resultobj;
1332 fail:
1333 return NULL;
1334 }
1335
1336
1337 static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1338 PyObject *resultobj;
1339 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1340 wxVisualAttributes result;
1341 PyObject * obj0 = 0 ;
1342 char *kwnames[] = {
1343 (char *) "variant", NULL
1344 };
1345
1346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1347 if (obj0) {
1348 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
1349 if (PyErr_Occurred()) SWIG_fail;
1350 }
1351 {
1352 if (!wxPyCheckForApp()) SWIG_fail;
1353 PyThreadState* __tstate = wxPyBeginAllowThreads();
1354 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
1355
1356 wxPyEndAllowThreads(__tstate);
1357 if (PyErr_Occurred()) SWIG_fail;
1358 }
1359 {
1360 wxVisualAttributes * resultptr;
1361 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1362 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1363 }
1364 return resultobj;
1365 fail:
1366 return NULL;
1367 }
1368
1369
1370 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1371 PyObject *obj;
1372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1373 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1374 Py_INCREF(obj);
1375 return Py_BuildValue((char *)"");
1376 }
1377 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1378 PyObject *resultobj;
1379 wxWindow *arg1 = (wxWindow *) 0 ;
1380 int arg2 = (int) -1 ;
1381 wxBitmap const &arg3_defvalue = wxNullBitmap ;
1382 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
1383 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1384 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1385 wxSize const &arg5_defvalue = wxDefaultSize ;
1386 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1387 long arg6 = (long) wxBU_AUTODRAW ;
1388 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1389 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1390 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1391 wxString *arg8 = (wxString *) &arg8_defvalue ;
1392 wxBitmapButton *result;
1393 wxPoint temp4 ;
1394 wxSize temp5 ;
1395 bool temp8 = False ;
1396 PyObject * obj0 = 0 ;
1397 PyObject * obj1 = 0 ;
1398 PyObject * obj2 = 0 ;
1399 PyObject * obj3 = 0 ;
1400 PyObject * obj4 = 0 ;
1401 PyObject * obj5 = 0 ;
1402 PyObject * obj6 = 0 ;
1403 PyObject * obj7 = 0 ;
1404 char *kwnames[] = {
1405 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1406 };
1407
1408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1411 if (obj1) {
1412 arg2 = (int) SWIG_AsInt(obj1);
1413 if (PyErr_Occurred()) SWIG_fail;
1414 }
1415 if (obj2) {
1416 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1417 SWIG_POINTER_EXCEPTION | 0)) == -1)
1418 SWIG_fail;
1419 if (arg3 == NULL) {
1420 PyErr_SetString(PyExc_TypeError,"null reference");
1421 SWIG_fail;
1422 }
1423 }
1424 if (obj3) {
1425 {
1426 arg4 = &temp4;
1427 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1428 }
1429 }
1430 if (obj4) {
1431 {
1432 arg5 = &temp5;
1433 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1434 }
1435 }
1436 if (obj5) {
1437 arg6 = (long) SWIG_AsLong(obj5);
1438 if (PyErr_Occurred()) SWIG_fail;
1439 }
1440 if (obj6) {
1441 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1442 SWIG_POINTER_EXCEPTION | 0)) == -1)
1443 SWIG_fail;
1444 if (arg7 == NULL) {
1445 PyErr_SetString(PyExc_TypeError,"null reference");
1446 SWIG_fail;
1447 }
1448 }
1449 if (obj7) {
1450 {
1451 arg8 = wxString_in_helper(obj7);
1452 if (arg8 == NULL) SWIG_fail;
1453 temp8 = True;
1454 }
1455 }
1456 {
1457 if (!wxPyCheckForApp()) SWIG_fail;
1458 PyThreadState* __tstate = wxPyBeginAllowThreads();
1459 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1460
1461 wxPyEndAllowThreads(__tstate);
1462 if (PyErr_Occurred()) SWIG_fail;
1463 }
1464 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
1465 {
1466 if (temp8)
1467 delete arg8;
1468 }
1469 return resultobj;
1470 fail:
1471 {
1472 if (temp8)
1473 delete arg8;
1474 }
1475 return NULL;
1476 }
1477
1478
1479 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1480 PyObject *resultobj;
1481 wxBitmapButton *result;
1482 char *kwnames[] = {
1483 NULL
1484 };
1485
1486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1487 {
1488 if (!wxPyCheckForApp()) SWIG_fail;
1489 PyThreadState* __tstate = wxPyBeginAllowThreads();
1490 result = (wxBitmapButton *)new wxBitmapButton();
1491
1492 wxPyEndAllowThreads(__tstate);
1493 if (PyErr_Occurred()) SWIG_fail;
1494 }
1495 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
1496 return resultobj;
1497 fail:
1498 return NULL;
1499 }
1500
1501
1502 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1503 PyObject *resultobj;
1504 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1505 wxWindow *arg2 = (wxWindow *) 0 ;
1506 int arg3 = (int) -1 ;
1507 wxBitmap const &arg4_defvalue = wxNullBitmap ;
1508 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
1509 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1510 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1511 wxSize const &arg6_defvalue = wxDefaultSize ;
1512 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1513 long arg7 = (long) wxBU_AUTODRAW ;
1514 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1515 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1516 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1517 wxString *arg9 = (wxString *) &arg9_defvalue ;
1518 bool result;
1519 wxPoint temp5 ;
1520 wxSize temp6 ;
1521 bool temp9 = False ;
1522 PyObject * obj0 = 0 ;
1523 PyObject * obj1 = 0 ;
1524 PyObject * obj2 = 0 ;
1525 PyObject * obj3 = 0 ;
1526 PyObject * obj4 = 0 ;
1527 PyObject * obj5 = 0 ;
1528 PyObject * obj6 = 0 ;
1529 PyObject * obj7 = 0 ;
1530 PyObject * obj8 = 0 ;
1531 char *kwnames[] = {
1532 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1533 };
1534
1535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1538 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1540 if (obj2) {
1541 arg3 = (int) SWIG_AsInt(obj2);
1542 if (PyErr_Occurred()) SWIG_fail;
1543 }
1544 if (obj3) {
1545 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1546 SWIG_POINTER_EXCEPTION | 0)) == -1)
1547 SWIG_fail;
1548 if (arg4 == NULL) {
1549 PyErr_SetString(PyExc_TypeError,"null reference");
1550 SWIG_fail;
1551 }
1552 }
1553 if (obj4) {
1554 {
1555 arg5 = &temp5;
1556 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1557 }
1558 }
1559 if (obj5) {
1560 {
1561 arg6 = &temp6;
1562 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1563 }
1564 }
1565 if (obj6) {
1566 arg7 = (long) SWIG_AsLong(obj6);
1567 if (PyErr_Occurred()) SWIG_fail;
1568 }
1569 if (obj7) {
1570 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1571 SWIG_POINTER_EXCEPTION | 0)) == -1)
1572 SWIG_fail;
1573 if (arg8 == NULL) {
1574 PyErr_SetString(PyExc_TypeError,"null reference");
1575 SWIG_fail;
1576 }
1577 }
1578 if (obj8) {
1579 {
1580 arg9 = wxString_in_helper(obj8);
1581 if (arg9 == NULL) SWIG_fail;
1582 temp9 = True;
1583 }
1584 }
1585 {
1586 PyThreadState* __tstate = wxPyBeginAllowThreads();
1587 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1588
1589 wxPyEndAllowThreads(__tstate);
1590 if (PyErr_Occurred()) SWIG_fail;
1591 }
1592 {
1593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1594 }
1595 {
1596 if (temp9)
1597 delete arg9;
1598 }
1599 return resultobj;
1600 fail:
1601 {
1602 if (temp9)
1603 delete arg9;
1604 }
1605 return NULL;
1606 }
1607
1608
1609 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1610 PyObject *resultobj;
1611 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1612 wxBitmap result;
1613 PyObject * obj0 = 0 ;
1614 char *kwnames[] = {
1615 (char *) "self", NULL
1616 };
1617
1618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1621 {
1622 PyThreadState* __tstate = wxPyBeginAllowThreads();
1623 result = (arg1)->GetBitmapLabel();
1624
1625 wxPyEndAllowThreads(__tstate);
1626 if (PyErr_Occurred()) SWIG_fail;
1627 }
1628 {
1629 wxBitmap * resultptr;
1630 resultptr = new wxBitmap((wxBitmap &) result);
1631 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1632 }
1633 return resultobj;
1634 fail:
1635 return NULL;
1636 }
1637
1638
1639 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1640 PyObject *resultobj;
1641 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1642 wxBitmap result;
1643 PyObject * obj0 = 0 ;
1644 char *kwnames[] = {
1645 (char *) "self", NULL
1646 };
1647
1648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1651 {
1652 PyThreadState* __tstate = wxPyBeginAllowThreads();
1653 result = (arg1)->GetBitmapDisabled();
1654
1655 wxPyEndAllowThreads(__tstate);
1656 if (PyErr_Occurred()) SWIG_fail;
1657 }
1658 {
1659 wxBitmap * resultptr;
1660 resultptr = new wxBitmap((wxBitmap &) result);
1661 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1662 }
1663 return resultobj;
1664 fail:
1665 return NULL;
1666 }
1667
1668
1669 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1670 PyObject *resultobj;
1671 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1672 wxBitmap result;
1673 PyObject * obj0 = 0 ;
1674 char *kwnames[] = {
1675 (char *) "self", NULL
1676 };
1677
1678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1681 {
1682 PyThreadState* __tstate = wxPyBeginAllowThreads();
1683 result = (arg1)->GetBitmapFocus();
1684
1685 wxPyEndAllowThreads(__tstate);
1686 if (PyErr_Occurred()) SWIG_fail;
1687 }
1688 {
1689 wxBitmap * resultptr;
1690 resultptr = new wxBitmap((wxBitmap &) result);
1691 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1692 }
1693 return resultobj;
1694 fail:
1695 return NULL;
1696 }
1697
1698
1699 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1700 PyObject *resultobj;
1701 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1702 wxBitmap result;
1703 PyObject * obj0 = 0 ;
1704 char *kwnames[] = {
1705 (char *) "self", NULL
1706 };
1707
1708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1711 {
1712 PyThreadState* __tstate = wxPyBeginAllowThreads();
1713 result = (arg1)->GetBitmapSelected();
1714
1715 wxPyEndAllowThreads(__tstate);
1716 if (PyErr_Occurred()) SWIG_fail;
1717 }
1718 {
1719 wxBitmap * resultptr;
1720 resultptr = new wxBitmap((wxBitmap &) result);
1721 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1722 }
1723 return resultobj;
1724 fail:
1725 return NULL;
1726 }
1727
1728
1729 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1730 PyObject *resultobj;
1731 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1732 wxBitmap *arg2 = 0 ;
1733 PyObject * obj0 = 0 ;
1734 PyObject * obj1 = 0 ;
1735 char *kwnames[] = {
1736 (char *) "self",(char *) "bitmap", NULL
1737 };
1738
1739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1742 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1743 SWIG_POINTER_EXCEPTION | 0)) == -1)
1744 SWIG_fail;
1745 if (arg2 == NULL) {
1746 PyErr_SetString(PyExc_TypeError,"null reference");
1747 SWIG_fail;
1748 }
1749 {
1750 PyThreadState* __tstate = wxPyBeginAllowThreads();
1751 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1752
1753 wxPyEndAllowThreads(__tstate);
1754 if (PyErr_Occurred()) SWIG_fail;
1755 }
1756 Py_INCREF(Py_None); resultobj = Py_None;
1757 return resultobj;
1758 fail:
1759 return NULL;
1760 }
1761
1762
1763 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1764 PyObject *resultobj;
1765 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1766 wxBitmap *arg2 = 0 ;
1767 PyObject * obj0 = 0 ;
1768 PyObject * obj1 = 0 ;
1769 char *kwnames[] = {
1770 (char *) "self",(char *) "bitmap", NULL
1771 };
1772
1773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1777 SWIG_POINTER_EXCEPTION | 0)) == -1)
1778 SWIG_fail;
1779 if (arg2 == NULL) {
1780 PyErr_SetString(PyExc_TypeError,"null reference");
1781 SWIG_fail;
1782 }
1783 {
1784 PyThreadState* __tstate = wxPyBeginAllowThreads();
1785 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1786
1787 wxPyEndAllowThreads(__tstate);
1788 if (PyErr_Occurred()) SWIG_fail;
1789 }
1790 Py_INCREF(Py_None); resultobj = Py_None;
1791 return resultobj;
1792 fail:
1793 return NULL;
1794 }
1795
1796
1797 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1798 PyObject *resultobj;
1799 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1800 wxBitmap *arg2 = 0 ;
1801 PyObject * obj0 = 0 ;
1802 PyObject * obj1 = 0 ;
1803 char *kwnames[] = {
1804 (char *) "self",(char *) "bitmap", NULL
1805 };
1806
1807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1810 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1811 SWIG_POINTER_EXCEPTION | 0)) == -1)
1812 SWIG_fail;
1813 if (arg2 == NULL) {
1814 PyErr_SetString(PyExc_TypeError,"null reference");
1815 SWIG_fail;
1816 }
1817 {
1818 PyThreadState* __tstate = wxPyBeginAllowThreads();
1819 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1820
1821 wxPyEndAllowThreads(__tstate);
1822 if (PyErr_Occurred()) SWIG_fail;
1823 }
1824 Py_INCREF(Py_None); resultobj = Py_None;
1825 return resultobj;
1826 fail:
1827 return NULL;
1828 }
1829
1830
1831 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1832 PyObject *resultobj;
1833 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1834 wxBitmap *arg2 = 0 ;
1835 PyObject * obj0 = 0 ;
1836 PyObject * obj1 = 0 ;
1837 char *kwnames[] = {
1838 (char *) "self",(char *) "bitmap", NULL
1839 };
1840
1841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1844 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1845 SWIG_POINTER_EXCEPTION | 0)) == -1)
1846 SWIG_fail;
1847 if (arg2 == NULL) {
1848 PyErr_SetString(PyExc_TypeError,"null reference");
1849 SWIG_fail;
1850 }
1851 {
1852 PyThreadState* __tstate = wxPyBeginAllowThreads();
1853 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1854
1855 wxPyEndAllowThreads(__tstate);
1856 if (PyErr_Occurred()) SWIG_fail;
1857 }
1858 Py_INCREF(Py_None); resultobj = Py_None;
1859 return resultobj;
1860 fail:
1861 return NULL;
1862 }
1863
1864
1865 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1866 PyObject *resultobj;
1867 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1868 int arg2 ;
1869 int arg3 ;
1870 PyObject * obj0 = 0 ;
1871 PyObject * obj1 = 0 ;
1872 PyObject * obj2 = 0 ;
1873 char *kwnames[] = {
1874 (char *) "self",(char *) "x",(char *) "y", NULL
1875 };
1876
1877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1880 arg2 = (int) SWIG_AsInt(obj1);
1881 if (PyErr_Occurred()) SWIG_fail;
1882 arg3 = (int) SWIG_AsInt(obj2);
1883 if (PyErr_Occurred()) SWIG_fail;
1884 {
1885 PyThreadState* __tstate = wxPyBeginAllowThreads();
1886 (arg1)->SetMargins(arg2,arg3);
1887
1888 wxPyEndAllowThreads(__tstate);
1889 if (PyErr_Occurred()) SWIG_fail;
1890 }
1891 Py_INCREF(Py_None); resultobj = Py_None;
1892 return resultobj;
1893 fail:
1894 return NULL;
1895 }
1896
1897
1898 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1899 PyObject *resultobj;
1900 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1901 int result;
1902 PyObject * obj0 = 0 ;
1903 char *kwnames[] = {
1904 (char *) "self", NULL
1905 };
1906
1907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1910 {
1911 PyThreadState* __tstate = wxPyBeginAllowThreads();
1912 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1913
1914 wxPyEndAllowThreads(__tstate);
1915 if (PyErr_Occurred()) SWIG_fail;
1916 }
1917 resultobj = SWIG_FromInt((int)result);
1918 return resultobj;
1919 fail:
1920 return NULL;
1921 }
1922
1923
1924 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1925 PyObject *resultobj;
1926 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1927 int result;
1928 PyObject * obj0 = 0 ;
1929 char *kwnames[] = {
1930 (char *) "self", NULL
1931 };
1932
1933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1936 {
1937 PyThreadState* __tstate = wxPyBeginAllowThreads();
1938 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1939
1940 wxPyEndAllowThreads(__tstate);
1941 if (PyErr_Occurred()) SWIG_fail;
1942 }
1943 resultobj = SWIG_FromInt((int)result);
1944 return resultobj;
1945 fail:
1946 return NULL;
1947 }
1948
1949
1950 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1951 PyObject *obj;
1952 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1953 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1954 Py_INCREF(obj);
1955 return Py_BuildValue((char *)"");
1956 }
1957 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1958 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1959 return 1;
1960 }
1961
1962
1963 static PyObject *_wrap_CheckBoxNameStr_get() {
1964 PyObject *pyobj;
1965
1966 {
1967 #if wxUSE_UNICODE
1968 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1969 #else
1970 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1971 #endif
1972 }
1973 return pyobj;
1974 }
1975
1976
1977 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1978 PyObject *resultobj;
1979 wxWindow *arg1 = (wxWindow *) 0 ;
1980 int arg2 = (int) -1 ;
1981 wxString const &arg3_defvalue = wxPyEmptyString ;
1982 wxString *arg3 = (wxString *) &arg3_defvalue ;
1983 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1984 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1985 wxSize const &arg5_defvalue = wxDefaultSize ;
1986 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1987 long arg6 = (long) 0 ;
1988 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1989 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1990 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1991 wxString *arg8 = (wxString *) &arg8_defvalue ;
1992 wxCheckBox *result;
1993 bool temp3 = False ;
1994 wxPoint temp4 ;
1995 wxSize temp5 ;
1996 bool temp8 = False ;
1997 PyObject * obj0 = 0 ;
1998 PyObject * obj1 = 0 ;
1999 PyObject * obj2 = 0 ;
2000 PyObject * obj3 = 0 ;
2001 PyObject * obj4 = 0 ;
2002 PyObject * obj5 = 0 ;
2003 PyObject * obj6 = 0 ;
2004 PyObject * obj7 = 0 ;
2005 char *kwnames[] = {
2006 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2007 };
2008
2009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2012 if (obj1) {
2013 arg2 = (int) SWIG_AsInt(obj1);
2014 if (PyErr_Occurred()) SWIG_fail;
2015 }
2016 if (obj2) {
2017 {
2018 arg3 = wxString_in_helper(obj2);
2019 if (arg3 == NULL) SWIG_fail;
2020 temp3 = True;
2021 }
2022 }
2023 if (obj3) {
2024 {
2025 arg4 = &temp4;
2026 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2027 }
2028 }
2029 if (obj4) {
2030 {
2031 arg5 = &temp5;
2032 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2033 }
2034 }
2035 if (obj5) {
2036 arg6 = (long) SWIG_AsLong(obj5);
2037 if (PyErr_Occurred()) SWIG_fail;
2038 }
2039 if (obj6) {
2040 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2041 SWIG_POINTER_EXCEPTION | 0)) == -1)
2042 SWIG_fail;
2043 if (arg7 == NULL) {
2044 PyErr_SetString(PyExc_TypeError,"null reference");
2045 SWIG_fail;
2046 }
2047 }
2048 if (obj7) {
2049 {
2050 arg8 = wxString_in_helper(obj7);
2051 if (arg8 == NULL) SWIG_fail;
2052 temp8 = True;
2053 }
2054 }
2055 {
2056 if (!wxPyCheckForApp()) SWIG_fail;
2057 PyThreadState* __tstate = wxPyBeginAllowThreads();
2058 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2059
2060 wxPyEndAllowThreads(__tstate);
2061 if (PyErr_Occurred()) SWIG_fail;
2062 }
2063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2064 {
2065 if (temp3)
2066 delete arg3;
2067 }
2068 {
2069 if (temp8)
2070 delete arg8;
2071 }
2072 return resultobj;
2073 fail:
2074 {
2075 if (temp3)
2076 delete arg3;
2077 }
2078 {
2079 if (temp8)
2080 delete arg8;
2081 }
2082 return NULL;
2083 }
2084
2085
2086 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2087 PyObject *resultobj;
2088 wxCheckBox *result;
2089 char *kwnames[] = {
2090 NULL
2091 };
2092
2093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2094 {
2095 if (!wxPyCheckForApp()) SWIG_fail;
2096 PyThreadState* __tstate = wxPyBeginAllowThreads();
2097 result = (wxCheckBox *)new wxCheckBox();
2098
2099 wxPyEndAllowThreads(__tstate);
2100 if (PyErr_Occurred()) SWIG_fail;
2101 }
2102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2103 return resultobj;
2104 fail:
2105 return NULL;
2106 }
2107
2108
2109 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2110 PyObject *resultobj;
2111 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2112 wxWindow *arg2 = (wxWindow *) 0 ;
2113 int arg3 = (int) -1 ;
2114 wxString const &arg4_defvalue = wxPyEmptyString ;
2115 wxString *arg4 = (wxString *) &arg4_defvalue ;
2116 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2117 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2118 wxSize const &arg6_defvalue = wxDefaultSize ;
2119 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2120 long arg7 = (long) 0 ;
2121 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2122 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2123 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2124 wxString *arg9 = (wxString *) &arg9_defvalue ;
2125 bool result;
2126 bool temp4 = False ;
2127 wxPoint temp5 ;
2128 wxSize temp6 ;
2129 bool temp9 = False ;
2130 PyObject * obj0 = 0 ;
2131 PyObject * obj1 = 0 ;
2132 PyObject * obj2 = 0 ;
2133 PyObject * obj3 = 0 ;
2134 PyObject * obj4 = 0 ;
2135 PyObject * obj5 = 0 ;
2136 PyObject * obj6 = 0 ;
2137 PyObject * obj7 = 0 ;
2138 PyObject * obj8 = 0 ;
2139 char *kwnames[] = {
2140 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2141 };
2142
2143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2146 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2148 if (obj2) {
2149 arg3 = (int) SWIG_AsInt(obj2);
2150 if (PyErr_Occurred()) SWIG_fail;
2151 }
2152 if (obj3) {
2153 {
2154 arg4 = wxString_in_helper(obj3);
2155 if (arg4 == NULL) SWIG_fail;
2156 temp4 = True;
2157 }
2158 }
2159 if (obj4) {
2160 {
2161 arg5 = &temp5;
2162 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2163 }
2164 }
2165 if (obj5) {
2166 {
2167 arg6 = &temp6;
2168 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2169 }
2170 }
2171 if (obj6) {
2172 arg7 = (long) SWIG_AsLong(obj6);
2173 if (PyErr_Occurred()) SWIG_fail;
2174 }
2175 if (obj7) {
2176 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2177 SWIG_POINTER_EXCEPTION | 0)) == -1)
2178 SWIG_fail;
2179 if (arg8 == NULL) {
2180 PyErr_SetString(PyExc_TypeError,"null reference");
2181 SWIG_fail;
2182 }
2183 }
2184 if (obj8) {
2185 {
2186 arg9 = wxString_in_helper(obj8);
2187 if (arg9 == NULL) SWIG_fail;
2188 temp9 = True;
2189 }
2190 }
2191 {
2192 PyThreadState* __tstate = wxPyBeginAllowThreads();
2193 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2194
2195 wxPyEndAllowThreads(__tstate);
2196 if (PyErr_Occurred()) SWIG_fail;
2197 }
2198 {
2199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2200 }
2201 {
2202 if (temp4)
2203 delete arg4;
2204 }
2205 {
2206 if (temp9)
2207 delete arg9;
2208 }
2209 return resultobj;
2210 fail:
2211 {
2212 if (temp4)
2213 delete arg4;
2214 }
2215 {
2216 if (temp9)
2217 delete arg9;
2218 }
2219 return NULL;
2220 }
2221
2222
2223 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2224 PyObject *resultobj;
2225 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2226 bool result;
2227 PyObject * obj0 = 0 ;
2228 char *kwnames[] = {
2229 (char *) "self", NULL
2230 };
2231
2232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2235 {
2236 PyThreadState* __tstate = wxPyBeginAllowThreads();
2237 result = (bool)(arg1)->GetValue();
2238
2239 wxPyEndAllowThreads(__tstate);
2240 if (PyErr_Occurred()) SWIG_fail;
2241 }
2242 {
2243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2244 }
2245 return resultobj;
2246 fail:
2247 return NULL;
2248 }
2249
2250
2251 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2252 PyObject *resultobj;
2253 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2254 bool result;
2255 PyObject * obj0 = 0 ;
2256 char *kwnames[] = {
2257 (char *) "self", NULL
2258 };
2259
2260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2263 {
2264 PyThreadState* __tstate = wxPyBeginAllowThreads();
2265 result = (bool)(arg1)->IsChecked();
2266
2267 wxPyEndAllowThreads(__tstate);
2268 if (PyErr_Occurred()) SWIG_fail;
2269 }
2270 {
2271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2272 }
2273 return resultobj;
2274 fail:
2275 return NULL;
2276 }
2277
2278
2279 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2280 PyObject *resultobj;
2281 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2282 bool arg2 ;
2283 PyObject * obj0 = 0 ;
2284 PyObject * obj1 = 0 ;
2285 char *kwnames[] = {
2286 (char *) "self",(char *) "state", NULL
2287 };
2288
2289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2292 arg2 = (bool const) SWIG_AsBool(obj1);
2293 if (PyErr_Occurred()) SWIG_fail;
2294 {
2295 PyThreadState* __tstate = wxPyBeginAllowThreads();
2296 (arg1)->SetValue(arg2);
2297
2298 wxPyEndAllowThreads(__tstate);
2299 if (PyErr_Occurred()) SWIG_fail;
2300 }
2301 Py_INCREF(Py_None); resultobj = Py_None;
2302 return resultobj;
2303 fail:
2304 return NULL;
2305 }
2306
2307
2308 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2309 PyObject *resultobj;
2310 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2311 int result;
2312 PyObject * obj0 = 0 ;
2313 char *kwnames[] = {
2314 (char *) "self", NULL
2315 };
2316
2317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2320 {
2321 PyThreadState* __tstate = wxPyBeginAllowThreads();
2322 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2323
2324 wxPyEndAllowThreads(__tstate);
2325 if (PyErr_Occurred()) SWIG_fail;
2326 }
2327 resultobj = SWIG_FromInt((int)result);
2328 return resultobj;
2329 fail:
2330 return NULL;
2331 }
2332
2333
2334 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2335 PyObject *resultobj;
2336 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2337 int arg2 ;
2338 PyObject * obj0 = 0 ;
2339 PyObject * obj1 = 0 ;
2340 char *kwnames[] = {
2341 (char *) "self",(char *) "state", NULL
2342 };
2343
2344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2347 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2348 if (PyErr_Occurred()) SWIG_fail;
2349 {
2350 PyThreadState* __tstate = wxPyBeginAllowThreads();
2351 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2352
2353 wxPyEndAllowThreads(__tstate);
2354 if (PyErr_Occurred()) SWIG_fail;
2355 }
2356 Py_INCREF(Py_None); resultobj = Py_None;
2357 return resultobj;
2358 fail:
2359 return NULL;
2360 }
2361
2362
2363 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2364 PyObject *resultobj;
2365 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2366 bool result;
2367 PyObject * obj0 = 0 ;
2368 char *kwnames[] = {
2369 (char *) "self", NULL
2370 };
2371
2372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2375 {
2376 PyThreadState* __tstate = wxPyBeginAllowThreads();
2377 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2378
2379 wxPyEndAllowThreads(__tstate);
2380 if (PyErr_Occurred()) SWIG_fail;
2381 }
2382 {
2383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2384 }
2385 return resultobj;
2386 fail:
2387 return NULL;
2388 }
2389
2390
2391 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2392 PyObject *resultobj;
2393 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2394 bool result;
2395 PyObject * obj0 = 0 ;
2396 char *kwnames[] = {
2397 (char *) "self", NULL
2398 };
2399
2400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2403 {
2404 PyThreadState* __tstate = wxPyBeginAllowThreads();
2405 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2406
2407 wxPyEndAllowThreads(__tstate);
2408 if (PyErr_Occurred()) SWIG_fail;
2409 }
2410 {
2411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2412 }
2413 return resultobj;
2414 fail:
2415 return NULL;
2416 }
2417
2418
2419 static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2420 PyObject *resultobj;
2421 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2422 wxVisualAttributes result;
2423 PyObject * obj0 = 0 ;
2424 char *kwnames[] = {
2425 (char *) "variant", NULL
2426 };
2427
2428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2429 if (obj0) {
2430 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2431 if (PyErr_Occurred()) SWIG_fail;
2432 }
2433 {
2434 if (!wxPyCheckForApp()) SWIG_fail;
2435 PyThreadState* __tstate = wxPyBeginAllowThreads();
2436 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
2437
2438 wxPyEndAllowThreads(__tstate);
2439 if (PyErr_Occurred()) SWIG_fail;
2440 }
2441 {
2442 wxVisualAttributes * resultptr;
2443 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2444 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2445 }
2446 return resultobj;
2447 fail:
2448 return NULL;
2449 }
2450
2451
2452 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2453 PyObject *obj;
2454 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2455 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2456 Py_INCREF(obj);
2457 return Py_BuildValue((char *)"");
2458 }
2459 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2460 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2461 return 1;
2462 }
2463
2464
2465 static PyObject *_wrap_ChoiceNameStr_get() {
2466 PyObject *pyobj;
2467
2468 {
2469 #if wxUSE_UNICODE
2470 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2471 #else
2472 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2473 #endif
2474 }
2475 return pyobj;
2476 }
2477
2478
2479 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2480 PyObject *resultobj;
2481 wxWindow *arg1 = (wxWindow *) 0 ;
2482 int arg2 = (int) -1 ;
2483 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2484 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2485 wxSize const &arg4_defvalue = wxDefaultSize ;
2486 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2487 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2488 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2489 long arg6 = (long) 0 ;
2490 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2491 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2492 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2493 wxString *arg8 = (wxString *) &arg8_defvalue ;
2494 wxChoice *result;
2495 wxPoint temp3 ;
2496 wxSize temp4 ;
2497 bool temp5 = False ;
2498 bool temp8 = False ;
2499 PyObject * obj0 = 0 ;
2500 PyObject * obj1 = 0 ;
2501 PyObject * obj2 = 0 ;
2502 PyObject * obj3 = 0 ;
2503 PyObject * obj4 = 0 ;
2504 PyObject * obj5 = 0 ;
2505 PyObject * obj6 = 0 ;
2506 PyObject * obj7 = 0 ;
2507 char *kwnames[] = {
2508 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2509 };
2510
2511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2514 if (obj1) {
2515 arg2 = (int) SWIG_AsInt(obj1);
2516 if (PyErr_Occurred()) SWIG_fail;
2517 }
2518 if (obj2) {
2519 {
2520 arg3 = &temp3;
2521 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2522 }
2523 }
2524 if (obj3) {
2525 {
2526 arg4 = &temp4;
2527 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2528 }
2529 }
2530 if (obj4) {
2531 {
2532 if (! PySequence_Check(obj4)) {
2533 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2534 SWIG_fail;
2535 }
2536 arg5 = new wxArrayString;
2537 temp5 = True;
2538 int i, len=PySequence_Length(obj4);
2539 for (i=0; i<len; i++) {
2540 PyObject* item = PySequence_GetItem(obj4, i);
2541 #if wxUSE_UNICODE
2542 PyObject* str = PyObject_Unicode(item);
2543 #else
2544 PyObject* str = PyObject_Str(item);
2545 #endif
2546 if (PyErr_Occurred()) SWIG_fail;
2547 arg5->Add(Py2wxString(str));
2548 Py_DECREF(item);
2549 Py_DECREF(str);
2550 }
2551 }
2552 }
2553 if (obj5) {
2554 arg6 = (long) SWIG_AsLong(obj5);
2555 if (PyErr_Occurred()) SWIG_fail;
2556 }
2557 if (obj6) {
2558 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2559 SWIG_POINTER_EXCEPTION | 0)) == -1)
2560 SWIG_fail;
2561 if (arg7 == NULL) {
2562 PyErr_SetString(PyExc_TypeError,"null reference");
2563 SWIG_fail;
2564 }
2565 }
2566 if (obj7) {
2567 {
2568 arg8 = wxString_in_helper(obj7);
2569 if (arg8 == NULL) SWIG_fail;
2570 temp8 = True;
2571 }
2572 }
2573 {
2574 if (!wxPyCheckForApp()) SWIG_fail;
2575 PyThreadState* __tstate = wxPyBeginAllowThreads();
2576 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2577
2578 wxPyEndAllowThreads(__tstate);
2579 if (PyErr_Occurred()) SWIG_fail;
2580 }
2581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2582 {
2583 if (temp5) delete arg5;
2584 }
2585 {
2586 if (temp8)
2587 delete arg8;
2588 }
2589 return resultobj;
2590 fail:
2591 {
2592 if (temp5) delete arg5;
2593 }
2594 {
2595 if (temp8)
2596 delete arg8;
2597 }
2598 return NULL;
2599 }
2600
2601
2602 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2603 PyObject *resultobj;
2604 wxChoice *result;
2605 char *kwnames[] = {
2606 NULL
2607 };
2608
2609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2610 {
2611 if (!wxPyCheckForApp()) SWIG_fail;
2612 PyThreadState* __tstate = wxPyBeginAllowThreads();
2613 result = (wxChoice *)new wxChoice();
2614
2615 wxPyEndAllowThreads(__tstate);
2616 if (PyErr_Occurred()) SWIG_fail;
2617 }
2618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2619 return resultobj;
2620 fail:
2621 return NULL;
2622 }
2623
2624
2625 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2626 PyObject *resultobj;
2627 wxChoice *arg1 = (wxChoice *) 0 ;
2628 wxWindow *arg2 = (wxWindow *) 0 ;
2629 int arg3 = (int) -1 ;
2630 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2631 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2632 wxSize const &arg5_defvalue = wxDefaultSize ;
2633 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2634 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2635 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2636 long arg7 = (long) 0 ;
2637 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2638 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2639 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2640 wxString *arg9 = (wxString *) &arg9_defvalue ;
2641 bool result;
2642 wxPoint temp4 ;
2643 wxSize temp5 ;
2644 bool temp6 = False ;
2645 bool temp9 = False ;
2646 PyObject * obj0 = 0 ;
2647 PyObject * obj1 = 0 ;
2648 PyObject * obj2 = 0 ;
2649 PyObject * obj3 = 0 ;
2650 PyObject * obj4 = 0 ;
2651 PyObject * obj5 = 0 ;
2652 PyObject * obj6 = 0 ;
2653 PyObject * obj7 = 0 ;
2654 PyObject * obj8 = 0 ;
2655 char *kwnames[] = {
2656 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2657 };
2658
2659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2664 if (obj2) {
2665 arg3 = (int) SWIG_AsInt(obj2);
2666 if (PyErr_Occurred()) SWIG_fail;
2667 }
2668 if (obj3) {
2669 {
2670 arg4 = &temp4;
2671 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2672 }
2673 }
2674 if (obj4) {
2675 {
2676 arg5 = &temp5;
2677 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2678 }
2679 }
2680 if (obj5) {
2681 {
2682 if (! PySequence_Check(obj5)) {
2683 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2684 SWIG_fail;
2685 }
2686 arg6 = new wxArrayString;
2687 temp6 = True;
2688 int i, len=PySequence_Length(obj5);
2689 for (i=0; i<len; i++) {
2690 PyObject* item = PySequence_GetItem(obj5, i);
2691 #if wxUSE_UNICODE
2692 PyObject* str = PyObject_Unicode(item);
2693 #else
2694 PyObject* str = PyObject_Str(item);
2695 #endif
2696 if (PyErr_Occurred()) SWIG_fail;
2697 arg6->Add(Py2wxString(str));
2698 Py_DECREF(item);
2699 Py_DECREF(str);
2700 }
2701 }
2702 }
2703 if (obj6) {
2704 arg7 = (long) SWIG_AsLong(obj6);
2705 if (PyErr_Occurred()) SWIG_fail;
2706 }
2707 if (obj7) {
2708 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2709 SWIG_POINTER_EXCEPTION | 0)) == -1)
2710 SWIG_fail;
2711 if (arg8 == NULL) {
2712 PyErr_SetString(PyExc_TypeError,"null reference");
2713 SWIG_fail;
2714 }
2715 }
2716 if (obj8) {
2717 {
2718 arg9 = wxString_in_helper(obj8);
2719 if (arg9 == NULL) SWIG_fail;
2720 temp9 = True;
2721 }
2722 }
2723 {
2724 PyThreadState* __tstate = wxPyBeginAllowThreads();
2725 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2726
2727 wxPyEndAllowThreads(__tstate);
2728 if (PyErr_Occurred()) SWIG_fail;
2729 }
2730 {
2731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2732 }
2733 {
2734 if (temp6) delete arg6;
2735 }
2736 {
2737 if (temp9)
2738 delete arg9;
2739 }
2740 return resultobj;
2741 fail:
2742 {
2743 if (temp6) delete arg6;
2744 }
2745 {
2746 if (temp9)
2747 delete arg9;
2748 }
2749 return NULL;
2750 }
2751
2752
2753 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2754 PyObject *resultobj;
2755 wxChoice *arg1 = (wxChoice *) 0 ;
2756 int arg2 ;
2757 PyObject * obj0 = 0 ;
2758 PyObject * obj1 = 0 ;
2759 char *kwnames[] = {
2760 (char *) "self",(char *) "n", NULL
2761 };
2762
2763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2766 arg2 = (int const) SWIG_AsInt(obj1);
2767 if (PyErr_Occurred()) SWIG_fail;
2768 {
2769 PyThreadState* __tstate = wxPyBeginAllowThreads();
2770 (arg1)->SetSelection(arg2);
2771
2772 wxPyEndAllowThreads(__tstate);
2773 if (PyErr_Occurred()) SWIG_fail;
2774 }
2775 Py_INCREF(Py_None); resultobj = Py_None;
2776 return resultobj;
2777 fail:
2778 return NULL;
2779 }
2780
2781
2782 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2783 PyObject *resultobj;
2784 wxChoice *arg1 = (wxChoice *) 0 ;
2785 wxString *arg2 = 0 ;
2786 bool result;
2787 bool temp2 = False ;
2788 PyObject * obj0 = 0 ;
2789 PyObject * obj1 = 0 ;
2790 char *kwnames[] = {
2791 (char *) "self",(char *) "string", NULL
2792 };
2793
2794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2797 {
2798 arg2 = wxString_in_helper(obj1);
2799 if (arg2 == NULL) SWIG_fail;
2800 temp2 = True;
2801 }
2802 {
2803 PyThreadState* __tstate = wxPyBeginAllowThreads();
2804 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
2805
2806 wxPyEndAllowThreads(__tstate);
2807 if (PyErr_Occurred()) SWIG_fail;
2808 }
2809 {
2810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2811 }
2812 {
2813 if (temp2)
2814 delete arg2;
2815 }
2816 return resultobj;
2817 fail:
2818 {
2819 if (temp2)
2820 delete arg2;
2821 }
2822 return NULL;
2823 }
2824
2825
2826 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2827 PyObject *resultobj;
2828 wxChoice *arg1 = (wxChoice *) 0 ;
2829 int arg2 ;
2830 wxString *arg3 = 0 ;
2831 bool temp3 = False ;
2832 PyObject * obj0 = 0 ;
2833 PyObject * obj1 = 0 ;
2834 PyObject * obj2 = 0 ;
2835 char *kwnames[] = {
2836 (char *) "self",(char *) "n",(char *) "string", NULL
2837 };
2838
2839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2842 arg2 = (int) SWIG_AsInt(obj1);
2843 if (PyErr_Occurred()) SWIG_fail;
2844 {
2845 arg3 = wxString_in_helper(obj2);
2846 if (arg3 == NULL) SWIG_fail;
2847 temp3 = True;
2848 }
2849 {
2850 PyThreadState* __tstate = wxPyBeginAllowThreads();
2851 (arg1)->SetString(arg2,(wxString const &)*arg3);
2852
2853 wxPyEndAllowThreads(__tstate);
2854 if (PyErr_Occurred()) SWIG_fail;
2855 }
2856 Py_INCREF(Py_None); resultobj = Py_None;
2857 {
2858 if (temp3)
2859 delete arg3;
2860 }
2861 return resultobj;
2862 fail:
2863 {
2864 if (temp3)
2865 delete arg3;
2866 }
2867 return NULL;
2868 }
2869
2870
2871 static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2872 PyObject *resultobj;
2873 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2874 wxVisualAttributes result;
2875 PyObject * obj0 = 0 ;
2876 char *kwnames[] = {
2877 (char *) "variant", NULL
2878 };
2879
2880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2881 if (obj0) {
2882 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2883 if (PyErr_Occurred()) SWIG_fail;
2884 }
2885 {
2886 if (!wxPyCheckForApp()) SWIG_fail;
2887 PyThreadState* __tstate = wxPyBeginAllowThreads();
2888 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
2889
2890 wxPyEndAllowThreads(__tstate);
2891 if (PyErr_Occurred()) SWIG_fail;
2892 }
2893 {
2894 wxVisualAttributes * resultptr;
2895 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2896 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2897 }
2898 return resultobj;
2899 fail:
2900 return NULL;
2901 }
2902
2903
2904 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2905 PyObject *obj;
2906 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2907 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2908 Py_INCREF(obj);
2909 return Py_BuildValue((char *)"");
2910 }
2911 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2912 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2913 return 1;
2914 }
2915
2916
2917 static PyObject *_wrap_ComboBoxNameStr_get() {
2918 PyObject *pyobj;
2919
2920 {
2921 #if wxUSE_UNICODE
2922 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2923 #else
2924 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2925 #endif
2926 }
2927 return pyobj;
2928 }
2929
2930
2931 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2932 PyObject *resultobj;
2933 wxWindow *arg1 = (wxWindow *) 0 ;
2934 int arg2 = (int) -1 ;
2935 wxString const &arg3_defvalue = wxPyEmptyString ;
2936 wxString *arg3 = (wxString *) &arg3_defvalue ;
2937 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2938 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2939 wxSize const &arg5_defvalue = wxDefaultSize ;
2940 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2941 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2942 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2943 long arg7 = (long) 0 ;
2944 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2945 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2946 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2947 wxString *arg9 = (wxString *) &arg9_defvalue ;
2948 wxComboBox *result;
2949 bool temp3 = False ;
2950 wxPoint temp4 ;
2951 wxSize temp5 ;
2952 bool temp6 = False ;
2953 bool temp9 = False ;
2954 PyObject * obj0 = 0 ;
2955 PyObject * obj1 = 0 ;
2956 PyObject * obj2 = 0 ;
2957 PyObject * obj3 = 0 ;
2958 PyObject * obj4 = 0 ;
2959 PyObject * obj5 = 0 ;
2960 PyObject * obj6 = 0 ;
2961 PyObject * obj7 = 0 ;
2962 PyObject * obj8 = 0 ;
2963 char *kwnames[] = {
2964 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2965 };
2966
2967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2970 if (obj1) {
2971 arg2 = (int) SWIG_AsInt(obj1);
2972 if (PyErr_Occurred()) SWIG_fail;
2973 }
2974 if (obj2) {
2975 {
2976 arg3 = wxString_in_helper(obj2);
2977 if (arg3 == NULL) SWIG_fail;
2978 temp3 = True;
2979 }
2980 }
2981 if (obj3) {
2982 {
2983 arg4 = &temp4;
2984 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2985 }
2986 }
2987 if (obj4) {
2988 {
2989 arg5 = &temp5;
2990 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2991 }
2992 }
2993 if (obj5) {
2994 {
2995 if (! PySequence_Check(obj5)) {
2996 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2997 SWIG_fail;
2998 }
2999 arg6 = new wxArrayString;
3000 temp6 = True;
3001 int i, len=PySequence_Length(obj5);
3002 for (i=0; i<len; i++) {
3003 PyObject* item = PySequence_GetItem(obj5, i);
3004 #if wxUSE_UNICODE
3005 PyObject* str = PyObject_Unicode(item);
3006 #else
3007 PyObject* str = PyObject_Str(item);
3008 #endif
3009 if (PyErr_Occurred()) SWIG_fail;
3010 arg6->Add(Py2wxString(str));
3011 Py_DECREF(item);
3012 Py_DECREF(str);
3013 }
3014 }
3015 }
3016 if (obj6) {
3017 arg7 = (long) SWIG_AsLong(obj6);
3018 if (PyErr_Occurred()) SWIG_fail;
3019 }
3020 if (obj7) {
3021 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3022 SWIG_POINTER_EXCEPTION | 0)) == -1)
3023 SWIG_fail;
3024 if (arg8 == NULL) {
3025 PyErr_SetString(PyExc_TypeError,"null reference");
3026 SWIG_fail;
3027 }
3028 }
3029 if (obj8) {
3030 {
3031 arg9 = wxString_in_helper(obj8);
3032 if (arg9 == NULL) SWIG_fail;
3033 temp9 = True;
3034 }
3035 }
3036 {
3037 if (!wxPyCheckForApp()) SWIG_fail;
3038 PyThreadState* __tstate = wxPyBeginAllowThreads();
3039 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);
3040
3041 wxPyEndAllowThreads(__tstate);
3042 if (PyErr_Occurred()) SWIG_fail;
3043 }
3044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
3045 {
3046 if (temp3)
3047 delete arg3;
3048 }
3049 {
3050 if (temp6) delete arg6;
3051 }
3052 {
3053 if (temp9)
3054 delete arg9;
3055 }
3056 return resultobj;
3057 fail:
3058 {
3059 if (temp3)
3060 delete arg3;
3061 }
3062 {
3063 if (temp6) delete arg6;
3064 }
3065 {
3066 if (temp9)
3067 delete arg9;
3068 }
3069 return NULL;
3070 }
3071
3072
3073 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3074 PyObject *resultobj;
3075 wxComboBox *result;
3076 char *kwnames[] = {
3077 NULL
3078 };
3079
3080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
3081 {
3082 if (!wxPyCheckForApp()) SWIG_fail;
3083 PyThreadState* __tstate = wxPyBeginAllowThreads();
3084 result = (wxComboBox *)new wxComboBox();
3085
3086 wxPyEndAllowThreads(__tstate);
3087 if (PyErr_Occurred()) SWIG_fail;
3088 }
3089 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
3090 return resultobj;
3091 fail:
3092 return NULL;
3093 }
3094
3095
3096 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3097 PyObject *resultobj;
3098 wxComboBox *arg1 = (wxComboBox *) 0 ;
3099 wxWindow *arg2 = (wxWindow *) 0 ;
3100 int arg3 = (int) -1 ;
3101 wxString const &arg4_defvalue = wxPyEmptyString ;
3102 wxString *arg4 = (wxString *) &arg4_defvalue ;
3103 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3104 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3105 wxSize const &arg6_defvalue = wxDefaultSize ;
3106 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3107 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
3108 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
3109 long arg8 = (long) 0 ;
3110 wxValidator const &arg9_defvalue = wxDefaultValidator ;
3111 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
3112 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
3113 wxString *arg10 = (wxString *) &arg10_defvalue ;
3114 bool result;
3115 bool temp4 = False ;
3116 wxPoint temp5 ;
3117 wxSize temp6 ;
3118 bool temp7 = False ;
3119 bool temp10 = False ;
3120 PyObject * obj0 = 0 ;
3121 PyObject * obj1 = 0 ;
3122 PyObject * obj2 = 0 ;
3123 PyObject * obj3 = 0 ;
3124 PyObject * obj4 = 0 ;
3125 PyObject * obj5 = 0 ;
3126 PyObject * obj6 = 0 ;
3127 PyObject * obj7 = 0 ;
3128 PyObject * obj8 = 0 ;
3129 PyObject * obj9 = 0 ;
3130 char *kwnames[] = {
3131 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3132 };
3133
3134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
3135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3137 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3139 if (obj2) {
3140 arg3 = (int) SWIG_AsInt(obj2);
3141 if (PyErr_Occurred()) SWIG_fail;
3142 }
3143 if (obj3) {
3144 {
3145 arg4 = wxString_in_helper(obj3);
3146 if (arg4 == NULL) SWIG_fail;
3147 temp4 = True;
3148 }
3149 }
3150 if (obj4) {
3151 {
3152 arg5 = &temp5;
3153 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3154 }
3155 }
3156 if (obj5) {
3157 {
3158 arg6 = &temp6;
3159 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3160 }
3161 }
3162 if (obj6) {
3163 {
3164 if (! PySequence_Check(obj6)) {
3165 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3166 SWIG_fail;
3167 }
3168 arg7 = new wxArrayString;
3169 temp7 = True;
3170 int i, len=PySequence_Length(obj6);
3171 for (i=0; i<len; i++) {
3172 PyObject* item = PySequence_GetItem(obj6, i);
3173 #if wxUSE_UNICODE
3174 PyObject* str = PyObject_Unicode(item);
3175 #else
3176 PyObject* str = PyObject_Str(item);
3177 #endif
3178 if (PyErr_Occurred()) SWIG_fail;
3179 arg7->Add(Py2wxString(str));
3180 Py_DECREF(item);
3181 Py_DECREF(str);
3182 }
3183 }
3184 }
3185 if (obj7) {
3186 arg8 = (long) SWIG_AsLong(obj7);
3187 if (PyErr_Occurred()) SWIG_fail;
3188 }
3189 if (obj8) {
3190 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3191 SWIG_POINTER_EXCEPTION | 0)) == -1)
3192 SWIG_fail;
3193 if (arg9 == NULL) {
3194 PyErr_SetString(PyExc_TypeError,"null reference");
3195 SWIG_fail;
3196 }
3197 }
3198 if (obj9) {
3199 {
3200 arg10 = wxString_in_helper(obj9);
3201 if (arg10 == NULL) SWIG_fail;
3202 temp10 = True;
3203 }
3204 }
3205 {
3206 PyThreadState* __tstate = wxPyBeginAllowThreads();
3207 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);
3208
3209 wxPyEndAllowThreads(__tstate);
3210 if (PyErr_Occurred()) SWIG_fail;
3211 }
3212 {
3213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3214 }
3215 {
3216 if (temp4)
3217 delete arg4;
3218 }
3219 {
3220 if (temp7) delete arg7;
3221 }
3222 {
3223 if (temp10)
3224 delete arg10;
3225 }
3226 return resultobj;
3227 fail:
3228 {
3229 if (temp4)
3230 delete arg4;
3231 }
3232 {
3233 if (temp7) delete arg7;
3234 }
3235 {
3236 if (temp10)
3237 delete arg10;
3238 }
3239 return NULL;
3240 }
3241
3242
3243 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3244 PyObject *resultobj;
3245 wxComboBox *arg1 = (wxComboBox *) 0 ;
3246 wxString result;
3247 PyObject * obj0 = 0 ;
3248 char *kwnames[] = {
3249 (char *) "self", NULL
3250 };
3251
3252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3255 {
3256 PyThreadState* __tstate = wxPyBeginAllowThreads();
3257 result = ((wxComboBox const *)arg1)->GetValue();
3258
3259 wxPyEndAllowThreads(__tstate);
3260 if (PyErr_Occurred()) SWIG_fail;
3261 }
3262 {
3263 #if wxUSE_UNICODE
3264 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3265 #else
3266 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3267 #endif
3268 }
3269 return resultobj;
3270 fail:
3271 return NULL;
3272 }
3273
3274
3275 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3276 PyObject *resultobj;
3277 wxComboBox *arg1 = (wxComboBox *) 0 ;
3278 wxString *arg2 = 0 ;
3279 bool temp2 = False ;
3280 PyObject * obj0 = 0 ;
3281 PyObject * obj1 = 0 ;
3282 char *kwnames[] = {
3283 (char *) "self",(char *) "value", NULL
3284 };
3285
3286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3289 {
3290 arg2 = wxString_in_helper(obj1);
3291 if (arg2 == NULL) SWIG_fail;
3292 temp2 = True;
3293 }
3294 {
3295 PyThreadState* __tstate = wxPyBeginAllowThreads();
3296 (arg1)->SetValue((wxString const &)*arg2);
3297
3298 wxPyEndAllowThreads(__tstate);
3299 if (PyErr_Occurred()) SWIG_fail;
3300 }
3301 Py_INCREF(Py_None); resultobj = Py_None;
3302 {
3303 if (temp2)
3304 delete arg2;
3305 }
3306 return resultobj;
3307 fail:
3308 {
3309 if (temp2)
3310 delete arg2;
3311 }
3312 return NULL;
3313 }
3314
3315
3316 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3317 PyObject *resultobj;
3318 wxComboBox *arg1 = (wxComboBox *) 0 ;
3319 PyObject * obj0 = 0 ;
3320 char *kwnames[] = {
3321 (char *) "self", NULL
3322 };
3323
3324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3327 {
3328 PyThreadState* __tstate = wxPyBeginAllowThreads();
3329 (arg1)->Copy();
3330
3331 wxPyEndAllowThreads(__tstate);
3332 if (PyErr_Occurred()) SWIG_fail;
3333 }
3334 Py_INCREF(Py_None); resultobj = Py_None;
3335 return resultobj;
3336 fail:
3337 return NULL;
3338 }
3339
3340
3341 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3342 PyObject *resultobj;
3343 wxComboBox *arg1 = (wxComboBox *) 0 ;
3344 PyObject * obj0 = 0 ;
3345 char *kwnames[] = {
3346 (char *) "self", NULL
3347 };
3348
3349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3352 {
3353 PyThreadState* __tstate = wxPyBeginAllowThreads();
3354 (arg1)->Cut();
3355
3356 wxPyEndAllowThreads(__tstate);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 }
3359 Py_INCREF(Py_None); resultobj = Py_None;
3360 return resultobj;
3361 fail:
3362 return NULL;
3363 }
3364
3365
3366 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3367 PyObject *resultobj;
3368 wxComboBox *arg1 = (wxComboBox *) 0 ;
3369 PyObject * obj0 = 0 ;
3370 char *kwnames[] = {
3371 (char *) "self", NULL
3372 };
3373
3374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3377 {
3378 PyThreadState* __tstate = wxPyBeginAllowThreads();
3379 (arg1)->Paste();
3380
3381 wxPyEndAllowThreads(__tstate);
3382 if (PyErr_Occurred()) SWIG_fail;
3383 }
3384 Py_INCREF(Py_None); resultobj = Py_None;
3385 return resultobj;
3386 fail:
3387 return NULL;
3388 }
3389
3390
3391 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3392 PyObject *resultobj;
3393 wxComboBox *arg1 = (wxComboBox *) 0 ;
3394 long arg2 ;
3395 PyObject * obj0 = 0 ;
3396 PyObject * obj1 = 0 ;
3397 char *kwnames[] = {
3398 (char *) "self",(char *) "pos", NULL
3399 };
3400
3401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3404 arg2 = (long) SWIG_AsLong(obj1);
3405 if (PyErr_Occurred()) SWIG_fail;
3406 {
3407 PyThreadState* __tstate = wxPyBeginAllowThreads();
3408 (arg1)->SetInsertionPoint(arg2);
3409
3410 wxPyEndAllowThreads(__tstate);
3411 if (PyErr_Occurred()) SWIG_fail;
3412 }
3413 Py_INCREF(Py_None); resultobj = Py_None;
3414 return resultobj;
3415 fail:
3416 return NULL;
3417 }
3418
3419
3420 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3421 PyObject *resultobj;
3422 wxComboBox *arg1 = (wxComboBox *) 0 ;
3423 long result;
3424 PyObject * obj0 = 0 ;
3425 char *kwnames[] = {
3426 (char *) "self", NULL
3427 };
3428
3429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3432 {
3433 PyThreadState* __tstate = wxPyBeginAllowThreads();
3434 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3435
3436 wxPyEndAllowThreads(__tstate);
3437 if (PyErr_Occurred()) SWIG_fail;
3438 }
3439 resultobj = SWIG_FromLong((long)result);
3440 return resultobj;
3441 fail:
3442 return NULL;
3443 }
3444
3445
3446 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3447 PyObject *resultobj;
3448 wxComboBox *arg1 = (wxComboBox *) 0 ;
3449 long result;
3450 PyObject * obj0 = 0 ;
3451 char *kwnames[] = {
3452 (char *) "self", NULL
3453 };
3454
3455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3458 {
3459 PyThreadState* __tstate = wxPyBeginAllowThreads();
3460 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3461
3462 wxPyEndAllowThreads(__tstate);
3463 if (PyErr_Occurred()) SWIG_fail;
3464 }
3465 resultobj = SWIG_FromLong((long)result);
3466 return resultobj;
3467 fail:
3468 return NULL;
3469 }
3470
3471
3472 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3473 PyObject *resultobj;
3474 wxComboBox *arg1 = (wxComboBox *) 0 ;
3475 long arg2 ;
3476 long arg3 ;
3477 wxString *arg4 = 0 ;
3478 bool temp4 = False ;
3479 PyObject * obj0 = 0 ;
3480 PyObject * obj1 = 0 ;
3481 PyObject * obj2 = 0 ;
3482 PyObject * obj3 = 0 ;
3483 char *kwnames[] = {
3484 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3485 };
3486
3487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3490 arg2 = (long) SWIG_AsLong(obj1);
3491 if (PyErr_Occurred()) SWIG_fail;
3492 arg3 = (long) SWIG_AsLong(obj2);
3493 if (PyErr_Occurred()) SWIG_fail;
3494 {
3495 arg4 = wxString_in_helper(obj3);
3496 if (arg4 == NULL) SWIG_fail;
3497 temp4 = True;
3498 }
3499 {
3500 PyThreadState* __tstate = wxPyBeginAllowThreads();
3501 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3502
3503 wxPyEndAllowThreads(__tstate);
3504 if (PyErr_Occurred()) SWIG_fail;
3505 }
3506 Py_INCREF(Py_None); resultobj = Py_None;
3507 {
3508 if (temp4)
3509 delete arg4;
3510 }
3511 return resultobj;
3512 fail:
3513 {
3514 if (temp4)
3515 delete arg4;
3516 }
3517 return NULL;
3518 }
3519
3520
3521 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3522 PyObject *resultobj;
3523 wxComboBox *arg1 = (wxComboBox *) 0 ;
3524 int arg2 ;
3525 PyObject * obj0 = 0 ;
3526 PyObject * obj1 = 0 ;
3527 char *kwnames[] = {
3528 (char *) "self",(char *) "n", NULL
3529 };
3530
3531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3534 arg2 = (int) SWIG_AsInt(obj1);
3535 if (PyErr_Occurred()) SWIG_fail;
3536 {
3537 PyThreadState* __tstate = wxPyBeginAllowThreads();
3538 (arg1)->SetSelection(arg2);
3539
3540 wxPyEndAllowThreads(__tstate);
3541 if (PyErr_Occurred()) SWIG_fail;
3542 }
3543 Py_INCREF(Py_None); resultobj = Py_None;
3544 return resultobj;
3545 fail:
3546 return NULL;
3547 }
3548
3549
3550 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3551 PyObject *resultobj;
3552 wxComboBox *arg1 = (wxComboBox *) 0 ;
3553 long arg2 ;
3554 long arg3 ;
3555 PyObject * obj0 = 0 ;
3556 PyObject * obj1 = 0 ;
3557 PyObject * obj2 = 0 ;
3558 char *kwnames[] = {
3559 (char *) "self",(char *) "from",(char *) "to", NULL
3560 };
3561
3562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3565 arg2 = (long) SWIG_AsLong(obj1);
3566 if (PyErr_Occurred()) SWIG_fail;
3567 arg3 = (long) SWIG_AsLong(obj2);
3568 if (PyErr_Occurred()) SWIG_fail;
3569 {
3570 PyThreadState* __tstate = wxPyBeginAllowThreads();
3571 (arg1)->SetSelection(arg2,arg3);
3572
3573 wxPyEndAllowThreads(__tstate);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 }
3576 Py_INCREF(Py_None); resultobj = Py_None;
3577 return resultobj;
3578 fail:
3579 return NULL;
3580 }
3581
3582
3583 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3584 PyObject *resultobj;
3585 wxComboBox *arg1 = (wxComboBox *) 0 ;
3586 wxString *arg2 = 0 ;
3587 bool result;
3588 bool temp2 = False ;
3589 PyObject * obj0 = 0 ;
3590 PyObject * obj1 = 0 ;
3591 char *kwnames[] = {
3592 (char *) "self",(char *) "string", NULL
3593 };
3594
3595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
3596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3598 {
3599 arg2 = wxString_in_helper(obj1);
3600 if (arg2 == NULL) SWIG_fail;
3601 temp2 = True;
3602 }
3603 {
3604 PyThreadState* __tstate = wxPyBeginAllowThreads();
3605 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
3606
3607 wxPyEndAllowThreads(__tstate);
3608 if (PyErr_Occurred()) SWIG_fail;
3609 }
3610 {
3611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3612 }
3613 {
3614 if (temp2)
3615 delete arg2;
3616 }
3617 return resultobj;
3618 fail:
3619 {
3620 if (temp2)
3621 delete arg2;
3622 }
3623 return NULL;
3624 }
3625
3626
3627 static PyObject *_wrap_ComboBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
3628 PyObject *resultobj;
3629 wxComboBox *arg1 = (wxComboBox *) 0 ;
3630 int arg2 ;
3631 wxString *arg3 = 0 ;
3632 bool temp3 = False ;
3633 PyObject * obj0 = 0 ;
3634 PyObject * obj1 = 0 ;
3635 PyObject * obj2 = 0 ;
3636 char *kwnames[] = {
3637 (char *) "self",(char *) "n",(char *) "string", NULL
3638 };
3639
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
3641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3643 arg2 = (int) SWIG_AsInt(obj1);
3644 if (PyErr_Occurred()) SWIG_fail;
3645 {
3646 arg3 = wxString_in_helper(obj2);
3647 if (arg3 == NULL) SWIG_fail;
3648 temp3 = True;
3649 }
3650 {
3651 PyThreadState* __tstate = wxPyBeginAllowThreads();
3652 (arg1)->SetString(arg2,(wxString const &)*arg3);
3653
3654 wxPyEndAllowThreads(__tstate);
3655 if (PyErr_Occurred()) SWIG_fail;
3656 }
3657 Py_INCREF(Py_None); resultobj = Py_None;
3658 {
3659 if (temp3)
3660 delete arg3;
3661 }
3662 return resultobj;
3663 fail:
3664 {
3665 if (temp3)
3666 delete arg3;
3667 }
3668 return NULL;
3669 }
3670
3671
3672 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3673 PyObject *resultobj;
3674 wxComboBox *arg1 = (wxComboBox *) 0 ;
3675 bool arg2 ;
3676 PyObject * obj0 = 0 ;
3677 PyObject * obj1 = 0 ;
3678 char *kwnames[] = {
3679 (char *) "self",(char *) "editable", NULL
3680 };
3681
3682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3685 arg2 = (bool) SWIG_AsBool(obj1);
3686 if (PyErr_Occurred()) SWIG_fail;
3687 {
3688 PyThreadState* __tstate = wxPyBeginAllowThreads();
3689 (arg1)->SetEditable(arg2);
3690
3691 wxPyEndAllowThreads(__tstate);
3692 if (PyErr_Occurred()) SWIG_fail;
3693 }
3694 Py_INCREF(Py_None); resultobj = Py_None;
3695 return resultobj;
3696 fail:
3697 return NULL;
3698 }
3699
3700
3701 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3702 PyObject *resultobj;
3703 wxComboBox *arg1 = (wxComboBox *) 0 ;
3704 PyObject * obj0 = 0 ;
3705 char *kwnames[] = {
3706 (char *) "self", NULL
3707 };
3708
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3712 {
3713 PyThreadState* __tstate = wxPyBeginAllowThreads();
3714 (arg1)->SetInsertionPointEnd();
3715
3716 wxPyEndAllowThreads(__tstate);
3717 if (PyErr_Occurred()) SWIG_fail;
3718 }
3719 Py_INCREF(Py_None); resultobj = Py_None;
3720 return resultobj;
3721 fail:
3722 return NULL;
3723 }
3724
3725
3726 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3727 PyObject *resultobj;
3728 wxComboBox *arg1 = (wxComboBox *) 0 ;
3729 long arg2 ;
3730 long arg3 ;
3731 PyObject * obj0 = 0 ;
3732 PyObject * obj1 = 0 ;
3733 PyObject * obj2 = 0 ;
3734 char *kwnames[] = {
3735 (char *) "self",(char *) "from",(char *) "to", NULL
3736 };
3737
3738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3741 arg2 = (long) SWIG_AsLong(obj1);
3742 if (PyErr_Occurred()) SWIG_fail;
3743 arg3 = (long) SWIG_AsLong(obj2);
3744 if (PyErr_Occurred()) SWIG_fail;
3745 {
3746 PyThreadState* __tstate = wxPyBeginAllowThreads();
3747 (arg1)->Remove(arg2,arg3);
3748
3749 wxPyEndAllowThreads(__tstate);
3750 if (PyErr_Occurred()) SWIG_fail;
3751 }
3752 Py_INCREF(Py_None); resultobj = Py_None;
3753 return resultobj;
3754 fail:
3755 return NULL;
3756 }
3757
3758
3759 static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
3760 PyObject *resultobj;
3761 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3762 wxVisualAttributes result;
3763 PyObject * obj0 = 0 ;
3764 char *kwnames[] = {
3765 (char *) "variant", NULL
3766 };
3767
3768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3769 if (obj0) {
3770 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
3771 if (PyErr_Occurred()) SWIG_fail;
3772 }
3773 {
3774 if (!wxPyCheckForApp()) SWIG_fail;
3775 PyThreadState* __tstate = wxPyBeginAllowThreads();
3776 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3777
3778 wxPyEndAllowThreads(__tstate);
3779 if (PyErr_Occurred()) SWIG_fail;
3780 }
3781 {
3782 wxVisualAttributes * resultptr;
3783 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3784 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3785 }
3786 return resultobj;
3787 fail:
3788 return NULL;
3789 }
3790
3791
3792 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3793 PyObject *obj;
3794 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3795 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3796 Py_INCREF(obj);
3797 return Py_BuildValue((char *)"");
3798 }
3799 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3800 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3801 return 1;
3802 }
3803
3804
3805 static PyObject *_wrap_GaugeNameStr_get() {
3806 PyObject *pyobj;
3807
3808 {
3809 #if wxUSE_UNICODE
3810 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3811 #else
3812 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3813 #endif
3814 }
3815 return pyobj;
3816 }
3817
3818
3819 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3820 PyObject *resultobj;
3821 wxWindow *arg1 = (wxWindow *) 0 ;
3822 int arg2 = (int) -1 ;
3823 int arg3 = (int) 100 ;
3824 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3825 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3826 wxSize const &arg5_defvalue = wxDefaultSize ;
3827 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3828 long arg6 = (long) wxGA_HORIZONTAL ;
3829 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3830 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3831 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3832 wxString *arg8 = (wxString *) &arg8_defvalue ;
3833 wxGauge *result;
3834 wxPoint temp4 ;
3835 wxSize temp5 ;
3836 bool temp8 = False ;
3837 PyObject * obj0 = 0 ;
3838 PyObject * obj1 = 0 ;
3839 PyObject * obj2 = 0 ;
3840 PyObject * obj3 = 0 ;
3841 PyObject * obj4 = 0 ;
3842 PyObject * obj5 = 0 ;
3843 PyObject * obj6 = 0 ;
3844 PyObject * obj7 = 0 ;
3845 char *kwnames[] = {
3846 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3847 };
3848
3849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3852 if (obj1) {
3853 arg2 = (int) SWIG_AsInt(obj1);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
3856 if (obj2) {
3857 arg3 = (int) SWIG_AsInt(obj2);
3858 if (PyErr_Occurred()) SWIG_fail;
3859 }
3860 if (obj3) {
3861 {
3862 arg4 = &temp4;
3863 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3864 }
3865 }
3866 if (obj4) {
3867 {
3868 arg5 = &temp5;
3869 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3870 }
3871 }
3872 if (obj5) {
3873 arg6 = (long) SWIG_AsLong(obj5);
3874 if (PyErr_Occurred()) SWIG_fail;
3875 }
3876 if (obj6) {
3877 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3878 SWIG_POINTER_EXCEPTION | 0)) == -1)
3879 SWIG_fail;
3880 if (arg7 == NULL) {
3881 PyErr_SetString(PyExc_TypeError,"null reference");
3882 SWIG_fail;
3883 }
3884 }
3885 if (obj7) {
3886 {
3887 arg8 = wxString_in_helper(obj7);
3888 if (arg8 == NULL) SWIG_fail;
3889 temp8 = True;
3890 }
3891 }
3892 {
3893 if (!wxPyCheckForApp()) SWIG_fail;
3894 PyThreadState* __tstate = wxPyBeginAllowThreads();
3895 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3896
3897 wxPyEndAllowThreads(__tstate);
3898 if (PyErr_Occurred()) SWIG_fail;
3899 }
3900 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3901 {
3902 if (temp8)
3903 delete arg8;
3904 }
3905 return resultobj;
3906 fail:
3907 {
3908 if (temp8)
3909 delete arg8;
3910 }
3911 return NULL;
3912 }
3913
3914
3915 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3916 PyObject *resultobj;
3917 wxGauge *result;
3918 char *kwnames[] = {
3919 NULL
3920 };
3921
3922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3923 {
3924 if (!wxPyCheckForApp()) SWIG_fail;
3925 PyThreadState* __tstate = wxPyBeginAllowThreads();
3926 result = (wxGauge *)new wxGauge();
3927
3928 wxPyEndAllowThreads(__tstate);
3929 if (PyErr_Occurred()) SWIG_fail;
3930 }
3931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3932 return resultobj;
3933 fail:
3934 return NULL;
3935 }
3936
3937
3938 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3939 PyObject *resultobj;
3940 wxGauge *arg1 = (wxGauge *) 0 ;
3941 wxWindow *arg2 = (wxWindow *) 0 ;
3942 int arg3 = (int) -1 ;
3943 int arg4 = (int) 100 ;
3944 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3945 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3946 wxSize const &arg6_defvalue = wxDefaultSize ;
3947 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3948 long arg7 = (long) wxGA_HORIZONTAL ;
3949 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3950 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3951 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3952 wxString *arg9 = (wxString *) &arg9_defvalue ;
3953 bool result;
3954 wxPoint temp5 ;
3955 wxSize temp6 ;
3956 bool temp9 = False ;
3957 PyObject * obj0 = 0 ;
3958 PyObject * obj1 = 0 ;
3959 PyObject * obj2 = 0 ;
3960 PyObject * obj3 = 0 ;
3961 PyObject * obj4 = 0 ;
3962 PyObject * obj5 = 0 ;
3963 PyObject * obj6 = 0 ;
3964 PyObject * obj7 = 0 ;
3965 PyObject * obj8 = 0 ;
3966 char *kwnames[] = {
3967 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3968 };
3969
3970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3975 if (obj2) {
3976 arg3 = (int) SWIG_AsInt(obj2);
3977 if (PyErr_Occurred()) SWIG_fail;
3978 }
3979 if (obj3) {
3980 arg4 = (int) SWIG_AsInt(obj3);
3981 if (PyErr_Occurred()) SWIG_fail;
3982 }
3983 if (obj4) {
3984 {
3985 arg5 = &temp5;
3986 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3987 }
3988 }
3989 if (obj5) {
3990 {
3991 arg6 = &temp6;
3992 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3993 }
3994 }
3995 if (obj6) {
3996 arg7 = (long) SWIG_AsLong(obj6);
3997 if (PyErr_Occurred()) SWIG_fail;
3998 }
3999 if (obj7) {
4000 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
4001 SWIG_POINTER_EXCEPTION | 0)) == -1)
4002 SWIG_fail;
4003 if (arg8 == NULL) {
4004 PyErr_SetString(PyExc_TypeError,"null reference");
4005 SWIG_fail;
4006 }
4007 }
4008 if (obj8) {
4009 {
4010 arg9 = wxString_in_helper(obj8);
4011 if (arg9 == NULL) SWIG_fail;
4012 temp9 = True;
4013 }
4014 }
4015 {
4016 PyThreadState* __tstate = wxPyBeginAllowThreads();
4017 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4018
4019 wxPyEndAllowThreads(__tstate);
4020 if (PyErr_Occurred()) SWIG_fail;
4021 }
4022 {
4023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4024 }
4025 {
4026 if (temp9)
4027 delete arg9;
4028 }
4029 return resultobj;
4030 fail:
4031 {
4032 if (temp9)
4033 delete arg9;
4034 }
4035 return NULL;
4036 }
4037
4038
4039 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4040 PyObject *resultobj;
4041 wxGauge *arg1 = (wxGauge *) 0 ;
4042 int arg2 ;
4043 PyObject * obj0 = 0 ;
4044 PyObject * obj1 = 0 ;
4045 char *kwnames[] = {
4046 (char *) "self",(char *) "range", NULL
4047 };
4048
4049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
4050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4052 arg2 = (int) SWIG_AsInt(obj1);
4053 if (PyErr_Occurred()) SWIG_fail;
4054 {
4055 PyThreadState* __tstate = wxPyBeginAllowThreads();
4056 (arg1)->SetRange(arg2);
4057
4058 wxPyEndAllowThreads(__tstate);
4059 if (PyErr_Occurred()) SWIG_fail;
4060 }
4061 Py_INCREF(Py_None); resultobj = Py_None;
4062 return resultobj;
4063 fail:
4064 return NULL;
4065 }
4066
4067
4068 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4069 PyObject *resultobj;
4070 wxGauge *arg1 = (wxGauge *) 0 ;
4071 int result;
4072 PyObject * obj0 = 0 ;
4073 char *kwnames[] = {
4074 (char *) "self", NULL
4075 };
4076
4077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
4078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4080 {
4081 PyThreadState* __tstate = wxPyBeginAllowThreads();
4082 result = (int)((wxGauge const *)arg1)->GetRange();
4083
4084 wxPyEndAllowThreads(__tstate);
4085 if (PyErr_Occurred()) SWIG_fail;
4086 }
4087 resultobj = SWIG_FromInt((int)result);
4088 return resultobj;
4089 fail:
4090 return NULL;
4091 }
4092
4093
4094 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4095 PyObject *resultobj;
4096 wxGauge *arg1 = (wxGauge *) 0 ;
4097 int arg2 ;
4098 PyObject * obj0 = 0 ;
4099 PyObject * obj1 = 0 ;
4100 char *kwnames[] = {
4101 (char *) "self",(char *) "pos", NULL
4102 };
4103
4104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
4105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4107 arg2 = (int) SWIG_AsInt(obj1);
4108 if (PyErr_Occurred()) SWIG_fail;
4109 {
4110 PyThreadState* __tstate = wxPyBeginAllowThreads();
4111 (arg1)->SetValue(arg2);
4112
4113 wxPyEndAllowThreads(__tstate);
4114 if (PyErr_Occurred()) SWIG_fail;
4115 }
4116 Py_INCREF(Py_None); resultobj = Py_None;
4117 return resultobj;
4118 fail:
4119 return NULL;
4120 }
4121
4122
4123 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4124 PyObject *resultobj;
4125 wxGauge *arg1 = (wxGauge *) 0 ;
4126 int result;
4127 PyObject * obj0 = 0 ;
4128 char *kwnames[] = {
4129 (char *) "self", NULL
4130 };
4131
4132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
4133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4135 {
4136 PyThreadState* __tstate = wxPyBeginAllowThreads();
4137 result = (int)((wxGauge const *)arg1)->GetValue();
4138
4139 wxPyEndAllowThreads(__tstate);
4140 if (PyErr_Occurred()) SWIG_fail;
4141 }
4142 resultobj = SWIG_FromInt((int)result);
4143 return resultobj;
4144 fail:
4145 return NULL;
4146 }
4147
4148
4149 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4150 PyObject *resultobj;
4151 wxGauge *arg1 = (wxGauge *) 0 ;
4152 bool result;
4153 PyObject * obj0 = 0 ;
4154 char *kwnames[] = {
4155 (char *) "self", NULL
4156 };
4157
4158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
4159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4161 {
4162 PyThreadState* __tstate = wxPyBeginAllowThreads();
4163 result = (bool)((wxGauge const *)arg1)->IsVertical();
4164
4165 wxPyEndAllowThreads(__tstate);
4166 if (PyErr_Occurred()) SWIG_fail;
4167 }
4168 {
4169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4170 }
4171 return resultobj;
4172 fail:
4173 return NULL;
4174 }
4175
4176
4177 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4178 PyObject *resultobj;
4179 wxGauge *arg1 = (wxGauge *) 0 ;
4180 int arg2 ;
4181 PyObject * obj0 = 0 ;
4182 PyObject * obj1 = 0 ;
4183 char *kwnames[] = {
4184 (char *) "self",(char *) "w", NULL
4185 };
4186
4187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
4188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4190 arg2 = (int) SWIG_AsInt(obj1);
4191 if (PyErr_Occurred()) SWIG_fail;
4192 {
4193 PyThreadState* __tstate = wxPyBeginAllowThreads();
4194 (arg1)->SetShadowWidth(arg2);
4195
4196 wxPyEndAllowThreads(__tstate);
4197 if (PyErr_Occurred()) SWIG_fail;
4198 }
4199 Py_INCREF(Py_None); resultobj = Py_None;
4200 return resultobj;
4201 fail:
4202 return NULL;
4203 }
4204
4205
4206 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4207 PyObject *resultobj;
4208 wxGauge *arg1 = (wxGauge *) 0 ;
4209 int result;
4210 PyObject * obj0 = 0 ;
4211 char *kwnames[] = {
4212 (char *) "self", NULL
4213 };
4214
4215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
4216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4218 {
4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
4220 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
4221
4222 wxPyEndAllowThreads(__tstate);
4223 if (PyErr_Occurred()) SWIG_fail;
4224 }
4225 resultobj = SWIG_FromInt((int)result);
4226 return resultobj;
4227 fail:
4228 return NULL;
4229 }
4230
4231
4232 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4233 PyObject *resultobj;
4234 wxGauge *arg1 = (wxGauge *) 0 ;
4235 int arg2 ;
4236 PyObject * obj0 = 0 ;
4237 PyObject * obj1 = 0 ;
4238 char *kwnames[] = {
4239 (char *) "self",(char *) "w", NULL
4240 };
4241
4242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
4243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4245 arg2 = (int) SWIG_AsInt(obj1);
4246 if (PyErr_Occurred()) SWIG_fail;
4247 {
4248 PyThreadState* __tstate = wxPyBeginAllowThreads();
4249 (arg1)->SetBezelFace(arg2);
4250
4251 wxPyEndAllowThreads(__tstate);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 }
4254 Py_INCREF(Py_None); resultobj = Py_None;
4255 return resultobj;
4256 fail:
4257 return NULL;
4258 }
4259
4260
4261 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4262 PyObject *resultobj;
4263 wxGauge *arg1 = (wxGauge *) 0 ;
4264 int result;
4265 PyObject * obj0 = 0 ;
4266 char *kwnames[] = {
4267 (char *) "self", NULL
4268 };
4269
4270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
4271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4273 {
4274 PyThreadState* __tstate = wxPyBeginAllowThreads();
4275 result = (int)((wxGauge const *)arg1)->GetBezelFace();
4276
4277 wxPyEndAllowThreads(__tstate);
4278 if (PyErr_Occurred()) SWIG_fail;
4279 }
4280 resultobj = SWIG_FromInt((int)result);
4281 return resultobj;
4282 fail:
4283 return NULL;
4284 }
4285
4286
4287 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4288 PyObject *resultobj;
4289 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4290 wxVisualAttributes result;
4291 PyObject * obj0 = 0 ;
4292 char *kwnames[] = {
4293 (char *) "variant", NULL
4294 };
4295
4296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4297 if (obj0) {
4298 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4299 if (PyErr_Occurred()) SWIG_fail;
4300 }
4301 {
4302 if (!wxPyCheckForApp()) SWIG_fail;
4303 PyThreadState* __tstate = wxPyBeginAllowThreads();
4304 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
4305
4306 wxPyEndAllowThreads(__tstate);
4307 if (PyErr_Occurred()) SWIG_fail;
4308 }
4309 {
4310 wxVisualAttributes * resultptr;
4311 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4312 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4313 }
4314 return resultobj;
4315 fail:
4316 return NULL;
4317 }
4318
4319
4320 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
4321 PyObject *obj;
4322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4323 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4324 Py_INCREF(obj);
4325 return Py_BuildValue((char *)"");
4326 }
4327 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
4328 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4329 return 1;
4330 }
4331
4332
4333 static PyObject *_wrap_StaticBitmapNameStr_get() {
4334 PyObject *pyobj;
4335
4336 {
4337 #if wxUSE_UNICODE
4338 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4339 #else
4340 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4341 #endif
4342 }
4343 return pyobj;
4344 }
4345
4346
4347 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
4348 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4349 return 1;
4350 }
4351
4352
4353 static PyObject *_wrap_StaticBoxNameStr_get() {
4354 PyObject *pyobj;
4355
4356 {
4357 #if wxUSE_UNICODE
4358 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4359 #else
4360 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4361 #endif
4362 }
4363 return pyobj;
4364 }
4365
4366
4367 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
4368 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4369 return 1;
4370 }
4371
4372
4373 static PyObject *_wrap_StaticTextNameStr_get() {
4374 PyObject *pyobj;
4375
4376 {
4377 #if wxUSE_UNICODE
4378 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4379 #else
4380 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4381 #endif
4382 }
4383 return pyobj;
4384 }
4385
4386
4387 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4388 PyObject *resultobj;
4389 wxWindow *arg1 = (wxWindow *) 0 ;
4390 int arg2 = (int) -1 ;
4391 wxString const &arg3_defvalue = wxPyEmptyString ;
4392 wxString *arg3 = (wxString *) &arg3_defvalue ;
4393 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4394 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4395 wxSize const &arg5_defvalue = wxDefaultSize ;
4396 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4397 long arg6 = (long) 0 ;
4398 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4399 wxString *arg7 = (wxString *) &arg7_defvalue ;
4400 wxStaticBox *result;
4401 bool temp3 = False ;
4402 wxPoint temp4 ;
4403 wxSize temp5 ;
4404 bool temp7 = False ;
4405 PyObject * obj0 = 0 ;
4406 PyObject * obj1 = 0 ;
4407 PyObject * obj2 = 0 ;
4408 PyObject * obj3 = 0 ;
4409 PyObject * obj4 = 0 ;
4410 PyObject * obj5 = 0 ;
4411 PyObject * obj6 = 0 ;
4412 char *kwnames[] = {
4413 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4414 };
4415
4416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4419 if (obj1) {
4420 arg2 = (int) SWIG_AsInt(obj1);
4421 if (PyErr_Occurred()) SWIG_fail;
4422 }
4423 if (obj2) {
4424 {
4425 arg3 = wxString_in_helper(obj2);
4426 if (arg3 == NULL) SWIG_fail;
4427 temp3 = True;
4428 }
4429 }
4430 if (obj3) {
4431 {
4432 arg4 = &temp4;
4433 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4434 }
4435 }
4436 if (obj4) {
4437 {
4438 arg5 = &temp5;
4439 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4440 }
4441 }
4442 if (obj5) {
4443 arg6 = (long) SWIG_AsLong(obj5);
4444 if (PyErr_Occurred()) SWIG_fail;
4445 }
4446 if (obj6) {
4447 {
4448 arg7 = wxString_in_helper(obj6);
4449 if (arg7 == NULL) SWIG_fail;
4450 temp7 = True;
4451 }
4452 }
4453 {
4454 if (!wxPyCheckForApp()) SWIG_fail;
4455 PyThreadState* __tstate = wxPyBeginAllowThreads();
4456 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4457
4458 wxPyEndAllowThreads(__tstate);
4459 if (PyErr_Occurred()) SWIG_fail;
4460 }
4461 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
4462 {
4463 if (temp3)
4464 delete arg3;
4465 }
4466 {
4467 if (temp7)
4468 delete arg7;
4469 }
4470 return resultobj;
4471 fail:
4472 {
4473 if (temp3)
4474 delete arg3;
4475 }
4476 {
4477 if (temp7)
4478 delete arg7;
4479 }
4480 return NULL;
4481 }
4482
4483
4484 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4485 PyObject *resultobj;
4486 wxStaticBox *result;
4487 char *kwnames[] = {
4488 NULL
4489 };
4490
4491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4492 {
4493 if (!wxPyCheckForApp()) SWIG_fail;
4494 PyThreadState* __tstate = wxPyBeginAllowThreads();
4495 result = (wxStaticBox *)new wxStaticBox();
4496
4497 wxPyEndAllowThreads(__tstate);
4498 if (PyErr_Occurred()) SWIG_fail;
4499 }
4500 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
4501 return resultobj;
4502 fail:
4503 return NULL;
4504 }
4505
4506
4507 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4508 PyObject *resultobj;
4509 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4510 wxWindow *arg2 = (wxWindow *) 0 ;
4511 int arg3 = (int) -1 ;
4512 wxString const &arg4_defvalue = wxPyEmptyString ;
4513 wxString *arg4 = (wxString *) &arg4_defvalue ;
4514 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4515 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4516 wxSize const &arg6_defvalue = wxDefaultSize ;
4517 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4518 long arg7 = (long) 0 ;
4519 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4520 wxString *arg8 = (wxString *) &arg8_defvalue ;
4521 bool result;
4522 bool temp4 = False ;
4523 wxPoint temp5 ;
4524 wxSize temp6 ;
4525 bool temp8 = False ;
4526 PyObject * obj0 = 0 ;
4527 PyObject * obj1 = 0 ;
4528 PyObject * obj2 = 0 ;
4529 PyObject * obj3 = 0 ;
4530 PyObject * obj4 = 0 ;
4531 PyObject * obj5 = 0 ;
4532 PyObject * obj6 = 0 ;
4533 PyObject * obj7 = 0 ;
4534 char *kwnames[] = {
4535 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4536 };
4537
4538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4541 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4543 if (obj2) {
4544 arg3 = (int) SWIG_AsInt(obj2);
4545 if (PyErr_Occurred()) SWIG_fail;
4546 }
4547 if (obj3) {
4548 {
4549 arg4 = wxString_in_helper(obj3);
4550 if (arg4 == NULL) SWIG_fail;
4551 temp4 = True;
4552 }
4553 }
4554 if (obj4) {
4555 {
4556 arg5 = &temp5;
4557 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4558 }
4559 }
4560 if (obj5) {
4561 {
4562 arg6 = &temp6;
4563 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4564 }
4565 }
4566 if (obj6) {
4567 arg7 = (long) SWIG_AsLong(obj6);
4568 if (PyErr_Occurred()) SWIG_fail;
4569 }
4570 if (obj7) {
4571 {
4572 arg8 = wxString_in_helper(obj7);
4573 if (arg8 == NULL) SWIG_fail;
4574 temp8 = True;
4575 }
4576 }
4577 {
4578 PyThreadState* __tstate = wxPyBeginAllowThreads();
4579 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4580
4581 wxPyEndAllowThreads(__tstate);
4582 if (PyErr_Occurred()) SWIG_fail;
4583 }
4584 {
4585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4586 }
4587 {
4588 if (temp4)
4589 delete arg4;
4590 }
4591 {
4592 if (temp8)
4593 delete arg8;
4594 }
4595 return resultobj;
4596 fail:
4597 {
4598 if (temp4)
4599 delete arg4;
4600 }
4601 {
4602 if (temp8)
4603 delete arg8;
4604 }
4605 return NULL;
4606 }
4607
4608
4609 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4610 PyObject *resultobj;
4611 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4612 wxVisualAttributes result;
4613 PyObject * obj0 = 0 ;
4614 char *kwnames[] = {
4615 (char *) "variant", NULL
4616 };
4617
4618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4619 if (obj0) {
4620 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4621 if (PyErr_Occurred()) SWIG_fail;
4622 }
4623 {
4624 if (!wxPyCheckForApp()) SWIG_fail;
4625 PyThreadState* __tstate = wxPyBeginAllowThreads();
4626 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
4627
4628 wxPyEndAllowThreads(__tstate);
4629 if (PyErr_Occurred()) SWIG_fail;
4630 }
4631 {
4632 wxVisualAttributes * resultptr;
4633 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4634 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4635 }
4636 return resultobj;
4637 fail:
4638 return NULL;
4639 }
4640
4641
4642 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4643 PyObject *obj;
4644 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4645 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4646 Py_INCREF(obj);
4647 return Py_BuildValue((char *)"");
4648 }
4649 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4650 PyObject *resultobj;
4651 wxWindow *arg1 = (wxWindow *) 0 ;
4652 int arg2 = (int) -1 ;
4653 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4654 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4655 wxSize const &arg4_defvalue = wxDefaultSize ;
4656 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4657 long arg5 = (long) wxLI_HORIZONTAL ;
4658 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4659 wxString *arg6 = (wxString *) &arg6_defvalue ;
4660 wxStaticLine *result;
4661 wxPoint temp3 ;
4662 wxSize temp4 ;
4663 bool temp6 = 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 char *kwnames[] = {
4671 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4672 };
4673
4674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4677 if (obj1) {
4678 arg2 = (int) SWIG_AsInt(obj1);
4679 if (PyErr_Occurred()) SWIG_fail;
4680 }
4681 if (obj2) {
4682 {
4683 arg3 = &temp3;
4684 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4685 }
4686 }
4687 if (obj3) {
4688 {
4689 arg4 = &temp4;
4690 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4691 }
4692 }
4693 if (obj4) {
4694 arg5 = (long) SWIG_AsLong(obj4);
4695 if (PyErr_Occurred()) SWIG_fail;
4696 }
4697 if (obj5) {
4698 {
4699 arg6 = wxString_in_helper(obj5);
4700 if (arg6 == NULL) SWIG_fail;
4701 temp6 = True;
4702 }
4703 }
4704 {
4705 if (!wxPyCheckForApp()) SWIG_fail;
4706 PyThreadState* __tstate = wxPyBeginAllowThreads();
4707 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4708
4709 wxPyEndAllowThreads(__tstate);
4710 if (PyErr_Occurred()) SWIG_fail;
4711 }
4712 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4713 {
4714 if (temp6)
4715 delete arg6;
4716 }
4717 return resultobj;
4718 fail:
4719 {
4720 if (temp6)
4721 delete arg6;
4722 }
4723 return NULL;
4724 }
4725
4726
4727 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4728 PyObject *resultobj;
4729 wxStaticLine *result;
4730 char *kwnames[] = {
4731 NULL
4732 };
4733
4734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4735 {
4736 if (!wxPyCheckForApp()) SWIG_fail;
4737 PyThreadState* __tstate = wxPyBeginAllowThreads();
4738 result = (wxStaticLine *)new wxStaticLine();
4739
4740 wxPyEndAllowThreads(__tstate);
4741 if (PyErr_Occurred()) SWIG_fail;
4742 }
4743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4744 return resultobj;
4745 fail:
4746 return NULL;
4747 }
4748
4749
4750 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4751 PyObject *resultobj;
4752 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4753 wxWindow *arg2 = (wxWindow *) 0 ;
4754 int arg3 = (int) -1 ;
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) wxLI_HORIZONTAL ;
4760 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4761 wxString *arg7 = (wxString *) &arg7_defvalue ;
4762 bool 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 *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4775 };
4776
4777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4780 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4782 if (obj2) {
4783 arg3 = (int) SWIG_AsInt(obj2);
4784 if (PyErr_Occurred()) SWIG_fail;
4785 }
4786 if (obj3) {
4787 {
4788 arg4 = &temp4;
4789 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4790 }
4791 }
4792 if (obj4) {
4793 {
4794 arg5 = &temp5;
4795 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4796 }
4797 }
4798 if (obj5) {
4799 arg6 = (long) SWIG_AsLong(obj5);
4800 if (PyErr_Occurred()) SWIG_fail;
4801 }
4802 if (obj6) {
4803 {
4804 arg7 = wxString_in_helper(obj6);
4805 if (arg7 == NULL) SWIG_fail;
4806 temp7 = True;
4807 }
4808 }
4809 {
4810 PyThreadState* __tstate = wxPyBeginAllowThreads();
4811 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4812
4813 wxPyEndAllowThreads(__tstate);
4814 if (PyErr_Occurred()) SWIG_fail;
4815 }
4816 {
4817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4818 }
4819 {
4820 if (temp7)
4821 delete arg7;
4822 }
4823 return resultobj;
4824 fail:
4825 {
4826 if (temp7)
4827 delete arg7;
4828 }
4829 return NULL;
4830 }
4831
4832
4833 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4834 PyObject *resultobj;
4835 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4836 bool result;
4837 PyObject * obj0 = 0 ;
4838 char *kwnames[] = {
4839 (char *) "self", NULL
4840 };
4841
4842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4845 {
4846 PyThreadState* __tstate = wxPyBeginAllowThreads();
4847 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4848
4849 wxPyEndAllowThreads(__tstate);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 {
4853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4854 }
4855 return resultobj;
4856 fail:
4857 return NULL;
4858 }
4859
4860
4861 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4862 PyObject *resultobj;
4863 int result;
4864 char *kwnames[] = {
4865 NULL
4866 };
4867
4868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4869 {
4870 PyThreadState* __tstate = wxPyBeginAllowThreads();
4871 result = (int)wxStaticLine::GetDefaultSize();
4872
4873 wxPyEndAllowThreads(__tstate);
4874 if (PyErr_Occurred()) SWIG_fail;
4875 }
4876 resultobj = SWIG_FromInt((int)result);
4877 return resultobj;
4878 fail:
4879 return NULL;
4880 }
4881
4882
4883 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4884 PyObject *resultobj;
4885 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4886 wxVisualAttributes result;
4887 PyObject * obj0 = 0 ;
4888 char *kwnames[] = {
4889 (char *) "variant", NULL
4890 };
4891
4892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4893 if (obj0) {
4894 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4895 if (PyErr_Occurred()) SWIG_fail;
4896 }
4897 {
4898 if (!wxPyCheckForApp()) SWIG_fail;
4899 PyThreadState* __tstate = wxPyBeginAllowThreads();
4900 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
4901
4902 wxPyEndAllowThreads(__tstate);
4903 if (PyErr_Occurred()) SWIG_fail;
4904 }
4905 {
4906 wxVisualAttributes * resultptr;
4907 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4908 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4909 }
4910 return resultobj;
4911 fail:
4912 return NULL;
4913 }
4914
4915
4916 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4917 PyObject *obj;
4918 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4919 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4920 Py_INCREF(obj);
4921 return Py_BuildValue((char *)"");
4922 }
4923 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4924 PyObject *resultobj;
4925 wxWindow *arg1 = (wxWindow *) 0 ;
4926 int arg2 = (int) -1 ;
4927 wxString const &arg3_defvalue = wxPyEmptyString ;
4928 wxString *arg3 = (wxString *) &arg3_defvalue ;
4929 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4930 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4931 wxSize const &arg5_defvalue = wxDefaultSize ;
4932 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4933 long arg6 = (long) 0 ;
4934 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4935 wxString *arg7 = (wxString *) &arg7_defvalue ;
4936 wxStaticText *result;
4937 bool temp3 = False ;
4938 wxPoint temp4 ;
4939 wxSize temp5 ;
4940 bool temp7 = False ;
4941 PyObject * obj0 = 0 ;
4942 PyObject * obj1 = 0 ;
4943 PyObject * obj2 = 0 ;
4944 PyObject * obj3 = 0 ;
4945 PyObject * obj4 = 0 ;
4946 PyObject * obj5 = 0 ;
4947 PyObject * obj6 = 0 ;
4948 char *kwnames[] = {
4949 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4950 };
4951
4952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4955 if (obj1) {
4956 arg2 = (int) SWIG_AsInt(obj1);
4957 if (PyErr_Occurred()) SWIG_fail;
4958 }
4959 if (obj2) {
4960 {
4961 arg3 = wxString_in_helper(obj2);
4962 if (arg3 == NULL) SWIG_fail;
4963 temp3 = True;
4964 }
4965 }
4966 if (obj3) {
4967 {
4968 arg4 = &temp4;
4969 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4970 }
4971 }
4972 if (obj4) {
4973 {
4974 arg5 = &temp5;
4975 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4976 }
4977 }
4978 if (obj5) {
4979 arg6 = (long) SWIG_AsLong(obj5);
4980 if (PyErr_Occurred()) SWIG_fail;
4981 }
4982 if (obj6) {
4983 {
4984 arg7 = wxString_in_helper(obj6);
4985 if (arg7 == NULL) SWIG_fail;
4986 temp7 = True;
4987 }
4988 }
4989 {
4990 if (!wxPyCheckForApp()) SWIG_fail;
4991 PyThreadState* __tstate = wxPyBeginAllowThreads();
4992 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4993
4994 wxPyEndAllowThreads(__tstate);
4995 if (PyErr_Occurred()) SWIG_fail;
4996 }
4997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4998 {
4999 if (temp3)
5000 delete arg3;
5001 }
5002 {
5003 if (temp7)
5004 delete arg7;
5005 }
5006 return resultobj;
5007 fail:
5008 {
5009 if (temp3)
5010 delete arg3;
5011 }
5012 {
5013 if (temp7)
5014 delete arg7;
5015 }
5016 return NULL;
5017 }
5018
5019
5020 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
5021 PyObject *resultobj;
5022 wxStaticText *result;
5023 char *kwnames[] = {
5024 NULL
5025 };
5026
5027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
5028 {
5029 if (!wxPyCheckForApp()) SWIG_fail;
5030 PyThreadState* __tstate = wxPyBeginAllowThreads();
5031 result = (wxStaticText *)new wxStaticText();
5032
5033 wxPyEndAllowThreads(__tstate);
5034 if (PyErr_Occurred()) SWIG_fail;
5035 }
5036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
5037 return resultobj;
5038 fail:
5039 return NULL;
5040 }
5041
5042
5043 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5044 PyObject *resultobj;
5045 wxStaticText *arg1 = (wxStaticText *) 0 ;
5046 wxWindow *arg2 = (wxWindow *) 0 ;
5047 int arg3 = (int) -1 ;
5048 wxString const &arg4_defvalue = wxPyEmptyString ;
5049 wxString *arg4 = (wxString *) &arg4_defvalue ;
5050 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5051 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5052 wxSize const &arg6_defvalue = wxDefaultSize ;
5053 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5054 long arg7 = (long) 0 ;
5055 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
5056 wxString *arg8 = (wxString *) &arg8_defvalue ;
5057 bool result;
5058 bool temp4 = False ;
5059 wxPoint temp5 ;
5060 wxSize temp6 ;
5061 bool temp8 = False ;
5062 PyObject * obj0 = 0 ;
5063 PyObject * obj1 = 0 ;
5064 PyObject * obj2 = 0 ;
5065 PyObject * obj3 = 0 ;
5066 PyObject * obj4 = 0 ;
5067 PyObject * obj5 = 0 ;
5068 PyObject * obj6 = 0 ;
5069 PyObject * obj7 = 0 ;
5070 char *kwnames[] = {
5071 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5072 };
5073
5074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
5076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5077 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5079 if (obj2) {
5080 arg3 = (int) SWIG_AsInt(obj2);
5081 if (PyErr_Occurred()) SWIG_fail;
5082 }
5083 if (obj3) {
5084 {
5085 arg4 = wxString_in_helper(obj3);
5086 if (arg4 == NULL) SWIG_fail;
5087 temp4 = True;
5088 }
5089 }
5090 if (obj4) {
5091 {
5092 arg5 = &temp5;
5093 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5094 }
5095 }
5096 if (obj5) {
5097 {
5098 arg6 = &temp6;
5099 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5100 }
5101 }
5102 if (obj6) {
5103 arg7 = (long) SWIG_AsLong(obj6);
5104 if (PyErr_Occurred()) SWIG_fail;
5105 }
5106 if (obj7) {
5107 {
5108 arg8 = wxString_in_helper(obj7);
5109 if (arg8 == NULL) SWIG_fail;
5110 temp8 = True;
5111 }
5112 }
5113 {
5114 PyThreadState* __tstate = wxPyBeginAllowThreads();
5115 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5116
5117 wxPyEndAllowThreads(__tstate);
5118 if (PyErr_Occurred()) SWIG_fail;
5119 }
5120 {
5121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5122 }
5123 {
5124 if (temp4)
5125 delete arg4;
5126 }
5127 {
5128 if (temp8)
5129 delete arg8;
5130 }
5131 return resultobj;
5132 fail:
5133 {
5134 if (temp4)
5135 delete arg4;
5136 }
5137 {
5138 if (temp8)
5139 delete arg8;
5140 }
5141 return NULL;
5142 }
5143
5144
5145 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5146 PyObject *resultobj;
5147 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5148 wxVisualAttributes result;
5149 PyObject * obj0 = 0 ;
5150 char *kwnames[] = {
5151 (char *) "variant", NULL
5152 };
5153
5154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5155 if (obj0) {
5156 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5157 if (PyErr_Occurred()) SWIG_fail;
5158 }
5159 {
5160 if (!wxPyCheckForApp()) SWIG_fail;
5161 PyThreadState* __tstate = wxPyBeginAllowThreads();
5162 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
5163
5164 wxPyEndAllowThreads(__tstate);
5165 if (PyErr_Occurred()) SWIG_fail;
5166 }
5167 {
5168 wxVisualAttributes * resultptr;
5169 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5170 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5171 }
5172 return resultobj;
5173 fail:
5174 return NULL;
5175 }
5176
5177
5178 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
5179 PyObject *obj;
5180 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5181 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
5182 Py_INCREF(obj);
5183 return Py_BuildValue((char *)"");
5184 }
5185 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5186 PyObject *resultobj;
5187 wxWindow *arg1 = (wxWindow *) 0 ;
5188 int arg2 = (int) -1 ;
5189 wxBitmap const &arg3_defvalue = wxNullBitmap ;
5190 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
5191 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5192 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5193 wxSize const &arg5_defvalue = wxDefaultSize ;
5194 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5195 long arg6 = (long) 0 ;
5196 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
5197 wxString *arg7 = (wxString *) &arg7_defvalue ;
5198 wxStaticBitmap *result;
5199 wxPoint temp4 ;
5200 wxSize temp5 ;
5201 bool temp7 = False ;
5202 PyObject * obj0 = 0 ;
5203 PyObject * obj1 = 0 ;
5204 PyObject * obj2 = 0 ;
5205 PyObject * obj3 = 0 ;
5206 PyObject * obj4 = 0 ;
5207 PyObject * obj5 = 0 ;
5208 PyObject * obj6 = 0 ;
5209 char *kwnames[] = {
5210 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5211 };
5212
5213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5216 if (obj1) {
5217 arg2 = (int) SWIG_AsInt(obj1);
5218 if (PyErr_Occurred()) SWIG_fail;
5219 }
5220 if (obj2) {
5221 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
5222 SWIG_POINTER_EXCEPTION | 0)) == -1)
5223 SWIG_fail;
5224 if (arg3 == NULL) {
5225 PyErr_SetString(PyExc_TypeError,"null reference");
5226 SWIG_fail;
5227 }
5228 }
5229 if (obj3) {
5230 {
5231 arg4 = &temp4;
5232 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5233 }
5234 }
5235 if (obj4) {
5236 {
5237 arg5 = &temp5;
5238 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5239 }
5240 }
5241 if (obj5) {
5242 arg6 = (long) SWIG_AsLong(obj5);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 }
5245 if (obj6) {
5246 {
5247 arg7 = wxString_in_helper(obj6);
5248 if (arg7 == NULL) SWIG_fail;
5249 temp7 = True;
5250 }
5251 }
5252 {
5253 if (!wxPyCheckForApp()) SWIG_fail;
5254 PyThreadState* __tstate = wxPyBeginAllowThreads();
5255 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5256
5257 wxPyEndAllowThreads(__tstate);
5258 if (PyErr_Occurred()) SWIG_fail;
5259 }
5260 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5261 {
5262 if (temp7)
5263 delete arg7;
5264 }
5265 return resultobj;
5266 fail:
5267 {
5268 if (temp7)
5269 delete arg7;
5270 }
5271 return NULL;
5272 }
5273
5274
5275 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5276 PyObject *resultobj;
5277 wxStaticBitmap *result;
5278 char *kwnames[] = {
5279 NULL
5280 };
5281
5282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
5283 {
5284 if (!wxPyCheckForApp()) SWIG_fail;
5285 PyThreadState* __tstate = wxPyBeginAllowThreads();
5286 result = (wxStaticBitmap *)new wxStaticBitmap();
5287
5288 wxPyEndAllowThreads(__tstate);
5289 if (PyErr_Occurred()) SWIG_fail;
5290 }
5291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5292 return resultobj;
5293 fail:
5294 return NULL;
5295 }
5296
5297
5298 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5299 PyObject *resultobj;
5300 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5301 wxWindow *arg2 = (wxWindow *) 0 ;
5302 int arg3 = (int) -1 ;
5303 wxBitmap const &arg4_defvalue = wxNullBitmap ;
5304 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
5305 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5306 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5307 wxSize const &arg6_defvalue = wxDefaultSize ;
5308 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5309 long arg7 = (long) 0 ;
5310 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
5311 wxString *arg8 = (wxString *) &arg8_defvalue ;
5312 bool result;
5313 wxPoint temp5 ;
5314 wxSize temp6 ;
5315 bool temp8 = False ;
5316 PyObject * obj0 = 0 ;
5317 PyObject * obj1 = 0 ;
5318 PyObject * obj2 = 0 ;
5319 PyObject * obj3 = 0 ;
5320 PyObject * obj4 = 0 ;
5321 PyObject * obj5 = 0 ;
5322 PyObject * obj6 = 0 ;
5323 PyObject * obj7 = 0 ;
5324 char *kwnames[] = {
5325 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5326 };
5327
5328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5333 if (obj2) {
5334 arg3 = (int) SWIG_AsInt(obj2);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 if (obj3) {
5338 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
5339 SWIG_POINTER_EXCEPTION | 0)) == -1)
5340 SWIG_fail;
5341 if (arg4 == NULL) {
5342 PyErr_SetString(PyExc_TypeError,"null reference");
5343 SWIG_fail;
5344 }
5345 }
5346 if (obj4) {
5347 {
5348 arg5 = &temp5;
5349 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5350 }
5351 }
5352 if (obj5) {
5353 {
5354 arg6 = &temp6;
5355 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5356 }
5357 }
5358 if (obj6) {
5359 arg7 = (long) SWIG_AsLong(obj6);
5360 if (PyErr_Occurred()) SWIG_fail;
5361 }
5362 if (obj7) {
5363 {
5364 arg8 = wxString_in_helper(obj7);
5365 if (arg8 == NULL) SWIG_fail;
5366 temp8 = True;
5367 }
5368 }
5369 {
5370 PyThreadState* __tstate = wxPyBeginAllowThreads();
5371 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5372
5373 wxPyEndAllowThreads(__tstate);
5374 if (PyErr_Occurred()) SWIG_fail;
5375 }
5376 {
5377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5378 }
5379 {
5380 if (temp8)
5381 delete arg8;
5382 }
5383 return resultobj;
5384 fail:
5385 {
5386 if (temp8)
5387 delete arg8;
5388 }
5389 return NULL;
5390 }
5391
5392
5393 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5394 PyObject *resultobj;
5395 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5396 wxBitmap result;
5397 PyObject * obj0 = 0 ;
5398 char *kwnames[] = {
5399 (char *) "self", NULL
5400 };
5401
5402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
5403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5405 {
5406 PyThreadState* __tstate = wxPyBeginAllowThreads();
5407 result = (arg1)->GetBitmap();
5408
5409 wxPyEndAllowThreads(__tstate);
5410 if (PyErr_Occurred()) SWIG_fail;
5411 }
5412 {
5413 wxBitmap * resultptr;
5414 resultptr = new wxBitmap((wxBitmap &) result);
5415 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5416 }
5417 return resultobj;
5418 fail:
5419 return NULL;
5420 }
5421
5422
5423 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5424 PyObject *resultobj;
5425 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5426 wxBitmap *arg2 = 0 ;
5427 PyObject * obj0 = 0 ;
5428 PyObject * obj1 = 0 ;
5429 char *kwnames[] = {
5430 (char *) "self",(char *) "bitmap", NULL
5431 };
5432
5433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5436 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5437 SWIG_POINTER_EXCEPTION | 0)) == -1)
5438 SWIG_fail;
5439 if (arg2 == NULL) {
5440 PyErr_SetString(PyExc_TypeError,"null reference");
5441 SWIG_fail;
5442 }
5443 {
5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
5445 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5446
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
5450 Py_INCREF(Py_None); resultobj = Py_None;
5451 return resultobj;
5452 fail:
5453 return NULL;
5454 }
5455
5456
5457 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
5458 PyObject *resultobj;
5459 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5460 wxIcon *arg2 = 0 ;
5461 PyObject * obj0 = 0 ;
5462 PyObject * obj1 = 0 ;
5463 char *kwnames[] = {
5464 (char *) "self",(char *) "icon", NULL
5465 };
5466
5467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
5468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5470 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5471 SWIG_POINTER_EXCEPTION | 0)) == -1)
5472 SWIG_fail;
5473 if (arg2 == NULL) {
5474 PyErr_SetString(PyExc_TypeError,"null reference");
5475 SWIG_fail;
5476 }
5477 {
5478 PyThreadState* __tstate = wxPyBeginAllowThreads();
5479 (arg1)->SetIcon((wxIcon const &)*arg2);
5480
5481 wxPyEndAllowThreads(__tstate);
5482 if (PyErr_Occurred()) SWIG_fail;
5483 }
5484 Py_INCREF(Py_None); resultobj = Py_None;
5485 return resultobj;
5486 fail:
5487 return NULL;
5488 }
5489
5490
5491 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5492 PyObject *resultobj;
5493 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5494 wxVisualAttributes result;
5495 PyObject * obj0 = 0 ;
5496 char *kwnames[] = {
5497 (char *) "variant", NULL
5498 };
5499
5500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5501 if (obj0) {
5502 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5503 if (PyErr_Occurred()) SWIG_fail;
5504 }
5505 {
5506 if (!wxPyCheckForApp()) SWIG_fail;
5507 PyThreadState* __tstate = wxPyBeginAllowThreads();
5508 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
5509
5510 wxPyEndAllowThreads(__tstate);
5511 if (PyErr_Occurred()) SWIG_fail;
5512 }
5513 {
5514 wxVisualAttributes * resultptr;
5515 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5516 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5517 }
5518 return resultobj;
5519 fail:
5520 return NULL;
5521 }
5522
5523
5524 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
5525 PyObject *obj;
5526 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5527 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5528 Py_INCREF(obj);
5529 return Py_BuildValue((char *)"");
5530 }
5531 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
5532 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5533 return 1;
5534 }
5535
5536
5537 static PyObject *_wrap_ListBoxNameStr_get() {
5538 PyObject *pyobj;
5539
5540 {
5541 #if wxUSE_UNICODE
5542 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5543 #else
5544 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5545 #endif
5546 }
5547 return pyobj;
5548 }
5549
5550
5551 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5552 PyObject *resultobj;
5553 wxWindow *arg1 = (wxWindow *) 0 ;
5554 int arg2 = (int) -1 ;
5555 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5556 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5557 wxSize const &arg4_defvalue = wxDefaultSize ;
5558 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5559 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5560 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5561 long arg6 = (long) 0 ;
5562 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5563 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5564 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5565 wxString *arg8 = (wxString *) &arg8_defvalue ;
5566 wxListBox *result;
5567 wxPoint temp3 ;
5568 wxSize temp4 ;
5569 bool temp5 = False ;
5570 bool temp8 = False ;
5571 PyObject * obj0 = 0 ;
5572 PyObject * obj1 = 0 ;
5573 PyObject * obj2 = 0 ;
5574 PyObject * obj3 = 0 ;
5575 PyObject * obj4 = 0 ;
5576 PyObject * obj5 = 0 ;
5577 PyObject * obj6 = 0 ;
5578 PyObject * obj7 = 0 ;
5579 char *kwnames[] = {
5580 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5581 };
5582
5583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5586 if (obj1) {
5587 arg2 = (int) SWIG_AsInt(obj1);
5588 if (PyErr_Occurred()) SWIG_fail;
5589 }
5590 if (obj2) {
5591 {
5592 arg3 = &temp3;
5593 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5594 }
5595 }
5596 if (obj3) {
5597 {
5598 arg4 = &temp4;
5599 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5600 }
5601 }
5602 if (obj4) {
5603 {
5604 if (! PySequence_Check(obj4)) {
5605 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5606 SWIG_fail;
5607 }
5608 arg5 = new wxArrayString;
5609 temp5 = True;
5610 int i, len=PySequence_Length(obj4);
5611 for (i=0; i<len; i++) {
5612 PyObject* item = PySequence_GetItem(obj4, i);
5613 #if wxUSE_UNICODE
5614 PyObject* str = PyObject_Unicode(item);
5615 #else
5616 PyObject* str = PyObject_Str(item);
5617 #endif
5618 if (PyErr_Occurred()) SWIG_fail;
5619 arg5->Add(Py2wxString(str));
5620 Py_DECREF(item);
5621 Py_DECREF(str);
5622 }
5623 }
5624 }
5625 if (obj5) {
5626 arg6 = (long) SWIG_AsLong(obj5);
5627 if (PyErr_Occurred()) SWIG_fail;
5628 }
5629 if (obj6) {
5630 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5631 SWIG_POINTER_EXCEPTION | 0)) == -1)
5632 SWIG_fail;
5633 if (arg7 == NULL) {
5634 PyErr_SetString(PyExc_TypeError,"null reference");
5635 SWIG_fail;
5636 }
5637 }
5638 if (obj7) {
5639 {
5640 arg8 = wxString_in_helper(obj7);
5641 if (arg8 == NULL) SWIG_fail;
5642 temp8 = True;
5643 }
5644 }
5645 {
5646 if (!wxPyCheckForApp()) SWIG_fail;
5647 PyThreadState* __tstate = wxPyBeginAllowThreads();
5648 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5649
5650 wxPyEndAllowThreads(__tstate);
5651 if (PyErr_Occurred()) SWIG_fail;
5652 }
5653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5654 {
5655 if (temp5) delete arg5;
5656 }
5657 {
5658 if (temp8)
5659 delete arg8;
5660 }
5661 return resultobj;
5662 fail:
5663 {
5664 if (temp5) delete arg5;
5665 }
5666 {
5667 if (temp8)
5668 delete arg8;
5669 }
5670 return NULL;
5671 }
5672
5673
5674 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5675 PyObject *resultobj;
5676 wxListBox *result;
5677 char *kwnames[] = {
5678 NULL
5679 };
5680
5681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5682 {
5683 if (!wxPyCheckForApp()) SWIG_fail;
5684 PyThreadState* __tstate = wxPyBeginAllowThreads();
5685 result = (wxListBox *)new wxListBox();
5686
5687 wxPyEndAllowThreads(__tstate);
5688 if (PyErr_Occurred()) SWIG_fail;
5689 }
5690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5691 return resultobj;
5692 fail:
5693 return NULL;
5694 }
5695
5696
5697 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5698 PyObject *resultobj;
5699 wxListBox *arg1 = (wxListBox *) 0 ;
5700 wxWindow *arg2 = (wxWindow *) 0 ;
5701 int arg3 = (int) -1 ;
5702 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5703 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5704 wxSize const &arg5_defvalue = wxDefaultSize ;
5705 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5706 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5707 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5708 long arg7 = (long) 0 ;
5709 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5710 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5711 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5712 wxString *arg9 = (wxString *) &arg9_defvalue ;
5713 bool result;
5714 wxPoint temp4 ;
5715 wxSize temp5 ;
5716 bool temp6 = False ;
5717 bool temp9 = False ;
5718 PyObject * obj0 = 0 ;
5719 PyObject * obj1 = 0 ;
5720 PyObject * obj2 = 0 ;
5721 PyObject * obj3 = 0 ;
5722 PyObject * obj4 = 0 ;
5723 PyObject * obj5 = 0 ;
5724 PyObject * obj6 = 0 ;
5725 PyObject * obj7 = 0 ;
5726 PyObject * obj8 = 0 ;
5727 char *kwnames[] = {
5728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5729 };
5730
5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5734 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5736 if (obj2) {
5737 arg3 = (int) SWIG_AsInt(obj2);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
5740 if (obj3) {
5741 {
5742 arg4 = &temp4;
5743 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5744 }
5745 }
5746 if (obj4) {
5747 {
5748 arg5 = &temp5;
5749 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5750 }
5751 }
5752 if (obj5) {
5753 {
5754 if (! PySequence_Check(obj5)) {
5755 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5756 SWIG_fail;
5757 }
5758 arg6 = new wxArrayString;
5759 temp6 = True;
5760 int i, len=PySequence_Length(obj5);
5761 for (i=0; i<len; i++) {
5762 PyObject* item = PySequence_GetItem(obj5, i);
5763 #if wxUSE_UNICODE
5764 PyObject* str = PyObject_Unicode(item);
5765 #else
5766 PyObject* str = PyObject_Str(item);
5767 #endif
5768 if (PyErr_Occurred()) SWIG_fail;
5769 arg6->Add(Py2wxString(str));
5770 Py_DECREF(item);
5771 Py_DECREF(str);
5772 }
5773 }
5774 }
5775 if (obj6) {
5776 arg7 = (long) SWIG_AsLong(obj6);
5777 if (PyErr_Occurred()) SWIG_fail;
5778 }
5779 if (obj7) {
5780 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5781 SWIG_POINTER_EXCEPTION | 0)) == -1)
5782 SWIG_fail;
5783 if (arg8 == NULL) {
5784 PyErr_SetString(PyExc_TypeError,"null reference");
5785 SWIG_fail;
5786 }
5787 }
5788 if (obj8) {
5789 {
5790 arg9 = wxString_in_helper(obj8);
5791 if (arg9 == NULL) SWIG_fail;
5792 temp9 = True;
5793 }
5794 }
5795 {
5796 PyThreadState* __tstate = wxPyBeginAllowThreads();
5797 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5798
5799 wxPyEndAllowThreads(__tstate);
5800 if (PyErr_Occurred()) SWIG_fail;
5801 }
5802 {
5803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5804 }
5805 {
5806 if (temp6) delete arg6;
5807 }
5808 {
5809 if (temp9)
5810 delete arg9;
5811 }
5812 return resultobj;
5813 fail:
5814 {
5815 if (temp6) delete arg6;
5816 }
5817 {
5818 if (temp9)
5819 delete arg9;
5820 }
5821 return NULL;
5822 }
5823
5824
5825 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5826 PyObject *resultobj;
5827 wxListBox *arg1 = (wxListBox *) 0 ;
5828 wxString *arg2 = 0 ;
5829 int arg3 ;
5830 PyObject *arg4 = (PyObject *) NULL ;
5831 bool temp2 = False ;
5832 PyObject * obj0 = 0 ;
5833 PyObject * obj1 = 0 ;
5834 PyObject * obj2 = 0 ;
5835 PyObject * obj3 = 0 ;
5836 char *kwnames[] = {
5837 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5838 };
5839
5840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5843 {
5844 arg2 = wxString_in_helper(obj1);
5845 if (arg2 == NULL) SWIG_fail;
5846 temp2 = True;
5847 }
5848 arg3 = (int) SWIG_AsInt(obj2);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 if (obj3) {
5851 arg4 = obj3;
5852 }
5853 {
5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
5855 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
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_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5876 PyObject *resultobj;
5877 wxListBox *arg1 = (wxListBox *) 0 ;
5878 wxArrayString *arg2 = 0 ;
5879 int arg3 ;
5880 bool temp2 = False ;
5881 PyObject * obj0 = 0 ;
5882 PyObject * obj1 = 0 ;
5883 PyObject * obj2 = 0 ;
5884 char *kwnames[] = {
5885 (char *) "self",(char *) "items",(char *) "pos", NULL
5886 };
5887
5888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5891 {
5892 if (! PySequence_Check(obj1)) {
5893 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5894 SWIG_fail;
5895 }
5896 arg2 = new wxArrayString;
5897 temp2 = True;
5898 int i, len=PySequence_Length(obj1);
5899 for (i=0; i<len; i++) {
5900 PyObject* item = PySequence_GetItem(obj1, i);
5901 #if wxUSE_UNICODE
5902 PyObject* str = PyObject_Unicode(item);
5903 #else
5904 PyObject* str = PyObject_Str(item);
5905 #endif
5906 if (PyErr_Occurred()) SWIG_fail;
5907 arg2->Add(Py2wxString(str));
5908 Py_DECREF(item);
5909 Py_DECREF(str);
5910 }
5911 }
5912 arg3 = (int) SWIG_AsInt(obj2);
5913 if (PyErr_Occurred()) SWIG_fail;
5914 {
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5917
5918 wxPyEndAllowThreads(__tstate);
5919 if (PyErr_Occurred()) SWIG_fail;
5920 }
5921 Py_INCREF(Py_None); resultobj = Py_None;
5922 {
5923 if (temp2) delete arg2;
5924 }
5925 return resultobj;
5926 fail:
5927 {
5928 if (temp2) delete arg2;
5929 }
5930 return NULL;
5931 }
5932
5933
5934 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5935 PyObject *resultobj;
5936 wxListBox *arg1 = (wxListBox *) 0 ;
5937 wxArrayString *arg2 = 0 ;
5938 bool temp2 = False ;
5939 PyObject * obj0 = 0 ;
5940 PyObject * obj1 = 0 ;
5941 char *kwnames[] = {
5942 (char *) "self",(char *) "items", NULL
5943 };
5944
5945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5948 {
5949 if (! PySequence_Check(obj1)) {
5950 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5951 SWIG_fail;
5952 }
5953 arg2 = new wxArrayString;
5954 temp2 = True;
5955 int i, len=PySequence_Length(obj1);
5956 for (i=0; i<len; i++) {
5957 PyObject* item = PySequence_GetItem(obj1, i);
5958 #if wxUSE_UNICODE
5959 PyObject* str = PyObject_Unicode(item);
5960 #else
5961 PyObject* str = PyObject_Str(item);
5962 #endif
5963 if (PyErr_Occurred()) SWIG_fail;
5964 arg2->Add(Py2wxString(str));
5965 Py_DECREF(item);
5966 Py_DECREF(str);
5967 }
5968 }
5969 {
5970 PyThreadState* __tstate = wxPyBeginAllowThreads();
5971 (arg1)->Set((wxArrayString const &)*arg2);
5972
5973 wxPyEndAllowThreads(__tstate);
5974 if (PyErr_Occurred()) SWIG_fail;
5975 }
5976 Py_INCREF(Py_None); resultobj = Py_None;
5977 {
5978 if (temp2) delete arg2;
5979 }
5980 return resultobj;
5981 fail:
5982 {
5983 if (temp2) delete arg2;
5984 }
5985 return NULL;
5986 }
5987
5988
5989 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5990 PyObject *resultobj;
5991 wxListBox *arg1 = (wxListBox *) 0 ;
5992 int arg2 ;
5993 bool result;
5994 PyObject * obj0 = 0 ;
5995 PyObject * obj1 = 0 ;
5996 char *kwnames[] = {
5997 (char *) "self",(char *) "n", NULL
5998 };
5999
6000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
6001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6003 arg2 = (int) SWIG_AsInt(obj1);
6004 if (PyErr_Occurred()) SWIG_fail;
6005 {
6006 PyThreadState* __tstate = wxPyBeginAllowThreads();
6007 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
6008
6009 wxPyEndAllowThreads(__tstate);
6010 if (PyErr_Occurred()) SWIG_fail;
6011 }
6012 {
6013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6014 }
6015 return resultobj;
6016 fail:
6017 return NULL;
6018 }
6019
6020
6021 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6022 PyObject *resultobj;
6023 wxListBox *arg1 = (wxListBox *) 0 ;
6024 int arg2 ;
6025 bool arg3 = (bool) True ;
6026 PyObject * obj0 = 0 ;
6027 PyObject * obj1 = 0 ;
6028 PyObject * obj2 = 0 ;
6029 char *kwnames[] = {
6030 (char *) "self",(char *) "n",(char *) "select", NULL
6031 };
6032
6033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
6034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6036 arg2 = (int) SWIG_AsInt(obj1);
6037 if (PyErr_Occurred()) SWIG_fail;
6038 if (obj2) {
6039 arg3 = (bool) SWIG_AsBool(obj2);
6040 if (PyErr_Occurred()) SWIG_fail;
6041 }
6042 {
6043 PyThreadState* __tstate = wxPyBeginAllowThreads();
6044 (arg1)->SetSelection(arg2,arg3);
6045
6046 wxPyEndAllowThreads(__tstate);
6047 if (PyErr_Occurred()) SWIG_fail;
6048 }
6049 Py_INCREF(Py_None); resultobj = Py_None;
6050 return resultobj;
6051 fail:
6052 return NULL;
6053 }
6054
6055
6056 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
6057 PyObject *resultobj;
6058 wxListBox *arg1 = (wxListBox *) 0 ;
6059 int arg2 ;
6060 PyObject * obj0 = 0 ;
6061 PyObject * obj1 = 0 ;
6062 char *kwnames[] = {
6063 (char *) "self",(char *) "n", NULL
6064 };
6065
6066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
6067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6069 arg2 = (int) SWIG_AsInt(obj1);
6070 if (PyErr_Occurred()) SWIG_fail;
6071 {
6072 PyThreadState* __tstate = wxPyBeginAllowThreads();
6073 (arg1)->Select(arg2);
6074
6075 wxPyEndAllowThreads(__tstate);
6076 if (PyErr_Occurred()) SWIG_fail;
6077 }
6078 Py_INCREF(Py_None); resultobj = Py_None;
6079 return resultobj;
6080 fail:
6081 return NULL;
6082 }
6083
6084
6085 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
6086 PyObject *resultobj;
6087 wxListBox *arg1 = (wxListBox *) 0 ;
6088 int arg2 ;
6089 PyObject * obj0 = 0 ;
6090 PyObject * obj1 = 0 ;
6091 char *kwnames[] = {
6092 (char *) "self",(char *) "n", NULL
6093 };
6094
6095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
6096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6098 arg2 = (int) SWIG_AsInt(obj1);
6099 if (PyErr_Occurred()) SWIG_fail;
6100 {
6101 PyThreadState* __tstate = wxPyBeginAllowThreads();
6102 (arg1)->Deselect(arg2);
6103
6104 wxPyEndAllowThreads(__tstate);
6105 if (PyErr_Occurred()) SWIG_fail;
6106 }
6107 Py_INCREF(Py_None); resultobj = Py_None;
6108 return resultobj;
6109 fail:
6110 return NULL;
6111 }
6112
6113
6114 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
6115 PyObject *resultobj;
6116 wxListBox *arg1 = (wxListBox *) 0 ;
6117 int arg2 = (int) -1 ;
6118 PyObject * obj0 = 0 ;
6119 PyObject * obj1 = 0 ;
6120 char *kwnames[] = {
6121 (char *) "self",(char *) "itemToLeaveSelected", NULL
6122 };
6123
6124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
6125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6127 if (obj1) {
6128 arg2 = (int) SWIG_AsInt(obj1);
6129 if (PyErr_Occurred()) SWIG_fail;
6130 }
6131 {
6132 PyThreadState* __tstate = wxPyBeginAllowThreads();
6133 (arg1)->DeselectAll(arg2);
6134
6135 wxPyEndAllowThreads(__tstate);
6136 if (PyErr_Occurred()) SWIG_fail;
6137 }
6138 Py_INCREF(Py_None); resultobj = Py_None;
6139 return resultobj;
6140 fail:
6141 return NULL;
6142 }
6143
6144
6145 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6146 PyObject *resultobj;
6147 wxListBox *arg1 = (wxListBox *) 0 ;
6148 wxString *arg2 = 0 ;
6149 bool arg3 = (bool) True ;
6150 bool result;
6151 bool temp2 = False ;
6152 PyObject * obj0 = 0 ;
6153 PyObject * obj1 = 0 ;
6154 PyObject * obj2 = 0 ;
6155 char *kwnames[] = {
6156 (char *) "self",(char *) "s",(char *) "select", NULL
6157 };
6158
6159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
6160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6162 {
6163 arg2 = wxString_in_helper(obj1);
6164 if (arg2 == NULL) SWIG_fail;
6165 temp2 = True;
6166 }
6167 if (obj2) {
6168 arg3 = (bool) SWIG_AsBool(obj2);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 }
6171 {
6172 PyThreadState* __tstate = wxPyBeginAllowThreads();
6173 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
6174
6175 wxPyEndAllowThreads(__tstate);
6176 if (PyErr_Occurred()) SWIG_fail;
6177 }
6178 {
6179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6180 }
6181 {
6182 if (temp2)
6183 delete arg2;
6184 }
6185 return resultobj;
6186 fail:
6187 {
6188 if (temp2)
6189 delete arg2;
6190 }
6191 return NULL;
6192 }
6193
6194
6195 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
6196 PyObject *resultobj;
6197 wxListBox *arg1 = (wxListBox *) 0 ;
6198 PyObject *result;
6199 PyObject * obj0 = 0 ;
6200 char *kwnames[] = {
6201 (char *) "self", NULL
6202 };
6203
6204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
6205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6207 {
6208 PyThreadState* __tstate = wxPyBeginAllowThreads();
6209 result = (PyObject *)wxListBox_GetSelections(arg1);
6210
6211 wxPyEndAllowThreads(__tstate);
6212 if (PyErr_Occurred()) SWIG_fail;
6213 }
6214 resultobj = result;
6215 return resultobj;
6216 fail:
6217 return NULL;
6218 }
6219
6220
6221 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6222 PyObject *resultobj;
6223 wxListBox *arg1 = (wxListBox *) 0 ;
6224 int arg2 ;
6225 PyObject * obj0 = 0 ;
6226 PyObject * obj1 = 0 ;
6227 char *kwnames[] = {
6228 (char *) "self",(char *) "n", NULL
6229 };
6230
6231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
6232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6234 arg2 = (int) SWIG_AsInt(obj1);
6235 if (PyErr_Occurred()) SWIG_fail;
6236 {
6237 PyThreadState* __tstate = wxPyBeginAllowThreads();
6238 (arg1)->SetFirstItem(arg2);
6239
6240 wxPyEndAllowThreads(__tstate);
6241 if (PyErr_Occurred()) SWIG_fail;
6242 }
6243 Py_INCREF(Py_None); resultobj = Py_None;
6244 return resultobj;
6245 fail:
6246 return NULL;
6247 }
6248
6249
6250 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
6251 PyObject *resultobj;
6252 wxListBox *arg1 = (wxListBox *) 0 ;
6253 wxString *arg2 = 0 ;
6254 bool temp2 = False ;
6255 PyObject * obj0 = 0 ;
6256 PyObject * obj1 = 0 ;
6257 char *kwnames[] = {
6258 (char *) "self",(char *) "s", NULL
6259 };
6260
6261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
6262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6264 {
6265 arg2 = wxString_in_helper(obj1);
6266 if (arg2 == NULL) SWIG_fail;
6267 temp2 = True;
6268 }
6269 {
6270 PyThreadState* __tstate = wxPyBeginAllowThreads();
6271 (arg1)->SetFirstItem((wxString const &)*arg2);
6272
6273 wxPyEndAllowThreads(__tstate);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 }
6276 Py_INCREF(Py_None); resultobj = Py_None;
6277 {
6278 if (temp2)
6279 delete arg2;
6280 }
6281 return resultobj;
6282 fail:
6283 {
6284 if (temp2)
6285 delete arg2;
6286 }
6287 return NULL;
6288 }
6289
6290
6291 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6292 PyObject *resultobj;
6293 wxListBox *arg1 = (wxListBox *) 0 ;
6294 int arg2 ;
6295 PyObject * obj0 = 0 ;
6296 PyObject * obj1 = 0 ;
6297 char *kwnames[] = {
6298 (char *) "self",(char *) "n", NULL
6299 };
6300
6301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6304 arg2 = (int) SWIG_AsInt(obj1);
6305 if (PyErr_Occurred()) SWIG_fail;
6306 {
6307 PyThreadState* __tstate = wxPyBeginAllowThreads();
6308 (arg1)->EnsureVisible(arg2);
6309
6310 wxPyEndAllowThreads(__tstate);
6311 if (PyErr_Occurred()) SWIG_fail;
6312 }
6313 Py_INCREF(Py_None); resultobj = Py_None;
6314 return resultobj;
6315 fail:
6316 return NULL;
6317 }
6318
6319
6320 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6321 PyObject *resultobj;
6322 wxListBox *arg1 = (wxListBox *) 0 ;
6323 wxString *arg2 = 0 ;
6324 bool temp2 = False ;
6325 PyObject * obj0 = 0 ;
6326 PyObject * obj1 = 0 ;
6327 char *kwnames[] = {
6328 (char *) "self",(char *) "s", NULL
6329 };
6330
6331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6334 {
6335 arg2 = wxString_in_helper(obj1);
6336 if (arg2 == NULL) SWIG_fail;
6337 temp2 = True;
6338 }
6339 {
6340 PyThreadState* __tstate = wxPyBeginAllowThreads();
6341 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
6342
6343 wxPyEndAllowThreads(__tstate);
6344 if (PyErr_Occurred()) SWIG_fail;
6345 }
6346 Py_INCREF(Py_None); resultobj = Py_None;
6347 {
6348 if (temp2)
6349 delete arg2;
6350 }
6351 return resultobj;
6352 fail:
6353 {
6354 if (temp2)
6355 delete arg2;
6356 }
6357 return NULL;
6358 }
6359
6360
6361 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
6362 PyObject *resultobj;
6363 wxListBox *arg1 = (wxListBox *) 0 ;
6364 bool result;
6365 PyObject * obj0 = 0 ;
6366 char *kwnames[] = {
6367 (char *) "self", NULL
6368 };
6369
6370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
6371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6373 {
6374 PyThreadState* __tstate = wxPyBeginAllowThreads();
6375 result = (bool)((wxListBox const *)arg1)->IsSorted();
6376
6377 wxPyEndAllowThreads(__tstate);
6378 if (PyErr_Occurred()) SWIG_fail;
6379 }
6380 {
6381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6382 }
6383 return resultobj;
6384 fail:
6385 return NULL;
6386 }
6387
6388
6389 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6390 PyObject *resultobj;
6391 wxListBox *arg1 = (wxListBox *) 0 ;
6392 int arg2 ;
6393 wxColour *arg3 = 0 ;
6394 wxColour temp3 ;
6395 PyObject * obj0 = 0 ;
6396 PyObject * obj1 = 0 ;
6397 PyObject * obj2 = 0 ;
6398 char *kwnames[] = {
6399 (char *) "self",(char *) "item",(char *) "c", NULL
6400 };
6401
6402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6405 arg2 = (int) SWIG_AsInt(obj1);
6406 if (PyErr_Occurred()) SWIG_fail;
6407 {
6408 arg3 = &temp3;
6409 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6410 }
6411 {
6412 PyThreadState* __tstate = wxPyBeginAllowThreads();
6413 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
6414
6415 wxPyEndAllowThreads(__tstate);
6416 if (PyErr_Occurred()) SWIG_fail;
6417 }
6418 Py_INCREF(Py_None); resultobj = Py_None;
6419 return resultobj;
6420 fail:
6421 return NULL;
6422 }
6423
6424
6425 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6426 PyObject *resultobj;
6427 wxListBox *arg1 = (wxListBox *) 0 ;
6428 int arg2 ;
6429 wxColour *arg3 = 0 ;
6430 wxColour temp3 ;
6431 PyObject * obj0 = 0 ;
6432 PyObject * obj1 = 0 ;
6433 PyObject * obj2 = 0 ;
6434 char *kwnames[] = {
6435 (char *) "self",(char *) "item",(char *) "c", NULL
6436 };
6437
6438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6441 arg2 = (int) SWIG_AsInt(obj1);
6442 if (PyErr_Occurred()) SWIG_fail;
6443 {
6444 arg3 = &temp3;
6445 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6446 }
6447 {
6448 PyThreadState* __tstate = wxPyBeginAllowThreads();
6449 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
6450
6451 wxPyEndAllowThreads(__tstate);
6452 if (PyErr_Occurred()) SWIG_fail;
6453 }
6454 Py_INCREF(Py_None); resultobj = Py_None;
6455 return resultobj;
6456 fail:
6457 return NULL;
6458 }
6459
6460
6461 static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6462 PyObject *resultobj;
6463 wxListBox *arg1 = (wxListBox *) 0 ;
6464 int arg2 ;
6465 wxFont *arg3 = 0 ;
6466 PyObject * obj0 = 0 ;
6467 PyObject * obj1 = 0 ;
6468 PyObject * obj2 = 0 ;
6469 char *kwnames[] = {
6470 (char *) "self",(char *) "item",(char *) "f", NULL
6471 };
6472
6473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6476 arg2 = (int) SWIG_AsInt(obj1);
6477 if (PyErr_Occurred()) SWIG_fail;
6478 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6479 SWIG_POINTER_EXCEPTION | 0)) == -1)
6480 SWIG_fail;
6481 if (arg3 == NULL) {
6482 PyErr_SetString(PyExc_TypeError,"null reference");
6483 SWIG_fail;
6484 }
6485 {
6486 PyThreadState* __tstate = wxPyBeginAllowThreads();
6487 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
6488
6489 wxPyEndAllowThreads(__tstate);
6490 if (PyErr_Occurred()) SWIG_fail;
6491 }
6492 Py_INCREF(Py_None); resultobj = Py_None;
6493 return resultobj;
6494 fail:
6495 return NULL;
6496 }
6497
6498
6499 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6500 PyObject *resultobj;
6501 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6502 wxVisualAttributes result;
6503 PyObject * obj0 = 0 ;
6504 char *kwnames[] = {
6505 (char *) "variant", NULL
6506 };
6507
6508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6509 if (obj0) {
6510 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6511 if (PyErr_Occurred()) SWIG_fail;
6512 }
6513 {
6514 if (!wxPyCheckForApp()) SWIG_fail;
6515 PyThreadState* __tstate = wxPyBeginAllowThreads();
6516 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6517
6518 wxPyEndAllowThreads(__tstate);
6519 if (PyErr_Occurred()) SWIG_fail;
6520 }
6521 {
6522 wxVisualAttributes * resultptr;
6523 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6525 }
6526 return resultobj;
6527 fail:
6528 return NULL;
6529 }
6530
6531
6532 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
6533 PyObject *obj;
6534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6535 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6536 Py_INCREF(obj);
6537 return Py_BuildValue((char *)"");
6538 }
6539 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6540 PyObject *resultobj;
6541 wxWindow *arg1 = (wxWindow *) 0 ;
6542 int arg2 = (int) -1 ;
6543 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6544 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6545 wxSize const &arg4_defvalue = wxDefaultSize ;
6546 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6547 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6548 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6549 long arg6 = (long) 0 ;
6550 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6551 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6552 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6553 wxString *arg8 = (wxString *) &arg8_defvalue ;
6554 wxCheckListBox *result;
6555 wxPoint temp3 ;
6556 wxSize temp4 ;
6557 bool temp5 = False ;
6558 bool temp8 = False ;
6559 PyObject * obj0 = 0 ;
6560 PyObject * obj1 = 0 ;
6561 PyObject * obj2 = 0 ;
6562 PyObject * obj3 = 0 ;
6563 PyObject * obj4 = 0 ;
6564 PyObject * obj5 = 0 ;
6565 PyObject * obj6 = 0 ;
6566 PyObject * obj7 = 0 ;
6567 char *kwnames[] = {
6568 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6569 };
6570
6571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6574 if (obj1) {
6575 arg2 = (int) SWIG_AsInt(obj1);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 if (obj2) {
6579 {
6580 arg3 = &temp3;
6581 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6582 }
6583 }
6584 if (obj3) {
6585 {
6586 arg4 = &temp4;
6587 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6588 }
6589 }
6590 if (obj4) {
6591 {
6592 if (! PySequence_Check(obj4)) {
6593 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6594 SWIG_fail;
6595 }
6596 arg5 = new wxArrayString;
6597 temp5 = True;
6598 int i, len=PySequence_Length(obj4);
6599 for (i=0; i<len; i++) {
6600 PyObject* item = PySequence_GetItem(obj4, i);
6601 #if wxUSE_UNICODE
6602 PyObject* str = PyObject_Unicode(item);
6603 #else
6604 PyObject* str = PyObject_Str(item);
6605 #endif
6606 if (PyErr_Occurred()) SWIG_fail;
6607 arg5->Add(Py2wxString(str));
6608 Py_DECREF(item);
6609 Py_DECREF(str);
6610 }
6611 }
6612 }
6613 if (obj5) {
6614 arg6 = (long) SWIG_AsLong(obj5);
6615 if (PyErr_Occurred()) SWIG_fail;
6616 }
6617 if (obj6) {
6618 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6619 SWIG_POINTER_EXCEPTION | 0)) == -1)
6620 SWIG_fail;
6621 if (arg7 == NULL) {
6622 PyErr_SetString(PyExc_TypeError,"null reference");
6623 SWIG_fail;
6624 }
6625 }
6626 if (obj7) {
6627 {
6628 arg8 = wxString_in_helper(obj7);
6629 if (arg8 == NULL) SWIG_fail;
6630 temp8 = True;
6631 }
6632 }
6633 {
6634 if (!wxPyCheckForApp()) SWIG_fail;
6635 PyThreadState* __tstate = wxPyBeginAllowThreads();
6636 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6637
6638 wxPyEndAllowThreads(__tstate);
6639 if (PyErr_Occurred()) SWIG_fail;
6640 }
6641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6642 {
6643 if (temp5) delete arg5;
6644 }
6645 {
6646 if (temp8)
6647 delete arg8;
6648 }
6649 return resultobj;
6650 fail:
6651 {
6652 if (temp5) delete arg5;
6653 }
6654 {
6655 if (temp8)
6656 delete arg8;
6657 }
6658 return NULL;
6659 }
6660
6661
6662 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6663 PyObject *resultobj;
6664 wxCheckListBox *result;
6665 char *kwnames[] = {
6666 NULL
6667 };
6668
6669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6670 {
6671 if (!wxPyCheckForApp()) SWIG_fail;
6672 PyThreadState* __tstate = wxPyBeginAllowThreads();
6673 result = (wxCheckListBox *)new wxCheckListBox();
6674
6675 wxPyEndAllowThreads(__tstate);
6676 if (PyErr_Occurred()) SWIG_fail;
6677 }
6678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6679 return resultobj;
6680 fail:
6681 return NULL;
6682 }
6683
6684
6685 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6686 PyObject *resultobj;
6687 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6688 wxWindow *arg2 = (wxWindow *) 0 ;
6689 int arg3 = (int) -1 ;
6690 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6691 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6692 wxSize const &arg5_defvalue = wxDefaultSize ;
6693 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6694 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6695 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6696 long arg7 = (long) 0 ;
6697 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6698 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6699 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6700 wxString *arg9 = (wxString *) &arg9_defvalue ;
6701 bool result;
6702 wxPoint temp4 ;
6703 wxSize temp5 ;
6704 bool temp6 = False ;
6705 bool temp9 = False ;
6706 PyObject * obj0 = 0 ;
6707 PyObject * obj1 = 0 ;
6708 PyObject * obj2 = 0 ;
6709 PyObject * obj3 = 0 ;
6710 PyObject * obj4 = 0 ;
6711 PyObject * obj5 = 0 ;
6712 PyObject * obj6 = 0 ;
6713 PyObject * obj7 = 0 ;
6714 PyObject * obj8 = 0 ;
6715 char *kwnames[] = {
6716 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6717 };
6718
6719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6722 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6724 if (obj2) {
6725 arg3 = (int) SWIG_AsInt(obj2);
6726 if (PyErr_Occurred()) SWIG_fail;
6727 }
6728 if (obj3) {
6729 {
6730 arg4 = &temp4;
6731 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6732 }
6733 }
6734 if (obj4) {
6735 {
6736 arg5 = &temp5;
6737 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6738 }
6739 }
6740 if (obj5) {
6741 {
6742 if (! PySequence_Check(obj5)) {
6743 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6744 SWIG_fail;
6745 }
6746 arg6 = new wxArrayString;
6747 temp6 = True;
6748 int i, len=PySequence_Length(obj5);
6749 for (i=0; i<len; i++) {
6750 PyObject* item = PySequence_GetItem(obj5, i);
6751 #if wxUSE_UNICODE
6752 PyObject* str = PyObject_Unicode(item);
6753 #else
6754 PyObject* str = PyObject_Str(item);
6755 #endif
6756 if (PyErr_Occurred()) SWIG_fail;
6757 arg6->Add(Py2wxString(str));
6758 Py_DECREF(item);
6759 Py_DECREF(str);
6760 }
6761 }
6762 }
6763 if (obj6) {
6764 arg7 = (long) SWIG_AsLong(obj6);
6765 if (PyErr_Occurred()) SWIG_fail;
6766 }
6767 if (obj7) {
6768 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6769 SWIG_POINTER_EXCEPTION | 0)) == -1)
6770 SWIG_fail;
6771 if (arg8 == NULL) {
6772 PyErr_SetString(PyExc_TypeError,"null reference");
6773 SWIG_fail;
6774 }
6775 }
6776 if (obj8) {
6777 {
6778 arg9 = wxString_in_helper(obj8);
6779 if (arg9 == NULL) SWIG_fail;
6780 temp9 = True;
6781 }
6782 }
6783 {
6784 PyThreadState* __tstate = wxPyBeginAllowThreads();
6785 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6786
6787 wxPyEndAllowThreads(__tstate);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 }
6790 {
6791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6792 }
6793 {
6794 if (temp6) delete arg6;
6795 }
6796 {
6797 if (temp9)
6798 delete arg9;
6799 }
6800 return resultobj;
6801 fail:
6802 {
6803 if (temp6) delete arg6;
6804 }
6805 {
6806 if (temp9)
6807 delete arg9;
6808 }
6809 return NULL;
6810 }
6811
6812
6813 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6814 PyObject *resultobj;
6815 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6816 int arg2 ;
6817 bool result;
6818 PyObject * obj0 = 0 ;
6819 PyObject * obj1 = 0 ;
6820 char *kwnames[] = {
6821 (char *) "self",(char *) "index", NULL
6822 };
6823
6824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6827 arg2 = (int) SWIG_AsInt(obj1);
6828 if (PyErr_Occurred()) SWIG_fail;
6829 {
6830 PyThreadState* __tstate = wxPyBeginAllowThreads();
6831 result = (bool)(arg1)->IsChecked(arg2);
6832
6833 wxPyEndAllowThreads(__tstate);
6834 if (PyErr_Occurred()) SWIG_fail;
6835 }
6836 {
6837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6838 }
6839 return resultobj;
6840 fail:
6841 return NULL;
6842 }
6843
6844
6845 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6846 PyObject *resultobj;
6847 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6848 int arg2 ;
6849 int arg3 = (int) True ;
6850 PyObject * obj0 = 0 ;
6851 PyObject * obj1 = 0 ;
6852 PyObject * obj2 = 0 ;
6853 char *kwnames[] = {
6854 (char *) "self",(char *) "index",(char *) "check", NULL
6855 };
6856
6857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6860 arg2 = (int) SWIG_AsInt(obj1);
6861 if (PyErr_Occurred()) SWIG_fail;
6862 if (obj2) {
6863 arg3 = (int) SWIG_AsInt(obj2);
6864 if (PyErr_Occurred()) SWIG_fail;
6865 }
6866 {
6867 PyThreadState* __tstate = wxPyBeginAllowThreads();
6868 (arg1)->Check(arg2,arg3);
6869
6870 wxPyEndAllowThreads(__tstate);
6871 if (PyErr_Occurred()) SWIG_fail;
6872 }
6873 Py_INCREF(Py_None); resultobj = Py_None;
6874 return resultobj;
6875 fail:
6876 return NULL;
6877 }
6878
6879
6880 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6881 PyObject *resultobj;
6882 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6883 int result;
6884 PyObject * obj0 = 0 ;
6885 char *kwnames[] = {
6886 (char *) "self", NULL
6887 };
6888
6889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
6890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6892 {
6893 PyThreadState* __tstate = wxPyBeginAllowThreads();
6894 result = (int)(arg1)->GetItemHeight();
6895
6896 wxPyEndAllowThreads(__tstate);
6897 if (PyErr_Occurred()) SWIG_fail;
6898 }
6899 resultobj = SWIG_FromInt((int)result);
6900 return resultobj;
6901 fail:
6902 return NULL;
6903 }
6904
6905
6906 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6907 PyObject *resultobj;
6908 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6909 wxPoint *arg2 = 0 ;
6910 int result;
6911 wxPoint temp2 ;
6912 PyObject * obj0 = 0 ;
6913 PyObject * obj1 = 0 ;
6914 char *kwnames[] = {
6915 (char *) "self",(char *) "pt", NULL
6916 };
6917
6918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6921 {
6922 arg2 = &temp2;
6923 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6924 }
6925 {
6926 PyThreadState* __tstate = wxPyBeginAllowThreads();
6927 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6928
6929 wxPyEndAllowThreads(__tstate);
6930 if (PyErr_Occurred()) SWIG_fail;
6931 }
6932 resultobj = SWIG_FromInt((int)result);
6933 return resultobj;
6934 fail:
6935 return NULL;
6936 }
6937
6938
6939 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6940 PyObject *resultobj;
6941 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6942 int arg2 ;
6943 int arg3 ;
6944 int result;
6945 PyObject * obj0 = 0 ;
6946 PyObject * obj1 = 0 ;
6947 PyObject * obj2 = 0 ;
6948 char *kwnames[] = {
6949 (char *) "self",(char *) "x",(char *) "y", NULL
6950 };
6951
6952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6955 arg2 = (int) SWIG_AsInt(obj1);
6956 if (PyErr_Occurred()) SWIG_fail;
6957 arg3 = (int) SWIG_AsInt(obj2);
6958 if (PyErr_Occurred()) SWIG_fail;
6959 {
6960 PyThreadState* __tstate = wxPyBeginAllowThreads();
6961 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6962
6963 wxPyEndAllowThreads(__tstate);
6964 if (PyErr_Occurred()) SWIG_fail;
6965 }
6966 resultobj = SWIG_FromInt((int)result);
6967 return resultobj;
6968 fail:
6969 return NULL;
6970 }
6971
6972
6973 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6974 PyObject *obj;
6975 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6976 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6977 Py_INCREF(obj);
6978 return Py_BuildValue((char *)"");
6979 }
6980 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6981 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6982 return 1;
6983 }
6984
6985
6986 static PyObject *_wrap_TextCtrlNameStr_get() {
6987 PyObject *pyobj;
6988
6989 {
6990 #if wxUSE_UNICODE
6991 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6992 #else
6993 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6994 #endif
6995 }
6996 return pyobj;
6997 }
6998
6999
7000 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7001 PyObject *resultobj;
7002 wxColour const &arg1_defvalue = wxNullColour ;
7003 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
7004 wxColour const &arg2_defvalue = wxNullColour ;
7005 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
7006 wxFont const &arg3_defvalue = wxNullFont ;
7007 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
7008 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
7009 wxTextAttr *result;
7010 wxColour temp1 ;
7011 wxColour temp2 ;
7012 PyObject * obj0 = 0 ;
7013 PyObject * obj1 = 0 ;
7014 PyObject * obj2 = 0 ;
7015 PyObject * obj3 = 0 ;
7016 char *kwnames[] = {
7017 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7018 };
7019
7020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7021 if (obj0) {
7022 {
7023 arg1 = &temp1;
7024 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
7025 }
7026 }
7027 if (obj1) {
7028 {
7029 arg2 = &temp2;
7030 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7031 }
7032 }
7033 if (obj2) {
7034 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
7035 SWIG_POINTER_EXCEPTION | 0)) == -1)
7036 SWIG_fail;
7037 if (arg3 == NULL) {
7038 PyErr_SetString(PyExc_TypeError,"null reference");
7039 SWIG_fail;
7040 }
7041 }
7042 if (obj3) {
7043 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
7044 if (PyErr_Occurred()) SWIG_fail;
7045 }
7046 {
7047 PyThreadState* __tstate = wxPyBeginAllowThreads();
7048 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
7049
7050 wxPyEndAllowThreads(__tstate);
7051 if (PyErr_Occurred()) SWIG_fail;
7052 }
7053 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
7054 return resultobj;
7055 fail:
7056 return NULL;
7057 }
7058
7059
7060 static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7061 PyObject *resultobj;
7062 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7063 PyObject * obj0 = 0 ;
7064 char *kwnames[] = {
7065 (char *) "self", NULL
7066 };
7067
7068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
7069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7071 {
7072 PyThreadState* __tstate = wxPyBeginAllowThreads();
7073 delete arg1;
7074
7075 wxPyEndAllowThreads(__tstate);
7076 if (PyErr_Occurred()) SWIG_fail;
7077 }
7078 Py_INCREF(Py_None); resultobj = Py_None;
7079 return resultobj;
7080 fail:
7081 return NULL;
7082 }
7083
7084
7085 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
7086 PyObject *resultobj;
7087 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7088 PyObject * obj0 = 0 ;
7089 char *kwnames[] = {
7090 (char *) "self", NULL
7091 };
7092
7093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
7094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7096 {
7097 PyThreadState* __tstate = wxPyBeginAllowThreads();
7098 (arg1)->Init();
7099
7100 wxPyEndAllowThreads(__tstate);
7101 if (PyErr_Occurred()) SWIG_fail;
7102 }
7103 Py_INCREF(Py_None); resultobj = Py_None;
7104 return resultobj;
7105 fail:
7106 return NULL;
7107 }
7108
7109
7110 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7111 PyObject *resultobj;
7112 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7113 wxColour *arg2 = 0 ;
7114 wxColour temp2 ;
7115 PyObject * obj0 = 0 ;
7116 PyObject * obj1 = 0 ;
7117 char *kwnames[] = {
7118 (char *) "self",(char *) "colText", NULL
7119 };
7120
7121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
7122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7124 {
7125 arg2 = &temp2;
7126 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7127 }
7128 {
7129 PyThreadState* __tstate = wxPyBeginAllowThreads();
7130 (arg1)->SetTextColour((wxColour const &)*arg2);
7131
7132 wxPyEndAllowThreads(__tstate);
7133 if (PyErr_Occurred()) SWIG_fail;
7134 }
7135 Py_INCREF(Py_None); resultobj = Py_None;
7136 return resultobj;
7137 fail:
7138 return NULL;
7139 }
7140
7141
7142 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7143 PyObject *resultobj;
7144 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7145 wxColour *arg2 = 0 ;
7146 wxColour temp2 ;
7147 PyObject * obj0 = 0 ;
7148 PyObject * obj1 = 0 ;
7149 char *kwnames[] = {
7150 (char *) "self",(char *) "colBack", NULL
7151 };
7152
7153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
7154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7156 {
7157 arg2 = &temp2;
7158 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7159 }
7160 {
7161 PyThreadState* __tstate = wxPyBeginAllowThreads();
7162 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
7163
7164 wxPyEndAllowThreads(__tstate);
7165 if (PyErr_Occurred()) SWIG_fail;
7166 }
7167 Py_INCREF(Py_None); resultobj = Py_None;
7168 return resultobj;
7169 fail:
7170 return NULL;
7171 }
7172
7173
7174 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7175 PyObject *resultobj;
7176 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7177 wxFont *arg2 = 0 ;
7178 long arg3 = (long) wxTEXT_ATTR_FONT ;
7179 PyObject * obj0 = 0 ;
7180 PyObject * obj1 = 0 ;
7181 PyObject * obj2 = 0 ;
7182 char *kwnames[] = {
7183 (char *) "self",(char *) "font",(char *) "flags", NULL
7184 };
7185
7186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
7187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7189 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
7190 SWIG_POINTER_EXCEPTION | 0)) == -1)
7191 SWIG_fail;
7192 if (arg2 == NULL) {
7193 PyErr_SetString(PyExc_TypeError,"null reference");
7194 SWIG_fail;
7195 }
7196 if (obj2) {
7197 arg3 = (long) SWIG_AsLong(obj2);
7198 if (PyErr_Occurred()) SWIG_fail;
7199 }
7200 {
7201 PyThreadState* __tstate = wxPyBeginAllowThreads();
7202 (arg1)->SetFont((wxFont const &)*arg2,arg3);
7203
7204 wxPyEndAllowThreads(__tstate);
7205 if (PyErr_Occurred()) SWIG_fail;
7206 }
7207 Py_INCREF(Py_None); resultobj = Py_None;
7208 return resultobj;
7209 fail:
7210 return NULL;
7211 }
7212
7213
7214 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7215 PyObject *resultobj;
7216 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7217 int arg2 ;
7218 PyObject * obj0 = 0 ;
7219 PyObject * obj1 = 0 ;
7220 char *kwnames[] = {
7221 (char *) "self",(char *) "alignment", NULL
7222 };
7223
7224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7227 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
7228 if (PyErr_Occurred()) SWIG_fail;
7229 {
7230 PyThreadState* __tstate = wxPyBeginAllowThreads();
7231 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
7232
7233 wxPyEndAllowThreads(__tstate);
7234 if (PyErr_Occurred()) SWIG_fail;
7235 }
7236 Py_INCREF(Py_None); resultobj = Py_None;
7237 return resultobj;
7238 fail:
7239 return NULL;
7240 }
7241
7242
7243 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7244 PyObject *resultobj;
7245 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7246 wxArrayInt *arg2 = 0 ;
7247 bool temp2 = False ;
7248 PyObject * obj0 = 0 ;
7249 PyObject * obj1 = 0 ;
7250 char *kwnames[] = {
7251 (char *) "self",(char *) "tabs", NULL
7252 };
7253
7254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
7255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7257 {
7258 if (! PySequence_Check(obj1)) {
7259 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
7260 SWIG_fail;
7261 }
7262 arg2 = new wxArrayInt;
7263 temp2 = True;
7264 int i, len=PySequence_Length(obj1);
7265 for (i=0; i<len; i++) {
7266 PyObject* item = PySequence_GetItem(obj1, i);
7267 PyObject* number = PyNumber_Int(item);
7268 arg2->Add(PyInt_AS_LONG(number));
7269 Py_DECREF(item);
7270 Py_DECREF(number);
7271 }
7272 }
7273 {
7274 PyThreadState* __tstate = wxPyBeginAllowThreads();
7275 (arg1)->SetTabs((wxArrayInt const &)*arg2);
7276
7277 wxPyEndAllowThreads(__tstate);
7278 if (PyErr_Occurred()) SWIG_fail;
7279 }
7280 Py_INCREF(Py_None); resultobj = Py_None;
7281 {
7282 if (temp2) delete arg2;
7283 }
7284 return resultobj;
7285 fail:
7286 {
7287 if (temp2) delete arg2;
7288 }
7289 return NULL;
7290 }
7291
7292
7293 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7294 PyObject *resultobj;
7295 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7296 int arg2 ;
7297 int arg3 = (int) 0 ;
7298 PyObject * obj0 = 0 ;
7299 PyObject * obj1 = 0 ;
7300 PyObject * obj2 = 0 ;
7301 char *kwnames[] = {
7302 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7303 };
7304
7305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
7306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7308 arg2 = (int) SWIG_AsInt(obj1);
7309 if (PyErr_Occurred()) SWIG_fail;
7310 if (obj2) {
7311 arg3 = (int) SWIG_AsInt(obj2);
7312 if (PyErr_Occurred()) SWIG_fail;
7313 }
7314 {
7315 PyThreadState* __tstate = wxPyBeginAllowThreads();
7316 (arg1)->SetLeftIndent(arg2,arg3);
7317
7318 wxPyEndAllowThreads(__tstate);
7319 if (PyErr_Occurred()) SWIG_fail;
7320 }
7321 Py_INCREF(Py_None); resultobj = Py_None;
7322 return resultobj;
7323 fail:
7324 return NULL;
7325 }
7326
7327
7328 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7329 PyObject *resultobj;
7330 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7331 int arg2 ;
7332 PyObject * obj0 = 0 ;
7333 PyObject * obj1 = 0 ;
7334 char *kwnames[] = {
7335 (char *) "self",(char *) "indent", NULL
7336 };
7337
7338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
7339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7341 arg2 = (int) SWIG_AsInt(obj1);
7342 if (PyErr_Occurred()) SWIG_fail;
7343 {
7344 PyThreadState* __tstate = wxPyBeginAllowThreads();
7345 (arg1)->SetRightIndent(arg2);
7346
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
7350 Py_INCREF(Py_None); resultobj = Py_None;
7351 return resultobj;
7352 fail:
7353 return NULL;
7354 }
7355
7356
7357 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7358 PyObject *resultobj;
7359 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7360 long arg2 ;
7361 PyObject * obj0 = 0 ;
7362 PyObject * obj1 = 0 ;
7363 char *kwnames[] = {
7364 (char *) "self",(char *) "flags", NULL
7365 };
7366
7367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7370 arg2 = (long) SWIG_AsLong(obj1);
7371 if (PyErr_Occurred()) SWIG_fail;
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 (arg1)->SetFlags(arg2);
7375
7376 wxPyEndAllowThreads(__tstate);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 }
7379 Py_INCREF(Py_None); resultobj = Py_None;
7380 return resultobj;
7381 fail:
7382 return NULL;
7383 }
7384
7385
7386 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7387 PyObject *resultobj;
7388 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7389 bool result;
7390 PyObject * obj0 = 0 ;
7391 char *kwnames[] = {
7392 (char *) "self", NULL
7393 };
7394
7395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
7396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7398 {
7399 PyThreadState* __tstate = wxPyBeginAllowThreads();
7400 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
7401
7402 wxPyEndAllowThreads(__tstate);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 }
7405 {
7406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7407 }
7408 return resultobj;
7409 fail:
7410 return NULL;
7411 }
7412
7413
7414 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7415 PyObject *resultobj;
7416 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7417 bool result;
7418 PyObject * obj0 = 0 ;
7419 char *kwnames[] = {
7420 (char *) "self", NULL
7421 };
7422
7423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
7424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7426 {
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
7429
7430 wxPyEndAllowThreads(__tstate);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
7433 {
7434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7435 }
7436 return resultobj;
7437 fail:
7438 return NULL;
7439 }
7440
7441
7442 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7443 PyObject *resultobj;
7444 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7445 bool result;
7446 PyObject * obj0 = 0 ;
7447 char *kwnames[] = {
7448 (char *) "self", NULL
7449 };
7450
7451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
7452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7454 {
7455 PyThreadState* __tstate = wxPyBeginAllowThreads();
7456 result = (bool)((wxTextAttr const *)arg1)->HasFont();
7457
7458 wxPyEndAllowThreads(__tstate);
7459 if (PyErr_Occurred()) SWIG_fail;
7460 }
7461 {
7462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7463 }
7464 return resultobj;
7465 fail:
7466 return NULL;
7467 }
7468
7469
7470 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7471 PyObject *resultobj;
7472 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7473 bool result;
7474 PyObject * obj0 = 0 ;
7475 char *kwnames[] = {
7476 (char *) "self", NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
7480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7482 {
7483 PyThreadState* __tstate = wxPyBeginAllowThreads();
7484 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7485
7486 wxPyEndAllowThreads(__tstate);
7487 if (PyErr_Occurred()) SWIG_fail;
7488 }
7489 {
7490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7491 }
7492 return resultobj;
7493 fail:
7494 return NULL;
7495 }
7496
7497
7498 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7499 PyObject *resultobj;
7500 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7501 bool result;
7502 PyObject * obj0 = 0 ;
7503 char *kwnames[] = {
7504 (char *) "self", NULL
7505 };
7506
7507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
7508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7510 {
7511 PyThreadState* __tstate = wxPyBeginAllowThreads();
7512 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7513
7514 wxPyEndAllowThreads(__tstate);
7515 if (PyErr_Occurred()) SWIG_fail;
7516 }
7517 {
7518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7519 }
7520 return resultobj;
7521 fail:
7522 return NULL;
7523 }
7524
7525
7526 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7527 PyObject *resultobj;
7528 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7529 bool result;
7530 PyObject * obj0 = 0 ;
7531 char *kwnames[] = {
7532 (char *) "self", NULL
7533 };
7534
7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
7536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7538 {
7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
7540 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7541
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 {
7546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7547 }
7548 return resultobj;
7549 fail:
7550 return NULL;
7551 }
7552
7553
7554 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7555 PyObject *resultobj;
7556 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7557 bool result;
7558 PyObject * obj0 = 0 ;
7559 char *kwnames[] = {
7560 (char *) "self", NULL
7561 };
7562
7563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
7564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7566 {
7567 PyThreadState* __tstate = wxPyBeginAllowThreads();
7568 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7569
7570 wxPyEndAllowThreads(__tstate);
7571 if (PyErr_Occurred()) SWIG_fail;
7572 }
7573 {
7574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7575 }
7576 return resultobj;
7577 fail:
7578 return NULL;
7579 }
7580
7581
7582 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
7583 PyObject *resultobj;
7584 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7585 long arg2 ;
7586 bool result;
7587 PyObject * obj0 = 0 ;
7588 PyObject * obj1 = 0 ;
7589 char *kwnames[] = {
7590 (char *) "self",(char *) "flag", NULL
7591 };
7592
7593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7596 arg2 = (long) SWIG_AsLong(obj1);
7597 if (PyErr_Occurred()) SWIG_fail;
7598 {
7599 PyThreadState* __tstate = wxPyBeginAllowThreads();
7600 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7601
7602 wxPyEndAllowThreads(__tstate);
7603 if (PyErr_Occurred()) SWIG_fail;
7604 }
7605 {
7606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7607 }
7608 return resultobj;
7609 fail:
7610 return NULL;
7611 }
7612
7613
7614 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7615 PyObject *resultobj;
7616 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7617 wxColour *result;
7618 PyObject * obj0 = 0 ;
7619 char *kwnames[] = {
7620 (char *) "self", NULL
7621 };
7622
7623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7626 {
7627 PyThreadState* __tstate = wxPyBeginAllowThreads();
7628 {
7629 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7630 result = (wxColour *) &_result_ref;
7631 }
7632
7633 wxPyEndAllowThreads(__tstate);
7634 if (PyErr_Occurred()) SWIG_fail;
7635 }
7636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7637 return resultobj;
7638 fail:
7639 return NULL;
7640 }
7641
7642
7643 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7644 PyObject *resultobj;
7645 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7646 wxColour *result;
7647 PyObject * obj0 = 0 ;
7648 char *kwnames[] = {
7649 (char *) "self", NULL
7650 };
7651
7652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7655 {
7656 PyThreadState* __tstate = wxPyBeginAllowThreads();
7657 {
7658 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7659 result = (wxColour *) &_result_ref;
7660 }
7661
7662 wxPyEndAllowThreads(__tstate);
7663 if (PyErr_Occurred()) SWIG_fail;
7664 }
7665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7666 return resultobj;
7667 fail:
7668 return NULL;
7669 }
7670
7671
7672 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7673 PyObject *resultobj;
7674 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7675 wxFont *result;
7676 PyObject * obj0 = 0 ;
7677 char *kwnames[] = {
7678 (char *) "self", NULL
7679 };
7680
7681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7684 {
7685 PyThreadState* __tstate = wxPyBeginAllowThreads();
7686 {
7687 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7688 result = (wxFont *) &_result_ref;
7689 }
7690
7691 wxPyEndAllowThreads(__tstate);
7692 if (PyErr_Occurred()) SWIG_fail;
7693 }
7694 {
7695 wxFont* resultptr = new wxFont(*result);
7696 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7697 }
7698 return resultobj;
7699 fail:
7700 return NULL;
7701 }
7702
7703
7704 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7705 PyObject *resultobj;
7706 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7707 int result;
7708 PyObject * obj0 = 0 ;
7709 char *kwnames[] = {
7710 (char *) "self", NULL
7711 };
7712
7713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7716 {
7717 PyThreadState* __tstate = wxPyBeginAllowThreads();
7718 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7719
7720 wxPyEndAllowThreads(__tstate);
7721 if (PyErr_Occurred()) SWIG_fail;
7722 }
7723 resultobj = SWIG_FromInt((int)result);
7724 return resultobj;
7725 fail:
7726 return NULL;
7727 }
7728
7729
7730 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7731 PyObject *resultobj;
7732 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7733 wxArrayInt *result;
7734 PyObject * obj0 = 0 ;
7735 char *kwnames[] = {
7736 (char *) "self", NULL
7737 };
7738
7739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7742 {
7743 PyThreadState* __tstate = wxPyBeginAllowThreads();
7744 {
7745 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7746 result = (wxArrayInt *) &_result_ref;
7747 }
7748
7749 wxPyEndAllowThreads(__tstate);
7750 if (PyErr_Occurred()) SWIG_fail;
7751 }
7752 {
7753 resultobj = PyList_New(0);
7754 size_t idx;
7755 for (idx = 0; idx < result->GetCount(); idx += 1) {
7756 PyObject* val = PyInt_FromLong( result->Item(idx) );
7757 PyList_Append(resultobj, val);
7758 Py_DECREF(val);
7759 }
7760 }
7761 return resultobj;
7762 fail:
7763 return NULL;
7764 }
7765
7766
7767 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7768 PyObject *resultobj;
7769 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7770 long result;
7771 PyObject * obj0 = 0 ;
7772 char *kwnames[] = {
7773 (char *) "self", NULL
7774 };
7775
7776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7779 {
7780 PyThreadState* __tstate = wxPyBeginAllowThreads();
7781 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7782
7783 wxPyEndAllowThreads(__tstate);
7784 if (PyErr_Occurred()) SWIG_fail;
7785 }
7786 resultobj = SWIG_FromLong((long)result);
7787 return resultobj;
7788 fail:
7789 return NULL;
7790 }
7791
7792
7793 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7794 PyObject *resultobj;
7795 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7796 long result;
7797 PyObject * obj0 = 0 ;
7798 char *kwnames[] = {
7799 (char *) "self", NULL
7800 };
7801
7802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
7803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7805 {
7806 PyThreadState* __tstate = wxPyBeginAllowThreads();
7807 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
7808
7809 wxPyEndAllowThreads(__tstate);
7810 if (PyErr_Occurred()) SWIG_fail;
7811 }
7812 resultobj = SWIG_FromLong((long)result);
7813 return resultobj;
7814 fail:
7815 return NULL;
7816 }
7817
7818
7819 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7820 PyObject *resultobj;
7821 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7822 long result;
7823 PyObject * obj0 = 0 ;
7824 char *kwnames[] = {
7825 (char *) "self", NULL
7826 };
7827
7828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7831 {
7832 PyThreadState* __tstate = wxPyBeginAllowThreads();
7833 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7834
7835 wxPyEndAllowThreads(__tstate);
7836 if (PyErr_Occurred()) SWIG_fail;
7837 }
7838 resultobj = SWIG_FromLong((long)result);
7839 return resultobj;
7840 fail:
7841 return NULL;
7842 }
7843
7844
7845 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7846 PyObject *resultobj;
7847 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7848 long result;
7849 PyObject * obj0 = 0 ;
7850 char *kwnames[] = {
7851 (char *) "self", NULL
7852 };
7853
7854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7857 {
7858 PyThreadState* __tstate = wxPyBeginAllowThreads();
7859 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7860
7861 wxPyEndAllowThreads(__tstate);
7862 if (PyErr_Occurred()) SWIG_fail;
7863 }
7864 resultobj = SWIG_FromLong((long)result);
7865 return resultobj;
7866 fail:
7867 return NULL;
7868 }
7869
7870
7871 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7872 PyObject *resultobj;
7873 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7874 bool result;
7875 PyObject * obj0 = 0 ;
7876 char *kwnames[] = {
7877 (char *) "self", NULL
7878 };
7879
7880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7883 {
7884 PyThreadState* __tstate = wxPyBeginAllowThreads();
7885 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7886
7887 wxPyEndAllowThreads(__tstate);
7888 if (PyErr_Occurred()) SWIG_fail;
7889 }
7890 {
7891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7892 }
7893 return resultobj;
7894 fail:
7895 return NULL;
7896 }
7897
7898
7899 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7900 PyObject *resultobj;
7901 wxTextAttr *arg1 = 0 ;
7902 wxTextAttr *arg2 = 0 ;
7903 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7904 wxTextAttr result;
7905 PyObject * obj0 = 0 ;
7906 PyObject * obj1 = 0 ;
7907 PyObject * obj2 = 0 ;
7908 char *kwnames[] = {
7909 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7910 };
7911
7912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7914 SWIG_POINTER_EXCEPTION | 0)) == -1)
7915 SWIG_fail;
7916 if (arg1 == NULL) {
7917 PyErr_SetString(PyExc_TypeError,"null reference");
7918 SWIG_fail;
7919 }
7920 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7921 SWIG_POINTER_EXCEPTION | 0)) == -1)
7922 SWIG_fail;
7923 if (arg2 == NULL) {
7924 PyErr_SetString(PyExc_TypeError,"null reference");
7925 SWIG_fail;
7926 }
7927 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7929 {
7930 PyThreadState* __tstate = wxPyBeginAllowThreads();
7931 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7932
7933 wxPyEndAllowThreads(__tstate);
7934 if (PyErr_Occurred()) SWIG_fail;
7935 }
7936 {
7937 wxTextAttr * resultptr;
7938 resultptr = new wxTextAttr((wxTextAttr &) result);
7939 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
7940 }
7941 return resultobj;
7942 fail:
7943 return NULL;
7944 }
7945
7946
7947 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7948 PyObject *obj;
7949 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7950 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7951 Py_INCREF(obj);
7952 return Py_BuildValue((char *)"");
7953 }
7954 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7955 PyObject *resultobj;
7956 wxWindow *arg1 = (wxWindow *) 0 ;
7957 int arg2 = (int) -1 ;
7958 wxString const &arg3_defvalue = wxPyEmptyString ;
7959 wxString *arg3 = (wxString *) &arg3_defvalue ;
7960 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7961 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7962 wxSize const &arg5_defvalue = wxDefaultSize ;
7963 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7964 long arg6 = (long) 0 ;
7965 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7966 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7967 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7968 wxString *arg8 = (wxString *) &arg8_defvalue ;
7969 wxTextCtrl *result;
7970 bool temp3 = False ;
7971 wxPoint temp4 ;
7972 wxSize temp5 ;
7973 bool temp8 = False ;
7974 PyObject * obj0 = 0 ;
7975 PyObject * obj1 = 0 ;
7976 PyObject * obj2 = 0 ;
7977 PyObject * obj3 = 0 ;
7978 PyObject * obj4 = 0 ;
7979 PyObject * obj5 = 0 ;
7980 PyObject * obj6 = 0 ;
7981 PyObject * obj7 = 0 ;
7982 char *kwnames[] = {
7983 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7984 };
7985
7986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7989 if (obj1) {
7990 arg2 = (int) SWIG_AsInt(obj1);
7991 if (PyErr_Occurred()) SWIG_fail;
7992 }
7993 if (obj2) {
7994 {
7995 arg3 = wxString_in_helper(obj2);
7996 if (arg3 == NULL) SWIG_fail;
7997 temp3 = True;
7998 }
7999 }
8000 if (obj3) {
8001 {
8002 arg4 = &temp4;
8003 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8004 }
8005 }
8006 if (obj4) {
8007 {
8008 arg5 = &temp5;
8009 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8010 }
8011 }
8012 if (obj5) {
8013 arg6 = (long) SWIG_AsLong(obj5);
8014 if (PyErr_Occurred()) SWIG_fail;
8015 }
8016 if (obj6) {
8017 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
8018 SWIG_POINTER_EXCEPTION | 0)) == -1)
8019 SWIG_fail;
8020 if (arg7 == NULL) {
8021 PyErr_SetString(PyExc_TypeError,"null reference");
8022 SWIG_fail;
8023 }
8024 }
8025 if (obj7) {
8026 {
8027 arg8 = wxString_in_helper(obj7);
8028 if (arg8 == NULL) SWIG_fail;
8029 temp8 = True;
8030 }
8031 }
8032 {
8033 if (!wxPyCheckForApp()) SWIG_fail;
8034 PyThreadState* __tstate = wxPyBeginAllowThreads();
8035 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8036
8037 wxPyEndAllowThreads(__tstate);
8038 if (PyErr_Occurred()) SWIG_fail;
8039 }
8040 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
8041 {
8042 if (temp3)
8043 delete arg3;
8044 }
8045 {
8046 if (temp8)
8047 delete arg8;
8048 }
8049 return resultobj;
8050 fail:
8051 {
8052 if (temp3)
8053 delete arg3;
8054 }
8055 {
8056 if (temp8)
8057 delete arg8;
8058 }
8059 return NULL;
8060 }
8061
8062
8063 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8064 PyObject *resultobj;
8065 wxTextCtrl *result;
8066 char *kwnames[] = {
8067 NULL
8068 };
8069
8070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
8071 {
8072 if (!wxPyCheckForApp()) SWIG_fail;
8073 PyThreadState* __tstate = wxPyBeginAllowThreads();
8074 result = (wxTextCtrl *)new wxTextCtrl();
8075
8076 wxPyEndAllowThreads(__tstate);
8077 if (PyErr_Occurred()) SWIG_fail;
8078 }
8079 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
8080 return resultobj;
8081 fail:
8082 return NULL;
8083 }
8084
8085
8086 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8087 PyObject *resultobj;
8088 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8089 wxWindow *arg2 = (wxWindow *) 0 ;
8090 int arg3 = (int) -1 ;
8091 wxString const &arg4_defvalue = wxPyEmptyString ;
8092 wxString *arg4 = (wxString *) &arg4_defvalue ;
8093 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8094 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8095 wxSize const &arg6_defvalue = wxDefaultSize ;
8096 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8097 long arg7 = (long) 0 ;
8098 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8099 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8100 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
8101 wxString *arg9 = (wxString *) &arg9_defvalue ;
8102 bool result;
8103 bool temp4 = False ;
8104 wxPoint temp5 ;
8105 wxSize temp6 ;
8106 bool temp9 = False ;
8107 PyObject * obj0 = 0 ;
8108 PyObject * obj1 = 0 ;
8109 PyObject * obj2 = 0 ;
8110 PyObject * obj3 = 0 ;
8111 PyObject * obj4 = 0 ;
8112 PyObject * obj5 = 0 ;
8113 PyObject * obj6 = 0 ;
8114 PyObject * obj7 = 0 ;
8115 PyObject * obj8 = 0 ;
8116 char *kwnames[] = {
8117 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8118 };
8119
8120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8123 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8125 if (obj2) {
8126 arg3 = (int) SWIG_AsInt(obj2);
8127 if (PyErr_Occurred()) SWIG_fail;
8128 }
8129 if (obj3) {
8130 {
8131 arg4 = wxString_in_helper(obj3);
8132 if (arg4 == NULL) SWIG_fail;
8133 temp4 = True;
8134 }
8135 }
8136 if (obj4) {
8137 {
8138 arg5 = &temp5;
8139 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8140 }
8141 }
8142 if (obj5) {
8143 {
8144 arg6 = &temp6;
8145 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8146 }
8147 }
8148 if (obj6) {
8149 arg7 = (long) SWIG_AsLong(obj6);
8150 if (PyErr_Occurred()) SWIG_fail;
8151 }
8152 if (obj7) {
8153 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
8154 SWIG_POINTER_EXCEPTION | 0)) == -1)
8155 SWIG_fail;
8156 if (arg8 == NULL) {
8157 PyErr_SetString(PyExc_TypeError,"null reference");
8158 SWIG_fail;
8159 }
8160 }
8161 if (obj8) {
8162 {
8163 arg9 = wxString_in_helper(obj8);
8164 if (arg9 == NULL) SWIG_fail;
8165 temp9 = True;
8166 }
8167 }
8168 {
8169 PyThreadState* __tstate = wxPyBeginAllowThreads();
8170 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8171
8172 wxPyEndAllowThreads(__tstate);
8173 if (PyErr_Occurred()) SWIG_fail;
8174 }
8175 {
8176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8177 }
8178 {
8179 if (temp4)
8180 delete arg4;
8181 }
8182 {
8183 if (temp9)
8184 delete arg9;
8185 }
8186 return resultobj;
8187 fail:
8188 {
8189 if (temp4)
8190 delete arg4;
8191 }
8192 {
8193 if (temp9)
8194 delete arg9;
8195 }
8196 return NULL;
8197 }
8198
8199
8200 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8201 PyObject *resultobj;
8202 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8203 wxString result;
8204 PyObject * obj0 = 0 ;
8205 char *kwnames[] = {
8206 (char *) "self", NULL
8207 };
8208
8209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
8210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8212 {
8213 PyThreadState* __tstate = wxPyBeginAllowThreads();
8214 result = ((wxTextCtrl const *)arg1)->GetValue();
8215
8216 wxPyEndAllowThreads(__tstate);
8217 if (PyErr_Occurred()) SWIG_fail;
8218 }
8219 {
8220 #if wxUSE_UNICODE
8221 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8222 #else
8223 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8224 #endif
8225 }
8226 return resultobj;
8227 fail:
8228 return NULL;
8229 }
8230
8231
8232 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8233 PyObject *resultobj;
8234 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8235 wxString *arg2 = 0 ;
8236 bool temp2 = False ;
8237 PyObject * obj0 = 0 ;
8238 PyObject * obj1 = 0 ;
8239 char *kwnames[] = {
8240 (char *) "self",(char *) "value", NULL
8241 };
8242
8243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
8244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8246 {
8247 arg2 = wxString_in_helper(obj1);
8248 if (arg2 == NULL) SWIG_fail;
8249 temp2 = True;
8250 }
8251 {
8252 PyThreadState* __tstate = wxPyBeginAllowThreads();
8253 (arg1)->SetValue((wxString const &)*arg2);
8254
8255 wxPyEndAllowThreads(__tstate);
8256 if (PyErr_Occurred()) SWIG_fail;
8257 }
8258 Py_INCREF(Py_None); resultobj = Py_None;
8259 {
8260 if (temp2)
8261 delete arg2;
8262 }
8263 return resultobj;
8264 fail:
8265 {
8266 if (temp2)
8267 delete arg2;
8268 }
8269 return NULL;
8270 }
8271
8272
8273 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8274 PyObject *resultobj;
8275 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8276 long arg2 ;
8277 long arg3 ;
8278 wxString result;
8279 PyObject * obj0 = 0 ;
8280 PyObject * obj1 = 0 ;
8281 PyObject * obj2 = 0 ;
8282 char *kwnames[] = {
8283 (char *) "self",(char *) "from",(char *) "to", NULL
8284 };
8285
8286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8289 arg2 = (long) SWIG_AsLong(obj1);
8290 if (PyErr_Occurred()) SWIG_fail;
8291 arg3 = (long) SWIG_AsLong(obj2);
8292 if (PyErr_Occurred()) SWIG_fail;
8293 {
8294 PyThreadState* __tstate = wxPyBeginAllowThreads();
8295 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
8296
8297 wxPyEndAllowThreads(__tstate);
8298 if (PyErr_Occurred()) SWIG_fail;
8299 }
8300 {
8301 #if wxUSE_UNICODE
8302 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8303 #else
8304 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8305 #endif
8306 }
8307 return resultobj;
8308 fail:
8309 return NULL;
8310 }
8311
8312
8313 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8314 PyObject *resultobj;
8315 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8316 long arg2 ;
8317 int result;
8318 PyObject * obj0 = 0 ;
8319 PyObject * obj1 = 0 ;
8320 char *kwnames[] = {
8321 (char *) "self",(char *) "lineNo", NULL
8322 };
8323
8324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
8325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8327 arg2 = (long) SWIG_AsLong(obj1);
8328 if (PyErr_Occurred()) SWIG_fail;
8329 {
8330 PyThreadState* __tstate = wxPyBeginAllowThreads();
8331 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
8332
8333 wxPyEndAllowThreads(__tstate);
8334 if (PyErr_Occurred()) SWIG_fail;
8335 }
8336 resultobj = SWIG_FromInt((int)result);
8337 return resultobj;
8338 fail:
8339 return NULL;
8340 }
8341
8342
8343 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
8344 PyObject *resultobj;
8345 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8346 long arg2 ;
8347 wxString result;
8348 PyObject * obj0 = 0 ;
8349 PyObject * obj1 = 0 ;
8350 char *kwnames[] = {
8351 (char *) "self",(char *) "lineNo", NULL
8352 };
8353
8354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
8355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8357 arg2 = (long) SWIG_AsLong(obj1);
8358 if (PyErr_Occurred()) SWIG_fail;
8359 {
8360 PyThreadState* __tstate = wxPyBeginAllowThreads();
8361 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
8362
8363 wxPyEndAllowThreads(__tstate);
8364 if (PyErr_Occurred()) SWIG_fail;
8365 }
8366 {
8367 #if wxUSE_UNICODE
8368 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8369 #else
8370 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8371 #endif
8372 }
8373 return resultobj;
8374 fail:
8375 return NULL;
8376 }
8377
8378
8379 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8380 PyObject *resultobj;
8381 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8382 int result;
8383 PyObject * obj0 = 0 ;
8384 char *kwnames[] = {
8385 (char *) "self", NULL
8386 };
8387
8388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
8389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8391 {
8392 PyThreadState* __tstate = wxPyBeginAllowThreads();
8393 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
8394
8395 wxPyEndAllowThreads(__tstate);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
8398 resultobj = SWIG_FromInt((int)result);
8399 return resultobj;
8400 fail:
8401 return NULL;
8402 }
8403
8404
8405 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
8406 PyObject *resultobj;
8407 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8408 bool result;
8409 PyObject * obj0 = 0 ;
8410 char *kwnames[] = {
8411 (char *) "self", NULL
8412 };
8413
8414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
8415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8417 {
8418 PyThreadState* __tstate = wxPyBeginAllowThreads();
8419 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
8420
8421 wxPyEndAllowThreads(__tstate);
8422 if (PyErr_Occurred()) SWIG_fail;
8423 }
8424 {
8425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8426 }
8427 return resultobj;
8428 fail:
8429 return NULL;
8430 }
8431
8432
8433 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8434 PyObject *resultobj;
8435 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8436 bool result;
8437 PyObject * obj0 = 0 ;
8438 char *kwnames[] = {
8439 (char *) "self", NULL
8440 };
8441
8442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
8443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8445 {
8446 PyThreadState* __tstate = wxPyBeginAllowThreads();
8447 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
8448
8449 wxPyEndAllowThreads(__tstate);
8450 if (PyErr_Occurred()) SWIG_fail;
8451 }
8452 {
8453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8454 }
8455 return resultobj;
8456 fail:
8457 return NULL;
8458 }
8459
8460
8461 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8462 PyObject *resultobj;
8463 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8464 bool result;
8465 PyObject * obj0 = 0 ;
8466 char *kwnames[] = {
8467 (char *) "self", NULL
8468 };
8469
8470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
8471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8473 {
8474 PyThreadState* __tstate = wxPyBeginAllowThreads();
8475 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
8476
8477 wxPyEndAllowThreads(__tstate);
8478 if (PyErr_Occurred()) SWIG_fail;
8479 }
8480 {
8481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8482 }
8483 return resultobj;
8484 fail:
8485 return NULL;
8486 }
8487
8488
8489 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8490 PyObject *resultobj;
8491 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8492 bool result;
8493 PyObject * obj0 = 0 ;
8494 char *kwnames[] = {
8495 (char *) "self", NULL
8496 };
8497
8498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
8499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8501 {
8502 PyThreadState* __tstate = wxPyBeginAllowThreads();
8503 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
8504
8505 wxPyEndAllowThreads(__tstate);
8506 if (PyErr_Occurred()) SWIG_fail;
8507 }
8508 {
8509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8510 }
8511 return resultobj;
8512 fail:
8513 return NULL;
8514 }
8515
8516
8517 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8518 PyObject *resultobj;
8519 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8520 long *arg2 = (long *) 0 ;
8521 long *arg3 = (long *) 0 ;
8522 long temp2 ;
8523 long temp3 ;
8524 PyObject * obj0 = 0 ;
8525 char *kwnames[] = {
8526 (char *) "self", NULL
8527 };
8528
8529 arg2 = &temp2;
8530 arg3 = &temp3;
8531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
8532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8534 {
8535 PyThreadState* __tstate = wxPyBeginAllowThreads();
8536 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8537
8538 wxPyEndAllowThreads(__tstate);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
8541 Py_INCREF(Py_None); resultobj = Py_None;
8542 {
8543 PyObject *o = PyInt_FromLong((long) (*arg2));
8544 resultobj = t_output_helper(resultobj,o);
8545 }
8546 {
8547 PyObject *o = PyInt_FromLong((long) (*arg3));
8548 resultobj = t_output_helper(resultobj,o);
8549 }
8550 return resultobj;
8551 fail:
8552 return NULL;
8553 }
8554
8555
8556 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8557 PyObject *resultobj;
8558 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8559 wxString result;
8560 PyObject * obj0 = 0 ;
8561 char *kwnames[] = {
8562 (char *) "self", NULL
8563 };
8564
8565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
8566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8568 {
8569 PyThreadState* __tstate = wxPyBeginAllowThreads();
8570 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8571
8572 wxPyEndAllowThreads(__tstate);
8573 if (PyErr_Occurred()) SWIG_fail;
8574 }
8575 {
8576 #if wxUSE_UNICODE
8577 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8578 #else
8579 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8580 #endif
8581 }
8582 return resultobj;
8583 fail:
8584 return NULL;
8585 }
8586
8587
8588 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8589 PyObject *resultobj;
8590 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8591 PyObject * obj0 = 0 ;
8592 char *kwnames[] = {
8593 (char *) "self", NULL
8594 };
8595
8596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
8597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8599 {
8600 PyThreadState* __tstate = wxPyBeginAllowThreads();
8601 (arg1)->Clear();
8602
8603 wxPyEndAllowThreads(__tstate);
8604 if (PyErr_Occurred()) SWIG_fail;
8605 }
8606 Py_INCREF(Py_None); resultobj = Py_None;
8607 return resultobj;
8608 fail:
8609 return NULL;
8610 }
8611
8612
8613 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8614 PyObject *resultobj;
8615 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8616 long arg2 ;
8617 long arg3 ;
8618 wxString *arg4 = 0 ;
8619 bool temp4 = False ;
8620 PyObject * obj0 = 0 ;
8621 PyObject * obj1 = 0 ;
8622 PyObject * obj2 = 0 ;
8623 PyObject * obj3 = 0 ;
8624 char *kwnames[] = {
8625 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8626 };
8627
8628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8631 arg2 = (long) SWIG_AsLong(obj1);
8632 if (PyErr_Occurred()) SWIG_fail;
8633 arg3 = (long) SWIG_AsLong(obj2);
8634 if (PyErr_Occurred()) SWIG_fail;
8635 {
8636 arg4 = wxString_in_helper(obj3);
8637 if (arg4 == NULL) SWIG_fail;
8638 temp4 = True;
8639 }
8640 {
8641 PyThreadState* __tstate = wxPyBeginAllowThreads();
8642 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8643
8644 wxPyEndAllowThreads(__tstate);
8645 if (PyErr_Occurred()) SWIG_fail;
8646 }
8647 Py_INCREF(Py_None); resultobj = Py_None;
8648 {
8649 if (temp4)
8650 delete arg4;
8651 }
8652 return resultobj;
8653 fail:
8654 {
8655 if (temp4)
8656 delete arg4;
8657 }
8658 return NULL;
8659 }
8660
8661
8662 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8663 PyObject *resultobj;
8664 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8665 long arg2 ;
8666 long arg3 ;
8667 PyObject * obj0 = 0 ;
8668 PyObject * obj1 = 0 ;
8669 PyObject * obj2 = 0 ;
8670 char *kwnames[] = {
8671 (char *) "self",(char *) "from",(char *) "to", NULL
8672 };
8673
8674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8677 arg2 = (long) SWIG_AsLong(obj1);
8678 if (PyErr_Occurred()) SWIG_fail;
8679 arg3 = (long) SWIG_AsLong(obj2);
8680 if (PyErr_Occurred()) SWIG_fail;
8681 {
8682 PyThreadState* __tstate = wxPyBeginAllowThreads();
8683 (arg1)->Remove(arg2,arg3);
8684
8685 wxPyEndAllowThreads(__tstate);
8686 if (PyErr_Occurred()) SWIG_fail;
8687 }
8688 Py_INCREF(Py_None); resultobj = Py_None;
8689 return resultobj;
8690 fail:
8691 return NULL;
8692 }
8693
8694
8695 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8696 PyObject *resultobj;
8697 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8698 wxString *arg2 = 0 ;
8699 bool result;
8700 bool temp2 = False ;
8701 PyObject * obj0 = 0 ;
8702 PyObject * obj1 = 0 ;
8703 char *kwnames[] = {
8704 (char *) "self",(char *) "file", NULL
8705 };
8706
8707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8710 {
8711 arg2 = wxString_in_helper(obj1);
8712 if (arg2 == NULL) SWIG_fail;
8713 temp2 = True;
8714 }
8715 {
8716 PyThreadState* __tstate = wxPyBeginAllowThreads();
8717 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8718
8719 wxPyEndAllowThreads(__tstate);
8720 if (PyErr_Occurred()) SWIG_fail;
8721 }
8722 {
8723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8724 }
8725 {
8726 if (temp2)
8727 delete arg2;
8728 }
8729 return resultobj;
8730 fail:
8731 {
8732 if (temp2)
8733 delete arg2;
8734 }
8735 return NULL;
8736 }
8737
8738
8739 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8740 PyObject *resultobj;
8741 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8742 wxString const &arg2_defvalue = wxPyEmptyString ;
8743 wxString *arg2 = (wxString *) &arg2_defvalue ;
8744 bool result;
8745 bool temp2 = False ;
8746 PyObject * obj0 = 0 ;
8747 PyObject * obj1 = 0 ;
8748 char *kwnames[] = {
8749 (char *) "self",(char *) "file", NULL
8750 };
8751
8752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8755 if (obj1) {
8756 {
8757 arg2 = wxString_in_helper(obj1);
8758 if (arg2 == NULL) SWIG_fail;
8759 temp2 = True;
8760 }
8761 }
8762 {
8763 PyThreadState* __tstate = wxPyBeginAllowThreads();
8764 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8765
8766 wxPyEndAllowThreads(__tstate);
8767 if (PyErr_Occurred()) SWIG_fail;
8768 }
8769 {
8770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8771 }
8772 {
8773 if (temp2)
8774 delete arg2;
8775 }
8776 return resultobj;
8777 fail:
8778 {
8779 if (temp2)
8780 delete arg2;
8781 }
8782 return NULL;
8783 }
8784
8785
8786 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8787 PyObject *resultobj;
8788 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8789 PyObject * obj0 = 0 ;
8790 char *kwnames[] = {
8791 (char *) "self", NULL
8792 };
8793
8794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8797 {
8798 PyThreadState* __tstate = wxPyBeginAllowThreads();
8799 (arg1)->MarkDirty();
8800
8801 wxPyEndAllowThreads(__tstate);
8802 if (PyErr_Occurred()) SWIG_fail;
8803 }
8804 Py_INCREF(Py_None); resultobj = Py_None;
8805 return resultobj;
8806 fail:
8807 return NULL;
8808 }
8809
8810
8811 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8812 PyObject *resultobj;
8813 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8814 PyObject * obj0 = 0 ;
8815 char *kwnames[] = {
8816 (char *) "self", NULL
8817 };
8818
8819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8822 {
8823 PyThreadState* __tstate = wxPyBeginAllowThreads();
8824 (arg1)->DiscardEdits();
8825
8826 wxPyEndAllowThreads(__tstate);
8827 if (PyErr_Occurred()) SWIG_fail;
8828 }
8829 Py_INCREF(Py_None); resultobj = Py_None;
8830 return resultobj;
8831 fail:
8832 return NULL;
8833 }
8834
8835
8836 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8837 PyObject *resultobj;
8838 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8839 unsigned long arg2 ;
8840 PyObject * obj0 = 0 ;
8841 PyObject * obj1 = 0 ;
8842 char *kwnames[] = {
8843 (char *) "self",(char *) "len", NULL
8844 };
8845
8846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8849 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8850 if (PyErr_Occurred()) SWIG_fail;
8851 {
8852 PyThreadState* __tstate = wxPyBeginAllowThreads();
8853 (arg1)->SetMaxLength(arg2);
8854
8855 wxPyEndAllowThreads(__tstate);
8856 if (PyErr_Occurred()) SWIG_fail;
8857 }
8858 Py_INCREF(Py_None); resultobj = Py_None;
8859 return resultobj;
8860 fail:
8861 return NULL;
8862 }
8863
8864
8865 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8866 PyObject *resultobj;
8867 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8868 wxString *arg2 = 0 ;
8869 bool temp2 = False ;
8870 PyObject * obj0 = 0 ;
8871 PyObject * obj1 = 0 ;
8872 char *kwnames[] = {
8873 (char *) "self",(char *) "text", NULL
8874 };
8875
8876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8879 {
8880 arg2 = wxString_in_helper(obj1);
8881 if (arg2 == NULL) SWIG_fail;
8882 temp2 = True;
8883 }
8884 {
8885 PyThreadState* __tstate = wxPyBeginAllowThreads();
8886 (arg1)->WriteText((wxString const &)*arg2);
8887
8888 wxPyEndAllowThreads(__tstate);
8889 if (PyErr_Occurred()) SWIG_fail;
8890 }
8891 Py_INCREF(Py_None); resultobj = Py_None;
8892 {
8893 if (temp2)
8894 delete arg2;
8895 }
8896 return resultobj;
8897 fail:
8898 {
8899 if (temp2)
8900 delete arg2;
8901 }
8902 return NULL;
8903 }
8904
8905
8906 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8907 PyObject *resultobj;
8908 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8909 wxString *arg2 = 0 ;
8910 bool temp2 = False ;
8911 PyObject * obj0 = 0 ;
8912 PyObject * obj1 = 0 ;
8913 char *kwnames[] = {
8914 (char *) "self",(char *) "text", NULL
8915 };
8916
8917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8920 {
8921 arg2 = wxString_in_helper(obj1);
8922 if (arg2 == NULL) SWIG_fail;
8923 temp2 = True;
8924 }
8925 {
8926 PyThreadState* __tstate = wxPyBeginAllowThreads();
8927 (arg1)->AppendText((wxString const &)*arg2);
8928
8929 wxPyEndAllowThreads(__tstate);
8930 if (PyErr_Occurred()) SWIG_fail;
8931 }
8932 Py_INCREF(Py_None); resultobj = Py_None;
8933 {
8934 if (temp2)
8935 delete arg2;
8936 }
8937 return resultobj;
8938 fail:
8939 {
8940 if (temp2)
8941 delete arg2;
8942 }
8943 return NULL;
8944 }
8945
8946
8947 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8948 PyObject *resultobj;
8949 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8950 wxKeyEvent *arg2 = 0 ;
8951 bool result;
8952 PyObject * obj0 = 0 ;
8953 PyObject * obj1 = 0 ;
8954 char *kwnames[] = {
8955 (char *) "self",(char *) "event", NULL
8956 };
8957
8958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8961 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8962 SWIG_POINTER_EXCEPTION | 0)) == -1)
8963 SWIG_fail;
8964 if (arg2 == NULL) {
8965 PyErr_SetString(PyExc_TypeError,"null reference");
8966 SWIG_fail;
8967 }
8968 {
8969 PyThreadState* __tstate = wxPyBeginAllowThreads();
8970 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8971
8972 wxPyEndAllowThreads(__tstate);
8973 if (PyErr_Occurred()) SWIG_fail;
8974 }
8975 {
8976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8977 }
8978 return resultobj;
8979 fail:
8980 return NULL;
8981 }
8982
8983
8984 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8985 PyObject *resultobj;
8986 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8987 long arg2 ;
8988 long arg3 ;
8989 wxTextAttr *arg4 = 0 ;
8990 bool result;
8991 PyObject * obj0 = 0 ;
8992 PyObject * obj1 = 0 ;
8993 PyObject * obj2 = 0 ;
8994 PyObject * obj3 = 0 ;
8995 char *kwnames[] = {
8996 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8997 };
8998
8999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9002 arg2 = (long) SWIG_AsLong(obj1);
9003 if (PyErr_Occurred()) SWIG_fail;
9004 arg3 = (long) SWIG_AsLong(obj2);
9005 if (PyErr_Occurred()) SWIG_fail;
9006 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
9007 SWIG_POINTER_EXCEPTION | 0)) == -1)
9008 SWIG_fail;
9009 if (arg4 == NULL) {
9010 PyErr_SetString(PyExc_TypeError,"null reference");
9011 SWIG_fail;
9012 }
9013 {
9014 PyThreadState* __tstate = wxPyBeginAllowThreads();
9015 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
9016
9017 wxPyEndAllowThreads(__tstate);
9018 if (PyErr_Occurred()) SWIG_fail;
9019 }
9020 {
9021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9022 }
9023 return resultobj;
9024 fail:
9025 return NULL;
9026 }
9027
9028
9029 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9030 PyObject *resultobj;
9031 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9032 long arg2 ;
9033 wxTextAttr *arg3 = 0 ;
9034 bool result;
9035 PyObject * obj0 = 0 ;
9036 PyObject * obj1 = 0 ;
9037 PyObject * obj2 = 0 ;
9038 char *kwnames[] = {
9039 (char *) "self",(char *) "position",(char *) "style", NULL
9040 };
9041
9042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
9043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9045 arg2 = (long) SWIG_AsLong(obj1);
9046 if (PyErr_Occurred()) SWIG_fail;
9047 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
9048 SWIG_POINTER_EXCEPTION | 0)) == -1)
9049 SWIG_fail;
9050 if (arg3 == NULL) {
9051 PyErr_SetString(PyExc_TypeError,"null reference");
9052 SWIG_fail;
9053 }
9054 {
9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
9056 result = (bool)(arg1)->GetStyle(arg2,*arg3);
9057
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
9061 {
9062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9063 }
9064 return resultobj;
9065 fail:
9066 return NULL;
9067 }
9068
9069
9070 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9071 PyObject *resultobj;
9072 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9073 wxTextAttr *arg2 = 0 ;
9074 bool result;
9075 PyObject * obj0 = 0 ;
9076 PyObject * obj1 = 0 ;
9077 char *kwnames[] = {
9078 (char *) "self",(char *) "style", NULL
9079 };
9080
9081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
9082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9084 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
9085 SWIG_POINTER_EXCEPTION | 0)) == -1)
9086 SWIG_fail;
9087 if (arg2 == NULL) {
9088 PyErr_SetString(PyExc_TypeError,"null reference");
9089 SWIG_fail;
9090 }
9091 {
9092 PyThreadState* __tstate = wxPyBeginAllowThreads();
9093 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
9094
9095 wxPyEndAllowThreads(__tstate);
9096 if (PyErr_Occurred()) SWIG_fail;
9097 }
9098 {
9099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9100 }
9101 return resultobj;
9102 fail:
9103 return NULL;
9104 }
9105
9106
9107 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9108 PyObject *resultobj;
9109 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9110 wxTextAttr *result;
9111 PyObject * obj0 = 0 ;
9112 char *kwnames[] = {
9113 (char *) "self", NULL
9114 };
9115
9116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
9117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9119 {
9120 PyThreadState* __tstate = wxPyBeginAllowThreads();
9121 {
9122 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
9123 result = (wxTextAttr *) &_result_ref;
9124 }
9125
9126 wxPyEndAllowThreads(__tstate);
9127 if (PyErr_Occurred()) SWIG_fail;
9128 }
9129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
9130 return resultobj;
9131 fail:
9132 return NULL;
9133 }
9134
9135
9136 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9137 PyObject *resultobj;
9138 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9139 long arg2 ;
9140 long arg3 ;
9141 long result;
9142 PyObject * obj0 = 0 ;
9143 PyObject * obj1 = 0 ;
9144 PyObject * obj2 = 0 ;
9145 char *kwnames[] = {
9146 (char *) "self",(char *) "x",(char *) "y", NULL
9147 };
9148
9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9152 arg2 = (long) SWIG_AsLong(obj1);
9153 if (PyErr_Occurred()) SWIG_fail;
9154 arg3 = (long) SWIG_AsLong(obj2);
9155 if (PyErr_Occurred()) SWIG_fail;
9156 {
9157 PyThreadState* __tstate = wxPyBeginAllowThreads();
9158 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
9159
9160 wxPyEndAllowThreads(__tstate);
9161 if (PyErr_Occurred()) SWIG_fail;
9162 }
9163 resultobj = SWIG_FromLong((long)result);
9164 return resultobj;
9165 fail:
9166 return NULL;
9167 }
9168
9169
9170 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9171 PyObject *resultobj;
9172 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9173 long arg2 ;
9174 long *arg3 = (long *) 0 ;
9175 long *arg4 = (long *) 0 ;
9176 long temp3 ;
9177 long temp4 ;
9178 PyObject * obj0 = 0 ;
9179 PyObject * obj1 = 0 ;
9180 char *kwnames[] = {
9181 (char *) "self",(char *) "pos", NULL
9182 };
9183
9184 arg3 = &temp3;
9185 arg4 = &temp4;
9186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
9187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9189 arg2 = (long) SWIG_AsLong(obj1);
9190 if (PyErr_Occurred()) SWIG_fail;
9191 {
9192 PyThreadState* __tstate = wxPyBeginAllowThreads();
9193 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
9194
9195 wxPyEndAllowThreads(__tstate);
9196 if (PyErr_Occurred()) SWIG_fail;
9197 }
9198 Py_INCREF(Py_None); resultobj = Py_None;
9199 {
9200 PyObject *o = PyInt_FromLong((long) (*arg3));
9201 resultobj = t_output_helper(resultobj,o);
9202 }
9203 {
9204 PyObject *o = PyInt_FromLong((long) (*arg4));
9205 resultobj = t_output_helper(resultobj,o);
9206 }
9207 return resultobj;
9208 fail:
9209 return NULL;
9210 }
9211
9212
9213 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9214 PyObject *resultobj;
9215 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9216 long arg2 ;
9217 PyObject * obj0 = 0 ;
9218 PyObject * obj1 = 0 ;
9219 char *kwnames[] = {
9220 (char *) "self",(char *) "pos", NULL
9221 };
9222
9223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
9224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9226 arg2 = (long) SWIG_AsLong(obj1);
9227 if (PyErr_Occurred()) SWIG_fail;
9228 {
9229 PyThreadState* __tstate = wxPyBeginAllowThreads();
9230 (arg1)->ShowPosition(arg2);
9231
9232 wxPyEndAllowThreads(__tstate);
9233 if (PyErr_Occurred()) SWIG_fail;
9234 }
9235 Py_INCREF(Py_None); resultobj = Py_None;
9236 return resultobj;
9237 fail:
9238 return NULL;
9239 }
9240
9241
9242 static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9243 PyObject *resultobj;
9244 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9245 wxPoint *arg2 = 0 ;
9246 long *arg3 = (long *) 0 ;
9247 long *arg4 = (long *) 0 ;
9248 int result;
9249 wxPoint temp2 ;
9250 long temp3 ;
9251 long temp4 ;
9252 PyObject * obj0 = 0 ;
9253 PyObject * obj1 = 0 ;
9254 char *kwnames[] = {
9255 (char *) "self",(char *) "pt", NULL
9256 };
9257
9258 arg3 = &temp3;
9259 arg4 = &temp4;
9260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
9261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9263 {
9264 arg2 = &temp2;
9265 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9266 }
9267 {
9268 PyThreadState* __tstate = wxPyBeginAllowThreads();
9269 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
9270
9271 wxPyEndAllowThreads(__tstate);
9272 if (PyErr_Occurred()) SWIG_fail;
9273 }
9274 resultobj = SWIG_FromInt((int)result);
9275 {
9276 PyObject *o = PyInt_FromLong((long) (*arg3));
9277 resultobj = t_output_helper(resultobj,o);
9278 }
9279 {
9280 PyObject *o = PyInt_FromLong((long) (*arg4));
9281 resultobj = t_output_helper(resultobj,o);
9282 }
9283 return resultobj;
9284 fail:
9285 return NULL;
9286 }
9287
9288
9289 static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *self, PyObject *args, PyObject *kwargs) {
9290 PyObject *resultobj;
9291 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9292 wxPoint *arg2 = 0 ;
9293 long *arg3 = (long *) 0 ;
9294 int result;
9295 wxPoint temp2 ;
9296 long temp3 ;
9297 PyObject * obj0 = 0 ;
9298 PyObject * obj1 = 0 ;
9299 char *kwnames[] = {
9300 (char *) "self",(char *) "pt", NULL
9301 };
9302
9303 arg3 = &temp3;
9304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
9305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9307 {
9308 arg2 = &temp2;
9309 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9310 }
9311 {
9312 PyThreadState* __tstate = wxPyBeginAllowThreads();
9313 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
9314
9315 wxPyEndAllowThreads(__tstate);
9316 if (PyErr_Occurred()) SWIG_fail;
9317 }
9318 resultobj = SWIG_FromInt((int)result);
9319 {
9320 PyObject *o = PyInt_FromLong((long) (*arg3));
9321 resultobj = t_output_helper(resultobj,o);
9322 }
9323 return resultobj;
9324 fail:
9325 return NULL;
9326 }
9327
9328
9329 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
9330 PyObject *resultobj;
9331 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9332 PyObject * obj0 = 0 ;
9333 char *kwnames[] = {
9334 (char *) "self", NULL
9335 };
9336
9337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
9338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9340 {
9341 PyThreadState* __tstate = wxPyBeginAllowThreads();
9342 (arg1)->Copy();
9343
9344 wxPyEndAllowThreads(__tstate);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 }
9347 Py_INCREF(Py_None); resultobj = Py_None;
9348 return resultobj;
9349 fail:
9350 return NULL;
9351 }
9352
9353
9354 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
9355 PyObject *resultobj;
9356 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9357 PyObject * obj0 = 0 ;
9358 char *kwnames[] = {
9359 (char *) "self", NULL
9360 };
9361
9362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
9363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9365 {
9366 PyThreadState* __tstate = wxPyBeginAllowThreads();
9367 (arg1)->Cut();
9368
9369 wxPyEndAllowThreads(__tstate);
9370 if (PyErr_Occurred()) SWIG_fail;
9371 }
9372 Py_INCREF(Py_None); resultobj = Py_None;
9373 return resultobj;
9374 fail:
9375 return NULL;
9376 }
9377
9378
9379 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
9380 PyObject *resultobj;
9381 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9382 PyObject * obj0 = 0 ;
9383 char *kwnames[] = {
9384 (char *) "self", NULL
9385 };
9386
9387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
9388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9390 {
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 (arg1)->Paste();
9393
9394 wxPyEndAllowThreads(__tstate);
9395 if (PyErr_Occurred()) SWIG_fail;
9396 }
9397 Py_INCREF(Py_None); resultobj = Py_None;
9398 return resultobj;
9399 fail:
9400 return NULL;
9401 }
9402
9403
9404 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
9405 PyObject *resultobj;
9406 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9407 bool result;
9408 PyObject * obj0 = 0 ;
9409 char *kwnames[] = {
9410 (char *) "self", NULL
9411 };
9412
9413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
9414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9416 {
9417 PyThreadState* __tstate = wxPyBeginAllowThreads();
9418 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
9419
9420 wxPyEndAllowThreads(__tstate);
9421 if (PyErr_Occurred()) SWIG_fail;
9422 }
9423 {
9424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9425 }
9426 return resultobj;
9427 fail:
9428 return NULL;
9429 }
9430
9431
9432 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
9433 PyObject *resultobj;
9434 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9435 bool result;
9436 PyObject * obj0 = 0 ;
9437 char *kwnames[] = {
9438 (char *) "self", NULL
9439 };
9440
9441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
9442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9444 {
9445 PyThreadState* __tstate = wxPyBeginAllowThreads();
9446 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
9447
9448 wxPyEndAllowThreads(__tstate);
9449 if (PyErr_Occurred()) SWIG_fail;
9450 }
9451 {
9452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9453 }
9454 return resultobj;
9455 fail:
9456 return NULL;
9457 }
9458
9459
9460 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
9461 PyObject *resultobj;
9462 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9463 bool result;
9464 PyObject * obj0 = 0 ;
9465 char *kwnames[] = {
9466 (char *) "self", NULL
9467 };
9468
9469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
9470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9472 {
9473 PyThreadState* __tstate = wxPyBeginAllowThreads();
9474 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
9475
9476 wxPyEndAllowThreads(__tstate);
9477 if (PyErr_Occurred()) SWIG_fail;
9478 }
9479 {
9480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9481 }
9482 return resultobj;
9483 fail:
9484 return NULL;
9485 }
9486
9487
9488 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
9489 PyObject *resultobj;
9490 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9491 PyObject * obj0 = 0 ;
9492 char *kwnames[] = {
9493 (char *) "self", NULL
9494 };
9495
9496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
9497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9499 {
9500 PyThreadState* __tstate = wxPyBeginAllowThreads();
9501 (arg1)->Undo();
9502
9503 wxPyEndAllowThreads(__tstate);
9504 if (PyErr_Occurred()) SWIG_fail;
9505 }
9506 Py_INCREF(Py_None); resultobj = Py_None;
9507 return resultobj;
9508 fail:
9509 return NULL;
9510 }
9511
9512
9513 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
9514 PyObject *resultobj;
9515 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9516 PyObject * obj0 = 0 ;
9517 char *kwnames[] = {
9518 (char *) "self", NULL
9519 };
9520
9521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
9522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9524 {
9525 PyThreadState* __tstate = wxPyBeginAllowThreads();
9526 (arg1)->Redo();
9527
9528 wxPyEndAllowThreads(__tstate);
9529 if (PyErr_Occurred()) SWIG_fail;
9530 }
9531 Py_INCREF(Py_None); resultobj = Py_None;
9532 return resultobj;
9533 fail:
9534 return NULL;
9535 }
9536
9537
9538 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
9539 PyObject *resultobj;
9540 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9541 bool result;
9542 PyObject * obj0 = 0 ;
9543 char *kwnames[] = {
9544 (char *) "self", NULL
9545 };
9546
9547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
9548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9550 {
9551 PyThreadState* __tstate = wxPyBeginAllowThreads();
9552 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9553
9554 wxPyEndAllowThreads(__tstate);
9555 if (PyErr_Occurred()) SWIG_fail;
9556 }
9557 {
9558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9559 }
9560 return resultobj;
9561 fail:
9562 return NULL;
9563 }
9564
9565
9566 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
9567 PyObject *resultobj;
9568 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9569 bool result;
9570 PyObject * obj0 = 0 ;
9571 char *kwnames[] = {
9572 (char *) "self", NULL
9573 };
9574
9575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
9576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9578 {
9579 PyThreadState* __tstate = wxPyBeginAllowThreads();
9580 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9581
9582 wxPyEndAllowThreads(__tstate);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 }
9585 {
9586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9587 }
9588 return resultobj;
9589 fail:
9590 return NULL;
9591 }
9592
9593
9594 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9595 PyObject *resultobj;
9596 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9597 long arg2 ;
9598 PyObject * obj0 = 0 ;
9599 PyObject * obj1 = 0 ;
9600 char *kwnames[] = {
9601 (char *) "self",(char *) "pos", NULL
9602 };
9603
9604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
9605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9607 arg2 = (long) SWIG_AsLong(obj1);
9608 if (PyErr_Occurred()) SWIG_fail;
9609 {
9610 PyThreadState* __tstate = wxPyBeginAllowThreads();
9611 (arg1)->SetInsertionPoint(arg2);
9612
9613 wxPyEndAllowThreads(__tstate);
9614 if (PyErr_Occurred()) SWIG_fail;
9615 }
9616 Py_INCREF(Py_None); resultobj = Py_None;
9617 return resultobj;
9618 fail:
9619 return NULL;
9620 }
9621
9622
9623 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9624 PyObject *resultobj;
9625 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9626 PyObject * obj0 = 0 ;
9627 char *kwnames[] = {
9628 (char *) "self", NULL
9629 };
9630
9631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
9632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9634 {
9635 PyThreadState* __tstate = wxPyBeginAllowThreads();
9636 (arg1)->SetInsertionPointEnd();
9637
9638 wxPyEndAllowThreads(__tstate);
9639 if (PyErr_Occurred()) SWIG_fail;
9640 }
9641 Py_INCREF(Py_None); resultobj = Py_None;
9642 return resultobj;
9643 fail:
9644 return NULL;
9645 }
9646
9647
9648 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9649 PyObject *resultobj;
9650 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9651 long result;
9652 PyObject * obj0 = 0 ;
9653 char *kwnames[] = {
9654 (char *) "self", NULL
9655 };
9656
9657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
9658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9660 {
9661 PyThreadState* __tstate = wxPyBeginAllowThreads();
9662 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9663
9664 wxPyEndAllowThreads(__tstate);
9665 if (PyErr_Occurred()) SWIG_fail;
9666 }
9667 resultobj = SWIG_FromLong((long)result);
9668 return resultobj;
9669 fail:
9670 return NULL;
9671 }
9672
9673
9674 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9675 PyObject *resultobj;
9676 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9677 long result;
9678 PyObject * obj0 = 0 ;
9679 char *kwnames[] = {
9680 (char *) "self", NULL
9681 };
9682
9683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9686 {
9687 PyThreadState* __tstate = wxPyBeginAllowThreads();
9688 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9689
9690 wxPyEndAllowThreads(__tstate);
9691 if (PyErr_Occurred()) SWIG_fail;
9692 }
9693 resultobj = SWIG_FromLong((long)result);
9694 return resultobj;
9695 fail:
9696 return NULL;
9697 }
9698
9699
9700 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9701 PyObject *resultobj;
9702 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9703 long arg2 ;
9704 long arg3 ;
9705 PyObject * obj0 = 0 ;
9706 PyObject * obj1 = 0 ;
9707 PyObject * obj2 = 0 ;
9708 char *kwnames[] = {
9709 (char *) "self",(char *) "from",(char *) "to", NULL
9710 };
9711
9712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9715 arg2 = (long) SWIG_AsLong(obj1);
9716 if (PyErr_Occurred()) SWIG_fail;
9717 arg3 = (long) SWIG_AsLong(obj2);
9718 if (PyErr_Occurred()) SWIG_fail;
9719 {
9720 PyThreadState* __tstate = wxPyBeginAllowThreads();
9721 (arg1)->SetSelection(arg2,arg3);
9722
9723 wxPyEndAllowThreads(__tstate);
9724 if (PyErr_Occurred()) SWIG_fail;
9725 }
9726 Py_INCREF(Py_None); resultobj = Py_None;
9727 return resultobj;
9728 fail:
9729 return NULL;
9730 }
9731
9732
9733 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9734 PyObject *resultobj;
9735 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9736 PyObject * obj0 = 0 ;
9737 char *kwnames[] = {
9738 (char *) "self", NULL
9739 };
9740
9741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9744 {
9745 PyThreadState* __tstate = wxPyBeginAllowThreads();
9746 (arg1)->SelectAll();
9747
9748 wxPyEndAllowThreads(__tstate);
9749 if (PyErr_Occurred()) SWIG_fail;
9750 }
9751 Py_INCREF(Py_None); resultobj = Py_None;
9752 return resultobj;
9753 fail:
9754 return NULL;
9755 }
9756
9757
9758 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9759 PyObject *resultobj;
9760 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9761 bool arg2 ;
9762 PyObject * obj0 = 0 ;
9763 PyObject * obj1 = 0 ;
9764 char *kwnames[] = {
9765 (char *) "self",(char *) "editable", NULL
9766 };
9767
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9771 arg2 = (bool) SWIG_AsBool(obj1);
9772 if (PyErr_Occurred()) SWIG_fail;
9773 {
9774 PyThreadState* __tstate = wxPyBeginAllowThreads();
9775 (arg1)->SetEditable(arg2);
9776
9777 wxPyEndAllowThreads(__tstate);
9778 if (PyErr_Occurred()) SWIG_fail;
9779 }
9780 Py_INCREF(Py_None); resultobj = Py_None;
9781 return resultobj;
9782 fail:
9783 return NULL;
9784 }
9785
9786
9787 static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
9788 PyObject *resultobj;
9789 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9790 bool arg2 = (bool) True ;
9791 bool result;
9792 PyObject * obj0 = 0 ;
9793 PyObject * obj1 = 0 ;
9794 char *kwnames[] = {
9795 (char *) "self",(char *) "show", NULL
9796 };
9797
9798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
9799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9801 if (obj1) {
9802 arg2 = (bool) SWIG_AsBool(obj1);
9803 if (PyErr_Occurred()) SWIG_fail;
9804 }
9805 {
9806 PyThreadState* __tstate = wxPyBeginAllowThreads();
9807 result = (bool)(arg1)->ShowNativeCaret(arg2);
9808
9809 wxPyEndAllowThreads(__tstate);
9810 if (PyErr_Occurred()) SWIG_fail;
9811 }
9812 {
9813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9814 }
9815 return resultobj;
9816 fail:
9817 return NULL;
9818 }
9819
9820
9821 static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
9822 PyObject *resultobj;
9823 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9824 bool result;
9825 PyObject * obj0 = 0 ;
9826 char *kwnames[] = {
9827 (char *) "self", NULL
9828 };
9829
9830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
9831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9833 {
9834 PyThreadState* __tstate = wxPyBeginAllowThreads();
9835 result = (bool)(arg1)->HideNativeCaret();
9836
9837 wxPyEndAllowThreads(__tstate);
9838 if (PyErr_Occurred()) SWIG_fail;
9839 }
9840 {
9841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9842 }
9843 return resultobj;
9844 fail:
9845 return NULL;
9846 }
9847
9848
9849 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9850 PyObject *resultobj;
9851 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9852 wxString *arg2 = 0 ;
9853 bool temp2 = False ;
9854 PyObject * obj0 = 0 ;
9855 PyObject * obj1 = 0 ;
9856 char *kwnames[] = {
9857 (char *) "self",(char *) "text", NULL
9858 };
9859
9860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9863 {
9864 arg2 = wxString_in_helper(obj1);
9865 if (arg2 == NULL) SWIG_fail;
9866 temp2 = True;
9867 }
9868 {
9869 PyThreadState* __tstate = wxPyBeginAllowThreads();
9870 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9871
9872 wxPyEndAllowThreads(__tstate);
9873 if (PyErr_Occurred()) SWIG_fail;
9874 }
9875 Py_INCREF(Py_None); resultobj = Py_None;
9876 {
9877 if (temp2)
9878 delete arg2;
9879 }
9880 return resultobj;
9881 fail:
9882 {
9883 if (temp2)
9884 delete arg2;
9885 }
9886 return NULL;
9887 }
9888
9889
9890 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9891 PyObject *resultobj;
9892 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9893 long arg2 ;
9894 long arg3 ;
9895 wxString result;
9896 PyObject * obj0 = 0 ;
9897 PyObject * obj1 = 0 ;
9898 PyObject * obj2 = 0 ;
9899 char *kwnames[] = {
9900 (char *) "self",(char *) "from",(char *) "to", NULL
9901 };
9902
9903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9906 arg2 = (long) SWIG_AsLong(obj1);
9907 if (PyErr_Occurred()) SWIG_fail;
9908 arg3 = (long) SWIG_AsLong(obj2);
9909 if (PyErr_Occurred()) SWIG_fail;
9910 {
9911 PyThreadState* __tstate = wxPyBeginAllowThreads();
9912 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9913
9914 wxPyEndAllowThreads(__tstate);
9915 if (PyErr_Occurred()) SWIG_fail;
9916 }
9917 {
9918 #if wxUSE_UNICODE
9919 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9920 #else
9921 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9922 #endif
9923 }
9924 return resultobj;
9925 fail:
9926 return NULL;
9927 }
9928
9929
9930 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
9931 PyObject *resultobj;
9932 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
9933 wxVisualAttributes result;
9934 PyObject * obj0 = 0 ;
9935 char *kwnames[] = {
9936 (char *) "variant", NULL
9937 };
9938
9939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
9940 if (obj0) {
9941 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
9942 if (PyErr_Occurred()) SWIG_fail;
9943 }
9944 {
9945 if (!wxPyCheckForApp()) SWIG_fail;
9946 PyThreadState* __tstate = wxPyBeginAllowThreads();
9947 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
9948
9949 wxPyEndAllowThreads(__tstate);
9950 if (PyErr_Occurred()) SWIG_fail;
9951 }
9952 {
9953 wxVisualAttributes * resultptr;
9954 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
9955 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
9956 }
9957 return resultobj;
9958 fail:
9959 return NULL;
9960 }
9961
9962
9963 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9964 PyObject *obj;
9965 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9966 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9967 Py_INCREF(obj);
9968 return Py_BuildValue((char *)"");
9969 }
9970 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9971 PyObject *resultobj;
9972 int arg1 ;
9973 wxMouseEvent *arg2 = 0 ;
9974 long arg3 ;
9975 long arg4 ;
9976 wxTextUrlEvent *result;
9977 PyObject * obj0 = 0 ;
9978 PyObject * obj1 = 0 ;
9979 PyObject * obj2 = 0 ;
9980 PyObject * obj3 = 0 ;
9981 char *kwnames[] = {
9982 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9983 };
9984
9985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9986 arg1 = (int) SWIG_AsInt(obj0);
9987 if (PyErr_Occurred()) SWIG_fail;
9988 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9989 SWIG_POINTER_EXCEPTION | 0)) == -1)
9990 SWIG_fail;
9991 if (arg2 == NULL) {
9992 PyErr_SetString(PyExc_TypeError,"null reference");
9993 SWIG_fail;
9994 }
9995 arg3 = (long) SWIG_AsLong(obj2);
9996 if (PyErr_Occurred()) SWIG_fail;
9997 arg4 = (long) SWIG_AsLong(obj3);
9998 if (PyErr_Occurred()) SWIG_fail;
9999 {
10000 PyThreadState* __tstate = wxPyBeginAllowThreads();
10001 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
10002
10003 wxPyEndAllowThreads(__tstate);
10004 if (PyErr_Occurred()) SWIG_fail;
10005 }
10006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
10007 return resultobj;
10008 fail:
10009 return NULL;
10010 }
10011
10012
10013 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10014 PyObject *resultobj;
10015 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10016 wxMouseEvent *result;
10017 PyObject * obj0 = 0 ;
10018 char *kwnames[] = {
10019 (char *) "self", NULL
10020 };
10021
10022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
10023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10025 {
10026 PyThreadState* __tstate = wxPyBeginAllowThreads();
10027 {
10028 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
10029 result = (wxMouseEvent *) &_result_ref;
10030 }
10031
10032 wxPyEndAllowThreads(__tstate);
10033 if (PyErr_Occurred()) SWIG_fail;
10034 }
10035 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
10036 return resultobj;
10037 fail:
10038 return NULL;
10039 }
10040
10041
10042 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10043 PyObject *resultobj;
10044 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10045 long result;
10046 PyObject * obj0 = 0 ;
10047 char *kwnames[] = {
10048 (char *) "self", NULL
10049 };
10050
10051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
10052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10054 {
10055 PyThreadState* __tstate = wxPyBeginAllowThreads();
10056 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
10057
10058 wxPyEndAllowThreads(__tstate);
10059 if (PyErr_Occurred()) SWIG_fail;
10060 }
10061 resultobj = SWIG_FromLong((long)result);
10062 return resultobj;
10063 fail:
10064 return NULL;
10065 }
10066
10067
10068 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10069 PyObject *resultobj;
10070 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10071 long result;
10072 PyObject * obj0 = 0 ;
10073 char *kwnames[] = {
10074 (char *) "self", NULL
10075 };
10076
10077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
10078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10080 {
10081 PyThreadState* __tstate = wxPyBeginAllowThreads();
10082 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
10083
10084 wxPyEndAllowThreads(__tstate);
10085 if (PyErr_Occurred()) SWIG_fail;
10086 }
10087 resultobj = SWIG_FromLong((long)result);
10088 return resultobj;
10089 fail:
10090 return NULL;
10091 }
10092
10093
10094 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
10095 PyObject *obj;
10096 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10097 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
10098 Py_INCREF(obj);
10099 return Py_BuildValue((char *)"");
10100 }
10101 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
10102 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
10103 return 1;
10104 }
10105
10106
10107 static PyObject *_wrap_ScrollBarNameStr_get() {
10108 PyObject *pyobj;
10109
10110 {
10111 #if wxUSE_UNICODE
10112 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10113 #else
10114 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10115 #endif
10116 }
10117 return pyobj;
10118 }
10119
10120
10121 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10122 PyObject *resultobj;
10123 wxWindow *arg1 = (wxWindow *) 0 ;
10124 int arg2 = (int) -1 ;
10125 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10126 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10127 wxSize const &arg4_defvalue = wxDefaultSize ;
10128 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10129 long arg5 = (long) wxSB_HORIZONTAL ;
10130 wxValidator const &arg6_defvalue = wxDefaultValidator ;
10131 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
10132 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
10133 wxString *arg7 = (wxString *) &arg7_defvalue ;
10134 wxScrollBar *result;
10135 wxPoint temp3 ;
10136 wxSize temp4 ;
10137 bool temp7 = False ;
10138 PyObject * obj0 = 0 ;
10139 PyObject * obj1 = 0 ;
10140 PyObject * obj2 = 0 ;
10141 PyObject * obj3 = 0 ;
10142 PyObject * obj4 = 0 ;
10143 PyObject * obj5 = 0 ;
10144 PyObject * obj6 = 0 ;
10145 char *kwnames[] = {
10146 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10147 };
10148
10149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10152 if (obj1) {
10153 arg2 = (int) SWIG_AsInt(obj1);
10154 if (PyErr_Occurred()) SWIG_fail;
10155 }
10156 if (obj2) {
10157 {
10158 arg3 = &temp3;
10159 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10160 }
10161 }
10162 if (obj3) {
10163 {
10164 arg4 = &temp4;
10165 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10166 }
10167 }
10168 if (obj4) {
10169 arg5 = (long) SWIG_AsLong(obj4);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 if (obj5) {
10173 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
10174 SWIG_POINTER_EXCEPTION | 0)) == -1)
10175 SWIG_fail;
10176 if (arg6 == NULL) {
10177 PyErr_SetString(PyExc_TypeError,"null reference");
10178 SWIG_fail;
10179 }
10180 }
10181 if (obj6) {
10182 {
10183 arg7 = wxString_in_helper(obj6);
10184 if (arg7 == NULL) SWIG_fail;
10185 temp7 = True;
10186 }
10187 }
10188 {
10189 if (!wxPyCheckForApp()) SWIG_fail;
10190 PyThreadState* __tstate = wxPyBeginAllowThreads();
10191 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
10192
10193 wxPyEndAllowThreads(__tstate);
10194 if (PyErr_Occurred()) SWIG_fail;
10195 }
10196 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10197 {
10198 if (temp7)
10199 delete arg7;
10200 }
10201 return resultobj;
10202 fail:
10203 {
10204 if (temp7)
10205 delete arg7;
10206 }
10207 return NULL;
10208 }
10209
10210
10211 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10212 PyObject *resultobj;
10213 wxScrollBar *result;
10214 char *kwnames[] = {
10215 NULL
10216 };
10217
10218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
10219 {
10220 if (!wxPyCheckForApp()) SWIG_fail;
10221 PyThreadState* __tstate = wxPyBeginAllowThreads();
10222 result = (wxScrollBar *)new wxScrollBar();
10223
10224 wxPyEndAllowThreads(__tstate);
10225 if (PyErr_Occurred()) SWIG_fail;
10226 }
10227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10228 return resultobj;
10229 fail:
10230 return NULL;
10231 }
10232
10233
10234 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10235 PyObject *resultobj;
10236 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10237 wxWindow *arg2 = (wxWindow *) 0 ;
10238 int arg3 = (int) -1 ;
10239 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10240 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10241 wxSize const &arg5_defvalue = wxDefaultSize ;
10242 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10243 long arg6 = (long) wxSB_HORIZONTAL ;
10244 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10245 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10246 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
10247 wxString *arg8 = (wxString *) &arg8_defvalue ;
10248 bool result;
10249 wxPoint temp4 ;
10250 wxSize temp5 ;
10251 bool temp8 = False ;
10252 PyObject * obj0 = 0 ;
10253 PyObject * obj1 = 0 ;
10254 PyObject * obj2 = 0 ;
10255 PyObject * obj3 = 0 ;
10256 PyObject * obj4 = 0 ;
10257 PyObject * obj5 = 0 ;
10258 PyObject * obj6 = 0 ;
10259 PyObject * obj7 = 0 ;
10260 char *kwnames[] = {
10261 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10262 };
10263
10264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
10265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10267 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10269 if (obj2) {
10270 arg3 = (int) SWIG_AsInt(obj2);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 if (obj3) {
10274 {
10275 arg4 = &temp4;
10276 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10277 }
10278 }
10279 if (obj4) {
10280 {
10281 arg5 = &temp5;
10282 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10283 }
10284 }
10285 if (obj5) {
10286 arg6 = (long) SWIG_AsLong(obj5);
10287 if (PyErr_Occurred()) SWIG_fail;
10288 }
10289 if (obj6) {
10290 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
10291 SWIG_POINTER_EXCEPTION | 0)) == -1)
10292 SWIG_fail;
10293 if (arg7 == NULL) {
10294 PyErr_SetString(PyExc_TypeError,"null reference");
10295 SWIG_fail;
10296 }
10297 }
10298 if (obj7) {
10299 {
10300 arg8 = wxString_in_helper(obj7);
10301 if (arg8 == NULL) SWIG_fail;
10302 temp8 = True;
10303 }
10304 }
10305 {
10306 PyThreadState* __tstate = wxPyBeginAllowThreads();
10307 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10308
10309 wxPyEndAllowThreads(__tstate);
10310 if (PyErr_Occurred()) SWIG_fail;
10311 }
10312 {
10313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10314 }
10315 {
10316 if (temp8)
10317 delete arg8;
10318 }
10319 return resultobj;
10320 fail:
10321 {
10322 if (temp8)
10323 delete arg8;
10324 }
10325 return NULL;
10326 }
10327
10328
10329 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10330 PyObject *resultobj;
10331 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10332 int result;
10333 PyObject * obj0 = 0 ;
10334 char *kwnames[] = {
10335 (char *) "self", NULL
10336 };
10337
10338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
10339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10341 {
10342 PyThreadState* __tstate = wxPyBeginAllowThreads();
10343 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
10344
10345 wxPyEndAllowThreads(__tstate);
10346 if (PyErr_Occurred()) SWIG_fail;
10347 }
10348 resultobj = SWIG_FromInt((int)result);
10349 return resultobj;
10350 fail:
10351 return NULL;
10352 }
10353
10354
10355 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10356 PyObject *resultobj;
10357 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10358 int result;
10359 PyObject * obj0 = 0 ;
10360 char *kwnames[] = {
10361 (char *) "self", NULL
10362 };
10363
10364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
10365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10367 {
10368 PyThreadState* __tstate = wxPyBeginAllowThreads();
10369 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
10370
10371 wxPyEndAllowThreads(__tstate);
10372 if (PyErr_Occurred()) SWIG_fail;
10373 }
10374 resultobj = SWIG_FromInt((int)result);
10375 return resultobj;
10376 fail:
10377 return NULL;
10378 }
10379
10380
10381 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10382 PyObject *resultobj;
10383 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10384 int result;
10385 PyObject * obj0 = 0 ;
10386 char *kwnames[] = {
10387 (char *) "self", NULL
10388 };
10389
10390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
10391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10393 {
10394 PyThreadState* __tstate = wxPyBeginAllowThreads();
10395 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
10396
10397 wxPyEndAllowThreads(__tstate);
10398 if (PyErr_Occurred()) SWIG_fail;
10399 }
10400 resultobj = SWIG_FromInt((int)result);
10401 return resultobj;
10402 fail:
10403 return NULL;
10404 }
10405
10406
10407 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10408 PyObject *resultobj;
10409 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10410 int result;
10411 PyObject * obj0 = 0 ;
10412 char *kwnames[] = {
10413 (char *) "self", NULL
10414 };
10415
10416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
10417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10419 {
10420 PyThreadState* __tstate = wxPyBeginAllowThreads();
10421 result = (int)((wxScrollBar const *)arg1)->GetRange();
10422
10423 wxPyEndAllowThreads(__tstate);
10424 if (PyErr_Occurred()) SWIG_fail;
10425 }
10426 resultobj = SWIG_FromInt((int)result);
10427 return resultobj;
10428 fail:
10429 return NULL;
10430 }
10431
10432
10433 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10434 PyObject *resultobj;
10435 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10436 bool result;
10437 PyObject * obj0 = 0 ;
10438 char *kwnames[] = {
10439 (char *) "self", NULL
10440 };
10441
10442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
10443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10445 {
10446 PyThreadState* __tstate = wxPyBeginAllowThreads();
10447 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
10448
10449 wxPyEndAllowThreads(__tstate);
10450 if (PyErr_Occurred()) SWIG_fail;
10451 }
10452 {
10453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10454 }
10455 return resultobj;
10456 fail:
10457 return NULL;
10458 }
10459
10460
10461 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10462 PyObject *resultobj;
10463 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10464 int arg2 ;
10465 PyObject * obj0 = 0 ;
10466 PyObject * obj1 = 0 ;
10467 char *kwnames[] = {
10468 (char *) "self",(char *) "viewStart", NULL
10469 };
10470
10471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
10472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10474 arg2 = (int) SWIG_AsInt(obj1);
10475 if (PyErr_Occurred()) SWIG_fail;
10476 {
10477 PyThreadState* __tstate = wxPyBeginAllowThreads();
10478 (arg1)->SetThumbPosition(arg2);
10479
10480 wxPyEndAllowThreads(__tstate);
10481 if (PyErr_Occurred()) SWIG_fail;
10482 }
10483 Py_INCREF(Py_None); resultobj = Py_None;
10484 return resultobj;
10485 fail:
10486 return NULL;
10487 }
10488
10489
10490 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
10491 PyObject *resultobj;
10492 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10493 int arg2 ;
10494 int arg3 ;
10495 int arg4 ;
10496 int arg5 ;
10497 bool arg6 = (bool) True ;
10498 PyObject * obj0 = 0 ;
10499 PyObject * obj1 = 0 ;
10500 PyObject * obj2 = 0 ;
10501 PyObject * obj3 = 0 ;
10502 PyObject * obj4 = 0 ;
10503 PyObject * obj5 = 0 ;
10504 char *kwnames[] = {
10505 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10506 };
10507
10508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10511 arg2 = (int) SWIG_AsInt(obj1);
10512 if (PyErr_Occurred()) SWIG_fail;
10513 arg3 = (int) SWIG_AsInt(obj2);
10514 if (PyErr_Occurred()) SWIG_fail;
10515 arg4 = (int) SWIG_AsInt(obj3);
10516 if (PyErr_Occurred()) SWIG_fail;
10517 arg5 = (int) SWIG_AsInt(obj4);
10518 if (PyErr_Occurred()) SWIG_fail;
10519 if (obj5) {
10520 arg6 = (bool) SWIG_AsBool(obj5);
10521 if (PyErr_Occurred()) SWIG_fail;
10522 }
10523 {
10524 PyThreadState* __tstate = wxPyBeginAllowThreads();
10525 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
10526
10527 wxPyEndAllowThreads(__tstate);
10528 if (PyErr_Occurred()) SWIG_fail;
10529 }
10530 Py_INCREF(Py_None); resultobj = Py_None;
10531 return resultobj;
10532 fail:
10533 return NULL;
10534 }
10535
10536
10537 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
10538 PyObject *resultobj;
10539 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10540 wxVisualAttributes result;
10541 PyObject * obj0 = 0 ;
10542 char *kwnames[] = {
10543 (char *) "variant", NULL
10544 };
10545
10546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10547 if (obj0) {
10548 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
10549 if (PyErr_Occurred()) SWIG_fail;
10550 }
10551 {
10552 if (!wxPyCheckForApp()) SWIG_fail;
10553 PyThreadState* __tstate = wxPyBeginAllowThreads();
10554 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
10555
10556 wxPyEndAllowThreads(__tstate);
10557 if (PyErr_Occurred()) SWIG_fail;
10558 }
10559 {
10560 wxVisualAttributes * resultptr;
10561 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10562 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
10563 }
10564 return resultobj;
10565 fail:
10566 return NULL;
10567 }
10568
10569
10570 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
10571 PyObject *obj;
10572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10573 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
10574 Py_INCREF(obj);
10575 return Py_BuildValue((char *)"");
10576 }
10577 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
10578 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
10579 return 1;
10580 }
10581
10582
10583 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
10584 PyObject *pyobj;
10585
10586 {
10587 #if wxUSE_UNICODE
10588 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10589 #else
10590 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10591 #endif
10592 }
10593 return pyobj;
10594 }
10595
10596
10597 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
10598 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
10599 return 1;
10600 }
10601
10602
10603 static PyObject *_wrap_SpinCtrlNameStr_get() {
10604 PyObject *pyobj;
10605
10606 {
10607 #if wxUSE_UNICODE
10608 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10609 #else
10610 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10611 #endif
10612 }
10613 return pyobj;
10614 }
10615
10616
10617 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10618 PyObject *resultobj;
10619 wxWindow *arg1 = (wxWindow *) 0 ;
10620 int arg2 = (int) -1 ;
10621 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10622 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10623 wxSize const &arg4_defvalue = wxDefaultSize ;
10624 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10625 long arg5 = (long) wxSP_HORIZONTAL ;
10626 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
10627 wxString *arg6 = (wxString *) &arg6_defvalue ;
10628 wxSpinButton *result;
10629 wxPoint temp3 ;
10630 wxSize temp4 ;
10631 bool temp6 = False ;
10632 PyObject * obj0 = 0 ;
10633 PyObject * obj1 = 0 ;
10634 PyObject * obj2 = 0 ;
10635 PyObject * obj3 = 0 ;
10636 PyObject * obj4 = 0 ;
10637 PyObject * obj5 = 0 ;
10638 char *kwnames[] = {
10639 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10640 };
10641
10642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10645 if (obj1) {
10646 arg2 = (int) SWIG_AsInt(obj1);
10647 if (PyErr_Occurred()) SWIG_fail;
10648 }
10649 if (obj2) {
10650 {
10651 arg3 = &temp3;
10652 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10653 }
10654 }
10655 if (obj3) {
10656 {
10657 arg4 = &temp4;
10658 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10659 }
10660 }
10661 if (obj4) {
10662 arg5 = (long) SWIG_AsLong(obj4);
10663 if (PyErr_Occurred()) SWIG_fail;
10664 }
10665 if (obj5) {
10666 {
10667 arg6 = wxString_in_helper(obj5);
10668 if (arg6 == NULL) SWIG_fail;
10669 temp6 = True;
10670 }
10671 }
10672 {
10673 if (!wxPyCheckForApp()) SWIG_fail;
10674 PyThreadState* __tstate = wxPyBeginAllowThreads();
10675 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10676
10677 wxPyEndAllowThreads(__tstate);
10678 if (PyErr_Occurred()) SWIG_fail;
10679 }
10680 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10681 {
10682 if (temp6)
10683 delete arg6;
10684 }
10685 return resultobj;
10686 fail:
10687 {
10688 if (temp6)
10689 delete arg6;
10690 }
10691 return NULL;
10692 }
10693
10694
10695 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10696 PyObject *resultobj;
10697 wxSpinButton *result;
10698 char *kwnames[] = {
10699 NULL
10700 };
10701
10702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10703 {
10704 if (!wxPyCheckForApp()) SWIG_fail;
10705 PyThreadState* __tstate = wxPyBeginAllowThreads();
10706 result = (wxSpinButton *)new wxSpinButton();
10707
10708 wxPyEndAllowThreads(__tstate);
10709 if (PyErr_Occurred()) SWIG_fail;
10710 }
10711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10712 return resultobj;
10713 fail:
10714 return NULL;
10715 }
10716
10717
10718 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10719 PyObject *resultobj;
10720 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10721 wxWindow *arg2 = (wxWindow *) 0 ;
10722 int arg3 = (int) -1 ;
10723 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10724 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10725 wxSize const &arg5_defvalue = wxDefaultSize ;
10726 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10727 long arg6 = (long) wxSP_HORIZONTAL ;
10728 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10729 wxString *arg7 = (wxString *) &arg7_defvalue ;
10730 bool result;
10731 wxPoint temp4 ;
10732 wxSize temp5 ;
10733 bool temp7 = False ;
10734 PyObject * obj0 = 0 ;
10735 PyObject * obj1 = 0 ;
10736 PyObject * obj2 = 0 ;
10737 PyObject * obj3 = 0 ;
10738 PyObject * obj4 = 0 ;
10739 PyObject * obj5 = 0 ;
10740 PyObject * obj6 = 0 ;
10741 char *kwnames[] = {
10742 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10743 };
10744
10745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10748 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10750 if (obj2) {
10751 arg3 = (int) SWIG_AsInt(obj2);
10752 if (PyErr_Occurred()) SWIG_fail;
10753 }
10754 if (obj3) {
10755 {
10756 arg4 = &temp4;
10757 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10758 }
10759 }
10760 if (obj4) {
10761 {
10762 arg5 = &temp5;
10763 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10764 }
10765 }
10766 if (obj5) {
10767 arg6 = (long) SWIG_AsLong(obj5);
10768 if (PyErr_Occurred()) SWIG_fail;
10769 }
10770 if (obj6) {
10771 {
10772 arg7 = wxString_in_helper(obj6);
10773 if (arg7 == NULL) SWIG_fail;
10774 temp7 = True;
10775 }
10776 }
10777 {
10778 PyThreadState* __tstate = wxPyBeginAllowThreads();
10779 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10780
10781 wxPyEndAllowThreads(__tstate);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 }
10784 {
10785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10786 }
10787 {
10788 if (temp7)
10789 delete arg7;
10790 }
10791 return resultobj;
10792 fail:
10793 {
10794 if (temp7)
10795 delete arg7;
10796 }
10797 return NULL;
10798 }
10799
10800
10801 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10802 PyObject *resultobj;
10803 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10804 int result;
10805 PyObject * obj0 = 0 ;
10806 char *kwnames[] = {
10807 (char *) "self", NULL
10808 };
10809
10810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10813 {
10814 PyThreadState* __tstate = wxPyBeginAllowThreads();
10815 result = (int)((wxSpinButton const *)arg1)->GetValue();
10816
10817 wxPyEndAllowThreads(__tstate);
10818 if (PyErr_Occurred()) SWIG_fail;
10819 }
10820 resultobj = SWIG_FromInt((int)result);
10821 return resultobj;
10822 fail:
10823 return NULL;
10824 }
10825
10826
10827 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10828 PyObject *resultobj;
10829 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10830 int result;
10831 PyObject * obj0 = 0 ;
10832 char *kwnames[] = {
10833 (char *) "self", NULL
10834 };
10835
10836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10839 {
10840 PyThreadState* __tstate = wxPyBeginAllowThreads();
10841 result = (int)((wxSpinButton const *)arg1)->GetMin();
10842
10843 wxPyEndAllowThreads(__tstate);
10844 if (PyErr_Occurred()) SWIG_fail;
10845 }
10846 resultobj = SWIG_FromInt((int)result);
10847 return resultobj;
10848 fail:
10849 return NULL;
10850 }
10851
10852
10853 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10854 PyObject *resultobj;
10855 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10856 int result;
10857 PyObject * obj0 = 0 ;
10858 char *kwnames[] = {
10859 (char *) "self", NULL
10860 };
10861
10862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10865 {
10866 PyThreadState* __tstate = wxPyBeginAllowThreads();
10867 result = (int)((wxSpinButton const *)arg1)->GetMax();
10868
10869 wxPyEndAllowThreads(__tstate);
10870 if (PyErr_Occurred()) SWIG_fail;
10871 }
10872 resultobj = SWIG_FromInt((int)result);
10873 return resultobj;
10874 fail:
10875 return NULL;
10876 }
10877
10878
10879 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10880 PyObject *resultobj;
10881 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10882 int arg2 ;
10883 PyObject * obj0 = 0 ;
10884 PyObject * obj1 = 0 ;
10885 char *kwnames[] = {
10886 (char *) "self",(char *) "val", NULL
10887 };
10888
10889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10892 arg2 = (int) SWIG_AsInt(obj1);
10893 if (PyErr_Occurred()) SWIG_fail;
10894 {
10895 PyThreadState* __tstate = wxPyBeginAllowThreads();
10896 (arg1)->SetValue(arg2);
10897
10898 wxPyEndAllowThreads(__tstate);
10899 if (PyErr_Occurred()) SWIG_fail;
10900 }
10901 Py_INCREF(Py_None); resultobj = Py_None;
10902 return resultobj;
10903 fail:
10904 return NULL;
10905 }
10906
10907
10908 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10909 PyObject *resultobj;
10910 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10911 int arg2 ;
10912 PyObject * obj0 = 0 ;
10913 PyObject * obj1 = 0 ;
10914 char *kwnames[] = {
10915 (char *) "self",(char *) "minVal", NULL
10916 };
10917
10918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10921 arg2 = (int) SWIG_AsInt(obj1);
10922 if (PyErr_Occurred()) SWIG_fail;
10923 {
10924 PyThreadState* __tstate = wxPyBeginAllowThreads();
10925 (arg1)->SetMin(arg2);
10926
10927 wxPyEndAllowThreads(__tstate);
10928 if (PyErr_Occurred()) SWIG_fail;
10929 }
10930 Py_INCREF(Py_None); resultobj = Py_None;
10931 return resultobj;
10932 fail:
10933 return NULL;
10934 }
10935
10936
10937 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10938 PyObject *resultobj;
10939 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10940 int arg2 ;
10941 PyObject * obj0 = 0 ;
10942 PyObject * obj1 = 0 ;
10943 char *kwnames[] = {
10944 (char *) "self",(char *) "maxVal", NULL
10945 };
10946
10947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10950 arg2 = (int) SWIG_AsInt(obj1);
10951 if (PyErr_Occurred()) SWIG_fail;
10952 {
10953 PyThreadState* __tstate = wxPyBeginAllowThreads();
10954 (arg1)->SetMax(arg2);
10955
10956 wxPyEndAllowThreads(__tstate);
10957 if (PyErr_Occurred()) SWIG_fail;
10958 }
10959 Py_INCREF(Py_None); resultobj = Py_None;
10960 return resultobj;
10961 fail:
10962 return NULL;
10963 }
10964
10965
10966 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10967 PyObject *resultobj;
10968 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10969 int arg2 ;
10970 int arg3 ;
10971 PyObject * obj0 = 0 ;
10972 PyObject * obj1 = 0 ;
10973 PyObject * obj2 = 0 ;
10974 char *kwnames[] = {
10975 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10976 };
10977
10978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10981 arg2 = (int) SWIG_AsInt(obj1);
10982 if (PyErr_Occurred()) SWIG_fail;
10983 arg3 = (int) SWIG_AsInt(obj2);
10984 if (PyErr_Occurred()) SWIG_fail;
10985 {
10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
10987 (arg1)->SetRange(arg2,arg3);
10988
10989 wxPyEndAllowThreads(__tstate);
10990 if (PyErr_Occurred()) SWIG_fail;
10991 }
10992 Py_INCREF(Py_None); resultobj = Py_None;
10993 return resultobj;
10994 fail:
10995 return NULL;
10996 }
10997
10998
10999 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
11000 PyObject *resultobj;
11001 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
11002 bool result;
11003 PyObject * obj0 = 0 ;
11004 char *kwnames[] = {
11005 (char *) "self", NULL
11006 };
11007
11008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
11009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
11010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11011 {
11012 PyThreadState* __tstate = wxPyBeginAllowThreads();
11013 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
11014
11015 wxPyEndAllowThreads(__tstate);
11016 if (PyErr_Occurred()) SWIG_fail;
11017 }
11018 {
11019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11020 }
11021 return resultobj;
11022 fail:
11023 return NULL;
11024 }
11025
11026
11027 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
11028 PyObject *resultobj;
11029 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11030 wxVisualAttributes result;
11031 PyObject * obj0 = 0 ;
11032 char *kwnames[] = {
11033 (char *) "variant", NULL
11034 };
11035
11036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11037 if (obj0) {
11038 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
11039 if (PyErr_Occurred()) SWIG_fail;
11040 }
11041 {
11042 if (!wxPyCheckForApp()) SWIG_fail;
11043 PyThreadState* __tstate = wxPyBeginAllowThreads();
11044 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
11045
11046 wxPyEndAllowThreads(__tstate);
11047 if (PyErr_Occurred()) SWIG_fail;
11048 }
11049 {
11050 wxVisualAttributes * resultptr;
11051 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11052 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11053 }
11054 return resultobj;
11055 fail:
11056 return NULL;
11057 }
11058
11059
11060 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
11061 PyObject *obj;
11062 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11063 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
11064 Py_INCREF(obj);
11065 return Py_BuildValue((char *)"");
11066 }
11067 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11068 PyObject *resultobj;
11069 wxWindow *arg1 = (wxWindow *) 0 ;
11070 int arg2 = (int) -1 ;
11071 wxString const &arg3_defvalue = wxPyEmptyString ;
11072 wxString *arg3 = (wxString *) &arg3_defvalue ;
11073 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11074 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11075 wxSize const &arg5_defvalue = wxDefaultSize ;
11076 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11077 long arg6 = (long) wxSP_ARROW_KEYS ;
11078 int arg7 = (int) 0 ;
11079 int arg8 = (int) 100 ;
11080 int arg9 = (int) 0 ;
11081 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
11082 wxString *arg10 = (wxString *) &arg10_defvalue ;
11083 wxSpinCtrl *result;
11084 bool temp3 = False ;
11085 wxPoint temp4 ;
11086 wxSize temp5 ;
11087 bool temp10 = False ;
11088 PyObject * obj0 = 0 ;
11089 PyObject * obj1 = 0 ;
11090 PyObject * obj2 = 0 ;
11091 PyObject * obj3 = 0 ;
11092 PyObject * obj4 = 0 ;
11093 PyObject * obj5 = 0 ;
11094 PyObject * obj6 = 0 ;
11095 PyObject * obj7 = 0 ;
11096 PyObject * obj8 = 0 ;
11097 PyObject * obj9 = 0 ;
11098 char *kwnames[] = {
11099 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11100 };
11101
11102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11105 if (obj1) {
11106 arg2 = (int) SWIG_AsInt(obj1);
11107 if (PyErr_Occurred()) SWIG_fail;
11108 }
11109 if (obj2) {
11110 {
11111 arg3 = wxString_in_helper(obj2);
11112 if (arg3 == NULL) SWIG_fail;
11113 temp3 = True;
11114 }
11115 }
11116 if (obj3) {
11117 {
11118 arg4 = &temp4;
11119 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11120 }
11121 }
11122 if (obj4) {
11123 {
11124 arg5 = &temp5;
11125 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11126 }
11127 }
11128 if (obj5) {
11129 arg6 = (long) SWIG_AsLong(obj5);
11130 if (PyErr_Occurred()) SWIG_fail;
11131 }
11132 if (obj6) {
11133 arg7 = (int) SWIG_AsInt(obj6);
11134 if (PyErr_Occurred()) SWIG_fail;
11135 }
11136 if (obj7) {
11137 arg8 = (int) SWIG_AsInt(obj7);
11138 if (PyErr_Occurred()) SWIG_fail;
11139 }
11140 if (obj8) {
11141 arg9 = (int) SWIG_AsInt(obj8);
11142 if (PyErr_Occurred()) SWIG_fail;
11143 }
11144 if (obj9) {
11145 {
11146 arg10 = wxString_in_helper(obj9);
11147 if (arg10 == NULL) SWIG_fail;
11148 temp10 = True;
11149 }
11150 }
11151 {
11152 if (!wxPyCheckForApp()) SWIG_fail;
11153 PyThreadState* __tstate = wxPyBeginAllowThreads();
11154 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
11155
11156 wxPyEndAllowThreads(__tstate);
11157 if (PyErr_Occurred()) SWIG_fail;
11158 }
11159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11160 {
11161 if (temp3)
11162 delete arg3;
11163 }
11164 {
11165 if (temp10)
11166 delete arg10;
11167 }
11168 return resultobj;
11169 fail:
11170 {
11171 if (temp3)
11172 delete arg3;
11173 }
11174 {
11175 if (temp10)
11176 delete arg10;
11177 }
11178 return NULL;
11179 }
11180
11181
11182 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11183 PyObject *resultobj;
11184 wxSpinCtrl *result;
11185 char *kwnames[] = {
11186 NULL
11187 };
11188
11189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
11190 {
11191 if (!wxPyCheckForApp()) SWIG_fail;
11192 PyThreadState* __tstate = wxPyBeginAllowThreads();
11193 result = (wxSpinCtrl *)new wxSpinCtrl();
11194
11195 wxPyEndAllowThreads(__tstate);
11196 if (PyErr_Occurred()) SWIG_fail;
11197 }
11198 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11199 return resultobj;
11200 fail:
11201 return NULL;
11202 }
11203
11204
11205 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11206 PyObject *resultobj;
11207 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11208 wxWindow *arg2 = (wxWindow *) 0 ;
11209 int arg3 = (int) -1 ;
11210 wxString const &arg4_defvalue = wxPyEmptyString ;
11211 wxString *arg4 = (wxString *) &arg4_defvalue ;
11212 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11213 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11214 wxSize const &arg6_defvalue = wxDefaultSize ;
11215 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11216 long arg7 = (long) wxSP_ARROW_KEYS ;
11217 int arg8 = (int) 0 ;
11218 int arg9 = (int) 100 ;
11219 int arg10 = (int) 0 ;
11220 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
11221 wxString *arg11 = (wxString *) &arg11_defvalue ;
11222 bool result;
11223 bool temp4 = False ;
11224 wxPoint temp5 ;
11225 wxSize temp6 ;
11226 bool temp11 = False ;
11227 PyObject * obj0 = 0 ;
11228 PyObject * obj1 = 0 ;
11229 PyObject * obj2 = 0 ;
11230 PyObject * obj3 = 0 ;
11231 PyObject * obj4 = 0 ;
11232 PyObject * obj5 = 0 ;
11233 PyObject * obj6 = 0 ;
11234 PyObject * obj7 = 0 ;
11235 PyObject * obj8 = 0 ;
11236 PyObject * obj9 = 0 ;
11237 PyObject * obj10 = 0 ;
11238 char *kwnames[] = {
11239 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11240 };
11241
11242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11245 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11247 if (obj2) {
11248 arg3 = (int) SWIG_AsInt(obj2);
11249 if (PyErr_Occurred()) SWIG_fail;
11250 }
11251 if (obj3) {
11252 {
11253 arg4 = wxString_in_helper(obj3);
11254 if (arg4 == NULL) SWIG_fail;
11255 temp4 = True;
11256 }
11257 }
11258 if (obj4) {
11259 {
11260 arg5 = &temp5;
11261 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11262 }
11263 }
11264 if (obj5) {
11265 {
11266 arg6 = &temp6;
11267 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11268 }
11269 }
11270 if (obj6) {
11271 arg7 = (long) SWIG_AsLong(obj6);
11272 if (PyErr_Occurred()) SWIG_fail;
11273 }
11274 if (obj7) {
11275 arg8 = (int) SWIG_AsInt(obj7);
11276 if (PyErr_Occurred()) SWIG_fail;
11277 }
11278 if (obj8) {
11279 arg9 = (int) SWIG_AsInt(obj8);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 }
11282 if (obj9) {
11283 arg10 = (int) SWIG_AsInt(obj9);
11284 if (PyErr_Occurred()) SWIG_fail;
11285 }
11286 if (obj10) {
11287 {
11288 arg11 = wxString_in_helper(obj10);
11289 if (arg11 == NULL) SWIG_fail;
11290 temp11 = True;
11291 }
11292 }
11293 {
11294 PyThreadState* __tstate = wxPyBeginAllowThreads();
11295 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
11296
11297 wxPyEndAllowThreads(__tstate);
11298 if (PyErr_Occurred()) SWIG_fail;
11299 }
11300 {
11301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11302 }
11303 {
11304 if (temp4)
11305 delete arg4;
11306 }
11307 {
11308 if (temp11)
11309 delete arg11;
11310 }
11311 return resultobj;
11312 fail:
11313 {
11314 if (temp4)
11315 delete arg4;
11316 }
11317 {
11318 if (temp11)
11319 delete arg11;
11320 }
11321 return NULL;
11322 }
11323
11324
11325 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11326 PyObject *resultobj;
11327 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11328 int result;
11329 PyObject * obj0 = 0 ;
11330 char *kwnames[] = {
11331 (char *) "self", NULL
11332 };
11333
11334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
11335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11337 {
11338 PyThreadState* __tstate = wxPyBeginAllowThreads();
11339 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
11340
11341 wxPyEndAllowThreads(__tstate);
11342 if (PyErr_Occurred()) SWIG_fail;
11343 }
11344 resultobj = SWIG_FromInt((int)result);
11345 return resultobj;
11346 fail:
11347 return NULL;
11348 }
11349
11350
11351 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11352 PyObject *resultobj;
11353 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11354 int arg2 ;
11355 PyObject * obj0 = 0 ;
11356 PyObject * obj1 = 0 ;
11357 char *kwnames[] = {
11358 (char *) "self",(char *) "value", NULL
11359 };
11360
11361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
11362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11364 arg2 = (int) SWIG_AsInt(obj1);
11365 if (PyErr_Occurred()) SWIG_fail;
11366 {
11367 PyThreadState* __tstate = wxPyBeginAllowThreads();
11368 (arg1)->SetValue(arg2);
11369
11370 wxPyEndAllowThreads(__tstate);
11371 if (PyErr_Occurred()) SWIG_fail;
11372 }
11373 Py_INCREF(Py_None); resultobj = Py_None;
11374 return resultobj;
11375 fail:
11376 return NULL;
11377 }
11378
11379
11380 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
11381 PyObject *resultobj;
11382 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11383 wxString *arg2 = 0 ;
11384 bool temp2 = False ;
11385 PyObject * obj0 = 0 ;
11386 PyObject * obj1 = 0 ;
11387 char *kwnames[] = {
11388 (char *) "self",(char *) "text", NULL
11389 };
11390
11391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
11392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11394 {
11395 arg2 = wxString_in_helper(obj1);
11396 if (arg2 == NULL) SWIG_fail;
11397 temp2 = True;
11398 }
11399 {
11400 PyThreadState* __tstate = wxPyBeginAllowThreads();
11401 (arg1)->SetValue((wxString const &)*arg2);
11402
11403 wxPyEndAllowThreads(__tstate);
11404 if (PyErr_Occurred()) SWIG_fail;
11405 }
11406 Py_INCREF(Py_None); resultobj = Py_None;
11407 {
11408 if (temp2)
11409 delete arg2;
11410 }
11411 return resultobj;
11412 fail:
11413 {
11414 if (temp2)
11415 delete arg2;
11416 }
11417 return NULL;
11418 }
11419
11420
11421 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11422 PyObject *resultobj;
11423 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11424 int arg2 ;
11425 int arg3 ;
11426 PyObject * obj0 = 0 ;
11427 PyObject * obj1 = 0 ;
11428 PyObject * obj2 = 0 ;
11429 char *kwnames[] = {
11430 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11431 };
11432
11433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11436 arg2 = (int) SWIG_AsInt(obj1);
11437 if (PyErr_Occurred()) SWIG_fail;
11438 arg3 = (int) SWIG_AsInt(obj2);
11439 if (PyErr_Occurred()) SWIG_fail;
11440 {
11441 PyThreadState* __tstate = wxPyBeginAllowThreads();
11442 (arg1)->SetRange(arg2,arg3);
11443
11444 wxPyEndAllowThreads(__tstate);
11445 if (PyErr_Occurred()) SWIG_fail;
11446 }
11447 Py_INCREF(Py_None); resultobj = Py_None;
11448 return resultobj;
11449 fail:
11450 return NULL;
11451 }
11452
11453
11454 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11455 PyObject *resultobj;
11456 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11457 int result;
11458 PyObject * obj0 = 0 ;
11459 char *kwnames[] = {
11460 (char *) "self", NULL
11461 };
11462
11463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
11464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11466 {
11467 PyThreadState* __tstate = wxPyBeginAllowThreads();
11468 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
11469
11470 wxPyEndAllowThreads(__tstate);
11471 if (PyErr_Occurred()) SWIG_fail;
11472 }
11473 resultobj = SWIG_FromInt((int)result);
11474 return resultobj;
11475 fail:
11476 return NULL;
11477 }
11478
11479
11480 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11481 PyObject *resultobj;
11482 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11483 int result;
11484 PyObject * obj0 = 0 ;
11485 char *kwnames[] = {
11486 (char *) "self", NULL
11487 };
11488
11489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
11490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11492 {
11493 PyThreadState* __tstate = wxPyBeginAllowThreads();
11494 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
11495
11496 wxPyEndAllowThreads(__tstate);
11497 if (PyErr_Occurred()) SWIG_fail;
11498 }
11499 resultobj = SWIG_FromInt((int)result);
11500 return resultobj;
11501 fail:
11502 return NULL;
11503 }
11504
11505
11506 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11507 PyObject *resultobj;
11508 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11509 long arg2 ;
11510 long arg3 ;
11511 PyObject * obj0 = 0 ;
11512 PyObject * obj1 = 0 ;
11513 PyObject * obj2 = 0 ;
11514 char *kwnames[] = {
11515 (char *) "self",(char *) "from",(char *) "to", NULL
11516 };
11517
11518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11521 arg2 = (long) SWIG_AsLong(obj1);
11522 if (PyErr_Occurred()) SWIG_fail;
11523 arg3 = (long) SWIG_AsLong(obj2);
11524 if (PyErr_Occurred()) SWIG_fail;
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 (arg1)->SetSelection(arg2,arg3);
11528
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
11532 Py_INCREF(Py_None); resultobj = Py_None;
11533 return resultobj;
11534 fail:
11535 return NULL;
11536 }
11537
11538
11539 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
11540 PyObject *resultobj;
11541 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11542 wxVisualAttributes result;
11543 PyObject * obj0 = 0 ;
11544 char *kwnames[] = {
11545 (char *) "variant", NULL
11546 };
11547
11548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11549 if (obj0) {
11550 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
11551 if (PyErr_Occurred()) SWIG_fail;
11552 }
11553 {
11554 if (!wxPyCheckForApp()) SWIG_fail;
11555 PyThreadState* __tstate = wxPyBeginAllowThreads();
11556 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11557
11558 wxPyEndAllowThreads(__tstate);
11559 if (PyErr_Occurred()) SWIG_fail;
11560 }
11561 {
11562 wxVisualAttributes * resultptr;
11563 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11564 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11565 }
11566 return resultobj;
11567 fail:
11568 return NULL;
11569 }
11570
11571
11572 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
11573 PyObject *obj;
11574 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11575 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
11576 Py_INCREF(obj);
11577 return Py_BuildValue((char *)"");
11578 }
11579 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11580 PyObject *resultobj;
11581 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11582 int arg2 = (int) 0 ;
11583 wxSpinEvent *result;
11584 PyObject * obj0 = 0 ;
11585 PyObject * obj1 = 0 ;
11586 char *kwnames[] = {
11587 (char *) "commandType",(char *) "winid", NULL
11588 };
11589
11590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
11591 if (obj0) {
11592 arg1 = (wxEventType) SWIG_AsInt(obj0);
11593 if (PyErr_Occurred()) SWIG_fail;
11594 }
11595 if (obj1) {
11596 arg2 = (int) SWIG_AsInt(obj1);
11597 if (PyErr_Occurred()) SWIG_fail;
11598 }
11599 {
11600 PyThreadState* __tstate = wxPyBeginAllowThreads();
11601 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
11602
11603 wxPyEndAllowThreads(__tstate);
11604 if (PyErr_Occurred()) SWIG_fail;
11605 }
11606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
11607 return resultobj;
11608 fail:
11609 return NULL;
11610 }
11611
11612
11613 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11614 PyObject *resultobj;
11615 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11616 int result;
11617 PyObject * obj0 = 0 ;
11618 char *kwnames[] = {
11619 (char *) "self", NULL
11620 };
11621
11622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
11623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11625 {
11626 PyThreadState* __tstate = wxPyBeginAllowThreads();
11627 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
11628
11629 wxPyEndAllowThreads(__tstate);
11630 if (PyErr_Occurred()) SWIG_fail;
11631 }
11632 resultobj = SWIG_FromInt((int)result);
11633 return resultobj;
11634 fail:
11635 return NULL;
11636 }
11637
11638
11639 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11640 PyObject *resultobj;
11641 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11642 int arg2 ;
11643 PyObject * obj0 = 0 ;
11644 PyObject * obj1 = 0 ;
11645 char *kwnames[] = {
11646 (char *) "self",(char *) "pos", NULL
11647 };
11648
11649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11652 arg2 = (int) SWIG_AsInt(obj1);
11653 if (PyErr_Occurred()) SWIG_fail;
11654 {
11655 PyThreadState* __tstate = wxPyBeginAllowThreads();
11656 (arg1)->SetPosition(arg2);
11657
11658 wxPyEndAllowThreads(__tstate);
11659 if (PyErr_Occurred()) SWIG_fail;
11660 }
11661 Py_INCREF(Py_None); resultobj = Py_None;
11662 return resultobj;
11663 fail:
11664 return NULL;
11665 }
11666
11667
11668 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
11669 PyObject *obj;
11670 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11671 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
11672 Py_INCREF(obj);
11673 return Py_BuildValue((char *)"");
11674 }
11675 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
11676 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
11677 return 1;
11678 }
11679
11680
11681 static PyObject *_wrap_RadioBoxNameStr_get() {
11682 PyObject *pyobj;
11683
11684 {
11685 #if wxUSE_UNICODE
11686 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11687 #else
11688 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11689 #endif
11690 }
11691 return pyobj;
11692 }
11693
11694
11695 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
11696 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
11697 return 1;
11698 }
11699
11700
11701 static PyObject *_wrap_RadioButtonNameStr_get() {
11702 PyObject *pyobj;
11703
11704 {
11705 #if wxUSE_UNICODE
11706 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11707 #else
11708 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11709 #endif
11710 }
11711 return pyobj;
11712 }
11713
11714
11715 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11716 PyObject *resultobj;
11717 wxWindow *arg1 = (wxWindow *) 0 ;
11718 int arg2 = (int) -1 ;
11719 wxString const &arg3_defvalue = wxPyEmptyString ;
11720 wxString *arg3 = (wxString *) &arg3_defvalue ;
11721 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11722 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11723 wxSize const &arg5_defvalue = wxDefaultSize ;
11724 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11725 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
11726 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
11727 int arg7 = (int) 0 ;
11728 long arg8 = (long) wxRA_HORIZONTAL ;
11729 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11730 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11731 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
11732 wxString *arg10 = (wxString *) &arg10_defvalue ;
11733 wxRadioBox *result;
11734 bool temp3 = False ;
11735 wxPoint temp4 ;
11736 wxSize temp5 ;
11737 bool temp6 = False ;
11738 bool temp10 = False ;
11739 PyObject * obj0 = 0 ;
11740 PyObject * obj1 = 0 ;
11741 PyObject * obj2 = 0 ;
11742 PyObject * obj3 = 0 ;
11743 PyObject * obj4 = 0 ;
11744 PyObject * obj5 = 0 ;
11745 PyObject * obj6 = 0 ;
11746 PyObject * obj7 = 0 ;
11747 PyObject * obj8 = 0 ;
11748 PyObject * obj9 = 0 ;
11749 char *kwnames[] = {
11750 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11751 };
11752
11753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11756 if (obj1) {
11757 arg2 = (int) SWIG_AsInt(obj1);
11758 if (PyErr_Occurred()) SWIG_fail;
11759 }
11760 if (obj2) {
11761 {
11762 arg3 = wxString_in_helper(obj2);
11763 if (arg3 == NULL) SWIG_fail;
11764 temp3 = True;
11765 }
11766 }
11767 if (obj3) {
11768 {
11769 arg4 = &temp4;
11770 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11771 }
11772 }
11773 if (obj4) {
11774 {
11775 arg5 = &temp5;
11776 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11777 }
11778 }
11779 if (obj5) {
11780 {
11781 if (! PySequence_Check(obj5)) {
11782 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11783 SWIG_fail;
11784 }
11785 arg6 = new wxArrayString;
11786 temp6 = True;
11787 int i, len=PySequence_Length(obj5);
11788 for (i=0; i<len; i++) {
11789 PyObject* item = PySequence_GetItem(obj5, i);
11790 #if wxUSE_UNICODE
11791 PyObject* str = PyObject_Unicode(item);
11792 #else
11793 PyObject* str = PyObject_Str(item);
11794 #endif
11795 if (PyErr_Occurred()) SWIG_fail;
11796 arg6->Add(Py2wxString(str));
11797 Py_DECREF(item);
11798 Py_DECREF(str);
11799 }
11800 }
11801 }
11802 if (obj6) {
11803 arg7 = (int) SWIG_AsInt(obj6);
11804 if (PyErr_Occurred()) SWIG_fail;
11805 }
11806 if (obj7) {
11807 arg8 = (long) SWIG_AsLong(obj7);
11808 if (PyErr_Occurred()) SWIG_fail;
11809 }
11810 if (obj8) {
11811 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11812 SWIG_POINTER_EXCEPTION | 0)) == -1)
11813 SWIG_fail;
11814 if (arg9 == NULL) {
11815 PyErr_SetString(PyExc_TypeError,"null reference");
11816 SWIG_fail;
11817 }
11818 }
11819 if (obj9) {
11820 {
11821 arg10 = wxString_in_helper(obj9);
11822 if (arg10 == NULL) SWIG_fail;
11823 temp10 = True;
11824 }
11825 }
11826 {
11827 if (!wxPyCheckForApp()) SWIG_fail;
11828 PyThreadState* __tstate = wxPyBeginAllowThreads();
11829 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);
11830
11831 wxPyEndAllowThreads(__tstate);
11832 if (PyErr_Occurred()) SWIG_fail;
11833 }
11834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11835 {
11836 if (temp3)
11837 delete arg3;
11838 }
11839 {
11840 if (temp6) delete arg6;
11841 }
11842 {
11843 if (temp10)
11844 delete arg10;
11845 }
11846 return resultobj;
11847 fail:
11848 {
11849 if (temp3)
11850 delete arg3;
11851 }
11852 {
11853 if (temp6) delete arg6;
11854 }
11855 {
11856 if (temp10)
11857 delete arg10;
11858 }
11859 return NULL;
11860 }
11861
11862
11863 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11864 PyObject *resultobj;
11865 wxRadioBox *result;
11866 char *kwnames[] = {
11867 NULL
11868 };
11869
11870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11871 {
11872 if (!wxPyCheckForApp()) SWIG_fail;
11873 PyThreadState* __tstate = wxPyBeginAllowThreads();
11874 result = (wxRadioBox *)new wxRadioBox();
11875
11876 wxPyEndAllowThreads(__tstate);
11877 if (PyErr_Occurred()) SWIG_fail;
11878 }
11879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11880 return resultobj;
11881 fail:
11882 return NULL;
11883 }
11884
11885
11886 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11887 PyObject *resultobj;
11888 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11889 wxWindow *arg2 = (wxWindow *) 0 ;
11890 int arg3 = (int) -1 ;
11891 wxString const &arg4_defvalue = wxPyEmptyString ;
11892 wxString *arg4 = (wxString *) &arg4_defvalue ;
11893 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11894 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11895 wxSize const &arg6_defvalue = wxDefaultSize ;
11896 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11897 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11898 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11899 int arg8 = (int) 0 ;
11900 long arg9 = (long) wxRA_HORIZONTAL ;
11901 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11902 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11903 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11904 wxString *arg11 = (wxString *) &arg11_defvalue ;
11905 bool result;
11906 bool temp4 = False ;
11907 wxPoint temp5 ;
11908 wxSize temp6 ;
11909 bool temp7 = False ;
11910 bool temp11 = False ;
11911 PyObject * obj0 = 0 ;
11912 PyObject * obj1 = 0 ;
11913 PyObject * obj2 = 0 ;
11914 PyObject * obj3 = 0 ;
11915 PyObject * obj4 = 0 ;
11916 PyObject * obj5 = 0 ;
11917 PyObject * obj6 = 0 ;
11918 PyObject * obj7 = 0 ;
11919 PyObject * obj8 = 0 ;
11920 PyObject * obj9 = 0 ;
11921 PyObject * obj10 = 0 ;
11922 char *kwnames[] = {
11923 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11924 };
11925
11926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11931 if (obj2) {
11932 arg3 = (int) SWIG_AsInt(obj2);
11933 if (PyErr_Occurred()) SWIG_fail;
11934 }
11935 if (obj3) {
11936 {
11937 arg4 = wxString_in_helper(obj3);
11938 if (arg4 == NULL) SWIG_fail;
11939 temp4 = True;
11940 }
11941 }
11942 if (obj4) {
11943 {
11944 arg5 = &temp5;
11945 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11946 }
11947 }
11948 if (obj5) {
11949 {
11950 arg6 = &temp6;
11951 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11952 }
11953 }
11954 if (obj6) {
11955 {
11956 if (! PySequence_Check(obj6)) {
11957 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11958 SWIG_fail;
11959 }
11960 arg7 = new wxArrayString;
11961 temp7 = True;
11962 int i, len=PySequence_Length(obj6);
11963 for (i=0; i<len; i++) {
11964 PyObject* item = PySequence_GetItem(obj6, i);
11965 #if wxUSE_UNICODE
11966 PyObject* str = PyObject_Unicode(item);
11967 #else
11968 PyObject* str = PyObject_Str(item);
11969 #endif
11970 if (PyErr_Occurred()) SWIG_fail;
11971 arg7->Add(Py2wxString(str));
11972 Py_DECREF(item);
11973 Py_DECREF(str);
11974 }
11975 }
11976 }
11977 if (obj7) {
11978 arg8 = (int) SWIG_AsInt(obj7);
11979 if (PyErr_Occurred()) SWIG_fail;
11980 }
11981 if (obj8) {
11982 arg9 = (long) SWIG_AsLong(obj8);
11983 if (PyErr_Occurred()) SWIG_fail;
11984 }
11985 if (obj9) {
11986 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11987 SWIG_POINTER_EXCEPTION | 0)) == -1)
11988 SWIG_fail;
11989 if (arg10 == NULL) {
11990 PyErr_SetString(PyExc_TypeError,"null reference");
11991 SWIG_fail;
11992 }
11993 }
11994 if (obj10) {
11995 {
11996 arg11 = wxString_in_helper(obj10);
11997 if (arg11 == NULL) SWIG_fail;
11998 temp11 = True;
11999 }
12000 }
12001 {
12002 PyThreadState* __tstate = wxPyBeginAllowThreads();
12003 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);
12004
12005 wxPyEndAllowThreads(__tstate);
12006 if (PyErr_Occurred()) SWIG_fail;
12007 }
12008 {
12009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12010 }
12011 {
12012 if (temp4)
12013 delete arg4;
12014 }
12015 {
12016 if (temp7) delete arg7;
12017 }
12018 {
12019 if (temp11)
12020 delete arg11;
12021 }
12022 return resultobj;
12023 fail:
12024 {
12025 if (temp4)
12026 delete arg4;
12027 }
12028 {
12029 if (temp7) delete arg7;
12030 }
12031 {
12032 if (temp11)
12033 delete arg11;
12034 }
12035 return NULL;
12036 }
12037
12038
12039 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12040 PyObject *resultobj;
12041 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12042 int arg2 ;
12043 PyObject * obj0 = 0 ;
12044 PyObject * obj1 = 0 ;
12045 char *kwnames[] = {
12046 (char *) "self",(char *) "n", NULL
12047 };
12048
12049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12052 arg2 = (int) SWIG_AsInt(obj1);
12053 if (PyErr_Occurred()) SWIG_fail;
12054 {
12055 PyThreadState* __tstate = wxPyBeginAllowThreads();
12056 (arg1)->SetSelection(arg2);
12057
12058 wxPyEndAllowThreads(__tstate);
12059 if (PyErr_Occurred()) SWIG_fail;
12060 }
12061 Py_INCREF(Py_None); resultobj = Py_None;
12062 return resultobj;
12063 fail:
12064 return NULL;
12065 }
12066
12067
12068 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12069 PyObject *resultobj;
12070 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12071 int result;
12072 PyObject * obj0 = 0 ;
12073 char *kwnames[] = {
12074 (char *) "self", NULL
12075 };
12076
12077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
12078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12080 {
12081 PyThreadState* __tstate = wxPyBeginAllowThreads();
12082 result = (int)((wxRadioBox const *)arg1)->GetSelection();
12083
12084 wxPyEndAllowThreads(__tstate);
12085 if (PyErr_Occurred()) SWIG_fail;
12086 }
12087 resultobj = SWIG_FromInt((int)result);
12088 return resultobj;
12089 fail:
12090 return NULL;
12091 }
12092
12093
12094 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12095 PyObject *resultobj;
12096 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12097 wxString result;
12098 PyObject * obj0 = 0 ;
12099 char *kwnames[] = {
12100 (char *) "self", NULL
12101 };
12102
12103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
12104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12106 {
12107 PyThreadState* __tstate = wxPyBeginAllowThreads();
12108 result = ((wxRadioBox const *)arg1)->GetStringSelection();
12109
12110 wxPyEndAllowThreads(__tstate);
12111 if (PyErr_Occurred()) SWIG_fail;
12112 }
12113 {
12114 #if wxUSE_UNICODE
12115 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12116 #else
12117 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12118 #endif
12119 }
12120 return resultobj;
12121 fail:
12122 return NULL;
12123 }
12124
12125
12126 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12127 PyObject *resultobj;
12128 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12129 wxString *arg2 = 0 ;
12130 bool result;
12131 bool temp2 = False ;
12132 PyObject * obj0 = 0 ;
12133 PyObject * obj1 = 0 ;
12134 char *kwnames[] = {
12135 (char *) "self",(char *) "s", NULL
12136 };
12137
12138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
12139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12141 {
12142 arg2 = wxString_in_helper(obj1);
12143 if (arg2 == NULL) SWIG_fail;
12144 temp2 = True;
12145 }
12146 {
12147 PyThreadState* __tstate = wxPyBeginAllowThreads();
12148 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
12149
12150 wxPyEndAllowThreads(__tstate);
12151 if (PyErr_Occurred()) SWIG_fail;
12152 }
12153 {
12154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12155 }
12156 {
12157 if (temp2)
12158 delete arg2;
12159 }
12160 return resultobj;
12161 fail:
12162 {
12163 if (temp2)
12164 delete arg2;
12165 }
12166 return NULL;
12167 }
12168
12169
12170 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12171 PyObject *resultobj;
12172 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12173 int result;
12174 PyObject * obj0 = 0 ;
12175 char *kwnames[] = {
12176 (char *) "self", NULL
12177 };
12178
12179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
12180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12182 {
12183 PyThreadState* __tstate = wxPyBeginAllowThreads();
12184 result = (int)((wxRadioBox const *)arg1)->GetCount();
12185
12186 wxPyEndAllowThreads(__tstate);
12187 if (PyErr_Occurred()) SWIG_fail;
12188 }
12189 resultobj = SWIG_FromInt((int)result);
12190 return resultobj;
12191 fail:
12192 return NULL;
12193 }
12194
12195
12196 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12197 PyObject *resultobj;
12198 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12199 wxString *arg2 = 0 ;
12200 int result;
12201 bool temp2 = False ;
12202 PyObject * obj0 = 0 ;
12203 PyObject * obj1 = 0 ;
12204 char *kwnames[] = {
12205 (char *) "self",(char *) "s", NULL
12206 };
12207
12208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
12209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12211 {
12212 arg2 = wxString_in_helper(obj1);
12213 if (arg2 == NULL) SWIG_fail;
12214 temp2 = True;
12215 }
12216 {
12217 PyThreadState* __tstate = wxPyBeginAllowThreads();
12218 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
12219
12220 wxPyEndAllowThreads(__tstate);
12221 if (PyErr_Occurred()) SWIG_fail;
12222 }
12223 resultobj = SWIG_FromInt((int)result);
12224 {
12225 if (temp2)
12226 delete arg2;
12227 }
12228 return resultobj;
12229 fail:
12230 {
12231 if (temp2)
12232 delete arg2;
12233 }
12234 return NULL;
12235 }
12236
12237
12238 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12239 PyObject *resultobj;
12240 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12241 int arg2 ;
12242 wxString result;
12243 PyObject * obj0 = 0 ;
12244 PyObject * obj1 = 0 ;
12245 char *kwnames[] = {
12246 (char *) "self",(char *) "n", NULL
12247 };
12248
12249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
12250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12252 arg2 = (int) SWIG_AsInt(obj1);
12253 if (PyErr_Occurred()) SWIG_fail;
12254 {
12255 PyThreadState* __tstate = wxPyBeginAllowThreads();
12256 result = ((wxRadioBox const *)arg1)->GetString(arg2);
12257
12258 wxPyEndAllowThreads(__tstate);
12259 if (PyErr_Occurred()) SWIG_fail;
12260 }
12261 {
12262 #if wxUSE_UNICODE
12263 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12264 #else
12265 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12266 #endif
12267 }
12268 return resultobj;
12269 fail:
12270 return NULL;
12271 }
12272
12273
12274 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12275 PyObject *resultobj;
12276 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12277 int arg2 ;
12278 wxString *arg3 = 0 ;
12279 bool temp3 = False ;
12280 PyObject * obj0 = 0 ;
12281 PyObject * obj1 = 0 ;
12282 PyObject * obj2 = 0 ;
12283 char *kwnames[] = {
12284 (char *) "self",(char *) "n",(char *) "label", NULL
12285 };
12286
12287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
12288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12290 arg2 = (int) SWIG_AsInt(obj1);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 {
12293 arg3 = wxString_in_helper(obj2);
12294 if (arg3 == NULL) SWIG_fail;
12295 temp3 = True;
12296 }
12297 {
12298 PyThreadState* __tstate = wxPyBeginAllowThreads();
12299 (arg1)->SetString(arg2,(wxString const &)*arg3);
12300
12301 wxPyEndAllowThreads(__tstate);
12302 if (PyErr_Occurred()) SWIG_fail;
12303 }
12304 Py_INCREF(Py_None); resultobj = Py_None;
12305 {
12306 if (temp3)
12307 delete arg3;
12308 }
12309 return resultobj;
12310 fail:
12311 {
12312 if (temp3)
12313 delete arg3;
12314 }
12315 return NULL;
12316 }
12317
12318
12319 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12320 PyObject *resultobj;
12321 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12322 int arg2 ;
12323 bool arg3 = (bool) True ;
12324 PyObject * obj0 = 0 ;
12325 PyObject * obj1 = 0 ;
12326 PyObject * obj2 = 0 ;
12327 char *kwnames[] = {
12328 (char *) "self",(char *) "n",(char *) "enable", NULL
12329 };
12330
12331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12334 arg2 = (int) SWIG_AsInt(obj1);
12335 if (PyErr_Occurred()) SWIG_fail;
12336 if (obj2) {
12337 arg3 = (bool) SWIG_AsBool(obj2);
12338 if (PyErr_Occurred()) SWIG_fail;
12339 }
12340 {
12341 PyThreadState* __tstate = wxPyBeginAllowThreads();
12342 (arg1)->Enable(arg2,arg3);
12343
12344 wxPyEndAllowThreads(__tstate);
12345 if (PyErr_Occurred()) SWIG_fail;
12346 }
12347 Py_INCREF(Py_None); resultobj = Py_None;
12348 return resultobj;
12349 fail:
12350 return NULL;
12351 }
12352
12353
12354 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12355 PyObject *resultobj;
12356 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12357 int arg2 ;
12358 bool arg3 = (bool) True ;
12359 PyObject * obj0 = 0 ;
12360 PyObject * obj1 = 0 ;
12361 PyObject * obj2 = 0 ;
12362 char *kwnames[] = {
12363 (char *) "self",(char *) "n",(char *) "show", NULL
12364 };
12365
12366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12369 arg2 = (int) SWIG_AsInt(obj1);
12370 if (PyErr_Occurred()) SWIG_fail;
12371 if (obj2) {
12372 arg3 = (bool) SWIG_AsBool(obj2);
12373 if (PyErr_Occurred()) SWIG_fail;
12374 }
12375 {
12376 PyThreadState* __tstate = wxPyBeginAllowThreads();
12377 (arg1)->Show(arg2,arg3);
12378
12379 wxPyEndAllowThreads(__tstate);
12380 if (PyErr_Occurred()) SWIG_fail;
12381 }
12382 Py_INCREF(Py_None); resultobj = Py_None;
12383 return resultobj;
12384 fail:
12385 return NULL;
12386 }
12387
12388
12389 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12390 PyObject *resultobj;
12391 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12392 int result;
12393 PyObject * obj0 = 0 ;
12394 char *kwnames[] = {
12395 (char *) "self", NULL
12396 };
12397
12398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
12399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12401 {
12402 PyThreadState* __tstate = wxPyBeginAllowThreads();
12403 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
12404
12405 wxPyEndAllowThreads(__tstate);
12406 if (PyErr_Occurred()) SWIG_fail;
12407 }
12408 resultobj = SWIG_FromInt((int)result);
12409 return resultobj;
12410 fail:
12411 return NULL;
12412 }
12413
12414
12415 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12416 PyObject *resultobj;
12417 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12418 int result;
12419 PyObject * obj0 = 0 ;
12420 char *kwnames[] = {
12421 (char *) "self", NULL
12422 };
12423
12424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
12425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12427 {
12428 PyThreadState* __tstate = wxPyBeginAllowThreads();
12429 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
12430
12431 wxPyEndAllowThreads(__tstate);
12432 if (PyErr_Occurred()) SWIG_fail;
12433 }
12434 resultobj = SWIG_FromInt((int)result);
12435 return resultobj;
12436 fail:
12437 return NULL;
12438 }
12439
12440
12441 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12442 PyObject *resultobj;
12443 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12444 int arg2 ;
12445 int arg3 ;
12446 long arg4 ;
12447 int result;
12448 PyObject * obj0 = 0 ;
12449 PyObject * obj1 = 0 ;
12450 PyObject * obj2 = 0 ;
12451 PyObject * obj3 = 0 ;
12452 char *kwnames[] = {
12453 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12454 };
12455
12456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12459 arg2 = (int) SWIG_AsInt(obj1);
12460 if (PyErr_Occurred()) SWIG_fail;
12461 arg3 = (wxDirection) SWIG_AsInt(obj2);
12462 if (PyErr_Occurred()) SWIG_fail;
12463 arg4 = (long) SWIG_AsLong(obj3);
12464 if (PyErr_Occurred()) SWIG_fail;
12465 {
12466 PyThreadState* __tstate = wxPyBeginAllowThreads();
12467 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
12468
12469 wxPyEndAllowThreads(__tstate);
12470 if (PyErr_Occurred()) SWIG_fail;
12471 }
12472 resultobj = SWIG_FromInt((int)result);
12473 return resultobj;
12474 fail:
12475 return NULL;
12476 }
12477
12478
12479 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
12480 PyObject *resultobj;
12481 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12482 wxVisualAttributes result;
12483 PyObject * obj0 = 0 ;
12484 char *kwnames[] = {
12485 (char *) "variant", NULL
12486 };
12487
12488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12489 if (obj0) {
12490 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
12491 if (PyErr_Occurred()) SWIG_fail;
12492 }
12493 {
12494 if (!wxPyCheckForApp()) SWIG_fail;
12495 PyThreadState* __tstate = wxPyBeginAllowThreads();
12496 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
12497
12498 wxPyEndAllowThreads(__tstate);
12499 if (PyErr_Occurred()) SWIG_fail;
12500 }
12501 {
12502 wxVisualAttributes * resultptr;
12503 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12504 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12505 }
12506 return resultobj;
12507 fail:
12508 return NULL;
12509 }
12510
12511
12512 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
12513 PyObject *obj;
12514 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12515 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
12516 Py_INCREF(obj);
12517 return Py_BuildValue((char *)"");
12518 }
12519 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12520 PyObject *resultobj;
12521 wxWindow *arg1 = (wxWindow *) 0 ;
12522 int arg2 = (int) -1 ;
12523 wxString const &arg3_defvalue = wxPyEmptyString ;
12524 wxString *arg3 = (wxString *) &arg3_defvalue ;
12525 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12526 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12527 wxSize const &arg5_defvalue = wxDefaultSize ;
12528 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12529 long arg6 = (long) 0 ;
12530 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12531 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12532 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
12533 wxString *arg8 = (wxString *) &arg8_defvalue ;
12534 wxRadioButton *result;
12535 bool temp3 = False ;
12536 wxPoint temp4 ;
12537 wxSize temp5 ;
12538 bool temp8 = False ;
12539 PyObject * obj0 = 0 ;
12540 PyObject * obj1 = 0 ;
12541 PyObject * obj2 = 0 ;
12542 PyObject * obj3 = 0 ;
12543 PyObject * obj4 = 0 ;
12544 PyObject * obj5 = 0 ;
12545 PyObject * obj6 = 0 ;
12546 PyObject * obj7 = 0 ;
12547 char *kwnames[] = {
12548 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12549 };
12550
12551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12554 if (obj1) {
12555 arg2 = (int) SWIG_AsInt(obj1);
12556 if (PyErr_Occurred()) SWIG_fail;
12557 }
12558 if (obj2) {
12559 {
12560 arg3 = wxString_in_helper(obj2);
12561 if (arg3 == NULL) SWIG_fail;
12562 temp3 = True;
12563 }
12564 }
12565 if (obj3) {
12566 {
12567 arg4 = &temp4;
12568 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12569 }
12570 }
12571 if (obj4) {
12572 {
12573 arg5 = &temp5;
12574 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12575 }
12576 }
12577 if (obj5) {
12578 arg6 = (long) SWIG_AsLong(obj5);
12579 if (PyErr_Occurred()) SWIG_fail;
12580 }
12581 if (obj6) {
12582 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12583 SWIG_POINTER_EXCEPTION | 0)) == -1)
12584 SWIG_fail;
12585 if (arg7 == NULL) {
12586 PyErr_SetString(PyExc_TypeError,"null reference");
12587 SWIG_fail;
12588 }
12589 }
12590 if (obj7) {
12591 {
12592 arg8 = wxString_in_helper(obj7);
12593 if (arg8 == NULL) SWIG_fail;
12594 temp8 = True;
12595 }
12596 }
12597 {
12598 if (!wxPyCheckForApp()) SWIG_fail;
12599 PyThreadState* __tstate = wxPyBeginAllowThreads();
12600 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12601
12602 wxPyEndAllowThreads(__tstate);
12603 if (PyErr_Occurred()) SWIG_fail;
12604 }
12605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12606 {
12607 if (temp3)
12608 delete arg3;
12609 }
12610 {
12611 if (temp8)
12612 delete arg8;
12613 }
12614 return resultobj;
12615 fail:
12616 {
12617 if (temp3)
12618 delete arg3;
12619 }
12620 {
12621 if (temp8)
12622 delete arg8;
12623 }
12624 return NULL;
12625 }
12626
12627
12628 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12629 PyObject *resultobj;
12630 wxRadioButton *result;
12631 char *kwnames[] = {
12632 NULL
12633 };
12634
12635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
12636 {
12637 if (!wxPyCheckForApp()) SWIG_fail;
12638 PyThreadState* __tstate = wxPyBeginAllowThreads();
12639 result = (wxRadioButton *)new wxRadioButton();
12640
12641 wxPyEndAllowThreads(__tstate);
12642 if (PyErr_Occurred()) SWIG_fail;
12643 }
12644 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12645 return resultobj;
12646 fail:
12647 return NULL;
12648 }
12649
12650
12651 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12652 PyObject *resultobj;
12653 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12654 wxWindow *arg2 = (wxWindow *) 0 ;
12655 int arg3 = (int) -1 ;
12656 wxString const &arg4_defvalue = wxPyEmptyString ;
12657 wxString *arg4 = (wxString *) &arg4_defvalue ;
12658 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12659 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12660 wxSize const &arg6_defvalue = wxDefaultSize ;
12661 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12662 long arg7 = (long) 0 ;
12663 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12664 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12665 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
12666 wxString *arg9 = (wxString *) &arg9_defvalue ;
12667 bool result;
12668 bool temp4 = False ;
12669 wxPoint temp5 ;
12670 wxSize temp6 ;
12671 bool temp9 = False ;
12672 PyObject * obj0 = 0 ;
12673 PyObject * obj1 = 0 ;
12674 PyObject * obj2 = 0 ;
12675 PyObject * obj3 = 0 ;
12676 PyObject * obj4 = 0 ;
12677 PyObject * obj5 = 0 ;
12678 PyObject * obj6 = 0 ;
12679 PyObject * obj7 = 0 ;
12680 PyObject * obj8 = 0 ;
12681 char *kwnames[] = {
12682 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12683 };
12684
12685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
12686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12688 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12690 if (obj2) {
12691 arg3 = (int) SWIG_AsInt(obj2);
12692 if (PyErr_Occurred()) SWIG_fail;
12693 }
12694 if (obj3) {
12695 {
12696 arg4 = wxString_in_helper(obj3);
12697 if (arg4 == NULL) SWIG_fail;
12698 temp4 = True;
12699 }
12700 }
12701 if (obj4) {
12702 {
12703 arg5 = &temp5;
12704 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12705 }
12706 }
12707 if (obj5) {
12708 {
12709 arg6 = &temp6;
12710 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12711 }
12712 }
12713 if (obj6) {
12714 arg7 = (long) SWIG_AsLong(obj6);
12715 if (PyErr_Occurred()) SWIG_fail;
12716 }
12717 if (obj7) {
12718 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
12719 SWIG_POINTER_EXCEPTION | 0)) == -1)
12720 SWIG_fail;
12721 if (arg8 == NULL) {
12722 PyErr_SetString(PyExc_TypeError,"null reference");
12723 SWIG_fail;
12724 }
12725 }
12726 if (obj8) {
12727 {
12728 arg9 = wxString_in_helper(obj8);
12729 if (arg9 == NULL) SWIG_fail;
12730 temp9 = True;
12731 }
12732 }
12733 {
12734 PyThreadState* __tstate = wxPyBeginAllowThreads();
12735 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12736
12737 wxPyEndAllowThreads(__tstate);
12738 if (PyErr_Occurred()) SWIG_fail;
12739 }
12740 {
12741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12742 }
12743 {
12744 if (temp4)
12745 delete arg4;
12746 }
12747 {
12748 if (temp9)
12749 delete arg9;
12750 }
12751 return resultobj;
12752 fail:
12753 {
12754 if (temp4)
12755 delete arg4;
12756 }
12757 {
12758 if (temp9)
12759 delete arg9;
12760 }
12761 return NULL;
12762 }
12763
12764
12765 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12766 PyObject *resultobj;
12767 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12768 bool result;
12769 PyObject * obj0 = 0 ;
12770 char *kwnames[] = {
12771 (char *) "self", NULL
12772 };
12773
12774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
12775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12777 {
12778 PyThreadState* __tstate = wxPyBeginAllowThreads();
12779 result = (bool)(arg1)->GetValue();
12780
12781 wxPyEndAllowThreads(__tstate);
12782 if (PyErr_Occurred()) SWIG_fail;
12783 }
12784 {
12785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12786 }
12787 return resultobj;
12788 fail:
12789 return NULL;
12790 }
12791
12792
12793 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12794 PyObject *resultobj;
12795 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12796 bool arg2 ;
12797 PyObject * obj0 = 0 ;
12798 PyObject * obj1 = 0 ;
12799 char *kwnames[] = {
12800 (char *) "self",(char *) "value", NULL
12801 };
12802
12803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12806 arg2 = (bool) SWIG_AsBool(obj1);
12807 if (PyErr_Occurred()) SWIG_fail;
12808 {
12809 PyThreadState* __tstate = wxPyBeginAllowThreads();
12810 (arg1)->SetValue(arg2);
12811
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 Py_INCREF(Py_None); resultobj = Py_None;
12816 return resultobj;
12817 fail:
12818 return NULL;
12819 }
12820
12821
12822 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
12823 PyObject *resultobj;
12824 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12825 wxVisualAttributes result;
12826 PyObject * obj0 = 0 ;
12827 char *kwnames[] = {
12828 (char *) "variant", NULL
12829 };
12830
12831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12832 if (obj0) {
12833 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
12834 if (PyErr_Occurred()) SWIG_fail;
12835 }
12836 {
12837 if (!wxPyCheckForApp()) SWIG_fail;
12838 PyThreadState* __tstate = wxPyBeginAllowThreads();
12839 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12840
12841 wxPyEndAllowThreads(__tstate);
12842 if (PyErr_Occurred()) SWIG_fail;
12843 }
12844 {
12845 wxVisualAttributes * resultptr;
12846 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12847 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12848 }
12849 return resultobj;
12850 fail:
12851 return NULL;
12852 }
12853
12854
12855 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
12856 PyObject *obj;
12857 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12858 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12859 Py_INCREF(obj);
12860 return Py_BuildValue((char *)"");
12861 }
12862 static int _wrap_SliderNameStr_set(PyObject *_val) {
12863 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12864 return 1;
12865 }
12866
12867
12868 static PyObject *_wrap_SliderNameStr_get() {
12869 PyObject *pyobj;
12870
12871 {
12872 #if wxUSE_UNICODE
12873 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12874 #else
12875 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12876 #endif
12877 }
12878 return pyobj;
12879 }
12880
12881
12882 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
12883 PyObject *resultobj;
12884 wxWindow *arg1 = (wxWindow *) 0 ;
12885 int arg2 = (int) -1 ;
12886 int arg3 = (int) 0 ;
12887 int arg4 = (int) 0 ;
12888 int arg5 = (int) 100 ;
12889 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12890 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12891 wxSize const &arg7_defvalue = wxDefaultSize ;
12892 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12893 long arg8 = (long) wxSL_HORIZONTAL ;
12894 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12895 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12896 wxString const &arg10_defvalue = wxPySliderNameStr ;
12897 wxString *arg10 = (wxString *) &arg10_defvalue ;
12898 wxSlider *result;
12899 wxPoint temp6 ;
12900 wxSize temp7 ;
12901 bool temp10 = False ;
12902 PyObject * obj0 = 0 ;
12903 PyObject * obj1 = 0 ;
12904 PyObject * obj2 = 0 ;
12905 PyObject * obj3 = 0 ;
12906 PyObject * obj4 = 0 ;
12907 PyObject * obj5 = 0 ;
12908 PyObject * obj6 = 0 ;
12909 PyObject * obj7 = 0 ;
12910 PyObject * obj8 = 0 ;
12911 PyObject * obj9 = 0 ;
12912 char *kwnames[] = {
12913 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12914 };
12915
12916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12919 if (obj1) {
12920 arg2 = (int) SWIG_AsInt(obj1);
12921 if (PyErr_Occurred()) SWIG_fail;
12922 }
12923 if (obj2) {
12924 arg3 = (int) SWIG_AsInt(obj2);
12925 if (PyErr_Occurred()) SWIG_fail;
12926 }
12927 if (obj3) {
12928 arg4 = (int) SWIG_AsInt(obj3);
12929 if (PyErr_Occurred()) SWIG_fail;
12930 }
12931 if (obj4) {
12932 arg5 = (int) SWIG_AsInt(obj4);
12933 if (PyErr_Occurred()) SWIG_fail;
12934 }
12935 if (obj5) {
12936 {
12937 arg6 = &temp6;
12938 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12939 }
12940 }
12941 if (obj6) {
12942 {
12943 arg7 = &temp7;
12944 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12945 }
12946 }
12947 if (obj7) {
12948 arg8 = (long) SWIG_AsLong(obj7);
12949 if (PyErr_Occurred()) SWIG_fail;
12950 }
12951 if (obj8) {
12952 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12953 SWIG_POINTER_EXCEPTION | 0)) == -1)
12954 SWIG_fail;
12955 if (arg9 == NULL) {
12956 PyErr_SetString(PyExc_TypeError,"null reference");
12957 SWIG_fail;
12958 }
12959 }
12960 if (obj9) {
12961 {
12962 arg10 = wxString_in_helper(obj9);
12963 if (arg10 == NULL) SWIG_fail;
12964 temp10 = True;
12965 }
12966 }
12967 {
12968 if (!wxPyCheckForApp()) SWIG_fail;
12969 PyThreadState* __tstate = wxPyBeginAllowThreads();
12970 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12971
12972 wxPyEndAllowThreads(__tstate);
12973 if (PyErr_Occurred()) SWIG_fail;
12974 }
12975 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12976 {
12977 if (temp10)
12978 delete arg10;
12979 }
12980 return resultobj;
12981 fail:
12982 {
12983 if (temp10)
12984 delete arg10;
12985 }
12986 return NULL;
12987 }
12988
12989
12990 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
12991 PyObject *resultobj;
12992 wxSlider *result;
12993 char *kwnames[] = {
12994 NULL
12995 };
12996
12997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12998 {
12999 if (!wxPyCheckForApp()) SWIG_fail;
13000 PyThreadState* __tstate = wxPyBeginAllowThreads();
13001 result = (wxSlider *)new wxSlider();
13002
13003 wxPyEndAllowThreads(__tstate);
13004 if (PyErr_Occurred()) SWIG_fail;
13005 }
13006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
13007 return resultobj;
13008 fail:
13009 return NULL;
13010 }
13011
13012
13013 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13014 PyObject *resultobj;
13015 wxSlider *arg1 = (wxSlider *) 0 ;
13016 wxWindow *arg2 = (wxWindow *) 0 ;
13017 int arg3 = (int) -1 ;
13018 int arg4 = (int) 0 ;
13019 int arg5 = (int) 0 ;
13020 int arg6 = (int) 100 ;
13021 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13022 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13023 wxSize const &arg8_defvalue = wxDefaultSize ;
13024 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
13025 long arg9 = (long) wxSL_HORIZONTAL ;
13026 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13027 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13028 wxString const &arg11_defvalue = wxPySliderNameStr ;
13029 wxString *arg11 = (wxString *) &arg11_defvalue ;
13030 bool result;
13031 wxPoint temp7 ;
13032 wxSize temp8 ;
13033 bool temp11 = False ;
13034 PyObject * obj0 = 0 ;
13035 PyObject * obj1 = 0 ;
13036 PyObject * obj2 = 0 ;
13037 PyObject * obj3 = 0 ;
13038 PyObject * obj4 = 0 ;
13039 PyObject * obj5 = 0 ;
13040 PyObject * obj6 = 0 ;
13041 PyObject * obj7 = 0 ;
13042 PyObject * obj8 = 0 ;
13043 PyObject * obj9 = 0 ;
13044 PyObject * obj10 = 0 ;
13045 char *kwnames[] = {
13046 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13047 };
13048
13049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13052 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13054 if (obj2) {
13055 arg3 = (int) SWIG_AsInt(obj2);
13056 if (PyErr_Occurred()) SWIG_fail;
13057 }
13058 if (obj3) {
13059 arg4 = (int) SWIG_AsInt(obj3);
13060 if (PyErr_Occurred()) SWIG_fail;
13061 }
13062 if (obj4) {
13063 arg5 = (int) SWIG_AsInt(obj4);
13064 if (PyErr_Occurred()) SWIG_fail;
13065 }
13066 if (obj5) {
13067 arg6 = (int) SWIG_AsInt(obj5);
13068 if (PyErr_Occurred()) SWIG_fail;
13069 }
13070 if (obj6) {
13071 {
13072 arg7 = &temp7;
13073 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
13074 }
13075 }
13076 if (obj7) {
13077 {
13078 arg8 = &temp8;
13079 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
13080 }
13081 }
13082 if (obj8) {
13083 arg9 = (long) SWIG_AsLong(obj8);
13084 if (PyErr_Occurred()) SWIG_fail;
13085 }
13086 if (obj9) {
13087 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
13088 SWIG_POINTER_EXCEPTION | 0)) == -1)
13089 SWIG_fail;
13090 if (arg10 == NULL) {
13091 PyErr_SetString(PyExc_TypeError,"null reference");
13092 SWIG_fail;
13093 }
13094 }
13095 if (obj10) {
13096 {
13097 arg11 = wxString_in_helper(obj10);
13098 if (arg11 == NULL) SWIG_fail;
13099 temp11 = True;
13100 }
13101 }
13102 {
13103 PyThreadState* __tstate = wxPyBeginAllowThreads();
13104 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
13105
13106 wxPyEndAllowThreads(__tstate);
13107 if (PyErr_Occurred()) SWIG_fail;
13108 }
13109 {
13110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13111 }
13112 {
13113 if (temp11)
13114 delete arg11;
13115 }
13116 return resultobj;
13117 fail:
13118 {
13119 if (temp11)
13120 delete arg11;
13121 }
13122 return NULL;
13123 }
13124
13125
13126 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13127 PyObject *resultobj;
13128 wxSlider *arg1 = (wxSlider *) 0 ;
13129 int result;
13130 PyObject * obj0 = 0 ;
13131 char *kwnames[] = {
13132 (char *) "self", NULL
13133 };
13134
13135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
13136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13138 {
13139 PyThreadState* __tstate = wxPyBeginAllowThreads();
13140 result = (int)((wxSlider const *)arg1)->GetValue();
13141
13142 wxPyEndAllowThreads(__tstate);
13143 if (PyErr_Occurred()) SWIG_fail;
13144 }
13145 resultobj = SWIG_FromInt((int)result);
13146 return resultobj;
13147 fail:
13148 return NULL;
13149 }
13150
13151
13152 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13153 PyObject *resultobj;
13154 wxSlider *arg1 = (wxSlider *) 0 ;
13155 int arg2 ;
13156 PyObject * obj0 = 0 ;
13157 PyObject * obj1 = 0 ;
13158 char *kwnames[] = {
13159 (char *) "self",(char *) "value", NULL
13160 };
13161
13162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
13163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13165 arg2 = (int) SWIG_AsInt(obj1);
13166 if (PyErr_Occurred()) SWIG_fail;
13167 {
13168 PyThreadState* __tstate = wxPyBeginAllowThreads();
13169 (arg1)->SetValue(arg2);
13170
13171 wxPyEndAllowThreads(__tstate);
13172 if (PyErr_Occurred()) SWIG_fail;
13173 }
13174 Py_INCREF(Py_None); resultobj = Py_None;
13175 return resultobj;
13176 fail:
13177 return NULL;
13178 }
13179
13180
13181 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13182 PyObject *resultobj;
13183 wxSlider *arg1 = (wxSlider *) 0 ;
13184 int arg2 ;
13185 int arg3 ;
13186 PyObject * obj0 = 0 ;
13187 PyObject * obj1 = 0 ;
13188 PyObject * obj2 = 0 ;
13189 char *kwnames[] = {
13190 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13191 };
13192
13193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13196 arg2 = (int) SWIG_AsInt(obj1);
13197 if (PyErr_Occurred()) SWIG_fail;
13198 arg3 = (int) SWIG_AsInt(obj2);
13199 if (PyErr_Occurred()) SWIG_fail;
13200 {
13201 PyThreadState* __tstate = wxPyBeginAllowThreads();
13202 (arg1)->SetRange(arg2,arg3);
13203
13204 wxPyEndAllowThreads(__tstate);
13205 if (PyErr_Occurred()) SWIG_fail;
13206 }
13207 Py_INCREF(Py_None); resultobj = Py_None;
13208 return resultobj;
13209 fail:
13210 return NULL;
13211 }
13212
13213
13214 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13215 PyObject *resultobj;
13216 wxSlider *arg1 = (wxSlider *) 0 ;
13217 int result;
13218 PyObject * obj0 = 0 ;
13219 char *kwnames[] = {
13220 (char *) "self", NULL
13221 };
13222
13223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
13224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13226 {
13227 PyThreadState* __tstate = wxPyBeginAllowThreads();
13228 result = (int)((wxSlider const *)arg1)->GetMin();
13229
13230 wxPyEndAllowThreads(__tstate);
13231 if (PyErr_Occurred()) SWIG_fail;
13232 }
13233 resultobj = SWIG_FromInt((int)result);
13234 return resultobj;
13235 fail:
13236 return NULL;
13237 }
13238
13239
13240 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
13241 PyObject *resultobj;
13242 wxSlider *arg1 = (wxSlider *) 0 ;
13243 int result;
13244 PyObject * obj0 = 0 ;
13245 char *kwnames[] = {
13246 (char *) "self", NULL
13247 };
13248
13249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
13250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13252 {
13253 PyThreadState* __tstate = wxPyBeginAllowThreads();
13254 result = (int)((wxSlider const *)arg1)->GetMax();
13255
13256 wxPyEndAllowThreads(__tstate);
13257 if (PyErr_Occurred()) SWIG_fail;
13258 }
13259 resultobj = SWIG_FromInt((int)result);
13260 return resultobj;
13261 fail:
13262 return NULL;
13263 }
13264
13265
13266 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13267 PyObject *resultobj;
13268 wxSlider *arg1 = (wxSlider *) 0 ;
13269 int arg2 ;
13270 PyObject * obj0 = 0 ;
13271 PyObject * obj1 = 0 ;
13272 char *kwnames[] = {
13273 (char *) "self",(char *) "minValue", NULL
13274 };
13275
13276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
13277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13279 arg2 = (int) SWIG_AsInt(obj1);
13280 if (PyErr_Occurred()) SWIG_fail;
13281 {
13282 PyThreadState* __tstate = wxPyBeginAllowThreads();
13283 (arg1)->SetMin(arg2);
13284
13285 wxPyEndAllowThreads(__tstate);
13286 if (PyErr_Occurred()) SWIG_fail;
13287 }
13288 Py_INCREF(Py_None); resultobj = Py_None;
13289 return resultobj;
13290 fail:
13291 return NULL;
13292 }
13293
13294
13295 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
13296 PyObject *resultobj;
13297 wxSlider *arg1 = (wxSlider *) 0 ;
13298 int arg2 ;
13299 PyObject * obj0 = 0 ;
13300 PyObject * obj1 = 0 ;
13301 char *kwnames[] = {
13302 (char *) "self",(char *) "maxValue", NULL
13303 };
13304
13305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
13306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13308 arg2 = (int) SWIG_AsInt(obj1);
13309 if (PyErr_Occurred()) SWIG_fail;
13310 {
13311 PyThreadState* __tstate = wxPyBeginAllowThreads();
13312 (arg1)->SetMax(arg2);
13313
13314 wxPyEndAllowThreads(__tstate);
13315 if (PyErr_Occurred()) SWIG_fail;
13316 }
13317 Py_INCREF(Py_None); resultobj = Py_None;
13318 return resultobj;
13319 fail:
13320 return NULL;
13321 }
13322
13323
13324 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13325 PyObject *resultobj;
13326 wxSlider *arg1 = (wxSlider *) 0 ;
13327 int arg2 ;
13328 PyObject * obj0 = 0 ;
13329 PyObject * obj1 = 0 ;
13330 char *kwnames[] = {
13331 (char *) "self",(char *) "lineSize", NULL
13332 };
13333
13334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
13335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13337 arg2 = (int) SWIG_AsInt(obj1);
13338 if (PyErr_Occurred()) SWIG_fail;
13339 {
13340 PyThreadState* __tstate = wxPyBeginAllowThreads();
13341 (arg1)->SetLineSize(arg2);
13342
13343 wxPyEndAllowThreads(__tstate);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 }
13346 Py_INCREF(Py_None); resultobj = Py_None;
13347 return resultobj;
13348 fail:
13349 return NULL;
13350 }
13351
13352
13353 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13354 PyObject *resultobj;
13355 wxSlider *arg1 = (wxSlider *) 0 ;
13356 int arg2 ;
13357 PyObject * obj0 = 0 ;
13358 PyObject * obj1 = 0 ;
13359 char *kwnames[] = {
13360 (char *) "self",(char *) "pageSize", NULL
13361 };
13362
13363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13366 arg2 = (int) SWIG_AsInt(obj1);
13367 if (PyErr_Occurred()) SWIG_fail;
13368 {
13369 PyThreadState* __tstate = wxPyBeginAllowThreads();
13370 (arg1)->SetPageSize(arg2);
13371
13372 wxPyEndAllowThreads(__tstate);
13373 if (PyErr_Occurred()) SWIG_fail;
13374 }
13375 Py_INCREF(Py_None); resultobj = Py_None;
13376 return resultobj;
13377 fail:
13378 return NULL;
13379 }
13380
13381
13382 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13383 PyObject *resultobj;
13384 wxSlider *arg1 = (wxSlider *) 0 ;
13385 int result;
13386 PyObject * obj0 = 0 ;
13387 char *kwnames[] = {
13388 (char *) "self", NULL
13389 };
13390
13391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
13392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13394 {
13395 PyThreadState* __tstate = wxPyBeginAllowThreads();
13396 result = (int)((wxSlider const *)arg1)->GetLineSize();
13397
13398 wxPyEndAllowThreads(__tstate);
13399 if (PyErr_Occurred()) SWIG_fail;
13400 }
13401 resultobj = SWIG_FromInt((int)result);
13402 return resultobj;
13403 fail:
13404 return NULL;
13405 }
13406
13407
13408 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13409 PyObject *resultobj;
13410 wxSlider *arg1 = (wxSlider *) 0 ;
13411 int result;
13412 PyObject * obj0 = 0 ;
13413 char *kwnames[] = {
13414 (char *) "self", NULL
13415 };
13416
13417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
13418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13420 {
13421 PyThreadState* __tstate = wxPyBeginAllowThreads();
13422 result = (int)((wxSlider const *)arg1)->GetPageSize();
13423
13424 wxPyEndAllowThreads(__tstate);
13425 if (PyErr_Occurred()) SWIG_fail;
13426 }
13427 resultobj = SWIG_FromInt((int)result);
13428 return resultobj;
13429 fail:
13430 return NULL;
13431 }
13432
13433
13434 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13435 PyObject *resultobj;
13436 wxSlider *arg1 = (wxSlider *) 0 ;
13437 int arg2 ;
13438 PyObject * obj0 = 0 ;
13439 PyObject * obj1 = 0 ;
13440 char *kwnames[] = {
13441 (char *) "self",(char *) "lenPixels", NULL
13442 };
13443
13444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
13445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13447 arg2 = (int) SWIG_AsInt(obj1);
13448 if (PyErr_Occurred()) SWIG_fail;
13449 {
13450 PyThreadState* __tstate = wxPyBeginAllowThreads();
13451 (arg1)->SetThumbLength(arg2);
13452
13453 wxPyEndAllowThreads(__tstate);
13454 if (PyErr_Occurred()) SWIG_fail;
13455 }
13456 Py_INCREF(Py_None); resultobj = Py_None;
13457 return resultobj;
13458 fail:
13459 return NULL;
13460 }
13461
13462
13463 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13464 PyObject *resultobj;
13465 wxSlider *arg1 = (wxSlider *) 0 ;
13466 int result;
13467 PyObject * obj0 = 0 ;
13468 char *kwnames[] = {
13469 (char *) "self", NULL
13470 };
13471
13472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
13473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13475 {
13476 PyThreadState* __tstate = wxPyBeginAllowThreads();
13477 result = (int)((wxSlider const *)arg1)->GetThumbLength();
13478
13479 wxPyEndAllowThreads(__tstate);
13480 if (PyErr_Occurred()) SWIG_fail;
13481 }
13482 resultobj = SWIG_FromInt((int)result);
13483 return resultobj;
13484 fail:
13485 return NULL;
13486 }
13487
13488
13489 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
13490 PyObject *resultobj;
13491 wxSlider *arg1 = (wxSlider *) 0 ;
13492 int arg2 ;
13493 int arg3 = (int) 1 ;
13494 PyObject * obj0 = 0 ;
13495 PyObject * obj1 = 0 ;
13496 PyObject * obj2 = 0 ;
13497 char *kwnames[] = {
13498 (char *) "self",(char *) "n",(char *) "pos", NULL
13499 };
13500
13501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
13502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13504 arg2 = (int) SWIG_AsInt(obj1);
13505 if (PyErr_Occurred()) SWIG_fail;
13506 if (obj2) {
13507 arg3 = (int) SWIG_AsInt(obj2);
13508 if (PyErr_Occurred()) SWIG_fail;
13509 }
13510 {
13511 PyThreadState* __tstate = wxPyBeginAllowThreads();
13512 (arg1)->SetTickFreq(arg2,arg3);
13513
13514 wxPyEndAllowThreads(__tstate);
13515 if (PyErr_Occurred()) SWIG_fail;
13516 }
13517 Py_INCREF(Py_None); resultobj = Py_None;
13518 return resultobj;
13519 fail:
13520 return NULL;
13521 }
13522
13523
13524 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
13525 PyObject *resultobj;
13526 wxSlider *arg1 = (wxSlider *) 0 ;
13527 int result;
13528 PyObject * obj0 = 0 ;
13529 char *kwnames[] = {
13530 (char *) "self", NULL
13531 };
13532
13533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
13534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13536 {
13537 PyThreadState* __tstate = wxPyBeginAllowThreads();
13538 result = (int)((wxSlider const *)arg1)->GetTickFreq();
13539
13540 wxPyEndAllowThreads(__tstate);
13541 if (PyErr_Occurred()) SWIG_fail;
13542 }
13543 resultobj = SWIG_FromInt((int)result);
13544 return resultobj;
13545 fail:
13546 return NULL;
13547 }
13548
13549
13550 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
13551 PyObject *resultobj;
13552 wxSlider *arg1 = (wxSlider *) 0 ;
13553 PyObject * obj0 = 0 ;
13554 char *kwnames[] = {
13555 (char *) "self", NULL
13556 };
13557
13558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
13559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13561 {
13562 PyThreadState* __tstate = wxPyBeginAllowThreads();
13563 (arg1)->ClearTicks();
13564
13565 wxPyEndAllowThreads(__tstate);
13566 if (PyErr_Occurred()) SWIG_fail;
13567 }
13568 Py_INCREF(Py_None); resultobj = Py_None;
13569 return resultobj;
13570 fail:
13571 return NULL;
13572 }
13573
13574
13575 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
13576 PyObject *resultobj;
13577 wxSlider *arg1 = (wxSlider *) 0 ;
13578 int arg2 ;
13579 PyObject * obj0 = 0 ;
13580 PyObject * obj1 = 0 ;
13581 char *kwnames[] = {
13582 (char *) "self",(char *) "tickPos", NULL
13583 };
13584
13585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
13586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13588 arg2 = (int) SWIG_AsInt(obj1);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 {
13591 PyThreadState* __tstate = wxPyBeginAllowThreads();
13592 (arg1)->SetTick(arg2);
13593
13594 wxPyEndAllowThreads(__tstate);
13595 if (PyErr_Occurred()) SWIG_fail;
13596 }
13597 Py_INCREF(Py_None); resultobj = Py_None;
13598 return resultobj;
13599 fail:
13600 return NULL;
13601 }
13602
13603
13604 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
13605 PyObject *resultobj;
13606 wxSlider *arg1 = (wxSlider *) 0 ;
13607 PyObject * obj0 = 0 ;
13608 char *kwnames[] = {
13609 (char *) "self", NULL
13610 };
13611
13612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
13613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13615 {
13616 PyThreadState* __tstate = wxPyBeginAllowThreads();
13617 (arg1)->ClearSel();
13618
13619 wxPyEndAllowThreads(__tstate);
13620 if (PyErr_Occurred()) SWIG_fail;
13621 }
13622 Py_INCREF(Py_None); resultobj = Py_None;
13623 return resultobj;
13624 fail:
13625 return NULL;
13626 }
13627
13628
13629 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
13630 PyObject *resultobj;
13631 wxSlider *arg1 = (wxSlider *) 0 ;
13632 int result;
13633 PyObject * obj0 = 0 ;
13634 char *kwnames[] = {
13635 (char *) "self", NULL
13636 };
13637
13638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
13639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13641 {
13642 PyThreadState* __tstate = wxPyBeginAllowThreads();
13643 result = (int)((wxSlider const *)arg1)->GetSelEnd();
13644
13645 wxPyEndAllowThreads(__tstate);
13646 if (PyErr_Occurred()) SWIG_fail;
13647 }
13648 resultobj = SWIG_FromInt((int)result);
13649 return resultobj;
13650 fail:
13651 return NULL;
13652 }
13653
13654
13655 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
13656 PyObject *resultobj;
13657 wxSlider *arg1 = (wxSlider *) 0 ;
13658 int result;
13659 PyObject * obj0 = 0 ;
13660 char *kwnames[] = {
13661 (char *) "self", NULL
13662 };
13663
13664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
13665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13667 {
13668 PyThreadState* __tstate = wxPyBeginAllowThreads();
13669 result = (int)((wxSlider const *)arg1)->GetSelStart();
13670
13671 wxPyEndAllowThreads(__tstate);
13672 if (PyErr_Occurred()) SWIG_fail;
13673 }
13674 resultobj = SWIG_FromInt((int)result);
13675 return resultobj;
13676 fail:
13677 return NULL;
13678 }
13679
13680
13681 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13682 PyObject *resultobj;
13683 wxSlider *arg1 = (wxSlider *) 0 ;
13684 int arg2 ;
13685 int arg3 ;
13686 PyObject * obj0 = 0 ;
13687 PyObject * obj1 = 0 ;
13688 PyObject * obj2 = 0 ;
13689 char *kwnames[] = {
13690 (char *) "self",(char *) "min",(char *) "max", NULL
13691 };
13692
13693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13696 arg2 = (int) SWIG_AsInt(obj1);
13697 if (PyErr_Occurred()) SWIG_fail;
13698 arg3 = (int) SWIG_AsInt(obj2);
13699 if (PyErr_Occurred()) SWIG_fail;
13700 {
13701 PyThreadState* __tstate = wxPyBeginAllowThreads();
13702 (arg1)->SetSelection(arg2,arg3);
13703
13704 wxPyEndAllowThreads(__tstate);
13705 if (PyErr_Occurred()) SWIG_fail;
13706 }
13707 Py_INCREF(Py_None); resultobj = Py_None;
13708 return resultobj;
13709 fail:
13710 return NULL;
13711 }
13712
13713
13714 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
13715 PyObject *resultobj;
13716 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
13717 wxVisualAttributes result;
13718 PyObject * obj0 = 0 ;
13719 char *kwnames[] = {
13720 (char *) "variant", NULL
13721 };
13722
13723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13724 if (obj0) {
13725 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
13726 if (PyErr_Occurred()) SWIG_fail;
13727 }
13728 {
13729 if (!wxPyCheckForApp()) SWIG_fail;
13730 PyThreadState* __tstate = wxPyBeginAllowThreads();
13731 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
13732
13733 wxPyEndAllowThreads(__tstate);
13734 if (PyErr_Occurred()) SWIG_fail;
13735 }
13736 {
13737 wxVisualAttributes * resultptr;
13738 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
13739 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13740 }
13741 return resultobj;
13742 fail:
13743 return NULL;
13744 }
13745
13746
13747 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
13748 PyObject *obj;
13749 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13750 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
13751 Py_INCREF(obj);
13752 return Py_BuildValue((char *)"");
13753 }
13754 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
13755 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
13756 return 1;
13757 }
13758
13759
13760 static PyObject *_wrap_ToggleButtonNameStr_get() {
13761 PyObject *pyobj;
13762
13763 {
13764 #if wxUSE_UNICODE
13765 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13766 #else
13767 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13768 #endif
13769 }
13770 return pyobj;
13771 }
13772
13773
13774 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13775 PyObject *resultobj;
13776 wxWindow *arg1 = (wxWindow *) 0 ;
13777 int arg2 = (int) -1 ;
13778 wxString const &arg3_defvalue = wxPyEmptyString ;
13779 wxString *arg3 = (wxString *) &arg3_defvalue ;
13780 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13781 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13782 wxSize const &arg5_defvalue = wxDefaultSize ;
13783 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13784 long arg6 = (long) 0 ;
13785 wxValidator const &arg7_defvalue = wxDefaultValidator ;
13786 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
13787 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
13788 wxString *arg8 = (wxString *) &arg8_defvalue ;
13789 wxToggleButton *result;
13790 bool temp3 = False ;
13791 wxPoint temp4 ;
13792 wxSize temp5 ;
13793 bool temp8 = False ;
13794 PyObject * obj0 = 0 ;
13795 PyObject * obj1 = 0 ;
13796 PyObject * obj2 = 0 ;
13797 PyObject * obj3 = 0 ;
13798 PyObject * obj4 = 0 ;
13799 PyObject * obj5 = 0 ;
13800 PyObject * obj6 = 0 ;
13801 PyObject * obj7 = 0 ;
13802 char *kwnames[] = {
13803 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13804 };
13805
13806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
13807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13809 if (obj1) {
13810 arg2 = (int) SWIG_AsInt(obj1);
13811 if (PyErr_Occurred()) SWIG_fail;
13812 }
13813 if (obj2) {
13814 {
13815 arg3 = wxString_in_helper(obj2);
13816 if (arg3 == NULL) SWIG_fail;
13817 temp3 = True;
13818 }
13819 }
13820 if (obj3) {
13821 {
13822 arg4 = &temp4;
13823 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13824 }
13825 }
13826 if (obj4) {
13827 {
13828 arg5 = &temp5;
13829 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13830 }
13831 }
13832 if (obj5) {
13833 arg6 = (long) SWIG_AsLong(obj5);
13834 if (PyErr_Occurred()) SWIG_fail;
13835 }
13836 if (obj6) {
13837 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
13838 SWIG_POINTER_EXCEPTION | 0)) == -1)
13839 SWIG_fail;
13840 if (arg7 == NULL) {
13841 PyErr_SetString(PyExc_TypeError,"null reference");
13842 SWIG_fail;
13843 }
13844 }
13845 if (obj7) {
13846 {
13847 arg8 = wxString_in_helper(obj7);
13848 if (arg8 == NULL) SWIG_fail;
13849 temp8 = True;
13850 }
13851 }
13852 {
13853 if (!wxPyCheckForApp()) SWIG_fail;
13854 PyThreadState* __tstate = wxPyBeginAllowThreads();
13855 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
13856
13857 wxPyEndAllowThreads(__tstate);
13858 if (PyErr_Occurred()) SWIG_fail;
13859 }
13860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13861 {
13862 if (temp3)
13863 delete arg3;
13864 }
13865 {
13866 if (temp8)
13867 delete arg8;
13868 }
13869 return resultobj;
13870 fail:
13871 {
13872 if (temp3)
13873 delete arg3;
13874 }
13875 {
13876 if (temp8)
13877 delete arg8;
13878 }
13879 return NULL;
13880 }
13881
13882
13883 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13884 PyObject *resultobj;
13885 wxToggleButton *result;
13886 char *kwnames[] = {
13887 NULL
13888 };
13889
13890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
13891 {
13892 if (!wxPyCheckForApp()) SWIG_fail;
13893 PyThreadState* __tstate = wxPyBeginAllowThreads();
13894 result = (wxToggleButton *)new wxToggleButton();
13895
13896 wxPyEndAllowThreads(__tstate);
13897 if (PyErr_Occurred()) SWIG_fail;
13898 }
13899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13900 return resultobj;
13901 fail:
13902 return NULL;
13903 }
13904
13905
13906 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13907 PyObject *resultobj;
13908 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13909 wxWindow *arg2 = (wxWindow *) 0 ;
13910 int arg3 = (int) -1 ;
13911 wxString const &arg4_defvalue = wxPyEmptyString ;
13912 wxString *arg4 = (wxString *) &arg4_defvalue ;
13913 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13914 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13915 wxSize const &arg6_defvalue = wxDefaultSize ;
13916 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13917 long arg7 = (long) 0 ;
13918 wxValidator const &arg8_defvalue = wxDefaultValidator ;
13919 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
13920 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
13921 wxString *arg9 = (wxString *) &arg9_defvalue ;
13922 bool result;
13923 bool temp4 = False ;
13924 wxPoint temp5 ;
13925 wxSize temp6 ;
13926 bool temp9 = False ;
13927 PyObject * obj0 = 0 ;
13928 PyObject * obj1 = 0 ;
13929 PyObject * obj2 = 0 ;
13930 PyObject * obj3 = 0 ;
13931 PyObject * obj4 = 0 ;
13932 PyObject * obj5 = 0 ;
13933 PyObject * obj6 = 0 ;
13934 PyObject * obj7 = 0 ;
13935 PyObject * obj8 = 0 ;
13936 char *kwnames[] = {
13937 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13938 };
13939
13940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
13941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13943 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13945 if (obj2) {
13946 arg3 = (int) SWIG_AsInt(obj2);
13947 if (PyErr_Occurred()) SWIG_fail;
13948 }
13949 if (obj3) {
13950 {
13951 arg4 = wxString_in_helper(obj3);
13952 if (arg4 == NULL) SWIG_fail;
13953 temp4 = True;
13954 }
13955 }
13956 if (obj4) {
13957 {
13958 arg5 = &temp5;
13959 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13960 }
13961 }
13962 if (obj5) {
13963 {
13964 arg6 = &temp6;
13965 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13966 }
13967 }
13968 if (obj6) {
13969 arg7 = (long) SWIG_AsLong(obj6);
13970 if (PyErr_Occurred()) SWIG_fail;
13971 }
13972 if (obj7) {
13973 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
13974 SWIG_POINTER_EXCEPTION | 0)) == -1)
13975 SWIG_fail;
13976 if (arg8 == NULL) {
13977 PyErr_SetString(PyExc_TypeError,"null reference");
13978 SWIG_fail;
13979 }
13980 }
13981 if (obj8) {
13982 {
13983 arg9 = wxString_in_helper(obj8);
13984 if (arg9 == NULL) SWIG_fail;
13985 temp9 = True;
13986 }
13987 }
13988 {
13989 PyThreadState* __tstate = wxPyBeginAllowThreads();
13990 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
13991
13992 wxPyEndAllowThreads(__tstate);
13993 if (PyErr_Occurred()) SWIG_fail;
13994 }
13995 {
13996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13997 }
13998 {
13999 if (temp4)
14000 delete arg4;
14001 }
14002 {
14003 if (temp9)
14004 delete arg9;
14005 }
14006 return resultobj;
14007 fail:
14008 {
14009 if (temp4)
14010 delete arg4;
14011 }
14012 {
14013 if (temp9)
14014 delete arg9;
14015 }
14016 return NULL;
14017 }
14018
14019
14020 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
14021 PyObject *resultobj;
14022 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14023 bool arg2 ;
14024 PyObject * obj0 = 0 ;
14025 PyObject * obj1 = 0 ;
14026 char *kwnames[] = {
14027 (char *) "self",(char *) "value", NULL
14028 };
14029
14030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14033 arg2 = (bool) SWIG_AsBool(obj1);
14034 if (PyErr_Occurred()) SWIG_fail;
14035 {
14036 PyThreadState* __tstate = wxPyBeginAllowThreads();
14037 (arg1)->SetValue(arg2);
14038
14039 wxPyEndAllowThreads(__tstate);
14040 if (PyErr_Occurred()) SWIG_fail;
14041 }
14042 Py_INCREF(Py_None); resultobj = Py_None;
14043 return resultobj;
14044 fail:
14045 return NULL;
14046 }
14047
14048
14049 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
14050 PyObject *resultobj;
14051 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14052 bool result;
14053 PyObject * obj0 = 0 ;
14054 char *kwnames[] = {
14055 (char *) "self", NULL
14056 };
14057
14058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
14059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14061 {
14062 PyThreadState* __tstate = wxPyBeginAllowThreads();
14063 result = (bool)((wxToggleButton const *)arg1)->GetValue();
14064
14065 wxPyEndAllowThreads(__tstate);
14066 if (PyErr_Occurred()) SWIG_fail;
14067 }
14068 {
14069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14070 }
14071 return resultobj;
14072 fail:
14073 return NULL;
14074 }
14075
14076
14077 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
14078 PyObject *resultobj;
14079 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14080 wxString *arg2 = 0 ;
14081 bool temp2 = False ;
14082 PyObject * obj0 = 0 ;
14083 PyObject * obj1 = 0 ;
14084 char *kwnames[] = {
14085 (char *) "self",(char *) "label", NULL
14086 };
14087
14088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
14089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14091 {
14092 arg2 = wxString_in_helper(obj1);
14093 if (arg2 == NULL) SWIG_fail;
14094 temp2 = True;
14095 }
14096 {
14097 PyThreadState* __tstate = wxPyBeginAllowThreads();
14098 (arg1)->SetLabel((wxString const &)*arg2);
14099
14100 wxPyEndAllowThreads(__tstate);
14101 if (PyErr_Occurred()) SWIG_fail;
14102 }
14103 Py_INCREF(Py_None); resultobj = Py_None;
14104 {
14105 if (temp2)
14106 delete arg2;
14107 }
14108 return resultobj;
14109 fail:
14110 {
14111 if (temp2)
14112 delete arg2;
14113 }
14114 return NULL;
14115 }
14116
14117
14118 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
14119 PyObject *resultobj;
14120 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14121 wxVisualAttributes result;
14122 PyObject * obj0 = 0 ;
14123 char *kwnames[] = {
14124 (char *) "variant", NULL
14125 };
14126
14127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14128 if (obj0) {
14129 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
14130 if (PyErr_Occurred()) SWIG_fail;
14131 }
14132 {
14133 if (!wxPyCheckForApp()) SWIG_fail;
14134 PyThreadState* __tstate = wxPyBeginAllowThreads();
14135 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14136
14137 wxPyEndAllowThreads(__tstate);
14138 if (PyErr_Occurred()) SWIG_fail;
14139 }
14140 {
14141 wxVisualAttributes * resultptr;
14142 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14143 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14144 }
14145 return resultobj;
14146 fail:
14147 return NULL;
14148 }
14149
14150
14151 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
14152 PyObject *obj;
14153 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14154 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
14155 Py_INCREF(obj);
14156 return Py_BuildValue((char *)"");
14157 }
14158 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
14159 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
14160 return 1;
14161 }
14162
14163
14164 static PyObject *_wrap_NOTEBOOK_NAME_get() {
14165 PyObject *pyobj;
14166
14167 {
14168 #if wxUSE_UNICODE
14169 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14170 #else
14171 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14172 #endif
14173 }
14174 return pyobj;
14175 }
14176
14177
14178 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14179 PyObject *resultobj;
14180 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14181 size_t result;
14182 PyObject * obj0 = 0 ;
14183 char *kwnames[] = {
14184 (char *) "self", NULL
14185 };
14186
14187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
14188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14190 {
14191 PyThreadState* __tstate = wxPyBeginAllowThreads();
14192 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
14193
14194 wxPyEndAllowThreads(__tstate);
14195 if (PyErr_Occurred()) SWIG_fail;
14196 }
14197 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
14198 return resultobj;
14199 fail:
14200 return NULL;
14201 }
14202
14203
14204 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14205 PyObject *resultobj;
14206 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14207 size_t arg2 ;
14208 wxWindow *result;
14209 PyObject * obj0 = 0 ;
14210 PyObject * obj1 = 0 ;
14211 char *kwnames[] = {
14212 (char *) "self",(char *) "n", NULL
14213 };
14214
14215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
14216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14218 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14219 if (PyErr_Occurred()) SWIG_fail;
14220 {
14221 PyThreadState* __tstate = wxPyBeginAllowThreads();
14222 result = (wxWindow *)(arg1)->GetPage(arg2);
14223
14224 wxPyEndAllowThreads(__tstate);
14225 if (PyErr_Occurred()) SWIG_fail;
14226 }
14227 {
14228 resultobj = wxPyMake_wxObject(result, 0);
14229 }
14230 return resultobj;
14231 fail:
14232 return NULL;
14233 }
14234
14235
14236 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14237 PyObject *resultobj;
14238 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14239 int result;
14240 PyObject * obj0 = 0 ;
14241 char *kwnames[] = {
14242 (char *) "self", NULL
14243 };
14244
14245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
14246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14248 {
14249 PyThreadState* __tstate = wxPyBeginAllowThreads();
14250 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
14251
14252 wxPyEndAllowThreads(__tstate);
14253 if (PyErr_Occurred()) SWIG_fail;
14254 }
14255 resultobj = SWIG_FromInt((int)result);
14256 return resultobj;
14257 fail:
14258 return NULL;
14259 }
14260
14261
14262 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
14263 PyObject *resultobj;
14264 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14265 size_t arg2 ;
14266 wxString *arg3 = 0 ;
14267 bool result;
14268 bool temp3 = False ;
14269 PyObject * obj0 = 0 ;
14270 PyObject * obj1 = 0 ;
14271 PyObject * obj2 = 0 ;
14272 char *kwnames[] = {
14273 (char *) "self",(char *) "n",(char *) "strText", NULL
14274 };
14275
14276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
14277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14279 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14280 if (PyErr_Occurred()) SWIG_fail;
14281 {
14282 arg3 = wxString_in_helper(obj2);
14283 if (arg3 == NULL) SWIG_fail;
14284 temp3 = True;
14285 }
14286 {
14287 PyThreadState* __tstate = wxPyBeginAllowThreads();
14288 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
14289
14290 wxPyEndAllowThreads(__tstate);
14291 if (PyErr_Occurred()) SWIG_fail;
14292 }
14293 {
14294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14295 }
14296 {
14297 if (temp3)
14298 delete arg3;
14299 }
14300 return resultobj;
14301 fail:
14302 {
14303 if (temp3)
14304 delete arg3;
14305 }
14306 return NULL;
14307 }
14308
14309
14310 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
14311 PyObject *resultobj;
14312 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14313 size_t arg2 ;
14314 wxString result;
14315 PyObject * obj0 = 0 ;
14316 PyObject * obj1 = 0 ;
14317 char *kwnames[] = {
14318 (char *) "self",(char *) "n", NULL
14319 };
14320
14321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
14322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14324 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14325 if (PyErr_Occurred()) SWIG_fail;
14326 {
14327 PyThreadState* __tstate = wxPyBeginAllowThreads();
14328 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
14329
14330 wxPyEndAllowThreads(__tstate);
14331 if (PyErr_Occurred()) SWIG_fail;
14332 }
14333 {
14334 #if wxUSE_UNICODE
14335 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14336 #else
14337 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14338 #endif
14339 }
14340 return resultobj;
14341 fail:
14342 return NULL;
14343 }
14344
14345
14346 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14347 PyObject *resultobj;
14348 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14349 wxImageList *arg2 = (wxImageList *) 0 ;
14350 PyObject * obj0 = 0 ;
14351 PyObject * obj1 = 0 ;
14352 char *kwnames[] = {
14353 (char *) "self",(char *) "imageList", NULL
14354 };
14355
14356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
14357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14359 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14361 {
14362 PyThreadState* __tstate = wxPyBeginAllowThreads();
14363 (arg1)->SetImageList(arg2);
14364
14365 wxPyEndAllowThreads(__tstate);
14366 if (PyErr_Occurred()) SWIG_fail;
14367 }
14368 Py_INCREF(Py_None); resultobj = Py_None;
14369 return resultobj;
14370 fail:
14371 return NULL;
14372 }
14373
14374
14375 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14376 PyObject *resultobj;
14377 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14378 wxImageList *arg2 = (wxImageList *) 0 ;
14379 PyObject * obj0 = 0 ;
14380 PyObject * obj1 = 0 ;
14381 char *kwnames[] = {
14382 (char *) "self",(char *) "imageList", NULL
14383 };
14384
14385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
14386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14388 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14389 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
14390 {
14391 PyThreadState* __tstate = wxPyBeginAllowThreads();
14392 (arg1)->AssignImageList(arg2);
14393
14394 wxPyEndAllowThreads(__tstate);
14395 if (PyErr_Occurred()) SWIG_fail;
14396 }
14397 Py_INCREF(Py_None); resultobj = Py_None;
14398 return resultobj;
14399 fail:
14400 return NULL;
14401 }
14402
14403
14404 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14405 PyObject *resultobj;
14406 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14407 wxImageList *result;
14408 PyObject * obj0 = 0 ;
14409 char *kwnames[] = {
14410 (char *) "self", NULL
14411 };
14412
14413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
14414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14416 {
14417 PyThreadState* __tstate = wxPyBeginAllowThreads();
14418 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
14419
14420 wxPyEndAllowThreads(__tstate);
14421 if (PyErr_Occurred()) SWIG_fail;
14422 }
14423 {
14424 resultobj = wxPyMake_wxObject(result, 0);
14425 }
14426 return resultobj;
14427 fail:
14428 return NULL;
14429 }
14430
14431
14432 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14433 PyObject *resultobj;
14434 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14435 size_t arg2 ;
14436 int result;
14437 PyObject * obj0 = 0 ;
14438 PyObject * obj1 = 0 ;
14439 char *kwnames[] = {
14440 (char *) "self",(char *) "n", NULL
14441 };
14442
14443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
14444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14446 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14447 if (PyErr_Occurred()) SWIG_fail;
14448 {
14449 PyThreadState* __tstate = wxPyBeginAllowThreads();
14450 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
14451
14452 wxPyEndAllowThreads(__tstate);
14453 if (PyErr_Occurred()) SWIG_fail;
14454 }
14455 resultobj = SWIG_FromInt((int)result);
14456 return resultobj;
14457 fail:
14458 return NULL;
14459 }
14460
14461
14462 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14463 PyObject *resultobj;
14464 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14465 size_t arg2 ;
14466 int arg3 ;
14467 bool result;
14468 PyObject * obj0 = 0 ;
14469 PyObject * obj1 = 0 ;
14470 PyObject * obj2 = 0 ;
14471 char *kwnames[] = {
14472 (char *) "self",(char *) "n",(char *) "imageId", NULL
14473 };
14474
14475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
14476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14478 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14479 if (PyErr_Occurred()) SWIG_fail;
14480 arg3 = (int) SWIG_AsInt(obj2);
14481 if (PyErr_Occurred()) SWIG_fail;
14482 {
14483 PyThreadState* __tstate = wxPyBeginAllowThreads();
14484 result = (bool)(arg1)->SetPageImage(arg2,arg3);
14485
14486 wxPyEndAllowThreads(__tstate);
14487 if (PyErr_Occurred()) SWIG_fail;
14488 }
14489 {
14490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14491 }
14492 return resultobj;
14493 fail:
14494 return NULL;
14495 }
14496
14497
14498 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14499 PyObject *resultobj;
14500 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14501 wxSize *arg2 = 0 ;
14502 wxSize temp2 ;
14503 PyObject * obj0 = 0 ;
14504 PyObject * obj1 = 0 ;
14505 char *kwnames[] = {
14506 (char *) "self",(char *) "size", NULL
14507 };
14508
14509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
14510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14512 {
14513 arg2 = &temp2;
14514 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14515 }
14516 {
14517 PyThreadState* __tstate = wxPyBeginAllowThreads();
14518 (arg1)->SetPageSize((wxSize const &)*arg2);
14519
14520 wxPyEndAllowThreads(__tstate);
14521 if (PyErr_Occurred()) SWIG_fail;
14522 }
14523 Py_INCREF(Py_None); resultobj = Py_None;
14524 return resultobj;
14525 fail:
14526 return NULL;
14527 }
14528
14529
14530 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14531 PyObject *resultobj;
14532 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14533 wxSize *arg2 = 0 ;
14534 wxSize result;
14535 wxSize temp2 ;
14536 PyObject * obj0 = 0 ;
14537 PyObject * obj1 = 0 ;
14538 char *kwnames[] = {
14539 (char *) "self",(char *) "sizePage", NULL
14540 };
14541
14542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14545 {
14546 arg2 = &temp2;
14547 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14548 }
14549 {
14550 PyThreadState* __tstate = wxPyBeginAllowThreads();
14551 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14552
14553 wxPyEndAllowThreads(__tstate);
14554 if (PyErr_Occurred()) SWIG_fail;
14555 }
14556 {
14557 wxSize * resultptr;
14558 resultptr = new wxSize((wxSize &) result);
14559 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14560 }
14561 return resultobj;
14562 fail:
14563 return NULL;
14564 }
14565
14566
14567 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
14568 PyObject *resultobj;
14569 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14570 size_t arg2 ;
14571 bool result;
14572 PyObject * obj0 = 0 ;
14573 PyObject * obj1 = 0 ;
14574 char *kwnames[] = {
14575 (char *) "self",(char *) "n", NULL
14576 };
14577
14578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
14579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14581 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14582 if (PyErr_Occurred()) SWIG_fail;
14583 {
14584 PyThreadState* __tstate = wxPyBeginAllowThreads();
14585 result = (bool)(arg1)->DeletePage(arg2);
14586
14587 wxPyEndAllowThreads(__tstate);
14588 if (PyErr_Occurred()) SWIG_fail;
14589 }
14590 {
14591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14592 }
14593 return resultobj;
14594 fail:
14595 return NULL;
14596 }
14597
14598
14599 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
14600 PyObject *resultobj;
14601 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14602 size_t arg2 ;
14603 bool result;
14604 PyObject * obj0 = 0 ;
14605 PyObject * obj1 = 0 ;
14606 char *kwnames[] = {
14607 (char *) "self",(char *) "n", NULL
14608 };
14609
14610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
14611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14613 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14614 if (PyErr_Occurred()) SWIG_fail;
14615 {
14616 PyThreadState* __tstate = wxPyBeginAllowThreads();
14617 result = (bool)(arg1)->RemovePage(arg2);
14618
14619 wxPyEndAllowThreads(__tstate);
14620 if (PyErr_Occurred()) SWIG_fail;
14621 }
14622 {
14623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14624 }
14625 return resultobj;
14626 fail:
14627 return NULL;
14628 }
14629
14630
14631 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
14632 PyObject *resultobj;
14633 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14634 bool result;
14635 PyObject * obj0 = 0 ;
14636 char *kwnames[] = {
14637 (char *) "self", NULL
14638 };
14639
14640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
14641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14643 {
14644 PyThreadState* __tstate = wxPyBeginAllowThreads();
14645 result = (bool)(arg1)->DeleteAllPages();
14646
14647 wxPyEndAllowThreads(__tstate);
14648 if (PyErr_Occurred()) SWIG_fail;
14649 }
14650 {
14651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14652 }
14653 return resultobj;
14654 fail:
14655 return NULL;
14656 }
14657
14658
14659 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14660 PyObject *resultobj;
14661 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14662 wxWindow *arg2 = (wxWindow *) 0 ;
14663 wxString *arg3 = 0 ;
14664 bool arg4 = (bool) False ;
14665 int arg5 = (int) -1 ;
14666 bool result;
14667 bool temp3 = False ;
14668 PyObject * obj0 = 0 ;
14669 PyObject * obj1 = 0 ;
14670 PyObject * obj2 = 0 ;
14671 PyObject * obj3 = 0 ;
14672 PyObject * obj4 = 0 ;
14673 char *kwnames[] = {
14674 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14675 };
14676
14677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14680 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14682 {
14683 arg3 = wxString_in_helper(obj2);
14684 if (arg3 == NULL) SWIG_fail;
14685 temp3 = True;
14686 }
14687 if (obj3) {
14688 arg4 = (bool) SWIG_AsBool(obj3);
14689 if (PyErr_Occurred()) SWIG_fail;
14690 }
14691 if (obj4) {
14692 arg5 = (int) SWIG_AsInt(obj4);
14693 if (PyErr_Occurred()) SWIG_fail;
14694 }
14695 {
14696 PyThreadState* __tstate = wxPyBeginAllowThreads();
14697 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
14698
14699 wxPyEndAllowThreads(__tstate);
14700 if (PyErr_Occurred()) SWIG_fail;
14701 }
14702 {
14703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14704 }
14705 {
14706 if (temp3)
14707 delete arg3;
14708 }
14709 return resultobj;
14710 fail:
14711 {
14712 if (temp3)
14713 delete arg3;
14714 }
14715 return NULL;
14716 }
14717
14718
14719 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14720 PyObject *resultobj;
14721 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14722 size_t arg2 ;
14723 wxWindow *arg3 = (wxWindow *) 0 ;
14724 wxString *arg4 = 0 ;
14725 bool arg5 = (bool) False ;
14726 int arg6 = (int) -1 ;
14727 bool result;
14728 bool temp4 = False ;
14729 PyObject * obj0 = 0 ;
14730 PyObject * obj1 = 0 ;
14731 PyObject * obj2 = 0 ;
14732 PyObject * obj3 = 0 ;
14733 PyObject * obj4 = 0 ;
14734 PyObject * obj5 = 0 ;
14735 char *kwnames[] = {
14736 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14737 };
14738
14739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14742 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14743 if (PyErr_Occurred()) SWIG_fail;
14744 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
14745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14746 {
14747 arg4 = wxString_in_helper(obj3);
14748 if (arg4 == NULL) SWIG_fail;
14749 temp4 = True;
14750 }
14751 if (obj4) {
14752 arg5 = (bool) SWIG_AsBool(obj4);
14753 if (PyErr_Occurred()) SWIG_fail;
14754 }
14755 if (obj5) {
14756 arg6 = (int) SWIG_AsInt(obj5);
14757 if (PyErr_Occurred()) SWIG_fail;
14758 }
14759 {
14760 PyThreadState* __tstate = wxPyBeginAllowThreads();
14761 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
14762
14763 wxPyEndAllowThreads(__tstate);
14764 if (PyErr_Occurred()) SWIG_fail;
14765 }
14766 {
14767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14768 }
14769 {
14770 if (temp4)
14771 delete arg4;
14772 }
14773 return resultobj;
14774 fail:
14775 {
14776 if (temp4)
14777 delete arg4;
14778 }
14779 return NULL;
14780 }
14781
14782
14783 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14784 PyObject *resultobj;
14785 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14786 size_t arg2 ;
14787 int result;
14788 PyObject * obj0 = 0 ;
14789 PyObject * obj1 = 0 ;
14790 char *kwnames[] = {
14791 (char *) "self",(char *) "n", NULL
14792 };
14793
14794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14797 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14798 if (PyErr_Occurred()) SWIG_fail;
14799 {
14800 PyThreadState* __tstate = wxPyBeginAllowThreads();
14801 result = (int)(arg1)->SetSelection(arg2);
14802
14803 wxPyEndAllowThreads(__tstate);
14804 if (PyErr_Occurred()) SWIG_fail;
14805 }
14806 resultobj = SWIG_FromInt((int)result);
14807 return resultobj;
14808 fail:
14809 return NULL;
14810 }
14811
14812
14813 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14814 PyObject *resultobj;
14815 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14816 bool arg2 = (bool) True ;
14817 PyObject * obj0 = 0 ;
14818 PyObject * obj1 = 0 ;
14819 char *kwnames[] = {
14820 (char *) "self",(char *) "forward", NULL
14821 };
14822
14823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
14824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14826 if (obj1) {
14827 arg2 = (bool) SWIG_AsBool(obj1);
14828 if (PyErr_Occurred()) SWIG_fail;
14829 }
14830 {
14831 PyThreadState* __tstate = wxPyBeginAllowThreads();
14832 (arg1)->AdvanceSelection(arg2);
14833
14834 wxPyEndAllowThreads(__tstate);
14835 if (PyErr_Occurred()) SWIG_fail;
14836 }
14837 Py_INCREF(Py_None); resultobj = Py_None;
14838 return resultobj;
14839 fail:
14840 return NULL;
14841 }
14842
14843
14844 static PyObject *_wrap_BookCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
14845 PyObject *resultobj;
14846 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14847 wxVisualAttributes result;
14848 PyObject * obj0 = 0 ;
14849 char *kwnames[] = {
14850 (char *) "variant", NULL
14851 };
14852
14853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14854 if (obj0) {
14855 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
14856 if (PyErr_Occurred()) SWIG_fail;
14857 }
14858 {
14859 if (!wxPyCheckForApp()) SWIG_fail;
14860 PyThreadState* __tstate = wxPyBeginAllowThreads();
14861 result = wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
14862
14863 wxPyEndAllowThreads(__tstate);
14864 if (PyErr_Occurred()) SWIG_fail;
14865 }
14866 {
14867 wxVisualAttributes * resultptr;
14868 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14869 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14870 }
14871 return resultobj;
14872 fail:
14873 return NULL;
14874 }
14875
14876
14877 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
14878 PyObject *obj;
14879 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14880 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
14881 Py_INCREF(obj);
14882 return Py_BuildValue((char *)"");
14883 }
14884 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14885 PyObject *resultobj;
14886 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14887 int arg2 = (int) 0 ;
14888 int arg3 = (int) -1 ;
14889 int arg4 = (int) -1 ;
14890 wxBookCtrlEvent *result;
14891 PyObject * obj0 = 0 ;
14892 PyObject * obj1 = 0 ;
14893 PyObject * obj2 = 0 ;
14894 PyObject * obj3 = 0 ;
14895 char *kwnames[] = {
14896 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14897 };
14898
14899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14900 if (obj0) {
14901 arg1 = (wxEventType) SWIG_AsInt(obj0);
14902 if (PyErr_Occurred()) SWIG_fail;
14903 }
14904 if (obj1) {
14905 arg2 = (int) SWIG_AsInt(obj1);
14906 if (PyErr_Occurred()) SWIG_fail;
14907 }
14908 if (obj2) {
14909 arg3 = (int) SWIG_AsInt(obj2);
14910 if (PyErr_Occurred()) SWIG_fail;
14911 }
14912 if (obj3) {
14913 arg4 = (int) SWIG_AsInt(obj3);
14914 if (PyErr_Occurred()) SWIG_fail;
14915 }
14916 {
14917 PyThreadState* __tstate = wxPyBeginAllowThreads();
14918 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
14919
14920 wxPyEndAllowThreads(__tstate);
14921 if (PyErr_Occurred()) SWIG_fail;
14922 }
14923 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
14924 return resultobj;
14925 fail:
14926 return NULL;
14927 }
14928
14929
14930 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14931 PyObject *resultobj;
14932 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14933 int result;
14934 PyObject * obj0 = 0 ;
14935 char *kwnames[] = {
14936 (char *) "self", NULL
14937 };
14938
14939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
14940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14942 {
14943 PyThreadState* __tstate = wxPyBeginAllowThreads();
14944 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
14945
14946 wxPyEndAllowThreads(__tstate);
14947 if (PyErr_Occurred()) SWIG_fail;
14948 }
14949 resultobj = SWIG_FromInt((int)result);
14950 return resultobj;
14951 fail:
14952 return NULL;
14953 }
14954
14955
14956 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14957 PyObject *resultobj;
14958 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14959 int arg2 ;
14960 PyObject * obj0 = 0 ;
14961 PyObject * obj1 = 0 ;
14962 char *kwnames[] = {
14963 (char *) "self",(char *) "nSel", NULL
14964 };
14965
14966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14969 arg2 = (int) SWIG_AsInt(obj1);
14970 if (PyErr_Occurred()) SWIG_fail;
14971 {
14972 PyThreadState* __tstate = wxPyBeginAllowThreads();
14973 (arg1)->SetSelection(arg2);
14974
14975 wxPyEndAllowThreads(__tstate);
14976 if (PyErr_Occurred()) SWIG_fail;
14977 }
14978 Py_INCREF(Py_None); resultobj = Py_None;
14979 return resultobj;
14980 fail:
14981 return NULL;
14982 }
14983
14984
14985 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14986 PyObject *resultobj;
14987 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14988 int result;
14989 PyObject * obj0 = 0 ;
14990 char *kwnames[] = {
14991 (char *) "self", NULL
14992 };
14993
14994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
14995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14997 {
14998 PyThreadState* __tstate = wxPyBeginAllowThreads();
14999 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
15000
15001 wxPyEndAllowThreads(__tstate);
15002 if (PyErr_Occurred()) SWIG_fail;
15003 }
15004 resultobj = SWIG_FromInt((int)result);
15005 return resultobj;
15006 fail:
15007 return NULL;
15008 }
15009
15010
15011 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
15012 PyObject *resultobj;
15013 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
15014 int arg2 ;
15015 PyObject * obj0 = 0 ;
15016 PyObject * obj1 = 0 ;
15017 char *kwnames[] = {
15018 (char *) "self",(char *) "nOldSel", NULL
15019 };
15020
15021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
15022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
15023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15024 arg2 = (int) SWIG_AsInt(obj1);
15025 if (PyErr_Occurred()) SWIG_fail;
15026 {
15027 PyThreadState* __tstate = wxPyBeginAllowThreads();
15028 (arg1)->SetOldSelection(arg2);
15029
15030 wxPyEndAllowThreads(__tstate);
15031 if (PyErr_Occurred()) SWIG_fail;
15032 }
15033 Py_INCREF(Py_None); resultobj = Py_None;
15034 return resultobj;
15035 fail:
15036 return NULL;
15037 }
15038
15039
15040 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
15041 PyObject *obj;
15042 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15043 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
15044 Py_INCREF(obj);
15045 return Py_BuildValue((char *)"");
15046 }
15047 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15048 PyObject *resultobj;
15049 wxWindow *arg1 = (wxWindow *) 0 ;
15050 int arg2 = (int) -1 ;
15051 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15052 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15053 wxSize const &arg4_defvalue = wxDefaultSize ;
15054 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15055 long arg5 = (long) 0 ;
15056 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
15057 wxString *arg6 = (wxString *) &arg6_defvalue ;
15058 wxNotebook *result;
15059 wxPoint temp3 ;
15060 wxSize temp4 ;
15061 bool temp6 = False ;
15062 PyObject * obj0 = 0 ;
15063 PyObject * obj1 = 0 ;
15064 PyObject * obj2 = 0 ;
15065 PyObject * obj3 = 0 ;
15066 PyObject * obj4 = 0 ;
15067 PyObject * obj5 = 0 ;
15068 char *kwnames[] = {
15069 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15070 };
15071
15072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15075 if (obj1) {
15076 arg2 = (int) SWIG_AsInt(obj1);
15077 if (PyErr_Occurred()) SWIG_fail;
15078 }
15079 if (obj2) {
15080 {
15081 arg3 = &temp3;
15082 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15083 }
15084 }
15085 if (obj3) {
15086 {
15087 arg4 = &temp4;
15088 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15089 }
15090 }
15091 if (obj4) {
15092 arg5 = (long) SWIG_AsLong(obj4);
15093 if (PyErr_Occurred()) SWIG_fail;
15094 }
15095 if (obj5) {
15096 {
15097 arg6 = wxString_in_helper(obj5);
15098 if (arg6 == NULL) SWIG_fail;
15099 temp6 = True;
15100 }
15101 }
15102 {
15103 if (!wxPyCheckForApp()) SWIG_fail;
15104 PyThreadState* __tstate = wxPyBeginAllowThreads();
15105 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15106
15107 wxPyEndAllowThreads(__tstate);
15108 if (PyErr_Occurred()) SWIG_fail;
15109 }
15110 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
15111 {
15112 if (temp6)
15113 delete arg6;
15114 }
15115 return resultobj;
15116 fail:
15117 {
15118 if (temp6)
15119 delete arg6;
15120 }
15121 return NULL;
15122 }
15123
15124
15125 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15126 PyObject *resultobj;
15127 wxNotebook *result;
15128 char *kwnames[] = {
15129 NULL
15130 };
15131
15132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
15133 {
15134 if (!wxPyCheckForApp()) SWIG_fail;
15135 PyThreadState* __tstate = wxPyBeginAllowThreads();
15136 result = (wxNotebook *)new wxNotebook();
15137
15138 wxPyEndAllowThreads(__tstate);
15139 if (PyErr_Occurred()) SWIG_fail;
15140 }
15141 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
15142 return resultobj;
15143 fail:
15144 return NULL;
15145 }
15146
15147
15148 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15149 PyObject *resultobj;
15150 wxNotebook *arg1 = (wxNotebook *) 0 ;
15151 wxWindow *arg2 = (wxWindow *) 0 ;
15152 int arg3 = (int) -1 ;
15153 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15154 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15155 wxSize const &arg5_defvalue = wxDefaultSize ;
15156 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15157 long arg6 = (long) 0 ;
15158 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
15159 wxString *arg7 = (wxString *) &arg7_defvalue ;
15160 bool result;
15161 wxPoint temp4 ;
15162 wxSize temp5 ;
15163 bool temp7 = False ;
15164 PyObject * obj0 = 0 ;
15165 PyObject * obj1 = 0 ;
15166 PyObject * obj2 = 0 ;
15167 PyObject * obj3 = 0 ;
15168 PyObject * obj4 = 0 ;
15169 PyObject * obj5 = 0 ;
15170 PyObject * obj6 = 0 ;
15171 char *kwnames[] = {
15172 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15173 };
15174
15175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15178 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15180 if (obj2) {
15181 arg3 = (int) SWIG_AsInt(obj2);
15182 if (PyErr_Occurred()) SWIG_fail;
15183 }
15184 if (obj3) {
15185 {
15186 arg4 = &temp4;
15187 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15188 }
15189 }
15190 if (obj4) {
15191 {
15192 arg5 = &temp5;
15193 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15194 }
15195 }
15196 if (obj5) {
15197 arg6 = (long) SWIG_AsLong(obj5);
15198 if (PyErr_Occurred()) SWIG_fail;
15199 }
15200 if (obj6) {
15201 {
15202 arg7 = wxString_in_helper(obj6);
15203 if (arg7 == NULL) SWIG_fail;
15204 temp7 = True;
15205 }
15206 }
15207 {
15208 PyThreadState* __tstate = wxPyBeginAllowThreads();
15209 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15210
15211 wxPyEndAllowThreads(__tstate);
15212 if (PyErr_Occurred()) SWIG_fail;
15213 }
15214 {
15215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15216 }
15217 {
15218 if (temp7)
15219 delete arg7;
15220 }
15221 return resultobj;
15222 fail:
15223 {
15224 if (temp7)
15225 delete arg7;
15226 }
15227 return NULL;
15228 }
15229
15230
15231 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
15232 PyObject *resultobj;
15233 wxNotebook *arg1 = (wxNotebook *) 0 ;
15234 int result;
15235 PyObject * obj0 = 0 ;
15236 char *kwnames[] = {
15237 (char *) "self", NULL
15238 };
15239
15240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
15241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15243 {
15244 PyThreadState* __tstate = wxPyBeginAllowThreads();
15245 result = (int)((wxNotebook const *)arg1)->GetRowCount();
15246
15247 wxPyEndAllowThreads(__tstate);
15248 if (PyErr_Occurred()) SWIG_fail;
15249 }
15250 resultobj = SWIG_FromInt((int)result);
15251 return resultobj;
15252 fail:
15253 return NULL;
15254 }
15255
15256
15257 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
15258 PyObject *resultobj;
15259 wxNotebook *arg1 = (wxNotebook *) 0 ;
15260 wxSize *arg2 = 0 ;
15261 wxSize temp2 ;
15262 PyObject * obj0 = 0 ;
15263 PyObject * obj1 = 0 ;
15264 char *kwnames[] = {
15265 (char *) "self",(char *) "padding", NULL
15266 };
15267
15268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
15269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15271 {
15272 arg2 = &temp2;
15273 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15274 }
15275 {
15276 PyThreadState* __tstate = wxPyBeginAllowThreads();
15277 (arg1)->SetPadding((wxSize const &)*arg2);
15278
15279 wxPyEndAllowThreads(__tstate);
15280 if (PyErr_Occurred()) SWIG_fail;
15281 }
15282 Py_INCREF(Py_None); resultobj = Py_None;
15283 return resultobj;
15284 fail:
15285 return NULL;
15286 }
15287
15288
15289 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15290 PyObject *resultobj;
15291 wxNotebook *arg1 = (wxNotebook *) 0 ;
15292 wxSize *arg2 = 0 ;
15293 wxSize temp2 ;
15294 PyObject * obj0 = 0 ;
15295 PyObject * obj1 = 0 ;
15296 char *kwnames[] = {
15297 (char *) "self",(char *) "sz", NULL
15298 };
15299
15300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
15301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15303 {
15304 arg2 = &temp2;
15305 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15306 }
15307 {
15308 PyThreadState* __tstate = wxPyBeginAllowThreads();
15309 (arg1)->SetTabSize((wxSize const &)*arg2);
15310
15311 wxPyEndAllowThreads(__tstate);
15312 if (PyErr_Occurred()) SWIG_fail;
15313 }
15314 Py_INCREF(Py_None); resultobj = Py_None;
15315 return resultobj;
15316 fail:
15317 return NULL;
15318 }
15319
15320
15321 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
15322 PyObject *resultobj;
15323 wxNotebook *arg1 = (wxNotebook *) 0 ;
15324 wxPoint *arg2 = 0 ;
15325 long *arg3 = (long *) 0 ;
15326 int result;
15327 wxPoint temp2 ;
15328 long temp3 ;
15329 PyObject * obj0 = 0 ;
15330 PyObject * obj1 = 0 ;
15331 char *kwnames[] = {
15332 (char *) "self",(char *) "pt", NULL
15333 };
15334
15335 arg3 = &temp3;
15336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
15337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15339 {
15340 arg2 = &temp2;
15341 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15342 }
15343 {
15344 PyThreadState* __tstate = wxPyBeginAllowThreads();
15345 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
15346
15347 wxPyEndAllowThreads(__tstate);
15348 if (PyErr_Occurred()) SWIG_fail;
15349 }
15350 resultobj = SWIG_FromInt((int)result);
15351 {
15352 PyObject *o = PyInt_FromLong((long) (*arg3));
15353 resultobj = t_output_helper(resultobj,o);
15354 }
15355 return resultobj;
15356 fail:
15357 return NULL;
15358 }
15359
15360
15361 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
15362 PyObject *resultobj;
15363 wxNotebook *arg1 = (wxNotebook *) 0 ;
15364 wxSize *arg2 = 0 ;
15365 wxSize result;
15366 wxSize temp2 ;
15367 PyObject * obj0 = 0 ;
15368 PyObject * obj1 = 0 ;
15369 char *kwnames[] = {
15370 (char *) "self",(char *) "sizePage", NULL
15371 };
15372
15373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15376 {
15377 arg2 = &temp2;
15378 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15379 }
15380 {
15381 PyThreadState* __tstate = wxPyBeginAllowThreads();
15382 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
15383
15384 wxPyEndAllowThreads(__tstate);
15385 if (PyErr_Occurred()) SWIG_fail;
15386 }
15387 {
15388 wxSize * resultptr;
15389 resultptr = new wxSize((wxSize &) result);
15390 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15391 }
15392 return resultobj;
15393 fail:
15394 return NULL;
15395 }
15396
15397
15398 static PyObject *_wrap_Notebook_ApplyThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15399 PyObject *resultobj;
15400 wxNotebook *arg1 = (wxNotebook *) 0 ;
15401 wxWindow *arg2 = (wxWindow *) 0 ;
15402 wxColour *arg3 = 0 ;
15403 wxColour temp3 ;
15404 PyObject * obj0 = 0 ;
15405 PyObject * obj1 = 0 ;
15406 PyObject * obj2 = 0 ;
15407 char *kwnames[] = {
15408 (char *) "self",(char *) "window",(char *) "colour", NULL
15409 };
15410
15411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15414 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15416 {
15417 arg3 = &temp3;
15418 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
15419 }
15420 {
15421 PyThreadState* __tstate = wxPyBeginAllowThreads();
15422 (arg1)->ApplyThemeBackground(arg2,(wxColour const &)*arg3);
15423
15424 wxPyEndAllowThreads(__tstate);
15425 if (PyErr_Occurred()) SWIG_fail;
15426 }
15427 Py_INCREF(Py_None); resultobj = Py_None;
15428 return resultobj;
15429 fail:
15430 return NULL;
15431 }
15432
15433
15434 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15435 PyObject *resultobj;
15436 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
15437 wxVisualAttributes result;
15438 PyObject * obj0 = 0 ;
15439 char *kwnames[] = {
15440 (char *) "variant", NULL
15441 };
15442
15443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15444 if (obj0) {
15445 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
15446 if (PyErr_Occurred()) SWIG_fail;
15447 }
15448 {
15449 if (!wxPyCheckForApp()) SWIG_fail;
15450 PyThreadState* __tstate = wxPyBeginAllowThreads();
15451 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
15452
15453 wxPyEndAllowThreads(__tstate);
15454 if (PyErr_Occurred()) SWIG_fail;
15455 }
15456 {
15457 wxVisualAttributes * resultptr;
15458 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
15459 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15460 }
15461 return resultobj;
15462 fail:
15463 return NULL;
15464 }
15465
15466
15467 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
15468 PyObject *obj;
15469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15470 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
15471 Py_INCREF(obj);
15472 return Py_BuildValue((char *)"");
15473 }
15474 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15475 PyObject *resultobj;
15476 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15477 int arg2 = (int) 0 ;
15478 int arg3 = (int) -1 ;
15479 int arg4 = (int) -1 ;
15480 wxNotebookEvent *result;
15481 PyObject * obj0 = 0 ;
15482 PyObject * obj1 = 0 ;
15483 PyObject * obj2 = 0 ;
15484 PyObject * obj3 = 0 ;
15485 char *kwnames[] = {
15486 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15487 };
15488
15489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15490 if (obj0) {
15491 arg1 = (wxEventType) SWIG_AsInt(obj0);
15492 if (PyErr_Occurred()) SWIG_fail;
15493 }
15494 if (obj1) {
15495 arg2 = (int) SWIG_AsInt(obj1);
15496 if (PyErr_Occurred()) SWIG_fail;
15497 }
15498 if (obj2) {
15499 arg3 = (int) SWIG_AsInt(obj2);
15500 if (PyErr_Occurred()) SWIG_fail;
15501 }
15502 if (obj3) {
15503 arg4 = (int) SWIG_AsInt(obj3);
15504 if (PyErr_Occurred()) SWIG_fail;
15505 }
15506 {
15507 PyThreadState* __tstate = wxPyBeginAllowThreads();
15508 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
15509
15510 wxPyEndAllowThreads(__tstate);
15511 if (PyErr_Occurred()) SWIG_fail;
15512 }
15513 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
15514 return resultobj;
15515 fail:
15516 return NULL;
15517 }
15518
15519
15520 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
15521 PyObject *obj;
15522 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15523 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
15524 Py_INCREF(obj);
15525 return Py_BuildValue((char *)"");
15526 }
15527 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
15528 PyObject *resultobj;
15529 wxWindow *arg1 = (wxWindow *) 0 ;
15530 int arg2 = (int) -1 ;
15531 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15532 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15533 wxSize const &arg4_defvalue = wxDefaultSize ;
15534 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15535 long arg5 = (long) 0 ;
15536 wxString const &arg6_defvalue = wxPyEmptyString ;
15537 wxString *arg6 = (wxString *) &arg6_defvalue ;
15538 wxListbook *result;
15539 wxPoint temp3 ;
15540 wxSize temp4 ;
15541 bool temp6 = False ;
15542 PyObject * obj0 = 0 ;
15543 PyObject * obj1 = 0 ;
15544 PyObject * obj2 = 0 ;
15545 PyObject * obj3 = 0 ;
15546 PyObject * obj4 = 0 ;
15547 PyObject * obj5 = 0 ;
15548 char *kwnames[] = {
15549 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15550 };
15551
15552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15555 if (obj1) {
15556 arg2 = (int) SWIG_AsInt(obj1);
15557 if (PyErr_Occurred()) SWIG_fail;
15558 }
15559 if (obj2) {
15560 {
15561 arg3 = &temp3;
15562 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15563 }
15564 }
15565 if (obj3) {
15566 {
15567 arg4 = &temp4;
15568 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15569 }
15570 }
15571 if (obj4) {
15572 arg5 = (long) SWIG_AsLong(obj4);
15573 if (PyErr_Occurred()) SWIG_fail;
15574 }
15575 if (obj5) {
15576 {
15577 arg6 = wxString_in_helper(obj5);
15578 if (arg6 == NULL) SWIG_fail;
15579 temp6 = True;
15580 }
15581 }
15582 {
15583 if (!wxPyCheckForApp()) SWIG_fail;
15584 PyThreadState* __tstate = wxPyBeginAllowThreads();
15585 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15586
15587 wxPyEndAllowThreads(__tstate);
15588 if (PyErr_Occurred()) SWIG_fail;
15589 }
15590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15591 {
15592 if (temp6)
15593 delete arg6;
15594 }
15595 return resultobj;
15596 fail:
15597 {
15598 if (temp6)
15599 delete arg6;
15600 }
15601 return NULL;
15602 }
15603
15604
15605 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
15606 PyObject *resultobj;
15607 wxListbook *result;
15608 char *kwnames[] = {
15609 NULL
15610 };
15611
15612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
15613 {
15614 if (!wxPyCheckForApp()) SWIG_fail;
15615 PyThreadState* __tstate = wxPyBeginAllowThreads();
15616 result = (wxListbook *)new wxListbook();
15617
15618 wxPyEndAllowThreads(__tstate);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
15621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15622 return resultobj;
15623 fail:
15624 return NULL;
15625 }
15626
15627
15628 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15629 PyObject *resultobj;
15630 wxListbook *arg1 = (wxListbook *) 0 ;
15631 wxWindow *arg2 = (wxWindow *) 0 ;
15632 int arg3 = (int) -1 ;
15633 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15634 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15635 wxSize const &arg5_defvalue = wxDefaultSize ;
15636 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15637 long arg6 = (long) 0 ;
15638 wxString const &arg7_defvalue = wxPyEmptyString ;
15639 wxString *arg7 = (wxString *) &arg7_defvalue ;
15640 bool result;
15641 wxPoint temp4 ;
15642 wxSize temp5 ;
15643 bool temp7 = False ;
15644 PyObject * obj0 = 0 ;
15645 PyObject * obj1 = 0 ;
15646 PyObject * obj2 = 0 ;
15647 PyObject * obj3 = 0 ;
15648 PyObject * obj4 = 0 ;
15649 PyObject * obj5 = 0 ;
15650 PyObject * obj6 = 0 ;
15651 char *kwnames[] = {
15652 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15653 };
15654
15655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15658 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15660 if (obj2) {
15661 arg3 = (int) SWIG_AsInt(obj2);
15662 if (PyErr_Occurred()) SWIG_fail;
15663 }
15664 if (obj3) {
15665 {
15666 arg4 = &temp4;
15667 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15668 }
15669 }
15670 if (obj4) {
15671 {
15672 arg5 = &temp5;
15673 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15674 }
15675 }
15676 if (obj5) {
15677 arg6 = (long) SWIG_AsLong(obj5);
15678 if (PyErr_Occurred()) SWIG_fail;
15679 }
15680 if (obj6) {
15681 {
15682 arg7 = wxString_in_helper(obj6);
15683 if (arg7 == NULL) SWIG_fail;
15684 temp7 = True;
15685 }
15686 }
15687 {
15688 PyThreadState* __tstate = wxPyBeginAllowThreads();
15689 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15690
15691 wxPyEndAllowThreads(__tstate);
15692 if (PyErr_Occurred()) SWIG_fail;
15693 }
15694 {
15695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15696 }
15697 {
15698 if (temp7)
15699 delete arg7;
15700 }
15701 return resultobj;
15702 fail:
15703 {
15704 if (temp7)
15705 delete arg7;
15706 }
15707 return NULL;
15708 }
15709
15710
15711 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
15712 PyObject *resultobj;
15713 wxListbook *arg1 = (wxListbook *) 0 ;
15714 bool result;
15715 PyObject * obj0 = 0 ;
15716 char *kwnames[] = {
15717 (char *) "self", NULL
15718 };
15719
15720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
15721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15723 {
15724 PyThreadState* __tstate = wxPyBeginAllowThreads();
15725 result = (bool)((wxListbook const *)arg1)->IsVertical();
15726
15727 wxPyEndAllowThreads(__tstate);
15728 if (PyErr_Occurred()) SWIG_fail;
15729 }
15730 {
15731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15732 }
15733 return resultobj;
15734 fail:
15735 return NULL;
15736 }
15737
15738
15739 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
15740 PyObject *obj;
15741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15742 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
15743 Py_INCREF(obj);
15744 return Py_BuildValue((char *)"");
15745 }
15746 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15747 PyObject *resultobj;
15748 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15749 int arg2 = (int) 0 ;
15750 int arg3 = (int) -1 ;
15751 int arg4 = (int) -1 ;
15752 wxListbookEvent *result;
15753 PyObject * obj0 = 0 ;
15754 PyObject * obj1 = 0 ;
15755 PyObject * obj2 = 0 ;
15756 PyObject * obj3 = 0 ;
15757 char *kwnames[] = {
15758 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15759 };
15760
15761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15762 if (obj0) {
15763 arg1 = (wxEventType) SWIG_AsInt(obj0);
15764 if (PyErr_Occurred()) SWIG_fail;
15765 }
15766 if (obj1) {
15767 arg2 = (int) SWIG_AsInt(obj1);
15768 if (PyErr_Occurred()) SWIG_fail;
15769 }
15770 if (obj2) {
15771 arg3 = (int) SWIG_AsInt(obj2);
15772 if (PyErr_Occurred()) SWIG_fail;
15773 }
15774 if (obj3) {
15775 arg4 = (int) SWIG_AsInt(obj3);
15776 if (PyErr_Occurred()) SWIG_fail;
15777 }
15778 {
15779 PyThreadState* __tstate = wxPyBeginAllowThreads();
15780 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
15781
15782 wxPyEndAllowThreads(__tstate);
15783 if (PyErr_Occurred()) SWIG_fail;
15784 }
15785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
15786 return resultobj;
15787 fail:
15788 return NULL;
15789 }
15790
15791
15792 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
15793 PyObject *obj;
15794 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15795 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
15796 Py_INCREF(obj);
15797 return Py_BuildValue((char *)"");
15798 }
15799 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
15800 PyObject *resultobj;
15801 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
15802 wxBookCtrlSizer *result;
15803 PyObject * obj0 = 0 ;
15804 char *kwnames[] = {
15805 (char *) "nb", NULL
15806 };
15807
15808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
15809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
15810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15811 {
15812 PyThreadState* __tstate = wxPyBeginAllowThreads();
15813 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
15814
15815 wxPyEndAllowThreads(__tstate);
15816 if (PyErr_Occurred()) SWIG_fail;
15817 }
15818 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
15819 return resultobj;
15820 fail:
15821 return NULL;
15822 }
15823
15824
15825 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15826 PyObject *resultobj;
15827 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15828 PyObject * obj0 = 0 ;
15829 char *kwnames[] = {
15830 (char *) "self", NULL
15831 };
15832
15833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15836 {
15837 PyThreadState* __tstate = wxPyBeginAllowThreads();
15838 (arg1)->RecalcSizes();
15839
15840 wxPyEndAllowThreads(__tstate);
15841 if (PyErr_Occurred()) SWIG_fail;
15842 }
15843 Py_INCREF(Py_None); resultobj = Py_None;
15844 return resultobj;
15845 fail:
15846 return NULL;
15847 }
15848
15849
15850 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15851 PyObject *resultobj;
15852 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15853 wxSize result;
15854 PyObject * obj0 = 0 ;
15855 char *kwnames[] = {
15856 (char *) "self", NULL
15857 };
15858
15859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
15860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15862 {
15863 PyThreadState* __tstate = wxPyBeginAllowThreads();
15864 result = (arg1)->CalcMin();
15865
15866 wxPyEndAllowThreads(__tstate);
15867 if (PyErr_Occurred()) SWIG_fail;
15868 }
15869 {
15870 wxSize * resultptr;
15871 resultptr = new wxSize((wxSize &) result);
15872 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15873 }
15874 return resultobj;
15875 fail:
15876 return NULL;
15877 }
15878
15879
15880 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15881 PyObject *resultobj;
15882 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15883 wxBookCtrl *result;
15884 PyObject * obj0 = 0 ;
15885 char *kwnames[] = {
15886 (char *) "self", NULL
15887 };
15888
15889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
15890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15892 {
15893 PyThreadState* __tstate = wxPyBeginAllowThreads();
15894 result = (wxBookCtrl *)(arg1)->GetControl();
15895
15896 wxPyEndAllowThreads(__tstate);
15897 if (PyErr_Occurred()) SWIG_fail;
15898 }
15899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
15900 return resultobj;
15901 fail:
15902 return NULL;
15903 }
15904
15905
15906 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
15907 PyObject *obj;
15908 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15909 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
15910 Py_INCREF(obj);
15911 return Py_BuildValue((char *)"");
15912 }
15913 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
15914 PyObject *resultobj;
15915 wxNotebook *arg1 = (wxNotebook *) 0 ;
15916 wxNotebookSizer *result;
15917 PyObject * obj0 = 0 ;
15918 char *kwnames[] = {
15919 (char *) "nb", NULL
15920 };
15921
15922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
15923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15925 {
15926 PyThreadState* __tstate = wxPyBeginAllowThreads();
15927 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
15928
15929 wxPyEndAllowThreads(__tstate);
15930 if (PyErr_Occurred()) SWIG_fail;
15931 }
15932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
15933 return resultobj;
15934 fail:
15935 return NULL;
15936 }
15937
15938
15939 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15940 PyObject *resultobj;
15941 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15942 PyObject * obj0 = 0 ;
15943 char *kwnames[] = {
15944 (char *) "self", NULL
15945 };
15946
15947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15950 {
15951 PyThreadState* __tstate = wxPyBeginAllowThreads();
15952 (arg1)->RecalcSizes();
15953
15954 wxPyEndAllowThreads(__tstate);
15955 if (PyErr_Occurred()) SWIG_fail;
15956 }
15957 Py_INCREF(Py_None); resultobj = Py_None;
15958 return resultobj;
15959 fail:
15960 return NULL;
15961 }
15962
15963
15964 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15965 PyObject *resultobj;
15966 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15967 wxSize result;
15968 PyObject * obj0 = 0 ;
15969 char *kwnames[] = {
15970 (char *) "self", NULL
15971 };
15972
15973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
15974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15976 {
15977 PyThreadState* __tstate = wxPyBeginAllowThreads();
15978 result = (arg1)->CalcMin();
15979
15980 wxPyEndAllowThreads(__tstate);
15981 if (PyErr_Occurred()) SWIG_fail;
15982 }
15983 {
15984 wxSize * resultptr;
15985 resultptr = new wxSize((wxSize &) result);
15986 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15987 }
15988 return resultobj;
15989 fail:
15990 return NULL;
15991 }
15992
15993
15994 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15995 PyObject *resultobj;
15996 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15997 wxNotebook *result;
15998 PyObject * obj0 = 0 ;
15999 char *kwnames[] = {
16000 (char *) "self", NULL
16001 };
16002
16003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
16004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
16005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16006 {
16007 PyThreadState* __tstate = wxPyBeginAllowThreads();
16008 result = (wxNotebook *)(arg1)->GetNotebook();
16009
16010 wxPyEndAllowThreads(__tstate);
16011 if (PyErr_Occurred()) SWIG_fail;
16012 }
16013 {
16014 resultobj = wxPyMake_wxObject(result, 0);
16015 }
16016 return resultobj;
16017 fail:
16018 return NULL;
16019 }
16020
16021
16022 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
16023 PyObject *obj;
16024 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16025 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
16026 Py_INCREF(obj);
16027 return Py_BuildValue((char *)"");
16028 }
16029 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
16030 PyObject *resultobj;
16031 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16032 int result;
16033 PyObject * obj0 = 0 ;
16034 char *kwnames[] = {
16035 (char *) "self", NULL
16036 };
16037
16038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
16039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16041 {
16042 PyThreadState* __tstate = wxPyBeginAllowThreads();
16043 result = (int)(arg1)->GetId();
16044
16045 wxPyEndAllowThreads(__tstate);
16046 if (PyErr_Occurred()) SWIG_fail;
16047 }
16048 resultobj = SWIG_FromInt((int)result);
16049 return resultobj;
16050 fail:
16051 return NULL;
16052 }
16053
16054
16055 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16056 PyObject *resultobj;
16057 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16058 wxControl *result;
16059 PyObject * obj0 = 0 ;
16060 char *kwnames[] = {
16061 (char *) "self", NULL
16062 };
16063
16064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
16065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16067 {
16068 PyThreadState* __tstate = wxPyBeginAllowThreads();
16069 result = (wxControl *)(arg1)->GetControl();
16070
16071 wxPyEndAllowThreads(__tstate);
16072 if (PyErr_Occurred()) SWIG_fail;
16073 }
16074 {
16075 resultobj = wxPyMake_wxObject(result, 0);
16076 }
16077 return resultobj;
16078 fail:
16079 return NULL;
16080 }
16081
16082
16083 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
16084 PyObject *resultobj;
16085 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16086 wxToolBarBase *result;
16087 PyObject * obj0 = 0 ;
16088 char *kwnames[] = {
16089 (char *) "self", NULL
16090 };
16091
16092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
16093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16095 {
16096 PyThreadState* __tstate = wxPyBeginAllowThreads();
16097 result = (wxToolBarBase *)(arg1)->GetToolBar();
16098
16099 wxPyEndAllowThreads(__tstate);
16100 if (PyErr_Occurred()) SWIG_fail;
16101 }
16102 {
16103 resultobj = wxPyMake_wxObject(result, 0);
16104 }
16105 return resultobj;
16106 fail:
16107 return NULL;
16108 }
16109
16110
16111 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
16112 PyObject *resultobj;
16113 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16114 int result;
16115 PyObject * obj0 = 0 ;
16116 char *kwnames[] = {
16117 (char *) "self", NULL
16118 };
16119
16120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
16121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16123 {
16124 PyThreadState* __tstate = wxPyBeginAllowThreads();
16125 result = (int)(arg1)->IsButton();
16126
16127 wxPyEndAllowThreads(__tstate);
16128 if (PyErr_Occurred()) SWIG_fail;
16129 }
16130 resultobj = SWIG_FromInt((int)result);
16131 return resultobj;
16132 fail:
16133 return NULL;
16134 }
16135
16136
16137 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16138 PyObject *resultobj;
16139 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16140 int result;
16141 PyObject * obj0 = 0 ;
16142 char *kwnames[] = {
16143 (char *) "self", NULL
16144 };
16145
16146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
16147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16149 {
16150 PyThreadState* __tstate = wxPyBeginAllowThreads();
16151 result = (int)(arg1)->IsControl();
16152
16153 wxPyEndAllowThreads(__tstate);
16154 if (PyErr_Occurred()) SWIG_fail;
16155 }
16156 resultobj = SWIG_FromInt((int)result);
16157 return resultobj;
16158 fail:
16159 return NULL;
16160 }
16161
16162
16163 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16164 PyObject *resultobj;
16165 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16166 int result;
16167 PyObject * obj0 = 0 ;
16168 char *kwnames[] = {
16169 (char *) "self", NULL
16170 };
16171
16172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
16173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16175 {
16176 PyThreadState* __tstate = wxPyBeginAllowThreads();
16177 result = (int)(arg1)->IsSeparator();
16178
16179 wxPyEndAllowThreads(__tstate);
16180 if (PyErr_Occurred()) SWIG_fail;
16181 }
16182 resultobj = SWIG_FromInt((int)result);
16183 return resultobj;
16184 fail:
16185 return NULL;
16186 }
16187
16188
16189 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16190 PyObject *resultobj;
16191 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16192 int result;
16193 PyObject * obj0 = 0 ;
16194 char *kwnames[] = {
16195 (char *) "self", NULL
16196 };
16197
16198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
16199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16201 {
16202 PyThreadState* __tstate = wxPyBeginAllowThreads();
16203 result = (int)(arg1)->GetStyle();
16204
16205 wxPyEndAllowThreads(__tstate);
16206 if (PyErr_Occurred()) SWIG_fail;
16207 }
16208 resultobj = SWIG_FromInt((int)result);
16209 return resultobj;
16210 fail:
16211 return NULL;
16212 }
16213
16214
16215 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
16216 PyObject *resultobj;
16217 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16218 int result;
16219 PyObject * obj0 = 0 ;
16220 char *kwnames[] = {
16221 (char *) "self", NULL
16222 };
16223
16224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
16225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16227 {
16228 PyThreadState* __tstate = wxPyBeginAllowThreads();
16229 result = (int)(arg1)->GetKind();
16230
16231 wxPyEndAllowThreads(__tstate);
16232 if (PyErr_Occurred()) SWIG_fail;
16233 }
16234 resultobj = SWIG_FromInt((int)result);
16235 return resultobj;
16236 fail:
16237 return NULL;
16238 }
16239
16240
16241 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16242 PyObject *resultobj;
16243 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16244 bool result;
16245 PyObject * obj0 = 0 ;
16246 char *kwnames[] = {
16247 (char *) "self", NULL
16248 };
16249
16250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
16251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16253 {
16254 PyThreadState* __tstate = wxPyBeginAllowThreads();
16255 result = (bool)(arg1)->IsEnabled();
16256
16257 wxPyEndAllowThreads(__tstate);
16258 if (PyErr_Occurred()) SWIG_fail;
16259 }
16260 {
16261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16262 }
16263 return resultobj;
16264 fail:
16265 return NULL;
16266 }
16267
16268
16269 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
16270 PyObject *resultobj;
16271 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16272 bool result;
16273 PyObject * obj0 = 0 ;
16274 char *kwnames[] = {
16275 (char *) "self", NULL
16276 };
16277
16278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
16279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16281 {
16282 PyThreadState* __tstate = wxPyBeginAllowThreads();
16283 result = (bool)(arg1)->IsToggled();
16284
16285 wxPyEndAllowThreads(__tstate);
16286 if (PyErr_Occurred()) SWIG_fail;
16287 }
16288 {
16289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16290 }
16291 return resultobj;
16292 fail:
16293 return NULL;
16294 }
16295
16296
16297 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
16298 PyObject *resultobj;
16299 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16300 bool result;
16301 PyObject * obj0 = 0 ;
16302 char *kwnames[] = {
16303 (char *) "self", NULL
16304 };
16305
16306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
16307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16309 {
16310 PyThreadState* __tstate = wxPyBeginAllowThreads();
16311 result = (bool)(arg1)->CanBeToggled();
16312
16313 wxPyEndAllowThreads(__tstate);
16314 if (PyErr_Occurred()) SWIG_fail;
16315 }
16316 {
16317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16318 }
16319 return resultobj;
16320 fail:
16321 return NULL;
16322 }
16323
16324
16325 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16326 PyObject *resultobj;
16327 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16328 wxBitmap *result;
16329 PyObject * obj0 = 0 ;
16330 char *kwnames[] = {
16331 (char *) "self", NULL
16332 };
16333
16334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
16335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16337 {
16338 PyThreadState* __tstate = wxPyBeginAllowThreads();
16339 {
16340 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
16341 result = (wxBitmap *) &_result_ref;
16342 }
16343
16344 wxPyEndAllowThreads(__tstate);
16345 if (PyErr_Occurred()) SWIG_fail;
16346 }
16347 {
16348 wxBitmap* resultptr = new wxBitmap(*result);
16349 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16350 }
16351 return resultobj;
16352 fail:
16353 return NULL;
16354 }
16355
16356
16357 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16358 PyObject *resultobj;
16359 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16360 wxBitmap *result;
16361 PyObject * obj0 = 0 ;
16362 char *kwnames[] = {
16363 (char *) "self", NULL
16364 };
16365
16366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
16367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16369 {
16370 PyThreadState* __tstate = wxPyBeginAllowThreads();
16371 {
16372 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
16373 result = (wxBitmap *) &_result_ref;
16374 }
16375
16376 wxPyEndAllowThreads(__tstate);
16377 if (PyErr_Occurred()) SWIG_fail;
16378 }
16379 {
16380 wxBitmap* resultptr = new wxBitmap(*result);
16381 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16382 }
16383 return resultobj;
16384 fail:
16385 return NULL;
16386 }
16387
16388
16389 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16390 PyObject *resultobj;
16391 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16392 wxBitmap result;
16393 PyObject * obj0 = 0 ;
16394 char *kwnames[] = {
16395 (char *) "self", NULL
16396 };
16397
16398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
16399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16401 {
16402 PyThreadState* __tstate = wxPyBeginAllowThreads();
16403 result = (arg1)->GetBitmap();
16404
16405 wxPyEndAllowThreads(__tstate);
16406 if (PyErr_Occurred()) SWIG_fail;
16407 }
16408 {
16409 wxBitmap * resultptr;
16410 resultptr = new wxBitmap((wxBitmap &) result);
16411 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16412 }
16413 return resultobj;
16414 fail:
16415 return NULL;
16416 }
16417
16418
16419 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16420 PyObject *resultobj;
16421 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16422 wxString result;
16423 PyObject * obj0 = 0 ;
16424 char *kwnames[] = {
16425 (char *) "self", NULL
16426 };
16427
16428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
16429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16431 {
16432 PyThreadState* __tstate = wxPyBeginAllowThreads();
16433 result = (arg1)->GetLabel();
16434
16435 wxPyEndAllowThreads(__tstate);
16436 if (PyErr_Occurred()) SWIG_fail;
16437 }
16438 {
16439 #if wxUSE_UNICODE
16440 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16441 #else
16442 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16443 #endif
16444 }
16445 return resultobj;
16446 fail:
16447 return NULL;
16448 }
16449
16450
16451 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16452 PyObject *resultobj;
16453 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16454 wxString result;
16455 PyObject * obj0 = 0 ;
16456 char *kwnames[] = {
16457 (char *) "self", NULL
16458 };
16459
16460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
16461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16463 {
16464 PyThreadState* __tstate = wxPyBeginAllowThreads();
16465 result = (arg1)->GetShortHelp();
16466
16467 wxPyEndAllowThreads(__tstate);
16468 if (PyErr_Occurred()) SWIG_fail;
16469 }
16470 {
16471 #if wxUSE_UNICODE
16472 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16473 #else
16474 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16475 #endif
16476 }
16477 return resultobj;
16478 fail:
16479 return NULL;
16480 }
16481
16482
16483 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16484 PyObject *resultobj;
16485 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16486 wxString result;
16487 PyObject * obj0 = 0 ;
16488 char *kwnames[] = {
16489 (char *) "self", NULL
16490 };
16491
16492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
16493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16495 {
16496 PyThreadState* __tstate = wxPyBeginAllowThreads();
16497 result = (arg1)->GetLongHelp();
16498
16499 wxPyEndAllowThreads(__tstate);
16500 if (PyErr_Occurred()) SWIG_fail;
16501 }
16502 {
16503 #if wxUSE_UNICODE
16504 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16505 #else
16506 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16507 #endif
16508 }
16509 return resultobj;
16510 fail:
16511 return NULL;
16512 }
16513
16514
16515 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
16516 PyObject *resultobj;
16517 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16518 bool arg2 ;
16519 bool result;
16520 PyObject * obj0 = 0 ;
16521 PyObject * obj1 = 0 ;
16522 char *kwnames[] = {
16523 (char *) "self",(char *) "enable", NULL
16524 };
16525
16526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
16527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16529 arg2 = (bool) SWIG_AsBool(obj1);
16530 if (PyErr_Occurred()) SWIG_fail;
16531 {
16532 PyThreadState* __tstate = wxPyBeginAllowThreads();
16533 result = (bool)(arg1)->Enable(arg2);
16534
16535 wxPyEndAllowThreads(__tstate);
16536 if (PyErr_Occurred()) SWIG_fail;
16537 }
16538 {
16539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16540 }
16541 return resultobj;
16542 fail:
16543 return NULL;
16544 }
16545
16546
16547 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16548 PyObject *resultobj;
16549 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16550 PyObject * obj0 = 0 ;
16551 char *kwnames[] = {
16552 (char *) "self", NULL
16553 };
16554
16555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
16556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16558 {
16559 PyThreadState* __tstate = wxPyBeginAllowThreads();
16560 (arg1)->Toggle();
16561
16562 wxPyEndAllowThreads(__tstate);
16563 if (PyErr_Occurred()) SWIG_fail;
16564 }
16565 Py_INCREF(Py_None); resultobj = Py_None;
16566 return resultobj;
16567 fail:
16568 return NULL;
16569 }
16570
16571
16572 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16573 PyObject *resultobj;
16574 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16575 bool arg2 ;
16576 bool result;
16577 PyObject * obj0 = 0 ;
16578 PyObject * obj1 = 0 ;
16579 char *kwnames[] = {
16580 (char *) "self",(char *) "toggle", NULL
16581 };
16582
16583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
16584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16586 arg2 = (bool) SWIG_AsBool(obj1);
16587 if (PyErr_Occurred()) SWIG_fail;
16588 {
16589 PyThreadState* __tstate = wxPyBeginAllowThreads();
16590 result = (bool)(arg1)->SetToggle(arg2);
16591
16592 wxPyEndAllowThreads(__tstate);
16593 if (PyErr_Occurred()) SWIG_fail;
16594 }
16595 {
16596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16597 }
16598 return resultobj;
16599 fail:
16600 return NULL;
16601 }
16602
16603
16604 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16605 PyObject *resultobj;
16606 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16607 wxString *arg2 = 0 ;
16608 bool result;
16609 bool temp2 = False ;
16610 PyObject * obj0 = 0 ;
16611 PyObject * obj1 = 0 ;
16612 char *kwnames[] = {
16613 (char *) "self",(char *) "help", NULL
16614 };
16615
16616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
16617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16619 {
16620 arg2 = wxString_in_helper(obj1);
16621 if (arg2 == NULL) SWIG_fail;
16622 temp2 = True;
16623 }
16624 {
16625 PyThreadState* __tstate = wxPyBeginAllowThreads();
16626 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
16627
16628 wxPyEndAllowThreads(__tstate);
16629 if (PyErr_Occurred()) SWIG_fail;
16630 }
16631 {
16632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16633 }
16634 {
16635 if (temp2)
16636 delete arg2;
16637 }
16638 return resultobj;
16639 fail:
16640 {
16641 if (temp2)
16642 delete arg2;
16643 }
16644 return NULL;
16645 }
16646
16647
16648 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16649 PyObject *resultobj;
16650 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16651 wxString *arg2 = 0 ;
16652 bool result;
16653 bool temp2 = False ;
16654 PyObject * obj0 = 0 ;
16655 PyObject * obj1 = 0 ;
16656 char *kwnames[] = {
16657 (char *) "self",(char *) "help", NULL
16658 };
16659
16660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
16661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16663 {
16664 arg2 = wxString_in_helper(obj1);
16665 if (arg2 == NULL) SWIG_fail;
16666 temp2 = True;
16667 }
16668 {
16669 PyThreadState* __tstate = wxPyBeginAllowThreads();
16670 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
16671
16672 wxPyEndAllowThreads(__tstate);
16673 if (PyErr_Occurred()) SWIG_fail;
16674 }
16675 {
16676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16677 }
16678 {
16679 if (temp2)
16680 delete arg2;
16681 }
16682 return resultobj;
16683 fail:
16684 {
16685 if (temp2)
16686 delete arg2;
16687 }
16688 return NULL;
16689 }
16690
16691
16692 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16693 PyObject *resultobj;
16694 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16695 wxBitmap *arg2 = 0 ;
16696 PyObject * obj0 = 0 ;
16697 PyObject * obj1 = 0 ;
16698 char *kwnames[] = {
16699 (char *) "self",(char *) "bmp", NULL
16700 };
16701
16702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
16703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16705 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16706 SWIG_POINTER_EXCEPTION | 0)) == -1)
16707 SWIG_fail;
16708 if (arg2 == NULL) {
16709 PyErr_SetString(PyExc_TypeError,"null reference");
16710 SWIG_fail;
16711 }
16712 {
16713 PyThreadState* __tstate = wxPyBeginAllowThreads();
16714 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
16715
16716 wxPyEndAllowThreads(__tstate);
16717 if (PyErr_Occurred()) SWIG_fail;
16718 }
16719 Py_INCREF(Py_None); resultobj = Py_None;
16720 return resultobj;
16721 fail:
16722 return NULL;
16723 }
16724
16725
16726 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16727 PyObject *resultobj;
16728 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16729 wxBitmap *arg2 = 0 ;
16730 PyObject * obj0 = 0 ;
16731 PyObject * obj1 = 0 ;
16732 char *kwnames[] = {
16733 (char *) "self",(char *) "bmp", NULL
16734 };
16735
16736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
16737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16739 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16740 SWIG_POINTER_EXCEPTION | 0)) == -1)
16741 SWIG_fail;
16742 if (arg2 == NULL) {
16743 PyErr_SetString(PyExc_TypeError,"null reference");
16744 SWIG_fail;
16745 }
16746 {
16747 PyThreadState* __tstate = wxPyBeginAllowThreads();
16748 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
16749
16750 wxPyEndAllowThreads(__tstate);
16751 if (PyErr_Occurred()) SWIG_fail;
16752 }
16753 Py_INCREF(Py_None); resultobj = Py_None;
16754 return resultobj;
16755 fail:
16756 return NULL;
16757 }
16758
16759
16760 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16761 PyObject *resultobj;
16762 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16763 wxString *arg2 = 0 ;
16764 bool temp2 = False ;
16765 PyObject * obj0 = 0 ;
16766 PyObject * obj1 = 0 ;
16767 char *kwnames[] = {
16768 (char *) "self",(char *) "label", NULL
16769 };
16770
16771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
16772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16774 {
16775 arg2 = wxString_in_helper(obj1);
16776 if (arg2 == NULL) SWIG_fail;
16777 temp2 = True;
16778 }
16779 {
16780 PyThreadState* __tstate = wxPyBeginAllowThreads();
16781 (arg1)->SetLabel((wxString const &)*arg2);
16782
16783 wxPyEndAllowThreads(__tstate);
16784 if (PyErr_Occurred()) SWIG_fail;
16785 }
16786 Py_INCREF(Py_None); resultobj = Py_None;
16787 {
16788 if (temp2)
16789 delete arg2;
16790 }
16791 return resultobj;
16792 fail:
16793 {
16794 if (temp2)
16795 delete arg2;
16796 }
16797 return NULL;
16798 }
16799
16800
16801 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
16802 PyObject *resultobj;
16803 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16804 PyObject * obj0 = 0 ;
16805 char *kwnames[] = {
16806 (char *) "self", NULL
16807 };
16808
16809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
16810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16812 {
16813 PyThreadState* __tstate = wxPyBeginAllowThreads();
16814 (arg1)->Detach();
16815
16816 wxPyEndAllowThreads(__tstate);
16817 if (PyErr_Occurred()) SWIG_fail;
16818 }
16819 Py_INCREF(Py_None); resultobj = Py_None;
16820 return resultobj;
16821 fail:
16822 return NULL;
16823 }
16824
16825
16826 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
16827 PyObject *resultobj;
16828 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16829 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
16830 PyObject * obj0 = 0 ;
16831 PyObject * obj1 = 0 ;
16832 char *kwnames[] = {
16833 (char *) "self",(char *) "tbar", NULL
16834 };
16835
16836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
16837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16839 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
16840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16841 {
16842 PyThreadState* __tstate = wxPyBeginAllowThreads();
16843 (arg1)->Attach(arg2);
16844
16845 wxPyEndAllowThreads(__tstate);
16846 if (PyErr_Occurred()) SWIG_fail;
16847 }
16848 Py_INCREF(Py_None); resultobj = Py_None;
16849 return resultobj;
16850 fail:
16851 return NULL;
16852 }
16853
16854
16855 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16856 PyObject *resultobj;
16857 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16858 PyObject *result;
16859 PyObject * obj0 = 0 ;
16860 char *kwnames[] = {
16861 (char *) "self", NULL
16862 };
16863
16864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
16865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16867 {
16868 PyThreadState* __tstate = wxPyBeginAllowThreads();
16869 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
16870
16871 wxPyEndAllowThreads(__tstate);
16872 if (PyErr_Occurred()) SWIG_fail;
16873 }
16874 resultobj = result;
16875 return resultobj;
16876 fail:
16877 return NULL;
16878 }
16879
16880
16881 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16882 PyObject *resultobj;
16883 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16884 PyObject *arg2 = (PyObject *) 0 ;
16885 PyObject * obj0 = 0 ;
16886 PyObject * obj1 = 0 ;
16887 char *kwnames[] = {
16888 (char *) "self",(char *) "clientData", NULL
16889 };
16890
16891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
16892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16894 arg2 = obj1;
16895 {
16896 PyThreadState* __tstate = wxPyBeginAllowThreads();
16897 wxToolBarToolBase_SetClientData(arg1,arg2);
16898
16899 wxPyEndAllowThreads(__tstate);
16900 if (PyErr_Occurred()) SWIG_fail;
16901 }
16902 Py_INCREF(Py_None); resultobj = Py_None;
16903 return resultobj;
16904 fail:
16905 return NULL;
16906 }
16907
16908
16909 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
16910 PyObject *obj;
16911 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16912 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
16913 Py_INCREF(obj);
16914 return Py_BuildValue((char *)"");
16915 }
16916 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16917 PyObject *resultobj;
16918 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16919 int arg2 ;
16920 wxString *arg3 = 0 ;
16921 wxBitmap *arg4 = 0 ;
16922 wxBitmap const &arg5_defvalue = wxNullBitmap ;
16923 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
16924 int arg6 = (int) wxITEM_NORMAL ;
16925 wxString const &arg7_defvalue = wxPyEmptyString ;
16926 wxString *arg7 = (wxString *) &arg7_defvalue ;
16927 wxString const &arg8_defvalue = wxPyEmptyString ;
16928 wxString *arg8 = (wxString *) &arg8_defvalue ;
16929 PyObject *arg9 = (PyObject *) NULL ;
16930 wxToolBarToolBase *result;
16931 bool temp3 = False ;
16932 bool temp7 = False ;
16933 bool temp8 = False ;
16934 PyObject * obj0 = 0 ;
16935 PyObject * obj1 = 0 ;
16936 PyObject * obj2 = 0 ;
16937 PyObject * obj3 = 0 ;
16938 PyObject * obj4 = 0 ;
16939 PyObject * obj5 = 0 ;
16940 PyObject * obj6 = 0 ;
16941 PyObject * obj7 = 0 ;
16942 PyObject * obj8 = 0 ;
16943 char *kwnames[] = {
16944 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16945 };
16946
16947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
16948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16950 arg2 = (int) SWIG_AsInt(obj1);
16951 if (PyErr_Occurred()) SWIG_fail;
16952 {
16953 arg3 = wxString_in_helper(obj2);
16954 if (arg3 == NULL) SWIG_fail;
16955 temp3 = True;
16956 }
16957 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
16958 SWIG_POINTER_EXCEPTION | 0)) == -1)
16959 SWIG_fail;
16960 if (arg4 == NULL) {
16961 PyErr_SetString(PyExc_TypeError,"null reference");
16962 SWIG_fail;
16963 }
16964 if (obj4) {
16965 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16966 SWIG_POINTER_EXCEPTION | 0)) == -1)
16967 SWIG_fail;
16968 if (arg5 == NULL) {
16969 PyErr_SetString(PyExc_TypeError,"null reference");
16970 SWIG_fail;
16971 }
16972 }
16973 if (obj5) {
16974 arg6 = (wxItemKind) SWIG_AsInt(obj5);
16975 if (PyErr_Occurred()) SWIG_fail;
16976 }
16977 if (obj6) {
16978 {
16979 arg7 = wxString_in_helper(obj6);
16980 if (arg7 == NULL) SWIG_fail;
16981 temp7 = True;
16982 }
16983 }
16984 if (obj7) {
16985 {
16986 arg8 = wxString_in_helper(obj7);
16987 if (arg8 == NULL) SWIG_fail;
16988 temp8 = True;
16989 }
16990 }
16991 if (obj8) {
16992 arg9 = obj8;
16993 }
16994 {
16995 PyThreadState* __tstate = wxPyBeginAllowThreads();
16996 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
16997
16998 wxPyEndAllowThreads(__tstate);
16999 if (PyErr_Occurred()) SWIG_fail;
17000 }
17001 {
17002 resultobj = wxPyMake_wxObject(result, 0);
17003 }
17004 {
17005 if (temp3)
17006 delete arg3;
17007 }
17008 {
17009 if (temp7)
17010 delete arg7;
17011 }
17012 {
17013 if (temp8)
17014 delete arg8;
17015 }
17016 return resultobj;
17017 fail:
17018 {
17019 if (temp3)
17020 delete arg3;
17021 }
17022 {
17023 if (temp7)
17024 delete arg7;
17025 }
17026 {
17027 if (temp8)
17028 delete arg8;
17029 }
17030 return NULL;
17031 }
17032
17033
17034 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17035 PyObject *resultobj;
17036 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17037 size_t arg2 ;
17038 int arg3 ;
17039 wxString *arg4 = 0 ;
17040 wxBitmap *arg5 = 0 ;
17041 wxBitmap const &arg6_defvalue = wxNullBitmap ;
17042 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
17043 int arg7 = (int) wxITEM_NORMAL ;
17044 wxString const &arg8_defvalue = wxPyEmptyString ;
17045 wxString *arg8 = (wxString *) &arg8_defvalue ;
17046 wxString const &arg9_defvalue = wxPyEmptyString ;
17047 wxString *arg9 = (wxString *) &arg9_defvalue ;
17048 PyObject *arg10 = (PyObject *) NULL ;
17049 wxToolBarToolBase *result;
17050 bool temp4 = False ;
17051 bool temp8 = False ;
17052 bool temp9 = False ;
17053 PyObject * obj0 = 0 ;
17054 PyObject * obj1 = 0 ;
17055 PyObject * obj2 = 0 ;
17056 PyObject * obj3 = 0 ;
17057 PyObject * obj4 = 0 ;
17058 PyObject * obj5 = 0 ;
17059 PyObject * obj6 = 0 ;
17060 PyObject * obj7 = 0 ;
17061 PyObject * obj8 = 0 ;
17062 PyObject * obj9 = 0 ;
17063 char *kwnames[] = {
17064 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17065 };
17066
17067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
17068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17070 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17071 if (PyErr_Occurred()) SWIG_fail;
17072 arg3 = (int) SWIG_AsInt(obj2);
17073 if (PyErr_Occurred()) SWIG_fail;
17074 {
17075 arg4 = wxString_in_helper(obj3);
17076 if (arg4 == NULL) SWIG_fail;
17077 temp4 = True;
17078 }
17079 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
17080 SWIG_POINTER_EXCEPTION | 0)) == -1)
17081 SWIG_fail;
17082 if (arg5 == NULL) {
17083 PyErr_SetString(PyExc_TypeError,"null reference");
17084 SWIG_fail;
17085 }
17086 if (obj5) {
17087 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
17088 SWIG_POINTER_EXCEPTION | 0)) == -1)
17089 SWIG_fail;
17090 if (arg6 == NULL) {
17091 PyErr_SetString(PyExc_TypeError,"null reference");
17092 SWIG_fail;
17093 }
17094 }
17095 if (obj6) {
17096 arg7 = (wxItemKind) SWIG_AsInt(obj6);
17097 if (PyErr_Occurred()) SWIG_fail;
17098 }
17099 if (obj7) {
17100 {
17101 arg8 = wxString_in_helper(obj7);
17102 if (arg8 == NULL) SWIG_fail;
17103 temp8 = True;
17104 }
17105 }
17106 if (obj8) {
17107 {
17108 arg9 = wxString_in_helper(obj8);
17109 if (arg9 == NULL) SWIG_fail;
17110 temp9 = True;
17111 }
17112 }
17113 if (obj9) {
17114 arg10 = obj9;
17115 }
17116 {
17117 PyThreadState* __tstate = wxPyBeginAllowThreads();
17118 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);
17119
17120 wxPyEndAllowThreads(__tstate);
17121 if (PyErr_Occurred()) SWIG_fail;
17122 }
17123 {
17124 resultobj = wxPyMake_wxObject(result, 0);
17125 }
17126 {
17127 if (temp4)
17128 delete arg4;
17129 }
17130 {
17131 if (temp8)
17132 delete arg8;
17133 }
17134 {
17135 if (temp9)
17136 delete arg9;
17137 }
17138 return resultobj;
17139 fail:
17140 {
17141 if (temp4)
17142 delete arg4;
17143 }
17144 {
17145 if (temp8)
17146 delete arg8;
17147 }
17148 {
17149 if (temp9)
17150 delete arg9;
17151 }
17152 return NULL;
17153 }
17154
17155
17156 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17157 PyObject *resultobj;
17158 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17159 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
17160 wxToolBarToolBase *result;
17161 PyObject * obj0 = 0 ;
17162 PyObject * obj1 = 0 ;
17163 char *kwnames[] = {
17164 (char *) "self",(char *) "tool", NULL
17165 };
17166
17167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
17168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17170 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
17171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17172 {
17173 PyThreadState* __tstate = wxPyBeginAllowThreads();
17174 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
17175
17176 wxPyEndAllowThreads(__tstate);
17177 if (PyErr_Occurred()) SWIG_fail;
17178 }
17179 {
17180 resultobj = wxPyMake_wxObject(result, 0);
17181 }
17182 return resultobj;
17183 fail:
17184 return NULL;
17185 }
17186
17187
17188 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17189 PyObject *resultobj;
17190 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17191 size_t arg2 ;
17192 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
17193 wxToolBarToolBase *result;
17194 PyObject * obj0 = 0 ;
17195 PyObject * obj1 = 0 ;
17196 PyObject * obj2 = 0 ;
17197 char *kwnames[] = {
17198 (char *) "self",(char *) "pos",(char *) "tool", NULL
17199 };
17200
17201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
17202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17204 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17205 if (PyErr_Occurred()) SWIG_fail;
17206 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
17207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17208 {
17209 PyThreadState* __tstate = wxPyBeginAllowThreads();
17210 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
17211
17212 wxPyEndAllowThreads(__tstate);
17213 if (PyErr_Occurred()) SWIG_fail;
17214 }
17215 {
17216 resultobj = wxPyMake_wxObject(result, 0);
17217 }
17218 return resultobj;
17219 fail:
17220 return NULL;
17221 }
17222
17223
17224 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17225 PyObject *resultobj;
17226 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17227 wxControl *arg2 = (wxControl *) 0 ;
17228 wxToolBarToolBase *result;
17229 PyObject * obj0 = 0 ;
17230 PyObject * obj1 = 0 ;
17231 char *kwnames[] = {
17232 (char *) "self",(char *) "control", NULL
17233 };
17234
17235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
17236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
17239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17240 {
17241 PyThreadState* __tstate = wxPyBeginAllowThreads();
17242 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
17243
17244 wxPyEndAllowThreads(__tstate);
17245 if (PyErr_Occurred()) SWIG_fail;
17246 }
17247 {
17248 resultobj = wxPyMake_wxObject(result, 0);
17249 }
17250 return resultobj;
17251 fail:
17252 return NULL;
17253 }
17254
17255
17256 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17257 PyObject *resultobj;
17258 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17259 size_t arg2 ;
17260 wxControl *arg3 = (wxControl *) 0 ;
17261 wxToolBarToolBase *result;
17262 PyObject * obj0 = 0 ;
17263 PyObject * obj1 = 0 ;
17264 PyObject * obj2 = 0 ;
17265 char *kwnames[] = {
17266 (char *) "self",(char *) "pos",(char *) "control", NULL
17267 };
17268
17269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
17270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17272 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17273 if (PyErr_Occurred()) SWIG_fail;
17274 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
17275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17276 {
17277 PyThreadState* __tstate = wxPyBeginAllowThreads();
17278 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
17279
17280 wxPyEndAllowThreads(__tstate);
17281 if (PyErr_Occurred()) SWIG_fail;
17282 }
17283 {
17284 resultobj = wxPyMake_wxObject(result, 0);
17285 }
17286 return resultobj;
17287 fail:
17288 return NULL;
17289 }
17290
17291
17292 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17293 PyObject *resultobj;
17294 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17295 int arg2 ;
17296 wxControl *result;
17297 PyObject * obj0 = 0 ;
17298 PyObject * obj1 = 0 ;
17299 char *kwnames[] = {
17300 (char *) "self",(char *) "id", NULL
17301 };
17302
17303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
17304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17306 arg2 = (int) SWIG_AsInt(obj1);
17307 if (PyErr_Occurred()) SWIG_fail;
17308 {
17309 PyThreadState* __tstate = wxPyBeginAllowThreads();
17310 result = (wxControl *)(arg1)->FindControl(arg2);
17311
17312 wxPyEndAllowThreads(__tstate);
17313 if (PyErr_Occurred()) SWIG_fail;
17314 }
17315 {
17316 resultobj = wxPyMake_wxObject(result, 0);
17317 }
17318 return resultobj;
17319 fail:
17320 return NULL;
17321 }
17322
17323
17324 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
17325 PyObject *resultobj;
17326 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17327 wxToolBarToolBase *result;
17328 PyObject * obj0 = 0 ;
17329 char *kwnames[] = {
17330 (char *) "self", NULL
17331 };
17332
17333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
17334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17336 {
17337 PyThreadState* __tstate = wxPyBeginAllowThreads();
17338 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
17339
17340 wxPyEndAllowThreads(__tstate);
17341 if (PyErr_Occurred()) SWIG_fail;
17342 }
17343 {
17344 resultobj = wxPyMake_wxObject(result, 0);
17345 }
17346 return resultobj;
17347 fail:
17348 return NULL;
17349 }
17350
17351
17352 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
17353 PyObject *resultobj;
17354 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17355 size_t arg2 ;
17356 wxToolBarToolBase *result;
17357 PyObject * obj0 = 0 ;
17358 PyObject * obj1 = 0 ;
17359 char *kwnames[] = {
17360 (char *) "self",(char *) "pos", NULL
17361 };
17362
17363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
17364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17366 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17367 if (PyErr_Occurred()) SWIG_fail;
17368 {
17369 PyThreadState* __tstate = wxPyBeginAllowThreads();
17370 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
17371
17372 wxPyEndAllowThreads(__tstate);
17373 if (PyErr_Occurred()) SWIG_fail;
17374 }
17375 {
17376 resultobj = wxPyMake_wxObject(result, 0);
17377 }
17378 return resultobj;
17379 fail:
17380 return NULL;
17381 }
17382
17383
17384 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17385 PyObject *resultobj;
17386 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17387 int arg2 ;
17388 wxToolBarToolBase *result;
17389 PyObject * obj0 = 0 ;
17390 PyObject * obj1 = 0 ;
17391 char *kwnames[] = {
17392 (char *) "self",(char *) "id", NULL
17393 };
17394
17395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
17396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17398 arg2 = (int) SWIG_AsInt(obj1);
17399 if (PyErr_Occurred()) SWIG_fail;
17400 {
17401 PyThreadState* __tstate = wxPyBeginAllowThreads();
17402 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
17403
17404 wxPyEndAllowThreads(__tstate);
17405 if (PyErr_Occurred()) SWIG_fail;
17406 }
17407 {
17408 resultobj = wxPyMake_wxObject(result, 0);
17409 }
17410 return resultobj;
17411 fail:
17412 return NULL;
17413 }
17414
17415
17416 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
17417 PyObject *resultobj;
17418 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17419 size_t arg2 ;
17420 bool result;
17421 PyObject * obj0 = 0 ;
17422 PyObject * obj1 = 0 ;
17423 char *kwnames[] = {
17424 (char *) "self",(char *) "pos", NULL
17425 };
17426
17427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
17428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17430 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17431 if (PyErr_Occurred()) SWIG_fail;
17432 {
17433 PyThreadState* __tstate = wxPyBeginAllowThreads();
17434 result = (bool)(arg1)->DeleteToolByPos(arg2);
17435
17436 wxPyEndAllowThreads(__tstate);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 }
17439 {
17440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17441 }
17442 return resultobj;
17443 fail:
17444 return NULL;
17445 }
17446
17447
17448 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17449 PyObject *resultobj;
17450 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17451 int arg2 ;
17452 bool result;
17453 PyObject * obj0 = 0 ;
17454 PyObject * obj1 = 0 ;
17455 char *kwnames[] = {
17456 (char *) "self",(char *) "id", NULL
17457 };
17458
17459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
17460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17462 arg2 = (int) SWIG_AsInt(obj1);
17463 if (PyErr_Occurred()) SWIG_fail;
17464 {
17465 PyThreadState* __tstate = wxPyBeginAllowThreads();
17466 result = (bool)(arg1)->DeleteTool(arg2);
17467
17468 wxPyEndAllowThreads(__tstate);
17469 if (PyErr_Occurred()) SWIG_fail;
17470 }
17471 {
17472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17473 }
17474 return resultobj;
17475 fail:
17476 return NULL;
17477 }
17478
17479
17480 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
17481 PyObject *resultobj;
17482 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17483 PyObject * obj0 = 0 ;
17484 char *kwnames[] = {
17485 (char *) "self", NULL
17486 };
17487
17488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
17489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17491 {
17492 PyThreadState* __tstate = wxPyBeginAllowThreads();
17493 (arg1)->ClearTools();
17494
17495 wxPyEndAllowThreads(__tstate);
17496 if (PyErr_Occurred()) SWIG_fail;
17497 }
17498 Py_INCREF(Py_None); resultobj = Py_None;
17499 return resultobj;
17500 fail:
17501 return NULL;
17502 }
17503
17504
17505 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
17506 PyObject *resultobj;
17507 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17508 bool result;
17509 PyObject * obj0 = 0 ;
17510 char *kwnames[] = {
17511 (char *) "self", NULL
17512 };
17513
17514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
17515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17517 {
17518 PyThreadState* __tstate = wxPyBeginAllowThreads();
17519 result = (bool)(arg1)->Realize();
17520
17521 wxPyEndAllowThreads(__tstate);
17522 if (PyErr_Occurred()) SWIG_fail;
17523 }
17524 {
17525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17526 }
17527 return resultobj;
17528 fail:
17529 return NULL;
17530 }
17531
17532
17533 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17534 PyObject *resultobj;
17535 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17536 int arg2 ;
17537 bool arg3 ;
17538 PyObject * obj0 = 0 ;
17539 PyObject * obj1 = 0 ;
17540 PyObject * obj2 = 0 ;
17541 char *kwnames[] = {
17542 (char *) "self",(char *) "id",(char *) "enable", NULL
17543 };
17544
17545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17548 arg2 = (int) SWIG_AsInt(obj1);
17549 if (PyErr_Occurred()) SWIG_fail;
17550 arg3 = (bool) SWIG_AsBool(obj2);
17551 if (PyErr_Occurred()) SWIG_fail;
17552 {
17553 PyThreadState* __tstate = wxPyBeginAllowThreads();
17554 (arg1)->EnableTool(arg2,arg3);
17555
17556 wxPyEndAllowThreads(__tstate);
17557 if (PyErr_Occurred()) SWIG_fail;
17558 }
17559 Py_INCREF(Py_None); resultobj = Py_None;
17560 return resultobj;
17561 fail:
17562 return NULL;
17563 }
17564
17565
17566 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17567 PyObject *resultobj;
17568 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17569 int arg2 ;
17570 bool arg3 ;
17571 PyObject * obj0 = 0 ;
17572 PyObject * obj1 = 0 ;
17573 PyObject * obj2 = 0 ;
17574 char *kwnames[] = {
17575 (char *) "self",(char *) "id",(char *) "toggle", NULL
17576 };
17577
17578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17581 arg2 = (int) SWIG_AsInt(obj1);
17582 if (PyErr_Occurred()) SWIG_fail;
17583 arg3 = (bool) SWIG_AsBool(obj2);
17584 if (PyErr_Occurred()) SWIG_fail;
17585 {
17586 PyThreadState* __tstate = wxPyBeginAllowThreads();
17587 (arg1)->ToggleTool(arg2,arg3);
17588
17589 wxPyEndAllowThreads(__tstate);
17590 if (PyErr_Occurred()) SWIG_fail;
17591 }
17592 Py_INCREF(Py_None); resultobj = Py_None;
17593 return resultobj;
17594 fail:
17595 return NULL;
17596 }
17597
17598
17599 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
17600 PyObject *resultobj;
17601 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17602 int arg2 ;
17603 bool arg3 ;
17604 PyObject * obj0 = 0 ;
17605 PyObject * obj1 = 0 ;
17606 PyObject * obj2 = 0 ;
17607 char *kwnames[] = {
17608 (char *) "self",(char *) "id",(char *) "toggle", NULL
17609 };
17610
17611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
17612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17614 arg2 = (int) SWIG_AsInt(obj1);
17615 if (PyErr_Occurred()) SWIG_fail;
17616 arg3 = (bool) SWIG_AsBool(obj2);
17617 if (PyErr_Occurred()) SWIG_fail;
17618 {
17619 PyThreadState* __tstate = wxPyBeginAllowThreads();
17620 (arg1)->SetToggle(arg2,arg3);
17621
17622 wxPyEndAllowThreads(__tstate);
17623 if (PyErr_Occurred()) SWIG_fail;
17624 }
17625 Py_INCREF(Py_None); resultobj = Py_None;
17626 return resultobj;
17627 fail:
17628 return NULL;
17629 }
17630
17631
17632 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
17633 PyObject *resultobj;
17634 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17635 int arg2 ;
17636 PyObject *result;
17637 PyObject * obj0 = 0 ;
17638 PyObject * obj1 = 0 ;
17639 char *kwnames[] = {
17640 (char *) "self",(char *) "id", NULL
17641 };
17642
17643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
17644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17646 arg2 = (int) SWIG_AsInt(obj1);
17647 if (PyErr_Occurred()) SWIG_fail;
17648 {
17649 PyThreadState* __tstate = wxPyBeginAllowThreads();
17650 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
17651
17652 wxPyEndAllowThreads(__tstate);
17653 if (PyErr_Occurred()) SWIG_fail;
17654 }
17655 resultobj = result;
17656 return resultobj;
17657 fail:
17658 return NULL;
17659 }
17660
17661
17662 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
17663 PyObject *resultobj;
17664 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17665 int arg2 ;
17666 PyObject *arg3 = (PyObject *) 0 ;
17667 PyObject * obj0 = 0 ;
17668 PyObject * obj1 = 0 ;
17669 PyObject * obj2 = 0 ;
17670 char *kwnames[] = {
17671 (char *) "self",(char *) "id",(char *) "clientData", NULL
17672 };
17673
17674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
17675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17677 arg2 = (int) SWIG_AsInt(obj1);
17678 if (PyErr_Occurred()) SWIG_fail;
17679 arg3 = obj2;
17680 {
17681 PyThreadState* __tstate = wxPyBeginAllowThreads();
17682 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
17683
17684 wxPyEndAllowThreads(__tstate);
17685 if (PyErr_Occurred()) SWIG_fail;
17686 }
17687 Py_INCREF(Py_None); resultobj = Py_None;
17688 return resultobj;
17689 fail:
17690 return NULL;
17691 }
17692
17693
17694 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
17695 PyObject *resultobj;
17696 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17697 int arg2 ;
17698 int result;
17699 PyObject * obj0 = 0 ;
17700 PyObject * obj1 = 0 ;
17701 char *kwnames[] = {
17702 (char *) "self",(char *) "id", NULL
17703 };
17704
17705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
17706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17708 arg2 = (int) SWIG_AsInt(obj1);
17709 if (PyErr_Occurred()) SWIG_fail;
17710 {
17711 PyThreadState* __tstate = wxPyBeginAllowThreads();
17712 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
17713
17714 wxPyEndAllowThreads(__tstate);
17715 if (PyErr_Occurred()) SWIG_fail;
17716 }
17717 resultobj = SWIG_FromInt((int)result);
17718 return resultobj;
17719 fail:
17720 return NULL;
17721 }
17722
17723
17724 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
17725 PyObject *resultobj;
17726 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17727 int arg2 ;
17728 bool result;
17729 PyObject * obj0 = 0 ;
17730 PyObject * obj1 = 0 ;
17731 char *kwnames[] = {
17732 (char *) "self",(char *) "id", NULL
17733 };
17734
17735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
17736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17738 arg2 = (int) SWIG_AsInt(obj1);
17739 if (PyErr_Occurred()) SWIG_fail;
17740 {
17741 PyThreadState* __tstate = wxPyBeginAllowThreads();
17742 result = (bool)(arg1)->GetToolState(arg2);
17743
17744 wxPyEndAllowThreads(__tstate);
17745 if (PyErr_Occurred()) SWIG_fail;
17746 }
17747 {
17748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17749 }
17750 return resultobj;
17751 fail:
17752 return NULL;
17753 }
17754
17755
17756 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17757 PyObject *resultobj;
17758 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17759 int arg2 ;
17760 bool result;
17761 PyObject * obj0 = 0 ;
17762 PyObject * obj1 = 0 ;
17763 char *kwnames[] = {
17764 (char *) "self",(char *) "id", NULL
17765 };
17766
17767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
17768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17770 arg2 = (int) SWIG_AsInt(obj1);
17771 if (PyErr_Occurred()) SWIG_fail;
17772 {
17773 PyThreadState* __tstate = wxPyBeginAllowThreads();
17774 result = (bool)(arg1)->GetToolEnabled(arg2);
17775
17776 wxPyEndAllowThreads(__tstate);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
17779 {
17780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17781 }
17782 return resultobj;
17783 fail:
17784 return NULL;
17785 }
17786
17787
17788 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17789 PyObject *resultobj;
17790 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17791 int arg2 ;
17792 wxString *arg3 = 0 ;
17793 bool temp3 = False ;
17794 PyObject * obj0 = 0 ;
17795 PyObject * obj1 = 0 ;
17796 PyObject * obj2 = 0 ;
17797 char *kwnames[] = {
17798 (char *) "self",(char *) "id",(char *) "helpString", NULL
17799 };
17800
17801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
17802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17804 arg2 = (int) SWIG_AsInt(obj1);
17805 if (PyErr_Occurred()) SWIG_fail;
17806 {
17807 arg3 = wxString_in_helper(obj2);
17808 if (arg3 == NULL) SWIG_fail;
17809 temp3 = True;
17810 }
17811 {
17812 PyThreadState* __tstate = wxPyBeginAllowThreads();
17813 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
17814
17815 wxPyEndAllowThreads(__tstate);
17816 if (PyErr_Occurred()) SWIG_fail;
17817 }
17818 Py_INCREF(Py_None); resultobj = Py_None;
17819 {
17820 if (temp3)
17821 delete arg3;
17822 }
17823 return resultobj;
17824 fail:
17825 {
17826 if (temp3)
17827 delete arg3;
17828 }
17829 return NULL;
17830 }
17831
17832
17833 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17834 PyObject *resultobj;
17835 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17836 int arg2 ;
17837 wxString result;
17838 PyObject * obj0 = 0 ;
17839 PyObject * obj1 = 0 ;
17840 char *kwnames[] = {
17841 (char *) "self",(char *) "id", NULL
17842 };
17843
17844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
17845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17847 arg2 = (int) SWIG_AsInt(obj1);
17848 if (PyErr_Occurred()) SWIG_fail;
17849 {
17850 PyThreadState* __tstate = wxPyBeginAllowThreads();
17851 result = (arg1)->GetToolShortHelp(arg2);
17852
17853 wxPyEndAllowThreads(__tstate);
17854 if (PyErr_Occurred()) SWIG_fail;
17855 }
17856 {
17857 #if wxUSE_UNICODE
17858 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17859 #else
17860 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17861 #endif
17862 }
17863 return resultobj;
17864 fail:
17865 return NULL;
17866 }
17867
17868
17869 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17870 PyObject *resultobj;
17871 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17872 int arg2 ;
17873 wxString *arg3 = 0 ;
17874 bool temp3 = False ;
17875 PyObject * obj0 = 0 ;
17876 PyObject * obj1 = 0 ;
17877 PyObject * obj2 = 0 ;
17878 char *kwnames[] = {
17879 (char *) "self",(char *) "id",(char *) "helpString", NULL
17880 };
17881
17882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
17883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17885 arg2 = (int) SWIG_AsInt(obj1);
17886 if (PyErr_Occurred()) SWIG_fail;
17887 {
17888 arg3 = wxString_in_helper(obj2);
17889 if (arg3 == NULL) SWIG_fail;
17890 temp3 = True;
17891 }
17892 {
17893 PyThreadState* __tstate = wxPyBeginAllowThreads();
17894 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
17895
17896 wxPyEndAllowThreads(__tstate);
17897 if (PyErr_Occurred()) SWIG_fail;
17898 }
17899 Py_INCREF(Py_None); resultobj = Py_None;
17900 {
17901 if (temp3)
17902 delete arg3;
17903 }
17904 return resultobj;
17905 fail:
17906 {
17907 if (temp3)
17908 delete arg3;
17909 }
17910 return NULL;
17911 }
17912
17913
17914 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17915 PyObject *resultobj;
17916 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17917 int arg2 ;
17918 wxString result;
17919 PyObject * obj0 = 0 ;
17920 PyObject * obj1 = 0 ;
17921 char *kwnames[] = {
17922 (char *) "self",(char *) "id", NULL
17923 };
17924
17925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
17926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17928 arg2 = (int) SWIG_AsInt(obj1);
17929 if (PyErr_Occurred()) SWIG_fail;
17930 {
17931 PyThreadState* __tstate = wxPyBeginAllowThreads();
17932 result = (arg1)->GetToolLongHelp(arg2);
17933
17934 wxPyEndAllowThreads(__tstate);
17935 if (PyErr_Occurred()) SWIG_fail;
17936 }
17937 {
17938 #if wxUSE_UNICODE
17939 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17940 #else
17941 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17942 #endif
17943 }
17944 return resultobj;
17945 fail:
17946 return NULL;
17947 }
17948
17949
17950 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
17951 PyObject *resultobj;
17952 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17953 int arg2 ;
17954 int arg3 ;
17955 PyObject * obj0 = 0 ;
17956 PyObject * obj1 = 0 ;
17957 PyObject * obj2 = 0 ;
17958 char *kwnames[] = {
17959 (char *) "self",(char *) "x",(char *) "y", NULL
17960 };
17961
17962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
17963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17965 arg2 = (int) SWIG_AsInt(obj1);
17966 if (PyErr_Occurred()) SWIG_fail;
17967 arg3 = (int) SWIG_AsInt(obj2);
17968 if (PyErr_Occurred()) SWIG_fail;
17969 {
17970 PyThreadState* __tstate = wxPyBeginAllowThreads();
17971 (arg1)->SetMargins(arg2,arg3);
17972
17973 wxPyEndAllowThreads(__tstate);
17974 if (PyErr_Occurred()) SWIG_fail;
17975 }
17976 Py_INCREF(Py_None); resultobj = Py_None;
17977 return resultobj;
17978 fail:
17979 return NULL;
17980 }
17981
17982
17983 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17984 PyObject *resultobj;
17985 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17986 wxSize *arg2 = 0 ;
17987 wxSize temp2 ;
17988 PyObject * obj0 = 0 ;
17989 PyObject * obj1 = 0 ;
17990 char *kwnames[] = {
17991 (char *) "self",(char *) "size", NULL
17992 };
17993
17994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
17995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17997 {
17998 arg2 = &temp2;
17999 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18000 }
18001 {
18002 PyThreadState* __tstate = wxPyBeginAllowThreads();
18003 (arg1)->SetMargins((wxSize const &)*arg2);
18004
18005 wxPyEndAllowThreads(__tstate);
18006 if (PyErr_Occurred()) SWIG_fail;
18007 }
18008 Py_INCREF(Py_None); resultobj = Py_None;
18009 return resultobj;
18010 fail:
18011 return NULL;
18012 }
18013
18014
18015 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
18016 PyObject *resultobj;
18017 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18018 int arg2 ;
18019 PyObject * obj0 = 0 ;
18020 PyObject * obj1 = 0 ;
18021 char *kwnames[] = {
18022 (char *) "self",(char *) "packing", NULL
18023 };
18024
18025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
18026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18028 arg2 = (int) SWIG_AsInt(obj1);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 {
18031 PyThreadState* __tstate = wxPyBeginAllowThreads();
18032 (arg1)->SetToolPacking(arg2);
18033
18034 wxPyEndAllowThreads(__tstate);
18035 if (PyErr_Occurred()) SWIG_fail;
18036 }
18037 Py_INCREF(Py_None); resultobj = Py_None;
18038 return resultobj;
18039 fail:
18040 return NULL;
18041 }
18042
18043
18044 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
18045 PyObject *resultobj;
18046 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18047 int arg2 ;
18048 PyObject * obj0 = 0 ;
18049 PyObject * obj1 = 0 ;
18050 char *kwnames[] = {
18051 (char *) "self",(char *) "separation", NULL
18052 };
18053
18054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
18055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18057 arg2 = (int) SWIG_AsInt(obj1);
18058 if (PyErr_Occurred()) SWIG_fail;
18059 {
18060 PyThreadState* __tstate = wxPyBeginAllowThreads();
18061 (arg1)->SetToolSeparation(arg2);
18062
18063 wxPyEndAllowThreads(__tstate);
18064 if (PyErr_Occurred()) SWIG_fail;
18065 }
18066 Py_INCREF(Py_None); resultobj = Py_None;
18067 return resultobj;
18068 fail:
18069 return NULL;
18070 }
18071
18072
18073 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18074 PyObject *resultobj;
18075 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18076 wxSize result;
18077 PyObject * obj0 = 0 ;
18078 char *kwnames[] = {
18079 (char *) "self", NULL
18080 };
18081
18082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
18083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18085 {
18086 PyThreadState* __tstate = wxPyBeginAllowThreads();
18087 result = (arg1)->GetToolMargins();
18088
18089 wxPyEndAllowThreads(__tstate);
18090 if (PyErr_Occurred()) SWIG_fail;
18091 }
18092 {
18093 wxSize * resultptr;
18094 resultptr = new wxSize((wxSize &) result);
18095 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18096 }
18097 return resultobj;
18098 fail:
18099 return NULL;
18100 }
18101
18102
18103 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18104 PyObject *resultobj;
18105 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18106 wxSize result;
18107 PyObject * obj0 = 0 ;
18108 char *kwnames[] = {
18109 (char *) "self", NULL
18110 };
18111
18112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
18113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18115 {
18116 PyThreadState* __tstate = wxPyBeginAllowThreads();
18117 result = (arg1)->GetMargins();
18118
18119 wxPyEndAllowThreads(__tstate);
18120 if (PyErr_Occurred()) SWIG_fail;
18121 }
18122 {
18123 wxSize * resultptr;
18124 resultptr = new wxSize((wxSize &) result);
18125 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18126 }
18127 return resultobj;
18128 fail:
18129 return NULL;
18130 }
18131
18132
18133 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
18134 PyObject *resultobj;
18135 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18136 int result;
18137 PyObject * obj0 = 0 ;
18138 char *kwnames[] = {
18139 (char *) "self", NULL
18140 };
18141
18142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
18143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18145 {
18146 PyThreadState* __tstate = wxPyBeginAllowThreads();
18147 result = (int)(arg1)->GetToolPacking();
18148
18149 wxPyEndAllowThreads(__tstate);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 }
18152 resultobj = SWIG_FromInt((int)result);
18153 return resultobj;
18154 fail:
18155 return NULL;
18156 }
18157
18158
18159 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
18160 PyObject *resultobj;
18161 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18162 int result;
18163 PyObject * obj0 = 0 ;
18164 char *kwnames[] = {
18165 (char *) "self", NULL
18166 };
18167
18168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
18169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18171 {
18172 PyThreadState* __tstate = wxPyBeginAllowThreads();
18173 result = (int)(arg1)->GetToolSeparation();
18174
18175 wxPyEndAllowThreads(__tstate);
18176 if (PyErr_Occurred()) SWIG_fail;
18177 }
18178 resultobj = SWIG_FromInt((int)result);
18179 return resultobj;
18180 fail:
18181 return NULL;
18182 }
18183
18184
18185 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
18186 PyObject *resultobj;
18187 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18188 int arg2 ;
18189 PyObject * obj0 = 0 ;
18190 PyObject * obj1 = 0 ;
18191 char *kwnames[] = {
18192 (char *) "self",(char *) "nRows", NULL
18193 };
18194
18195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
18196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18198 arg2 = (int) SWIG_AsInt(obj1);
18199 if (PyErr_Occurred()) SWIG_fail;
18200 {
18201 PyThreadState* __tstate = wxPyBeginAllowThreads();
18202 (arg1)->SetRows(arg2);
18203
18204 wxPyEndAllowThreads(__tstate);
18205 if (PyErr_Occurred()) SWIG_fail;
18206 }
18207 Py_INCREF(Py_None); resultobj = Py_None;
18208 return resultobj;
18209 fail:
18210 return NULL;
18211 }
18212
18213
18214 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
18215 PyObject *resultobj;
18216 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18217 int arg2 ;
18218 int arg3 ;
18219 PyObject * obj0 = 0 ;
18220 PyObject * obj1 = 0 ;
18221 PyObject * obj2 = 0 ;
18222 char *kwnames[] = {
18223 (char *) "self",(char *) "rows",(char *) "cols", NULL
18224 };
18225
18226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
18227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18229 arg2 = (int) SWIG_AsInt(obj1);
18230 if (PyErr_Occurred()) SWIG_fail;
18231 arg3 = (int) SWIG_AsInt(obj2);
18232 if (PyErr_Occurred()) SWIG_fail;
18233 {
18234 PyThreadState* __tstate = wxPyBeginAllowThreads();
18235 (arg1)->SetMaxRowsCols(arg2,arg3);
18236
18237 wxPyEndAllowThreads(__tstate);
18238 if (PyErr_Occurred()) SWIG_fail;
18239 }
18240 Py_INCREF(Py_None); resultobj = Py_None;
18241 return resultobj;
18242 fail:
18243 return NULL;
18244 }
18245
18246
18247 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
18248 PyObject *resultobj;
18249 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18250 int result;
18251 PyObject * obj0 = 0 ;
18252 char *kwnames[] = {
18253 (char *) "self", NULL
18254 };
18255
18256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
18257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18259 {
18260 PyThreadState* __tstate = wxPyBeginAllowThreads();
18261 result = (int)(arg1)->GetMaxRows();
18262
18263 wxPyEndAllowThreads(__tstate);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 }
18266 resultobj = SWIG_FromInt((int)result);
18267 return resultobj;
18268 fail:
18269 return NULL;
18270 }
18271
18272
18273 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
18274 PyObject *resultobj;
18275 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18276 int result;
18277 PyObject * obj0 = 0 ;
18278 char *kwnames[] = {
18279 (char *) "self", NULL
18280 };
18281
18282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
18283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18285 {
18286 PyThreadState* __tstate = wxPyBeginAllowThreads();
18287 result = (int)(arg1)->GetMaxCols();
18288
18289 wxPyEndAllowThreads(__tstate);
18290 if (PyErr_Occurred()) SWIG_fail;
18291 }
18292 resultobj = SWIG_FromInt((int)result);
18293 return resultobj;
18294 fail:
18295 return NULL;
18296 }
18297
18298
18299 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18300 PyObject *resultobj;
18301 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18302 wxSize *arg2 = 0 ;
18303 wxSize temp2 ;
18304 PyObject * obj0 = 0 ;
18305 PyObject * obj1 = 0 ;
18306 char *kwnames[] = {
18307 (char *) "self",(char *) "size", NULL
18308 };
18309
18310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
18311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18313 {
18314 arg2 = &temp2;
18315 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18316 }
18317 {
18318 PyThreadState* __tstate = wxPyBeginAllowThreads();
18319 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
18320
18321 wxPyEndAllowThreads(__tstate);
18322 if (PyErr_Occurred()) SWIG_fail;
18323 }
18324 Py_INCREF(Py_None); resultobj = Py_None;
18325 return resultobj;
18326 fail:
18327 return NULL;
18328 }
18329
18330
18331 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18332 PyObject *resultobj;
18333 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18334 wxSize result;
18335 PyObject * obj0 = 0 ;
18336 char *kwnames[] = {
18337 (char *) "self", NULL
18338 };
18339
18340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
18341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18343 {
18344 PyThreadState* __tstate = wxPyBeginAllowThreads();
18345 result = (arg1)->GetToolBitmapSize();
18346
18347 wxPyEndAllowThreads(__tstate);
18348 if (PyErr_Occurred()) SWIG_fail;
18349 }
18350 {
18351 wxSize * resultptr;
18352 resultptr = new wxSize((wxSize &) result);
18353 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18354 }
18355 return resultobj;
18356 fail:
18357 return NULL;
18358 }
18359
18360
18361 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18362 PyObject *resultobj;
18363 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18364 wxSize result;
18365 PyObject * obj0 = 0 ;
18366 char *kwnames[] = {
18367 (char *) "self", NULL
18368 };
18369
18370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
18371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18373 {
18374 PyThreadState* __tstate = wxPyBeginAllowThreads();
18375 result = (arg1)->GetToolSize();
18376
18377 wxPyEndAllowThreads(__tstate);
18378 if (PyErr_Occurred()) SWIG_fail;
18379 }
18380 {
18381 wxSize * resultptr;
18382 resultptr = new wxSize((wxSize &) result);
18383 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18384 }
18385 return resultobj;
18386 fail:
18387 return NULL;
18388 }
18389
18390
18391 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18392 PyObject *resultobj;
18393 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18394 int arg2 ;
18395 int arg3 ;
18396 wxToolBarToolBase *result;
18397 PyObject * obj0 = 0 ;
18398 PyObject * obj1 = 0 ;
18399 PyObject * obj2 = 0 ;
18400 char *kwnames[] = {
18401 (char *) "self",(char *) "x",(char *) "y", NULL
18402 };
18403
18404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
18405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18407 arg2 = (int) SWIG_AsInt(obj1);
18408 if (PyErr_Occurred()) SWIG_fail;
18409 arg3 = (int) SWIG_AsInt(obj2);
18410 if (PyErr_Occurred()) SWIG_fail;
18411 {
18412 PyThreadState* __tstate = wxPyBeginAllowThreads();
18413 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18414
18415 wxPyEndAllowThreads(__tstate);
18416 if (PyErr_Occurred()) SWIG_fail;
18417 }
18418 {
18419 resultobj = wxPyMake_wxObject(result, 0);
18420 }
18421 return resultobj;
18422 fail:
18423 return NULL;
18424 }
18425
18426
18427 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
18428 PyObject *resultobj;
18429 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18430 int arg2 ;
18431 wxToolBarToolBase *result;
18432 PyObject * obj0 = 0 ;
18433 PyObject * obj1 = 0 ;
18434 char *kwnames[] = {
18435 (char *) "self",(char *) "toolid", NULL
18436 };
18437
18438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
18439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18441 arg2 = (int) SWIG_AsInt(obj1);
18442 if (PyErr_Occurred()) SWIG_fail;
18443 {
18444 PyThreadState* __tstate = wxPyBeginAllowThreads();
18445 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
18446
18447 wxPyEndAllowThreads(__tstate);
18448 if (PyErr_Occurred()) SWIG_fail;
18449 }
18450 {
18451 resultobj = wxPyMake_wxObject(result, 0);
18452 }
18453 return resultobj;
18454 fail:
18455 return NULL;
18456 }
18457
18458
18459 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
18460 PyObject *resultobj;
18461 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18462 bool result;
18463 PyObject * obj0 = 0 ;
18464 char *kwnames[] = {
18465 (char *) "self", NULL
18466 };
18467
18468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
18469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18471 {
18472 PyThreadState* __tstate = wxPyBeginAllowThreads();
18473 result = (bool)(arg1)->IsVertical();
18474
18475 wxPyEndAllowThreads(__tstate);
18476 if (PyErr_Occurred()) SWIG_fail;
18477 }
18478 {
18479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18480 }
18481 return resultobj;
18482 fail:
18483 return NULL;
18484 }
18485
18486
18487 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
18488 PyObject *obj;
18489 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18490 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
18491 Py_INCREF(obj);
18492 return Py_BuildValue((char *)"");
18493 }
18494 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18495 PyObject *resultobj;
18496 wxWindow *arg1 = (wxWindow *) 0 ;
18497 int arg2 = (int) -1 ;
18498 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18499 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18500 wxSize const &arg4_defvalue = wxDefaultSize ;
18501 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18502 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18503 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
18504 wxString *arg6 = (wxString *) &arg6_defvalue ;
18505 wxToolBar *result;
18506 wxPoint temp3 ;
18507 wxSize temp4 ;
18508 bool temp6 = False ;
18509 PyObject * obj0 = 0 ;
18510 PyObject * obj1 = 0 ;
18511 PyObject * obj2 = 0 ;
18512 PyObject * obj3 = 0 ;
18513 PyObject * obj4 = 0 ;
18514 PyObject * obj5 = 0 ;
18515 char *kwnames[] = {
18516 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18517 };
18518
18519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18522 if (obj1) {
18523 arg2 = (int) SWIG_AsInt(obj1);
18524 if (PyErr_Occurred()) SWIG_fail;
18525 }
18526 if (obj2) {
18527 {
18528 arg3 = &temp3;
18529 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18530 }
18531 }
18532 if (obj3) {
18533 {
18534 arg4 = &temp4;
18535 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18536 }
18537 }
18538 if (obj4) {
18539 arg5 = (long) SWIG_AsLong(obj4);
18540 if (PyErr_Occurred()) SWIG_fail;
18541 }
18542 if (obj5) {
18543 {
18544 arg6 = wxString_in_helper(obj5);
18545 if (arg6 == NULL) SWIG_fail;
18546 temp6 = True;
18547 }
18548 }
18549 {
18550 if (!wxPyCheckForApp()) SWIG_fail;
18551 PyThreadState* __tstate = wxPyBeginAllowThreads();
18552 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18553
18554 wxPyEndAllowThreads(__tstate);
18555 if (PyErr_Occurred()) SWIG_fail;
18556 }
18557 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
18558 {
18559 if (temp6)
18560 delete arg6;
18561 }
18562 return resultobj;
18563 fail:
18564 {
18565 if (temp6)
18566 delete arg6;
18567 }
18568 return NULL;
18569 }
18570
18571
18572 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18573 PyObject *resultobj;
18574 wxToolBar *result;
18575 char *kwnames[] = {
18576 NULL
18577 };
18578
18579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
18580 {
18581 if (!wxPyCheckForApp()) SWIG_fail;
18582 PyThreadState* __tstate = wxPyBeginAllowThreads();
18583 result = (wxToolBar *)new wxToolBar();
18584
18585 wxPyEndAllowThreads(__tstate);
18586 if (PyErr_Occurred()) SWIG_fail;
18587 }
18588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
18589 return resultobj;
18590 fail:
18591 return NULL;
18592 }
18593
18594
18595 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
18596 PyObject *resultobj;
18597 wxToolBar *arg1 = (wxToolBar *) 0 ;
18598 wxWindow *arg2 = (wxWindow *) 0 ;
18599 int arg3 = (int) -1 ;
18600 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18601 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18602 wxSize const &arg5_defvalue = wxDefaultSize ;
18603 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18604 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18605 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
18606 wxString *arg7 = (wxString *) &arg7_defvalue ;
18607 bool result;
18608 wxPoint temp4 ;
18609 wxSize temp5 ;
18610 bool temp7 = False ;
18611 PyObject * obj0 = 0 ;
18612 PyObject * obj1 = 0 ;
18613 PyObject * obj2 = 0 ;
18614 PyObject * obj3 = 0 ;
18615 PyObject * obj4 = 0 ;
18616 PyObject * obj5 = 0 ;
18617 PyObject * obj6 = 0 ;
18618 char *kwnames[] = {
18619 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18620 };
18621
18622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18625 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18627 if (obj2) {
18628 arg3 = (int) SWIG_AsInt(obj2);
18629 if (PyErr_Occurred()) SWIG_fail;
18630 }
18631 if (obj3) {
18632 {
18633 arg4 = &temp4;
18634 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18635 }
18636 }
18637 if (obj4) {
18638 {
18639 arg5 = &temp5;
18640 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18641 }
18642 }
18643 if (obj5) {
18644 arg6 = (long) SWIG_AsLong(obj5);
18645 if (PyErr_Occurred()) SWIG_fail;
18646 }
18647 if (obj6) {
18648 {
18649 arg7 = wxString_in_helper(obj6);
18650 if (arg7 == NULL) SWIG_fail;
18651 temp7 = True;
18652 }
18653 }
18654 {
18655 PyThreadState* __tstate = wxPyBeginAllowThreads();
18656 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18657
18658 wxPyEndAllowThreads(__tstate);
18659 if (PyErr_Occurred()) SWIG_fail;
18660 }
18661 {
18662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18663 }
18664 {
18665 if (temp7)
18666 delete arg7;
18667 }
18668 return resultobj;
18669 fail:
18670 {
18671 if (temp7)
18672 delete arg7;
18673 }
18674 return NULL;
18675 }
18676
18677
18678 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18679 PyObject *resultobj;
18680 wxToolBar *arg1 = (wxToolBar *) 0 ;
18681 int arg2 ;
18682 int arg3 ;
18683 wxToolBarToolBase *result;
18684 PyObject * obj0 = 0 ;
18685 PyObject * obj1 = 0 ;
18686 PyObject * obj2 = 0 ;
18687 char *kwnames[] = {
18688 (char *) "self",(char *) "x",(char *) "y", NULL
18689 };
18690
18691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
18692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18694 arg2 = (int) SWIG_AsInt(obj1);
18695 if (PyErr_Occurred()) SWIG_fail;
18696 arg3 = (int) SWIG_AsInt(obj2);
18697 if (PyErr_Occurred()) SWIG_fail;
18698 {
18699 PyThreadState* __tstate = wxPyBeginAllowThreads();
18700 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18701
18702 wxPyEndAllowThreads(__tstate);
18703 if (PyErr_Occurred()) SWIG_fail;
18704 }
18705 {
18706 resultobj = wxPyMake_wxObject(result, 0);
18707 }
18708 return resultobj;
18709 fail:
18710 return NULL;
18711 }
18712
18713
18714 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18715 PyObject *resultobj;
18716 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
18717 wxVisualAttributes result;
18718 PyObject * obj0 = 0 ;
18719 char *kwnames[] = {
18720 (char *) "variant", NULL
18721 };
18722
18723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
18724 if (obj0) {
18725 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
18726 if (PyErr_Occurred()) SWIG_fail;
18727 }
18728 {
18729 if (!wxPyCheckForApp()) SWIG_fail;
18730 PyThreadState* __tstate = wxPyBeginAllowThreads();
18731 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
18732
18733 wxPyEndAllowThreads(__tstate);
18734 if (PyErr_Occurred()) SWIG_fail;
18735 }
18736 {
18737 wxVisualAttributes * resultptr;
18738 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18739 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18740 }
18741 return resultobj;
18742 fail:
18743 return NULL;
18744 }
18745
18746
18747 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
18748 PyObject *obj;
18749 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18750 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
18751 Py_INCREF(obj);
18752 return Py_BuildValue((char *)"");
18753 }
18754 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
18755 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
18756 return 1;
18757 }
18758
18759
18760 static PyObject *_wrap_ListCtrlNameStr_get() {
18761 PyObject *pyobj;
18762
18763 {
18764 #if wxUSE_UNICODE
18765 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
18766 #else
18767 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
18768 #endif
18769 }
18770 return pyobj;
18771 }
18772
18773
18774 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
18775 PyObject *resultobj;
18776 wxColour const &arg1_defvalue = wxNullColour ;
18777 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
18778 wxColour const &arg2_defvalue = wxNullColour ;
18779 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
18780 wxFont const &arg3_defvalue = wxNullFont ;
18781 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
18782 wxListItemAttr *result;
18783 wxColour temp1 ;
18784 wxColour temp2 ;
18785 PyObject * obj0 = 0 ;
18786 PyObject * obj1 = 0 ;
18787 PyObject * obj2 = 0 ;
18788 char *kwnames[] = {
18789 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18790 };
18791
18792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
18793 if (obj0) {
18794 {
18795 arg1 = &temp1;
18796 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
18797 }
18798 }
18799 if (obj1) {
18800 {
18801 arg2 = &temp2;
18802 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18803 }
18804 }
18805 if (obj2) {
18806 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
18807 SWIG_POINTER_EXCEPTION | 0)) == -1)
18808 SWIG_fail;
18809 if (arg3 == NULL) {
18810 PyErr_SetString(PyExc_TypeError,"null reference");
18811 SWIG_fail;
18812 }
18813 }
18814 {
18815 PyThreadState* __tstate = wxPyBeginAllowThreads();
18816 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
18817
18818 wxPyEndAllowThreads(__tstate);
18819 if (PyErr_Occurred()) SWIG_fail;
18820 }
18821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
18822 return resultobj;
18823 fail:
18824 return NULL;
18825 }
18826
18827
18828 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18829 PyObject *resultobj;
18830 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18831 wxColour *arg2 = 0 ;
18832 wxColour temp2 ;
18833 PyObject * obj0 = 0 ;
18834 PyObject * obj1 = 0 ;
18835 char *kwnames[] = {
18836 (char *) "self",(char *) "colText", NULL
18837 };
18838
18839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18842 {
18843 arg2 = &temp2;
18844 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18845 }
18846 {
18847 PyThreadState* __tstate = wxPyBeginAllowThreads();
18848 (arg1)->SetTextColour((wxColour const &)*arg2);
18849
18850 wxPyEndAllowThreads(__tstate);
18851 if (PyErr_Occurred()) SWIG_fail;
18852 }
18853 Py_INCREF(Py_None); resultobj = Py_None;
18854 return resultobj;
18855 fail:
18856 return NULL;
18857 }
18858
18859
18860 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18861 PyObject *resultobj;
18862 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18863 wxColour *arg2 = 0 ;
18864 wxColour temp2 ;
18865 PyObject * obj0 = 0 ;
18866 PyObject * obj1 = 0 ;
18867 char *kwnames[] = {
18868 (char *) "self",(char *) "colBack", NULL
18869 };
18870
18871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18874 {
18875 arg2 = &temp2;
18876 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18877 }
18878 {
18879 PyThreadState* __tstate = wxPyBeginAllowThreads();
18880 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18881
18882 wxPyEndAllowThreads(__tstate);
18883 if (PyErr_Occurred()) SWIG_fail;
18884 }
18885 Py_INCREF(Py_None); resultobj = Py_None;
18886 return resultobj;
18887 fail:
18888 return NULL;
18889 }
18890
18891
18892 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18893 PyObject *resultobj;
18894 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18895 wxFont *arg2 = 0 ;
18896 PyObject * obj0 = 0 ;
18897 PyObject * obj1 = 0 ;
18898 char *kwnames[] = {
18899 (char *) "self",(char *) "font", NULL
18900 };
18901
18902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
18903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18905 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18906 SWIG_POINTER_EXCEPTION | 0)) == -1)
18907 SWIG_fail;
18908 if (arg2 == NULL) {
18909 PyErr_SetString(PyExc_TypeError,"null reference");
18910 SWIG_fail;
18911 }
18912 {
18913 PyThreadState* __tstate = wxPyBeginAllowThreads();
18914 (arg1)->SetFont((wxFont const &)*arg2);
18915
18916 wxPyEndAllowThreads(__tstate);
18917 if (PyErr_Occurred()) SWIG_fail;
18918 }
18919 Py_INCREF(Py_None); resultobj = Py_None;
18920 return resultobj;
18921 fail:
18922 return NULL;
18923 }
18924
18925
18926 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18927 PyObject *resultobj;
18928 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18929 bool result;
18930 PyObject * obj0 = 0 ;
18931 char *kwnames[] = {
18932 (char *) "self", NULL
18933 };
18934
18935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
18936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18938 {
18939 PyThreadState* __tstate = wxPyBeginAllowThreads();
18940 result = (bool)(arg1)->HasTextColour();
18941
18942 wxPyEndAllowThreads(__tstate);
18943 if (PyErr_Occurred()) SWIG_fail;
18944 }
18945 {
18946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18947 }
18948 return resultobj;
18949 fail:
18950 return NULL;
18951 }
18952
18953
18954 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18955 PyObject *resultobj;
18956 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18957 bool result;
18958 PyObject * obj0 = 0 ;
18959 char *kwnames[] = {
18960 (char *) "self", NULL
18961 };
18962
18963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
18964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18966 {
18967 PyThreadState* __tstate = wxPyBeginAllowThreads();
18968 result = (bool)(arg1)->HasBackgroundColour();
18969
18970 wxPyEndAllowThreads(__tstate);
18971 if (PyErr_Occurred()) SWIG_fail;
18972 }
18973 {
18974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18975 }
18976 return resultobj;
18977 fail:
18978 return NULL;
18979 }
18980
18981
18982 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18983 PyObject *resultobj;
18984 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18985 bool result;
18986 PyObject * obj0 = 0 ;
18987 char *kwnames[] = {
18988 (char *) "self", NULL
18989 };
18990
18991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
18992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18994 {
18995 PyThreadState* __tstate = wxPyBeginAllowThreads();
18996 result = (bool)(arg1)->HasFont();
18997
18998 wxPyEndAllowThreads(__tstate);
18999 if (PyErr_Occurred()) SWIG_fail;
19000 }
19001 {
19002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19003 }
19004 return resultobj;
19005 fail:
19006 return NULL;
19007 }
19008
19009
19010 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19011 PyObject *resultobj;
19012 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19013 wxColour result;
19014 PyObject * obj0 = 0 ;
19015 char *kwnames[] = {
19016 (char *) "self", NULL
19017 };
19018
19019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
19020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19022 {
19023 PyThreadState* __tstate = wxPyBeginAllowThreads();
19024 result = (arg1)->GetTextColour();
19025
19026 wxPyEndAllowThreads(__tstate);
19027 if (PyErr_Occurred()) SWIG_fail;
19028 }
19029 {
19030 wxColour * resultptr;
19031 resultptr = new wxColour((wxColour &) result);
19032 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19033 }
19034 return resultobj;
19035 fail:
19036 return NULL;
19037 }
19038
19039
19040 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19041 PyObject *resultobj;
19042 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19043 wxColour result;
19044 PyObject * obj0 = 0 ;
19045 char *kwnames[] = {
19046 (char *) "self", NULL
19047 };
19048
19049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
19050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19052 {
19053 PyThreadState* __tstate = wxPyBeginAllowThreads();
19054 result = (arg1)->GetBackgroundColour();
19055
19056 wxPyEndAllowThreads(__tstate);
19057 if (PyErr_Occurred()) SWIG_fail;
19058 }
19059 {
19060 wxColour * resultptr;
19061 resultptr = new wxColour((wxColour &) result);
19062 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19063 }
19064 return resultobj;
19065 fail:
19066 return NULL;
19067 }
19068
19069
19070 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19071 PyObject *resultobj;
19072 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19073 wxFont result;
19074 PyObject * obj0 = 0 ;
19075 char *kwnames[] = {
19076 (char *) "self", NULL
19077 };
19078
19079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
19080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19082 {
19083 PyThreadState* __tstate = wxPyBeginAllowThreads();
19084 result = (arg1)->GetFont();
19085
19086 wxPyEndAllowThreads(__tstate);
19087 if (PyErr_Occurred()) SWIG_fail;
19088 }
19089 {
19090 wxFont * resultptr;
19091 resultptr = new wxFont((wxFont &) result);
19092 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
19093 }
19094 return resultobj;
19095 fail:
19096 return NULL;
19097 }
19098
19099
19100 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
19101 PyObject *resultobj;
19102 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19103 PyObject * obj0 = 0 ;
19104 char *kwnames[] = {
19105 (char *) "self", NULL
19106 };
19107
19108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
19109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19111 {
19112 PyThreadState* __tstate = wxPyBeginAllowThreads();
19113 wxListItemAttr_Destroy(arg1);
19114
19115 wxPyEndAllowThreads(__tstate);
19116 if (PyErr_Occurred()) SWIG_fail;
19117 }
19118 Py_INCREF(Py_None); resultobj = Py_None;
19119 return resultobj;
19120 fail:
19121 return NULL;
19122 }
19123
19124
19125 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
19126 PyObject *obj;
19127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19128 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
19129 Py_INCREF(obj);
19130 return Py_BuildValue((char *)"");
19131 }
19132 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19133 PyObject *resultobj;
19134 wxListItem *result;
19135 char *kwnames[] = {
19136 NULL
19137 };
19138
19139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
19140 {
19141 PyThreadState* __tstate = wxPyBeginAllowThreads();
19142 result = (wxListItem *)new wxListItem();
19143
19144 wxPyEndAllowThreads(__tstate);
19145 if (PyErr_Occurred()) SWIG_fail;
19146 }
19147 {
19148 resultobj = wxPyMake_wxObject(result, 1);
19149 }
19150 return resultobj;
19151 fail:
19152 return NULL;
19153 }
19154
19155
19156 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19157 PyObject *resultobj;
19158 wxListItem *arg1 = (wxListItem *) 0 ;
19159 PyObject * obj0 = 0 ;
19160 char *kwnames[] = {
19161 (char *) "self", NULL
19162 };
19163
19164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
19165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19167 {
19168 PyThreadState* __tstate = wxPyBeginAllowThreads();
19169 delete arg1;
19170
19171 wxPyEndAllowThreads(__tstate);
19172 if (PyErr_Occurred()) SWIG_fail;
19173 }
19174 Py_INCREF(Py_None); resultobj = Py_None;
19175 return resultobj;
19176 fail:
19177 return NULL;
19178 }
19179
19180
19181 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
19182 PyObject *resultobj;
19183 wxListItem *arg1 = (wxListItem *) 0 ;
19184 PyObject * obj0 = 0 ;
19185 char *kwnames[] = {
19186 (char *) "self", NULL
19187 };
19188
19189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
19190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19192 {
19193 PyThreadState* __tstate = wxPyBeginAllowThreads();
19194 (arg1)->Clear();
19195
19196 wxPyEndAllowThreads(__tstate);
19197 if (PyErr_Occurred()) SWIG_fail;
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_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19207 PyObject *resultobj;
19208 wxListItem *arg1 = (wxListItem *) 0 ;
19209 PyObject * obj0 = 0 ;
19210 char *kwnames[] = {
19211 (char *) "self", NULL
19212 };
19213
19214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
19215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19217 {
19218 PyThreadState* __tstate = wxPyBeginAllowThreads();
19219 (arg1)->ClearAttributes();
19220
19221 wxPyEndAllowThreads(__tstate);
19222 if (PyErr_Occurred()) SWIG_fail;
19223 }
19224 Py_INCREF(Py_None); resultobj = Py_None;
19225 return resultobj;
19226 fail:
19227 return NULL;
19228 }
19229
19230
19231 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19232 PyObject *resultobj;
19233 wxListItem *arg1 = (wxListItem *) 0 ;
19234 long arg2 ;
19235 PyObject * obj0 = 0 ;
19236 PyObject * obj1 = 0 ;
19237 char *kwnames[] = {
19238 (char *) "self",(char *) "mask", NULL
19239 };
19240
19241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
19242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19244 arg2 = (long) SWIG_AsLong(obj1);
19245 if (PyErr_Occurred()) SWIG_fail;
19246 {
19247 PyThreadState* __tstate = wxPyBeginAllowThreads();
19248 (arg1)->SetMask(arg2);
19249
19250 wxPyEndAllowThreads(__tstate);
19251 if (PyErr_Occurred()) SWIG_fail;
19252 }
19253 Py_INCREF(Py_None); resultobj = Py_None;
19254 return resultobj;
19255 fail:
19256 return NULL;
19257 }
19258
19259
19260 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19261 PyObject *resultobj;
19262 wxListItem *arg1 = (wxListItem *) 0 ;
19263 long arg2 ;
19264 PyObject * obj0 = 0 ;
19265 PyObject * obj1 = 0 ;
19266 char *kwnames[] = {
19267 (char *) "self",(char *) "id", NULL
19268 };
19269
19270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
19271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19273 arg2 = (long) SWIG_AsLong(obj1);
19274 if (PyErr_Occurred()) SWIG_fail;
19275 {
19276 PyThreadState* __tstate = wxPyBeginAllowThreads();
19277 (arg1)->SetId(arg2);
19278
19279 wxPyEndAllowThreads(__tstate);
19280 if (PyErr_Occurred()) SWIG_fail;
19281 }
19282 Py_INCREF(Py_None); resultobj = Py_None;
19283 return resultobj;
19284 fail:
19285 return NULL;
19286 }
19287
19288
19289 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19290 PyObject *resultobj;
19291 wxListItem *arg1 = (wxListItem *) 0 ;
19292 int arg2 ;
19293 PyObject * obj0 = 0 ;
19294 PyObject * obj1 = 0 ;
19295 char *kwnames[] = {
19296 (char *) "self",(char *) "col", NULL
19297 };
19298
19299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
19300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19302 arg2 = (int) SWIG_AsInt(obj1);
19303 if (PyErr_Occurred()) SWIG_fail;
19304 {
19305 PyThreadState* __tstate = wxPyBeginAllowThreads();
19306 (arg1)->SetColumn(arg2);
19307
19308 wxPyEndAllowThreads(__tstate);
19309 if (PyErr_Occurred()) SWIG_fail;
19310 }
19311 Py_INCREF(Py_None); resultobj = Py_None;
19312 return resultobj;
19313 fail:
19314 return NULL;
19315 }
19316
19317
19318 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
19319 PyObject *resultobj;
19320 wxListItem *arg1 = (wxListItem *) 0 ;
19321 long arg2 ;
19322 PyObject * obj0 = 0 ;
19323 PyObject * obj1 = 0 ;
19324 char *kwnames[] = {
19325 (char *) "self",(char *) "state", NULL
19326 };
19327
19328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
19329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19331 arg2 = (long) SWIG_AsLong(obj1);
19332 if (PyErr_Occurred()) SWIG_fail;
19333 {
19334 PyThreadState* __tstate = wxPyBeginAllowThreads();
19335 (arg1)->SetState(arg2);
19336
19337 wxPyEndAllowThreads(__tstate);
19338 if (PyErr_Occurred()) SWIG_fail;
19339 }
19340 Py_INCREF(Py_None); resultobj = Py_None;
19341 return resultobj;
19342 fail:
19343 return NULL;
19344 }
19345
19346
19347 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19348 PyObject *resultobj;
19349 wxListItem *arg1 = (wxListItem *) 0 ;
19350 long arg2 ;
19351 PyObject * obj0 = 0 ;
19352 PyObject * obj1 = 0 ;
19353 char *kwnames[] = {
19354 (char *) "self",(char *) "stateMask", NULL
19355 };
19356
19357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
19358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19360 arg2 = (long) SWIG_AsLong(obj1);
19361 if (PyErr_Occurred()) SWIG_fail;
19362 {
19363 PyThreadState* __tstate = wxPyBeginAllowThreads();
19364 (arg1)->SetStateMask(arg2);
19365
19366 wxPyEndAllowThreads(__tstate);
19367 if (PyErr_Occurred()) SWIG_fail;
19368 }
19369 Py_INCREF(Py_None); resultobj = Py_None;
19370 return resultobj;
19371 fail:
19372 return NULL;
19373 }
19374
19375
19376 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19377 PyObject *resultobj;
19378 wxListItem *arg1 = (wxListItem *) 0 ;
19379 wxString *arg2 = 0 ;
19380 bool temp2 = False ;
19381 PyObject * obj0 = 0 ;
19382 PyObject * obj1 = 0 ;
19383 char *kwnames[] = {
19384 (char *) "self",(char *) "text", NULL
19385 };
19386
19387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
19388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19390 {
19391 arg2 = wxString_in_helper(obj1);
19392 if (arg2 == NULL) SWIG_fail;
19393 temp2 = True;
19394 }
19395 {
19396 PyThreadState* __tstate = wxPyBeginAllowThreads();
19397 (arg1)->SetText((wxString const &)*arg2);
19398
19399 wxPyEndAllowThreads(__tstate);
19400 if (PyErr_Occurred()) SWIG_fail;
19401 }
19402 Py_INCREF(Py_None); resultobj = Py_None;
19403 {
19404 if (temp2)
19405 delete arg2;
19406 }
19407 return resultobj;
19408 fail:
19409 {
19410 if (temp2)
19411 delete arg2;
19412 }
19413 return NULL;
19414 }
19415
19416
19417 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19418 PyObject *resultobj;
19419 wxListItem *arg1 = (wxListItem *) 0 ;
19420 int arg2 ;
19421 PyObject * obj0 = 0 ;
19422 PyObject * obj1 = 0 ;
19423 char *kwnames[] = {
19424 (char *) "self",(char *) "image", NULL
19425 };
19426
19427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
19428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19430 arg2 = (int) SWIG_AsInt(obj1);
19431 if (PyErr_Occurred()) SWIG_fail;
19432 {
19433 PyThreadState* __tstate = wxPyBeginAllowThreads();
19434 (arg1)->SetImage(arg2);
19435
19436 wxPyEndAllowThreads(__tstate);
19437 if (PyErr_Occurred()) SWIG_fail;
19438 }
19439 Py_INCREF(Py_None); resultobj = Py_None;
19440 return resultobj;
19441 fail:
19442 return NULL;
19443 }
19444
19445
19446 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19447 PyObject *resultobj;
19448 wxListItem *arg1 = (wxListItem *) 0 ;
19449 long arg2 ;
19450 PyObject * obj0 = 0 ;
19451 PyObject * obj1 = 0 ;
19452 char *kwnames[] = {
19453 (char *) "self",(char *) "data", NULL
19454 };
19455
19456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
19457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19459 arg2 = (long) SWIG_AsLong(obj1);
19460 if (PyErr_Occurred()) SWIG_fail;
19461 {
19462 PyThreadState* __tstate = wxPyBeginAllowThreads();
19463 (arg1)->SetData(arg2);
19464
19465 wxPyEndAllowThreads(__tstate);
19466 if (PyErr_Occurred()) SWIG_fail;
19467 }
19468 Py_INCREF(Py_None); resultobj = Py_None;
19469 return resultobj;
19470 fail:
19471 return NULL;
19472 }
19473
19474
19475 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19476 PyObject *resultobj;
19477 wxListItem *arg1 = (wxListItem *) 0 ;
19478 int arg2 ;
19479 PyObject * obj0 = 0 ;
19480 PyObject * obj1 = 0 ;
19481 char *kwnames[] = {
19482 (char *) "self",(char *) "width", NULL
19483 };
19484
19485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
19486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19488 arg2 = (int) SWIG_AsInt(obj1);
19489 if (PyErr_Occurred()) SWIG_fail;
19490 {
19491 PyThreadState* __tstate = wxPyBeginAllowThreads();
19492 (arg1)->SetWidth(arg2);
19493
19494 wxPyEndAllowThreads(__tstate);
19495 if (PyErr_Occurred()) SWIG_fail;
19496 }
19497 Py_INCREF(Py_None); resultobj = Py_None;
19498 return resultobj;
19499 fail:
19500 return NULL;
19501 }
19502
19503
19504 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
19505 PyObject *resultobj;
19506 wxListItem *arg1 = (wxListItem *) 0 ;
19507 int arg2 ;
19508 PyObject * obj0 = 0 ;
19509 PyObject * obj1 = 0 ;
19510 char *kwnames[] = {
19511 (char *) "self",(char *) "align", NULL
19512 };
19513
19514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
19515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19517 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
19518 if (PyErr_Occurred()) SWIG_fail;
19519 {
19520 PyThreadState* __tstate = wxPyBeginAllowThreads();
19521 (arg1)->SetAlign((wxListColumnFormat )arg2);
19522
19523 wxPyEndAllowThreads(__tstate);
19524 if (PyErr_Occurred()) SWIG_fail;
19525 }
19526 Py_INCREF(Py_None); resultobj = Py_None;
19527 return resultobj;
19528 fail:
19529 return NULL;
19530 }
19531
19532
19533 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19534 PyObject *resultobj;
19535 wxListItem *arg1 = (wxListItem *) 0 ;
19536 wxColour *arg2 = 0 ;
19537 wxColour temp2 ;
19538 PyObject * obj0 = 0 ;
19539 PyObject * obj1 = 0 ;
19540 char *kwnames[] = {
19541 (char *) "self",(char *) "colText", NULL
19542 };
19543
19544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
19545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19547 {
19548 arg2 = &temp2;
19549 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19550 }
19551 {
19552 PyThreadState* __tstate = wxPyBeginAllowThreads();
19553 (arg1)->SetTextColour((wxColour const &)*arg2);
19554
19555 wxPyEndAllowThreads(__tstate);
19556 if (PyErr_Occurred()) SWIG_fail;
19557 }
19558 Py_INCREF(Py_None); resultobj = Py_None;
19559 return resultobj;
19560 fail:
19561 return NULL;
19562 }
19563
19564
19565 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19566 PyObject *resultobj;
19567 wxListItem *arg1 = (wxListItem *) 0 ;
19568 wxColour *arg2 = 0 ;
19569 wxColour temp2 ;
19570 PyObject * obj0 = 0 ;
19571 PyObject * obj1 = 0 ;
19572 char *kwnames[] = {
19573 (char *) "self",(char *) "colBack", NULL
19574 };
19575
19576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19579 {
19580 arg2 = &temp2;
19581 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19582 }
19583 {
19584 PyThreadState* __tstate = wxPyBeginAllowThreads();
19585 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
19586
19587 wxPyEndAllowThreads(__tstate);
19588 if (PyErr_Occurred()) SWIG_fail;
19589 }
19590 Py_INCREF(Py_None); resultobj = Py_None;
19591 return resultobj;
19592 fail:
19593 return NULL;
19594 }
19595
19596
19597 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19598 PyObject *resultobj;
19599 wxListItem *arg1 = (wxListItem *) 0 ;
19600 wxFont *arg2 = 0 ;
19601 PyObject * obj0 = 0 ;
19602 PyObject * obj1 = 0 ;
19603 char *kwnames[] = {
19604 (char *) "self",(char *) "font", NULL
19605 };
19606
19607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
19608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19610 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
19611 SWIG_POINTER_EXCEPTION | 0)) == -1)
19612 SWIG_fail;
19613 if (arg2 == NULL) {
19614 PyErr_SetString(PyExc_TypeError,"null reference");
19615 SWIG_fail;
19616 }
19617 {
19618 PyThreadState* __tstate = wxPyBeginAllowThreads();
19619 (arg1)->SetFont((wxFont const &)*arg2);
19620
19621 wxPyEndAllowThreads(__tstate);
19622 if (PyErr_Occurred()) SWIG_fail;
19623 }
19624 Py_INCREF(Py_None); resultobj = Py_None;
19625 return resultobj;
19626 fail:
19627 return NULL;
19628 }
19629
19630
19631 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19632 PyObject *resultobj;
19633 wxListItem *arg1 = (wxListItem *) 0 ;
19634 long result;
19635 PyObject * obj0 = 0 ;
19636 char *kwnames[] = {
19637 (char *) "self", NULL
19638 };
19639
19640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
19641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19643 {
19644 PyThreadState* __tstate = wxPyBeginAllowThreads();
19645 result = (long)(arg1)->GetMask();
19646
19647 wxPyEndAllowThreads(__tstate);
19648 if (PyErr_Occurred()) SWIG_fail;
19649 }
19650 resultobj = SWIG_FromLong((long)result);
19651 return resultobj;
19652 fail:
19653 return NULL;
19654 }
19655
19656
19657 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19658 PyObject *resultobj;
19659 wxListItem *arg1 = (wxListItem *) 0 ;
19660 long result;
19661 PyObject * obj0 = 0 ;
19662 char *kwnames[] = {
19663 (char *) "self", NULL
19664 };
19665
19666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
19667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19669 {
19670 PyThreadState* __tstate = wxPyBeginAllowThreads();
19671 result = (long)(arg1)->GetId();
19672
19673 wxPyEndAllowThreads(__tstate);
19674 if (PyErr_Occurred()) SWIG_fail;
19675 }
19676 resultobj = SWIG_FromLong((long)result);
19677 return resultobj;
19678 fail:
19679 return NULL;
19680 }
19681
19682
19683 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19684 PyObject *resultobj;
19685 wxListItem *arg1 = (wxListItem *) 0 ;
19686 int result;
19687 PyObject * obj0 = 0 ;
19688 char *kwnames[] = {
19689 (char *) "self", NULL
19690 };
19691
19692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
19693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19695 {
19696 PyThreadState* __tstate = wxPyBeginAllowThreads();
19697 result = (int)(arg1)->GetColumn();
19698
19699 wxPyEndAllowThreads(__tstate);
19700 if (PyErr_Occurred()) SWIG_fail;
19701 }
19702 resultobj = SWIG_FromInt((int)result);
19703 return resultobj;
19704 fail:
19705 return NULL;
19706 }
19707
19708
19709 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
19710 PyObject *resultobj;
19711 wxListItem *arg1 = (wxListItem *) 0 ;
19712 long result;
19713 PyObject * obj0 = 0 ;
19714 char *kwnames[] = {
19715 (char *) "self", NULL
19716 };
19717
19718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
19719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19721 {
19722 PyThreadState* __tstate = wxPyBeginAllowThreads();
19723 result = (long)(arg1)->GetState();
19724
19725 wxPyEndAllowThreads(__tstate);
19726 if (PyErr_Occurred()) SWIG_fail;
19727 }
19728 resultobj = SWIG_FromLong((long)result);
19729 return resultobj;
19730 fail:
19731 return NULL;
19732 }
19733
19734
19735 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19736 PyObject *resultobj;
19737 wxListItem *arg1 = (wxListItem *) 0 ;
19738 wxString *result;
19739 PyObject * obj0 = 0 ;
19740 char *kwnames[] = {
19741 (char *) "self", NULL
19742 };
19743
19744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
19745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19747 {
19748 PyThreadState* __tstate = wxPyBeginAllowThreads();
19749 {
19750 wxString const &_result_ref = (arg1)->GetText();
19751 result = (wxString *) &_result_ref;
19752 }
19753
19754 wxPyEndAllowThreads(__tstate);
19755 if (PyErr_Occurred()) SWIG_fail;
19756 }
19757 {
19758 #if wxUSE_UNICODE
19759 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19760 #else
19761 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19762 #endif
19763 }
19764 return resultobj;
19765 fail:
19766 return NULL;
19767 }
19768
19769
19770 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19771 PyObject *resultobj;
19772 wxListItem *arg1 = (wxListItem *) 0 ;
19773 int result;
19774 PyObject * obj0 = 0 ;
19775 char *kwnames[] = {
19776 (char *) "self", NULL
19777 };
19778
19779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
19780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19782 {
19783 PyThreadState* __tstate = wxPyBeginAllowThreads();
19784 result = (int)(arg1)->GetImage();
19785
19786 wxPyEndAllowThreads(__tstate);
19787 if (PyErr_Occurred()) SWIG_fail;
19788 }
19789 resultobj = SWIG_FromInt((int)result);
19790 return resultobj;
19791 fail:
19792 return NULL;
19793 }
19794
19795
19796 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19797 PyObject *resultobj;
19798 wxListItem *arg1 = (wxListItem *) 0 ;
19799 long result;
19800 PyObject * obj0 = 0 ;
19801 char *kwnames[] = {
19802 (char *) "self", NULL
19803 };
19804
19805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
19806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19808 {
19809 PyThreadState* __tstate = wxPyBeginAllowThreads();
19810 result = (long)(arg1)->GetData();
19811
19812 wxPyEndAllowThreads(__tstate);
19813 if (PyErr_Occurred()) SWIG_fail;
19814 }
19815 resultobj = SWIG_FromLong((long)result);
19816 return resultobj;
19817 fail:
19818 return NULL;
19819 }
19820
19821
19822 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19823 PyObject *resultobj;
19824 wxListItem *arg1 = (wxListItem *) 0 ;
19825 int result;
19826 PyObject * obj0 = 0 ;
19827 char *kwnames[] = {
19828 (char *) "self", NULL
19829 };
19830
19831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
19832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19834 {
19835 PyThreadState* __tstate = wxPyBeginAllowThreads();
19836 result = (int)(arg1)->GetWidth();
19837
19838 wxPyEndAllowThreads(__tstate);
19839 if (PyErr_Occurred()) SWIG_fail;
19840 }
19841 resultobj = SWIG_FromInt((int)result);
19842 return resultobj;
19843 fail:
19844 return NULL;
19845 }
19846
19847
19848 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
19849 PyObject *resultobj;
19850 wxListItem *arg1 = (wxListItem *) 0 ;
19851 int result;
19852 PyObject * obj0 = 0 ;
19853 char *kwnames[] = {
19854 (char *) "self", NULL
19855 };
19856
19857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
19858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19860 {
19861 PyThreadState* __tstate = wxPyBeginAllowThreads();
19862 result = (int)(arg1)->GetAlign();
19863
19864 wxPyEndAllowThreads(__tstate);
19865 if (PyErr_Occurred()) SWIG_fail;
19866 }
19867 resultobj = SWIG_FromInt((int)result);
19868 return resultobj;
19869 fail:
19870 return NULL;
19871 }
19872
19873
19874 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19875 PyObject *resultobj;
19876 wxListItem *arg1 = (wxListItem *) 0 ;
19877 wxListItemAttr *result;
19878 PyObject * obj0 = 0 ;
19879 char *kwnames[] = {
19880 (char *) "self", NULL
19881 };
19882
19883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
19884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19886 {
19887 PyThreadState* __tstate = wxPyBeginAllowThreads();
19888 result = (wxListItemAttr *)(arg1)->GetAttributes();
19889
19890 wxPyEndAllowThreads(__tstate);
19891 if (PyErr_Occurred()) SWIG_fail;
19892 }
19893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
19894 return resultobj;
19895 fail:
19896 return NULL;
19897 }
19898
19899
19900 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19901 PyObject *resultobj;
19902 wxListItem *arg1 = (wxListItem *) 0 ;
19903 bool result;
19904 PyObject * obj0 = 0 ;
19905 char *kwnames[] = {
19906 (char *) "self", NULL
19907 };
19908
19909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
19910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19912 {
19913 PyThreadState* __tstate = wxPyBeginAllowThreads();
19914 result = (bool)(arg1)->HasAttributes();
19915
19916 wxPyEndAllowThreads(__tstate);
19917 if (PyErr_Occurred()) SWIG_fail;
19918 }
19919 {
19920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19921 }
19922 return resultobj;
19923 fail:
19924 return NULL;
19925 }
19926
19927
19928 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19929 PyObject *resultobj;
19930 wxListItem *arg1 = (wxListItem *) 0 ;
19931 wxColour result;
19932 PyObject * obj0 = 0 ;
19933 char *kwnames[] = {
19934 (char *) "self", NULL
19935 };
19936
19937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
19938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19940 {
19941 PyThreadState* __tstate = wxPyBeginAllowThreads();
19942 result = ((wxListItem const *)arg1)->GetTextColour();
19943
19944 wxPyEndAllowThreads(__tstate);
19945 if (PyErr_Occurred()) SWIG_fail;
19946 }
19947 {
19948 wxColour * resultptr;
19949 resultptr = new wxColour((wxColour &) result);
19950 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19951 }
19952 return resultobj;
19953 fail:
19954 return NULL;
19955 }
19956
19957
19958 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19959 PyObject *resultobj;
19960 wxListItem *arg1 = (wxListItem *) 0 ;
19961 wxColour result;
19962 PyObject * obj0 = 0 ;
19963 char *kwnames[] = {
19964 (char *) "self", NULL
19965 };
19966
19967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
19968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19970 {
19971 PyThreadState* __tstate = wxPyBeginAllowThreads();
19972 result = ((wxListItem const *)arg1)->GetBackgroundColour();
19973
19974 wxPyEndAllowThreads(__tstate);
19975 if (PyErr_Occurred()) SWIG_fail;
19976 }
19977 {
19978 wxColour * resultptr;
19979 resultptr = new wxColour((wxColour &) result);
19980 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19981 }
19982 return resultobj;
19983 fail:
19984 return NULL;
19985 }
19986
19987
19988 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19989 PyObject *resultobj;
19990 wxListItem *arg1 = (wxListItem *) 0 ;
19991 wxFont result;
19992 PyObject * obj0 = 0 ;
19993 char *kwnames[] = {
19994 (char *) "self", NULL
19995 };
19996
19997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
19998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20000 {
20001 PyThreadState* __tstate = wxPyBeginAllowThreads();
20002 result = ((wxListItem const *)arg1)->GetFont();
20003
20004 wxPyEndAllowThreads(__tstate);
20005 if (PyErr_Occurred()) SWIG_fail;
20006 }
20007 {
20008 wxFont * resultptr;
20009 resultptr = new wxFont((wxFont &) result);
20010 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
20011 }
20012 return resultobj;
20013 fail:
20014 return NULL;
20015 }
20016
20017
20018 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20019 PyObject *resultobj;
20020 wxListItem *arg1 = (wxListItem *) 0 ;
20021 long arg2 ;
20022 PyObject * obj0 = 0 ;
20023 PyObject * obj1 = 0 ;
20024 char *kwnames[] = {
20025 (char *) "self",(char *) "m_mask", NULL
20026 };
20027
20028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
20029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20031 arg2 = (long) SWIG_AsLong(obj1);
20032 if (PyErr_Occurred()) SWIG_fail;
20033 if (arg1) (arg1)->m_mask = arg2;
20034
20035 Py_INCREF(Py_None); resultobj = Py_None;
20036 return resultobj;
20037 fail:
20038 return NULL;
20039 }
20040
20041
20042 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20043 PyObject *resultobj;
20044 wxListItem *arg1 = (wxListItem *) 0 ;
20045 long result;
20046 PyObject * obj0 = 0 ;
20047 char *kwnames[] = {
20048 (char *) "self", NULL
20049 };
20050
20051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
20052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20054 result = (long) ((arg1)->m_mask);
20055
20056 resultobj = SWIG_FromLong((long)result);
20057 return resultobj;
20058 fail:
20059 return NULL;
20060 }
20061
20062
20063 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20064 PyObject *resultobj;
20065 wxListItem *arg1 = (wxListItem *) 0 ;
20066 long arg2 ;
20067 PyObject * obj0 = 0 ;
20068 PyObject * obj1 = 0 ;
20069 char *kwnames[] = {
20070 (char *) "self",(char *) "m_itemId", NULL
20071 };
20072
20073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
20074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20076 arg2 = (long) SWIG_AsLong(obj1);
20077 if (PyErr_Occurred()) SWIG_fail;
20078 if (arg1) (arg1)->m_itemId = arg2;
20079
20080 Py_INCREF(Py_None); resultobj = Py_None;
20081 return resultobj;
20082 fail:
20083 return NULL;
20084 }
20085
20086
20087 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20088 PyObject *resultobj;
20089 wxListItem *arg1 = (wxListItem *) 0 ;
20090 long result;
20091 PyObject * obj0 = 0 ;
20092 char *kwnames[] = {
20093 (char *) "self", NULL
20094 };
20095
20096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
20097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20099 result = (long) ((arg1)->m_itemId);
20100
20101 resultobj = SWIG_FromLong((long)result);
20102 return resultobj;
20103 fail:
20104 return NULL;
20105 }
20106
20107
20108 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20109 PyObject *resultobj;
20110 wxListItem *arg1 = (wxListItem *) 0 ;
20111 int arg2 ;
20112 PyObject * obj0 = 0 ;
20113 PyObject * obj1 = 0 ;
20114 char *kwnames[] = {
20115 (char *) "self",(char *) "m_col", NULL
20116 };
20117
20118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
20119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20121 arg2 = (int) SWIG_AsInt(obj1);
20122 if (PyErr_Occurred()) SWIG_fail;
20123 if (arg1) (arg1)->m_col = arg2;
20124
20125 Py_INCREF(Py_None); resultobj = Py_None;
20126 return resultobj;
20127 fail:
20128 return NULL;
20129 }
20130
20131
20132 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20133 PyObject *resultobj;
20134 wxListItem *arg1 = (wxListItem *) 0 ;
20135 int result;
20136 PyObject * obj0 = 0 ;
20137 char *kwnames[] = {
20138 (char *) "self", NULL
20139 };
20140
20141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
20142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20144 result = (int) ((arg1)->m_col);
20145
20146 resultobj = SWIG_FromInt((int)result);
20147 return resultobj;
20148 fail:
20149 return NULL;
20150 }
20151
20152
20153 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20154 PyObject *resultobj;
20155 wxListItem *arg1 = (wxListItem *) 0 ;
20156 long arg2 ;
20157 PyObject * obj0 = 0 ;
20158 PyObject * obj1 = 0 ;
20159 char *kwnames[] = {
20160 (char *) "self",(char *) "m_state", NULL
20161 };
20162
20163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
20164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20166 arg2 = (long) SWIG_AsLong(obj1);
20167 if (PyErr_Occurred()) SWIG_fail;
20168 if (arg1) (arg1)->m_state = arg2;
20169
20170 Py_INCREF(Py_None); resultobj = Py_None;
20171 return resultobj;
20172 fail:
20173 return NULL;
20174 }
20175
20176
20177 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20178 PyObject *resultobj;
20179 wxListItem *arg1 = (wxListItem *) 0 ;
20180 long result;
20181 PyObject * obj0 = 0 ;
20182 char *kwnames[] = {
20183 (char *) "self", NULL
20184 };
20185
20186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
20187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20189 result = (long) ((arg1)->m_state);
20190
20191 resultobj = SWIG_FromLong((long)result);
20192 return resultobj;
20193 fail:
20194 return NULL;
20195 }
20196
20197
20198 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20199 PyObject *resultobj;
20200 wxListItem *arg1 = (wxListItem *) 0 ;
20201 long arg2 ;
20202 PyObject * obj0 = 0 ;
20203 PyObject * obj1 = 0 ;
20204 char *kwnames[] = {
20205 (char *) "self",(char *) "m_stateMask", NULL
20206 };
20207
20208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
20209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20211 arg2 = (long) SWIG_AsLong(obj1);
20212 if (PyErr_Occurred()) SWIG_fail;
20213 if (arg1) (arg1)->m_stateMask = arg2;
20214
20215 Py_INCREF(Py_None); resultobj = Py_None;
20216 return resultobj;
20217 fail:
20218 return NULL;
20219 }
20220
20221
20222 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20223 PyObject *resultobj;
20224 wxListItem *arg1 = (wxListItem *) 0 ;
20225 long result;
20226 PyObject * obj0 = 0 ;
20227 char *kwnames[] = {
20228 (char *) "self", NULL
20229 };
20230
20231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
20232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20234 result = (long) ((arg1)->m_stateMask);
20235
20236 resultobj = SWIG_FromLong((long)result);
20237 return resultobj;
20238 fail:
20239 return NULL;
20240 }
20241
20242
20243 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20244 PyObject *resultobj;
20245 wxListItem *arg1 = (wxListItem *) 0 ;
20246 wxString *arg2 = (wxString *) 0 ;
20247 bool temp2 = False ;
20248 PyObject * obj0 = 0 ;
20249 PyObject * obj1 = 0 ;
20250 char *kwnames[] = {
20251 (char *) "self",(char *) "m_text", NULL
20252 };
20253
20254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
20255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20257 {
20258 arg2 = wxString_in_helper(obj1);
20259 if (arg2 == NULL) SWIG_fail;
20260 temp2 = True;
20261 }
20262 if (arg1) (arg1)->m_text = *arg2;
20263
20264 Py_INCREF(Py_None); resultobj = Py_None;
20265 {
20266 if (temp2)
20267 delete arg2;
20268 }
20269 return resultobj;
20270 fail:
20271 {
20272 if (temp2)
20273 delete arg2;
20274 }
20275 return NULL;
20276 }
20277
20278
20279 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20280 PyObject *resultobj;
20281 wxListItem *arg1 = (wxListItem *) 0 ;
20282 wxString *result;
20283 PyObject * obj0 = 0 ;
20284 char *kwnames[] = {
20285 (char *) "self", NULL
20286 };
20287
20288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
20289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20291 result = (wxString *)& ((arg1)->m_text);
20292
20293 {
20294 #if wxUSE_UNICODE
20295 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20296 #else
20297 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20298 #endif
20299 }
20300 return resultobj;
20301 fail:
20302 return NULL;
20303 }
20304
20305
20306 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20307 PyObject *resultobj;
20308 wxListItem *arg1 = (wxListItem *) 0 ;
20309 int arg2 ;
20310 PyObject * obj0 = 0 ;
20311 PyObject * obj1 = 0 ;
20312 char *kwnames[] = {
20313 (char *) "self",(char *) "m_image", NULL
20314 };
20315
20316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
20317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20319 arg2 = (int) SWIG_AsInt(obj1);
20320 if (PyErr_Occurred()) SWIG_fail;
20321 if (arg1) (arg1)->m_image = arg2;
20322
20323 Py_INCREF(Py_None); resultobj = Py_None;
20324 return resultobj;
20325 fail:
20326 return NULL;
20327 }
20328
20329
20330 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20331 PyObject *resultobj;
20332 wxListItem *arg1 = (wxListItem *) 0 ;
20333 int result;
20334 PyObject * obj0 = 0 ;
20335 char *kwnames[] = {
20336 (char *) "self", NULL
20337 };
20338
20339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
20340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20342 result = (int) ((arg1)->m_image);
20343
20344 resultobj = SWIG_FromInt((int)result);
20345 return resultobj;
20346 fail:
20347 return NULL;
20348 }
20349
20350
20351 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20352 PyObject *resultobj;
20353 wxListItem *arg1 = (wxListItem *) 0 ;
20354 long arg2 ;
20355 PyObject * obj0 = 0 ;
20356 PyObject * obj1 = 0 ;
20357 char *kwnames[] = {
20358 (char *) "self",(char *) "m_data", NULL
20359 };
20360
20361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
20362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20364 arg2 = (long) SWIG_AsLong(obj1);
20365 if (PyErr_Occurred()) SWIG_fail;
20366 if (arg1) (arg1)->m_data = arg2;
20367
20368 Py_INCREF(Py_None); resultobj = Py_None;
20369 return resultobj;
20370 fail:
20371 return NULL;
20372 }
20373
20374
20375 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20376 PyObject *resultobj;
20377 wxListItem *arg1 = (wxListItem *) 0 ;
20378 long result;
20379 PyObject * obj0 = 0 ;
20380 char *kwnames[] = {
20381 (char *) "self", NULL
20382 };
20383
20384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
20385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20387 result = (long) ((arg1)->m_data);
20388
20389 resultobj = SWIG_FromLong((long)result);
20390 return resultobj;
20391 fail:
20392 return NULL;
20393 }
20394
20395
20396 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20397 PyObject *resultobj;
20398 wxListItem *arg1 = (wxListItem *) 0 ;
20399 int arg2 ;
20400 PyObject * obj0 = 0 ;
20401 PyObject * obj1 = 0 ;
20402 char *kwnames[] = {
20403 (char *) "self",(char *) "m_format", NULL
20404 };
20405
20406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
20407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20409 arg2 = (int) SWIG_AsInt(obj1);
20410 if (PyErr_Occurred()) SWIG_fail;
20411 if (arg1) (arg1)->m_format = arg2;
20412
20413 Py_INCREF(Py_None); resultobj = Py_None;
20414 return resultobj;
20415 fail:
20416 return NULL;
20417 }
20418
20419
20420 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20421 PyObject *resultobj;
20422 wxListItem *arg1 = (wxListItem *) 0 ;
20423 int result;
20424 PyObject * obj0 = 0 ;
20425 char *kwnames[] = {
20426 (char *) "self", NULL
20427 };
20428
20429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
20430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20432 result = (int) ((arg1)->m_format);
20433
20434 resultobj = SWIG_FromInt((int)result);
20435 return resultobj;
20436 fail:
20437 return NULL;
20438 }
20439
20440
20441 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20442 PyObject *resultobj;
20443 wxListItem *arg1 = (wxListItem *) 0 ;
20444 int arg2 ;
20445 PyObject * obj0 = 0 ;
20446 PyObject * obj1 = 0 ;
20447 char *kwnames[] = {
20448 (char *) "self",(char *) "m_width", NULL
20449 };
20450
20451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
20452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20454 arg2 = (int) SWIG_AsInt(obj1);
20455 if (PyErr_Occurred()) SWIG_fail;
20456 if (arg1) (arg1)->m_width = arg2;
20457
20458 Py_INCREF(Py_None); resultobj = Py_None;
20459 return resultobj;
20460 fail:
20461 return NULL;
20462 }
20463
20464
20465 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20466 PyObject *resultobj;
20467 wxListItem *arg1 = (wxListItem *) 0 ;
20468 int result;
20469 PyObject * obj0 = 0 ;
20470 char *kwnames[] = {
20471 (char *) "self", NULL
20472 };
20473
20474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
20475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20477 result = (int) ((arg1)->m_width);
20478
20479 resultobj = SWIG_FromInt((int)result);
20480 return resultobj;
20481 fail:
20482 return NULL;
20483 }
20484
20485
20486 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
20487 PyObject *obj;
20488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20489 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
20490 Py_INCREF(obj);
20491 return Py_BuildValue((char *)"");
20492 }
20493 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20494 PyObject *resultobj;
20495 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20496 int arg2 = (int) 0 ;
20497 wxListEvent *result;
20498 PyObject * obj0 = 0 ;
20499 PyObject * obj1 = 0 ;
20500 char *kwnames[] = {
20501 (char *) "commandType",(char *) "id", NULL
20502 };
20503
20504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
20505 if (obj0) {
20506 arg1 = (wxEventType) SWIG_AsInt(obj0);
20507 if (PyErr_Occurred()) SWIG_fail;
20508 }
20509 if (obj1) {
20510 arg2 = (int) SWIG_AsInt(obj1);
20511 if (PyErr_Occurred()) SWIG_fail;
20512 }
20513 {
20514 PyThreadState* __tstate = wxPyBeginAllowThreads();
20515 result = (wxListEvent *)new wxListEvent(arg1,arg2);
20516
20517 wxPyEndAllowThreads(__tstate);
20518 if (PyErr_Occurred()) SWIG_fail;
20519 }
20520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
20521 return resultobj;
20522 fail:
20523 return NULL;
20524 }
20525
20526
20527 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20528 PyObject *resultobj;
20529 wxListEvent *arg1 = (wxListEvent *) 0 ;
20530 int arg2 ;
20531 PyObject * obj0 = 0 ;
20532 PyObject * obj1 = 0 ;
20533 char *kwnames[] = {
20534 (char *) "self",(char *) "m_code", NULL
20535 };
20536
20537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
20538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20540 arg2 = (int) SWIG_AsInt(obj1);
20541 if (PyErr_Occurred()) SWIG_fail;
20542 if (arg1) (arg1)->m_code = arg2;
20543
20544 Py_INCREF(Py_None); resultobj = Py_None;
20545 return resultobj;
20546 fail:
20547 return NULL;
20548 }
20549
20550
20551 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20552 PyObject *resultobj;
20553 wxListEvent *arg1 = (wxListEvent *) 0 ;
20554 int result;
20555 PyObject * obj0 = 0 ;
20556 char *kwnames[] = {
20557 (char *) "self", NULL
20558 };
20559
20560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
20561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20563 result = (int) ((arg1)->m_code);
20564
20565 resultobj = SWIG_FromInt((int)result);
20566 return resultobj;
20567 fail:
20568 return NULL;
20569 }
20570
20571
20572 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20573 PyObject *resultobj;
20574 wxListEvent *arg1 = (wxListEvent *) 0 ;
20575 long arg2 ;
20576 PyObject * obj0 = 0 ;
20577 PyObject * obj1 = 0 ;
20578 char *kwnames[] = {
20579 (char *) "self",(char *) "m_oldItemIndex", NULL
20580 };
20581
20582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
20583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20585 arg2 = (long) SWIG_AsLong(obj1);
20586 if (PyErr_Occurred()) SWIG_fail;
20587 if (arg1) (arg1)->m_oldItemIndex = arg2;
20588
20589 Py_INCREF(Py_None); resultobj = Py_None;
20590 return resultobj;
20591 fail:
20592 return NULL;
20593 }
20594
20595
20596 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20597 PyObject *resultobj;
20598 wxListEvent *arg1 = (wxListEvent *) 0 ;
20599 long result;
20600 PyObject * obj0 = 0 ;
20601 char *kwnames[] = {
20602 (char *) "self", NULL
20603 };
20604
20605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
20606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20608 result = (long) ((arg1)->m_oldItemIndex);
20609
20610 resultobj = SWIG_FromLong((long)result);
20611 return resultobj;
20612 fail:
20613 return NULL;
20614 }
20615
20616
20617 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20618 PyObject *resultobj;
20619 wxListEvent *arg1 = (wxListEvent *) 0 ;
20620 long arg2 ;
20621 PyObject * obj0 = 0 ;
20622 PyObject * obj1 = 0 ;
20623 char *kwnames[] = {
20624 (char *) "self",(char *) "m_itemIndex", NULL
20625 };
20626
20627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
20628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20630 arg2 = (long) SWIG_AsLong(obj1);
20631 if (PyErr_Occurred()) SWIG_fail;
20632 if (arg1) (arg1)->m_itemIndex = arg2;
20633
20634 Py_INCREF(Py_None); resultobj = Py_None;
20635 return resultobj;
20636 fail:
20637 return NULL;
20638 }
20639
20640
20641 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20642 PyObject *resultobj;
20643 wxListEvent *arg1 = (wxListEvent *) 0 ;
20644 long result;
20645 PyObject * obj0 = 0 ;
20646 char *kwnames[] = {
20647 (char *) "self", NULL
20648 };
20649
20650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
20651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20653 result = (long) ((arg1)->m_itemIndex);
20654
20655 resultobj = SWIG_FromLong((long)result);
20656 return resultobj;
20657 fail:
20658 return NULL;
20659 }
20660
20661
20662 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20663 PyObject *resultobj;
20664 wxListEvent *arg1 = (wxListEvent *) 0 ;
20665 int arg2 ;
20666 PyObject * obj0 = 0 ;
20667 PyObject * obj1 = 0 ;
20668 char *kwnames[] = {
20669 (char *) "self",(char *) "m_col", NULL
20670 };
20671
20672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
20673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20675 arg2 = (int) SWIG_AsInt(obj1);
20676 if (PyErr_Occurred()) SWIG_fail;
20677 if (arg1) (arg1)->m_col = arg2;
20678
20679 Py_INCREF(Py_None); resultobj = Py_None;
20680 return resultobj;
20681 fail:
20682 return NULL;
20683 }
20684
20685
20686 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20687 PyObject *resultobj;
20688 wxListEvent *arg1 = (wxListEvent *) 0 ;
20689 int result;
20690 PyObject * obj0 = 0 ;
20691 char *kwnames[] = {
20692 (char *) "self", NULL
20693 };
20694
20695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
20696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20698 result = (int) ((arg1)->m_col);
20699
20700 resultobj = SWIG_FromInt((int)result);
20701 return resultobj;
20702 fail:
20703 return NULL;
20704 }
20705
20706
20707 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20708 PyObject *resultobj;
20709 wxListEvent *arg1 = (wxListEvent *) 0 ;
20710 wxPoint *arg2 = (wxPoint *) 0 ;
20711 PyObject * obj0 = 0 ;
20712 PyObject * obj1 = 0 ;
20713 char *kwnames[] = {
20714 (char *) "self",(char *) "m_pointDrag", NULL
20715 };
20716
20717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
20718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20720 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
20721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20722 if (arg1) (arg1)->m_pointDrag = *arg2;
20723
20724 Py_INCREF(Py_None); resultobj = Py_None;
20725 return resultobj;
20726 fail:
20727 return NULL;
20728 }
20729
20730
20731 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20732 PyObject *resultobj;
20733 wxListEvent *arg1 = (wxListEvent *) 0 ;
20734 wxPoint *result;
20735 PyObject * obj0 = 0 ;
20736 char *kwnames[] = {
20737 (char *) "self", NULL
20738 };
20739
20740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
20741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20743 result = (wxPoint *)& ((arg1)->m_pointDrag);
20744
20745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
20746 return resultobj;
20747 fail:
20748 return NULL;
20749 }
20750
20751
20752 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20753 PyObject *resultobj;
20754 wxListEvent *arg1 = (wxListEvent *) 0 ;
20755 wxListItem *result;
20756 PyObject * obj0 = 0 ;
20757 char *kwnames[] = {
20758 (char *) "self", NULL
20759 };
20760
20761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
20762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20764 result = (wxListItem *)& ((arg1)->m_item);
20765
20766 {
20767 resultobj = wxPyMake_wxObject(result, 0);
20768 }
20769 return resultobj;
20770 fail:
20771 return NULL;
20772 }
20773
20774
20775 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20776 PyObject *resultobj;
20777 wxListEvent *arg1 = (wxListEvent *) 0 ;
20778 int result;
20779 PyObject * obj0 = 0 ;
20780 char *kwnames[] = {
20781 (char *) "self", NULL
20782 };
20783
20784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20787 {
20788 PyThreadState* __tstate = wxPyBeginAllowThreads();
20789 result = (int)(arg1)->GetKeyCode();
20790
20791 wxPyEndAllowThreads(__tstate);
20792 if (PyErr_Occurred()) SWIG_fail;
20793 }
20794 resultobj = SWIG_FromInt((int)result);
20795 return resultobj;
20796 fail:
20797 return NULL;
20798 }
20799
20800
20801 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
20802 PyObject *resultobj;
20803 wxListEvent *arg1 = (wxListEvent *) 0 ;
20804 long result;
20805 PyObject * obj0 = 0 ;
20806 char *kwnames[] = {
20807 (char *) "self", NULL
20808 };
20809
20810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
20811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20813 {
20814 PyThreadState* __tstate = wxPyBeginAllowThreads();
20815 result = (long)(arg1)->GetIndex();
20816
20817 wxPyEndAllowThreads(__tstate);
20818 if (PyErr_Occurred()) SWIG_fail;
20819 }
20820 resultobj = SWIG_FromLong((long)result);
20821 return resultobj;
20822 fail:
20823 return NULL;
20824 }
20825
20826
20827 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20828 PyObject *resultobj;
20829 wxListEvent *arg1 = (wxListEvent *) 0 ;
20830 int result;
20831 PyObject * obj0 = 0 ;
20832 char *kwnames[] = {
20833 (char *) "self", NULL
20834 };
20835
20836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
20837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20839 {
20840 PyThreadState* __tstate = wxPyBeginAllowThreads();
20841 result = (int)(arg1)->GetColumn();
20842
20843 wxPyEndAllowThreads(__tstate);
20844 if (PyErr_Occurred()) SWIG_fail;
20845 }
20846 resultobj = SWIG_FromInt((int)result);
20847 return resultobj;
20848 fail:
20849 return NULL;
20850 }
20851
20852
20853 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20854 PyObject *resultobj;
20855 wxListEvent *arg1 = (wxListEvent *) 0 ;
20856 wxPoint result;
20857 PyObject * obj0 = 0 ;
20858 char *kwnames[] = {
20859 (char *) "self", NULL
20860 };
20861
20862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
20863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20865 {
20866 PyThreadState* __tstate = wxPyBeginAllowThreads();
20867 result = (arg1)->GetPoint();
20868
20869 wxPyEndAllowThreads(__tstate);
20870 if (PyErr_Occurred()) SWIG_fail;
20871 }
20872 {
20873 wxPoint * resultptr;
20874 resultptr = new wxPoint((wxPoint &) result);
20875 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20876 }
20877 return resultobj;
20878 fail:
20879 return NULL;
20880 }
20881
20882
20883 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20884 PyObject *resultobj;
20885 wxListEvent *arg1 = (wxListEvent *) 0 ;
20886 wxString *result;
20887 PyObject * obj0 = 0 ;
20888 char *kwnames[] = {
20889 (char *) "self", NULL
20890 };
20891
20892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
20893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20895 {
20896 PyThreadState* __tstate = wxPyBeginAllowThreads();
20897 {
20898 wxString const &_result_ref = (arg1)->GetLabel();
20899 result = (wxString *) &_result_ref;
20900 }
20901
20902 wxPyEndAllowThreads(__tstate);
20903 if (PyErr_Occurred()) SWIG_fail;
20904 }
20905 {
20906 #if wxUSE_UNICODE
20907 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20908 #else
20909 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20910 #endif
20911 }
20912 return resultobj;
20913 fail:
20914 return NULL;
20915 }
20916
20917
20918 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
20919 PyObject *resultobj;
20920 wxListEvent *arg1 = (wxListEvent *) 0 ;
20921 wxString *result;
20922 PyObject * obj0 = 0 ;
20923 char *kwnames[] = {
20924 (char *) "self", NULL
20925 };
20926
20927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
20928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20930 {
20931 PyThreadState* __tstate = wxPyBeginAllowThreads();
20932 {
20933 wxString const &_result_ref = (arg1)->GetText();
20934 result = (wxString *) &_result_ref;
20935 }
20936
20937 wxPyEndAllowThreads(__tstate);
20938 if (PyErr_Occurred()) SWIG_fail;
20939 }
20940 {
20941 #if wxUSE_UNICODE
20942 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20943 #else
20944 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20945 #endif
20946 }
20947 return resultobj;
20948 fail:
20949 return NULL;
20950 }
20951
20952
20953 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20954 PyObject *resultobj;
20955 wxListEvent *arg1 = (wxListEvent *) 0 ;
20956 int result;
20957 PyObject * obj0 = 0 ;
20958 char *kwnames[] = {
20959 (char *) "self", NULL
20960 };
20961
20962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
20963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20965 {
20966 PyThreadState* __tstate = wxPyBeginAllowThreads();
20967 result = (int)(arg1)->GetImage();
20968
20969 wxPyEndAllowThreads(__tstate);
20970 if (PyErr_Occurred()) SWIG_fail;
20971 }
20972 resultobj = SWIG_FromInt((int)result);
20973 return resultobj;
20974 fail:
20975 return NULL;
20976 }
20977
20978
20979 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20980 PyObject *resultobj;
20981 wxListEvent *arg1 = (wxListEvent *) 0 ;
20982 long result;
20983 PyObject * obj0 = 0 ;
20984 char *kwnames[] = {
20985 (char *) "self", NULL
20986 };
20987
20988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
20989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20991 {
20992 PyThreadState* __tstate = wxPyBeginAllowThreads();
20993 result = (long)(arg1)->GetData();
20994
20995 wxPyEndAllowThreads(__tstate);
20996 if (PyErr_Occurred()) SWIG_fail;
20997 }
20998 resultobj = SWIG_FromLong((long)result);
20999 return resultobj;
21000 fail:
21001 return NULL;
21002 }
21003
21004
21005 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
21006 PyObject *resultobj;
21007 wxListEvent *arg1 = (wxListEvent *) 0 ;
21008 long result;
21009 PyObject * obj0 = 0 ;
21010 char *kwnames[] = {
21011 (char *) "self", NULL
21012 };
21013
21014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
21015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21017 {
21018 PyThreadState* __tstate = wxPyBeginAllowThreads();
21019 result = (long)(arg1)->GetMask();
21020
21021 wxPyEndAllowThreads(__tstate);
21022 if (PyErr_Occurred()) SWIG_fail;
21023 }
21024 resultobj = SWIG_FromLong((long)result);
21025 return resultobj;
21026 fail:
21027 return NULL;
21028 }
21029
21030
21031 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21032 PyObject *resultobj;
21033 wxListEvent *arg1 = (wxListEvent *) 0 ;
21034 wxListItem *result;
21035 PyObject * obj0 = 0 ;
21036 char *kwnames[] = {
21037 (char *) "self", NULL
21038 };
21039
21040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
21041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21043 {
21044 PyThreadState* __tstate = wxPyBeginAllowThreads();
21045 {
21046 wxListItem const &_result_ref = (arg1)->GetItem();
21047 result = (wxListItem *) &_result_ref;
21048 }
21049
21050 wxPyEndAllowThreads(__tstate);
21051 if (PyErr_Occurred()) SWIG_fail;
21052 }
21053 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
21054 return resultobj;
21055 fail:
21056 return NULL;
21057 }
21058
21059
21060 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
21061 PyObject *resultobj;
21062 wxListEvent *arg1 = (wxListEvent *) 0 ;
21063 long result;
21064 PyObject * obj0 = 0 ;
21065 char *kwnames[] = {
21066 (char *) "self", NULL
21067 };
21068
21069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
21070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21072 {
21073 PyThreadState* __tstate = wxPyBeginAllowThreads();
21074 result = (long)(arg1)->GetCacheFrom();
21075
21076 wxPyEndAllowThreads(__tstate);
21077 if (PyErr_Occurred()) SWIG_fail;
21078 }
21079 resultobj = SWIG_FromLong((long)result);
21080 return resultobj;
21081 fail:
21082 return NULL;
21083 }
21084
21085
21086 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21087 PyObject *resultobj;
21088 wxListEvent *arg1 = (wxListEvent *) 0 ;
21089 long result;
21090 PyObject * obj0 = 0 ;
21091 char *kwnames[] = {
21092 (char *) "self", NULL
21093 };
21094
21095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
21096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21098 {
21099 PyThreadState* __tstate = wxPyBeginAllowThreads();
21100 result = (long)(arg1)->GetCacheTo();
21101
21102 wxPyEndAllowThreads(__tstate);
21103 if (PyErr_Occurred()) SWIG_fail;
21104 }
21105 resultobj = SWIG_FromLong((long)result);
21106 return resultobj;
21107 fail:
21108 return NULL;
21109 }
21110
21111
21112 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
21113 PyObject *resultobj;
21114 wxListEvent *arg1 = (wxListEvent *) 0 ;
21115 bool result;
21116 PyObject * obj0 = 0 ;
21117 char *kwnames[] = {
21118 (char *) "self", NULL
21119 };
21120
21121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
21122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21124 {
21125 PyThreadState* __tstate = wxPyBeginAllowThreads();
21126 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
21127
21128 wxPyEndAllowThreads(__tstate);
21129 if (PyErr_Occurred()) SWIG_fail;
21130 }
21131 {
21132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21133 }
21134 return resultobj;
21135 fail:
21136 return NULL;
21137 }
21138
21139
21140 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
21141 PyObject *resultobj;
21142 wxListEvent *arg1 = (wxListEvent *) 0 ;
21143 bool arg2 ;
21144 PyObject * obj0 = 0 ;
21145 PyObject * obj1 = 0 ;
21146 char *kwnames[] = {
21147 (char *) "self",(char *) "editCancelled", NULL
21148 };
21149
21150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
21151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21153 arg2 = (bool) SWIG_AsBool(obj1);
21154 if (PyErr_Occurred()) SWIG_fail;
21155 {
21156 PyThreadState* __tstate = wxPyBeginAllowThreads();
21157 (arg1)->SetEditCanceled(arg2);
21158
21159 wxPyEndAllowThreads(__tstate);
21160 if (PyErr_Occurred()) SWIG_fail;
21161 }
21162 Py_INCREF(Py_None); resultobj = Py_None;
21163 return resultobj;
21164 fail:
21165 return NULL;
21166 }
21167
21168
21169 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
21170 PyObject *obj;
21171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21172 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
21173 Py_INCREF(obj);
21174 return Py_BuildValue((char *)"");
21175 }
21176 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21177 PyObject *resultobj;
21178 wxWindow *arg1 = (wxWindow *) 0 ;
21179 int arg2 = (int) -1 ;
21180 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21181 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21182 wxSize const &arg4_defvalue = wxDefaultSize ;
21183 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21184 long arg5 = (long) wxLC_ICON ;
21185 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21186 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21187 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
21188 wxString *arg7 = (wxString *) &arg7_defvalue ;
21189 wxPyListCtrl *result;
21190 wxPoint temp3 ;
21191 wxSize temp4 ;
21192 bool temp7 = False ;
21193 PyObject * obj0 = 0 ;
21194 PyObject * obj1 = 0 ;
21195 PyObject * obj2 = 0 ;
21196 PyObject * obj3 = 0 ;
21197 PyObject * obj4 = 0 ;
21198 PyObject * obj5 = 0 ;
21199 PyObject * obj6 = 0 ;
21200 char *kwnames[] = {
21201 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21202 };
21203
21204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21207 if (obj1) {
21208 arg2 = (int) SWIG_AsInt(obj1);
21209 if (PyErr_Occurred()) SWIG_fail;
21210 }
21211 if (obj2) {
21212 {
21213 arg3 = &temp3;
21214 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21215 }
21216 }
21217 if (obj3) {
21218 {
21219 arg4 = &temp4;
21220 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21221 }
21222 }
21223 if (obj4) {
21224 arg5 = (long) SWIG_AsLong(obj4);
21225 if (PyErr_Occurred()) SWIG_fail;
21226 }
21227 if (obj5) {
21228 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
21229 SWIG_POINTER_EXCEPTION | 0)) == -1)
21230 SWIG_fail;
21231 if (arg6 == NULL) {
21232 PyErr_SetString(PyExc_TypeError,"null reference");
21233 SWIG_fail;
21234 }
21235 }
21236 if (obj6) {
21237 {
21238 arg7 = wxString_in_helper(obj6);
21239 if (arg7 == NULL) SWIG_fail;
21240 temp7 = True;
21241 }
21242 }
21243 {
21244 if (!wxPyCheckForApp()) SWIG_fail;
21245 PyThreadState* __tstate = wxPyBeginAllowThreads();
21246 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21247
21248 wxPyEndAllowThreads(__tstate);
21249 if (PyErr_Occurred()) SWIG_fail;
21250 }
21251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21252 {
21253 if (temp7)
21254 delete arg7;
21255 }
21256 return resultobj;
21257 fail:
21258 {
21259 if (temp7)
21260 delete arg7;
21261 }
21262 return NULL;
21263 }
21264
21265
21266 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21267 PyObject *resultobj;
21268 wxPyListCtrl *result;
21269 char *kwnames[] = {
21270 NULL
21271 };
21272
21273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
21274 {
21275 if (!wxPyCheckForApp()) SWIG_fail;
21276 PyThreadState* __tstate = wxPyBeginAllowThreads();
21277 result = (wxPyListCtrl *)new wxPyListCtrl();
21278
21279 wxPyEndAllowThreads(__tstate);
21280 if (PyErr_Occurred()) SWIG_fail;
21281 }
21282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21283 return resultobj;
21284 fail:
21285 return NULL;
21286 }
21287
21288
21289 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21290 PyObject *resultobj;
21291 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21292 wxWindow *arg2 = (wxWindow *) 0 ;
21293 int arg3 = (int) -1 ;
21294 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21295 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21296 wxSize const &arg5_defvalue = wxDefaultSize ;
21297 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21298 long arg6 = (long) wxLC_ICON ;
21299 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21300 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21301 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
21302 wxString *arg8 = (wxString *) &arg8_defvalue ;
21303 bool result;
21304 wxPoint temp4 ;
21305 wxSize temp5 ;
21306 bool temp8 = False ;
21307 PyObject * obj0 = 0 ;
21308 PyObject * obj1 = 0 ;
21309 PyObject * obj2 = 0 ;
21310 PyObject * obj3 = 0 ;
21311 PyObject * obj4 = 0 ;
21312 PyObject * obj5 = 0 ;
21313 PyObject * obj6 = 0 ;
21314 PyObject * obj7 = 0 ;
21315 char *kwnames[] = {
21316 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21317 };
21318
21319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
21320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21322 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21324 if (obj2) {
21325 arg3 = (int) SWIG_AsInt(obj2);
21326 if (PyErr_Occurred()) SWIG_fail;
21327 }
21328 if (obj3) {
21329 {
21330 arg4 = &temp4;
21331 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21332 }
21333 }
21334 if (obj4) {
21335 {
21336 arg5 = &temp5;
21337 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21338 }
21339 }
21340 if (obj5) {
21341 arg6 = (long) SWIG_AsLong(obj5);
21342 if (PyErr_Occurred()) SWIG_fail;
21343 }
21344 if (obj6) {
21345 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
21346 SWIG_POINTER_EXCEPTION | 0)) == -1)
21347 SWIG_fail;
21348 if (arg7 == NULL) {
21349 PyErr_SetString(PyExc_TypeError,"null reference");
21350 SWIG_fail;
21351 }
21352 }
21353 if (obj7) {
21354 {
21355 arg8 = wxString_in_helper(obj7);
21356 if (arg8 == NULL) SWIG_fail;
21357 temp8 = True;
21358 }
21359 }
21360 {
21361 PyThreadState* __tstate = wxPyBeginAllowThreads();
21362 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21363
21364 wxPyEndAllowThreads(__tstate);
21365 if (PyErr_Occurred()) SWIG_fail;
21366 }
21367 {
21368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21369 }
21370 {
21371 if (temp8)
21372 delete arg8;
21373 }
21374 return resultobj;
21375 fail:
21376 {
21377 if (temp8)
21378 delete arg8;
21379 }
21380 return NULL;
21381 }
21382
21383
21384 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21385 PyObject *resultobj;
21386 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21387 PyObject *arg2 = (PyObject *) 0 ;
21388 PyObject *arg3 = (PyObject *) 0 ;
21389 PyObject * obj0 = 0 ;
21390 PyObject * obj1 = 0 ;
21391 PyObject * obj2 = 0 ;
21392 char *kwnames[] = {
21393 (char *) "self",(char *) "self",(char *) "_class", NULL
21394 };
21395
21396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21399 arg2 = obj1;
21400 arg3 = obj2;
21401 {
21402 PyThreadState* __tstate = wxPyBeginAllowThreads();
21403 (arg1)->_setCallbackInfo(arg2,arg3);
21404
21405 wxPyEndAllowThreads(__tstate);
21406 if (PyErr_Occurred()) SWIG_fail;
21407 }
21408 Py_INCREF(Py_None); resultobj = Py_None;
21409 return resultobj;
21410 fail:
21411 return NULL;
21412 }
21413
21414
21415 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21416 PyObject *resultobj;
21417 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21418 wxColour *arg2 = 0 ;
21419 bool result;
21420 wxColour temp2 ;
21421 PyObject * obj0 = 0 ;
21422 PyObject * obj1 = 0 ;
21423 char *kwnames[] = {
21424 (char *) "self",(char *) "col", NULL
21425 };
21426
21427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
21428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21430 {
21431 arg2 = &temp2;
21432 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21433 }
21434 {
21435 PyThreadState* __tstate = wxPyBeginAllowThreads();
21436 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
21437
21438 wxPyEndAllowThreads(__tstate);
21439 if (PyErr_Occurred()) SWIG_fail;
21440 }
21441 {
21442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21443 }
21444 return resultobj;
21445 fail:
21446 return NULL;
21447 }
21448
21449
21450 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21451 PyObject *resultobj;
21452 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21453 wxColour *arg2 = 0 ;
21454 bool result;
21455 wxColour temp2 ;
21456 PyObject * obj0 = 0 ;
21457 PyObject * obj1 = 0 ;
21458 char *kwnames[] = {
21459 (char *) "self",(char *) "col", NULL
21460 };
21461
21462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21465 {
21466 arg2 = &temp2;
21467 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21468 }
21469 {
21470 PyThreadState* __tstate = wxPyBeginAllowThreads();
21471 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
21472
21473 wxPyEndAllowThreads(__tstate);
21474 if (PyErr_Occurred()) SWIG_fail;
21475 }
21476 {
21477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21478 }
21479 return resultobj;
21480 fail:
21481 return NULL;
21482 }
21483
21484
21485 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21486 PyObject *resultobj;
21487 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21488 int arg2 ;
21489 wxListItem *result;
21490 PyObject * obj0 = 0 ;
21491 PyObject * obj1 = 0 ;
21492 char *kwnames[] = {
21493 (char *) "self",(char *) "col", NULL
21494 };
21495
21496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
21497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21499 arg2 = (int) SWIG_AsInt(obj1);
21500 if (PyErr_Occurred()) SWIG_fail;
21501 {
21502 PyThreadState* __tstate = wxPyBeginAllowThreads();
21503 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
21504
21505 wxPyEndAllowThreads(__tstate);
21506 if (PyErr_Occurred()) SWIG_fail;
21507 }
21508 {
21509 resultobj = wxPyMake_wxObject(result, 0);
21510 }
21511 return resultobj;
21512 fail:
21513 return NULL;
21514 }
21515
21516
21517 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21518 PyObject *resultobj;
21519 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21520 int arg2 ;
21521 wxListItem *arg3 = 0 ;
21522 bool result;
21523 PyObject * obj0 = 0 ;
21524 PyObject * obj1 = 0 ;
21525 PyObject * obj2 = 0 ;
21526 char *kwnames[] = {
21527 (char *) "self",(char *) "col",(char *) "item", NULL
21528 };
21529
21530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
21531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21533 arg2 = (int) SWIG_AsInt(obj1);
21534 if (PyErr_Occurred()) SWIG_fail;
21535 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
21536 SWIG_POINTER_EXCEPTION | 0)) == -1)
21537 SWIG_fail;
21538 if (arg3 == NULL) {
21539 PyErr_SetString(PyExc_TypeError,"null reference");
21540 SWIG_fail;
21541 }
21542 {
21543 PyThreadState* __tstate = wxPyBeginAllowThreads();
21544 result = (bool)(arg1)->SetColumn(arg2,*arg3);
21545
21546 wxPyEndAllowThreads(__tstate);
21547 if (PyErr_Occurred()) SWIG_fail;
21548 }
21549 {
21550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21551 }
21552 return resultobj;
21553 fail:
21554 return NULL;
21555 }
21556
21557
21558 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21559 PyObject *resultobj;
21560 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21561 int arg2 ;
21562 int result;
21563 PyObject * obj0 = 0 ;
21564 PyObject * obj1 = 0 ;
21565 char *kwnames[] = {
21566 (char *) "self",(char *) "col", NULL
21567 };
21568
21569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
21570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21572 arg2 = (int) SWIG_AsInt(obj1);
21573 if (PyErr_Occurred()) SWIG_fail;
21574 {
21575 PyThreadState* __tstate = wxPyBeginAllowThreads();
21576 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
21577
21578 wxPyEndAllowThreads(__tstate);
21579 if (PyErr_Occurred()) SWIG_fail;
21580 }
21581 resultobj = SWIG_FromInt((int)result);
21582 return resultobj;
21583 fail:
21584 return NULL;
21585 }
21586
21587
21588 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21589 PyObject *resultobj;
21590 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21591 int arg2 ;
21592 int arg3 ;
21593 bool result;
21594 PyObject * obj0 = 0 ;
21595 PyObject * obj1 = 0 ;
21596 PyObject * obj2 = 0 ;
21597 char *kwnames[] = {
21598 (char *) "self",(char *) "col",(char *) "width", NULL
21599 };
21600
21601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
21602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21604 arg2 = (int) SWIG_AsInt(obj1);
21605 if (PyErr_Occurred()) SWIG_fail;
21606 arg3 = (int) SWIG_AsInt(obj2);
21607 if (PyErr_Occurred()) SWIG_fail;
21608 {
21609 PyThreadState* __tstate = wxPyBeginAllowThreads();
21610 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
21611
21612 wxPyEndAllowThreads(__tstate);
21613 if (PyErr_Occurred()) SWIG_fail;
21614 }
21615 {
21616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21617 }
21618 return resultobj;
21619 fail:
21620 return NULL;
21621 }
21622
21623
21624 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21625 PyObject *resultobj;
21626 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21627 int result;
21628 PyObject * obj0 = 0 ;
21629 char *kwnames[] = {
21630 (char *) "self", NULL
21631 };
21632
21633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
21634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21636 {
21637 PyThreadState* __tstate = wxPyBeginAllowThreads();
21638 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
21639
21640 wxPyEndAllowThreads(__tstate);
21641 if (PyErr_Occurred()) SWIG_fail;
21642 }
21643 resultobj = SWIG_FromInt((int)result);
21644 return resultobj;
21645 fail:
21646 return NULL;
21647 }
21648
21649
21650 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21651 PyObject *resultobj;
21652 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21653 wxRect result;
21654 PyObject * obj0 = 0 ;
21655 char *kwnames[] = {
21656 (char *) "self", NULL
21657 };
21658
21659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
21660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21662 {
21663 PyThreadState* __tstate = wxPyBeginAllowThreads();
21664 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
21665
21666 wxPyEndAllowThreads(__tstate);
21667 if (PyErr_Occurred()) SWIG_fail;
21668 }
21669 {
21670 wxRect * resultptr;
21671 resultptr = new wxRect((wxRect &) result);
21672 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
21673 }
21674 return resultobj;
21675 fail:
21676 return NULL;
21677 }
21678
21679
21680 static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21681 PyObject *resultobj;
21682 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21683 wxTextCtrl *result;
21684 PyObject * obj0 = 0 ;
21685 char *kwnames[] = {
21686 (char *) "self", NULL
21687 };
21688
21689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
21690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21692 {
21693 PyThreadState* __tstate = wxPyBeginAllowThreads();
21694 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
21695
21696 wxPyEndAllowThreads(__tstate);
21697 if (PyErr_Occurred()) SWIG_fail;
21698 }
21699 {
21700 resultobj = wxPyMake_wxObject(result, 0);
21701 }
21702 return resultobj;
21703 fail:
21704 return NULL;
21705 }
21706
21707
21708 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21709 PyObject *resultobj;
21710 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21711 long arg2 ;
21712 int arg3 = (int) 0 ;
21713 wxListItem *result;
21714 PyObject * obj0 = 0 ;
21715 PyObject * obj1 = 0 ;
21716 PyObject * obj2 = 0 ;
21717 char *kwnames[] = {
21718 (char *) "self",(char *) "itemId",(char *) "col", NULL
21719 };
21720
21721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21724 arg2 = (long) SWIG_AsLong(obj1);
21725 if (PyErr_Occurred()) SWIG_fail;
21726 if (obj2) {
21727 arg3 = (int) SWIG_AsInt(obj2);
21728 if (PyErr_Occurred()) SWIG_fail;
21729 }
21730 {
21731 PyThreadState* __tstate = wxPyBeginAllowThreads();
21732 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
21733
21734 wxPyEndAllowThreads(__tstate);
21735 if (PyErr_Occurred()) SWIG_fail;
21736 }
21737 {
21738 resultobj = wxPyMake_wxObject(result, 0);
21739 }
21740 return resultobj;
21741 fail:
21742 return NULL;
21743 }
21744
21745
21746 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21747 PyObject *resultobj;
21748 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21749 wxListItem *arg2 = 0 ;
21750 bool result;
21751 PyObject * obj0 = 0 ;
21752 PyObject * obj1 = 0 ;
21753 char *kwnames[] = {
21754 (char *) "self",(char *) "info", NULL
21755 };
21756
21757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
21758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21760 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
21761 SWIG_POINTER_EXCEPTION | 0)) == -1)
21762 SWIG_fail;
21763 if (arg2 == NULL) {
21764 PyErr_SetString(PyExc_TypeError,"null reference");
21765 SWIG_fail;
21766 }
21767 {
21768 PyThreadState* __tstate = wxPyBeginAllowThreads();
21769 result = (bool)(arg1)->SetItem(*arg2);
21770
21771 wxPyEndAllowThreads(__tstate);
21772 if (PyErr_Occurred()) SWIG_fail;
21773 }
21774 {
21775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21776 }
21777 return resultobj;
21778 fail:
21779 return NULL;
21780 }
21781
21782
21783 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21784 PyObject *resultobj;
21785 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21786 long arg2 ;
21787 int arg3 ;
21788 wxString *arg4 = 0 ;
21789 int arg5 = (int) -1 ;
21790 long result;
21791 bool temp4 = False ;
21792 PyObject * obj0 = 0 ;
21793 PyObject * obj1 = 0 ;
21794 PyObject * obj2 = 0 ;
21795 PyObject * obj3 = 0 ;
21796 PyObject * obj4 = 0 ;
21797 char *kwnames[] = {
21798 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21799 };
21800
21801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21804 arg2 = (long) SWIG_AsLong(obj1);
21805 if (PyErr_Occurred()) SWIG_fail;
21806 arg3 = (int) SWIG_AsInt(obj2);
21807 if (PyErr_Occurred()) SWIG_fail;
21808 {
21809 arg4 = wxString_in_helper(obj3);
21810 if (arg4 == NULL) SWIG_fail;
21811 temp4 = True;
21812 }
21813 if (obj4) {
21814 arg5 = (int) SWIG_AsInt(obj4);
21815 if (PyErr_Occurred()) SWIG_fail;
21816 }
21817 {
21818 PyThreadState* __tstate = wxPyBeginAllowThreads();
21819 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
21820
21821 wxPyEndAllowThreads(__tstate);
21822 if (PyErr_Occurred()) SWIG_fail;
21823 }
21824 resultobj = SWIG_FromLong((long)result);
21825 {
21826 if (temp4)
21827 delete arg4;
21828 }
21829 return resultobj;
21830 fail:
21831 {
21832 if (temp4)
21833 delete arg4;
21834 }
21835 return NULL;
21836 }
21837
21838
21839 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
21840 PyObject *resultobj;
21841 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21842 long arg2 ;
21843 long arg3 ;
21844 int result;
21845 PyObject * obj0 = 0 ;
21846 PyObject * obj1 = 0 ;
21847 PyObject * obj2 = 0 ;
21848 char *kwnames[] = {
21849 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21850 };
21851
21852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
21853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21855 arg2 = (long) SWIG_AsLong(obj1);
21856 if (PyErr_Occurred()) SWIG_fail;
21857 arg3 = (long) SWIG_AsLong(obj2);
21858 if (PyErr_Occurred()) SWIG_fail;
21859 {
21860 PyThreadState* __tstate = wxPyBeginAllowThreads();
21861 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
21862
21863 wxPyEndAllowThreads(__tstate);
21864 if (PyErr_Occurred()) SWIG_fail;
21865 }
21866 resultobj = SWIG_FromInt((int)result);
21867 return resultobj;
21868 fail:
21869 return NULL;
21870 }
21871
21872
21873 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
21874 PyObject *resultobj;
21875 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21876 long arg2 ;
21877 long arg3 ;
21878 long arg4 ;
21879 bool result;
21880 PyObject * obj0 = 0 ;
21881 PyObject * obj1 = 0 ;
21882 PyObject * obj2 = 0 ;
21883 PyObject * obj3 = 0 ;
21884 char *kwnames[] = {
21885 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21886 };
21887
21888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21891 arg2 = (long) SWIG_AsLong(obj1);
21892 if (PyErr_Occurred()) SWIG_fail;
21893 arg3 = (long) SWIG_AsLong(obj2);
21894 if (PyErr_Occurred()) SWIG_fail;
21895 arg4 = (long) SWIG_AsLong(obj3);
21896 if (PyErr_Occurred()) SWIG_fail;
21897 {
21898 PyThreadState* __tstate = wxPyBeginAllowThreads();
21899 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
21900
21901 wxPyEndAllowThreads(__tstate);
21902 if (PyErr_Occurred()) SWIG_fail;
21903 }
21904 {
21905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21906 }
21907 return resultobj;
21908 fail:
21909 return NULL;
21910 }
21911
21912
21913 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21914 PyObject *resultobj;
21915 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21916 long arg2 ;
21917 int arg3 ;
21918 int arg4 ;
21919 bool result;
21920 PyObject * obj0 = 0 ;
21921 PyObject * obj1 = 0 ;
21922 PyObject * obj2 = 0 ;
21923 PyObject * obj3 = 0 ;
21924 char *kwnames[] = {
21925 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21926 };
21927
21928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21931 arg2 = (long) SWIG_AsLong(obj1);
21932 if (PyErr_Occurred()) SWIG_fail;
21933 arg3 = (int) SWIG_AsInt(obj2);
21934 if (PyErr_Occurred()) SWIG_fail;
21935 arg4 = (int) SWIG_AsInt(obj3);
21936 if (PyErr_Occurred()) SWIG_fail;
21937 {
21938 PyThreadState* __tstate = wxPyBeginAllowThreads();
21939 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
21940
21941 wxPyEndAllowThreads(__tstate);
21942 if (PyErr_Occurred()) SWIG_fail;
21943 }
21944 {
21945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21946 }
21947 return resultobj;
21948 fail:
21949 return NULL;
21950 }
21951
21952
21953 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21954 PyObject *resultobj;
21955 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21956 long arg2 ;
21957 wxString result;
21958 PyObject * obj0 = 0 ;
21959 PyObject * obj1 = 0 ;
21960 char *kwnames[] = {
21961 (char *) "self",(char *) "item", NULL
21962 };
21963
21964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21967 arg2 = (long) SWIG_AsLong(obj1);
21968 if (PyErr_Occurred()) SWIG_fail;
21969 {
21970 PyThreadState* __tstate = wxPyBeginAllowThreads();
21971 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
21972
21973 wxPyEndAllowThreads(__tstate);
21974 if (PyErr_Occurred()) SWIG_fail;
21975 }
21976 {
21977 #if wxUSE_UNICODE
21978 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21979 #else
21980 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21981 #endif
21982 }
21983 return resultobj;
21984 fail:
21985 return NULL;
21986 }
21987
21988
21989 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21990 PyObject *resultobj;
21991 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21992 long arg2 ;
21993 wxString *arg3 = 0 ;
21994 bool temp3 = False ;
21995 PyObject * obj0 = 0 ;
21996 PyObject * obj1 = 0 ;
21997 PyObject * obj2 = 0 ;
21998 char *kwnames[] = {
21999 (char *) "self",(char *) "item",(char *) "str", NULL
22000 };
22001
22002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
22003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22005 arg2 = (long) SWIG_AsLong(obj1);
22006 if (PyErr_Occurred()) SWIG_fail;
22007 {
22008 arg3 = wxString_in_helper(obj2);
22009 if (arg3 == NULL) SWIG_fail;
22010 temp3 = True;
22011 }
22012 {
22013 PyThreadState* __tstate = wxPyBeginAllowThreads();
22014 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
22015
22016 wxPyEndAllowThreads(__tstate);
22017 if (PyErr_Occurred()) SWIG_fail;
22018 }
22019 Py_INCREF(Py_None); resultobj = Py_None;
22020 {
22021 if (temp3)
22022 delete arg3;
22023 }
22024 return resultobj;
22025 fail:
22026 {
22027 if (temp3)
22028 delete arg3;
22029 }
22030 return NULL;
22031 }
22032
22033
22034 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22035 PyObject *resultobj;
22036 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22037 long arg2 ;
22038 long result;
22039 PyObject * obj0 = 0 ;
22040 PyObject * obj1 = 0 ;
22041 char *kwnames[] = {
22042 (char *) "self",(char *) "item", NULL
22043 };
22044
22045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
22046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22048 arg2 = (long) SWIG_AsLong(obj1);
22049 if (PyErr_Occurred()) SWIG_fail;
22050 {
22051 PyThreadState* __tstate = wxPyBeginAllowThreads();
22052 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
22053
22054 wxPyEndAllowThreads(__tstate);
22055 if (PyErr_Occurred()) SWIG_fail;
22056 }
22057 resultobj = SWIG_FromLong((long)result);
22058 return resultobj;
22059 fail:
22060 return NULL;
22061 }
22062
22063
22064 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22065 PyObject *resultobj;
22066 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22067 long arg2 ;
22068 long arg3 ;
22069 bool result;
22070 PyObject * obj0 = 0 ;
22071 PyObject * obj1 = 0 ;
22072 PyObject * obj2 = 0 ;
22073 char *kwnames[] = {
22074 (char *) "self",(char *) "item",(char *) "data", NULL
22075 };
22076
22077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22080 arg2 = (long) SWIG_AsLong(obj1);
22081 if (PyErr_Occurred()) SWIG_fail;
22082 arg3 = (long) SWIG_AsLong(obj2);
22083 if (PyErr_Occurred()) SWIG_fail;
22084 {
22085 PyThreadState* __tstate = wxPyBeginAllowThreads();
22086 result = (bool)(arg1)->SetItemData(arg2,arg3);
22087
22088 wxPyEndAllowThreads(__tstate);
22089 if (PyErr_Occurred()) SWIG_fail;
22090 }
22091 {
22092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22093 }
22094 return resultobj;
22095 fail:
22096 return NULL;
22097 }
22098
22099
22100 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
22101 PyObject *resultobj;
22102 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22103 long arg2 ;
22104 wxPoint result;
22105 PyObject * obj0 = 0 ;
22106 PyObject * obj1 = 0 ;
22107 char *kwnames[] = {
22108 (char *) "self",(char *) "item", NULL
22109 };
22110
22111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
22112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22114 arg2 = (long) SWIG_AsLong(obj1);
22115 if (PyErr_Occurred()) SWIG_fail;
22116 {
22117 PyThreadState* __tstate = wxPyBeginAllowThreads();
22118 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
22119
22120 wxPyEndAllowThreads(__tstate);
22121 if (PyErr_Occurred()) SWIG_fail;
22122 }
22123 {
22124 wxPoint * resultptr;
22125 resultptr = new wxPoint((wxPoint &) result);
22126 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22127 }
22128 return resultobj;
22129 fail:
22130 return NULL;
22131 }
22132
22133
22134 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22135 PyObject *resultobj;
22136 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22137 long arg2 ;
22138 int arg3 = (int) wxLIST_RECT_BOUNDS ;
22139 wxRect result;
22140 PyObject * obj0 = 0 ;
22141 PyObject * obj1 = 0 ;
22142 PyObject * obj2 = 0 ;
22143 char *kwnames[] = {
22144 (char *) "self",(char *) "item",(char *) "code", NULL
22145 };
22146
22147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22150 arg2 = (long) SWIG_AsLong(obj1);
22151 if (PyErr_Occurred()) SWIG_fail;
22152 if (obj2) {
22153 arg3 = (int) SWIG_AsInt(obj2);
22154 if (PyErr_Occurred()) SWIG_fail;
22155 }
22156 {
22157 PyThreadState* __tstate = wxPyBeginAllowThreads();
22158 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
22159
22160 wxPyEndAllowThreads(__tstate);
22161 if (PyErr_Occurred()) SWIG_fail;
22162 }
22163 {
22164 wxRect * resultptr;
22165 resultptr = new wxRect((wxRect &) result);
22166 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22167 }
22168 return resultobj;
22169 fail:
22170 return NULL;
22171 }
22172
22173
22174 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
22175 PyObject *resultobj;
22176 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22177 long arg2 ;
22178 wxPoint *arg3 = 0 ;
22179 bool result;
22180 wxPoint temp3 ;
22181 PyObject * obj0 = 0 ;
22182 PyObject * obj1 = 0 ;
22183 PyObject * obj2 = 0 ;
22184 char *kwnames[] = {
22185 (char *) "self",(char *) "item",(char *) "pos", NULL
22186 };
22187
22188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",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 = (long) SWIG_AsLong(obj1);
22192 if (PyErr_Occurred()) SWIG_fail;
22193 {
22194 arg3 = &temp3;
22195 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22196 }
22197 {
22198 PyThreadState* __tstate = wxPyBeginAllowThreads();
22199 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
22200
22201 wxPyEndAllowThreads(__tstate);
22202 if (PyErr_Occurred()) SWIG_fail;
22203 }
22204 {
22205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22206 }
22207 return resultobj;
22208 fail:
22209 return NULL;
22210 }
22211
22212
22213 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22214 PyObject *resultobj;
22215 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22216 int result;
22217 PyObject * obj0 = 0 ;
22218 char *kwnames[] = {
22219 (char *) "self", NULL
22220 };
22221
22222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
22223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22225 {
22226 PyThreadState* __tstate = wxPyBeginAllowThreads();
22227 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
22228
22229 wxPyEndAllowThreads(__tstate);
22230 if (PyErr_Occurred()) SWIG_fail;
22231 }
22232 resultobj = SWIG_FromInt((int)result);
22233 return resultobj;
22234 fail:
22235 return NULL;
22236 }
22237
22238
22239 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22240 PyObject *resultobj;
22241 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22242 int result;
22243 PyObject * obj0 = 0 ;
22244 char *kwnames[] = {
22245 (char *) "self", NULL
22246 };
22247
22248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
22249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22251 {
22252 PyThreadState* __tstate = wxPyBeginAllowThreads();
22253 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
22254
22255 wxPyEndAllowThreads(__tstate);
22256 if (PyErr_Occurred()) SWIG_fail;
22257 }
22258 resultobj = SWIG_FromInt((int)result);
22259 return resultobj;
22260 fail:
22261 return NULL;
22262 }
22263
22264
22265 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
22266 PyObject *resultobj;
22267 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22268 wxSize result;
22269 PyObject * obj0 = 0 ;
22270 char *kwnames[] = {
22271 (char *) "self", NULL
22272 };
22273
22274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
22275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22277 {
22278 PyThreadState* __tstate = wxPyBeginAllowThreads();
22279 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
22280
22281 wxPyEndAllowThreads(__tstate);
22282 if (PyErr_Occurred()) SWIG_fail;
22283 }
22284 {
22285 wxSize * resultptr;
22286 resultptr = new wxSize((wxSize &) result);
22287 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22288 }
22289 return resultobj;
22290 fail:
22291 return NULL;
22292 }
22293
22294
22295 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22296 PyObject *resultobj;
22297 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22298 int result;
22299 PyObject * obj0 = 0 ;
22300 char *kwnames[] = {
22301 (char *) "self", NULL
22302 };
22303
22304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
22305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22307 {
22308 PyThreadState* __tstate = wxPyBeginAllowThreads();
22309 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
22310
22311 wxPyEndAllowThreads(__tstate);
22312 if (PyErr_Occurred()) SWIG_fail;
22313 }
22314 resultobj = SWIG_FromInt((int)result);
22315 return resultobj;
22316 fail:
22317 return NULL;
22318 }
22319
22320
22321 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22322 PyObject *resultobj;
22323 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22324 wxColour result;
22325 PyObject * obj0 = 0 ;
22326 char *kwnames[] = {
22327 (char *) "self", NULL
22328 };
22329
22330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
22331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22333 {
22334 PyThreadState* __tstate = wxPyBeginAllowThreads();
22335 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
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_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22352 PyObject *resultobj;
22353 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22354 wxColour *arg2 = 0 ;
22355 wxColour temp2 ;
22356 PyObject * obj0 = 0 ;
22357 PyObject * obj1 = 0 ;
22358 char *kwnames[] = {
22359 (char *) "self",(char *) "col", NULL
22360 };
22361
22362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22365 {
22366 arg2 = &temp2;
22367 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22368 }
22369 {
22370 PyThreadState* __tstate = wxPyBeginAllowThreads();
22371 (arg1)->SetTextColour((wxColour const &)*arg2);
22372
22373 wxPyEndAllowThreads(__tstate);
22374 if (PyErr_Occurred()) SWIG_fail;
22375 }
22376 Py_INCREF(Py_None); resultobj = Py_None;
22377 return resultobj;
22378 fail:
22379 return NULL;
22380 }
22381
22382
22383 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22384 PyObject *resultobj;
22385 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22386 long result;
22387 PyObject * obj0 = 0 ;
22388 char *kwnames[] = {
22389 (char *) "self", NULL
22390 };
22391
22392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
22393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22395 {
22396 PyThreadState* __tstate = wxPyBeginAllowThreads();
22397 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
22398
22399 wxPyEndAllowThreads(__tstate);
22400 if (PyErr_Occurred()) SWIG_fail;
22401 }
22402 resultobj = SWIG_FromLong((long)result);
22403 return resultobj;
22404 fail:
22405 return NULL;
22406 }
22407
22408
22409 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
22410 PyObject *resultobj;
22411 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22412 long arg2 ;
22413 bool arg3 = (bool) True ;
22414 PyObject * obj0 = 0 ;
22415 PyObject * obj1 = 0 ;
22416 PyObject * obj2 = 0 ;
22417 char *kwnames[] = {
22418 (char *) "self",(char *) "style",(char *) "add", NULL
22419 };
22420
22421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
22422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22424 arg2 = (long) SWIG_AsLong(obj1);
22425 if (PyErr_Occurred()) SWIG_fail;
22426 if (obj2) {
22427 arg3 = (bool) SWIG_AsBool(obj2);
22428 if (PyErr_Occurred()) SWIG_fail;
22429 }
22430 {
22431 PyThreadState* __tstate = wxPyBeginAllowThreads();
22432 (arg1)->SetSingleStyle(arg2,arg3);
22433
22434 wxPyEndAllowThreads(__tstate);
22435 if (PyErr_Occurred()) SWIG_fail;
22436 }
22437 Py_INCREF(Py_None); resultobj = Py_None;
22438 return resultobj;
22439 fail:
22440 return NULL;
22441 }
22442
22443
22444 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
22445 PyObject *resultobj;
22446 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22447 long arg2 ;
22448 PyObject * obj0 = 0 ;
22449 PyObject * obj1 = 0 ;
22450 char *kwnames[] = {
22451 (char *) "self",(char *) "style", NULL
22452 };
22453
22454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
22455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22457 arg2 = (long) SWIG_AsLong(obj1);
22458 if (PyErr_Occurred()) SWIG_fail;
22459 {
22460 PyThreadState* __tstate = wxPyBeginAllowThreads();
22461 (arg1)->SetWindowStyleFlag(arg2);
22462
22463 wxPyEndAllowThreads(__tstate);
22464 if (PyErr_Occurred()) SWIG_fail;
22465 }
22466 Py_INCREF(Py_None); resultobj = Py_None;
22467 return resultobj;
22468 fail:
22469 return NULL;
22470 }
22471
22472
22473 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22474 PyObject *resultobj;
22475 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22476 long arg2 ;
22477 int arg3 = (int) wxLIST_NEXT_ALL ;
22478 int arg4 = (int) wxLIST_STATE_DONTCARE ;
22479 long result;
22480 PyObject * obj0 = 0 ;
22481 PyObject * obj1 = 0 ;
22482 PyObject * obj2 = 0 ;
22483 PyObject * obj3 = 0 ;
22484 char *kwnames[] = {
22485 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22486 };
22487
22488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22491 arg2 = (long) SWIG_AsLong(obj1);
22492 if (PyErr_Occurred()) SWIG_fail;
22493 if (obj2) {
22494 arg3 = (int) SWIG_AsInt(obj2);
22495 if (PyErr_Occurred()) SWIG_fail;
22496 }
22497 if (obj3) {
22498 arg4 = (int) SWIG_AsInt(obj3);
22499 if (PyErr_Occurred()) SWIG_fail;
22500 }
22501 {
22502 PyThreadState* __tstate = wxPyBeginAllowThreads();
22503 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
22504
22505 wxPyEndAllowThreads(__tstate);
22506 if (PyErr_Occurred()) SWIG_fail;
22507 }
22508 resultobj = SWIG_FromLong((long)result);
22509 return resultobj;
22510 fail:
22511 return NULL;
22512 }
22513
22514
22515 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22516 PyObject *resultobj;
22517 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22518 int arg2 ;
22519 wxImageList *result;
22520 PyObject * obj0 = 0 ;
22521 PyObject * obj1 = 0 ;
22522 char *kwnames[] = {
22523 (char *) "self",(char *) "which", NULL
22524 };
22525
22526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
22527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22529 arg2 = (int) SWIG_AsInt(obj1);
22530 if (PyErr_Occurred()) SWIG_fail;
22531 {
22532 PyThreadState* __tstate = wxPyBeginAllowThreads();
22533 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
22534
22535 wxPyEndAllowThreads(__tstate);
22536 if (PyErr_Occurred()) SWIG_fail;
22537 }
22538 {
22539 resultobj = wxPyMake_wxObject(result, 0);
22540 }
22541 return resultobj;
22542 fail:
22543 return NULL;
22544 }
22545
22546
22547 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22548 PyObject *resultobj;
22549 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22550 wxImageList *arg2 = (wxImageList *) 0 ;
22551 int arg3 ;
22552 PyObject * obj0 = 0 ;
22553 PyObject * obj1 = 0 ;
22554 PyObject * obj2 = 0 ;
22555 char *kwnames[] = {
22556 (char *) "self",(char *) "imageList",(char *) "which", NULL
22557 };
22558
22559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22562 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22564 arg3 = (int) SWIG_AsInt(obj2);
22565 if (PyErr_Occurred()) SWIG_fail;
22566 {
22567 PyThreadState* __tstate = wxPyBeginAllowThreads();
22568 (arg1)->SetImageList(arg2,arg3);
22569
22570 wxPyEndAllowThreads(__tstate);
22571 if (PyErr_Occurred()) SWIG_fail;
22572 }
22573 Py_INCREF(Py_None); resultobj = Py_None;
22574 return resultobj;
22575 fail:
22576 return NULL;
22577 }
22578
22579
22580 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22581 PyObject *resultobj;
22582 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22583 wxImageList *arg2 = (wxImageList *) 0 ;
22584 int arg3 ;
22585 PyObject * obj0 = 0 ;
22586 PyObject * obj1 = 0 ;
22587 PyObject * obj2 = 0 ;
22588 char *kwnames[] = {
22589 (char *) "self",(char *) "imageList",(char *) "which", NULL
22590 };
22591
22592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22595 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22596 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22597 arg3 = (int) SWIG_AsInt(obj2);
22598 if (PyErr_Occurred()) SWIG_fail;
22599 {
22600 PyThreadState* __tstate = wxPyBeginAllowThreads();
22601 (arg1)->AssignImageList(arg2,arg3);
22602
22603 wxPyEndAllowThreads(__tstate);
22604 if (PyErr_Occurred()) SWIG_fail;
22605 }
22606 Py_INCREF(Py_None); resultobj = Py_None;
22607 return resultobj;
22608 fail:
22609 return NULL;
22610 }
22611
22612
22613 static PyObject *_wrap_ListCtrl_InReportView(PyObject *self, PyObject *args, PyObject *kwargs) {
22614 PyObject *resultobj;
22615 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22616 bool result;
22617 PyObject * obj0 = 0 ;
22618 char *kwnames[] = {
22619 (char *) "self", NULL
22620 };
22621
22622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
22623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22625 {
22626 PyThreadState* __tstate = wxPyBeginAllowThreads();
22627 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
22628
22629 wxPyEndAllowThreads(__tstate);
22630 if (PyErr_Occurred()) SWIG_fail;
22631 }
22632 {
22633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22634 }
22635 return resultobj;
22636 fail:
22637 return NULL;
22638 }
22639
22640
22641 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
22642 PyObject *resultobj;
22643 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22644 bool result;
22645 PyObject * obj0 = 0 ;
22646 char *kwnames[] = {
22647 (char *) "self", NULL
22648 };
22649
22650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
22651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22653 {
22654 PyThreadState* __tstate = wxPyBeginAllowThreads();
22655 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
22656
22657 wxPyEndAllowThreads(__tstate);
22658 if (PyErr_Occurred()) SWIG_fail;
22659 }
22660 {
22661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22662 }
22663 return resultobj;
22664 fail:
22665 return NULL;
22666 }
22667
22668
22669 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22670 PyObject *resultobj;
22671 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22672 long arg2 ;
22673 PyObject * obj0 = 0 ;
22674 PyObject * obj1 = 0 ;
22675 char *kwnames[] = {
22676 (char *) "self",(char *) "item", NULL
22677 };
22678
22679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
22680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22682 arg2 = (long) SWIG_AsLong(obj1);
22683 if (PyErr_Occurred()) SWIG_fail;
22684 {
22685 PyThreadState* __tstate = wxPyBeginAllowThreads();
22686 (arg1)->RefreshItem(arg2);
22687
22688 wxPyEndAllowThreads(__tstate);
22689 if (PyErr_Occurred()) SWIG_fail;
22690 }
22691 Py_INCREF(Py_None); resultobj = Py_None;
22692 return resultobj;
22693 fail:
22694 return NULL;
22695 }
22696
22697
22698 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22699 PyObject *resultobj;
22700 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22701 long arg2 ;
22702 long arg3 ;
22703 PyObject * obj0 = 0 ;
22704 PyObject * obj1 = 0 ;
22705 PyObject * obj2 = 0 ;
22706 char *kwnames[] = {
22707 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22708 };
22709
22710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
22711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22713 arg2 = (long) SWIG_AsLong(obj1);
22714 if (PyErr_Occurred()) SWIG_fail;
22715 arg3 = (long) SWIG_AsLong(obj2);
22716 if (PyErr_Occurred()) SWIG_fail;
22717 {
22718 PyThreadState* __tstate = wxPyBeginAllowThreads();
22719 (arg1)->RefreshItems(arg2,arg3);
22720
22721 wxPyEndAllowThreads(__tstate);
22722 if (PyErr_Occurred()) SWIG_fail;
22723 }
22724 Py_INCREF(Py_None); resultobj = Py_None;
22725 return resultobj;
22726 fail:
22727 return NULL;
22728 }
22729
22730
22731 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
22732 PyObject *resultobj;
22733 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22734 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
22735 bool result;
22736 PyObject * obj0 = 0 ;
22737 PyObject * obj1 = 0 ;
22738 char *kwnames[] = {
22739 (char *) "self",(char *) "flag", NULL
22740 };
22741
22742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
22743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22745 if (obj1) {
22746 arg2 = (int) SWIG_AsInt(obj1);
22747 if (PyErr_Occurred()) SWIG_fail;
22748 }
22749 {
22750 PyThreadState* __tstate = wxPyBeginAllowThreads();
22751 result = (bool)(arg1)->Arrange(arg2);
22752
22753 wxPyEndAllowThreads(__tstate);
22754 if (PyErr_Occurred()) SWIG_fail;
22755 }
22756 {
22757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22758 }
22759 return resultobj;
22760 fail:
22761 return NULL;
22762 }
22763
22764
22765 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22766 PyObject *resultobj;
22767 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22768 long arg2 ;
22769 bool result;
22770 PyObject * obj0 = 0 ;
22771 PyObject * obj1 = 0 ;
22772 char *kwnames[] = {
22773 (char *) "self",(char *) "item", NULL
22774 };
22775
22776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
22777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22779 arg2 = (long) SWIG_AsLong(obj1);
22780 if (PyErr_Occurred()) SWIG_fail;
22781 {
22782 PyThreadState* __tstate = wxPyBeginAllowThreads();
22783 result = (bool)(arg1)->DeleteItem(arg2);
22784
22785 wxPyEndAllowThreads(__tstate);
22786 if (PyErr_Occurred()) SWIG_fail;
22787 }
22788 {
22789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22790 }
22791 return resultobj;
22792 fail:
22793 return NULL;
22794 }
22795
22796
22797 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22798 PyObject *resultobj;
22799 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22800 bool result;
22801 PyObject * obj0 = 0 ;
22802 char *kwnames[] = {
22803 (char *) "self", NULL
22804 };
22805
22806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22809 {
22810 PyThreadState* __tstate = wxPyBeginAllowThreads();
22811 result = (bool)(arg1)->DeleteAllItems();
22812
22813 wxPyEndAllowThreads(__tstate);
22814 if (PyErr_Occurred()) SWIG_fail;
22815 }
22816 {
22817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22818 }
22819 return resultobj;
22820 fail:
22821 return NULL;
22822 }
22823
22824
22825 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22826 PyObject *resultobj;
22827 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22828 int arg2 ;
22829 bool result;
22830 PyObject * obj0 = 0 ;
22831 PyObject * obj1 = 0 ;
22832 char *kwnames[] = {
22833 (char *) "self",(char *) "col", NULL
22834 };
22835
22836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
22837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22839 arg2 = (int) SWIG_AsInt(obj1);
22840 if (PyErr_Occurred()) SWIG_fail;
22841 {
22842 PyThreadState* __tstate = wxPyBeginAllowThreads();
22843 result = (bool)(arg1)->DeleteColumn(arg2);
22844
22845 wxPyEndAllowThreads(__tstate);
22846 if (PyErr_Occurred()) SWIG_fail;
22847 }
22848 {
22849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22850 }
22851 return resultobj;
22852 fail:
22853 return NULL;
22854 }
22855
22856
22857 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
22858 PyObject *resultobj;
22859 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22860 bool result;
22861 PyObject * obj0 = 0 ;
22862 char *kwnames[] = {
22863 (char *) "self", NULL
22864 };
22865
22866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
22867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22869 {
22870 PyThreadState* __tstate = wxPyBeginAllowThreads();
22871 result = (bool)(arg1)->DeleteAllColumns();
22872
22873 wxPyEndAllowThreads(__tstate);
22874 if (PyErr_Occurred()) SWIG_fail;
22875 }
22876 {
22877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22878 }
22879 return resultobj;
22880 fail:
22881 return NULL;
22882 }
22883
22884
22885 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22886 PyObject *resultobj;
22887 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22888 PyObject * obj0 = 0 ;
22889 char *kwnames[] = {
22890 (char *) "self", NULL
22891 };
22892
22893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
22894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22896 {
22897 PyThreadState* __tstate = wxPyBeginAllowThreads();
22898 (arg1)->ClearAll();
22899
22900 wxPyEndAllowThreads(__tstate);
22901 if (PyErr_Occurred()) SWIG_fail;
22902 }
22903 Py_INCREF(Py_None); resultobj = Py_None;
22904 return resultobj;
22905 fail:
22906 return NULL;
22907 }
22908
22909
22910 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22911 PyObject *resultobj;
22912 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22913 long arg2 ;
22914 wxTextCtrl *result;
22915 PyObject * obj0 = 0 ;
22916 PyObject * obj1 = 0 ;
22917 char *kwnames[] = {
22918 (char *) "self",(char *) "item", NULL
22919 };
22920
22921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22924 arg2 = (long) SWIG_AsLong(obj1);
22925 if (PyErr_Occurred()) SWIG_fail;
22926 {
22927 PyThreadState* __tstate = wxPyBeginAllowThreads();
22928 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
22929
22930 wxPyEndAllowThreads(__tstate);
22931 if (PyErr_Occurred()) SWIG_fail;
22932 }
22933 {
22934 resultobj = wxPyMake_wxObject(result, 0);
22935 }
22936 return resultobj;
22937 fail:
22938 return NULL;
22939 }
22940
22941
22942 static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22943 PyObject *resultobj;
22944 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22945 bool arg2 ;
22946 bool result;
22947 PyObject * obj0 = 0 ;
22948 PyObject * obj1 = 0 ;
22949 char *kwnames[] = {
22950 (char *) "self",(char *) "cancel", NULL
22951 };
22952
22953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
22954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22956 arg2 = (bool) SWIG_AsBool(obj1);
22957 if (PyErr_Occurred()) SWIG_fail;
22958 {
22959 PyThreadState* __tstate = wxPyBeginAllowThreads();
22960 result = (bool)(arg1)->EndEditLabel(arg2);
22961
22962 wxPyEndAllowThreads(__tstate);
22963 if (PyErr_Occurred()) SWIG_fail;
22964 }
22965 {
22966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22967 }
22968 return resultobj;
22969 fail:
22970 return NULL;
22971 }
22972
22973
22974 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22975 PyObject *resultobj;
22976 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22977 long arg2 ;
22978 bool result;
22979 PyObject * obj0 = 0 ;
22980 PyObject * obj1 = 0 ;
22981 char *kwnames[] = {
22982 (char *) "self",(char *) "item", NULL
22983 };
22984
22985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22988 arg2 = (long) SWIG_AsLong(obj1);
22989 if (PyErr_Occurred()) SWIG_fail;
22990 {
22991 PyThreadState* __tstate = wxPyBeginAllowThreads();
22992 result = (bool)(arg1)->EnsureVisible(arg2);
22993
22994 wxPyEndAllowThreads(__tstate);
22995 if (PyErr_Occurred()) SWIG_fail;
22996 }
22997 {
22998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22999 }
23000 return resultobj;
23001 fail:
23002 return NULL;
23003 }
23004
23005
23006 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23007 PyObject *resultobj;
23008 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23009 long arg2 ;
23010 wxString *arg3 = 0 ;
23011 bool arg4 = (bool) False ;
23012 long result;
23013 bool temp3 = False ;
23014 PyObject * obj0 = 0 ;
23015 PyObject * obj1 = 0 ;
23016 PyObject * obj2 = 0 ;
23017 PyObject * obj3 = 0 ;
23018 char *kwnames[] = {
23019 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23020 };
23021
23022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23025 arg2 = (long) SWIG_AsLong(obj1);
23026 if (PyErr_Occurred()) SWIG_fail;
23027 {
23028 arg3 = wxString_in_helper(obj2);
23029 if (arg3 == NULL) SWIG_fail;
23030 temp3 = True;
23031 }
23032 if (obj3) {
23033 arg4 = (bool) SWIG_AsBool(obj3);
23034 if (PyErr_Occurred()) SWIG_fail;
23035 }
23036 {
23037 PyThreadState* __tstate = wxPyBeginAllowThreads();
23038 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
23039
23040 wxPyEndAllowThreads(__tstate);
23041 if (PyErr_Occurred()) SWIG_fail;
23042 }
23043 resultobj = SWIG_FromLong((long)result);
23044 {
23045 if (temp3)
23046 delete arg3;
23047 }
23048 return resultobj;
23049 fail:
23050 {
23051 if (temp3)
23052 delete arg3;
23053 }
23054 return NULL;
23055 }
23056
23057
23058 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
23059 PyObject *resultobj;
23060 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23061 long arg2 ;
23062 long arg3 ;
23063 long result;
23064 PyObject * obj0 = 0 ;
23065 PyObject * obj1 = 0 ;
23066 PyObject * obj2 = 0 ;
23067 char *kwnames[] = {
23068 (char *) "self",(char *) "start",(char *) "data", NULL
23069 };
23070
23071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
23072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23074 arg2 = (long) SWIG_AsLong(obj1);
23075 if (PyErr_Occurred()) SWIG_fail;
23076 arg3 = (long) SWIG_AsLong(obj2);
23077 if (PyErr_Occurred()) SWIG_fail;
23078 {
23079 PyThreadState* __tstate = wxPyBeginAllowThreads();
23080 result = (long)(arg1)->FindItem(arg2,arg3);
23081
23082 wxPyEndAllowThreads(__tstate);
23083 if (PyErr_Occurred()) SWIG_fail;
23084 }
23085 resultobj = SWIG_FromLong((long)result);
23086 return resultobj;
23087 fail:
23088 return NULL;
23089 }
23090
23091
23092 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23093 PyObject *resultobj;
23094 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23095 long arg2 ;
23096 wxPoint *arg3 = 0 ;
23097 int arg4 ;
23098 long result;
23099 wxPoint temp3 ;
23100 PyObject * obj0 = 0 ;
23101 PyObject * obj1 = 0 ;
23102 PyObject * obj2 = 0 ;
23103 PyObject * obj3 = 0 ;
23104 char *kwnames[] = {
23105 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23106 };
23107
23108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23111 arg2 = (long) SWIG_AsLong(obj1);
23112 if (PyErr_Occurred()) SWIG_fail;
23113 {
23114 arg3 = &temp3;
23115 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23116 }
23117 arg4 = (int) SWIG_AsInt(obj3);
23118 if (PyErr_Occurred()) SWIG_fail;
23119 {
23120 PyThreadState* __tstate = wxPyBeginAllowThreads();
23121 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
23122
23123 wxPyEndAllowThreads(__tstate);
23124 if (PyErr_Occurred()) SWIG_fail;
23125 }
23126 resultobj = SWIG_FromLong((long)result);
23127 return resultobj;
23128 fail:
23129 return NULL;
23130 }
23131
23132
23133 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23134 PyObject *resultobj;
23135 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23136 wxPoint *arg2 = 0 ;
23137 int *arg3 = 0 ;
23138 long result;
23139 wxPoint temp2 ;
23140 int temp3 ;
23141 PyObject * obj0 = 0 ;
23142 PyObject * obj1 = 0 ;
23143 char *kwnames[] = {
23144 (char *) "self",(char *) "point", NULL
23145 };
23146
23147 arg3 = &temp3;
23148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23151 {
23152 arg2 = &temp2;
23153 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23154 }
23155 {
23156 PyThreadState* __tstate = wxPyBeginAllowThreads();
23157 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23158
23159 wxPyEndAllowThreads(__tstate);
23160 if (PyErr_Occurred()) SWIG_fail;
23161 }
23162 resultobj = SWIG_FromLong((long)result);
23163 {
23164 PyObject *o = PyInt_FromLong((long) (*arg3));
23165 resultobj = t_output_helper(resultobj,o);
23166 }
23167 return resultobj;
23168 fail:
23169 return NULL;
23170 }
23171
23172
23173 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23174 PyObject *resultobj;
23175 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23176 wxListItem *arg2 = 0 ;
23177 long result;
23178 PyObject * obj0 = 0 ;
23179 PyObject * obj1 = 0 ;
23180 char *kwnames[] = {
23181 (char *) "self",(char *) "info", NULL
23182 };
23183
23184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
23185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23187 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
23188 SWIG_POINTER_EXCEPTION | 0)) == -1)
23189 SWIG_fail;
23190 if (arg2 == NULL) {
23191 PyErr_SetString(PyExc_TypeError,"null reference");
23192 SWIG_fail;
23193 }
23194 {
23195 PyThreadState* __tstate = wxPyBeginAllowThreads();
23196 result = (long)(arg1)->InsertItem(*arg2);
23197
23198 wxPyEndAllowThreads(__tstate);
23199 if (PyErr_Occurred()) SWIG_fail;
23200 }
23201 resultobj = SWIG_FromLong((long)result);
23202 return resultobj;
23203 fail:
23204 return NULL;
23205 }
23206
23207
23208 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23209 PyObject *resultobj;
23210 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23211 long arg2 ;
23212 wxString *arg3 = 0 ;
23213 long result;
23214 bool temp3 = False ;
23215 PyObject * obj0 = 0 ;
23216 PyObject * obj1 = 0 ;
23217 PyObject * obj2 = 0 ;
23218 char *kwnames[] = {
23219 (char *) "self",(char *) "index",(char *) "label", NULL
23220 };
23221
23222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23225 arg2 = (long) SWIG_AsLong(obj1);
23226 if (PyErr_Occurred()) SWIG_fail;
23227 {
23228 arg3 = wxString_in_helper(obj2);
23229 if (arg3 == NULL) SWIG_fail;
23230 temp3 = True;
23231 }
23232 {
23233 PyThreadState* __tstate = wxPyBeginAllowThreads();
23234 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
23235
23236 wxPyEndAllowThreads(__tstate);
23237 if (PyErr_Occurred()) SWIG_fail;
23238 }
23239 resultobj = SWIG_FromLong((long)result);
23240 {
23241 if (temp3)
23242 delete arg3;
23243 }
23244 return resultobj;
23245 fail:
23246 {
23247 if (temp3)
23248 delete arg3;
23249 }
23250 return NULL;
23251 }
23252
23253
23254 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23255 PyObject *resultobj;
23256 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23257 long arg2 ;
23258 int arg3 ;
23259 long result;
23260 PyObject * obj0 = 0 ;
23261 PyObject * obj1 = 0 ;
23262 PyObject * obj2 = 0 ;
23263 char *kwnames[] = {
23264 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23265 };
23266
23267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23270 arg2 = (long) SWIG_AsLong(obj1);
23271 if (PyErr_Occurred()) SWIG_fail;
23272 arg3 = (int) SWIG_AsInt(obj2);
23273 if (PyErr_Occurred()) SWIG_fail;
23274 {
23275 PyThreadState* __tstate = wxPyBeginAllowThreads();
23276 result = (long)(arg1)->InsertItem(arg2,arg3);
23277
23278 wxPyEndAllowThreads(__tstate);
23279 if (PyErr_Occurred()) SWIG_fail;
23280 }
23281 resultobj = SWIG_FromLong((long)result);
23282 return resultobj;
23283 fail:
23284 return NULL;
23285 }
23286
23287
23288 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23289 PyObject *resultobj;
23290 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23291 long arg2 ;
23292 wxString *arg3 = 0 ;
23293 int arg4 ;
23294 long result;
23295 bool temp3 = False ;
23296 PyObject * obj0 = 0 ;
23297 PyObject * obj1 = 0 ;
23298 PyObject * obj2 = 0 ;
23299 PyObject * obj3 = 0 ;
23300 char *kwnames[] = {
23301 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23302 };
23303
23304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23307 arg2 = (long) SWIG_AsLong(obj1);
23308 if (PyErr_Occurred()) SWIG_fail;
23309 {
23310 arg3 = wxString_in_helper(obj2);
23311 if (arg3 == NULL) SWIG_fail;
23312 temp3 = True;
23313 }
23314 arg4 = (int) SWIG_AsInt(obj3);
23315 if (PyErr_Occurred()) SWIG_fail;
23316 {
23317 PyThreadState* __tstate = wxPyBeginAllowThreads();
23318 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
23319
23320 wxPyEndAllowThreads(__tstate);
23321 if (PyErr_Occurred()) SWIG_fail;
23322 }
23323 resultobj = SWIG_FromLong((long)result);
23324 {
23325 if (temp3)
23326 delete arg3;
23327 }
23328 return resultobj;
23329 fail:
23330 {
23331 if (temp3)
23332 delete arg3;
23333 }
23334 return NULL;
23335 }
23336
23337
23338 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23339 PyObject *resultobj;
23340 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23341 long arg2 ;
23342 wxListItem *arg3 = 0 ;
23343 long result;
23344 PyObject * obj0 = 0 ;
23345 PyObject * obj1 = 0 ;
23346 PyObject * obj2 = 0 ;
23347 char *kwnames[] = {
23348 (char *) "self",(char *) "col",(char *) "info", NULL
23349 };
23350
23351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23354 arg2 = (long) SWIG_AsLong(obj1);
23355 if (PyErr_Occurred()) SWIG_fail;
23356 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
23357 SWIG_POINTER_EXCEPTION | 0)) == -1)
23358 SWIG_fail;
23359 if (arg3 == NULL) {
23360 PyErr_SetString(PyExc_TypeError,"null reference");
23361 SWIG_fail;
23362 }
23363 {
23364 PyThreadState* __tstate = wxPyBeginAllowThreads();
23365 result = (long)(arg1)->InsertColumn(arg2,*arg3);
23366
23367 wxPyEndAllowThreads(__tstate);
23368 if (PyErr_Occurred()) SWIG_fail;
23369 }
23370 resultobj = SWIG_FromLong((long)result);
23371 return resultobj;
23372 fail:
23373 return NULL;
23374 }
23375
23376
23377 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
23378 PyObject *resultobj;
23379 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23380 long arg2 ;
23381 wxString *arg3 = 0 ;
23382 int arg4 = (int) wxLIST_FORMAT_LEFT ;
23383 int arg5 = (int) -1 ;
23384 long result;
23385 bool temp3 = False ;
23386 PyObject * obj0 = 0 ;
23387 PyObject * obj1 = 0 ;
23388 PyObject * obj2 = 0 ;
23389 PyObject * obj3 = 0 ;
23390 PyObject * obj4 = 0 ;
23391 char *kwnames[] = {
23392 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23393 };
23394
23395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23398 arg2 = (long) SWIG_AsLong(obj1);
23399 if (PyErr_Occurred()) SWIG_fail;
23400 {
23401 arg3 = wxString_in_helper(obj2);
23402 if (arg3 == NULL) SWIG_fail;
23403 temp3 = True;
23404 }
23405 if (obj3) {
23406 arg4 = (int) SWIG_AsInt(obj3);
23407 if (PyErr_Occurred()) SWIG_fail;
23408 }
23409 if (obj4) {
23410 arg5 = (int) SWIG_AsInt(obj4);
23411 if (PyErr_Occurred()) SWIG_fail;
23412 }
23413 {
23414 PyThreadState* __tstate = wxPyBeginAllowThreads();
23415 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
23416
23417 wxPyEndAllowThreads(__tstate);
23418 if (PyErr_Occurred()) SWIG_fail;
23419 }
23420 resultobj = SWIG_FromLong((long)result);
23421 {
23422 if (temp3)
23423 delete arg3;
23424 }
23425 return resultobj;
23426 fail:
23427 {
23428 if (temp3)
23429 delete arg3;
23430 }
23431 return NULL;
23432 }
23433
23434
23435 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23436 PyObject *resultobj;
23437 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23438 long arg2 ;
23439 PyObject * obj0 = 0 ;
23440 PyObject * obj1 = 0 ;
23441 char *kwnames[] = {
23442 (char *) "self",(char *) "count", NULL
23443 };
23444
23445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
23446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23448 arg2 = (long) SWIG_AsLong(obj1);
23449 if (PyErr_Occurred()) SWIG_fail;
23450 {
23451 PyThreadState* __tstate = wxPyBeginAllowThreads();
23452 (arg1)->SetItemCount(arg2);
23453
23454 wxPyEndAllowThreads(__tstate);
23455 if (PyErr_Occurred()) SWIG_fail;
23456 }
23457 Py_INCREF(Py_None); resultobj = Py_None;
23458 return resultobj;
23459 fail:
23460 return NULL;
23461 }
23462
23463
23464 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
23465 PyObject *resultobj;
23466 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23467 int arg2 ;
23468 int arg3 ;
23469 bool result;
23470 PyObject * obj0 = 0 ;
23471 PyObject * obj1 = 0 ;
23472 PyObject * obj2 = 0 ;
23473 char *kwnames[] = {
23474 (char *) "self",(char *) "dx",(char *) "dy", NULL
23475 };
23476
23477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
23478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23480 arg2 = (int) SWIG_AsInt(obj1);
23481 if (PyErr_Occurred()) SWIG_fail;
23482 arg3 = (int) SWIG_AsInt(obj2);
23483 if (PyErr_Occurred()) SWIG_fail;
23484 {
23485 PyThreadState* __tstate = wxPyBeginAllowThreads();
23486 result = (bool)(arg1)->ScrollList(arg2,arg3);
23487
23488 wxPyEndAllowThreads(__tstate);
23489 if (PyErr_Occurred()) SWIG_fail;
23490 }
23491 {
23492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23493 }
23494 return resultobj;
23495 fail:
23496 return NULL;
23497 }
23498
23499
23500 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23501 PyObject *resultobj;
23502 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23503 long arg2 ;
23504 wxColour *arg3 = 0 ;
23505 wxColour temp3 ;
23506 PyObject * obj0 = 0 ;
23507 PyObject * obj1 = 0 ;
23508 PyObject * obj2 = 0 ;
23509 char *kwnames[] = {
23510 (char *) "self",(char *) "item",(char *) "col", NULL
23511 };
23512
23513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23516 arg2 = (long) SWIG_AsLong(obj1);
23517 if (PyErr_Occurred()) SWIG_fail;
23518 {
23519 arg3 = &temp3;
23520 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23521 }
23522 {
23523 PyThreadState* __tstate = wxPyBeginAllowThreads();
23524 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
23525
23526 wxPyEndAllowThreads(__tstate);
23527 if (PyErr_Occurred()) SWIG_fail;
23528 }
23529 Py_INCREF(Py_None); resultobj = Py_None;
23530 return resultobj;
23531 fail:
23532 return NULL;
23533 }
23534
23535
23536 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23537 PyObject *resultobj;
23538 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23539 long arg2 ;
23540 wxColour result;
23541 PyObject * obj0 = 0 ;
23542 PyObject * obj1 = 0 ;
23543 char *kwnames[] = {
23544 (char *) "self",(char *) "item", NULL
23545 };
23546
23547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
23548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23550 arg2 = (long) SWIG_AsLong(obj1);
23551 if (PyErr_Occurred()) SWIG_fail;
23552 {
23553 PyThreadState* __tstate = wxPyBeginAllowThreads();
23554 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
23555
23556 wxPyEndAllowThreads(__tstate);
23557 if (PyErr_Occurred()) SWIG_fail;
23558 }
23559 {
23560 wxColour * resultptr;
23561 resultptr = new wxColour((wxColour &) result);
23562 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23563 }
23564 return resultobj;
23565 fail:
23566 return NULL;
23567 }
23568
23569
23570 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23571 PyObject *resultobj;
23572 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23573 long arg2 ;
23574 wxColour *arg3 = 0 ;
23575 wxColour temp3 ;
23576 PyObject * obj0 = 0 ;
23577 PyObject * obj1 = 0 ;
23578 PyObject * obj2 = 0 ;
23579 char *kwnames[] = {
23580 (char *) "self",(char *) "item",(char *) "col", NULL
23581 };
23582
23583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23586 arg2 = (long) SWIG_AsLong(obj1);
23587 if (PyErr_Occurred()) SWIG_fail;
23588 {
23589 arg3 = &temp3;
23590 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23591 }
23592 {
23593 PyThreadState* __tstate = wxPyBeginAllowThreads();
23594 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
23595
23596 wxPyEndAllowThreads(__tstate);
23597 if (PyErr_Occurred()) SWIG_fail;
23598 }
23599 Py_INCREF(Py_None); resultobj = Py_None;
23600 return resultobj;
23601 fail:
23602 return NULL;
23603 }
23604
23605
23606 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23607 PyObject *resultobj;
23608 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23609 long arg2 ;
23610 wxColour result;
23611 PyObject * obj0 = 0 ;
23612 PyObject * obj1 = 0 ;
23613 char *kwnames[] = {
23614 (char *) "self",(char *) "item", NULL
23615 };
23616
23617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
23618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23620 arg2 = (long) SWIG_AsLong(obj1);
23621 if (PyErr_Occurred()) SWIG_fail;
23622 {
23623 PyThreadState* __tstate = wxPyBeginAllowThreads();
23624 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
23625
23626 wxPyEndAllowThreads(__tstate);
23627 if (PyErr_Occurred()) SWIG_fail;
23628 }
23629 {
23630 wxColour * resultptr;
23631 resultptr = new wxColour((wxColour &) result);
23632 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23633 }
23634 return resultobj;
23635 fail:
23636 return NULL;
23637 }
23638
23639
23640 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
23641 PyObject *resultobj;
23642 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23643 PyObject *arg2 = (PyObject *) 0 ;
23644 bool result;
23645 PyObject * obj0 = 0 ;
23646 PyObject * obj1 = 0 ;
23647 char *kwnames[] = {
23648 (char *) "self",(char *) "func", NULL
23649 };
23650
23651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
23652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23654 arg2 = obj1;
23655 {
23656 PyThreadState* __tstate = wxPyBeginAllowThreads();
23657 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
23658
23659 wxPyEndAllowThreads(__tstate);
23660 if (PyErr_Occurred()) SWIG_fail;
23661 }
23662 {
23663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23664 }
23665 return resultobj;
23666 fail:
23667 return NULL;
23668 }
23669
23670
23671 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23672 PyObject *resultobj;
23673 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23674 wxWindow *result;
23675 PyObject * obj0 = 0 ;
23676 char *kwnames[] = {
23677 (char *) "self", NULL
23678 };
23679
23680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
23681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23683 {
23684 PyThreadState* __tstate = wxPyBeginAllowThreads();
23685 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
23686
23687 wxPyEndAllowThreads(__tstate);
23688 if (PyErr_Occurred()) SWIG_fail;
23689 }
23690 {
23691 resultobj = wxPyMake_wxObject(result, 0);
23692 }
23693 return resultobj;
23694 fail:
23695 return NULL;
23696 }
23697
23698
23699 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
23700 PyObject *resultobj;
23701 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
23702 wxVisualAttributes result;
23703 PyObject * obj0 = 0 ;
23704 char *kwnames[] = {
23705 (char *) "variant", NULL
23706 };
23707
23708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
23709 if (obj0) {
23710 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
23711 if (PyErr_Occurred()) SWIG_fail;
23712 }
23713 {
23714 if (!wxPyCheckForApp()) SWIG_fail;
23715 PyThreadState* __tstate = wxPyBeginAllowThreads();
23716 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
23717
23718 wxPyEndAllowThreads(__tstate);
23719 if (PyErr_Occurred()) SWIG_fail;
23720 }
23721 {
23722 wxVisualAttributes * resultptr;
23723 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
23724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
23725 }
23726 return resultobj;
23727 fail:
23728 return NULL;
23729 }
23730
23731
23732 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
23733 PyObject *obj;
23734 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23735 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
23736 Py_INCREF(obj);
23737 return Py_BuildValue((char *)"");
23738 }
23739 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
23740 PyObject *resultobj;
23741 wxWindow *arg1 = (wxWindow *) 0 ;
23742 int arg2 = (int) -1 ;
23743 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23744 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23745 wxSize const &arg4_defvalue = wxDefaultSize ;
23746 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23747 long arg5 = (long) wxLC_REPORT ;
23748 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23749 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23750 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23751 wxString *arg7 = (wxString *) &arg7_defvalue ;
23752 wxListView *result;
23753 wxPoint temp3 ;
23754 wxSize temp4 ;
23755 bool temp7 = False ;
23756 PyObject * obj0 = 0 ;
23757 PyObject * obj1 = 0 ;
23758 PyObject * obj2 = 0 ;
23759 PyObject * obj3 = 0 ;
23760 PyObject * obj4 = 0 ;
23761 PyObject * obj5 = 0 ;
23762 PyObject * obj6 = 0 ;
23763 char *kwnames[] = {
23764 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23765 };
23766
23767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23770 if (obj1) {
23771 arg2 = (int) SWIG_AsInt(obj1);
23772 if (PyErr_Occurred()) SWIG_fail;
23773 }
23774 if (obj2) {
23775 {
23776 arg3 = &temp3;
23777 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23778 }
23779 }
23780 if (obj3) {
23781 {
23782 arg4 = &temp4;
23783 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23784 }
23785 }
23786 if (obj4) {
23787 arg5 = (long) SWIG_AsLong(obj4);
23788 if (PyErr_Occurred()) SWIG_fail;
23789 }
23790 if (obj5) {
23791 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
23792 SWIG_POINTER_EXCEPTION | 0)) == -1)
23793 SWIG_fail;
23794 if (arg6 == NULL) {
23795 PyErr_SetString(PyExc_TypeError,"null reference");
23796 SWIG_fail;
23797 }
23798 }
23799 if (obj6) {
23800 {
23801 arg7 = wxString_in_helper(obj6);
23802 if (arg7 == NULL) SWIG_fail;
23803 temp7 = True;
23804 }
23805 }
23806 {
23807 if (!wxPyCheckForApp()) SWIG_fail;
23808 PyThreadState* __tstate = wxPyBeginAllowThreads();
23809 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23810
23811 wxPyEndAllowThreads(__tstate);
23812 if (PyErr_Occurred()) SWIG_fail;
23813 }
23814 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
23815 {
23816 if (temp7)
23817 delete arg7;
23818 }
23819 return resultobj;
23820 fail:
23821 {
23822 if (temp7)
23823 delete arg7;
23824 }
23825 return NULL;
23826 }
23827
23828
23829 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
23830 PyObject *resultobj;
23831 wxListView *result;
23832 char *kwnames[] = {
23833 NULL
23834 };
23835
23836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
23837 {
23838 if (!wxPyCheckForApp()) SWIG_fail;
23839 PyThreadState* __tstate = wxPyBeginAllowThreads();
23840 result = (wxListView *)new wxListView();
23841
23842 wxPyEndAllowThreads(__tstate);
23843 if (PyErr_Occurred()) SWIG_fail;
23844 }
23845 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
23846 return resultobj;
23847 fail:
23848 return NULL;
23849 }
23850
23851
23852 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23853 PyObject *resultobj;
23854 wxListView *arg1 = (wxListView *) 0 ;
23855 wxWindow *arg2 = (wxWindow *) 0 ;
23856 int arg3 = (int) -1 ;
23857 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23858 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23859 wxSize const &arg5_defvalue = wxDefaultSize ;
23860 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23861 long arg6 = (long) wxLC_REPORT ;
23862 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23863 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23864 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23865 wxString *arg8 = (wxString *) &arg8_defvalue ;
23866 bool result;
23867 wxPoint temp4 ;
23868 wxSize temp5 ;
23869 bool temp8 = False ;
23870 PyObject * obj0 = 0 ;
23871 PyObject * obj1 = 0 ;
23872 PyObject * obj2 = 0 ;
23873 PyObject * obj3 = 0 ;
23874 PyObject * obj4 = 0 ;
23875 PyObject * obj5 = 0 ;
23876 PyObject * obj6 = 0 ;
23877 PyObject * obj7 = 0 ;
23878 char *kwnames[] = {
23879 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23880 };
23881
23882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23885 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23887 if (obj2) {
23888 arg3 = (int) SWIG_AsInt(obj2);
23889 if (PyErr_Occurred()) SWIG_fail;
23890 }
23891 if (obj3) {
23892 {
23893 arg4 = &temp4;
23894 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23895 }
23896 }
23897 if (obj4) {
23898 {
23899 arg5 = &temp5;
23900 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23901 }
23902 }
23903 if (obj5) {
23904 arg6 = (long) SWIG_AsLong(obj5);
23905 if (PyErr_Occurred()) SWIG_fail;
23906 }
23907 if (obj6) {
23908 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
23909 SWIG_POINTER_EXCEPTION | 0)) == -1)
23910 SWIG_fail;
23911 if (arg7 == NULL) {
23912 PyErr_SetString(PyExc_TypeError,"null reference");
23913 SWIG_fail;
23914 }
23915 }
23916 if (obj7) {
23917 {
23918 arg8 = wxString_in_helper(obj7);
23919 if (arg8 == NULL) SWIG_fail;
23920 temp8 = True;
23921 }
23922 }
23923 {
23924 PyThreadState* __tstate = wxPyBeginAllowThreads();
23925 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23926
23927 wxPyEndAllowThreads(__tstate);
23928 if (PyErr_Occurred()) SWIG_fail;
23929 }
23930 {
23931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23932 }
23933 {
23934 if (temp8)
23935 delete arg8;
23936 }
23937 return resultobj;
23938 fail:
23939 {
23940 if (temp8)
23941 delete arg8;
23942 }
23943 return NULL;
23944 }
23945
23946
23947 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
23948 PyObject *resultobj;
23949 wxListView *arg1 = (wxListView *) 0 ;
23950 long arg2 ;
23951 bool arg3 = (bool) True ;
23952 PyObject * obj0 = 0 ;
23953 PyObject * obj1 = 0 ;
23954 PyObject * obj2 = 0 ;
23955 char *kwnames[] = {
23956 (char *) "self",(char *) "n",(char *) "on", NULL
23957 };
23958
23959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
23960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23962 arg2 = (long) SWIG_AsLong(obj1);
23963 if (PyErr_Occurred()) SWIG_fail;
23964 if (obj2) {
23965 arg3 = (bool) SWIG_AsBool(obj2);
23966 if (PyErr_Occurred()) SWIG_fail;
23967 }
23968 {
23969 PyThreadState* __tstate = wxPyBeginAllowThreads();
23970 (arg1)->Select(arg2,arg3);
23971
23972 wxPyEndAllowThreads(__tstate);
23973 if (PyErr_Occurred()) SWIG_fail;
23974 }
23975 Py_INCREF(Py_None); resultobj = Py_None;
23976 return resultobj;
23977 fail:
23978 return NULL;
23979 }
23980
23981
23982 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
23983 PyObject *resultobj;
23984 wxListView *arg1 = (wxListView *) 0 ;
23985 long arg2 ;
23986 PyObject * obj0 = 0 ;
23987 PyObject * obj1 = 0 ;
23988 char *kwnames[] = {
23989 (char *) "self",(char *) "index", NULL
23990 };
23991
23992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
23993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23995 arg2 = (long) SWIG_AsLong(obj1);
23996 if (PyErr_Occurred()) SWIG_fail;
23997 {
23998 PyThreadState* __tstate = wxPyBeginAllowThreads();
23999 (arg1)->Focus(arg2);
24000
24001 wxPyEndAllowThreads(__tstate);
24002 if (PyErr_Occurred()) SWIG_fail;
24003 }
24004 Py_INCREF(Py_None); resultobj = Py_None;
24005 return resultobj;
24006 fail:
24007 return NULL;
24008 }
24009
24010
24011 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24012 PyObject *resultobj;
24013 wxListView *arg1 = (wxListView *) 0 ;
24014 long result;
24015 PyObject * obj0 = 0 ;
24016 char *kwnames[] = {
24017 (char *) "self", NULL
24018 };
24019
24020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
24021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24023 {
24024 PyThreadState* __tstate = wxPyBeginAllowThreads();
24025 result = (long)((wxListView const *)arg1)->GetFocusedItem();
24026
24027 wxPyEndAllowThreads(__tstate);
24028 if (PyErr_Occurred()) SWIG_fail;
24029 }
24030 resultobj = SWIG_FromLong((long)result);
24031 return resultobj;
24032 fail:
24033 return NULL;
24034 }
24035
24036
24037 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
24038 PyObject *resultobj;
24039 wxListView *arg1 = (wxListView *) 0 ;
24040 long arg2 ;
24041 long result;
24042 PyObject * obj0 = 0 ;
24043 PyObject * obj1 = 0 ;
24044 char *kwnames[] = {
24045 (char *) "self",(char *) "item", NULL
24046 };
24047
24048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
24049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24051 arg2 = (long) SWIG_AsLong(obj1);
24052 if (PyErr_Occurred()) SWIG_fail;
24053 {
24054 PyThreadState* __tstate = wxPyBeginAllowThreads();
24055 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
24056
24057 wxPyEndAllowThreads(__tstate);
24058 if (PyErr_Occurred()) SWIG_fail;
24059 }
24060 resultobj = SWIG_FromLong((long)result);
24061 return resultobj;
24062 fail:
24063 return NULL;
24064 }
24065
24066
24067 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
24068 PyObject *resultobj;
24069 wxListView *arg1 = (wxListView *) 0 ;
24070 long result;
24071 PyObject * obj0 = 0 ;
24072 char *kwnames[] = {
24073 (char *) "self", NULL
24074 };
24075
24076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
24077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24079 {
24080 PyThreadState* __tstate = wxPyBeginAllowThreads();
24081 result = (long)((wxListView const *)arg1)->GetFirstSelected();
24082
24083 wxPyEndAllowThreads(__tstate);
24084 if (PyErr_Occurred()) SWIG_fail;
24085 }
24086 resultobj = SWIG_FromLong((long)result);
24087 return resultobj;
24088 fail:
24089 return NULL;
24090 }
24091
24092
24093 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
24094 PyObject *resultobj;
24095 wxListView *arg1 = (wxListView *) 0 ;
24096 long arg2 ;
24097 bool result;
24098 PyObject * obj0 = 0 ;
24099 PyObject * obj1 = 0 ;
24100 char *kwnames[] = {
24101 (char *) "self",(char *) "index", NULL
24102 };
24103
24104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
24105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24107 arg2 = (long) SWIG_AsLong(obj1);
24108 if (PyErr_Occurred()) SWIG_fail;
24109 {
24110 PyThreadState* __tstate = wxPyBeginAllowThreads();
24111 result = (bool)(arg1)->IsSelected(arg2);
24112
24113 wxPyEndAllowThreads(__tstate);
24114 if (PyErr_Occurred()) SWIG_fail;
24115 }
24116 {
24117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24118 }
24119 return resultobj;
24120 fail:
24121 return NULL;
24122 }
24123
24124
24125 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24126 PyObject *resultobj;
24127 wxListView *arg1 = (wxListView *) 0 ;
24128 int arg2 ;
24129 int arg3 ;
24130 PyObject * obj0 = 0 ;
24131 PyObject * obj1 = 0 ;
24132 PyObject * obj2 = 0 ;
24133 char *kwnames[] = {
24134 (char *) "self",(char *) "col",(char *) "image", NULL
24135 };
24136
24137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24140 arg2 = (int) SWIG_AsInt(obj1);
24141 if (PyErr_Occurred()) SWIG_fail;
24142 arg3 = (int) SWIG_AsInt(obj2);
24143 if (PyErr_Occurred()) SWIG_fail;
24144 {
24145 PyThreadState* __tstate = wxPyBeginAllowThreads();
24146 (arg1)->SetColumnImage(arg2,arg3);
24147
24148 wxPyEndAllowThreads(__tstate);
24149 if (PyErr_Occurred()) SWIG_fail;
24150 }
24151 Py_INCREF(Py_None); resultobj = Py_None;
24152 return resultobj;
24153 fail:
24154 return NULL;
24155 }
24156
24157
24158 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24159 PyObject *resultobj;
24160 wxListView *arg1 = (wxListView *) 0 ;
24161 int arg2 ;
24162 PyObject * obj0 = 0 ;
24163 PyObject * obj1 = 0 ;
24164 char *kwnames[] = {
24165 (char *) "self",(char *) "col", NULL
24166 };
24167
24168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
24169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24171 arg2 = (int) SWIG_AsInt(obj1);
24172 if (PyErr_Occurred()) SWIG_fail;
24173 {
24174 PyThreadState* __tstate = wxPyBeginAllowThreads();
24175 (arg1)->ClearColumnImage(arg2);
24176
24177 wxPyEndAllowThreads(__tstate);
24178 if (PyErr_Occurred()) SWIG_fail;
24179 }
24180 Py_INCREF(Py_None); resultobj = Py_None;
24181 return resultobj;
24182 fail:
24183 return NULL;
24184 }
24185
24186
24187 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
24188 PyObject *obj;
24189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24190 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
24191 Py_INCREF(obj);
24192 return Py_BuildValue((char *)"");
24193 }
24194 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
24195 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
24196 return 1;
24197 }
24198
24199
24200 static PyObject *_wrap_TreeCtrlNameStr_get() {
24201 PyObject *pyobj;
24202
24203 {
24204 #if wxUSE_UNICODE
24205 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24206 #else
24207 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24208 #endif
24209 }
24210 return pyobj;
24211 }
24212
24213
24214 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
24215 PyObject *resultobj;
24216 wxTreeItemId *result;
24217 char *kwnames[] = {
24218 NULL
24219 };
24220
24221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
24222 {
24223 PyThreadState* __tstate = wxPyBeginAllowThreads();
24224 result = (wxTreeItemId *)new wxTreeItemId();
24225
24226 wxPyEndAllowThreads(__tstate);
24227 if (PyErr_Occurred()) SWIG_fail;
24228 }
24229 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
24230 return resultobj;
24231 fail:
24232 return NULL;
24233 }
24234
24235
24236 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
24237 PyObject *resultobj;
24238 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24239 PyObject * obj0 = 0 ;
24240 char *kwnames[] = {
24241 (char *) "self", NULL
24242 };
24243
24244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
24245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24247 {
24248 PyThreadState* __tstate = wxPyBeginAllowThreads();
24249 delete arg1;
24250
24251 wxPyEndAllowThreads(__tstate);
24252 if (PyErr_Occurred()) SWIG_fail;
24253 }
24254 Py_INCREF(Py_None); resultobj = Py_None;
24255 return resultobj;
24256 fail:
24257 return NULL;
24258 }
24259
24260
24261 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
24262 PyObject *resultobj;
24263 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24264 bool result;
24265 PyObject * obj0 = 0 ;
24266 char *kwnames[] = {
24267 (char *) "self", NULL
24268 };
24269
24270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
24271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24273 {
24274 PyThreadState* __tstate = wxPyBeginAllowThreads();
24275 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
24276
24277 wxPyEndAllowThreads(__tstate);
24278 if (PyErr_Occurred()) SWIG_fail;
24279 }
24280 {
24281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24282 }
24283 return resultobj;
24284 fail:
24285 return NULL;
24286 }
24287
24288
24289 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
24290 PyObject *resultobj;
24291 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24292 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24293 bool result;
24294 PyObject * obj0 = 0 ;
24295 PyObject * obj1 = 0 ;
24296 char *kwnames[] = {
24297 (char *) "self",(char *) "other", NULL
24298 };
24299
24300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
24301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24303 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24305 {
24306 PyThreadState* __tstate = wxPyBeginAllowThreads();
24307 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
24308
24309 wxPyEndAllowThreads(__tstate);
24310 if (PyErr_Occurred()) SWIG_fail;
24311 }
24312 {
24313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24314 }
24315 return resultobj;
24316 fail:
24317 return NULL;
24318 }
24319
24320
24321 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
24322 PyObject *resultobj;
24323 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24324 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24325 bool result;
24326 PyObject * obj0 = 0 ;
24327 PyObject * obj1 = 0 ;
24328 char *kwnames[] = {
24329 (char *) "self",(char *) "other", NULL
24330 };
24331
24332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
24333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24335 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24337 {
24338 PyThreadState* __tstate = wxPyBeginAllowThreads();
24339 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
24340
24341 wxPyEndAllowThreads(__tstate);
24342 if (PyErr_Occurred()) SWIG_fail;
24343 }
24344 {
24345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24346 }
24347 return resultobj;
24348 fail:
24349 return NULL;
24350 }
24351
24352
24353 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
24354 PyObject *resultobj;
24355 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24356 void *arg2 = (void *) 0 ;
24357 PyObject * obj0 = 0 ;
24358 PyObject * obj1 = 0 ;
24359 char *kwnames[] = {
24360 (char *) "self",(char *) "m_pItem", NULL
24361 };
24362
24363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
24364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24366 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24367 if (arg1) (arg1)->m_pItem = arg2;
24368
24369 Py_INCREF(Py_None); resultobj = Py_None;
24370 return resultobj;
24371 fail:
24372 return NULL;
24373 }
24374
24375
24376 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
24377 PyObject *resultobj;
24378 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24379 void *result;
24380 PyObject * obj0 = 0 ;
24381 char *kwnames[] = {
24382 (char *) "self", NULL
24383 };
24384
24385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
24386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24388 result = (void *) ((arg1)->m_pItem);
24389
24390 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
24391 return resultobj;
24392 fail:
24393 return NULL;
24394 }
24395
24396
24397 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
24398 PyObject *obj;
24399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24400 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
24401 Py_INCREF(obj);
24402 return Py_BuildValue((char *)"");
24403 }
24404 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24405 PyObject *resultobj;
24406 PyObject *arg1 = (PyObject *) NULL ;
24407 wxPyTreeItemData *result;
24408 PyObject * obj0 = 0 ;
24409 char *kwnames[] = {
24410 (char *) "obj", NULL
24411 };
24412
24413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
24414 if (obj0) {
24415 arg1 = obj0;
24416 }
24417 {
24418 PyThreadState* __tstate = wxPyBeginAllowThreads();
24419 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
24420
24421 wxPyEndAllowThreads(__tstate);
24422 if (PyErr_Occurred()) SWIG_fail;
24423 }
24424 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
24425 return resultobj;
24426 fail:
24427 return NULL;
24428 }
24429
24430
24431 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24432 PyObject *resultobj;
24433 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24434 PyObject *result;
24435 PyObject * obj0 = 0 ;
24436 char *kwnames[] = {
24437 (char *) "self", NULL
24438 };
24439
24440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
24441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24443 {
24444 PyThreadState* __tstate = wxPyBeginAllowThreads();
24445 result = (PyObject *)(arg1)->GetData();
24446
24447 wxPyEndAllowThreads(__tstate);
24448 if (PyErr_Occurred()) SWIG_fail;
24449 }
24450 resultobj = result;
24451 return resultobj;
24452 fail:
24453 return NULL;
24454 }
24455
24456
24457 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24458 PyObject *resultobj;
24459 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24460 PyObject *arg2 = (PyObject *) 0 ;
24461 PyObject * obj0 = 0 ;
24462 PyObject * obj1 = 0 ;
24463 char *kwnames[] = {
24464 (char *) "self",(char *) "obj", NULL
24465 };
24466
24467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
24468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24470 arg2 = obj1;
24471 {
24472 PyThreadState* __tstate = wxPyBeginAllowThreads();
24473 (arg1)->SetData(arg2);
24474
24475 wxPyEndAllowThreads(__tstate);
24476 if (PyErr_Occurred()) SWIG_fail;
24477 }
24478 Py_INCREF(Py_None); resultobj = Py_None;
24479 return resultobj;
24480 fail:
24481 return NULL;
24482 }
24483
24484
24485 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24486 PyObject *resultobj;
24487 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24488 wxTreeItemId *result;
24489 PyObject * obj0 = 0 ;
24490 char *kwnames[] = {
24491 (char *) "self", NULL
24492 };
24493
24494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
24495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24497 {
24498 PyThreadState* __tstate = wxPyBeginAllowThreads();
24499 {
24500 wxTreeItemId const &_result_ref = (arg1)->GetId();
24501 result = (wxTreeItemId *) &_result_ref;
24502 }
24503
24504 wxPyEndAllowThreads(__tstate);
24505 if (PyErr_Occurred()) SWIG_fail;
24506 }
24507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
24508 return resultobj;
24509 fail:
24510 return NULL;
24511 }
24512
24513
24514 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24515 PyObject *resultobj;
24516 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24517 wxTreeItemId *arg2 = 0 ;
24518 PyObject * obj0 = 0 ;
24519 PyObject * obj1 = 0 ;
24520 char *kwnames[] = {
24521 (char *) "self",(char *) "id", NULL
24522 };
24523
24524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
24525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24527 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24528 SWIG_POINTER_EXCEPTION | 0)) == -1)
24529 SWIG_fail;
24530 if (arg2 == NULL) {
24531 PyErr_SetString(PyExc_TypeError,"null reference");
24532 SWIG_fail;
24533 }
24534 {
24535 PyThreadState* __tstate = wxPyBeginAllowThreads();
24536 (arg1)->SetId((wxTreeItemId const &)*arg2);
24537
24538 wxPyEndAllowThreads(__tstate);
24539 if (PyErr_Occurred()) SWIG_fail;
24540 }
24541 Py_INCREF(Py_None); resultobj = Py_None;
24542 return resultobj;
24543 fail:
24544 return NULL;
24545 }
24546
24547
24548 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
24549 PyObject *resultobj;
24550 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24551 PyObject * obj0 = 0 ;
24552 char *kwnames[] = {
24553 (char *) "self", NULL
24554 };
24555
24556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
24557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24559 {
24560 PyThreadState* __tstate = wxPyBeginAllowThreads();
24561 wxPyTreeItemData_Destroy(arg1);
24562
24563 wxPyEndAllowThreads(__tstate);
24564 if (PyErr_Occurred()) SWIG_fail;
24565 }
24566 Py_INCREF(Py_None); resultobj = Py_None;
24567 return resultobj;
24568 fail:
24569 return NULL;
24570 }
24571
24572
24573 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
24574 PyObject *obj;
24575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24576 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
24577 Py_INCREF(obj);
24578 return Py_BuildValue((char *)"");
24579 }
24580 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24581 PyObject *resultobj;
24582 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24583 int arg2 = (int) 0 ;
24584 wxTreeEvent *result;
24585 PyObject * obj0 = 0 ;
24586 PyObject * obj1 = 0 ;
24587 char *kwnames[] = {
24588 (char *) "commandType",(char *) "id", NULL
24589 };
24590
24591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
24592 if (obj0) {
24593 arg1 = (wxEventType) SWIG_AsInt(obj0);
24594 if (PyErr_Occurred()) SWIG_fail;
24595 }
24596 if (obj1) {
24597 arg2 = (int) SWIG_AsInt(obj1);
24598 if (PyErr_Occurred()) SWIG_fail;
24599 }
24600 {
24601 PyThreadState* __tstate = wxPyBeginAllowThreads();
24602 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
24603
24604 wxPyEndAllowThreads(__tstate);
24605 if (PyErr_Occurred()) SWIG_fail;
24606 }
24607 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
24608 return resultobj;
24609 fail:
24610 return NULL;
24611 }
24612
24613
24614 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24615 PyObject *resultobj;
24616 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24617 wxTreeItemId result;
24618 PyObject * obj0 = 0 ;
24619 char *kwnames[] = {
24620 (char *) "self", NULL
24621 };
24622
24623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
24624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24626 {
24627 PyThreadState* __tstate = wxPyBeginAllowThreads();
24628 result = ((wxTreeEvent const *)arg1)->GetItem();
24629
24630 wxPyEndAllowThreads(__tstate);
24631 if (PyErr_Occurred()) SWIG_fail;
24632 }
24633 {
24634 wxTreeItemId * resultptr;
24635 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24636 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24637 }
24638 return resultobj;
24639 fail:
24640 return NULL;
24641 }
24642
24643
24644 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24645 PyObject *resultobj;
24646 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24647 wxTreeItemId *arg2 = 0 ;
24648 PyObject * obj0 = 0 ;
24649 PyObject * obj1 = 0 ;
24650 char *kwnames[] = {
24651 (char *) "self",(char *) "item", NULL
24652 };
24653
24654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
24655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24657 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24658 SWIG_POINTER_EXCEPTION | 0)) == -1)
24659 SWIG_fail;
24660 if (arg2 == NULL) {
24661 PyErr_SetString(PyExc_TypeError,"null reference");
24662 SWIG_fail;
24663 }
24664 {
24665 PyThreadState* __tstate = wxPyBeginAllowThreads();
24666 (arg1)->SetItem((wxTreeItemId const &)*arg2);
24667
24668 wxPyEndAllowThreads(__tstate);
24669 if (PyErr_Occurred()) SWIG_fail;
24670 }
24671 Py_INCREF(Py_None); resultobj = Py_None;
24672 return resultobj;
24673 fail:
24674 return NULL;
24675 }
24676
24677
24678 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24679 PyObject *resultobj;
24680 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24681 wxTreeItemId result;
24682 PyObject * obj0 = 0 ;
24683 char *kwnames[] = {
24684 (char *) "self", NULL
24685 };
24686
24687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
24688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24690 {
24691 PyThreadState* __tstate = wxPyBeginAllowThreads();
24692 result = ((wxTreeEvent const *)arg1)->GetOldItem();
24693
24694 wxPyEndAllowThreads(__tstate);
24695 if (PyErr_Occurred()) SWIG_fail;
24696 }
24697 {
24698 wxTreeItemId * resultptr;
24699 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24700 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24701 }
24702 return resultobj;
24703 fail:
24704 return NULL;
24705 }
24706
24707
24708 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24709 PyObject *resultobj;
24710 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24711 wxTreeItemId *arg2 = 0 ;
24712 PyObject * obj0 = 0 ;
24713 PyObject * obj1 = 0 ;
24714 char *kwnames[] = {
24715 (char *) "self",(char *) "item", NULL
24716 };
24717
24718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
24719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24721 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24722 SWIG_POINTER_EXCEPTION | 0)) == -1)
24723 SWIG_fail;
24724 if (arg2 == NULL) {
24725 PyErr_SetString(PyExc_TypeError,"null reference");
24726 SWIG_fail;
24727 }
24728 {
24729 PyThreadState* __tstate = wxPyBeginAllowThreads();
24730 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
24731
24732 wxPyEndAllowThreads(__tstate);
24733 if (PyErr_Occurred()) SWIG_fail;
24734 }
24735 Py_INCREF(Py_None); resultobj = Py_None;
24736 return resultobj;
24737 fail:
24738 return NULL;
24739 }
24740
24741
24742 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24743 PyObject *resultobj;
24744 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24745 wxPoint result;
24746 PyObject * obj0 = 0 ;
24747 char *kwnames[] = {
24748 (char *) "self", NULL
24749 };
24750
24751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
24752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24754 {
24755 PyThreadState* __tstate = wxPyBeginAllowThreads();
24756 result = ((wxTreeEvent const *)arg1)->GetPoint();
24757
24758 wxPyEndAllowThreads(__tstate);
24759 if (PyErr_Occurred()) SWIG_fail;
24760 }
24761 {
24762 wxPoint * resultptr;
24763 resultptr = new wxPoint((wxPoint &) result);
24764 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24765 }
24766 return resultobj;
24767 fail:
24768 return NULL;
24769 }
24770
24771
24772 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24773 PyObject *resultobj;
24774 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24775 wxPoint *arg2 = 0 ;
24776 wxPoint temp2 ;
24777 PyObject * obj0 = 0 ;
24778 PyObject * obj1 = 0 ;
24779 char *kwnames[] = {
24780 (char *) "self",(char *) "pt", NULL
24781 };
24782
24783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
24784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24786 {
24787 arg2 = &temp2;
24788 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24789 }
24790 {
24791 PyThreadState* __tstate = wxPyBeginAllowThreads();
24792 (arg1)->SetPoint((wxPoint const &)*arg2);
24793
24794 wxPyEndAllowThreads(__tstate);
24795 if (PyErr_Occurred()) SWIG_fail;
24796 }
24797 Py_INCREF(Py_None); resultobj = Py_None;
24798 return resultobj;
24799 fail:
24800 return NULL;
24801 }
24802
24803
24804 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24805 PyObject *resultobj;
24806 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24807 wxKeyEvent *result;
24808 PyObject * obj0 = 0 ;
24809 char *kwnames[] = {
24810 (char *) "self", NULL
24811 };
24812
24813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
24814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24816 {
24817 PyThreadState* __tstate = wxPyBeginAllowThreads();
24818 {
24819 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
24820 result = (wxKeyEvent *) &_result_ref;
24821 }
24822
24823 wxPyEndAllowThreads(__tstate);
24824 if (PyErr_Occurred()) SWIG_fail;
24825 }
24826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
24827 return resultobj;
24828 fail:
24829 return NULL;
24830 }
24831
24832
24833 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
24834 PyObject *resultobj;
24835 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24836 int result;
24837 PyObject * obj0 = 0 ;
24838 char *kwnames[] = {
24839 (char *) "self", NULL
24840 };
24841
24842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
24843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24845 {
24846 PyThreadState* __tstate = wxPyBeginAllowThreads();
24847 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
24848
24849 wxPyEndAllowThreads(__tstate);
24850 if (PyErr_Occurred()) SWIG_fail;
24851 }
24852 resultobj = SWIG_FromInt((int)result);
24853 return resultobj;
24854 fail:
24855 return NULL;
24856 }
24857
24858
24859 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24860 PyObject *resultobj;
24861 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24862 wxKeyEvent *arg2 = 0 ;
24863 PyObject * obj0 = 0 ;
24864 PyObject * obj1 = 0 ;
24865 char *kwnames[] = {
24866 (char *) "self",(char *) "evt", NULL
24867 };
24868
24869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
24870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24872 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
24873 SWIG_POINTER_EXCEPTION | 0)) == -1)
24874 SWIG_fail;
24875 if (arg2 == NULL) {
24876 PyErr_SetString(PyExc_TypeError,"null reference");
24877 SWIG_fail;
24878 }
24879 {
24880 PyThreadState* __tstate = wxPyBeginAllowThreads();
24881 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
24882
24883 wxPyEndAllowThreads(__tstate);
24884 if (PyErr_Occurred()) SWIG_fail;
24885 }
24886 Py_INCREF(Py_None); resultobj = Py_None;
24887 return resultobj;
24888 fail:
24889 return NULL;
24890 }
24891
24892
24893 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24894 PyObject *resultobj;
24895 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24896 wxString *result;
24897 PyObject * obj0 = 0 ;
24898 char *kwnames[] = {
24899 (char *) "self", NULL
24900 };
24901
24902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
24903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24905 {
24906 PyThreadState* __tstate = wxPyBeginAllowThreads();
24907 {
24908 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
24909 result = (wxString *) &_result_ref;
24910 }
24911
24912 wxPyEndAllowThreads(__tstate);
24913 if (PyErr_Occurred()) SWIG_fail;
24914 }
24915 {
24916 #if wxUSE_UNICODE
24917 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24918 #else
24919 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24920 #endif
24921 }
24922 return resultobj;
24923 fail:
24924 return NULL;
24925 }
24926
24927
24928 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24929 PyObject *resultobj;
24930 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24931 wxString *arg2 = 0 ;
24932 bool temp2 = False ;
24933 PyObject * obj0 = 0 ;
24934 PyObject * obj1 = 0 ;
24935 char *kwnames[] = {
24936 (char *) "self",(char *) "label", NULL
24937 };
24938
24939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
24940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24942 {
24943 arg2 = wxString_in_helper(obj1);
24944 if (arg2 == NULL) SWIG_fail;
24945 temp2 = True;
24946 }
24947 {
24948 PyThreadState* __tstate = wxPyBeginAllowThreads();
24949 (arg1)->SetLabel((wxString const &)*arg2);
24950
24951 wxPyEndAllowThreads(__tstate);
24952 if (PyErr_Occurred()) SWIG_fail;
24953 }
24954 Py_INCREF(Py_None); resultobj = Py_None;
24955 {
24956 if (temp2)
24957 delete arg2;
24958 }
24959 return resultobj;
24960 fail:
24961 {
24962 if (temp2)
24963 delete arg2;
24964 }
24965 return NULL;
24966 }
24967
24968
24969 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
24970 PyObject *resultobj;
24971 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24972 bool result;
24973 PyObject * obj0 = 0 ;
24974 char *kwnames[] = {
24975 (char *) "self", NULL
24976 };
24977
24978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
24979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24981 {
24982 PyThreadState* __tstate = wxPyBeginAllowThreads();
24983 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
24984
24985 wxPyEndAllowThreads(__tstate);
24986 if (PyErr_Occurred()) SWIG_fail;
24987 }
24988 {
24989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24990 }
24991 return resultobj;
24992 fail:
24993 return NULL;
24994 }
24995
24996
24997 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
24998 PyObject *resultobj;
24999 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25000 bool arg2 ;
25001 PyObject * obj0 = 0 ;
25002 PyObject * obj1 = 0 ;
25003 char *kwnames[] = {
25004 (char *) "self",(char *) "editCancelled", NULL
25005 };
25006
25007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
25008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25010 arg2 = (bool) SWIG_AsBool(obj1);
25011 if (PyErr_Occurred()) SWIG_fail;
25012 {
25013 PyThreadState* __tstate = wxPyBeginAllowThreads();
25014 (arg1)->SetEditCanceled(arg2);
25015
25016 wxPyEndAllowThreads(__tstate);
25017 if (PyErr_Occurred()) SWIG_fail;
25018 }
25019 Py_INCREF(Py_None); resultobj = Py_None;
25020 return resultobj;
25021 fail:
25022 return NULL;
25023 }
25024
25025
25026 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
25027 PyObject *resultobj;
25028 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25029 wxString *arg2 = 0 ;
25030 bool temp2 = False ;
25031 PyObject * obj0 = 0 ;
25032 PyObject * obj1 = 0 ;
25033 char *kwnames[] = {
25034 (char *) "self",(char *) "toolTip", NULL
25035 };
25036
25037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
25038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25040 {
25041 arg2 = wxString_in_helper(obj1);
25042 if (arg2 == NULL) SWIG_fail;
25043 temp2 = True;
25044 }
25045 {
25046 PyThreadState* __tstate = wxPyBeginAllowThreads();
25047 (arg1)->SetToolTip((wxString const &)*arg2);
25048
25049 wxPyEndAllowThreads(__tstate);
25050 if (PyErr_Occurred()) SWIG_fail;
25051 }
25052 Py_INCREF(Py_None); resultobj = Py_None;
25053 {
25054 if (temp2)
25055 delete arg2;
25056 }
25057 return resultobj;
25058 fail:
25059 {
25060 if (temp2)
25061 delete arg2;
25062 }
25063 return NULL;
25064 }
25065
25066
25067 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
25068 PyObject *obj;
25069 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25070 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
25071 Py_INCREF(obj);
25072 return Py_BuildValue((char *)"");
25073 }
25074 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
25075 PyObject *resultobj;
25076 wxWindow *arg1 = (wxWindow *) 0 ;
25077 int arg2 = (int) -1 ;
25078 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25079 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25080 wxSize const &arg4_defvalue = wxDefaultSize ;
25081 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25082 long arg5 = (long) wxTR_DEFAULT_STYLE ;
25083 wxValidator const &arg6_defvalue = wxDefaultValidator ;
25084 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
25085 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
25086 wxString *arg7 = (wxString *) &arg7_defvalue ;
25087 wxPyTreeCtrl *result;
25088 wxPoint temp3 ;
25089 wxSize temp4 ;
25090 bool temp7 = False ;
25091 PyObject * obj0 = 0 ;
25092 PyObject * obj1 = 0 ;
25093 PyObject * obj2 = 0 ;
25094 PyObject * obj3 = 0 ;
25095 PyObject * obj4 = 0 ;
25096 PyObject * obj5 = 0 ;
25097 PyObject * obj6 = 0 ;
25098 char *kwnames[] = {
25099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25100 };
25101
25102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25105 if (obj1) {
25106 arg2 = (int) SWIG_AsInt(obj1);
25107 if (PyErr_Occurred()) SWIG_fail;
25108 }
25109 if (obj2) {
25110 {
25111 arg3 = &temp3;
25112 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25113 }
25114 }
25115 if (obj3) {
25116 {
25117 arg4 = &temp4;
25118 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25119 }
25120 }
25121 if (obj4) {
25122 arg5 = (long) SWIG_AsLong(obj4);
25123 if (PyErr_Occurred()) SWIG_fail;
25124 }
25125 if (obj5) {
25126 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
25127 SWIG_POINTER_EXCEPTION | 0)) == -1)
25128 SWIG_fail;
25129 if (arg6 == NULL) {
25130 PyErr_SetString(PyExc_TypeError,"null reference");
25131 SWIG_fail;
25132 }
25133 }
25134 if (obj6) {
25135 {
25136 arg7 = wxString_in_helper(obj6);
25137 if (arg7 == NULL) SWIG_fail;
25138 temp7 = True;
25139 }
25140 }
25141 {
25142 if (!wxPyCheckForApp()) SWIG_fail;
25143 PyThreadState* __tstate = wxPyBeginAllowThreads();
25144 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
25145
25146 wxPyEndAllowThreads(__tstate);
25147 if (PyErr_Occurred()) SWIG_fail;
25148 }
25149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
25150 {
25151 if (temp7)
25152 delete arg7;
25153 }
25154 return resultobj;
25155 fail:
25156 {
25157 if (temp7)
25158 delete arg7;
25159 }
25160 return NULL;
25161 }
25162
25163
25164 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
25165 PyObject *resultobj;
25166 wxPyTreeCtrl *result;
25167 char *kwnames[] = {
25168 NULL
25169 };
25170
25171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
25172 {
25173 if (!wxPyCheckForApp()) SWIG_fail;
25174 PyThreadState* __tstate = wxPyBeginAllowThreads();
25175 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
25176
25177 wxPyEndAllowThreads(__tstate);
25178 if (PyErr_Occurred()) SWIG_fail;
25179 }
25180 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
25181 return resultobj;
25182 fail:
25183 return NULL;
25184 }
25185
25186
25187 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
25188 PyObject *resultobj;
25189 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25190 wxWindow *arg2 = (wxWindow *) 0 ;
25191 int arg3 = (int) -1 ;
25192 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25193 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25194 wxSize const &arg5_defvalue = wxDefaultSize ;
25195 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25196 long arg6 = (long) wxTR_DEFAULT_STYLE ;
25197 wxValidator const &arg7_defvalue = wxDefaultValidator ;
25198 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
25199 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
25200 wxString *arg8 = (wxString *) &arg8_defvalue ;
25201 bool result;
25202 wxPoint temp4 ;
25203 wxSize temp5 ;
25204 bool temp8 = False ;
25205 PyObject * obj0 = 0 ;
25206 PyObject * obj1 = 0 ;
25207 PyObject * obj2 = 0 ;
25208 PyObject * obj3 = 0 ;
25209 PyObject * obj4 = 0 ;
25210 PyObject * obj5 = 0 ;
25211 PyObject * obj6 = 0 ;
25212 PyObject * obj7 = 0 ;
25213 char *kwnames[] = {
25214 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25215 };
25216
25217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
25218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25220 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25222 if (obj2) {
25223 arg3 = (int) SWIG_AsInt(obj2);
25224 if (PyErr_Occurred()) SWIG_fail;
25225 }
25226 if (obj3) {
25227 {
25228 arg4 = &temp4;
25229 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25230 }
25231 }
25232 if (obj4) {
25233 {
25234 arg5 = &temp5;
25235 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25236 }
25237 }
25238 if (obj5) {
25239 arg6 = (long) SWIG_AsLong(obj5);
25240 if (PyErr_Occurred()) SWIG_fail;
25241 }
25242 if (obj6) {
25243 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
25244 SWIG_POINTER_EXCEPTION | 0)) == -1)
25245 SWIG_fail;
25246 if (arg7 == NULL) {
25247 PyErr_SetString(PyExc_TypeError,"null reference");
25248 SWIG_fail;
25249 }
25250 }
25251 if (obj7) {
25252 {
25253 arg8 = wxString_in_helper(obj7);
25254 if (arg8 == NULL) SWIG_fail;
25255 temp8 = True;
25256 }
25257 }
25258 {
25259 PyThreadState* __tstate = wxPyBeginAllowThreads();
25260 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25261
25262 wxPyEndAllowThreads(__tstate);
25263 if (PyErr_Occurred()) SWIG_fail;
25264 }
25265 {
25266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25267 }
25268 {
25269 if (temp8)
25270 delete arg8;
25271 }
25272 return resultobj;
25273 fail:
25274 {
25275 if (temp8)
25276 delete arg8;
25277 }
25278 return NULL;
25279 }
25280
25281
25282 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25283 PyObject *resultobj;
25284 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25285 PyObject *arg2 = (PyObject *) 0 ;
25286 PyObject *arg3 = (PyObject *) 0 ;
25287 PyObject * obj0 = 0 ;
25288 PyObject * obj1 = 0 ;
25289 PyObject * obj2 = 0 ;
25290 char *kwnames[] = {
25291 (char *) "self",(char *) "self",(char *) "_class", NULL
25292 };
25293
25294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25297 arg2 = obj1;
25298 arg3 = obj2;
25299 {
25300 PyThreadState* __tstate = wxPyBeginAllowThreads();
25301 (arg1)->_setCallbackInfo(arg2,arg3);
25302
25303 wxPyEndAllowThreads(__tstate);
25304 if (PyErr_Occurred()) SWIG_fail;
25305 }
25306 Py_INCREF(Py_None); resultobj = Py_None;
25307 return resultobj;
25308 fail:
25309 return NULL;
25310 }
25311
25312
25313 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25314 PyObject *resultobj;
25315 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25316 size_t result;
25317 PyObject * obj0 = 0 ;
25318 char *kwnames[] = {
25319 (char *) "self", NULL
25320 };
25321
25322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
25323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25325 {
25326 PyThreadState* __tstate = wxPyBeginAllowThreads();
25327 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
25328
25329 wxPyEndAllowThreads(__tstate);
25330 if (PyErr_Occurred()) SWIG_fail;
25331 }
25332 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25333 return resultobj;
25334 fail:
25335 return NULL;
25336 }
25337
25338
25339 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
25340 PyObject *resultobj;
25341 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25342 unsigned int result;
25343 PyObject * obj0 = 0 ;
25344 char *kwnames[] = {
25345 (char *) "self", NULL
25346 };
25347
25348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
25349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25351 {
25352 PyThreadState* __tstate = wxPyBeginAllowThreads();
25353 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
25354
25355 wxPyEndAllowThreads(__tstate);
25356 if (PyErr_Occurred()) SWIG_fail;
25357 }
25358 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
25359 return resultobj;
25360 fail:
25361 return NULL;
25362 }
25363
25364
25365 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
25366 PyObject *resultobj;
25367 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25368 unsigned int arg2 ;
25369 PyObject * obj0 = 0 ;
25370 PyObject * obj1 = 0 ;
25371 char *kwnames[] = {
25372 (char *) "self",(char *) "indent", NULL
25373 };
25374
25375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
25376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25378 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
25379 if (PyErr_Occurred()) SWIG_fail;
25380 {
25381 PyThreadState* __tstate = wxPyBeginAllowThreads();
25382 (arg1)->SetIndent(arg2);
25383
25384 wxPyEndAllowThreads(__tstate);
25385 if (PyErr_Occurred()) SWIG_fail;
25386 }
25387 Py_INCREF(Py_None); resultobj = Py_None;
25388 return resultobj;
25389 fail:
25390 return NULL;
25391 }
25392
25393
25394 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25395 PyObject *resultobj;
25396 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25397 unsigned int result;
25398 PyObject * obj0 = 0 ;
25399 char *kwnames[] = {
25400 (char *) "self", NULL
25401 };
25402
25403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
25404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25406 {
25407 PyThreadState* __tstate = wxPyBeginAllowThreads();
25408 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
25409
25410 wxPyEndAllowThreads(__tstate);
25411 if (PyErr_Occurred()) SWIG_fail;
25412 }
25413 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
25414 return resultobj;
25415 fail:
25416 return NULL;
25417 }
25418
25419
25420 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25421 PyObject *resultobj;
25422 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25423 unsigned int arg2 ;
25424 PyObject * obj0 = 0 ;
25425 PyObject * obj1 = 0 ;
25426 char *kwnames[] = {
25427 (char *) "self",(char *) "spacing", NULL
25428 };
25429
25430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
25431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25433 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
25434 if (PyErr_Occurred()) SWIG_fail;
25435 {
25436 PyThreadState* __tstate = wxPyBeginAllowThreads();
25437 (arg1)->SetSpacing(arg2);
25438
25439 wxPyEndAllowThreads(__tstate);
25440 if (PyErr_Occurred()) SWIG_fail;
25441 }
25442 Py_INCREF(Py_None); resultobj = Py_None;
25443 return resultobj;
25444 fail:
25445 return NULL;
25446 }
25447
25448
25449 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25450 PyObject *resultobj;
25451 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25452 wxImageList *result;
25453 PyObject * obj0 = 0 ;
25454 char *kwnames[] = {
25455 (char *) "self", NULL
25456 };
25457
25458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
25459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25461 {
25462 PyThreadState* __tstate = wxPyBeginAllowThreads();
25463 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
25464
25465 wxPyEndAllowThreads(__tstate);
25466 if (PyErr_Occurred()) SWIG_fail;
25467 }
25468 {
25469 resultobj = wxPyMake_wxObject(result, 0);
25470 }
25471 return resultobj;
25472 fail:
25473 return NULL;
25474 }
25475
25476
25477 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25478 PyObject *resultobj;
25479 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25480 wxImageList *result;
25481 PyObject * obj0 = 0 ;
25482 char *kwnames[] = {
25483 (char *) "self", NULL
25484 };
25485
25486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
25487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25489 {
25490 PyThreadState* __tstate = wxPyBeginAllowThreads();
25491 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
25492
25493 wxPyEndAllowThreads(__tstate);
25494 if (PyErr_Occurred()) SWIG_fail;
25495 }
25496 {
25497 resultobj = wxPyMake_wxObject(result, 0);
25498 }
25499 return resultobj;
25500 fail:
25501 return NULL;
25502 }
25503
25504
25505 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25506 PyObject *resultobj;
25507 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25508 wxImageList *arg2 = (wxImageList *) 0 ;
25509 PyObject * obj0 = 0 ;
25510 PyObject * obj1 = 0 ;
25511 char *kwnames[] = {
25512 (char *) "self",(char *) "imageList", NULL
25513 };
25514
25515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
25516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25518 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25520 {
25521 PyThreadState* __tstate = wxPyBeginAllowThreads();
25522 (arg1)->SetImageList(arg2);
25523
25524 wxPyEndAllowThreads(__tstate);
25525 if (PyErr_Occurred()) SWIG_fail;
25526 }
25527 Py_INCREF(Py_None); resultobj = Py_None;
25528 return resultobj;
25529 fail:
25530 return NULL;
25531 }
25532
25533
25534 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25535 PyObject *resultobj;
25536 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25537 wxImageList *arg2 = (wxImageList *) 0 ;
25538 PyObject * obj0 = 0 ;
25539 PyObject * obj1 = 0 ;
25540 char *kwnames[] = {
25541 (char *) "self",(char *) "imageList", NULL
25542 };
25543
25544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
25545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25547 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25549 {
25550 PyThreadState* __tstate = wxPyBeginAllowThreads();
25551 (arg1)->SetStateImageList(arg2);
25552
25553 wxPyEndAllowThreads(__tstate);
25554 if (PyErr_Occurred()) SWIG_fail;
25555 }
25556 Py_INCREF(Py_None); resultobj = Py_None;
25557 return resultobj;
25558 fail:
25559 return NULL;
25560 }
25561
25562
25563 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25564 PyObject *resultobj;
25565 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25566 wxImageList *arg2 = (wxImageList *) 0 ;
25567 PyObject * obj0 = 0 ;
25568 PyObject * obj1 = 0 ;
25569 char *kwnames[] = {
25570 (char *) "self",(char *) "imageList", NULL
25571 };
25572
25573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
25574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25576 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25577 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25578 {
25579 PyThreadState* __tstate = wxPyBeginAllowThreads();
25580 (arg1)->AssignImageList(arg2);
25581
25582 wxPyEndAllowThreads(__tstate);
25583 if (PyErr_Occurred()) SWIG_fail;
25584 }
25585 Py_INCREF(Py_None); resultobj = Py_None;
25586 return resultobj;
25587 fail:
25588 return NULL;
25589 }
25590
25591
25592 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25593 PyObject *resultobj;
25594 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25595 wxImageList *arg2 = (wxImageList *) 0 ;
25596 PyObject * obj0 = 0 ;
25597 PyObject * obj1 = 0 ;
25598 char *kwnames[] = {
25599 (char *) "self",(char *) "imageList", NULL
25600 };
25601
25602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
25603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25605 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25606 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25607 {
25608 PyThreadState* __tstate = wxPyBeginAllowThreads();
25609 (arg1)->AssignStateImageList(arg2);
25610
25611 wxPyEndAllowThreads(__tstate);
25612 if (PyErr_Occurred()) SWIG_fail;
25613 }
25614 Py_INCREF(Py_None); resultobj = Py_None;
25615 return resultobj;
25616 fail:
25617 return NULL;
25618 }
25619
25620
25621 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
25622 PyObject *resultobj;
25623 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25624 wxTreeItemId *arg2 = 0 ;
25625 wxString result;
25626 PyObject * obj0 = 0 ;
25627 PyObject * obj1 = 0 ;
25628 char *kwnames[] = {
25629 (char *) "self",(char *) "item", NULL
25630 };
25631
25632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
25633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25635 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25636 SWIG_POINTER_EXCEPTION | 0)) == -1)
25637 SWIG_fail;
25638 if (arg2 == NULL) {
25639 PyErr_SetString(PyExc_TypeError,"null reference");
25640 SWIG_fail;
25641 }
25642 {
25643 PyThreadState* __tstate = wxPyBeginAllowThreads();
25644 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
25645
25646 wxPyEndAllowThreads(__tstate);
25647 if (PyErr_Occurred()) SWIG_fail;
25648 }
25649 {
25650 #if wxUSE_UNICODE
25651 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25652 #else
25653 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25654 #endif
25655 }
25656 return resultobj;
25657 fail:
25658 return NULL;
25659 }
25660
25661
25662 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25663 PyObject *resultobj;
25664 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25665 wxTreeItemId *arg2 = 0 ;
25666 int arg3 = (int) wxTreeItemIcon_Normal ;
25667 int result;
25668 PyObject * obj0 = 0 ;
25669 PyObject * obj1 = 0 ;
25670 PyObject * obj2 = 0 ;
25671 char *kwnames[] = {
25672 (char *) "self",(char *) "item",(char *) "which", NULL
25673 };
25674
25675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25678 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25679 SWIG_POINTER_EXCEPTION | 0)) == -1)
25680 SWIG_fail;
25681 if (arg2 == NULL) {
25682 PyErr_SetString(PyExc_TypeError,"null reference");
25683 SWIG_fail;
25684 }
25685 if (obj2) {
25686 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
25687 if (PyErr_Occurred()) SWIG_fail;
25688 }
25689 {
25690 PyThreadState* __tstate = wxPyBeginAllowThreads();
25691 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
25692
25693 wxPyEndAllowThreads(__tstate);
25694 if (PyErr_Occurred()) SWIG_fail;
25695 }
25696 resultobj = SWIG_FromInt((int)result);
25697 return resultobj;
25698 fail:
25699 return NULL;
25700 }
25701
25702
25703 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
25704 PyObject *resultobj;
25705 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25706 wxTreeItemId *arg2 = 0 ;
25707 wxPyTreeItemData *result;
25708 PyObject * obj0 = 0 ;
25709 PyObject * obj1 = 0 ;
25710 char *kwnames[] = {
25711 (char *) "self",(char *) "item", NULL
25712 };
25713
25714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
25715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25717 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25718 SWIG_POINTER_EXCEPTION | 0)) == -1)
25719 SWIG_fail;
25720 if (arg2 == NULL) {
25721 PyErr_SetString(PyExc_TypeError,"null reference");
25722 SWIG_fail;
25723 }
25724 {
25725 PyThreadState* __tstate = wxPyBeginAllowThreads();
25726 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
25727
25728 wxPyEndAllowThreads(__tstate);
25729 if (PyErr_Occurred()) SWIG_fail;
25730 }
25731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
25732 return resultobj;
25733 fail:
25734 return NULL;
25735 }
25736
25737
25738 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
25739 PyObject *resultobj;
25740 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25741 wxTreeItemId *arg2 = 0 ;
25742 PyObject *result;
25743 PyObject * obj0 = 0 ;
25744 PyObject * obj1 = 0 ;
25745 char *kwnames[] = {
25746 (char *) "self",(char *) "item", NULL
25747 };
25748
25749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
25750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25752 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25753 SWIG_POINTER_EXCEPTION | 0)) == -1)
25754 SWIG_fail;
25755 if (arg2 == NULL) {
25756 PyErr_SetString(PyExc_TypeError,"null reference");
25757 SWIG_fail;
25758 }
25759 {
25760 PyThreadState* __tstate = wxPyBeginAllowThreads();
25761 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
25762
25763 wxPyEndAllowThreads(__tstate);
25764 if (PyErr_Occurred()) SWIG_fail;
25765 }
25766 resultobj = result;
25767 return resultobj;
25768 fail:
25769 return NULL;
25770 }
25771
25772
25773 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25774 PyObject *resultobj;
25775 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25776 wxTreeItemId *arg2 = 0 ;
25777 wxColour result;
25778 PyObject * obj0 = 0 ;
25779 PyObject * obj1 = 0 ;
25780 char *kwnames[] = {
25781 (char *) "self",(char *) "item", NULL
25782 };
25783
25784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
25785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25787 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25788 SWIG_POINTER_EXCEPTION | 0)) == -1)
25789 SWIG_fail;
25790 if (arg2 == NULL) {
25791 PyErr_SetString(PyExc_TypeError,"null reference");
25792 SWIG_fail;
25793 }
25794 {
25795 PyThreadState* __tstate = wxPyBeginAllowThreads();
25796 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
25797
25798 wxPyEndAllowThreads(__tstate);
25799 if (PyErr_Occurred()) SWIG_fail;
25800 }
25801 {
25802 wxColour * resultptr;
25803 resultptr = new wxColour((wxColour &) result);
25804 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25805 }
25806 return resultobj;
25807 fail:
25808 return NULL;
25809 }
25810
25811
25812 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25813 PyObject *resultobj;
25814 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25815 wxTreeItemId *arg2 = 0 ;
25816 wxColour result;
25817 PyObject * obj0 = 0 ;
25818 PyObject * obj1 = 0 ;
25819 char *kwnames[] = {
25820 (char *) "self",(char *) "item", NULL
25821 };
25822
25823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
25824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25826 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25827 SWIG_POINTER_EXCEPTION | 0)) == -1)
25828 SWIG_fail;
25829 if (arg2 == NULL) {
25830 PyErr_SetString(PyExc_TypeError,"null reference");
25831 SWIG_fail;
25832 }
25833 {
25834 PyThreadState* __tstate = wxPyBeginAllowThreads();
25835 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
25836
25837 wxPyEndAllowThreads(__tstate);
25838 if (PyErr_Occurred()) SWIG_fail;
25839 }
25840 {
25841 wxColour * resultptr;
25842 resultptr = new wxColour((wxColour &) result);
25843 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25844 }
25845 return resultobj;
25846 fail:
25847 return NULL;
25848 }
25849
25850
25851 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25852 PyObject *resultobj;
25853 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25854 wxTreeItemId *arg2 = 0 ;
25855 wxFont result;
25856 PyObject * obj0 = 0 ;
25857 PyObject * obj1 = 0 ;
25858 char *kwnames[] = {
25859 (char *) "self",(char *) "item", NULL
25860 };
25861
25862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
25863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25865 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25866 SWIG_POINTER_EXCEPTION | 0)) == -1)
25867 SWIG_fail;
25868 if (arg2 == NULL) {
25869 PyErr_SetString(PyExc_TypeError,"null reference");
25870 SWIG_fail;
25871 }
25872 {
25873 PyThreadState* __tstate = wxPyBeginAllowThreads();
25874 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
25875
25876 wxPyEndAllowThreads(__tstate);
25877 if (PyErr_Occurred()) SWIG_fail;
25878 }
25879 {
25880 wxFont * resultptr;
25881 resultptr = new wxFont((wxFont &) result);
25882 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
25883 }
25884 return resultobj;
25885 fail:
25886 return NULL;
25887 }
25888
25889
25890 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
25891 PyObject *resultobj;
25892 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25893 wxTreeItemId *arg2 = 0 ;
25894 wxString *arg3 = 0 ;
25895 bool temp3 = False ;
25896 PyObject * obj0 = 0 ;
25897 PyObject * obj1 = 0 ;
25898 PyObject * obj2 = 0 ;
25899 char *kwnames[] = {
25900 (char *) "self",(char *) "item",(char *) "text", NULL
25901 };
25902
25903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
25904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25906 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25907 SWIG_POINTER_EXCEPTION | 0)) == -1)
25908 SWIG_fail;
25909 if (arg2 == NULL) {
25910 PyErr_SetString(PyExc_TypeError,"null reference");
25911 SWIG_fail;
25912 }
25913 {
25914 arg3 = wxString_in_helper(obj2);
25915 if (arg3 == NULL) SWIG_fail;
25916 temp3 = True;
25917 }
25918 {
25919 PyThreadState* __tstate = wxPyBeginAllowThreads();
25920 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
25921
25922 wxPyEndAllowThreads(__tstate);
25923 if (PyErr_Occurred()) SWIG_fail;
25924 }
25925 Py_INCREF(Py_None); resultobj = Py_None;
25926 {
25927 if (temp3)
25928 delete arg3;
25929 }
25930 return resultobj;
25931 fail:
25932 {
25933 if (temp3)
25934 delete arg3;
25935 }
25936 return NULL;
25937 }
25938
25939
25940 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25941 PyObject *resultobj;
25942 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25943 wxTreeItemId *arg2 = 0 ;
25944 int arg3 ;
25945 int arg4 = (int) wxTreeItemIcon_Normal ;
25946 PyObject * obj0 = 0 ;
25947 PyObject * obj1 = 0 ;
25948 PyObject * obj2 = 0 ;
25949 PyObject * obj3 = 0 ;
25950 char *kwnames[] = {
25951 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25952 };
25953
25954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25957 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25958 SWIG_POINTER_EXCEPTION | 0)) == -1)
25959 SWIG_fail;
25960 if (arg2 == NULL) {
25961 PyErr_SetString(PyExc_TypeError,"null reference");
25962 SWIG_fail;
25963 }
25964 arg3 = (int) SWIG_AsInt(obj2);
25965 if (PyErr_Occurred()) SWIG_fail;
25966 if (obj3) {
25967 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
25968 if (PyErr_Occurred()) SWIG_fail;
25969 }
25970 {
25971 PyThreadState* __tstate = wxPyBeginAllowThreads();
25972 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
25973
25974 wxPyEndAllowThreads(__tstate);
25975 if (PyErr_Occurred()) SWIG_fail;
25976 }
25977 Py_INCREF(Py_None); resultobj = Py_None;
25978 return resultobj;
25979 fail:
25980 return NULL;
25981 }
25982
25983
25984 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
25985 PyObject *resultobj;
25986 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25987 wxTreeItemId *arg2 = 0 ;
25988 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
25989 PyObject * obj0 = 0 ;
25990 PyObject * obj1 = 0 ;
25991 PyObject * obj2 = 0 ;
25992 char *kwnames[] = {
25993 (char *) "self",(char *) "item",(char *) "data", NULL
25994 };
25995
25996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25999 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26000 SWIG_POINTER_EXCEPTION | 0)) == -1)
26001 SWIG_fail;
26002 if (arg2 == NULL) {
26003 PyErr_SetString(PyExc_TypeError,"null reference");
26004 SWIG_fail;
26005 }
26006 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
26007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26008 {
26009 PyThreadState* __tstate = wxPyBeginAllowThreads();
26010 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
26011
26012 wxPyEndAllowThreads(__tstate);
26013 if (PyErr_Occurred()) SWIG_fail;
26014 }
26015 Py_INCREF(Py_None); resultobj = Py_None;
26016 return resultobj;
26017 fail:
26018 return NULL;
26019 }
26020
26021
26022 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
26023 PyObject *resultobj;
26024 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26025 wxTreeItemId *arg2 = 0 ;
26026 PyObject *arg3 = (PyObject *) 0 ;
26027 PyObject * obj0 = 0 ;
26028 PyObject * obj1 = 0 ;
26029 PyObject * obj2 = 0 ;
26030 char *kwnames[] = {
26031 (char *) "self",(char *) "item",(char *) "obj", NULL
26032 };
26033
26034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
26035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26037 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26038 SWIG_POINTER_EXCEPTION | 0)) == -1)
26039 SWIG_fail;
26040 if (arg2 == NULL) {
26041 PyErr_SetString(PyExc_TypeError,"null reference");
26042 SWIG_fail;
26043 }
26044 arg3 = obj2;
26045 {
26046 PyThreadState* __tstate = wxPyBeginAllowThreads();
26047 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
26048
26049 wxPyEndAllowThreads(__tstate);
26050 if (PyErr_Occurred()) SWIG_fail;
26051 }
26052 Py_INCREF(Py_None); resultobj = Py_None;
26053 return resultobj;
26054 fail:
26055 return NULL;
26056 }
26057
26058
26059 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26060 PyObject *resultobj;
26061 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26062 wxTreeItemId *arg2 = 0 ;
26063 bool arg3 = (bool) True ;
26064 PyObject * obj0 = 0 ;
26065 PyObject * obj1 = 0 ;
26066 PyObject * obj2 = 0 ;
26067 char *kwnames[] = {
26068 (char *) "self",(char *) "item",(char *) "has", NULL
26069 };
26070
26071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
26072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26074 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26075 SWIG_POINTER_EXCEPTION | 0)) == -1)
26076 SWIG_fail;
26077 if (arg2 == NULL) {
26078 PyErr_SetString(PyExc_TypeError,"null reference");
26079 SWIG_fail;
26080 }
26081 if (obj2) {
26082 arg3 = (bool) SWIG_AsBool(obj2);
26083 if (PyErr_Occurred()) SWIG_fail;
26084 }
26085 {
26086 PyThreadState* __tstate = wxPyBeginAllowThreads();
26087 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
26088
26089 wxPyEndAllowThreads(__tstate);
26090 if (PyErr_Occurred()) SWIG_fail;
26091 }
26092 Py_INCREF(Py_None); resultobj = Py_None;
26093 return resultobj;
26094 fail:
26095 return NULL;
26096 }
26097
26098
26099 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
26100 PyObject *resultobj;
26101 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26102 wxTreeItemId *arg2 = 0 ;
26103 bool arg3 = (bool) True ;
26104 PyObject * obj0 = 0 ;
26105 PyObject * obj1 = 0 ;
26106 PyObject * obj2 = 0 ;
26107 char *kwnames[] = {
26108 (char *) "self",(char *) "item",(char *) "bold", NULL
26109 };
26110
26111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
26112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26114 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26115 SWIG_POINTER_EXCEPTION | 0)) == -1)
26116 SWIG_fail;
26117 if (arg2 == NULL) {
26118 PyErr_SetString(PyExc_TypeError,"null reference");
26119 SWIG_fail;
26120 }
26121 if (obj2) {
26122 arg3 = (bool) SWIG_AsBool(obj2);
26123 if (PyErr_Occurred()) SWIG_fail;
26124 }
26125 {
26126 PyThreadState* __tstate = wxPyBeginAllowThreads();
26127 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
26128
26129 wxPyEndAllowThreads(__tstate);
26130 if (PyErr_Occurred()) SWIG_fail;
26131 }
26132 Py_INCREF(Py_None); resultobj = Py_None;
26133 return resultobj;
26134 fail:
26135 return NULL;
26136 }
26137
26138
26139 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
26140 PyObject *resultobj;
26141 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26142 wxTreeItemId *arg2 = 0 ;
26143 bool arg3 = (bool) True ;
26144 PyObject * obj0 = 0 ;
26145 PyObject * obj1 = 0 ;
26146 PyObject * obj2 = 0 ;
26147 char *kwnames[] = {
26148 (char *) "self",(char *) "item",(char *) "highlight", NULL
26149 };
26150
26151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
26152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26154 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26155 SWIG_POINTER_EXCEPTION | 0)) == -1)
26156 SWIG_fail;
26157 if (arg2 == NULL) {
26158 PyErr_SetString(PyExc_TypeError,"null reference");
26159 SWIG_fail;
26160 }
26161 if (obj2) {
26162 arg3 = (bool) SWIG_AsBool(obj2);
26163 if (PyErr_Occurred()) SWIG_fail;
26164 }
26165 {
26166 PyThreadState* __tstate = wxPyBeginAllowThreads();
26167 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
26168
26169 wxPyEndAllowThreads(__tstate);
26170 if (PyErr_Occurred()) SWIG_fail;
26171 }
26172 Py_INCREF(Py_None); resultobj = Py_None;
26173 return resultobj;
26174 fail:
26175 return NULL;
26176 }
26177
26178
26179 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26180 PyObject *resultobj;
26181 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26182 wxTreeItemId *arg2 = 0 ;
26183 wxColour *arg3 = 0 ;
26184 wxColour temp3 ;
26185 PyObject * obj0 = 0 ;
26186 PyObject * obj1 = 0 ;
26187 PyObject * obj2 = 0 ;
26188 char *kwnames[] = {
26189 (char *) "self",(char *) "item",(char *) "col", NULL
26190 };
26191
26192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26195 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26196 SWIG_POINTER_EXCEPTION | 0)) == -1)
26197 SWIG_fail;
26198 if (arg2 == NULL) {
26199 PyErr_SetString(PyExc_TypeError,"null reference");
26200 SWIG_fail;
26201 }
26202 {
26203 arg3 = &temp3;
26204 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26205 }
26206 {
26207 PyThreadState* __tstate = wxPyBeginAllowThreads();
26208 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26209
26210 wxPyEndAllowThreads(__tstate);
26211 if (PyErr_Occurred()) SWIG_fail;
26212 }
26213 Py_INCREF(Py_None); resultobj = Py_None;
26214 return resultobj;
26215 fail:
26216 return NULL;
26217 }
26218
26219
26220 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26221 PyObject *resultobj;
26222 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26223 wxTreeItemId *arg2 = 0 ;
26224 wxColour *arg3 = 0 ;
26225 wxColour temp3 ;
26226 PyObject * obj0 = 0 ;
26227 PyObject * obj1 = 0 ;
26228 PyObject * obj2 = 0 ;
26229 char *kwnames[] = {
26230 (char *) "self",(char *) "item",(char *) "col", NULL
26231 };
26232
26233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26236 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26237 SWIG_POINTER_EXCEPTION | 0)) == -1)
26238 SWIG_fail;
26239 if (arg2 == NULL) {
26240 PyErr_SetString(PyExc_TypeError,"null reference");
26241 SWIG_fail;
26242 }
26243 {
26244 arg3 = &temp3;
26245 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26246 }
26247 {
26248 PyThreadState* __tstate = wxPyBeginAllowThreads();
26249 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26250
26251 wxPyEndAllowThreads(__tstate);
26252 if (PyErr_Occurred()) SWIG_fail;
26253 }
26254 Py_INCREF(Py_None); resultobj = Py_None;
26255 return resultobj;
26256 fail:
26257 return NULL;
26258 }
26259
26260
26261 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26262 PyObject *resultobj;
26263 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26264 wxTreeItemId *arg2 = 0 ;
26265 wxFont *arg3 = 0 ;
26266 PyObject * obj0 = 0 ;
26267 PyObject * obj1 = 0 ;
26268 PyObject * obj2 = 0 ;
26269 char *kwnames[] = {
26270 (char *) "self",(char *) "item",(char *) "font", NULL
26271 };
26272
26273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
26274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26276 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26277 SWIG_POINTER_EXCEPTION | 0)) == -1)
26278 SWIG_fail;
26279 if (arg2 == NULL) {
26280 PyErr_SetString(PyExc_TypeError,"null reference");
26281 SWIG_fail;
26282 }
26283 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
26284 SWIG_POINTER_EXCEPTION | 0)) == -1)
26285 SWIG_fail;
26286 if (arg3 == NULL) {
26287 PyErr_SetString(PyExc_TypeError,"null reference");
26288 SWIG_fail;
26289 }
26290 {
26291 PyThreadState* __tstate = wxPyBeginAllowThreads();
26292 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
26293
26294 wxPyEndAllowThreads(__tstate);
26295 if (PyErr_Occurred()) SWIG_fail;
26296 }
26297 Py_INCREF(Py_None); resultobj = Py_None;
26298 return resultobj;
26299 fail:
26300 return NULL;
26301 }
26302
26303
26304 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26305 PyObject *resultobj;
26306 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26307 wxTreeItemId *arg2 = 0 ;
26308 bool result;
26309 PyObject * obj0 = 0 ;
26310 PyObject * obj1 = 0 ;
26311 char *kwnames[] = {
26312 (char *) "self",(char *) "item", NULL
26313 };
26314
26315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
26316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26318 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26319 SWIG_POINTER_EXCEPTION | 0)) == -1)
26320 SWIG_fail;
26321 if (arg2 == NULL) {
26322 PyErr_SetString(PyExc_TypeError,"null reference");
26323 SWIG_fail;
26324 }
26325 {
26326 PyThreadState* __tstate = wxPyBeginAllowThreads();
26327 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
26328
26329 wxPyEndAllowThreads(__tstate);
26330 if (PyErr_Occurred()) SWIG_fail;
26331 }
26332 {
26333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26334 }
26335 return resultobj;
26336 fail:
26337 return NULL;
26338 }
26339
26340
26341 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26342 PyObject *resultobj;
26343 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26344 wxTreeItemId *arg2 = 0 ;
26345 bool result;
26346 PyObject * obj0 = 0 ;
26347 PyObject * obj1 = 0 ;
26348 char *kwnames[] = {
26349 (char *) "self",(char *) "item", NULL
26350 };
26351
26352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
26353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26355 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26356 SWIG_POINTER_EXCEPTION | 0)) == -1)
26357 SWIG_fail;
26358 if (arg2 == NULL) {
26359 PyErr_SetString(PyExc_TypeError,"null reference");
26360 SWIG_fail;
26361 }
26362 {
26363 PyThreadState* __tstate = wxPyBeginAllowThreads();
26364 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
26365
26366 wxPyEndAllowThreads(__tstate);
26367 if (PyErr_Occurred()) SWIG_fail;
26368 }
26369 {
26370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26371 }
26372 return resultobj;
26373 fail:
26374 return NULL;
26375 }
26376
26377
26378 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
26379 PyObject *resultobj;
26380 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26381 wxTreeItemId *arg2 = 0 ;
26382 bool result;
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_IsExpanded",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 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
26402
26403 wxPyEndAllowThreads(__tstate);
26404 if (PyErr_Occurred()) SWIG_fail;
26405 }
26406 {
26407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26408 }
26409 return resultobj;
26410 fail:
26411 return NULL;
26412 }
26413
26414
26415 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
26416 PyObject *resultobj;
26417 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26418 wxTreeItemId *arg2 = 0 ;
26419 bool result;
26420 PyObject * obj0 = 0 ;
26421 PyObject * obj1 = 0 ;
26422 char *kwnames[] = {
26423 (char *) "self",(char *) "item", NULL
26424 };
26425
26426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26429 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26430 SWIG_POINTER_EXCEPTION | 0)) == -1)
26431 SWIG_fail;
26432 if (arg2 == NULL) {
26433 PyErr_SetString(PyExc_TypeError,"null reference");
26434 SWIG_fail;
26435 }
26436 {
26437 PyThreadState* __tstate = wxPyBeginAllowThreads();
26438 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
26439
26440 wxPyEndAllowThreads(__tstate);
26441 if (PyErr_Occurred()) SWIG_fail;
26442 }
26443 {
26444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26445 }
26446 return resultobj;
26447 fail:
26448 return NULL;
26449 }
26450
26451
26452 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
26453 PyObject *resultobj;
26454 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26455 wxTreeItemId *arg2 = 0 ;
26456 bool result;
26457 PyObject * obj0 = 0 ;
26458 PyObject * obj1 = 0 ;
26459 char *kwnames[] = {
26460 (char *) "self",(char *) "item", NULL
26461 };
26462
26463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
26464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26466 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26467 SWIG_POINTER_EXCEPTION | 0)) == -1)
26468 SWIG_fail;
26469 if (arg2 == NULL) {
26470 PyErr_SetString(PyExc_TypeError,"null reference");
26471 SWIG_fail;
26472 }
26473 {
26474 PyThreadState* __tstate = wxPyBeginAllowThreads();
26475 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
26476
26477 wxPyEndAllowThreads(__tstate);
26478 if (PyErr_Occurred()) SWIG_fail;
26479 }
26480 {
26481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26482 }
26483 return resultobj;
26484 fail:
26485 return NULL;
26486 }
26487
26488
26489 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
26490 PyObject *resultobj;
26491 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26492 wxTreeItemId *arg2 = 0 ;
26493 bool arg3 = (bool) True ;
26494 size_t result;
26495 PyObject * obj0 = 0 ;
26496 PyObject * obj1 = 0 ;
26497 PyObject * obj2 = 0 ;
26498 char *kwnames[] = {
26499 (char *) "self",(char *) "item",(char *) "recursively", NULL
26500 };
26501
26502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
26503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26505 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26506 SWIG_POINTER_EXCEPTION | 0)) == -1)
26507 SWIG_fail;
26508 if (arg2 == NULL) {
26509 PyErr_SetString(PyExc_TypeError,"null reference");
26510 SWIG_fail;
26511 }
26512 if (obj2) {
26513 arg3 = (bool) SWIG_AsBool(obj2);
26514 if (PyErr_Occurred()) SWIG_fail;
26515 }
26516 {
26517 PyThreadState* __tstate = wxPyBeginAllowThreads();
26518 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
26519
26520 wxPyEndAllowThreads(__tstate);
26521 if (PyErr_Occurred()) SWIG_fail;
26522 }
26523 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
26524 return resultobj;
26525 fail:
26526 return NULL;
26527 }
26528
26529
26530 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26531 PyObject *resultobj;
26532 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26533 wxTreeItemId result;
26534 PyObject * obj0 = 0 ;
26535 char *kwnames[] = {
26536 (char *) "self", NULL
26537 };
26538
26539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
26540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26542 {
26543 PyThreadState* __tstate = wxPyBeginAllowThreads();
26544 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
26545
26546 wxPyEndAllowThreads(__tstate);
26547 if (PyErr_Occurred()) SWIG_fail;
26548 }
26549 {
26550 wxTreeItemId * resultptr;
26551 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26552 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26553 }
26554 return resultobj;
26555 fail:
26556 return NULL;
26557 }
26558
26559
26560 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26561 PyObject *resultobj;
26562 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26563 wxTreeItemId result;
26564 PyObject * obj0 = 0 ;
26565 char *kwnames[] = {
26566 (char *) "self", NULL
26567 };
26568
26569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
26570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26572 {
26573 PyThreadState* __tstate = wxPyBeginAllowThreads();
26574 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
26575
26576 wxPyEndAllowThreads(__tstate);
26577 if (PyErr_Occurred()) SWIG_fail;
26578 }
26579 {
26580 wxTreeItemId * resultptr;
26581 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26582 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26583 }
26584 return resultobj;
26585 fail:
26586 return NULL;
26587 }
26588
26589
26590 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
26591 PyObject *resultobj;
26592 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26593 PyObject *result;
26594 PyObject * obj0 = 0 ;
26595 char *kwnames[] = {
26596 (char *) "self", NULL
26597 };
26598
26599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
26600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26602 {
26603 PyThreadState* __tstate = wxPyBeginAllowThreads();
26604 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
26605
26606 wxPyEndAllowThreads(__tstate);
26607 if (PyErr_Occurred()) SWIG_fail;
26608 }
26609 resultobj = result;
26610 return resultobj;
26611 fail:
26612 return NULL;
26613 }
26614
26615
26616 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26617 PyObject *resultobj;
26618 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26619 wxTreeItemId *arg2 = 0 ;
26620 wxTreeItemId result;
26621 PyObject * obj0 = 0 ;
26622 PyObject * obj1 = 0 ;
26623 char *kwnames[] = {
26624 (char *) "self",(char *) "item", NULL
26625 };
26626
26627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
26628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26630 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26631 SWIG_POINTER_EXCEPTION | 0)) == -1)
26632 SWIG_fail;
26633 if (arg2 == NULL) {
26634 PyErr_SetString(PyExc_TypeError,"null reference");
26635 SWIG_fail;
26636 }
26637 {
26638 PyThreadState* __tstate = wxPyBeginAllowThreads();
26639 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
26640
26641 wxPyEndAllowThreads(__tstate);
26642 if (PyErr_Occurred()) SWIG_fail;
26643 }
26644 {
26645 wxTreeItemId * resultptr;
26646 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26647 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26648 }
26649 return resultobj;
26650 fail:
26651 return NULL;
26652 }
26653
26654
26655 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26656 PyObject *resultobj;
26657 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26658 wxTreeItemId *arg2 = 0 ;
26659 PyObject *result;
26660 PyObject * obj0 = 0 ;
26661 PyObject * obj1 = 0 ;
26662 char *kwnames[] = {
26663 (char *) "self",(char *) "item", NULL
26664 };
26665
26666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
26667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26669 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26670 SWIG_POINTER_EXCEPTION | 0)) == -1)
26671 SWIG_fail;
26672 if (arg2 == NULL) {
26673 PyErr_SetString(PyExc_TypeError,"null reference");
26674 SWIG_fail;
26675 }
26676 {
26677 PyThreadState* __tstate = wxPyBeginAllowThreads();
26678 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
26679
26680 wxPyEndAllowThreads(__tstate);
26681 if (PyErr_Occurred()) SWIG_fail;
26682 }
26683 resultobj = result;
26684 return resultobj;
26685 fail:
26686 return NULL;
26687 }
26688
26689
26690 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26691 PyObject *resultobj;
26692 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26693 wxTreeItemId *arg2 = 0 ;
26694 void *arg3 = (void *) 0 ;
26695 PyObject *result;
26696 PyObject * obj0 = 0 ;
26697 PyObject * obj1 = 0 ;
26698 PyObject * obj2 = 0 ;
26699 char *kwnames[] = {
26700 (char *) "self",(char *) "item",(char *) "cookie", NULL
26701 };
26702
26703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
26704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26706 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26707 SWIG_POINTER_EXCEPTION | 0)) == -1)
26708 SWIG_fail;
26709 if (arg2 == NULL) {
26710 PyErr_SetString(PyExc_TypeError,"null reference");
26711 SWIG_fail;
26712 }
26713 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26714 {
26715 PyThreadState* __tstate = wxPyBeginAllowThreads();
26716 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
26717
26718 wxPyEndAllowThreads(__tstate);
26719 if (PyErr_Occurred()) SWIG_fail;
26720 }
26721 resultobj = result;
26722 return resultobj;
26723 fail:
26724 return NULL;
26725 }
26726
26727
26728 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26729 PyObject *resultobj;
26730 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26731 wxTreeItemId *arg2 = 0 ;
26732 wxTreeItemId result;
26733 PyObject * obj0 = 0 ;
26734 PyObject * obj1 = 0 ;
26735 char *kwnames[] = {
26736 (char *) "self",(char *) "item", NULL
26737 };
26738
26739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
26740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26742 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26743 SWIG_POINTER_EXCEPTION | 0)) == -1)
26744 SWIG_fail;
26745 if (arg2 == NULL) {
26746 PyErr_SetString(PyExc_TypeError,"null reference");
26747 SWIG_fail;
26748 }
26749 {
26750 PyThreadState* __tstate = wxPyBeginAllowThreads();
26751 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
26752
26753 wxPyEndAllowThreads(__tstate);
26754 if (PyErr_Occurred()) SWIG_fail;
26755 }
26756 {
26757 wxTreeItemId * resultptr;
26758 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26759 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26760 }
26761 return resultobj;
26762 fail:
26763 return NULL;
26764 }
26765
26766
26767 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
26768 PyObject *resultobj;
26769 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26770 wxTreeItemId *arg2 = 0 ;
26771 wxTreeItemId result;
26772 PyObject * obj0 = 0 ;
26773 PyObject * obj1 = 0 ;
26774 char *kwnames[] = {
26775 (char *) "self",(char *) "item", NULL
26776 };
26777
26778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
26779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26781 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26782 SWIG_POINTER_EXCEPTION | 0)) == -1)
26783 SWIG_fail;
26784 if (arg2 == NULL) {
26785 PyErr_SetString(PyExc_TypeError,"null reference");
26786 SWIG_fail;
26787 }
26788 {
26789 PyThreadState* __tstate = wxPyBeginAllowThreads();
26790 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
26791
26792 wxPyEndAllowThreads(__tstate);
26793 if (PyErr_Occurred()) SWIG_fail;
26794 }
26795 {
26796 wxTreeItemId * resultptr;
26797 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26798 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26799 }
26800 return resultobj;
26801 fail:
26802 return NULL;
26803 }
26804
26805
26806 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
26807 PyObject *resultobj;
26808 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26809 wxTreeItemId *arg2 = 0 ;
26810 wxTreeItemId result;
26811 PyObject * obj0 = 0 ;
26812 PyObject * obj1 = 0 ;
26813 char *kwnames[] = {
26814 (char *) "self",(char *) "item", NULL
26815 };
26816
26817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
26818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26820 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26821 SWIG_POINTER_EXCEPTION | 0)) == -1)
26822 SWIG_fail;
26823 if (arg2 == NULL) {
26824 PyErr_SetString(PyExc_TypeError,"null reference");
26825 SWIG_fail;
26826 }
26827 {
26828 PyThreadState* __tstate = wxPyBeginAllowThreads();
26829 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
26830
26831 wxPyEndAllowThreads(__tstate);
26832 if (PyErr_Occurred()) SWIG_fail;
26833 }
26834 {
26835 wxTreeItemId * resultptr;
26836 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26837 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26838 }
26839 return resultobj;
26840 fail:
26841 return NULL;
26842 }
26843
26844
26845 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26846 PyObject *resultobj;
26847 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26848 wxTreeItemId result;
26849 PyObject * obj0 = 0 ;
26850 char *kwnames[] = {
26851 (char *) "self", NULL
26852 };
26853
26854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
26855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26857 {
26858 PyThreadState* __tstate = wxPyBeginAllowThreads();
26859 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
26860
26861 wxPyEndAllowThreads(__tstate);
26862 if (PyErr_Occurred()) SWIG_fail;
26863 }
26864 {
26865 wxTreeItemId * resultptr;
26866 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26867 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26868 }
26869 return resultobj;
26870 fail:
26871 return NULL;
26872 }
26873
26874
26875 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26876 PyObject *resultobj;
26877 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26878 wxTreeItemId *arg2 = 0 ;
26879 wxTreeItemId result;
26880 PyObject * obj0 = 0 ;
26881 PyObject * obj1 = 0 ;
26882 char *kwnames[] = {
26883 (char *) "self",(char *) "item", NULL
26884 };
26885
26886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
26887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26889 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26890 SWIG_POINTER_EXCEPTION | 0)) == -1)
26891 SWIG_fail;
26892 if (arg2 == NULL) {
26893 PyErr_SetString(PyExc_TypeError,"null reference");
26894 SWIG_fail;
26895 }
26896 {
26897 PyThreadState* __tstate = wxPyBeginAllowThreads();
26898 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
26899
26900 wxPyEndAllowThreads(__tstate);
26901 if (PyErr_Occurred()) SWIG_fail;
26902 }
26903 {
26904 wxTreeItemId * resultptr;
26905 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26906 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26907 }
26908 return resultobj;
26909 fail:
26910 return NULL;
26911 }
26912
26913
26914 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26915 PyObject *resultobj;
26916 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26917 wxTreeItemId *arg2 = 0 ;
26918 wxTreeItemId result;
26919 PyObject * obj0 = 0 ;
26920 PyObject * obj1 = 0 ;
26921 char *kwnames[] = {
26922 (char *) "self",(char *) "item", NULL
26923 };
26924
26925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
26926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26928 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26929 SWIG_POINTER_EXCEPTION | 0)) == -1)
26930 SWIG_fail;
26931 if (arg2 == NULL) {
26932 PyErr_SetString(PyExc_TypeError,"null reference");
26933 SWIG_fail;
26934 }
26935 {
26936 PyThreadState* __tstate = wxPyBeginAllowThreads();
26937 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
26938
26939 wxPyEndAllowThreads(__tstate);
26940 if (PyErr_Occurred()) SWIG_fail;
26941 }
26942 {
26943 wxTreeItemId * resultptr;
26944 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26945 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26946 }
26947 return resultobj;
26948 fail:
26949 return NULL;
26950 }
26951
26952
26953 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
26954 PyObject *resultobj;
26955 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26956 wxString *arg2 = 0 ;
26957 int arg3 = (int) -1 ;
26958 int arg4 = (int) -1 ;
26959 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
26960 wxTreeItemId result;
26961 bool temp2 = False ;
26962 PyObject * obj0 = 0 ;
26963 PyObject * obj1 = 0 ;
26964 PyObject * obj2 = 0 ;
26965 PyObject * obj3 = 0 ;
26966 PyObject * obj4 = 0 ;
26967 char *kwnames[] = {
26968 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26969 };
26970
26971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26974 {
26975 arg2 = wxString_in_helper(obj1);
26976 if (arg2 == NULL) SWIG_fail;
26977 temp2 = True;
26978 }
26979 if (obj2) {
26980 arg3 = (int) SWIG_AsInt(obj2);
26981 if (PyErr_Occurred()) SWIG_fail;
26982 }
26983 if (obj3) {
26984 arg4 = (int) SWIG_AsInt(obj3);
26985 if (PyErr_Occurred()) SWIG_fail;
26986 }
26987 if (obj4) {
26988 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
26989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26990 }
26991 {
26992 PyThreadState* __tstate = wxPyBeginAllowThreads();
26993 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
26994
26995 wxPyEndAllowThreads(__tstate);
26996 if (PyErr_Occurred()) SWIG_fail;
26997 }
26998 {
26999 wxTreeItemId * resultptr;
27000 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27001 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27002 }
27003 {
27004 if (temp2)
27005 delete arg2;
27006 }
27007 return resultobj;
27008 fail:
27009 {
27010 if (temp2)
27011 delete arg2;
27012 }
27013 return NULL;
27014 }
27015
27016
27017 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27018 PyObject *resultobj;
27019 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27020 wxTreeItemId *arg2 = 0 ;
27021 wxString *arg3 = 0 ;
27022 int arg4 = (int) -1 ;
27023 int arg5 = (int) -1 ;
27024 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27025 wxTreeItemId result;
27026 bool temp3 = False ;
27027 PyObject * obj0 = 0 ;
27028 PyObject * obj1 = 0 ;
27029 PyObject * obj2 = 0 ;
27030 PyObject * obj3 = 0 ;
27031 PyObject * obj4 = 0 ;
27032 PyObject * obj5 = 0 ;
27033 char *kwnames[] = {
27034 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27035 };
27036
27037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27040 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27041 SWIG_POINTER_EXCEPTION | 0)) == -1)
27042 SWIG_fail;
27043 if (arg2 == NULL) {
27044 PyErr_SetString(PyExc_TypeError,"null reference");
27045 SWIG_fail;
27046 }
27047 {
27048 arg3 = wxString_in_helper(obj2);
27049 if (arg3 == NULL) SWIG_fail;
27050 temp3 = True;
27051 }
27052 if (obj3) {
27053 arg4 = (int) SWIG_AsInt(obj3);
27054 if (PyErr_Occurred()) SWIG_fail;
27055 }
27056 if (obj4) {
27057 arg5 = (int) SWIG_AsInt(obj4);
27058 if (PyErr_Occurred()) SWIG_fail;
27059 }
27060 if (obj5) {
27061 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27063 }
27064 {
27065 PyThreadState* __tstate = wxPyBeginAllowThreads();
27066 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27067
27068 wxPyEndAllowThreads(__tstate);
27069 if (PyErr_Occurred()) SWIG_fail;
27070 }
27071 {
27072 wxTreeItemId * resultptr;
27073 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27074 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27075 }
27076 {
27077 if (temp3)
27078 delete arg3;
27079 }
27080 return resultobj;
27081 fail:
27082 {
27083 if (temp3)
27084 delete arg3;
27085 }
27086 return NULL;
27087 }
27088
27089
27090 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27091 PyObject *resultobj;
27092 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27093 wxTreeItemId *arg2 = 0 ;
27094 wxTreeItemId *arg3 = 0 ;
27095 wxString *arg4 = 0 ;
27096 int arg5 = (int) -1 ;
27097 int arg6 = (int) -1 ;
27098 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
27099 wxTreeItemId result;
27100 bool temp4 = False ;
27101 PyObject * obj0 = 0 ;
27102 PyObject * obj1 = 0 ;
27103 PyObject * obj2 = 0 ;
27104 PyObject * obj3 = 0 ;
27105 PyObject * obj4 = 0 ;
27106 PyObject * obj5 = 0 ;
27107 PyObject * obj6 = 0 ;
27108 char *kwnames[] = {
27109 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27110 };
27111
27112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27115 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27116 SWIG_POINTER_EXCEPTION | 0)) == -1)
27117 SWIG_fail;
27118 if (arg2 == NULL) {
27119 PyErr_SetString(PyExc_TypeError,"null reference");
27120 SWIG_fail;
27121 }
27122 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
27123 SWIG_POINTER_EXCEPTION | 0)) == -1)
27124 SWIG_fail;
27125 if (arg3 == NULL) {
27126 PyErr_SetString(PyExc_TypeError,"null reference");
27127 SWIG_fail;
27128 }
27129 {
27130 arg4 = wxString_in_helper(obj3);
27131 if (arg4 == NULL) SWIG_fail;
27132 temp4 = True;
27133 }
27134 if (obj4) {
27135 arg5 = (int) SWIG_AsInt(obj4);
27136 if (PyErr_Occurred()) SWIG_fail;
27137 }
27138 if (obj5) {
27139 arg6 = (int) SWIG_AsInt(obj5);
27140 if (PyErr_Occurred()) SWIG_fail;
27141 }
27142 if (obj6) {
27143 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27145 }
27146 {
27147 PyThreadState* __tstate = wxPyBeginAllowThreads();
27148 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27149
27150 wxPyEndAllowThreads(__tstate);
27151 if (PyErr_Occurred()) SWIG_fail;
27152 }
27153 {
27154 wxTreeItemId * resultptr;
27155 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27156 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27157 }
27158 {
27159 if (temp4)
27160 delete arg4;
27161 }
27162 return resultobj;
27163 fail:
27164 {
27165 if (temp4)
27166 delete arg4;
27167 }
27168 return NULL;
27169 }
27170
27171
27172 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
27173 PyObject *resultobj;
27174 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27175 wxTreeItemId *arg2 = 0 ;
27176 size_t arg3 ;
27177 wxString *arg4 = 0 ;
27178 int arg5 = (int) -1 ;
27179 int arg6 = (int) -1 ;
27180 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
27181 wxTreeItemId result;
27182 bool temp4 = False ;
27183 PyObject * obj0 = 0 ;
27184 PyObject * obj1 = 0 ;
27185 PyObject * obj2 = 0 ;
27186 PyObject * obj3 = 0 ;
27187 PyObject * obj4 = 0 ;
27188 PyObject * obj5 = 0 ;
27189 PyObject * obj6 = 0 ;
27190 char *kwnames[] = {
27191 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27192 };
27193
27194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27197 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27198 SWIG_POINTER_EXCEPTION | 0)) == -1)
27199 SWIG_fail;
27200 if (arg2 == NULL) {
27201 PyErr_SetString(PyExc_TypeError,"null reference");
27202 SWIG_fail;
27203 }
27204 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
27205 if (PyErr_Occurred()) SWIG_fail;
27206 {
27207 arg4 = wxString_in_helper(obj3);
27208 if (arg4 == NULL) SWIG_fail;
27209 temp4 = True;
27210 }
27211 if (obj4) {
27212 arg5 = (int) SWIG_AsInt(obj4);
27213 if (PyErr_Occurred()) SWIG_fail;
27214 }
27215 if (obj5) {
27216 arg6 = (int) SWIG_AsInt(obj5);
27217 if (PyErr_Occurred()) SWIG_fail;
27218 }
27219 if (obj6) {
27220 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27222 }
27223 {
27224 PyThreadState* __tstate = wxPyBeginAllowThreads();
27225 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27226
27227 wxPyEndAllowThreads(__tstate);
27228 if (PyErr_Occurred()) SWIG_fail;
27229 }
27230 {
27231 wxTreeItemId * resultptr;
27232 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27233 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27234 }
27235 {
27236 if (temp4)
27237 delete arg4;
27238 }
27239 return resultobj;
27240 fail:
27241 {
27242 if (temp4)
27243 delete arg4;
27244 }
27245 return NULL;
27246 }
27247
27248
27249 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27250 PyObject *resultobj;
27251 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27252 wxTreeItemId *arg2 = 0 ;
27253 wxString *arg3 = 0 ;
27254 int arg4 = (int) -1 ;
27255 int arg5 = (int) -1 ;
27256 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27257 wxTreeItemId result;
27258 bool temp3 = False ;
27259 PyObject * obj0 = 0 ;
27260 PyObject * obj1 = 0 ;
27261 PyObject * obj2 = 0 ;
27262 PyObject * obj3 = 0 ;
27263 PyObject * obj4 = 0 ;
27264 PyObject * obj5 = 0 ;
27265 char *kwnames[] = {
27266 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27267 };
27268
27269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27272 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27273 SWIG_POINTER_EXCEPTION | 0)) == -1)
27274 SWIG_fail;
27275 if (arg2 == NULL) {
27276 PyErr_SetString(PyExc_TypeError,"null reference");
27277 SWIG_fail;
27278 }
27279 {
27280 arg3 = wxString_in_helper(obj2);
27281 if (arg3 == NULL) SWIG_fail;
27282 temp3 = True;
27283 }
27284 if (obj3) {
27285 arg4 = (int) SWIG_AsInt(obj3);
27286 if (PyErr_Occurred()) SWIG_fail;
27287 }
27288 if (obj4) {
27289 arg5 = (int) SWIG_AsInt(obj4);
27290 if (PyErr_Occurred()) SWIG_fail;
27291 }
27292 if (obj5) {
27293 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27295 }
27296 {
27297 PyThreadState* __tstate = wxPyBeginAllowThreads();
27298 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27299
27300 wxPyEndAllowThreads(__tstate);
27301 if (PyErr_Occurred()) SWIG_fail;
27302 }
27303 {
27304 wxTreeItemId * resultptr;
27305 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27306 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27307 }
27308 {
27309 if (temp3)
27310 delete arg3;
27311 }
27312 return resultobj;
27313 fail:
27314 {
27315 if (temp3)
27316 delete arg3;
27317 }
27318 return NULL;
27319 }
27320
27321
27322 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
27323 PyObject *resultobj;
27324 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27325 wxTreeItemId *arg2 = 0 ;
27326 PyObject * obj0 = 0 ;
27327 PyObject * obj1 = 0 ;
27328 char *kwnames[] = {
27329 (char *) "self",(char *) "item", NULL
27330 };
27331
27332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
27333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27335 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27336 SWIG_POINTER_EXCEPTION | 0)) == -1)
27337 SWIG_fail;
27338 if (arg2 == NULL) {
27339 PyErr_SetString(PyExc_TypeError,"null reference");
27340 SWIG_fail;
27341 }
27342 {
27343 PyThreadState* __tstate = wxPyBeginAllowThreads();
27344 (arg1)->Delete((wxTreeItemId const &)*arg2);
27345
27346 wxPyEndAllowThreads(__tstate);
27347 if (PyErr_Occurred()) SWIG_fail;
27348 }
27349 Py_INCREF(Py_None); resultobj = Py_None;
27350 return resultobj;
27351 fail:
27352 return NULL;
27353 }
27354
27355
27356 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
27357 PyObject *resultobj;
27358 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27359 wxTreeItemId *arg2 = 0 ;
27360 PyObject * obj0 = 0 ;
27361 PyObject * obj1 = 0 ;
27362 char *kwnames[] = {
27363 (char *) "self",(char *) "item", NULL
27364 };
27365
27366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
27367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27369 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27370 SWIG_POINTER_EXCEPTION | 0)) == -1)
27371 SWIG_fail;
27372 if (arg2 == NULL) {
27373 PyErr_SetString(PyExc_TypeError,"null reference");
27374 SWIG_fail;
27375 }
27376 {
27377 PyThreadState* __tstate = wxPyBeginAllowThreads();
27378 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
27379
27380 wxPyEndAllowThreads(__tstate);
27381 if (PyErr_Occurred()) SWIG_fail;
27382 }
27383 Py_INCREF(Py_None); resultobj = Py_None;
27384 return resultobj;
27385 fail:
27386 return NULL;
27387 }
27388
27389
27390 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
27391 PyObject *resultobj;
27392 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27393 PyObject * obj0 = 0 ;
27394 char *kwnames[] = {
27395 (char *) "self", NULL
27396 };
27397
27398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
27399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27401 {
27402 PyThreadState* __tstate = wxPyBeginAllowThreads();
27403 (arg1)->DeleteAllItems();
27404
27405 wxPyEndAllowThreads(__tstate);
27406 if (PyErr_Occurred()) SWIG_fail;
27407 }
27408 Py_INCREF(Py_None); resultobj = Py_None;
27409 return resultobj;
27410 fail:
27411 return NULL;
27412 }
27413
27414
27415 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
27416 PyObject *resultobj;
27417 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27418 wxTreeItemId *arg2 = 0 ;
27419 PyObject * obj0 = 0 ;
27420 PyObject * obj1 = 0 ;
27421 char *kwnames[] = {
27422 (char *) "self",(char *) "item", NULL
27423 };
27424
27425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
27426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27428 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27429 SWIG_POINTER_EXCEPTION | 0)) == -1)
27430 SWIG_fail;
27431 if (arg2 == NULL) {
27432 PyErr_SetString(PyExc_TypeError,"null reference");
27433 SWIG_fail;
27434 }
27435 {
27436 PyThreadState* __tstate = wxPyBeginAllowThreads();
27437 (arg1)->Expand((wxTreeItemId const &)*arg2);
27438
27439 wxPyEndAllowThreads(__tstate);
27440 if (PyErr_Occurred()) SWIG_fail;
27441 }
27442 Py_INCREF(Py_None); resultobj = Py_None;
27443 return resultobj;
27444 fail:
27445 return NULL;
27446 }
27447
27448
27449 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
27450 PyObject *resultobj;
27451 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27452 wxTreeItemId *arg2 = 0 ;
27453 PyObject * obj0 = 0 ;
27454 PyObject * obj1 = 0 ;
27455 char *kwnames[] = {
27456 (char *) "self",(char *) "item", NULL
27457 };
27458
27459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
27460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27463 SWIG_POINTER_EXCEPTION | 0)) == -1)
27464 SWIG_fail;
27465 if (arg2 == NULL) {
27466 PyErr_SetString(PyExc_TypeError,"null reference");
27467 SWIG_fail;
27468 }
27469 {
27470 PyThreadState* __tstate = wxPyBeginAllowThreads();
27471 (arg1)->Collapse((wxTreeItemId const &)*arg2);
27472
27473 wxPyEndAllowThreads(__tstate);
27474 if (PyErr_Occurred()) SWIG_fail;
27475 }
27476 Py_INCREF(Py_None); resultobj = Py_None;
27477 return resultobj;
27478 fail:
27479 return NULL;
27480 }
27481
27482
27483 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
27484 PyObject *resultobj;
27485 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27486 wxTreeItemId *arg2 = 0 ;
27487 PyObject * obj0 = 0 ;
27488 PyObject * obj1 = 0 ;
27489 char *kwnames[] = {
27490 (char *) "self",(char *) "item", NULL
27491 };
27492
27493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
27494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27496 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27497 SWIG_POINTER_EXCEPTION | 0)) == -1)
27498 SWIG_fail;
27499 if (arg2 == NULL) {
27500 PyErr_SetString(PyExc_TypeError,"null reference");
27501 SWIG_fail;
27502 }
27503 {
27504 PyThreadState* __tstate = wxPyBeginAllowThreads();
27505 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
27506
27507 wxPyEndAllowThreads(__tstate);
27508 if (PyErr_Occurred()) SWIG_fail;
27509 }
27510 Py_INCREF(Py_None); resultobj = Py_None;
27511 return resultobj;
27512 fail:
27513 return NULL;
27514 }
27515
27516
27517 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
27518 PyObject *resultobj;
27519 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27520 wxTreeItemId *arg2 = 0 ;
27521 PyObject * obj0 = 0 ;
27522 PyObject * obj1 = 0 ;
27523 char *kwnames[] = {
27524 (char *) "self",(char *) "item", NULL
27525 };
27526
27527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
27528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27530 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27531 SWIG_POINTER_EXCEPTION | 0)) == -1)
27532 SWIG_fail;
27533 if (arg2 == NULL) {
27534 PyErr_SetString(PyExc_TypeError,"null reference");
27535 SWIG_fail;
27536 }
27537 {
27538 PyThreadState* __tstate = wxPyBeginAllowThreads();
27539 (arg1)->Toggle((wxTreeItemId const &)*arg2);
27540
27541 wxPyEndAllowThreads(__tstate);
27542 if (PyErr_Occurred()) SWIG_fail;
27543 }
27544 Py_INCREF(Py_None); resultobj = Py_None;
27545 return resultobj;
27546 fail:
27547 return NULL;
27548 }
27549
27550
27551 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
27552 PyObject *resultobj;
27553 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27554 PyObject * obj0 = 0 ;
27555 char *kwnames[] = {
27556 (char *) "self", NULL
27557 };
27558
27559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
27560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27562 {
27563 PyThreadState* __tstate = wxPyBeginAllowThreads();
27564 (arg1)->Unselect();
27565
27566 wxPyEndAllowThreads(__tstate);
27567 if (PyErr_Occurred()) SWIG_fail;
27568 }
27569 Py_INCREF(Py_None); resultobj = Py_None;
27570 return resultobj;
27571 fail:
27572 return NULL;
27573 }
27574
27575
27576 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27577 PyObject *resultobj;
27578 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27579 wxTreeItemId *arg2 = 0 ;
27580 PyObject * obj0 = 0 ;
27581 PyObject * obj1 = 0 ;
27582 char *kwnames[] = {
27583 (char *) "self",(char *) "item", NULL
27584 };
27585
27586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
27587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27589 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27590 SWIG_POINTER_EXCEPTION | 0)) == -1)
27591 SWIG_fail;
27592 if (arg2 == NULL) {
27593 PyErr_SetString(PyExc_TypeError,"null reference");
27594 SWIG_fail;
27595 }
27596 {
27597 PyThreadState* __tstate = wxPyBeginAllowThreads();
27598 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
27599
27600 wxPyEndAllowThreads(__tstate);
27601 if (PyErr_Occurred()) SWIG_fail;
27602 }
27603 Py_INCREF(Py_None); resultobj = Py_None;
27604 return resultobj;
27605 fail:
27606 return NULL;
27607 }
27608
27609
27610 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
27611 PyObject *resultobj;
27612 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27613 PyObject * obj0 = 0 ;
27614 char *kwnames[] = {
27615 (char *) "self", NULL
27616 };
27617
27618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
27619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27621 {
27622 PyThreadState* __tstate = wxPyBeginAllowThreads();
27623 (arg1)->UnselectAll();
27624
27625 wxPyEndAllowThreads(__tstate);
27626 if (PyErr_Occurred()) SWIG_fail;
27627 }
27628 Py_INCREF(Py_None); resultobj = Py_None;
27629 return resultobj;
27630 fail:
27631 return NULL;
27632 }
27633
27634
27635 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27636 PyObject *resultobj;
27637 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27638 wxTreeItemId *arg2 = 0 ;
27639 bool arg3 = (bool) True ;
27640 PyObject * obj0 = 0 ;
27641 PyObject * obj1 = 0 ;
27642 PyObject * obj2 = 0 ;
27643 char *kwnames[] = {
27644 (char *) "self",(char *) "item",(char *) "select", NULL
27645 };
27646
27647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
27648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27650 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27651 SWIG_POINTER_EXCEPTION | 0)) == -1)
27652 SWIG_fail;
27653 if (arg2 == NULL) {
27654 PyErr_SetString(PyExc_TypeError,"null reference");
27655 SWIG_fail;
27656 }
27657 if (obj2) {
27658 arg3 = (bool) SWIG_AsBool(obj2);
27659 if (PyErr_Occurred()) SWIG_fail;
27660 }
27661 {
27662 PyThreadState* __tstate = wxPyBeginAllowThreads();
27663 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
27664
27665 wxPyEndAllowThreads(__tstate);
27666 if (PyErr_Occurred()) SWIG_fail;
27667 }
27668 Py_INCREF(Py_None); resultobj = Py_None;
27669 return resultobj;
27670 fail:
27671 return NULL;
27672 }
27673
27674
27675 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
27676 PyObject *resultobj;
27677 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27678 wxTreeItemId *arg2 = 0 ;
27679 PyObject * obj0 = 0 ;
27680 PyObject * obj1 = 0 ;
27681 char *kwnames[] = {
27682 (char *) "self",(char *) "item", NULL
27683 };
27684
27685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
27686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27688 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27689 SWIG_POINTER_EXCEPTION | 0)) == -1)
27690 SWIG_fail;
27691 if (arg2 == NULL) {
27692 PyErr_SetString(PyExc_TypeError,"null reference");
27693 SWIG_fail;
27694 }
27695 {
27696 PyThreadState* __tstate = wxPyBeginAllowThreads();
27697 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
27698
27699 wxPyEndAllowThreads(__tstate);
27700 if (PyErr_Occurred()) SWIG_fail;
27701 }
27702 Py_INCREF(Py_None); resultobj = Py_None;
27703 return resultobj;
27704 fail:
27705 return NULL;
27706 }
27707
27708
27709 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
27710 PyObject *resultobj;
27711 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27712 wxTreeItemId *arg2 = 0 ;
27713 PyObject * obj0 = 0 ;
27714 PyObject * obj1 = 0 ;
27715 char *kwnames[] = {
27716 (char *) "self",(char *) "item", NULL
27717 };
27718
27719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
27720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27722 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27723 SWIG_POINTER_EXCEPTION | 0)) == -1)
27724 SWIG_fail;
27725 if (arg2 == NULL) {
27726 PyErr_SetString(PyExc_TypeError,"null reference");
27727 SWIG_fail;
27728 }
27729 {
27730 PyThreadState* __tstate = wxPyBeginAllowThreads();
27731 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
27732
27733 wxPyEndAllowThreads(__tstate);
27734 if (PyErr_Occurred()) SWIG_fail;
27735 }
27736 Py_INCREF(Py_None); resultobj = Py_None;
27737 return resultobj;
27738 fail:
27739 return NULL;
27740 }
27741
27742
27743 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
27744 PyObject *resultobj;
27745 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27746 wxTreeItemId *arg2 = 0 ;
27747 PyObject * obj0 = 0 ;
27748 PyObject * obj1 = 0 ;
27749 char *kwnames[] = {
27750 (char *) "self",(char *) "item", NULL
27751 };
27752
27753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
27754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27756 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27757 SWIG_POINTER_EXCEPTION | 0)) == -1)
27758 SWIG_fail;
27759 if (arg2 == NULL) {
27760 PyErr_SetString(PyExc_TypeError,"null reference");
27761 SWIG_fail;
27762 }
27763 {
27764 PyThreadState* __tstate = wxPyBeginAllowThreads();
27765 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
27766
27767 wxPyEndAllowThreads(__tstate);
27768 if (PyErr_Occurred()) SWIG_fail;
27769 }
27770 Py_INCREF(Py_None); resultobj = Py_None;
27771 return resultobj;
27772 fail:
27773 return NULL;
27774 }
27775
27776
27777 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27778 PyObject *resultobj;
27779 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27780 wxTreeItemId *arg2 = 0 ;
27781 PyObject * obj0 = 0 ;
27782 PyObject * obj1 = 0 ;
27783 char *kwnames[] = {
27784 (char *) "self",(char *) "item", NULL
27785 };
27786
27787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
27788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27790 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27791 SWIG_POINTER_EXCEPTION | 0)) == -1)
27792 SWIG_fail;
27793 if (arg2 == NULL) {
27794 PyErr_SetString(PyExc_TypeError,"null reference");
27795 SWIG_fail;
27796 }
27797 {
27798 PyThreadState* __tstate = wxPyBeginAllowThreads();
27799 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
27800
27801 wxPyEndAllowThreads(__tstate);
27802 if (PyErr_Occurred()) SWIG_fail;
27803 }
27804 Py_INCREF(Py_None); resultobj = Py_None;
27805 return resultobj;
27806 fail:
27807 return NULL;
27808 }
27809
27810
27811 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27812 PyObject *resultobj;
27813 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27814 wxTextCtrl *result;
27815 PyObject * obj0 = 0 ;
27816 char *kwnames[] = {
27817 (char *) "self", NULL
27818 };
27819
27820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
27821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27823 {
27824 PyThreadState* __tstate = wxPyBeginAllowThreads();
27825 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
27826
27827 wxPyEndAllowThreads(__tstate);
27828 if (PyErr_Occurred()) SWIG_fail;
27829 }
27830 {
27831 resultobj = wxPyMake_wxObject(result, 0);
27832 }
27833 return resultobj;
27834 fail:
27835 return NULL;
27836 }
27837
27838
27839 static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27840 PyObject *resultobj;
27841 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27842 wxTreeItemId *arg2 = 0 ;
27843 bool arg3 = (bool) False ;
27844 PyObject * obj0 = 0 ;
27845 PyObject * obj1 = 0 ;
27846 PyObject * obj2 = 0 ;
27847 char *kwnames[] = {
27848 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
27849 };
27850
27851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
27852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27854 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27855 SWIG_POINTER_EXCEPTION | 0)) == -1)
27856 SWIG_fail;
27857 if (arg2 == NULL) {
27858 PyErr_SetString(PyExc_TypeError,"null reference");
27859 SWIG_fail;
27860 }
27861 if (obj2) {
27862 arg3 = (bool) SWIG_AsBool(obj2);
27863 if (PyErr_Occurred()) SWIG_fail;
27864 }
27865 {
27866 PyThreadState* __tstate = wxPyBeginAllowThreads();
27867 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
27868
27869 wxPyEndAllowThreads(__tstate);
27870 if (PyErr_Occurred()) SWIG_fail;
27871 }
27872 Py_INCREF(Py_None); resultobj = Py_None;
27873 return resultobj;
27874 fail:
27875 return NULL;
27876 }
27877
27878
27879 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
27880 PyObject *resultobj;
27881 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27882 wxTreeItemId *arg2 = 0 ;
27883 PyObject * obj0 = 0 ;
27884 PyObject * obj1 = 0 ;
27885 char *kwnames[] = {
27886 (char *) "self",(char *) "item", NULL
27887 };
27888
27889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
27890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27892 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27893 SWIG_POINTER_EXCEPTION | 0)) == -1)
27894 SWIG_fail;
27895 if (arg2 == NULL) {
27896 PyErr_SetString(PyExc_TypeError,"null reference");
27897 SWIG_fail;
27898 }
27899 {
27900 PyThreadState* __tstate = wxPyBeginAllowThreads();
27901 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
27902
27903 wxPyEndAllowThreads(__tstate);
27904 if (PyErr_Occurred()) SWIG_fail;
27905 }
27906 Py_INCREF(Py_None); resultobj = Py_None;
27907 return resultobj;
27908 fail:
27909 return NULL;
27910 }
27911
27912
27913 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
27914 PyObject *resultobj;
27915 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27916 wxPoint *arg2 = 0 ;
27917 int *arg3 = 0 ;
27918 wxTreeItemId result;
27919 wxPoint temp2 ;
27920 int temp3 ;
27921 PyObject * obj0 = 0 ;
27922 PyObject * obj1 = 0 ;
27923 char *kwnames[] = {
27924 (char *) "self",(char *) "point", NULL
27925 };
27926
27927 arg3 = &temp3;
27928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
27929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27931 {
27932 arg2 = &temp2;
27933 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27934 }
27935 {
27936 PyThreadState* __tstate = wxPyBeginAllowThreads();
27937 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
27938
27939 wxPyEndAllowThreads(__tstate);
27940 if (PyErr_Occurred()) SWIG_fail;
27941 }
27942 {
27943 wxTreeItemId * resultptr;
27944 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27945 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27946 }
27947 {
27948 PyObject *o = PyInt_FromLong((long) (*arg3));
27949 resultobj = t_output_helper(resultobj,o);
27950 }
27951 return resultobj;
27952 fail:
27953 return NULL;
27954 }
27955
27956
27957 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
27958 PyObject *resultobj;
27959 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27960 wxTreeItemId *arg2 = 0 ;
27961 bool arg3 = (bool) False ;
27962 PyObject *result;
27963 PyObject * obj0 = 0 ;
27964 PyObject * obj1 = 0 ;
27965 PyObject * obj2 = 0 ;
27966 char *kwnames[] = {
27967 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27968 };
27969
27970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
27971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27974 SWIG_POINTER_EXCEPTION | 0)) == -1)
27975 SWIG_fail;
27976 if (arg2 == NULL) {
27977 PyErr_SetString(PyExc_TypeError,"null reference");
27978 SWIG_fail;
27979 }
27980 if (obj2) {
27981 arg3 = (bool) SWIG_AsBool(obj2);
27982 if (PyErr_Occurred()) SWIG_fail;
27983 }
27984 {
27985 PyThreadState* __tstate = wxPyBeginAllowThreads();
27986 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
27987
27988 wxPyEndAllowThreads(__tstate);
27989 if (PyErr_Occurred()) SWIG_fail;
27990 }
27991 resultobj = result;
27992 return resultobj;
27993 fail:
27994 return NULL;
27995 }
27996
27997
27998 static PyObject *_wrap_TreeCtrl_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
27999 PyObject *resultobj;
28000 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28001 wxTreeItemId *arg2 = 0 ;
28002 int arg3 ;
28003 PyObject * obj0 = 0 ;
28004 PyObject * obj1 = 0 ;
28005 PyObject * obj2 = 0 ;
28006 char *kwnames[] = {
28007 (char *) "self",(char *) "node",(char *) "state", NULL
28008 };
28009
28010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) goto fail;
28011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28013 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28014 SWIG_POINTER_EXCEPTION | 0)) == -1)
28015 SWIG_fail;
28016 if (arg2 == NULL) {
28017 PyErr_SetString(PyExc_TypeError,"null reference");
28018 SWIG_fail;
28019 }
28020 arg3 = (int) SWIG_AsInt(obj2);
28021 if (PyErr_Occurred()) SWIG_fail;
28022 {
28023 PyThreadState* __tstate = wxPyBeginAllowThreads();
28024 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
28025
28026 wxPyEndAllowThreads(__tstate);
28027 if (PyErr_Occurred()) SWIG_fail;
28028 }
28029 Py_INCREF(Py_None); resultobj = Py_None;
28030 return resultobj;
28031 fail:
28032 return NULL;
28033 }
28034
28035
28036 static PyObject *_wrap_TreeCtrl_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
28037 PyObject *resultobj;
28038 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28039 wxTreeItemId *arg2 = 0 ;
28040 int result;
28041 PyObject * obj0 = 0 ;
28042 PyObject * obj1 = 0 ;
28043 char *kwnames[] = {
28044 (char *) "self",(char *) "node", NULL
28045 };
28046
28047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) goto fail;
28048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28050 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28051 SWIG_POINTER_EXCEPTION | 0)) == -1)
28052 SWIG_fail;
28053 if (arg2 == NULL) {
28054 PyErr_SetString(PyExc_TypeError,"null reference");
28055 SWIG_fail;
28056 }
28057 {
28058 PyThreadState* __tstate = wxPyBeginAllowThreads();
28059 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
28060
28061 wxPyEndAllowThreads(__tstate);
28062 if (PyErr_Occurred()) SWIG_fail;
28063 }
28064 resultobj = SWIG_FromInt((int)result);
28065 return resultobj;
28066 fail:
28067 return NULL;
28068 }
28069
28070
28071 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
28072 PyObject *resultobj;
28073 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
28074 wxVisualAttributes result;
28075 PyObject * obj0 = 0 ;
28076 char *kwnames[] = {
28077 (char *) "variant", NULL
28078 };
28079
28080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
28081 if (obj0) {
28082 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
28083 if (PyErr_Occurred()) SWIG_fail;
28084 }
28085 {
28086 if (!wxPyCheckForApp()) SWIG_fail;
28087 PyThreadState* __tstate = wxPyBeginAllowThreads();
28088 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
28089
28090 wxPyEndAllowThreads(__tstate);
28091 if (PyErr_Occurred()) SWIG_fail;
28092 }
28093 {
28094 wxVisualAttributes * resultptr;
28095 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
28096 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
28097 }
28098 return resultobj;
28099 fail:
28100 return NULL;
28101 }
28102
28103
28104 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
28105 PyObject *obj;
28106 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28107 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
28108 Py_INCREF(obj);
28109 return Py_BuildValue((char *)"");
28110 }
28111 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
28112 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
28113 return 1;
28114 }
28115
28116
28117 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
28118 PyObject *pyobj;
28119
28120 {
28121 #if wxUSE_UNICODE
28122 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
28123 #else
28124 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
28125 #endif
28126 }
28127 return pyobj;
28128 }
28129
28130
28131 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28132 PyObject *resultobj;
28133 wxWindow *arg1 = (wxWindow *) 0 ;
28134 int arg2 = (int) (int)-1 ;
28135 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
28136 wxString *arg3 = (wxString *) &arg3_defvalue ;
28137 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28138 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28139 wxSize const &arg5_defvalue = wxDefaultSize ;
28140 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28141 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
28142 wxString const &arg7_defvalue = wxPyEmptyString ;
28143 wxString *arg7 = (wxString *) &arg7_defvalue ;
28144 int arg8 = (int) 0 ;
28145 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
28146 wxString *arg9 = (wxString *) &arg9_defvalue ;
28147 wxGenericDirCtrl *result;
28148 bool temp3 = False ;
28149 wxPoint temp4 ;
28150 wxSize temp5 ;
28151 bool temp7 = False ;
28152 bool temp9 = False ;
28153 PyObject * obj0 = 0 ;
28154 PyObject * obj1 = 0 ;
28155 PyObject * obj2 = 0 ;
28156 PyObject * obj3 = 0 ;
28157 PyObject * obj4 = 0 ;
28158 PyObject * obj5 = 0 ;
28159 PyObject * obj6 = 0 ;
28160 PyObject * obj7 = 0 ;
28161 PyObject * obj8 = 0 ;
28162 char *kwnames[] = {
28163 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28164 };
28165
28166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
28167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28169 if (obj1) {
28170 arg2 = (int const) SWIG_AsInt(obj1);
28171 if (PyErr_Occurred()) SWIG_fail;
28172 }
28173 if (obj2) {
28174 {
28175 arg3 = wxString_in_helper(obj2);
28176 if (arg3 == NULL) SWIG_fail;
28177 temp3 = True;
28178 }
28179 }
28180 if (obj3) {
28181 {
28182 arg4 = &temp4;
28183 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28184 }
28185 }
28186 if (obj4) {
28187 {
28188 arg5 = &temp5;
28189 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28190 }
28191 }
28192 if (obj5) {
28193 arg6 = (long) SWIG_AsLong(obj5);
28194 if (PyErr_Occurred()) SWIG_fail;
28195 }
28196 if (obj6) {
28197 {
28198 arg7 = wxString_in_helper(obj6);
28199 if (arg7 == NULL) SWIG_fail;
28200 temp7 = True;
28201 }
28202 }
28203 if (obj7) {
28204 arg8 = (int) SWIG_AsInt(obj7);
28205 if (PyErr_Occurred()) SWIG_fail;
28206 }
28207 if (obj8) {
28208 {
28209 arg9 = wxString_in_helper(obj8);
28210 if (arg9 == NULL) SWIG_fail;
28211 temp9 = True;
28212 }
28213 }
28214 {
28215 if (!wxPyCheckForApp()) SWIG_fail;
28216 PyThreadState* __tstate = wxPyBeginAllowThreads();
28217 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
28218
28219 wxPyEndAllowThreads(__tstate);
28220 if (PyErr_Occurred()) SWIG_fail;
28221 }
28222 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
28223 {
28224 if (temp3)
28225 delete arg3;
28226 }
28227 {
28228 if (temp7)
28229 delete arg7;
28230 }
28231 {
28232 if (temp9)
28233 delete arg9;
28234 }
28235 return resultobj;
28236 fail:
28237 {
28238 if (temp3)
28239 delete arg3;
28240 }
28241 {
28242 if (temp7)
28243 delete arg7;
28244 }
28245 {
28246 if (temp9)
28247 delete arg9;
28248 }
28249 return NULL;
28250 }
28251
28252
28253 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28254 PyObject *resultobj;
28255 wxGenericDirCtrl *result;
28256 char *kwnames[] = {
28257 NULL
28258 };
28259
28260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
28261 {
28262 if (!wxPyCheckForApp()) SWIG_fail;
28263 PyThreadState* __tstate = wxPyBeginAllowThreads();
28264 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
28265
28266 wxPyEndAllowThreads(__tstate);
28267 if (PyErr_Occurred()) SWIG_fail;
28268 }
28269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
28270 return resultobj;
28271 fail:
28272 return NULL;
28273 }
28274
28275
28276 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28277 PyObject *resultobj;
28278 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28279 wxWindow *arg2 = (wxWindow *) 0 ;
28280 int arg3 = (int) (int)-1 ;
28281 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
28282 wxString *arg4 = (wxString *) &arg4_defvalue ;
28283 wxPoint const &arg5_defvalue = wxDefaultPosition ;
28284 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
28285 wxSize const &arg6_defvalue = wxDefaultSize ;
28286 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
28287 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
28288 wxString const &arg8_defvalue = wxPyEmptyString ;
28289 wxString *arg8 = (wxString *) &arg8_defvalue ;
28290 int arg9 = (int) 0 ;
28291 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
28292 wxString *arg10 = (wxString *) &arg10_defvalue ;
28293 bool result;
28294 bool temp4 = False ;
28295 wxPoint temp5 ;
28296 wxSize temp6 ;
28297 bool temp8 = False ;
28298 bool temp10 = False ;
28299 PyObject * obj0 = 0 ;
28300 PyObject * obj1 = 0 ;
28301 PyObject * obj2 = 0 ;
28302 PyObject * obj3 = 0 ;
28303 PyObject * obj4 = 0 ;
28304 PyObject * obj5 = 0 ;
28305 PyObject * obj6 = 0 ;
28306 PyObject * obj7 = 0 ;
28307 PyObject * obj8 = 0 ;
28308 PyObject * obj9 = 0 ;
28309 char *kwnames[] = {
28310 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28311 };
28312
28313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
28314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28316 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28318 if (obj2) {
28319 arg3 = (int const) SWIG_AsInt(obj2);
28320 if (PyErr_Occurred()) SWIG_fail;
28321 }
28322 if (obj3) {
28323 {
28324 arg4 = wxString_in_helper(obj3);
28325 if (arg4 == NULL) SWIG_fail;
28326 temp4 = True;
28327 }
28328 }
28329 if (obj4) {
28330 {
28331 arg5 = &temp5;
28332 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
28333 }
28334 }
28335 if (obj5) {
28336 {
28337 arg6 = &temp6;
28338 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
28339 }
28340 }
28341 if (obj6) {
28342 arg7 = (long) SWIG_AsLong(obj6);
28343 if (PyErr_Occurred()) SWIG_fail;
28344 }
28345 if (obj7) {
28346 {
28347 arg8 = wxString_in_helper(obj7);
28348 if (arg8 == NULL) SWIG_fail;
28349 temp8 = True;
28350 }
28351 }
28352 if (obj8) {
28353 arg9 = (int) SWIG_AsInt(obj8);
28354 if (PyErr_Occurred()) SWIG_fail;
28355 }
28356 if (obj9) {
28357 {
28358 arg10 = wxString_in_helper(obj9);
28359 if (arg10 == NULL) SWIG_fail;
28360 temp10 = True;
28361 }
28362 }
28363 {
28364 PyThreadState* __tstate = wxPyBeginAllowThreads();
28365 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
28366
28367 wxPyEndAllowThreads(__tstate);
28368 if (PyErr_Occurred()) SWIG_fail;
28369 }
28370 {
28371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28372 }
28373 {
28374 if (temp4)
28375 delete arg4;
28376 }
28377 {
28378 if (temp8)
28379 delete arg8;
28380 }
28381 {
28382 if (temp10)
28383 delete arg10;
28384 }
28385 return resultobj;
28386 fail:
28387 {
28388 if (temp4)
28389 delete arg4;
28390 }
28391 {
28392 if (temp8)
28393 delete arg8;
28394 }
28395 {
28396 if (temp10)
28397 delete arg10;
28398 }
28399 return NULL;
28400 }
28401
28402
28403 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28404 PyObject *resultobj;
28405 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28406 wxString *arg2 = 0 ;
28407 bool result;
28408 bool temp2 = False ;
28409 PyObject * obj0 = 0 ;
28410 PyObject * obj1 = 0 ;
28411 char *kwnames[] = {
28412 (char *) "self",(char *) "path", NULL
28413 };
28414
28415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
28416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28418 {
28419 arg2 = wxString_in_helper(obj1);
28420 if (arg2 == NULL) SWIG_fail;
28421 temp2 = True;
28422 }
28423 {
28424 PyThreadState* __tstate = wxPyBeginAllowThreads();
28425 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
28426
28427 wxPyEndAllowThreads(__tstate);
28428 if (PyErr_Occurred()) SWIG_fail;
28429 }
28430 {
28431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28432 }
28433 {
28434 if (temp2)
28435 delete arg2;
28436 }
28437 return resultobj;
28438 fail:
28439 {
28440 if (temp2)
28441 delete arg2;
28442 }
28443 return NULL;
28444 }
28445
28446
28447 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28448 PyObject *resultobj;
28449 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28450 wxString result;
28451 PyObject * obj0 = 0 ;
28452 char *kwnames[] = {
28453 (char *) "self", NULL
28454 };
28455
28456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
28457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28459 {
28460 PyThreadState* __tstate = wxPyBeginAllowThreads();
28461 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
28462
28463 wxPyEndAllowThreads(__tstate);
28464 if (PyErr_Occurred()) SWIG_fail;
28465 }
28466 {
28467 #if wxUSE_UNICODE
28468 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28469 #else
28470 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28471 #endif
28472 }
28473 return resultobj;
28474 fail:
28475 return NULL;
28476 }
28477
28478
28479 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28480 PyObject *resultobj;
28481 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28482 wxString *arg2 = 0 ;
28483 bool temp2 = False ;
28484 PyObject * obj0 = 0 ;
28485 PyObject * obj1 = 0 ;
28486 char *kwnames[] = {
28487 (char *) "self",(char *) "path", NULL
28488 };
28489
28490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
28491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28493 {
28494 arg2 = wxString_in_helper(obj1);
28495 if (arg2 == NULL) SWIG_fail;
28496 temp2 = True;
28497 }
28498 {
28499 PyThreadState* __tstate = wxPyBeginAllowThreads();
28500 (arg1)->SetDefaultPath((wxString const &)*arg2);
28501
28502 wxPyEndAllowThreads(__tstate);
28503 if (PyErr_Occurred()) SWIG_fail;
28504 }
28505 Py_INCREF(Py_None); resultobj = Py_None;
28506 {
28507 if (temp2)
28508 delete arg2;
28509 }
28510 return resultobj;
28511 fail:
28512 {
28513 if (temp2)
28514 delete arg2;
28515 }
28516 return NULL;
28517 }
28518
28519
28520 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28521 PyObject *resultobj;
28522 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28523 wxString result;
28524 PyObject * obj0 = 0 ;
28525 char *kwnames[] = {
28526 (char *) "self", NULL
28527 };
28528
28529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
28530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28532 {
28533 PyThreadState* __tstate = wxPyBeginAllowThreads();
28534 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
28535
28536 wxPyEndAllowThreads(__tstate);
28537 if (PyErr_Occurred()) SWIG_fail;
28538 }
28539 {
28540 #if wxUSE_UNICODE
28541 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28542 #else
28543 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28544 #endif
28545 }
28546 return resultobj;
28547 fail:
28548 return NULL;
28549 }
28550
28551
28552 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
28553 PyObject *resultobj;
28554 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28555 wxString result;
28556 PyObject * obj0 = 0 ;
28557 char *kwnames[] = {
28558 (char *) "self", NULL
28559 };
28560
28561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
28562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28564 {
28565 PyThreadState* __tstate = wxPyBeginAllowThreads();
28566 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
28567
28568 wxPyEndAllowThreads(__tstate);
28569 if (PyErr_Occurred()) SWIG_fail;
28570 }
28571 {
28572 #if wxUSE_UNICODE
28573 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28574 #else
28575 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28576 #endif
28577 }
28578 return resultobj;
28579 fail:
28580 return NULL;
28581 }
28582
28583
28584 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28585 PyObject *resultobj;
28586 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28587 wxString *arg2 = 0 ;
28588 bool temp2 = False ;
28589 PyObject * obj0 = 0 ;
28590 PyObject * obj1 = 0 ;
28591 char *kwnames[] = {
28592 (char *) "self",(char *) "path", NULL
28593 };
28594
28595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
28596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28598 {
28599 arg2 = wxString_in_helper(obj1);
28600 if (arg2 == NULL) SWIG_fail;
28601 temp2 = True;
28602 }
28603 {
28604 PyThreadState* __tstate = wxPyBeginAllowThreads();
28605 (arg1)->SetPath((wxString const &)*arg2);
28606
28607 wxPyEndAllowThreads(__tstate);
28608 if (PyErr_Occurred()) SWIG_fail;
28609 }
28610 Py_INCREF(Py_None); resultobj = Py_None;
28611 {
28612 if (temp2)
28613 delete arg2;
28614 }
28615 return resultobj;
28616 fail:
28617 {
28618 if (temp2)
28619 delete arg2;
28620 }
28621 return NULL;
28622 }
28623
28624
28625 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
28626 PyObject *resultobj;
28627 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28628 bool arg2 ;
28629 PyObject * obj0 = 0 ;
28630 PyObject * obj1 = 0 ;
28631 char *kwnames[] = {
28632 (char *) "self",(char *) "show", NULL
28633 };
28634
28635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
28636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28638 arg2 = (bool) SWIG_AsBool(obj1);
28639 if (PyErr_Occurred()) SWIG_fail;
28640 {
28641 PyThreadState* __tstate = wxPyBeginAllowThreads();
28642 (arg1)->ShowHidden(arg2);
28643
28644 wxPyEndAllowThreads(__tstate);
28645 if (PyErr_Occurred()) SWIG_fail;
28646 }
28647 Py_INCREF(Py_None); resultobj = Py_None;
28648 return resultobj;
28649 fail:
28650 return NULL;
28651 }
28652
28653
28654 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
28655 PyObject *resultobj;
28656 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28657 bool result;
28658 PyObject * obj0 = 0 ;
28659 char *kwnames[] = {
28660 (char *) "self", NULL
28661 };
28662
28663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
28664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28666 {
28667 PyThreadState* __tstate = wxPyBeginAllowThreads();
28668 result = (bool)(arg1)->GetShowHidden();
28669
28670 wxPyEndAllowThreads(__tstate);
28671 if (PyErr_Occurred()) SWIG_fail;
28672 }
28673 {
28674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28675 }
28676 return resultobj;
28677 fail:
28678 return NULL;
28679 }
28680
28681
28682 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
28683 PyObject *resultobj;
28684 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28685 wxString result;
28686 PyObject * obj0 = 0 ;
28687 char *kwnames[] = {
28688 (char *) "self", NULL
28689 };
28690
28691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
28692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28694 {
28695 PyThreadState* __tstate = wxPyBeginAllowThreads();
28696 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
28697
28698 wxPyEndAllowThreads(__tstate);
28699 if (PyErr_Occurred()) SWIG_fail;
28700 }
28701 {
28702 #if wxUSE_UNICODE
28703 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28704 #else
28705 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28706 #endif
28707 }
28708 return resultobj;
28709 fail:
28710 return NULL;
28711 }
28712
28713
28714 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
28715 PyObject *resultobj;
28716 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28717 wxString *arg2 = 0 ;
28718 bool temp2 = False ;
28719 PyObject * obj0 = 0 ;
28720 PyObject * obj1 = 0 ;
28721 char *kwnames[] = {
28722 (char *) "self",(char *) "filter", NULL
28723 };
28724
28725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
28726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28728 {
28729 arg2 = wxString_in_helper(obj1);
28730 if (arg2 == NULL) SWIG_fail;
28731 temp2 = True;
28732 }
28733 {
28734 PyThreadState* __tstate = wxPyBeginAllowThreads();
28735 (arg1)->SetFilter((wxString const &)*arg2);
28736
28737 wxPyEndAllowThreads(__tstate);
28738 if (PyErr_Occurred()) SWIG_fail;
28739 }
28740 Py_INCREF(Py_None); resultobj = Py_None;
28741 {
28742 if (temp2)
28743 delete arg2;
28744 }
28745 return resultobj;
28746 fail:
28747 {
28748 if (temp2)
28749 delete arg2;
28750 }
28751 return NULL;
28752 }
28753
28754
28755 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
28756 PyObject *resultobj;
28757 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28758 int result;
28759 PyObject * obj0 = 0 ;
28760 char *kwnames[] = {
28761 (char *) "self", NULL
28762 };
28763
28764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
28765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28767 {
28768 PyThreadState* __tstate = wxPyBeginAllowThreads();
28769 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
28770
28771 wxPyEndAllowThreads(__tstate);
28772 if (PyErr_Occurred()) SWIG_fail;
28773 }
28774 resultobj = SWIG_FromInt((int)result);
28775 return resultobj;
28776 fail:
28777 return NULL;
28778 }
28779
28780
28781 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
28782 PyObject *resultobj;
28783 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28784 int arg2 ;
28785 PyObject * obj0 = 0 ;
28786 PyObject * obj1 = 0 ;
28787 char *kwnames[] = {
28788 (char *) "self",(char *) "n", NULL
28789 };
28790
28791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
28792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28794 arg2 = (int) SWIG_AsInt(obj1);
28795 if (PyErr_Occurred()) SWIG_fail;
28796 {
28797 PyThreadState* __tstate = wxPyBeginAllowThreads();
28798 (arg1)->SetFilterIndex(arg2);
28799
28800 wxPyEndAllowThreads(__tstate);
28801 if (PyErr_Occurred()) SWIG_fail;
28802 }
28803 Py_INCREF(Py_None); resultobj = Py_None;
28804 return resultobj;
28805 fail:
28806 return NULL;
28807 }
28808
28809
28810 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
28811 PyObject *resultobj;
28812 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28813 wxTreeItemId result;
28814 PyObject * obj0 = 0 ;
28815 char *kwnames[] = {
28816 (char *) "self", NULL
28817 };
28818
28819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
28820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28822 {
28823 PyThreadState* __tstate = wxPyBeginAllowThreads();
28824 result = (arg1)->GetRootId();
28825
28826 wxPyEndAllowThreads(__tstate);
28827 if (PyErr_Occurred()) SWIG_fail;
28828 }
28829 {
28830 wxTreeItemId * resultptr;
28831 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28832 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28833 }
28834 return resultobj;
28835 fail:
28836 return NULL;
28837 }
28838
28839
28840 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28841 PyObject *resultobj;
28842 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28843 wxPyTreeCtrl *result;
28844 PyObject * obj0 = 0 ;
28845 char *kwnames[] = {
28846 (char *) "self", NULL
28847 };
28848
28849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
28850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28852 {
28853 PyThreadState* __tstate = wxPyBeginAllowThreads();
28854 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
28855
28856 wxPyEndAllowThreads(__tstate);
28857 if (PyErr_Occurred()) SWIG_fail;
28858 }
28859 {
28860 resultobj = wxPyMake_wxObject(result, 0);
28861 }
28862 return resultobj;
28863 fail:
28864 return NULL;
28865 }
28866
28867
28868 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28869 PyObject *resultobj;
28870 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28871 wxDirFilterListCtrl *result;
28872 PyObject * obj0 = 0 ;
28873 char *kwnames[] = {
28874 (char *) "self", NULL
28875 };
28876
28877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
28878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28880 {
28881 PyThreadState* __tstate = wxPyBeginAllowThreads();
28882 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
28883
28884 wxPyEndAllowThreads(__tstate);
28885 if (PyErr_Occurred()) SWIG_fail;
28886 }
28887 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
28888 return resultobj;
28889 fail:
28890 return NULL;
28891 }
28892
28893
28894 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28895 PyObject *resultobj;
28896 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28897 wxTreeItemId arg2 ;
28898 wxString *arg3 = 0 ;
28899 bool *arg4 = 0 ;
28900 wxTreeItemId result;
28901 wxTreeItemId *argp2 ;
28902 bool temp3 = False ;
28903 bool temp4 ;
28904 PyObject * obj0 = 0 ;
28905 PyObject * obj1 = 0 ;
28906 PyObject * obj2 = 0 ;
28907 char *kwnames[] = {
28908 (char *) "self",(char *) "parentId",(char *) "path", NULL
28909 };
28910
28911 arg4 = &temp4;
28912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
28913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28915 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
28916 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
28917 arg2 = *argp2;
28918 {
28919 arg3 = wxString_in_helper(obj2);
28920 if (arg3 == NULL) SWIG_fail;
28921 temp3 = True;
28922 }
28923 {
28924 PyThreadState* __tstate = wxPyBeginAllowThreads();
28925 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
28926
28927 wxPyEndAllowThreads(__tstate);
28928 if (PyErr_Occurred()) SWIG_fail;
28929 }
28930 {
28931 wxTreeItemId * resultptr;
28932 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28933 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28934 }
28935 {
28936 PyObject *o = PyInt_FromLong((long) (*arg4));
28937 resultobj = t_output_helper(resultobj,o);
28938 }
28939 {
28940 if (temp3)
28941 delete arg3;
28942 }
28943 return resultobj;
28944 fail:
28945 {
28946 if (temp3)
28947 delete arg3;
28948 }
28949 return NULL;
28950 }
28951
28952
28953 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
28954 PyObject *resultobj;
28955 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28956 PyObject * obj0 = 0 ;
28957 char *kwnames[] = {
28958 (char *) "self", NULL
28959 };
28960
28961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
28962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28964 {
28965 PyThreadState* __tstate = wxPyBeginAllowThreads();
28966 (arg1)->DoResize();
28967
28968 wxPyEndAllowThreads(__tstate);
28969 if (PyErr_Occurred()) SWIG_fail;
28970 }
28971 Py_INCREF(Py_None); resultobj = Py_None;
28972 return resultobj;
28973 fail:
28974 return NULL;
28975 }
28976
28977
28978 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
28979 PyObject *resultobj;
28980 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28981 PyObject * obj0 = 0 ;
28982 char *kwnames[] = {
28983 (char *) "self", NULL
28984 };
28985
28986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
28987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28989 {
28990 PyThreadState* __tstate = wxPyBeginAllowThreads();
28991 (arg1)->ReCreateTree();
28992
28993 wxPyEndAllowThreads(__tstate);
28994 if (PyErr_Occurred()) SWIG_fail;
28995 }
28996 Py_INCREF(Py_None); resultobj = Py_None;
28997 return resultobj;
28998 fail:
28999 return NULL;
29000 }
29001
29002
29003 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
29004 PyObject *obj;
29005 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29006 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
29007 Py_INCREF(obj);
29008 return Py_BuildValue((char *)"");
29009 }
29010 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
29011 PyObject *resultobj;
29012 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29013 int arg2 = (int) (int)-1 ;
29014 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29015 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29016 wxSize const &arg4_defvalue = wxDefaultSize ;
29017 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29018 long arg5 = (long) 0 ;
29019 wxDirFilterListCtrl *result;
29020 wxPoint temp3 ;
29021 wxSize temp4 ;
29022 PyObject * obj0 = 0 ;
29023 PyObject * obj1 = 0 ;
29024 PyObject * obj2 = 0 ;
29025 PyObject * obj3 = 0 ;
29026 PyObject * obj4 = 0 ;
29027 char *kwnames[] = {
29028 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29029 };
29030
29031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29034 if (obj1) {
29035 arg2 = (int const) SWIG_AsInt(obj1);
29036 if (PyErr_Occurred()) SWIG_fail;
29037 }
29038 if (obj2) {
29039 {
29040 arg3 = &temp3;
29041 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29042 }
29043 }
29044 if (obj3) {
29045 {
29046 arg4 = &temp4;
29047 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29048 }
29049 }
29050 if (obj4) {
29051 arg5 = (long) SWIG_AsLong(obj4);
29052 if (PyErr_Occurred()) SWIG_fail;
29053 }
29054 {
29055 if (!wxPyCheckForApp()) SWIG_fail;
29056 PyThreadState* __tstate = wxPyBeginAllowThreads();
29057 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
29058
29059 wxPyEndAllowThreads(__tstate);
29060 if (PyErr_Occurred()) SWIG_fail;
29061 }
29062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
29063 return resultobj;
29064 fail:
29065 return NULL;
29066 }
29067
29068
29069 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
29070 PyObject *resultobj;
29071 wxDirFilterListCtrl *result;
29072 char *kwnames[] = {
29073 NULL
29074 };
29075
29076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
29077 {
29078 if (!wxPyCheckForApp()) SWIG_fail;
29079 PyThreadState* __tstate = wxPyBeginAllowThreads();
29080 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
29081
29082 wxPyEndAllowThreads(__tstate);
29083 if (PyErr_Occurred()) SWIG_fail;
29084 }
29085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
29086 return resultobj;
29087 fail:
29088 return NULL;
29089 }
29090
29091
29092 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
29093 PyObject *resultobj;
29094 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
29095 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
29096 int arg3 = (int) (int)-1 ;
29097 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29098 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29099 wxSize const &arg5_defvalue = wxDefaultSize ;
29100 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29101 long arg6 = (long) 0 ;
29102 bool result;
29103 wxPoint temp4 ;
29104 wxSize temp5 ;
29105 PyObject * obj0 = 0 ;
29106 PyObject * obj1 = 0 ;
29107 PyObject * obj2 = 0 ;
29108 PyObject * obj3 = 0 ;
29109 PyObject * obj4 = 0 ;
29110 PyObject * obj5 = 0 ;
29111 char *kwnames[] = {
29112 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29113 };
29114
29115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
29117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29118 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
29119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29120 if (obj2) {
29121 arg3 = (int const) SWIG_AsInt(obj2);
29122 if (PyErr_Occurred()) SWIG_fail;
29123 }
29124 if (obj3) {
29125 {
29126 arg4 = &temp4;
29127 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29128 }
29129 }
29130 if (obj4) {
29131 {
29132 arg5 = &temp5;
29133 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29134 }
29135 }
29136 if (obj5) {
29137 arg6 = (long) SWIG_AsLong(obj5);
29138 if (PyErr_Occurred()) SWIG_fail;
29139 }
29140 {
29141 PyThreadState* __tstate = wxPyBeginAllowThreads();
29142 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
29143
29144 wxPyEndAllowThreads(__tstate);
29145 if (PyErr_Occurred()) SWIG_fail;
29146 }
29147 {
29148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29149 }
29150 return resultobj;
29151 fail:
29152 return NULL;
29153 }
29154
29155
29156 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
29157 PyObject *resultobj;
29158 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
29159 wxString *arg2 = 0 ;
29160 int arg3 ;
29161 bool temp2 = False ;
29162 PyObject * obj0 = 0 ;
29163 PyObject * obj1 = 0 ;
29164 PyObject * obj2 = 0 ;
29165 char *kwnames[] = {
29166 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29167 };
29168
29169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
29170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
29171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29172 {
29173 arg2 = wxString_in_helper(obj1);
29174 if (arg2 == NULL) SWIG_fail;
29175 temp2 = True;
29176 }
29177 arg3 = (int) SWIG_AsInt(obj2);
29178 if (PyErr_Occurred()) SWIG_fail;
29179 {
29180 PyThreadState* __tstate = wxPyBeginAllowThreads();
29181 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
29182
29183 wxPyEndAllowThreads(__tstate);
29184 if (PyErr_Occurred()) SWIG_fail;
29185 }
29186 Py_INCREF(Py_None); resultobj = Py_None;
29187 {
29188 if (temp2)
29189 delete arg2;
29190 }
29191 return resultobj;
29192 fail:
29193 {
29194 if (temp2)
29195 delete arg2;
29196 }
29197 return NULL;
29198 }
29199
29200
29201 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
29202 PyObject *obj;
29203 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29204 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
29205 Py_INCREF(obj);
29206 return Py_BuildValue((char *)"");
29207 }
29208 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
29209 PyObject *resultobj;
29210 wxWindow *arg1 = (wxWindow *) 0 ;
29211 int arg2 = (int) (int)-1 ;
29212 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29213 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29214 wxSize const &arg4_defvalue = wxDefaultSize ;
29215 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29216 long arg5 = (long) 0 ;
29217 wxValidator const &arg6_defvalue = wxDefaultValidator ;
29218 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
29219 wxString const &arg7_defvalue = wxPyControlNameStr ;
29220 wxString *arg7 = (wxString *) &arg7_defvalue ;
29221 wxPyControl *result;
29222 wxPoint temp3 ;
29223 wxSize temp4 ;
29224 bool temp7 = False ;
29225 PyObject * obj0 = 0 ;
29226 PyObject * obj1 = 0 ;
29227 PyObject * obj2 = 0 ;
29228 PyObject * obj3 = 0 ;
29229 PyObject * obj4 = 0 ;
29230 PyObject * obj5 = 0 ;
29231 PyObject * obj6 = 0 ;
29232 char *kwnames[] = {
29233 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29234 };
29235
29236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
29237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29239 if (obj1) {
29240 arg2 = (int const) SWIG_AsInt(obj1);
29241 if (PyErr_Occurred()) SWIG_fail;
29242 }
29243 if (obj2) {
29244 {
29245 arg3 = &temp3;
29246 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29247 }
29248 }
29249 if (obj3) {
29250 {
29251 arg4 = &temp4;
29252 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29253 }
29254 }
29255 if (obj4) {
29256 arg5 = (long) SWIG_AsLong(obj4);
29257 if (PyErr_Occurred()) SWIG_fail;
29258 }
29259 if (obj5) {
29260 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
29261 SWIG_POINTER_EXCEPTION | 0)) == -1)
29262 SWIG_fail;
29263 if (arg6 == NULL) {
29264 PyErr_SetString(PyExc_TypeError,"null reference");
29265 SWIG_fail;
29266 }
29267 }
29268 if (obj6) {
29269 {
29270 arg7 = wxString_in_helper(obj6);
29271 if (arg7 == NULL) SWIG_fail;
29272 temp7 = True;
29273 }
29274 }
29275 {
29276 if (!wxPyCheckForApp()) SWIG_fail;
29277 PyThreadState* __tstate = wxPyBeginAllowThreads();
29278 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29279
29280 wxPyEndAllowThreads(__tstate);
29281 if (PyErr_Occurred()) SWIG_fail;
29282 }
29283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29284 {
29285 if (temp7)
29286 delete arg7;
29287 }
29288 return resultobj;
29289 fail:
29290 {
29291 if (temp7)
29292 delete arg7;
29293 }
29294 return NULL;
29295 }
29296
29297
29298 static PyObject *_wrap_new_PrePyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
29299 PyObject *resultobj;
29300 wxPyControl *result;
29301 char *kwnames[] = {
29302 NULL
29303 };
29304
29305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
29306 {
29307 if (!wxPyCheckForApp()) SWIG_fail;
29308 PyThreadState* __tstate = wxPyBeginAllowThreads();
29309 result = (wxPyControl *)new wxPyControl();
29310
29311 wxPyEndAllowThreads(__tstate);
29312 if (PyErr_Occurred()) SWIG_fail;
29313 }
29314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29315 return resultobj;
29316 fail:
29317 return NULL;
29318 }
29319
29320
29321 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
29322 PyObject *resultobj;
29323 wxPyControl *arg1 = (wxPyControl *) 0 ;
29324 PyObject *arg2 = (PyObject *) 0 ;
29325 PyObject *arg3 = (PyObject *) 0 ;
29326 PyObject * obj0 = 0 ;
29327 PyObject * obj1 = 0 ;
29328 PyObject * obj2 = 0 ;
29329 char *kwnames[] = {
29330 (char *) "self",(char *) "self",(char *) "_class", NULL
29331 };
29332
29333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
29334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29336 arg2 = obj1;
29337 arg3 = obj2;
29338 {
29339 PyThreadState* __tstate = wxPyBeginAllowThreads();
29340 (arg1)->_setCallbackInfo(arg2,arg3);
29341
29342 wxPyEndAllowThreads(__tstate);
29343 if (PyErr_Occurred()) SWIG_fail;
29344 }
29345 Py_INCREF(Py_None); resultobj = Py_None;
29346 return resultobj;
29347 fail:
29348 return NULL;
29349 }
29350
29351
29352 static PyObject *_wrap_PyControl_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29353 PyObject *resultobj;
29354 wxPyControl *arg1 = (wxPyControl *) 0 ;
29355 wxSize *arg2 = 0 ;
29356 wxSize temp2 ;
29357 PyObject * obj0 = 0 ;
29358 PyObject * obj1 = 0 ;
29359 char *kwnames[] = {
29360 (char *) "self",(char *) "size", NULL
29361 };
29362
29363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
29364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29366 {
29367 arg2 = &temp2;
29368 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29369 }
29370 {
29371 PyThreadState* __tstate = wxPyBeginAllowThreads();
29372 (arg1)->SetBestSize((wxSize const &)*arg2);
29373
29374 wxPyEndAllowThreads(__tstate);
29375 if (PyErr_Occurred()) SWIG_fail;
29376 }
29377 Py_INCREF(Py_None); resultobj = Py_None;
29378 return resultobj;
29379 fail:
29380 return NULL;
29381 }
29382
29383
29384 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29385 PyObject *resultobj;
29386 wxPyControl *arg1 = (wxPyControl *) 0 ;
29387 int arg2 ;
29388 int arg3 ;
29389 int arg4 ;
29390 int arg5 ;
29391 PyObject * obj0 = 0 ;
29392 PyObject * obj1 = 0 ;
29393 PyObject * obj2 = 0 ;
29394 PyObject * obj3 = 0 ;
29395 PyObject * obj4 = 0 ;
29396 char *kwnames[] = {
29397 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29398 };
29399
29400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29403 arg2 = (int) SWIG_AsInt(obj1);
29404 if (PyErr_Occurred()) SWIG_fail;
29405 arg3 = (int) SWIG_AsInt(obj2);
29406 if (PyErr_Occurred()) SWIG_fail;
29407 arg4 = (int) SWIG_AsInt(obj3);
29408 if (PyErr_Occurred()) SWIG_fail;
29409 arg5 = (int) SWIG_AsInt(obj4);
29410 if (PyErr_Occurred()) SWIG_fail;
29411 {
29412 PyThreadState* __tstate = wxPyBeginAllowThreads();
29413 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
29414
29415 wxPyEndAllowThreads(__tstate);
29416 if (PyErr_Occurred()) SWIG_fail;
29417 }
29418 Py_INCREF(Py_None); resultobj = Py_None;
29419 return resultobj;
29420 fail:
29421 return NULL;
29422 }
29423
29424
29425 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29426 PyObject *resultobj;
29427 wxPyControl *arg1 = (wxPyControl *) 0 ;
29428 int arg2 ;
29429 int arg3 ;
29430 int arg4 ;
29431 int arg5 ;
29432 int arg6 = (int) wxSIZE_AUTO ;
29433 PyObject * obj0 = 0 ;
29434 PyObject * obj1 = 0 ;
29435 PyObject * obj2 = 0 ;
29436 PyObject * obj3 = 0 ;
29437 PyObject * obj4 = 0 ;
29438 PyObject * obj5 = 0 ;
29439 char *kwnames[] = {
29440 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29441 };
29442
29443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29446 arg2 = (int) SWIG_AsInt(obj1);
29447 if (PyErr_Occurred()) SWIG_fail;
29448 arg3 = (int) SWIG_AsInt(obj2);
29449 if (PyErr_Occurred()) SWIG_fail;
29450 arg4 = (int) SWIG_AsInt(obj3);
29451 if (PyErr_Occurred()) SWIG_fail;
29452 arg5 = (int) SWIG_AsInt(obj4);
29453 if (PyErr_Occurred()) SWIG_fail;
29454 if (obj5) {
29455 arg6 = (int) SWIG_AsInt(obj5);
29456 if (PyErr_Occurred()) SWIG_fail;
29457 }
29458 {
29459 PyThreadState* __tstate = wxPyBeginAllowThreads();
29460 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
29461
29462 wxPyEndAllowThreads(__tstate);
29463 if (PyErr_Occurred()) SWIG_fail;
29464 }
29465 Py_INCREF(Py_None); resultobj = Py_None;
29466 return resultobj;
29467 fail:
29468 return NULL;
29469 }
29470
29471
29472 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29473 PyObject *resultobj;
29474 wxPyControl *arg1 = (wxPyControl *) 0 ;
29475 int arg2 ;
29476 int arg3 ;
29477 PyObject * obj0 = 0 ;
29478 PyObject * obj1 = 0 ;
29479 PyObject * obj2 = 0 ;
29480 char *kwnames[] = {
29481 (char *) "self",(char *) "width",(char *) "height", NULL
29482 };
29483
29484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29487 arg2 = (int) SWIG_AsInt(obj1);
29488 if (PyErr_Occurred()) SWIG_fail;
29489 arg3 = (int) SWIG_AsInt(obj2);
29490 if (PyErr_Occurred()) SWIG_fail;
29491 {
29492 PyThreadState* __tstate = wxPyBeginAllowThreads();
29493 (arg1)->base_DoSetClientSize(arg2,arg3);
29494
29495 wxPyEndAllowThreads(__tstate);
29496 if (PyErr_Occurred()) SWIG_fail;
29497 }
29498 Py_INCREF(Py_None); resultobj = Py_None;
29499 return resultobj;
29500 fail:
29501 return NULL;
29502 }
29503
29504
29505 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29506 PyObject *resultobj;
29507 wxPyControl *arg1 = (wxPyControl *) 0 ;
29508 int arg2 ;
29509 int arg3 ;
29510 PyObject * obj0 = 0 ;
29511 PyObject * obj1 = 0 ;
29512 PyObject * obj2 = 0 ;
29513 char *kwnames[] = {
29514 (char *) "self",(char *) "x",(char *) "y", NULL
29515 };
29516
29517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29520 arg2 = (int) SWIG_AsInt(obj1);
29521 if (PyErr_Occurred()) SWIG_fail;
29522 arg3 = (int) SWIG_AsInt(obj2);
29523 if (PyErr_Occurred()) SWIG_fail;
29524 {
29525 PyThreadState* __tstate = wxPyBeginAllowThreads();
29526 (arg1)->base_DoSetVirtualSize(arg2,arg3);
29527
29528 wxPyEndAllowThreads(__tstate);
29529 if (PyErr_Occurred()) SWIG_fail;
29530 }
29531 Py_INCREF(Py_None); resultobj = Py_None;
29532 return resultobj;
29533 fail:
29534 return NULL;
29535 }
29536
29537
29538 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29539 PyObject *resultobj;
29540 wxPyControl *arg1 = (wxPyControl *) 0 ;
29541 int *arg2 = (int *) 0 ;
29542 int *arg3 = (int *) 0 ;
29543 int temp2 ;
29544 int temp3 ;
29545 PyObject * obj0 = 0 ;
29546 char *kwnames[] = {
29547 (char *) "self", NULL
29548 };
29549
29550 arg2 = &temp2;
29551 arg3 = &temp3;
29552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
29553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29555 {
29556 PyThreadState* __tstate = wxPyBeginAllowThreads();
29557 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
29558
29559 wxPyEndAllowThreads(__tstate);
29560 if (PyErr_Occurred()) SWIG_fail;
29561 }
29562 Py_INCREF(Py_None); resultobj = Py_None;
29563 {
29564 PyObject *o = PyInt_FromLong((long) (*arg2));
29565 resultobj = t_output_helper(resultobj,o);
29566 }
29567 {
29568 PyObject *o = PyInt_FromLong((long) (*arg3));
29569 resultobj = t_output_helper(resultobj,o);
29570 }
29571 return resultobj;
29572 fail:
29573 return NULL;
29574 }
29575
29576
29577 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29578 PyObject *resultobj;
29579 wxPyControl *arg1 = (wxPyControl *) 0 ;
29580 int *arg2 = (int *) 0 ;
29581 int *arg3 = (int *) 0 ;
29582 int temp2 ;
29583 int temp3 ;
29584 PyObject * obj0 = 0 ;
29585 char *kwnames[] = {
29586 (char *) "self", NULL
29587 };
29588
29589 arg2 = &temp2;
29590 arg3 = &temp3;
29591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
29592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29594 {
29595 PyThreadState* __tstate = wxPyBeginAllowThreads();
29596 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
29597
29598 wxPyEndAllowThreads(__tstate);
29599 if (PyErr_Occurred()) SWIG_fail;
29600 }
29601 Py_INCREF(Py_None); resultobj = Py_None;
29602 {
29603 PyObject *o = PyInt_FromLong((long) (*arg2));
29604 resultobj = t_output_helper(resultobj,o);
29605 }
29606 {
29607 PyObject *o = PyInt_FromLong((long) (*arg3));
29608 resultobj = t_output_helper(resultobj,o);
29609 }
29610 return resultobj;
29611 fail:
29612 return NULL;
29613 }
29614
29615
29616 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29617 PyObject *resultobj;
29618 wxPyControl *arg1 = (wxPyControl *) 0 ;
29619 int *arg2 = (int *) 0 ;
29620 int *arg3 = (int *) 0 ;
29621 int temp2 ;
29622 int temp3 ;
29623 PyObject * obj0 = 0 ;
29624 char *kwnames[] = {
29625 (char *) "self", NULL
29626 };
29627
29628 arg2 = &temp2;
29629 arg3 = &temp3;
29630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
29631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29633 {
29634 PyThreadState* __tstate = wxPyBeginAllowThreads();
29635 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
29636
29637 wxPyEndAllowThreads(__tstate);
29638 if (PyErr_Occurred()) SWIG_fail;
29639 }
29640 Py_INCREF(Py_None); resultobj = Py_None;
29641 {
29642 PyObject *o = PyInt_FromLong((long) (*arg2));
29643 resultobj = t_output_helper(resultobj,o);
29644 }
29645 {
29646 PyObject *o = PyInt_FromLong((long) (*arg3));
29647 resultobj = t_output_helper(resultobj,o);
29648 }
29649 return resultobj;
29650 fail:
29651 return NULL;
29652 }
29653
29654
29655 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29656 PyObject *resultobj;
29657 wxPyControl *arg1 = (wxPyControl *) 0 ;
29658 wxSize result;
29659 PyObject * obj0 = 0 ;
29660 char *kwnames[] = {
29661 (char *) "self", NULL
29662 };
29663
29664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
29665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29667 {
29668 PyThreadState* __tstate = wxPyBeginAllowThreads();
29669 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
29670
29671 wxPyEndAllowThreads(__tstate);
29672 if (PyErr_Occurred()) SWIG_fail;
29673 }
29674 {
29675 wxSize * resultptr;
29676 resultptr = new wxSize((wxSize &) result);
29677 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29678 }
29679 return resultobj;
29680 fail:
29681 return NULL;
29682 }
29683
29684
29685 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29686 PyObject *resultobj;
29687 wxPyControl *arg1 = (wxPyControl *) 0 ;
29688 wxSize result;
29689 PyObject * obj0 = 0 ;
29690 char *kwnames[] = {
29691 (char *) "self", NULL
29692 };
29693
29694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
29695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29697 {
29698 PyThreadState* __tstate = wxPyBeginAllowThreads();
29699 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
29700
29701 wxPyEndAllowThreads(__tstate);
29702 if (PyErr_Occurred()) SWIG_fail;
29703 }
29704 {
29705 wxSize * resultptr;
29706 resultptr = new wxSize((wxSize &) result);
29707 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29708 }
29709 return resultobj;
29710 fail:
29711 return NULL;
29712 }
29713
29714
29715 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
29716 PyObject *resultobj;
29717 wxPyControl *arg1 = (wxPyControl *) 0 ;
29718 PyObject * obj0 = 0 ;
29719 char *kwnames[] = {
29720 (char *) "self", NULL
29721 };
29722
29723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
29724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29726 {
29727 PyThreadState* __tstate = wxPyBeginAllowThreads();
29728 (arg1)->base_InitDialog();
29729
29730 wxPyEndAllowThreads(__tstate);
29731 if (PyErr_Occurred()) SWIG_fail;
29732 }
29733 Py_INCREF(Py_None); resultobj = Py_None;
29734 return resultobj;
29735 fail:
29736 return NULL;
29737 }
29738
29739
29740 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29741 PyObject *resultobj;
29742 wxPyControl *arg1 = (wxPyControl *) 0 ;
29743 bool result;
29744 PyObject * obj0 = 0 ;
29745 char *kwnames[] = {
29746 (char *) "self", NULL
29747 };
29748
29749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
29750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29752 {
29753 PyThreadState* __tstate = wxPyBeginAllowThreads();
29754 result = (bool)(arg1)->base_TransferDataToWindow();
29755
29756 wxPyEndAllowThreads(__tstate);
29757 if (PyErr_Occurred()) SWIG_fail;
29758 }
29759 {
29760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29761 }
29762 return resultobj;
29763 fail:
29764 return NULL;
29765 }
29766
29767
29768 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29769 PyObject *resultobj;
29770 wxPyControl *arg1 = (wxPyControl *) 0 ;
29771 bool result;
29772 PyObject * obj0 = 0 ;
29773 char *kwnames[] = {
29774 (char *) "self", NULL
29775 };
29776
29777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
29778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29780 {
29781 PyThreadState* __tstate = wxPyBeginAllowThreads();
29782 result = (bool)(arg1)->base_TransferDataFromWindow();
29783
29784 wxPyEndAllowThreads(__tstate);
29785 if (PyErr_Occurred()) SWIG_fail;
29786 }
29787 {
29788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29789 }
29790 return resultobj;
29791 fail:
29792 return NULL;
29793 }
29794
29795
29796 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
29797 PyObject *resultobj;
29798 wxPyControl *arg1 = (wxPyControl *) 0 ;
29799 bool result;
29800 PyObject * obj0 = 0 ;
29801 char *kwnames[] = {
29802 (char *) "self", NULL
29803 };
29804
29805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
29806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29808 {
29809 PyThreadState* __tstate = wxPyBeginAllowThreads();
29810 result = (bool)(arg1)->base_Validate();
29811
29812 wxPyEndAllowThreads(__tstate);
29813 if (PyErr_Occurred()) SWIG_fail;
29814 }
29815 {
29816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29817 }
29818 return resultobj;
29819 fail:
29820 return NULL;
29821 }
29822
29823
29824 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
29825 PyObject *resultobj;
29826 wxPyControl *arg1 = (wxPyControl *) 0 ;
29827 bool result;
29828 PyObject * obj0 = 0 ;
29829 char *kwnames[] = {
29830 (char *) "self", NULL
29831 };
29832
29833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
29834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29836 {
29837 PyThreadState* __tstate = wxPyBeginAllowThreads();
29838 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
29839
29840 wxPyEndAllowThreads(__tstate);
29841 if (PyErr_Occurred()) SWIG_fail;
29842 }
29843 {
29844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29845 }
29846 return resultobj;
29847 fail:
29848 return NULL;
29849 }
29850
29851
29852 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
29853 PyObject *resultobj;
29854 wxPyControl *arg1 = (wxPyControl *) 0 ;
29855 bool result;
29856 PyObject * obj0 = 0 ;
29857 char *kwnames[] = {
29858 (char *) "self", NULL
29859 };
29860
29861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
29862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29864 {
29865 PyThreadState* __tstate = wxPyBeginAllowThreads();
29866 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
29867
29868 wxPyEndAllowThreads(__tstate);
29869 if (PyErr_Occurred()) SWIG_fail;
29870 }
29871 {
29872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29873 }
29874 return resultobj;
29875 fail:
29876 return NULL;
29877 }
29878
29879
29880 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29881 PyObject *resultobj;
29882 wxPyControl *arg1 = (wxPyControl *) 0 ;
29883 wxSize result;
29884 PyObject * obj0 = 0 ;
29885 char *kwnames[] = {
29886 (char *) "self", NULL
29887 };
29888
29889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
29890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29892 {
29893 PyThreadState* __tstate = wxPyBeginAllowThreads();
29894 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
29895
29896 wxPyEndAllowThreads(__tstate);
29897 if (PyErr_Occurred()) SWIG_fail;
29898 }
29899 {
29900 wxSize * resultptr;
29901 resultptr = new wxSize((wxSize &) result);
29902 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29903 }
29904 return resultobj;
29905 fail:
29906 return NULL;
29907 }
29908
29909
29910 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
29911 PyObject *resultobj;
29912 wxPyControl *arg1 = (wxPyControl *) 0 ;
29913 wxWindow *arg2 = (wxWindow *) 0 ;
29914 PyObject * obj0 = 0 ;
29915 PyObject * obj1 = 0 ;
29916 char *kwnames[] = {
29917 (char *) "self",(char *) "child", NULL
29918 };
29919
29920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
29921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29923 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29925 {
29926 PyThreadState* __tstate = wxPyBeginAllowThreads();
29927 (arg1)->base_AddChild(arg2);
29928
29929 wxPyEndAllowThreads(__tstate);
29930 if (PyErr_Occurred()) SWIG_fail;
29931 }
29932 Py_INCREF(Py_None); resultobj = Py_None;
29933 return resultobj;
29934 fail:
29935 return NULL;
29936 }
29937
29938
29939 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
29940 PyObject *resultobj;
29941 wxPyControl *arg1 = (wxPyControl *) 0 ;
29942 wxWindow *arg2 = (wxWindow *) 0 ;
29943 PyObject * obj0 = 0 ;
29944 PyObject * obj1 = 0 ;
29945 char *kwnames[] = {
29946 (char *) "self",(char *) "child", NULL
29947 };
29948
29949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
29950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29952 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29954 {
29955 PyThreadState* __tstate = wxPyBeginAllowThreads();
29956 (arg1)->base_RemoveChild(arg2);
29957
29958 wxPyEndAllowThreads(__tstate);
29959 if (PyErr_Occurred()) SWIG_fail;
29960 }
29961 Py_INCREF(Py_None); resultobj = Py_None;
29962 return resultobj;
29963 fail:
29964 return NULL;
29965 }
29966
29967
29968 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
29969 PyObject *resultobj;
29970 wxPyControl *arg1 = (wxPyControl *) 0 ;
29971 bool result;
29972 PyObject * obj0 = 0 ;
29973 char *kwnames[] = {
29974 (char *) "self", NULL
29975 };
29976
29977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
29978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29980 {
29981 PyThreadState* __tstate = wxPyBeginAllowThreads();
29982 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
29983
29984 wxPyEndAllowThreads(__tstate);
29985 if (PyErr_Occurred()) SWIG_fail;
29986 }
29987 {
29988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29989 }
29990 return resultobj;
29991 fail:
29992 return NULL;
29993 }
29994
29995
29996 static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
29997 PyObject *resultobj;
29998 wxPyControl *arg1 = (wxPyControl *) 0 ;
29999 wxColour *arg2 = 0 ;
30000 wxColour temp2 ;
30001 PyObject * obj0 = 0 ;
30002 PyObject * obj1 = 0 ;
30003 char *kwnames[] = {
30004 (char *) "self",(char *) "c", NULL
30005 };
30006
30007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
30008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30010 {
30011 arg2 = &temp2;
30012 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30013 }
30014 {
30015 PyThreadState* __tstate = wxPyBeginAllowThreads();
30016 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
30017
30018 wxPyEndAllowThreads(__tstate);
30019 if (PyErr_Occurred()) SWIG_fail;
30020 }
30021 Py_INCREF(Py_None); resultobj = Py_None;
30022 return resultobj;
30023 fail:
30024 return NULL;
30025 }
30026
30027
30028 static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
30029 PyObject *resultobj;
30030 wxPyControl *arg1 = (wxPyControl *) 0 ;
30031 wxVisualAttributes result;
30032 PyObject * obj0 = 0 ;
30033 char *kwnames[] = {
30034 (char *) "self", NULL
30035 };
30036
30037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
30038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30040 {
30041 PyThreadState* __tstate = wxPyBeginAllowThreads();
30042 result = (arg1)->base_GetDefaultAttributes();
30043
30044 wxPyEndAllowThreads(__tstate);
30045 if (PyErr_Occurred()) SWIG_fail;
30046 }
30047 {
30048 wxVisualAttributes * resultptr;
30049 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
30050 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30051 }
30052 return resultobj;
30053 fail:
30054 return NULL;
30055 }
30056
30057
30058 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
30059 PyObject *obj;
30060 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30061 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
30062 Py_INCREF(obj);
30063 return Py_BuildValue((char *)"");
30064 }
30065 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
30066 PyObject *resultobj;
30067 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
30068 int arg2 = (int) 0 ;
30069 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30070 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30071 wxHelpEvent *result;
30072 wxPoint temp3 ;
30073 PyObject * obj0 = 0 ;
30074 PyObject * obj1 = 0 ;
30075 PyObject * obj2 = 0 ;
30076 char *kwnames[] = {
30077 (char *) "type",(char *) "winid",(char *) "pt", NULL
30078 };
30079
30080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
30081 if (obj0) {
30082 arg1 = (wxEventType) SWIG_AsInt(obj0);
30083 if (PyErr_Occurred()) SWIG_fail;
30084 }
30085 if (obj1) {
30086 arg2 = (int) SWIG_AsInt(obj1);
30087 if (PyErr_Occurred()) SWIG_fail;
30088 }
30089 if (obj2) {
30090 {
30091 arg3 = &temp3;
30092 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30093 }
30094 }
30095 {
30096 PyThreadState* __tstate = wxPyBeginAllowThreads();
30097 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
30098
30099 wxPyEndAllowThreads(__tstate);
30100 if (PyErr_Occurred()) SWIG_fail;
30101 }
30102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
30103 return resultobj;
30104 fail:
30105 return NULL;
30106 }
30107
30108
30109 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30110 PyObject *resultobj;
30111 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30112 wxPoint result;
30113 PyObject * obj0 = 0 ;
30114 char *kwnames[] = {
30115 (char *) "self", NULL
30116 };
30117
30118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
30119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30121 {
30122 PyThreadState* __tstate = wxPyBeginAllowThreads();
30123 result = ((wxHelpEvent const *)arg1)->GetPosition();
30124
30125 wxPyEndAllowThreads(__tstate);
30126 if (PyErr_Occurred()) SWIG_fail;
30127 }
30128 {
30129 wxPoint * resultptr;
30130 resultptr = new wxPoint((wxPoint &) result);
30131 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
30132 }
30133 return resultobj;
30134 fail:
30135 return NULL;
30136 }
30137
30138
30139 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30140 PyObject *resultobj;
30141 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30142 wxPoint *arg2 = 0 ;
30143 wxPoint temp2 ;
30144 PyObject * obj0 = 0 ;
30145 PyObject * obj1 = 0 ;
30146 char *kwnames[] = {
30147 (char *) "self",(char *) "pos", NULL
30148 };
30149
30150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
30151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30153 {
30154 arg2 = &temp2;
30155 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30156 }
30157 {
30158 PyThreadState* __tstate = wxPyBeginAllowThreads();
30159 (arg1)->SetPosition((wxPoint const &)*arg2);
30160
30161 wxPyEndAllowThreads(__tstate);
30162 if (PyErr_Occurred()) SWIG_fail;
30163 }
30164 Py_INCREF(Py_None); resultobj = Py_None;
30165 return resultobj;
30166 fail:
30167 return NULL;
30168 }
30169
30170
30171 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
30172 PyObject *resultobj;
30173 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30174 wxString *result;
30175 PyObject * obj0 = 0 ;
30176 char *kwnames[] = {
30177 (char *) "self", NULL
30178 };
30179
30180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
30181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30183 {
30184 PyThreadState* __tstate = wxPyBeginAllowThreads();
30185 {
30186 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
30187 result = (wxString *) &_result_ref;
30188 }
30189
30190 wxPyEndAllowThreads(__tstate);
30191 if (PyErr_Occurred()) SWIG_fail;
30192 }
30193 {
30194 #if wxUSE_UNICODE
30195 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30196 #else
30197 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30198 #endif
30199 }
30200 return resultobj;
30201 fail:
30202 return NULL;
30203 }
30204
30205
30206 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
30207 PyObject *resultobj;
30208 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30209 wxString *arg2 = 0 ;
30210 bool temp2 = False ;
30211 PyObject * obj0 = 0 ;
30212 PyObject * obj1 = 0 ;
30213 char *kwnames[] = {
30214 (char *) "self",(char *) "link", NULL
30215 };
30216
30217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
30218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30220 {
30221 arg2 = wxString_in_helper(obj1);
30222 if (arg2 == NULL) SWIG_fail;
30223 temp2 = True;
30224 }
30225 {
30226 PyThreadState* __tstate = wxPyBeginAllowThreads();
30227 (arg1)->SetLink((wxString const &)*arg2);
30228
30229 wxPyEndAllowThreads(__tstate);
30230 if (PyErr_Occurred()) SWIG_fail;
30231 }
30232 Py_INCREF(Py_None); resultobj = Py_None;
30233 {
30234 if (temp2)
30235 delete arg2;
30236 }
30237 return resultobj;
30238 fail:
30239 {
30240 if (temp2)
30241 delete arg2;
30242 }
30243 return NULL;
30244 }
30245
30246
30247 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
30248 PyObject *resultobj;
30249 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30250 wxString *result;
30251 PyObject * obj0 = 0 ;
30252 char *kwnames[] = {
30253 (char *) "self", NULL
30254 };
30255
30256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
30257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30259 {
30260 PyThreadState* __tstate = wxPyBeginAllowThreads();
30261 {
30262 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
30263 result = (wxString *) &_result_ref;
30264 }
30265
30266 wxPyEndAllowThreads(__tstate);
30267 if (PyErr_Occurred()) SWIG_fail;
30268 }
30269 {
30270 #if wxUSE_UNICODE
30271 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30272 #else
30273 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30274 #endif
30275 }
30276 return resultobj;
30277 fail:
30278 return NULL;
30279 }
30280
30281
30282 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
30283 PyObject *resultobj;
30284 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30285 wxString *arg2 = 0 ;
30286 bool temp2 = False ;
30287 PyObject * obj0 = 0 ;
30288 PyObject * obj1 = 0 ;
30289 char *kwnames[] = {
30290 (char *) "self",(char *) "target", NULL
30291 };
30292
30293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
30294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30296 {
30297 arg2 = wxString_in_helper(obj1);
30298 if (arg2 == NULL) SWIG_fail;
30299 temp2 = True;
30300 }
30301 {
30302 PyThreadState* __tstate = wxPyBeginAllowThreads();
30303 (arg1)->SetTarget((wxString const &)*arg2);
30304
30305 wxPyEndAllowThreads(__tstate);
30306 if (PyErr_Occurred()) SWIG_fail;
30307 }
30308 Py_INCREF(Py_None); resultobj = Py_None;
30309 {
30310 if (temp2)
30311 delete arg2;
30312 }
30313 return resultobj;
30314 fail:
30315 {
30316 if (temp2)
30317 delete arg2;
30318 }
30319 return NULL;
30320 }
30321
30322
30323 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
30324 PyObject *obj;
30325 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30326 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
30327 Py_INCREF(obj);
30328 return Py_BuildValue((char *)"");
30329 }
30330 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30331 PyObject *resultobj;
30332 wxWindow *arg1 = (wxWindow *) NULL ;
30333 bool arg2 = (bool) True ;
30334 wxContextHelp *result;
30335 PyObject * obj0 = 0 ;
30336 PyObject * obj1 = 0 ;
30337 char *kwnames[] = {
30338 (char *) "window",(char *) "doNow", NULL
30339 };
30340
30341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
30342 if (obj0) {
30343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30345 }
30346 if (obj1) {
30347 arg2 = (bool) SWIG_AsBool(obj1);
30348 if (PyErr_Occurred()) SWIG_fail;
30349 }
30350 {
30351 if (!wxPyCheckForApp()) SWIG_fail;
30352 PyThreadState* __tstate = wxPyBeginAllowThreads();
30353 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
30354
30355 wxPyEndAllowThreads(__tstate);
30356 if (PyErr_Occurred()) SWIG_fail;
30357 }
30358 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
30359 return resultobj;
30360 fail:
30361 return NULL;
30362 }
30363
30364
30365 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30366 PyObject *resultobj;
30367 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30368 PyObject * obj0 = 0 ;
30369 char *kwnames[] = {
30370 (char *) "self", NULL
30371 };
30372
30373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
30374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30376 {
30377 PyThreadState* __tstate = wxPyBeginAllowThreads();
30378 delete arg1;
30379
30380 wxPyEndAllowThreads(__tstate);
30381 if (PyErr_Occurred()) SWIG_fail;
30382 }
30383 Py_INCREF(Py_None); resultobj = Py_None;
30384 return resultobj;
30385 fail:
30386 return NULL;
30387 }
30388
30389
30390 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30391 PyObject *resultobj;
30392 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30393 wxWindow *arg2 = (wxWindow *) NULL ;
30394 bool result;
30395 PyObject * obj0 = 0 ;
30396 PyObject * obj1 = 0 ;
30397 char *kwnames[] = {
30398 (char *) "self",(char *) "window", NULL
30399 };
30400
30401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
30402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30404 if (obj1) {
30405 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30407 }
30408 {
30409 PyThreadState* __tstate = wxPyBeginAllowThreads();
30410 result = (bool)(arg1)->BeginContextHelp(arg2);
30411
30412 wxPyEndAllowThreads(__tstate);
30413 if (PyErr_Occurred()) SWIG_fail;
30414 }
30415 {
30416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30417 }
30418 return resultobj;
30419 fail:
30420 return NULL;
30421 }
30422
30423
30424 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30425 PyObject *resultobj;
30426 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30427 bool result;
30428 PyObject * obj0 = 0 ;
30429 char *kwnames[] = {
30430 (char *) "self", NULL
30431 };
30432
30433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
30434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30436 {
30437 PyThreadState* __tstate = wxPyBeginAllowThreads();
30438 result = (bool)(arg1)->EndContextHelp();
30439
30440 wxPyEndAllowThreads(__tstate);
30441 if (PyErr_Occurred()) SWIG_fail;
30442 }
30443 {
30444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30445 }
30446 return resultobj;
30447 fail:
30448 return NULL;
30449 }
30450
30451
30452 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
30453 PyObject *obj;
30454 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30455 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
30456 Py_INCREF(obj);
30457 return Py_BuildValue((char *)"");
30458 }
30459 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
30460 PyObject *resultobj;
30461 wxWindow *arg1 = (wxWindow *) 0 ;
30462 int arg2 = (int) wxID_CONTEXT_HELP ;
30463 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30464 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30465 wxSize const &arg4_defvalue = wxDefaultSize ;
30466 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
30467 long arg5 = (long) wxBU_AUTODRAW ;
30468 wxContextHelpButton *result;
30469 wxPoint temp3 ;
30470 wxSize temp4 ;
30471 PyObject * obj0 = 0 ;
30472 PyObject * obj1 = 0 ;
30473 PyObject * obj2 = 0 ;
30474 PyObject * obj3 = 0 ;
30475 PyObject * obj4 = 0 ;
30476 char *kwnames[] = {
30477 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30478 };
30479
30480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30483 if (obj1) {
30484 arg2 = (int) SWIG_AsInt(obj1);
30485 if (PyErr_Occurred()) SWIG_fail;
30486 }
30487 if (obj2) {
30488 {
30489 arg3 = &temp3;
30490 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30491 }
30492 }
30493 if (obj3) {
30494 {
30495 arg4 = &temp4;
30496 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
30497 }
30498 }
30499 if (obj4) {
30500 arg5 = (long) SWIG_AsLong(obj4);
30501 if (PyErr_Occurred()) SWIG_fail;
30502 }
30503 {
30504 if (!wxPyCheckForApp()) SWIG_fail;
30505 PyThreadState* __tstate = wxPyBeginAllowThreads();
30506 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
30507
30508 wxPyEndAllowThreads(__tstate);
30509 if (PyErr_Occurred()) SWIG_fail;
30510 }
30511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
30512 return resultobj;
30513 fail:
30514 return NULL;
30515 }
30516
30517
30518 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
30519 PyObject *obj;
30520 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30521 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
30522 Py_INCREF(obj);
30523 return Py_BuildValue((char *)"");
30524 }
30525 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
30526 PyObject *resultobj;
30527 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30528 wxHelpProvider *result;
30529 PyObject * obj0 = 0 ;
30530 char *kwnames[] = {
30531 (char *) "helpProvider", NULL
30532 };
30533
30534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
30535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30537 {
30538 PyThreadState* __tstate = wxPyBeginAllowThreads();
30539 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
30540
30541 wxPyEndAllowThreads(__tstate);
30542 if (PyErr_Occurred()) SWIG_fail;
30543 }
30544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30545 return resultobj;
30546 fail:
30547 return NULL;
30548 }
30549
30550
30551 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
30552 PyObject *resultobj;
30553 wxHelpProvider *result;
30554 char *kwnames[] = {
30555 NULL
30556 };
30557
30558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
30559 {
30560 PyThreadState* __tstate = wxPyBeginAllowThreads();
30561 result = (wxHelpProvider *)wxHelpProvider::Get();
30562
30563 wxPyEndAllowThreads(__tstate);
30564 if (PyErr_Occurred()) SWIG_fail;
30565 }
30566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30567 return resultobj;
30568 fail:
30569 return NULL;
30570 }
30571
30572
30573 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30574 PyObject *resultobj;
30575 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30576 wxWindow *arg2 = (wxWindow *) 0 ;
30577 wxString result;
30578 PyObject * obj0 = 0 ;
30579 PyObject * obj1 = 0 ;
30580 char *kwnames[] = {
30581 (char *) "self",(char *) "window", NULL
30582 };
30583
30584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
30585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30587 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30589 {
30590 PyThreadState* __tstate = wxPyBeginAllowThreads();
30591 result = (arg1)->GetHelp((wxWindow const *)arg2);
30592
30593 wxPyEndAllowThreads(__tstate);
30594 if (PyErr_Occurred()) SWIG_fail;
30595 }
30596 {
30597 #if wxUSE_UNICODE
30598 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30599 #else
30600 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30601 #endif
30602 }
30603 return resultobj;
30604 fail:
30605 return NULL;
30606 }
30607
30608
30609 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30610 PyObject *resultobj;
30611 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30612 wxWindow *arg2 = (wxWindow *) 0 ;
30613 bool result;
30614 PyObject * obj0 = 0 ;
30615 PyObject * obj1 = 0 ;
30616 char *kwnames[] = {
30617 (char *) "self",(char *) "window", NULL
30618 };
30619
30620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
30621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30623 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30625 {
30626 PyThreadState* __tstate = wxPyBeginAllowThreads();
30627 result = (bool)(arg1)->ShowHelp(arg2);
30628
30629 wxPyEndAllowThreads(__tstate);
30630 if (PyErr_Occurred()) SWIG_fail;
30631 }
30632 {
30633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30634 }
30635 return resultobj;
30636 fail:
30637 return NULL;
30638 }
30639
30640
30641 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30642 PyObject *resultobj;
30643 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30644 wxWindow *arg2 = (wxWindow *) 0 ;
30645 wxString *arg3 = 0 ;
30646 bool temp3 = False ;
30647 PyObject * obj0 = 0 ;
30648 PyObject * obj1 = 0 ;
30649 PyObject * obj2 = 0 ;
30650 char *kwnames[] = {
30651 (char *) "self",(char *) "window",(char *) "text", NULL
30652 };
30653
30654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
30655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30657 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30659 {
30660 arg3 = wxString_in_helper(obj2);
30661 if (arg3 == NULL) SWIG_fail;
30662 temp3 = True;
30663 }
30664 {
30665 PyThreadState* __tstate = wxPyBeginAllowThreads();
30666 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30667
30668 wxPyEndAllowThreads(__tstate);
30669 if (PyErr_Occurred()) SWIG_fail;
30670 }
30671 Py_INCREF(Py_None); resultobj = Py_None;
30672 {
30673 if (temp3)
30674 delete arg3;
30675 }
30676 return resultobj;
30677 fail:
30678 {
30679 if (temp3)
30680 delete arg3;
30681 }
30682 return NULL;
30683 }
30684
30685
30686 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
30687 PyObject *resultobj;
30688 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30689 int arg2 ;
30690 wxString *arg3 = 0 ;
30691 bool temp3 = False ;
30692 PyObject * obj0 = 0 ;
30693 PyObject * obj1 = 0 ;
30694 PyObject * obj2 = 0 ;
30695 char *kwnames[] = {
30696 (char *) "self",(char *) "id",(char *) "text", NULL
30697 };
30698
30699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
30700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30702 arg2 = (int) SWIG_AsInt(obj1);
30703 if (PyErr_Occurred()) SWIG_fail;
30704 {
30705 arg3 = wxString_in_helper(obj2);
30706 if (arg3 == NULL) SWIG_fail;
30707 temp3 = True;
30708 }
30709 {
30710 PyThreadState* __tstate = wxPyBeginAllowThreads();
30711 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30712
30713 wxPyEndAllowThreads(__tstate);
30714 if (PyErr_Occurred()) SWIG_fail;
30715 }
30716 Py_INCREF(Py_None); resultobj = Py_None;
30717 {
30718 if (temp3)
30719 delete arg3;
30720 }
30721 return resultobj;
30722 fail:
30723 {
30724 if (temp3)
30725 delete arg3;
30726 }
30727 return NULL;
30728 }
30729
30730
30731 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30732 PyObject *resultobj;
30733 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30734 wxWindow *arg2 = (wxWindow *) 0 ;
30735 PyObject * obj0 = 0 ;
30736 PyObject * obj1 = 0 ;
30737 char *kwnames[] = {
30738 (char *) "self",(char *) "window", NULL
30739 };
30740
30741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
30742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30744 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30746 {
30747 PyThreadState* __tstate = wxPyBeginAllowThreads();
30748 (arg1)->RemoveHelp(arg2);
30749
30750 wxPyEndAllowThreads(__tstate);
30751 if (PyErr_Occurred()) SWIG_fail;
30752 }
30753 Py_INCREF(Py_None); resultobj = Py_None;
30754 return resultobj;
30755 fail:
30756 return NULL;
30757 }
30758
30759
30760 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
30761 PyObject *resultobj;
30762 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30763 PyObject * obj0 = 0 ;
30764 char *kwnames[] = {
30765 (char *) "self", NULL
30766 };
30767
30768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
30769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30771 {
30772 PyThreadState* __tstate = wxPyBeginAllowThreads();
30773 wxHelpProvider_Destroy(arg1);
30774
30775 wxPyEndAllowThreads(__tstate);
30776 if (PyErr_Occurred()) SWIG_fail;
30777 }
30778 Py_INCREF(Py_None); resultobj = Py_None;
30779 return resultobj;
30780 fail:
30781 return NULL;
30782 }
30783
30784
30785 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
30786 PyObject *obj;
30787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30788 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
30789 Py_INCREF(obj);
30790 return Py_BuildValue((char *)"");
30791 }
30792 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
30793 PyObject *resultobj;
30794 wxSimpleHelpProvider *result;
30795 char *kwnames[] = {
30796 NULL
30797 };
30798
30799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
30800 {
30801 PyThreadState* __tstate = wxPyBeginAllowThreads();
30802 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
30803
30804 wxPyEndAllowThreads(__tstate);
30805 if (PyErr_Occurred()) SWIG_fail;
30806 }
30807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
30808 return resultobj;
30809 fail:
30810 return NULL;
30811 }
30812
30813
30814 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
30815 PyObject *obj;
30816 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30817 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
30818 Py_INCREF(obj);
30819 return Py_BuildValue((char *)"");
30820 }
30821 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30822 PyObject *resultobj;
30823 wxBitmap *arg1 = 0 ;
30824 wxCursor const &arg2_defvalue = wxNullCursor ;
30825 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30826 wxGenericDragImage *result;
30827 PyObject * obj0 = 0 ;
30828 PyObject * obj1 = 0 ;
30829 char *kwnames[] = {
30830 (char *) "image",(char *) "cursor", NULL
30831 };
30832
30833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
30834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
30835 SWIG_POINTER_EXCEPTION | 0)) == -1)
30836 SWIG_fail;
30837 if (arg1 == NULL) {
30838 PyErr_SetString(PyExc_TypeError,"null reference");
30839 SWIG_fail;
30840 }
30841 if (obj1) {
30842 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30843 SWIG_POINTER_EXCEPTION | 0)) == -1)
30844 SWIG_fail;
30845 if (arg2 == NULL) {
30846 PyErr_SetString(PyExc_TypeError,"null reference");
30847 SWIG_fail;
30848 }
30849 }
30850 {
30851 if (!wxPyCheckForApp()) SWIG_fail;
30852 PyThreadState* __tstate = wxPyBeginAllowThreads();
30853 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
30854
30855 wxPyEndAllowThreads(__tstate);
30856 if (PyErr_Occurred()) SWIG_fail;
30857 }
30858 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30859 return resultobj;
30860 fail:
30861 return NULL;
30862 }
30863
30864
30865 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
30866 PyObject *resultobj;
30867 wxIcon *arg1 = 0 ;
30868 wxCursor const &arg2_defvalue = wxNullCursor ;
30869 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30870 wxGenericDragImage *result;
30871 PyObject * obj0 = 0 ;
30872 PyObject * obj1 = 0 ;
30873 char *kwnames[] = {
30874 (char *) "image",(char *) "cursor", NULL
30875 };
30876
30877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
30878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
30879 SWIG_POINTER_EXCEPTION | 0)) == -1)
30880 SWIG_fail;
30881 if (arg1 == NULL) {
30882 PyErr_SetString(PyExc_TypeError,"null reference");
30883 SWIG_fail;
30884 }
30885 if (obj1) {
30886 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30887 SWIG_POINTER_EXCEPTION | 0)) == -1)
30888 SWIG_fail;
30889 if (arg2 == NULL) {
30890 PyErr_SetString(PyExc_TypeError,"null reference");
30891 SWIG_fail;
30892 }
30893 }
30894 {
30895 if (!wxPyCheckForApp()) SWIG_fail;
30896 PyThreadState* __tstate = wxPyBeginAllowThreads();
30897 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
30898
30899 wxPyEndAllowThreads(__tstate);
30900 if (PyErr_Occurred()) SWIG_fail;
30901 }
30902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30903 return resultobj;
30904 fail:
30905 return NULL;
30906 }
30907
30908
30909 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
30910 PyObject *resultobj;
30911 wxString *arg1 = 0 ;
30912 wxCursor const &arg2_defvalue = wxNullCursor ;
30913 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30914 wxGenericDragImage *result;
30915 bool temp1 = False ;
30916 PyObject * obj0 = 0 ;
30917 PyObject * obj1 = 0 ;
30918 char *kwnames[] = {
30919 (char *) "str",(char *) "cursor", NULL
30920 };
30921
30922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
30923 {
30924 arg1 = wxString_in_helper(obj0);
30925 if (arg1 == NULL) SWIG_fail;
30926 temp1 = True;
30927 }
30928 if (obj1) {
30929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30930 SWIG_POINTER_EXCEPTION | 0)) == -1)
30931 SWIG_fail;
30932 if (arg2 == NULL) {
30933 PyErr_SetString(PyExc_TypeError,"null reference");
30934 SWIG_fail;
30935 }
30936 }
30937 {
30938 if (!wxPyCheckForApp()) SWIG_fail;
30939 PyThreadState* __tstate = wxPyBeginAllowThreads();
30940 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
30941
30942 wxPyEndAllowThreads(__tstate);
30943 if (PyErr_Occurred()) SWIG_fail;
30944 }
30945 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30946 {
30947 if (temp1)
30948 delete arg1;
30949 }
30950 return resultobj;
30951 fail:
30952 {
30953 if (temp1)
30954 delete arg1;
30955 }
30956 return NULL;
30957 }
30958
30959
30960 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30961 PyObject *resultobj;
30962 wxPyTreeCtrl *arg1 = 0 ;
30963 wxTreeItemId *arg2 = 0 ;
30964 wxGenericDragImage *result;
30965 PyObject * obj0 = 0 ;
30966 PyObject * obj1 = 0 ;
30967 char *kwnames[] = {
30968 (char *) "treeCtrl",(char *) "id", NULL
30969 };
30970
30971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
30972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
30973 SWIG_POINTER_EXCEPTION | 0)) == -1)
30974 SWIG_fail;
30975 if (arg1 == NULL) {
30976 PyErr_SetString(PyExc_TypeError,"null reference");
30977 SWIG_fail;
30978 }
30979 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
30980 SWIG_POINTER_EXCEPTION | 0)) == -1)
30981 SWIG_fail;
30982 if (arg2 == NULL) {
30983 PyErr_SetString(PyExc_TypeError,"null reference");
30984 SWIG_fail;
30985 }
30986 {
30987 if (!wxPyCheckForApp()) SWIG_fail;
30988 PyThreadState* __tstate = wxPyBeginAllowThreads();
30989 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
30990
30991 wxPyEndAllowThreads(__tstate);
30992 if (PyErr_Occurred()) SWIG_fail;
30993 }
30994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30995 return resultobj;
30996 fail:
30997 return NULL;
30998 }
30999
31000
31001 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
31002 PyObject *resultobj;
31003 wxPyListCtrl *arg1 = 0 ;
31004 long arg2 ;
31005 wxGenericDragImage *result;
31006 PyObject * obj0 = 0 ;
31007 PyObject * obj1 = 0 ;
31008 char *kwnames[] = {
31009 (char *) "listCtrl",(char *) "id", NULL
31010 };
31011
31012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
31013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
31014 SWIG_POINTER_EXCEPTION | 0)) == -1)
31015 SWIG_fail;
31016 if (arg1 == NULL) {
31017 PyErr_SetString(PyExc_TypeError,"null reference");
31018 SWIG_fail;
31019 }
31020 arg2 = (long) SWIG_AsLong(obj1);
31021 if (PyErr_Occurred()) SWIG_fail;
31022 {
31023 if (!wxPyCheckForApp()) SWIG_fail;
31024 PyThreadState* __tstate = wxPyBeginAllowThreads();
31025 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
31026
31027 wxPyEndAllowThreads(__tstate);
31028 if (PyErr_Occurred()) SWIG_fail;
31029 }
31030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31031 return resultobj;
31032 fail:
31033 return NULL;
31034 }
31035
31036
31037 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
31038 PyObject *resultobj;
31039 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31040 PyObject * obj0 = 0 ;
31041 char *kwnames[] = {
31042 (char *) "self", NULL
31043 };
31044
31045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
31046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31048 {
31049 PyThreadState* __tstate = wxPyBeginAllowThreads();
31050 delete arg1;
31051
31052 wxPyEndAllowThreads(__tstate);
31053 if (PyErr_Occurred()) SWIG_fail;
31054 }
31055 Py_INCREF(Py_None); resultobj = Py_None;
31056 return resultobj;
31057 fail:
31058 return NULL;
31059 }
31060
31061
31062 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
31063 PyObject *resultobj;
31064 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31065 wxBitmap *arg2 = (wxBitmap *) 0 ;
31066 PyObject * obj0 = 0 ;
31067 PyObject * obj1 = 0 ;
31068 char *kwnames[] = {
31069 (char *) "self",(char *) "bitmap", NULL
31070 };
31071
31072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
31073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31075 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
31076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31077 {
31078 PyThreadState* __tstate = wxPyBeginAllowThreads();
31079 (arg1)->SetBackingBitmap(arg2);
31080
31081 wxPyEndAllowThreads(__tstate);
31082 if (PyErr_Occurred()) SWIG_fail;
31083 }
31084 Py_INCREF(Py_None); resultobj = Py_None;
31085 return resultobj;
31086 fail:
31087 return NULL;
31088 }
31089
31090
31091 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
31092 PyObject *resultobj;
31093 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31094 wxPoint *arg2 = 0 ;
31095 wxWindow *arg3 = (wxWindow *) 0 ;
31096 bool arg4 = (bool) False ;
31097 wxRect *arg5 = (wxRect *) NULL ;
31098 bool result;
31099 wxPoint temp2 ;
31100 PyObject * obj0 = 0 ;
31101 PyObject * obj1 = 0 ;
31102 PyObject * obj2 = 0 ;
31103 PyObject * obj3 = 0 ;
31104 PyObject * obj4 = 0 ;
31105 char *kwnames[] = {
31106 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31107 };
31108
31109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31112 {
31113 arg2 = &temp2;
31114 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31115 }
31116 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
31117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31118 if (obj3) {
31119 arg4 = (bool) SWIG_AsBool(obj3);
31120 if (PyErr_Occurred()) SWIG_fail;
31121 }
31122 if (obj4) {
31123 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
31124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31125 }
31126 {
31127 PyThreadState* __tstate = wxPyBeginAllowThreads();
31128 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
31129
31130 wxPyEndAllowThreads(__tstate);
31131 if (PyErr_Occurred()) SWIG_fail;
31132 }
31133 {
31134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31135 }
31136 return resultobj;
31137 fail:
31138 return NULL;
31139 }
31140
31141
31142 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
31143 PyObject *resultobj;
31144 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31145 wxPoint *arg2 = 0 ;
31146 wxWindow *arg3 = (wxWindow *) 0 ;
31147 wxWindow *arg4 = (wxWindow *) 0 ;
31148 bool result;
31149 wxPoint temp2 ;
31150 PyObject * obj0 = 0 ;
31151 PyObject * obj1 = 0 ;
31152 PyObject * obj2 = 0 ;
31153 PyObject * obj3 = 0 ;
31154 char *kwnames[] = {
31155 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31156 };
31157
31158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31161 {
31162 arg2 = &temp2;
31163 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31164 }
31165 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
31166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31167 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
31168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31169 {
31170 PyThreadState* __tstate = wxPyBeginAllowThreads();
31171 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
31172
31173 wxPyEndAllowThreads(__tstate);
31174 if (PyErr_Occurred()) SWIG_fail;
31175 }
31176 {
31177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31178 }
31179 return resultobj;
31180 fail:
31181 return NULL;
31182 }
31183
31184
31185 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
31186 PyObject *resultobj;
31187 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31188 bool result;
31189 PyObject * obj0 = 0 ;
31190 char *kwnames[] = {
31191 (char *) "self", NULL
31192 };
31193
31194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
31195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31197 {
31198 PyThreadState* __tstate = wxPyBeginAllowThreads();
31199 result = (bool)(arg1)->EndDrag();
31200
31201 wxPyEndAllowThreads(__tstate);
31202 if (PyErr_Occurred()) SWIG_fail;
31203 }
31204 {
31205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31206 }
31207 return resultobj;
31208 fail:
31209 return NULL;
31210 }
31211
31212
31213 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
31214 PyObject *resultobj;
31215 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31216 wxPoint *arg2 = 0 ;
31217 bool result;
31218 wxPoint temp2 ;
31219 PyObject * obj0 = 0 ;
31220 PyObject * obj1 = 0 ;
31221 char *kwnames[] = {
31222 (char *) "self",(char *) "pt", NULL
31223 };
31224
31225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
31226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31228 {
31229 arg2 = &temp2;
31230 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31231 }
31232 {
31233 PyThreadState* __tstate = wxPyBeginAllowThreads();
31234 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
31235
31236 wxPyEndAllowThreads(__tstate);
31237 if (PyErr_Occurred()) SWIG_fail;
31238 }
31239 {
31240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31241 }
31242 return resultobj;
31243 fail:
31244 return NULL;
31245 }
31246
31247
31248 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
31249 PyObject *resultobj;
31250 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31251 bool result;
31252 PyObject * obj0 = 0 ;
31253 char *kwnames[] = {
31254 (char *) "self", NULL
31255 };
31256
31257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
31258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31260 {
31261 PyThreadState* __tstate = wxPyBeginAllowThreads();
31262 result = (bool)(arg1)->Show();
31263
31264 wxPyEndAllowThreads(__tstate);
31265 if (PyErr_Occurred()) SWIG_fail;
31266 }
31267 {
31268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31269 }
31270 return resultobj;
31271 fail:
31272 return NULL;
31273 }
31274
31275
31276 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
31277 PyObject *resultobj;
31278 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31279 bool result;
31280 PyObject * obj0 = 0 ;
31281 char *kwnames[] = {
31282 (char *) "self", NULL
31283 };
31284
31285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
31286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31288 {
31289 PyThreadState* __tstate = wxPyBeginAllowThreads();
31290 result = (bool)(arg1)->Hide();
31291
31292 wxPyEndAllowThreads(__tstate);
31293 if (PyErr_Occurred()) SWIG_fail;
31294 }
31295 {
31296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31297 }
31298 return resultobj;
31299 fail:
31300 return NULL;
31301 }
31302
31303
31304 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
31305 PyObject *resultobj;
31306 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31307 wxPoint *arg2 = 0 ;
31308 wxRect result;
31309 wxPoint temp2 ;
31310 PyObject * obj0 = 0 ;
31311 PyObject * obj1 = 0 ;
31312 char *kwnames[] = {
31313 (char *) "self",(char *) "pos", NULL
31314 };
31315
31316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
31317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31319 {
31320 arg2 = &temp2;
31321 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31322 }
31323 {
31324 PyThreadState* __tstate = wxPyBeginAllowThreads();
31325 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
31326
31327 wxPyEndAllowThreads(__tstate);
31328 if (PyErr_Occurred()) SWIG_fail;
31329 }
31330 {
31331 wxRect * resultptr;
31332 resultptr = new wxRect((wxRect &) result);
31333 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
31334 }
31335 return resultobj;
31336 fail:
31337 return NULL;
31338 }
31339
31340
31341 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
31342 PyObject *resultobj;
31343 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31344 wxDC *arg2 = 0 ;
31345 wxPoint *arg3 = 0 ;
31346 bool result;
31347 wxPoint temp3 ;
31348 PyObject * obj0 = 0 ;
31349 PyObject * obj1 = 0 ;
31350 PyObject * obj2 = 0 ;
31351 char *kwnames[] = {
31352 (char *) "self",(char *) "dc",(char *) "pos", NULL
31353 };
31354
31355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
31356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31358 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31359 SWIG_POINTER_EXCEPTION | 0)) == -1)
31360 SWIG_fail;
31361 if (arg2 == NULL) {
31362 PyErr_SetString(PyExc_TypeError,"null reference");
31363 SWIG_fail;
31364 }
31365 {
31366 arg3 = &temp3;
31367 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31368 }
31369 {
31370 PyThreadState* __tstate = wxPyBeginAllowThreads();
31371 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
31372
31373 wxPyEndAllowThreads(__tstate);
31374 if (PyErr_Occurred()) SWIG_fail;
31375 }
31376 {
31377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31378 }
31379 return resultobj;
31380 fail:
31381 return NULL;
31382 }
31383
31384
31385 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
31386 PyObject *resultobj;
31387 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31388 wxDC *arg2 = 0 ;
31389 wxMemoryDC *arg3 = 0 ;
31390 wxRect *arg4 = 0 ;
31391 wxRect *arg5 = 0 ;
31392 bool result;
31393 wxRect temp4 ;
31394 wxRect temp5 ;
31395 PyObject * obj0 = 0 ;
31396 PyObject * obj1 = 0 ;
31397 PyObject * obj2 = 0 ;
31398 PyObject * obj3 = 0 ;
31399 PyObject * obj4 = 0 ;
31400 char *kwnames[] = {
31401 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31402 };
31403
31404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31407 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31408 SWIG_POINTER_EXCEPTION | 0)) == -1)
31409 SWIG_fail;
31410 if (arg2 == NULL) {
31411 PyErr_SetString(PyExc_TypeError,"null reference");
31412 SWIG_fail;
31413 }
31414 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
31415 SWIG_POINTER_EXCEPTION | 0)) == -1)
31416 SWIG_fail;
31417 if (arg3 == NULL) {
31418 PyErr_SetString(PyExc_TypeError,"null reference");
31419 SWIG_fail;
31420 }
31421 {
31422 arg4 = &temp4;
31423 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
31424 }
31425 {
31426 arg5 = &temp5;
31427 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
31428 }
31429 {
31430 PyThreadState* __tstate = wxPyBeginAllowThreads();
31431 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
31432
31433 wxPyEndAllowThreads(__tstate);
31434 if (PyErr_Occurred()) SWIG_fail;
31435 }
31436 {
31437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31438 }
31439 return resultobj;
31440 fail:
31441 return NULL;
31442 }
31443
31444
31445 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
31446 PyObject *resultobj;
31447 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31448 wxPoint *arg2 = 0 ;
31449 wxPoint *arg3 = 0 ;
31450 bool arg4 ;
31451 bool arg5 ;
31452 bool result;
31453 wxPoint temp2 ;
31454 wxPoint temp3 ;
31455 PyObject * obj0 = 0 ;
31456 PyObject * obj1 = 0 ;
31457 PyObject * obj2 = 0 ;
31458 PyObject * obj3 = 0 ;
31459 PyObject * obj4 = 0 ;
31460 char *kwnames[] = {
31461 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31462 };
31463
31464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31467 {
31468 arg2 = &temp2;
31469 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31470 }
31471 {
31472 arg3 = &temp3;
31473 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31474 }
31475 arg4 = (bool) SWIG_AsBool(obj3);
31476 if (PyErr_Occurred()) SWIG_fail;
31477 arg5 = (bool) SWIG_AsBool(obj4);
31478 if (PyErr_Occurred()) SWIG_fail;
31479 {
31480 PyThreadState* __tstate = wxPyBeginAllowThreads();
31481 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
31482
31483 wxPyEndAllowThreads(__tstate);
31484 if (PyErr_Occurred()) SWIG_fail;
31485 }
31486 {
31487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31488 }
31489 return resultobj;
31490 fail:
31491 return NULL;
31492 }
31493
31494
31495 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
31496 PyObject *obj;
31497 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31498 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
31499 Py_INCREF(obj);
31500 return Py_BuildValue((char *)"");
31501 }
31502 static PyMethodDef SwigMethods[] = {
31503 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
31504 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
31505 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
31506 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
31507 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
31508 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31509 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
31510 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
31511 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
31512 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
31513 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
31514 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
31515 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
31516 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
31517 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
31518 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
31519 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
31520 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
31521 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
31522 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
31523 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
31524 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
31525 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
31526 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
31527 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
31528 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
31529 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
31530 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
31531 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
31532 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
31533 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
31534 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
31535 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31536 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
31537 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
31538 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
31539 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
31540 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
31541 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31542 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
31543 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31544 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
31545 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
31546 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
31547 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
31548 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
31549 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
31550 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
31551 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
31552 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
31553 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31554 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31555 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
31556 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
31557 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31558 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
31559 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31560 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS },
31561 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
31562 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
31563 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
31564 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31565 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
31566 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
31567 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
31568 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
31569 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
31570 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
31571 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
31572 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
31573 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
31574 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
31575 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
31576 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
31577 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
31578 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31579 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
31580 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
31581 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
31582 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
31583 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31584 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
31585 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
31586 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
31587 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
31588 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
31589 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
31590 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31591 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
31592 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
31593 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
31594 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
31595 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31596 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
31597 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
31598 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
31599 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
31600 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
31601 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
31602 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
31603 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31604 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
31605 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
31606 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
31607 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
31608 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
31609 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
31610 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
31611 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
31612 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31613 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
31614 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
31615 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
31616 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31617 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
31618 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
31619 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
31620 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31621 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
31622 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
31623 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
31624 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31625 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
31626 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31627 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
31628 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
31629 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
31630 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
31631 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
31632 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
31633 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
31634 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
31635 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
31636 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
31637 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS },
31638 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
31639 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
31640 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31641 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31642 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
31643 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
31644 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
31645 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
31646 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
31647 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
31648 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
31649 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31650 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
31651 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
31652 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
31653 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
31654 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
31655 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
31656 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31657 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31658 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
31659 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
31660 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
31661 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
31662 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS },
31663 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
31664 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
31665 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
31666 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
31667 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
31668 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
31669 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
31670 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31671 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
31672 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
31673 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
31674 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
31675 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
31676 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
31677 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
31678 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
31679 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
31680 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
31681 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31682 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
31683 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
31684 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
31685 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
31686 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
31687 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
31688 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
31689 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
31690 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
31691 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
31692 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
31693 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
31694 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
31695 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
31696 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
31697 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
31698 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
31699 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
31700 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
31701 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31702 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS },
31703 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
31704 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
31705 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
31706 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
31707 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
31708 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
31709 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
31710 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
31711 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
31712 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
31713 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31714 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
31715 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31716 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
31717 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31718 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
31719 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
31720 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS },
31721 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS },
31722 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
31723 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
31724 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31725 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
31726 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
31727 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
31728 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
31729 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
31730 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
31731 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
31732 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
31733 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
31734 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
31735 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
31736 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
31737 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
31738 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
31739 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
31740 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
31741 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31742 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
31743 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
31744 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
31745 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
31746 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31747 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
31748 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
31749 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31750 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
31751 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
31752 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
31753 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
31754 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31755 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
31756 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
31757 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
31758 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31759 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
31760 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
31761 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
31762 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
31763 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
31764 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
31765 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31766 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31767 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
31768 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
31769 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
31770 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
31771 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
31772 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
31773 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
31774 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
31775 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31776 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
31777 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
31778 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31779 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
31780 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
31781 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
31782 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
31783 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
31784 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
31785 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
31786 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
31787 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
31788 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31789 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
31790 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
31791 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
31792 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
31793 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31794 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31795 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31796 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
31797 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
31798 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
31799 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
31800 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
31801 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
31802 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
31803 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
31804 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
31805 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
31806 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
31807 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
31808 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
31809 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
31810 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
31811 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
31812 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
31813 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
31814 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
31815 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
31816 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
31817 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
31818 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
31819 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
31820 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
31821 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31822 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
31823 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
31824 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
31825 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
31826 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31827 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31828 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
31829 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31830 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
31831 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
31832 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
31833 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31834 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
31835 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
31836 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31837 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31838 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31839 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
31840 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
31841 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
31842 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
31843 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
31844 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
31845 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
31846 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
31847 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
31848 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31849 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
31850 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31851 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
31852 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
31853 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
31854 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
31855 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
31856 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
31857 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
31858 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
31859 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
31860 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
31861 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
31862 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
31863 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
31864 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
31865 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
31866 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction) _wrap_Notebook_ApplyThemeBackground, METH_VARARGS | METH_KEYWORDS },
31867 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31868 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
31869 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
31870 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
31871 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
31872 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
31873 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
31874 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
31875 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
31876 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
31877 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
31878 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
31879 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
31880 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
31881 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
31882 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
31883 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
31884 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
31885 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
31886 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
31887 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
31888 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
31889 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
31890 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
31891 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
31892 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
31893 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
31894 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
31895 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
31896 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
31897 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
31898 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
31899 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
31900 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
31901 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
31902 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
31903 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
31904 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
31905 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
31906 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
31907 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
31908 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
31909 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
31910 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
31911 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
31912 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
31913 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
31914 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
31915 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
31916 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
31917 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
31918 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
31919 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
31920 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
31921 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
31922 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
31923 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
31924 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
31925 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
31926 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
31927 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
31928 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
31929 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
31930 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
31931 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
31932 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
31933 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
31934 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
31935 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
31936 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
31937 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
31938 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
31939 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
31940 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
31941 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
31942 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
31943 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
31944 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
31945 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
31946 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
31947 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
31948 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
31949 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
31950 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
31951 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
31952 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
31953 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
31954 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
31955 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
31956 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
31957 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
31958 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
31959 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
31960 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
31961 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
31962 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
31963 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
31964 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
31965 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
31966 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
31967 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31968 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
31969 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
31970 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31971 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31972 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
31973 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
31974 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31975 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
31976 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31977 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31978 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
31979 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
31980 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
31981 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
31982 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
31983 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
31984 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
31985 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
31986 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
31987 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
31988 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
31989 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
31990 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
31991 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
31992 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
31993 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
31994 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
31995 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31996 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31997 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
31998 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
31999 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
32000 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
32001 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
32002 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
32003 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
32004 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
32005 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
32006 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
32007 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
32008 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
32009 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
32010 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32011 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
32012 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
32013 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
32014 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
32015 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
32016 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
32017 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
32018 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
32019 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
32020 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
32021 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
32022 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
32023 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
32024 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
32025 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
32026 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
32027 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
32028 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
32029 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
32030 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
32031 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
32032 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
32033 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
32034 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
32035 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
32036 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
32037 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
32038 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
32039 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
32040 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
32041 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
32042 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
32043 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
32044 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
32045 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
32046 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
32047 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
32048 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
32049 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
32050 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
32051 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
32052 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
32053 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
32054 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
32055 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
32056 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
32057 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
32058 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
32059 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
32060 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
32061 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
32062 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
32063 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32064 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
32065 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32066 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
32067 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
32068 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
32069 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
32070 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
32071 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
32072 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
32073 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
32074 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
32075 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
32076 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
32077 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
32078 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
32079 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
32080 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
32081 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
32082 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
32083 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
32084 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
32085 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
32086 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
32087 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
32088 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
32089 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
32090 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
32091 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
32092 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
32093 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
32094 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
32095 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
32096 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
32097 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
32098 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
32099 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS },
32100 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
32101 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
32102 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
32103 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
32104 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
32105 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
32106 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
32107 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
32108 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
32109 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
32110 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
32111 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
32112 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
32113 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
32114 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
32115 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
32116 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
32117 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
32118 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
32119 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
32120 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
32121 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
32122 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
32123 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
32124 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
32125 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
32126 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32127 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32128 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
32129 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
32130 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
32131 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
32132 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
32133 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
32134 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
32135 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
32136 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
32137 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
32138 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
32139 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
32140 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
32141 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
32142 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
32143 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
32144 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
32145 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
32146 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
32147 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
32148 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
32149 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
32150 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
32151 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
32152 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
32153 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
32154 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
32155 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
32156 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
32157 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
32158 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
32159 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
32160 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
32161 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
32162 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
32163 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
32164 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
32165 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
32166 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
32167 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
32168 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
32169 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
32170 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
32171 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
32172 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
32173 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
32174 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
32175 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
32176 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
32177 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
32178 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32179 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
32180 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
32181 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
32182 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
32183 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
32184 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
32185 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
32186 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
32187 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
32188 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
32189 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
32190 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
32191 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
32192 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
32193 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
32194 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
32195 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32196 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
32197 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
32198 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
32199 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
32200 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
32201 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
32202 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
32203 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
32204 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
32205 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32206 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
32207 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
32208 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
32209 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
32210 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
32211 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
32212 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
32213 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
32214 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
32215 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
32216 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
32217 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
32218 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
32219 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
32220 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
32221 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
32222 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
32223 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
32224 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
32225 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
32226 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
32227 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
32228 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
32229 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
32230 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
32231 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
32232 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
32233 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
32234 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
32235 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
32236 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
32237 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
32238 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
32239 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
32240 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
32241 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
32242 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
32243 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
32244 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
32245 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
32246 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
32247 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
32248 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
32249 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
32250 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS },
32251 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS },
32252 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
32253 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
32254 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
32255 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
32256 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
32257 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
32258 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
32259 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
32260 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
32261 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
32262 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
32263 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
32264 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
32265 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
32266 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
32267 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
32268 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
32269 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
32270 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
32271 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
32272 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
32273 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
32274 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
32275 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
32276 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
32277 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
32278 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
32279 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
32280 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
32281 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
32282 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS },
32283 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32284 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS },
32285 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
32286 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
32287 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
32288 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
32289 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
32290 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
32291 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
32292 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
32293 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
32294 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
32295 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
32296 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
32297 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
32298 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
32299 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
32300 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
32301 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
32302 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
32303 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
32304 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
32305 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
32306 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
32307 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
32308 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
32309 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
32310 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
32311 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
32312 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
32313 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
32314 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
32315 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
32316 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
32317 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
32318 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
32319 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
32320 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
32321 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
32322 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
32323 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
32324 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
32325 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
32326 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
32327 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
32328 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS },
32329 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
32330 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
32331 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
32332 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
32333 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
32334 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
32335 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
32336 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
32337 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
32338 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
32339 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
32340 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
32341 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
32342 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
32343 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
32344 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
32345 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
32346 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
32347 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
32348 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
32349 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
32350 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
32351 { NULL, NULL }
32352 };
32353
32354
32355 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32356
32357 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
32358 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32359 }
32360 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
32361 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
32362 }
32363 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
32364 return (void *)((wxSizer *) ((wxBoxSizer *) x));
32365 }
32366 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
32367 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
32368 }
32369 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
32370 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32371 }
32372 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
32373 return (void *)((wxSizer *) ((wxGridSizer *) x));
32374 }
32375 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
32376 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
32377 }
32378 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
32379 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
32380 }
32381 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
32382 return (void *)((wxSizer *) ((wxPySizer *) x));
32383 }
32384 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
32385 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
32386 }
32387 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32388 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32389 }
32390 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32391 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32392 }
32393 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32394 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32395 }
32396 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32397 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32398 }
32399 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32400 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32401 }
32402 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
32403 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32404 }
32405 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32406 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32407 }
32408 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32409 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32410 }
32411 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32412 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32413 }
32414 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
32415 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
32416 }
32417 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
32418 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32419 }
32420 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32421 return (void *)((wxEvent *) ((wxPyEvent *) x));
32422 }
32423 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32424 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32425 }
32426 static void *_p_wxListEventTo_p_wxEvent(void *x) {
32427 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32428 }
32429 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
32430 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32431 }
32432 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
32433 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32434 }
32435 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
32436 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
32437 }
32438 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32439 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32440 }
32441 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32442 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32443 }
32444 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32445 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32446 }
32447 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32448 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32449 }
32450 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32451 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32452 }
32453 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32454 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32455 }
32456 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32457 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32458 }
32459 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32460 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32461 }
32462 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32463 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32464 }
32465 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32466 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32467 }
32468 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32469 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32470 }
32471 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32472 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32473 }
32474 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32475 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32476 }
32477 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32478 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32479 }
32480 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32481 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32482 }
32483 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32484 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32485 }
32486 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32487 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32488 }
32489 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32490 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32491 }
32492 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32493 return (void *)((wxEvent *) ((wxShowEvent *) x));
32494 }
32495 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32496 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32497 }
32498 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32499 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32500 }
32501 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32502 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32503 }
32504 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32505 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32506 }
32507 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32508 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32509 }
32510 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32511 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32512 }
32513 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
32514 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32515 }
32516 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
32517 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
32518 }
32519 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
32520 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32521 }
32522 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
32523 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
32524 }
32525 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32526 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32527 }
32528 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
32529 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
32530 }
32531 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
32532 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32533 }
32534 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
32535 return (void *)((wxPyListCtrl *) ((wxListView *) x));
32536 }
32537 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
32538 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32539 }
32540 static void *_p_wxListBoxTo_p_wxControl(void *x) {
32541 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
32542 }
32543 static void *_p_wxChoiceTo_p_wxControl(void *x) {
32544 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
32545 }
32546 static void *_p_wxToolBarTo_p_wxControl(void *x) {
32547 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
32548 }
32549 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
32550 return (void *)((wxControl *) ((wxStaticBitmap *) x));
32551 }
32552 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
32553 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
32554 }
32555 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
32556 return (void *)((wxControl *) ((wxSpinCtrl *) x));
32557 }
32558 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
32559 return (void *)((wxControl *) ((wxStaticBox *) x));
32560 }
32561 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
32562 return (void *)((wxControl *) ((wxPyListCtrl *) x));
32563 }
32564 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
32565 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
32566 }
32567 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
32568 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32569 }
32570 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
32571 return (void *)((wxControl *) ((wxScrollBar *) x));
32572 }
32573 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
32574 return (void *)((wxControl *) ((wxBookCtrl *) x));
32575 }
32576 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
32577 return (void *)((wxControl *) ((wxRadioButton *) x));
32578 }
32579 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
32580 return (void *)((wxControl *) ((wxToggleButton *) x));
32581 }
32582 static void *_p_wxGaugeTo_p_wxControl(void *x) {
32583 return (void *)((wxControl *) ((wxGauge *) x));
32584 }
32585 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
32586 return (void *)((wxControl *) ((wxToolBarBase *) x));
32587 }
32588 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
32589 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
32590 }
32591 static void *_p_wxButtonTo_p_wxControl(void *x) {
32592 return (void *)((wxControl *) ((wxButton *) x));
32593 }
32594 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
32595 return (void *)((wxControl *) ((wxSpinButton *) x));
32596 }
32597 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
32598 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32599 }
32600 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
32601 return (void *)((wxControl *) ((wxControlWithItems *) x));
32602 }
32603 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
32604 return (void *)((wxControl *) ((wxRadioBox *) x));
32605 }
32606 static void *_p_wxNotebookTo_p_wxControl(void *x) {
32607 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
32608 }
32609 static void *_p_wxListbookTo_p_wxControl(void *x) {
32610 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
32611 }
32612 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
32613 return (void *)((wxControl *) ((wxCheckBox *) x));
32614 }
32615 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
32616 return (void *)((wxControl *) ((wxTextCtrl *) x));
32617 }
32618 static void *_p_wxListViewTo_p_wxControl(void *x) {
32619 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
32620 }
32621 static void *_p_wxSliderTo_p_wxControl(void *x) {
32622 return (void *)((wxControl *) ((wxSlider *) x));
32623 }
32624 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
32625 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
32626 }
32627 static void *_p_wxPyControlTo_p_wxControl(void *x) {
32628 return (void *)((wxControl *) ((wxPyControl *) x));
32629 }
32630 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
32631 return (void *)((wxControl *) ((wxStaticLine *) x));
32632 }
32633 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
32634 return (void *)((wxControl *) ((wxStaticText *) x));
32635 }
32636 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
32637 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
32638 }
32639 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
32640 return (void *)((wxChoice *) ((wxComboBox *) x));
32641 }
32642 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
32643 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
32644 }
32645 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
32646 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
32647 }
32648 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
32649 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32650 }
32651 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
32652 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
32653 }
32654 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
32655 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
32656 }
32657 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
32658 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32659 }
32660 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
32661 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
32662 }
32663 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
32664 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
32665 }
32666 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32667 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32668 }
32669 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32670 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32671 }
32672 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32673 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32674 }
32675 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
32676 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32677 }
32678 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32679 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32680 }
32681 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
32682 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
32683 }
32684 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
32685 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
32686 }
32687 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32688 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32689 }
32690 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32691 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32692 }
32693 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
32694 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32695 }
32696 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
32697 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32698 }
32699 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
32700 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
32701 }
32702 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
32703 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32704 }
32705 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
32706 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
32707 }
32708 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32709 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32710 }
32711 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
32712 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32713 }
32714 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
32715 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
32716 }
32717 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32718 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32719 }
32720 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
32721 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
32722 }
32723 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
32724 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
32725 }
32726 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
32727 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32728 }
32729 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
32730 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32731 }
32732 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
32733 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
32734 }
32735 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
32736 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
32737 }
32738 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
32739 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32740 }
32741 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
32742 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32743 }
32744 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
32745 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32746 }
32747 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
32748 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32749 }
32750 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
32751 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32752 }
32753 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
32754 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32755 }
32756 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
32757 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
32758 }
32759 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
32760 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
32761 }
32762 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
32763 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
32764 }
32765 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
32766 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
32767 }
32768 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
32769 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
32770 }
32771 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
32772 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
32773 }
32774 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
32775 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
32776 }
32777 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
32778 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32779 }
32780 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
32781 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32782 }
32783 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
32784 return (void *)((wxListBox *) ((wxCheckListBox *) x));
32785 }
32786 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
32787 return (void *)((wxBookCtrl *) ((wxListbook *) x));
32788 }
32789 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
32790 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
32791 }
32792 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
32793 return (void *)((wxButton *) ((wxBitmapButton *) x));
32794 }
32795 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
32796 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
32797 }
32798 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
32799 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
32800 }
32801 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
32802 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
32803 }
32804 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32805 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32806 }
32807 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32808 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32809 }
32810 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32811 return (void *)((wxObject *) ((wxSizerItem *) x));
32812 }
32813 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32814 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32815 }
32816 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32817 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32818 }
32819 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
32820 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
32821 }
32822 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
32823 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32824 }
32825 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32826 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32827 }
32828 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32829 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32830 }
32831 static void *_p_wxSizerTo_p_wxObject(void *x) {
32832 return (void *)((wxObject *) ((wxSizer *) x));
32833 }
32834 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32835 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32836 }
32837 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
32838 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
32839 }
32840 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
32841 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32842 }
32843 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32844 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32845 }
32846 static void *_p_wxEventTo_p_wxObject(void *x) {
32847 return (void *)((wxObject *) ((wxEvent *) x));
32848 }
32849 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32850 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32851 }
32852 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32853 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32854 }
32855 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32856 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32857 }
32858 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
32859 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32860 }
32861 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
32862 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32863 }
32864 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
32865 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32866 }
32867 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32868 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32869 }
32870 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32871 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32872 }
32873 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32874 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32875 }
32876 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32877 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32878 }
32879 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32880 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32881 }
32882 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32883 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32884 }
32885 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
32886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
32887 }
32888 static void *_p_wxControlTo_p_wxObject(void *x) {
32889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32890 }
32891 static void *_p_wxPyControlTo_p_wxObject(void *x) {
32892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
32893 }
32894 static void *_p_wxGaugeTo_p_wxObject(void *x) {
32895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
32896 }
32897 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
32898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
32899 }
32900 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
32901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
32902 }
32903 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
32904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32905 }
32906 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32907 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32908 }
32909 static void *_p_wxChoiceTo_p_wxObject(void *x) {
32910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32911 }
32912 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32913 return (void *)((wxObject *) ((wxFSFile *) x));
32914 }
32915 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32916 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32917 }
32918 static void *_p_wxListViewTo_p_wxObject(void *x) {
32919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32920 }
32921 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
32922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32923 }
32924 static void *_p_wxNotebookTo_p_wxObject(void *x) {
32925 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32926 }
32927 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32928 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32929 }
32930 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32931 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32932 }
32933 static void *_p_wxListbookTo_p_wxObject(void *x) {
32934 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32935 }
32936 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32937 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32938 }
32939 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
32940 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32941 }
32942 static void *_p_wxSliderTo_p_wxObject(void *x) {
32943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
32944 }
32945 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32946 return (void *)((wxObject *) ((wxMenuItem *) x));
32947 }
32948 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32949 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32950 }
32951 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32952 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32953 }
32954 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32955 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32956 }
32957 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32958 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32959 }
32960 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32961 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32962 }
32963 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32964 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32965 }
32966 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32967 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32968 }
32969 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32970 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32971 }
32972 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
32973 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
32974 }
32975 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
32976 return (void *)((wxObject *) ((wxContextHelp *) x));
32977 }
32978 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32979 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32980 }
32981 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32982 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32983 }
32984 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32985 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32986 }
32987 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32988 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32989 }
32990 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32991 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32992 }
32993 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32994 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32995 }
32996 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32997 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32998 }
32999 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33000 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33001 }
33002 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33003 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33004 }
33005 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33006 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33007 }
33008 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33009 return (void *)((wxObject *) ((wxImageHandler *) x));
33010 }
33011 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33012 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33013 }
33014 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33015 return (void *)((wxObject *) ((wxEvtHandler *) x));
33016 }
33017 static void *_p_wxListEventTo_p_wxObject(void *x) {
33018 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
33019 }
33020 static void *_p_wxListBoxTo_p_wxObject(void *x) {
33021 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
33022 }
33023 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
33024 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33025 }
33026 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
33027 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
33028 }
33029 static void *_p_wxButtonTo_p_wxObject(void *x) {
33030 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
33031 }
33032 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
33033 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
33034 }
33035 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
33036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
33037 }
33038 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
33039 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33040 }
33041 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33042 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33043 }
33044 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
33045 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
33046 }
33047 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
33048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
33049 }
33050 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
33051 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
33052 }
33053 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
33054 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
33055 }
33056 static void *_p_wxListItemTo_p_wxObject(void *x) {
33057 return (void *)((wxObject *) ((wxListItem *) x));
33058 }
33059 static void *_p_wxImageTo_p_wxObject(void *x) {
33060 return (void *)((wxObject *) ((wxImage *) x));
33061 }
33062 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
33063 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
33064 }
33065 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33066 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33067 }
33068 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
33069 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
33070 }
33071 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
33072 return (void *)((wxObject *) ((wxGenericDragImage *) x));
33073 }
33074 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
33075 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
33076 }
33077 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
33078 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
33079 }
33080 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
33081 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
33082 }
33083 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33084 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33085 }
33086 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33087 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33088 }
33089 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33090 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33091 }
33092 static void *_p_wxWindowTo_p_wxObject(void *x) {
33093 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33094 }
33095 static void *_p_wxMenuTo_p_wxObject(void *x) {
33096 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33097 }
33098 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33099 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33100 }
33101 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33102 return (void *)((wxObject *) ((wxFileSystem *) x));
33103 }
33104 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33105 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33106 }
33107 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33108 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33109 }
33110 static void *_p_wxPyAppTo_p_wxObject(void *x) {
33111 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33112 }
33113 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33114 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33115 }
33116 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33117 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33118 }
33119 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33120 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33121 }
33122 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
33123 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
33124 }
33125 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33126 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33127 }
33128 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33129 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33130 }
33131 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
33132 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
33133 }
33134 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33135 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33136 }
33137 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33138 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33139 }
33140 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33141 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33142 }
33143 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33144 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33145 }
33146 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
33147 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
33148 }
33149 static void *_p_wxToolBarTo_p_wxObject(void *x) {
33150 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
33151 }
33152 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33153 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33154 }
33155 static void *_p_wxValidatorTo_p_wxObject(void *x) {
33156 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33157 }
33158 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
33159 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
33160 }
33161 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
33162 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
33163 }
33164 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33165 return (void *)((wxWindow *) ((wxMenuBar *) x));
33166 }
33167 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
33168 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
33169 }
33170 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
33171 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
33172 }
33173 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
33174 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
33175 }
33176 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
33177 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
33178 }
33179 static void *_p_wxControlTo_p_wxWindow(void *x) {
33180 return (void *)((wxWindow *) ((wxControl *) x));
33181 }
33182 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
33183 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
33184 }
33185 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
33186 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
33187 }
33188 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
33189 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
33190 }
33191 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
33192 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
33193 }
33194 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
33195 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
33196 }
33197 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
33198 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
33199 }
33200 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33201 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33202 }
33203 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
33204 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
33205 }
33206 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
33207 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
33208 }
33209 static void *_p_wxListbookTo_p_wxWindow(void *x) {
33210 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
33211 }
33212 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
33213 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
33214 }
33215 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
33216 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
33217 }
33218 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
33219 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
33220 }
33221 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
33222 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33223 }
33224 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
33225 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
33226 }
33227 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
33228 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
33229 }
33230 static void *_p_wxListViewTo_p_wxWindow(void *x) {
33231 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
33232 }
33233 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
33234 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
33235 }
33236 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
33237 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
33238 }
33239 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
33240 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
33241 }
33242 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
33243 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
33244 }
33245 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
33246 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
33247 }
33248 static void *_p_wxSliderTo_p_wxWindow(void *x) {
33249 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
33250 }
33251 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
33252 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
33253 }
33254 static void *_p_wxButtonTo_p_wxWindow(void *x) {
33255 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
33256 }
33257 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
33258 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
33259 }
33260 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
33261 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33262 }
33263 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
33264 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
33265 }
33266 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33267 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33268 }
33269 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
33270 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
33271 }
33272 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
33273 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
33274 }
33275 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33276 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33277 }
33278 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33279 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33280 }
33281 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33282 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33283 }
33284 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33285 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33286 }
33287 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
33288 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
33289 }
33290 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
33291 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
33292 }
33293 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
33294 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
33295 }
33296 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33297 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33298 }
33299 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
33300 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
33301 }
33302 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
33303 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
33304 }
33305 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
33306 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
33307 }
33308 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33309 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33310 }
33311 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33312 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33313 }
33314 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
33315 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
33316 }
33317 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
33318 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
33319 }
33320 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
33321 return (void *)((wxControlWithItems *) ((wxChoice *) x));
33322 }
33323 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
33324 return (void *)((wxControlWithItems *) ((wxListBox *) x));
33325 }
33326 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
33327 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
33328 }
33329 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33330 return (void *)((wxValidator *) ((wxPyValidator *) x));
33331 }
33332 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}};
33333 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}};
33334 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}};
33335 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}};
33336 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}};
33337 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}};
33338 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}};
33339 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}};
33340 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}};
33341 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}};
33342 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}};
33343 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}};
33344 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}};
33345 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}};
33346 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}};
33347 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}};
33348 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}};
33349 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}};
33350 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}};
33351 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}};
33352 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33353 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}};
33354 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}};
33355 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}};
33356 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}};
33357 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}};
33358 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}};
33359 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}};
33360 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}};
33361 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}};
33362 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}};
33363 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}};
33364 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}};
33365 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}};
33366 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}};
33367 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}};
33368 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}};
33369 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}};
33370 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}};
33371 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}};
33372 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}};
33373 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}};
33374 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}};
33375 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}};
33376 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}};
33377 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}};
33378 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}};
33379 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}};
33380 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}};
33381 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}};
33382 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}};
33383 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}};
33384 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}};
33385 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}};
33386 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}};
33387 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}};
33388 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}};
33389 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}};
33390 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}};
33391 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}};
33392 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}};
33393 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}};
33394 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}};
33395 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}};
33396 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}};
33397 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}};
33398 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}};
33399 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}};
33400 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}};
33401 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}};
33402 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}};
33403 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}};
33404 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}};
33405 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}};
33406 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}};
33407 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}};
33408 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}};
33409 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}};
33410 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}};
33411 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33412 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}};
33413 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}};
33414 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}};
33415 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}};
33416 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}};
33417
33418 static swig_type_info *swig_types_initial[] = {
33419 _swigt__p_wxTextUrlEvent,
33420 _swigt__p_wxBookCtrlEvent,
33421 _swigt__p_wxSizer,
33422 _swigt__p_wxCheckBox,
33423 _swigt__p_wxPyTreeCtrl,
33424 _swigt__p_wxEvent,
33425 _swigt__p_wxGenericDirCtrl,
33426 _swigt__p_bool,
33427 _swigt__p_wxPyTreeItemData,
33428 _swigt__p_wxItemContainer,
33429 _swigt__p_wxPyListCtrl,
33430 _swigt__p_wxDirFilterListCtrl,
33431 _swigt__p_wxStaticLine,
33432 _swigt__p_wxControl,
33433 _swigt__p_wxPyControl,
33434 _swigt__p_wxGauge,
33435 _swigt__p_wxToolBarBase,
33436 _swigt__p_wxFont,
33437 _swigt__p_wxToggleButton,
33438 _swigt__p_wxRadioButton,
33439 _swigt__p_wxChoice,
33440 _swigt__p_wxMemoryDC,
33441 _swigt__p_wxListItemAttr,
33442 _swigt__p_void,
33443 _swigt__p_int,
33444 _swigt__p_wxSize,
33445 _swigt__p_wxDC,
33446 _swigt__p_wxListView,
33447 _swigt__p_wxIcon,
33448 _swigt__p_wxVisualAttributes,
33449 _swigt__p_wxTextCtrl,
33450 _swigt__p_wxNotebook,
33451 _swigt__p_wxNotifyEvent,
33452 _swigt__p_wxArrayString,
33453 _swigt__p_wxListbook,
33454 _swigt__p_wxStaticBitmap,
33455 _swigt__p_wxSlider,
33456 _swigt__p_wxStaticBox,
33457 _swigt__p_wxArrayInt,
33458 _swigt__p_wxContextHelp,
33459 _swigt__p_long,
33460 _swigt__p_wxEvtHandler,
33461 _swigt__p_wxListEvent,
33462 _swigt__p_wxCheckListBox,
33463 _swigt__p_wxListBox,
33464 _swigt__p_wxBookCtrl,
33465 _swigt__p_wxSpinButton,
33466 _swigt__p_wxButton,
33467 _swigt__p_wxBitmapButton,
33468 _swigt__p_wxRect,
33469 _swigt__p_wxContextHelpButton,
33470 _swigt__p_wxRadioBox,
33471 _swigt__p_wxScrollBar,
33472 _swigt__p_char,
33473 _swigt__p_wxTreeItemId,
33474 _swigt__p_wxComboBox,
33475 _swigt__p_wxHelpEvent,
33476 _swigt__p_wxListItem,
33477 _swigt__p_wxNotebookSizer,
33478 _swigt__p_wxSpinEvent,
33479 _swigt__p_wxGenericDragImage,
33480 _swigt__p_wxSpinCtrl,
33481 _swigt__p_wxImageList,
33482 _swigt__p_wxHelpProvider,
33483 _swigt__p_wxTextAttr,
33484 _swigt__p_wxSimpleHelpProvider,
33485 _swigt__p_wxPoint,
33486 _swigt__p_wxListbookEvent,
33487 _swigt__p_wxNotebookEvent,
33488 _swigt__p_wxObject,
33489 _swigt__p_wxCursor,
33490 _swigt__p_wxKeyEvent,
33491 _swigt__p_wxWindow,
33492 _swigt__p_wxString,
33493 _swigt__p_wxBitmap,
33494 _swigt__p_wxTreeEvent,
33495 _swigt__p_wxMouseEvent,
33496 _swigt__p_wxCommandEvent,
33497 _swigt__p_wxStaticText,
33498 _swigt__p_wxControlWithItems,
33499 _swigt__p_wxToolBarToolBase,
33500 _swigt__p_wxColour,
33501 _swigt__p_wxToolBar,
33502 _swigt__p_wxBookCtrlSizer,
33503 _swigt__p_wxValidator,
33504 0
33505 };
33506
33507
33508 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33509
33510 static swig_const_info swig_const_table[] = {
33511 {0}};
33512
33513 #ifdef __cplusplus
33514 }
33515 #endif
33516
33517 #ifdef __cplusplus
33518 extern "C"
33519 #endif
33520 SWIGEXPORT(void) SWIG_init(void) {
33521 static PyObject *SWIG_globals = 0;
33522 static int typeinit = 0;
33523 PyObject *m, *d;
33524 int i;
33525 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
33526 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33527 d = PyModule_GetDict(m);
33528
33529 if (!typeinit) {
33530 for (i = 0; swig_types_initial[i]; i++) {
33531 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
33532 }
33533 typeinit = 1;
33534 }
33535 SWIG_InstallConstants(d,swig_const_table);
33536
33537 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
33538 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
33539 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
33540 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
33541 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
33542 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
33543 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
33544 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
33545 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
33546 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
33547 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
33548 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
33549 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
33550 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
33551 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
33552 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
33553 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
33554 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
33555 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
33556 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
33557 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
33558 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
33559 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
33560 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
33561 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
33562 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
33563 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
33564 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
33565 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
33566 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
33567 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
33568 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
33569 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
33570 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
33571 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
33572 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
33573 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
33574 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
33575 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
33576 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
33577 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
33578 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
33579 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
33580 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
33581 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
33582 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
33583 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
33584 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
33585 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
33586 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
33587 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
33588 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
33589 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
33590 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
33591 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
33592 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
33593 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
33594 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
33595 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
33596 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
33597 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
33598 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
33599 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
33600 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
33601 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
33602 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
33603 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
33604 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
33605 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
33606 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
33607 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
33608 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
33609 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
33610 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
33611 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
33612 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
33613 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
33614 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
33615 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
33616 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
33617 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
33618 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
33619 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
33620 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
33621 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
33622 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
33623 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
33624 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
33625 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
33626 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
33627 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
33628 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
33629 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
33630 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
33631 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
33632 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
33633 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
33634 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
33635 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
33636 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
33637 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
33638 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
33639 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
33640 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
33641 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
33642 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
33643 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
33644 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
33645 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
33646 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
33647 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
33648 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
33649 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
33650 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
33651 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
33652 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
33653 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
33654 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
33655 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
33656 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
33657 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
33658 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
33659 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
33660 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
33661 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
33662 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
33663 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
33664 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
33665 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
33666 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
33667 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
33668 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
33669 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
33670 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
33671 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
33672 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
33673 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
33674 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
33675 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
33676 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
33677 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
33678 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
33679 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
33680 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
33681 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
33682 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
33683 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
33684 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
33685 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
33686 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
33687 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
33688 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
33689 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
33690 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
33691 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
33692 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
33693 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
33694 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
33695 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
33696 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
33697 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
33698 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
33699 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
33700 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
33701 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
33702 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
33703 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
33704 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
33705 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
33706 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
33707 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
33708 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
33709 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
33710 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
33711 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
33712 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
33713 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
33714 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
33715 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
33716 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
33717 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
33718 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
33719 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
33720 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
33721 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
33722 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
33723 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
33724 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
33725 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
33726 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
33727 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
33728 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
33729 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
33730 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
33731 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
33732 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
33733 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
33734 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
33735 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
33736 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
33737 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
33738 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
33739 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
33740 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
33741 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
33742 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
33743 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
33744 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
33745 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
33746 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
33747 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
33748
33749 // Map renamed classes back to their common name for OOR
33750 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33751
33752 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
33753 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
33754 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
33755 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
33756 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
33757 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
33758 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
33759 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
33760 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
33761 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
33762 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
33763 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
33764 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
33765 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
33766 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
33767 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
33768 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
33769 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
33770 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
33771 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
33772 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
33773 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
33774 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
33775 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
33776 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
33777 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
33778 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
33779 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
33780 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
33781 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
33782 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
33783 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
33784 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
33785 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
33786 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
33787 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
33788 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
33789 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
33790 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
33791 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
33792 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
33793 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
33794 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
33795 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
33796 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
33797 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
33798 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
33799 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
33800 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
33801 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
33802 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
33803 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
33804 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
33805 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
33806 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
33807 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
33808
33809 // Map renamed classes back to their common name for OOR
33810 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33811 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33812
33813 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
33814 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
33815 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
33816 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
33817 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
33818 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
33819 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
33820 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
33821 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
33822 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
33823
33824 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
33825
33826 }
33827