]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/controls_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxPyListCtrl 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_wxTextCtrl swig_types[29]
239 #define SWIGTYPE_p_wxNotebook swig_types[30]
240 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
241 #define SWIGTYPE_p_wxArrayString swig_types[32]
242 #define SWIGTYPE_p_wxListbook swig_types[33]
243 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
244 #define SWIGTYPE_p_wxSlider swig_types[35]
245 #define SWIGTYPE_p_wxStaticBox swig_types[36]
246 #define SWIGTYPE_p_wxArrayInt swig_types[37]
247 #define SWIGTYPE_p_wxContextHelp swig_types[38]
248 #define SWIGTYPE_p_long swig_types[39]
249 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
250 #define SWIGTYPE_p_wxListEvent swig_types[41]
251 #define SWIGTYPE_p_wxListBox swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
254 #define SWIGTYPE_p_wxSpinButton swig_types[45]
255 #define SWIGTYPE_p_wxButton swig_types[46]
256 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
257 #define SWIGTYPE_p_wxRect swig_types[48]
258 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
259 #define SWIGTYPE_p_wxRadioBox swig_types[50]
260 #define SWIGTYPE_p_wxScrollBar swig_types[51]
261 #define SWIGTYPE_p_char swig_types[52]
262 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
263 #define SWIGTYPE_p_wxComboBox swig_types[54]
264 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
265 #define SWIGTYPE_p_wxListItem swig_types[56]
266 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
267 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
268 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
269 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
270 #define SWIGTYPE_p_wxImageList swig_types[61]
271 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
272 #define SWIGTYPE_p_wxTextAttr swig_types[63]
273 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
274 #define SWIGTYPE_p_wxPoint swig_types[65]
275 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
276 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
277 #define SWIGTYPE_p_wxObject swig_types[68]
278 #define SWIGTYPE_p_wxCursor swig_types[69]
279 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
280 #define SWIGTYPE_p_wxWindow swig_types[71]
281 #define SWIGTYPE_p_wxString swig_types[72]
282 #define SWIGTYPE_p_wxBitmap swig_types[73]
283 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
284 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
285 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
286 #define SWIGTYPE_p_wxStaticText swig_types[77]
287 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
288 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
289 #define SWIGTYPE_p_wxColour swig_types[80]
290 #define SWIGTYPE_p_wxToolBar swig_types[81]
291 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
292 #define SWIGTYPE_p_wxValidator swig_types[83]
293 static swig_type_info *swig_types[85];
294
295 /* -------- TYPES TABLE (END) -------- */
296
297
298 /*-----------------------------------------------
299 @(target):= _controls.so
300 ------------------------------------------------*/
301 #define SWIG_init init_controls
302
303 #define SWIG_name "_controls"
304
305 /* Auxiliar swig macros */
306
307 #ifdef __cplusplus
308 #define SWIGSTATICINLINE(a) static inline a
309 #define SWIGSTATIC(a) static a
310 #define swig_new_array(type, size) (new type[(size)])
311 #define swig_delete_array(cptr) delete[] cptr
312 #define swig_const_cast(type,a) const_cast<type>(a)
313 #define swig_static_cast(type,a) static_cast<type>(a)
314 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
315
316 #ifdef HAVE_NUMERIC_CAST
317 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
318 #else
319 #define swig_numeric_cast(type,a) static_cast<type>(a)
320 #endif
321
322 #else /* C case */
323
324 #define SWIGSTATICINLINE(a) static a
325 #define SWIGSTATIC(a) static a
326 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
327 #define swig_delete_array(cptr) free((char*)cptr)
328 #define swig_const_cast(type,a) (type)(a)
329 #define swig_static_cast(type,a) (type)(a)
330 #define swig_reinterpret_cast(type,a) (type)(a)
331 #define swig_numeric_cast(type,a) (type)(a)
332
333 #endif /* __cplusplus */
334
335
336 #define SWIG_FromSignedChar PyInt_FromLong
337 #define SWIG_FromUnsignedChar PyInt_FromLong
338 #define SWIG_FromShort PyInt_FromLong
339 #define SWIG_FromUnsignedShort PyInt_FromLong
340 #define SWIG_FromInt PyInt_FromLong
341 #define SWIG_FromLong PyInt_FromLong
342 #define SWIG_FromFloat PyFloat_FromDouble
343 #define SWIG_FromDouble PyFloat_FromDouble
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346
347
348 #include "wx/wxPython/wxPython.h"
349 #include "wx/wxPython/pyclasses.h"
350
351 static const wxString wxPyPanelNameStr(wxPanelNameStr);
352 static const wxString wxPyEmptyString(wxEmptyString);
353 static const wxString wxPyControlNameStr(wxControlNameStr);
354
355 const wxArrayString wxPyEmptyStringArray;
356
357 static const wxString wxPyButtonNameStr(wxButtonNameStr);
358
359 #include <limits.h>
360
361
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value, const char* type,
364 long min_value, long max_value)
365 {
366 if (!PyErr_Occurred()) {
367 if (value < min_value) {
368 PyObject *err =
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value, type, min_value);
371
372 PyErr_SetObject(PyExc_OverflowError, err);
373 Py_DECREF(err);
374 } else if (value > max_value) {
375 PyObject *err =
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value, type, max_value);
378 PyErr_SetObject(PyExc_OverflowError, err);
379 Py_DECREF(err);
380 }
381 }
382 return value;
383 }
384
385
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject * obj)
388 {
389 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
390 }
391
392
393 #if INT_MAX != LONG_MAX
394 SWIGSTATICINLINE(int)
395 SWIG_AsInt(PyObject *obj)
396 {
397 return swig_numeric_cast(int,
398 SWIG_CheckLongInRange(SWIG_AsLong(obj),
399 "int", INT_MIN, INT_MAX));
400 }
401 #else
402 #define SWIG_AsInt SWIG_AsLong
403 #endif
404
405
406 SWIGSTATICINLINE(int)
407 SWIG_CheckInt(PyObject* obj)
408 {
409 SWIG_AsInt(obj);
410 if (PyErr_Occurred()) {
411 PyErr_Clear();
412 return 0;
413 } else {
414 return 1;
415 }
416 }
417
418
419 SWIGSTATICINLINE(int)
420 SWIG_CheckLong(PyObject* obj)
421 {
422 SWIG_AsLong(obj);
423 if (PyErr_Occurred()) {
424 PyErr_Clear();
425 return 0;
426 } else {
427 return 1;
428 }
429 }
430
431 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
432
433 SWIGSTATICINLINE(bool)
434 SWIG_AsBool(PyObject *obj)
435 {
436 return PyObject_IsTrue(obj) ? true : false;
437 }
438
439
440 SWIGSTATICINLINE(int)
441 SWIG_CheckBool(PyObject* obj)
442 {
443 SWIG_AsBool(obj);
444 if (PyErr_Occurred()) {
445 PyErr_Clear();
446 return 0;
447 } else {
448 return 1;
449 }
450 }
451
452 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
453 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
454 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
455 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
456 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
457 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
458
459 #include <wx/checklst.h>
460
461
462 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
463 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
464 if (clientData) {
465 wxPyClientData* data = new wxPyClientData(clientData);
466 self->Insert(item, pos, data);
467 } else
468 self->Insert(item, pos);
469 }
470 PyObject *wxListBox_GetSelections(wxListBox *self){
471 wxArrayInt lst;
472 self->GetSelections(lst);
473 PyObject *tup = PyTuple_New(lst.GetCount());
474 for(size_t i=0; i<lst.GetCount(); i++) {
475 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
476 }
477 return tup;
478 }
479 void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
480 #ifdef __WXMSW__
481 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
482 self->GetItem(item)->SetTextColour(c);
483 #endif
484 }
485 void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
486 #ifdef __WXMSW__
487 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
488 self->GetItem(item)->SetBackgroundColour(c);
489 #endif
490 }
491 void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
492 #ifdef __WXMSW__
493 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
494 self->GetItem(item)->SetFont(f);
495 #endif
496 }
497 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
498
499 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
500 PyObject* o2;
501 PyObject* o3;
502
503 if (!target) {
504 target = o;
505 } else if (target == Py_None) {
506 Py_DECREF(Py_None);
507 target = o;
508 } else {
509 if (!PyTuple_Check(target)) {
510 o2 = target;
511 target = PyTuple_New(1);
512 PyTuple_SetItem(target, 0, o2);
513 }
514 o3 = PyTuple_New(1);
515 PyTuple_SetItem(o3, 0, o);
516
517 o2 = target;
518 target = PySequence_Concat(o2, o3);
519 Py_DECREF(o2);
520 Py_DECREF(o3);
521 }
522 return target;
523 }
524
525
526 SWIGSTATICINLINE(unsigned long)
527 SWIG_AsUnsignedLong(PyObject * obj)
528 {
529 if (PyLong_Check(obj)) {
530 return PyLong_AsUnsignedLong(obj);
531 } else {
532 long i = PyInt_AsLong(obj);
533 if ( !PyErr_Occurred() && (i < 0)) {
534 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
535 }
536 return i;
537 }
538 }
539
540
541 SWIGSTATICINLINE(int)
542 SWIG_CheckUnsignedLong(PyObject* obj)
543 {
544 SWIG_AsUnsignedLong(obj);
545 if (PyErr_Occurred()) {
546 PyErr_Clear();
547 return 0;
548 } else {
549 return 1;
550 }
551 }
552
553 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
554 self->AppendText(text);
555 }
556 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
557 return self->GetValue().Mid(from, to - from);
558 }
559 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
560 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
561 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
562 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
563 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
564
565 #include <wx/slider.h>
566
567
568 static const wxString wxPySliderNameStr(wxSliderNameStr);
569 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
570
571 #if !wxUSE_TOGGLEBTN
572 // implement dummy items for platforms that don't have this class
573
574 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
575
576 class wxToggleButton : public wxControl
577 {
578 public:
579 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
580 const wxPoint&, const wxSize&, long,
581 const wxValidator&, const wxString&)
582 { wxPyRaiseNotImplemented(); }
583
584 wxToggleButton()
585 { wxPyRaiseNotImplemented(); }
586 };
587 #endif
588
589 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
590
591 SWIGSTATICINLINE(PyObject* )
592 SWIG_FromUnsignedLong(unsigned long value)
593 {
594 return (value > LONG_MAX) ?
595 PyLong_FromUnsignedLong(value)
596 : PyInt_FromLong(swig_numeric_cast(long,value));
597 }
598
599 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
600 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
601 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
602 if (udata) {
603 Py_INCREF(udata->m_obj);
604 return udata->m_obj;
605 } else {
606 Py_INCREF(Py_None);
607 return Py_None;
608 }
609 }
610 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
611 self->SetClientData(new wxPyUserData(clientData));
612 }
613 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){
614 wxPyUserData* udata = NULL;
615 if (clientData && clientData != Py_None)
616 udata = new wxPyUserData(clientData);
617 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
618 shortHelp, longHelp, udata);
619 }
620 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){
621 wxPyUserData* udata = NULL;
622 if (clientData && clientData != Py_None)
623 udata = new wxPyUserData(clientData);
624 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
625 shortHelp, longHelp, udata);
626 }
627 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
628 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
629 if (udata) {
630 Py_INCREF(udata->m_obj);
631 return udata->m_obj;
632 } else {
633 Py_INCREF(Py_None);
634 return Py_None;
635 }
636 }
637 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
638 self->SetToolClientData(id, new wxPyUserData(clientData));
639 }
640
641 #include <wx/listctrl.h>
642
643
644 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
645 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
646 // Python aware sorting function for wxPyListCtrl
647 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
648 int retval = 0;
649 PyObject* func = (PyObject*)funcPtr;
650 wxPyBeginBlockThreads();
651
652 PyObject* args = Py_BuildValue("(ii)", item1, item2);
653 PyObject* result = PyEval_CallObject(func, args);
654 Py_DECREF(args);
655 if (result) {
656 retval = PyInt_AsLong(result);
657 Py_DECREF(result);
658 }
659
660 wxPyEndBlockThreads();
661 return retval;
662 }
663
664 // C++ Version of a Python aware class
665 class wxPyListCtrl : public wxListCtrl {
666 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
667 public:
668 wxPyListCtrl() : wxListCtrl() {}
669 wxPyListCtrl(wxWindow* parent, wxWindowID id,
670 const wxPoint& pos,
671 const wxSize& size,
672 long style,
673 const wxValidator& validator,
674 const wxString& name) :
675 wxListCtrl(parent, id, pos, size, style, validator, name) {}
676
677 bool Create(wxWindow* parent, wxWindowID id,
678 const wxPoint& pos,
679 const wxSize& size,
680 long style,
681 const wxValidator& validator,
682 const wxString& name) {
683 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
684 }
685
686 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
687 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
688 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
689
690 PYPRIVATE;
691 };
692
693 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
694
695 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
696 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
697 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
698
699 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
700 wxListItem item;
701 item.SetMask( wxLIST_MASK_STATE |
702 wxLIST_MASK_TEXT |
703 wxLIST_MASK_IMAGE |
704 wxLIST_MASK_DATA |
705 wxLIST_SET_ITEM |
706 wxLIST_MASK_WIDTH |
707 wxLIST_MASK_FORMAT
708 );
709 if (self->GetColumn(col, item))
710 return new wxListItem(item);
711 else
712 return NULL;
713 }
714 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
715 wxListItem* info = new wxListItem;
716 info->m_itemId = itemId;
717 info->m_col = col;
718 info->m_mask = 0xFFFF;
719 self->GetItem(*info);
720 return info;
721 }
722 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
723 wxPoint pos;
724 self->GetItemPosition(item, pos);
725 return pos;
726 }
727 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
728 wxRect rect;
729 self->GetItemRect(item, rect, code);
730 return rect;
731 }
732 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
733 if (!PyCallable_Check(func))
734 return False;
735 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
736 }
737 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
738
739
740
741 return (wxWindow*)self->m_mainWin;
742
743 }
744
745 #include <wx/treectrl.h>
746 #include "wx/wxPython/pytree.h"
747
748 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
749 bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : False; }
750 bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : True; }
751 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
752 // C++ version of Python aware wxTreeCtrl
753 class wxPyTreeCtrl : public wxTreeCtrl {
754 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
755 public:
756 wxPyTreeCtrl() : wxTreeCtrl() {}
757 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
758 const wxPoint& pos,
759 const wxSize& size,
760 long style,
761 const wxValidator& validator,
762 const wxString& name) :
763 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
764
765 bool Create(wxWindow *parent, wxWindowID id,
766 const wxPoint& pos,
767 const wxSize& size,
768 long style,
769 const wxValidator& validator,
770 const wxString& name) {
771 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
772 }
773
774
775 int OnCompareItems(const wxTreeItemId& item1,
776 const wxTreeItemId& item2) {
777 int rval = 0;
778 bool found;
779 wxPyBeginBlockThreads();
780 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
781 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
782 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
783 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
784 Py_DECREF(o1);
785 Py_DECREF(o2);
786 }
787 wxPyEndBlockThreads();
788 if (! found)
789 rval = wxTreeCtrl::OnCompareItems(item1, item2);
790 return rval;
791 }
792 PYPRIVATE;
793 };
794
795 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
796
797
798
799 #if UINT_MAX < LONG_MAX
800 #define SWIG_FromUnsignedInt SWIG_FromLong
801 #else
802 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
803 #endif
804
805
806 SWIGSTATICINLINE(unsigned long)
807 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
808 unsigned long max_value)
809 {
810 if (!PyErr_Occurred()) {
811 if (value > max_value) {
812 PyObject *err =
813 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
814 value, type, max_value);
815 PyErr_SetObject(PyExc_OverflowError, err);
816 Py_DECREF(err);
817 }
818 }
819 return value;
820 }
821
822
823 #if UINT_MAX != ULONG_MAX
824 SWIGSTATICINLINE(unsigned int)
825 SWIG_AsUnsignedInt(PyObject *obj)
826 {
827 return swig_numeric_cast(unsigned int,
828 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
829 "unsigned int", UINT_MAX));
830 }
831 #else
832 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
833 #endif
834
835
836 SWIGSTATICINLINE(int)
837 SWIG_CheckUnsignedInt(PyObject* obj)
838 {
839 SWIG_AsUnsignedInt(obj);
840 if (PyErr_Occurred()) {
841 PyErr_Clear();
842 return 0;
843 } else {
844 return 1;
845 }
846 }
847
848 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
849 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
850 if (data == NULL) {
851 data = new wxPyTreeItemData();
852 data->SetId(item); // set the id
853 self->SetItemData(item, data);
854 }
855 return data;
856 }
857 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
858 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
859 if (data == NULL) {
860 data = new wxPyTreeItemData();
861 data->SetId(item); // set the id
862 self->SetItemData(item, data);
863 }
864 return data->GetData();
865 }
866 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
867 data->SetId(item); // set the id
868 self->SetItemData(item, data);
869 }
870 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
871 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
872 if (data == NULL) {
873 data = new wxPyTreeItemData(obj);
874 data->SetId(item); // set the id
875 self->SetItemData(item, data);
876 } else
877 data->SetData(obj);
878 }
879 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
880 wxPyBeginBlockThreads();
881 PyObject* rval = PyList_New(0);
882 wxArrayTreeItemIds array;
883 size_t num, x;
884 num = self->GetSelections(array);
885 for (x=0; x < num; x++) {
886 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
887 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
888 PyList_Append(rval, item);
889 }
890 wxPyEndBlockThreads();
891 return rval;
892 }
893 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
894 void* cookie = 0;
895 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
896 wxPyBeginBlockThreads();
897 PyObject* tup = PyTuple_New(2);
898 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
899 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
900 wxPyEndBlockThreads();
901 return tup;
902 }
903 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
904 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
905 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();
910 return tup;
911 }
912 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
913 wxRect rect;
914 if (self->GetBoundingRect(item, rect, textOnly)) {
915 wxPyBeginBlockThreads();
916 wxRect* r = new wxRect(rect);
917 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
918 wxPyEndBlockThreads();
919 return val;
920 }
921 else
922 RETURN_NONE();
923 }
924 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
925 // C++ version of Python aware wxControl
926 class wxPyControl : public wxControl
927 {
928 DECLARE_DYNAMIC_CLASS(wxPyControl)
929 public:
930 wxPyControl() : wxControl() {}
931 wxPyControl(wxWindow* parent, const wxWindowID id,
932 const wxPoint& pos = wxDefaultPosition,
933 const wxSize& size = wxDefaultSize,
934 long style = 0,
935 const wxValidator& validator=wxDefaultValidator,
936 const wxString& name = wxPyControlNameStr)
937 : wxControl(parent, id, pos, size, style, validator, name) {}
938
939
940 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
941 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
942 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
943 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
944
945 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
946 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
948
949 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
950 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
951
952 DEC_PYCALLBACK__(InitDialog);
953 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
954 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
955 DEC_PYCALLBACK_BOOL_(Validate);
956
957 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
958 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
959 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
960
961 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
962 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
963
964 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
965
966 PYPRIVATE;
967 };
968
969 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
970
971 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
972 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
973 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
974 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
975
976 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
977 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
978 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
979
980 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
981 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
982
983 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
984 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
985 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
986 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
987
988 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
989 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
990 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
991
992 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
993 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
994
995 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, ShouldInheritColours);
996
997
998
999 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
1000
1001 #include <wx/generic/dragimgg.h>
1002
1003 #ifdef __cplusplus
1004 extern "C" {
1005 #endif
1006 static int _wrap_ButtonNameStr_set(PyObject *) {
1007 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1008 return 1;
1009 }
1010
1011
1012 static PyObject *_wrap_ButtonNameStr_get() {
1013 PyObject *pyobj;
1014
1015 {
1016 #if wxUSE_UNICODE
1017 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1018 #else
1019 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1020 #endif
1021 }
1022 return pyobj;
1023 }
1024
1025
1026 static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
1027 PyObject *resultobj;
1028 wxWindow *arg1 = (wxWindow *) 0 ;
1029 int arg2 ;
1030 wxString *arg3 = 0 ;
1031 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1032 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1033 wxSize const &arg5_defvalue = wxDefaultSize ;
1034 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1035 long arg6 = (long) 0 ;
1036 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1037 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1038 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1039 wxString *arg8 = (wxString *) &arg8_defvalue ;
1040 wxButton *result;
1041 bool temp3 = False ;
1042 wxPoint temp4 ;
1043 wxSize temp5 ;
1044 bool temp8 = False ;
1045 PyObject * obj0 = 0 ;
1046 PyObject * obj1 = 0 ;
1047 PyObject * obj2 = 0 ;
1048 PyObject * obj3 = 0 ;
1049 PyObject * obj4 = 0 ;
1050 PyObject * obj5 = 0 ;
1051 PyObject * obj6 = 0 ;
1052 PyObject * obj7 = 0 ;
1053 char *kwnames[] = {
1054 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1055 };
1056
1057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1060 arg2 = (int) SWIG_AsInt(obj1);
1061 if (PyErr_Occurred()) SWIG_fail;
1062 {
1063 arg3 = wxString_in_helper(obj2);
1064 if (arg3 == NULL) SWIG_fail;
1065 temp3 = True;
1066 }
1067 if (obj3) {
1068 {
1069 arg4 = &temp4;
1070 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1071 }
1072 }
1073 if (obj4) {
1074 {
1075 arg5 = &temp5;
1076 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1077 }
1078 }
1079 if (obj5) {
1080 arg6 = (long) SWIG_AsLong(obj5);
1081 if (PyErr_Occurred()) SWIG_fail;
1082 }
1083 if (obj6) {
1084 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1085 SWIG_POINTER_EXCEPTION | 0)) == -1)
1086 SWIG_fail;
1087 if (arg7 == NULL) {
1088 PyErr_SetString(PyExc_TypeError,"null reference");
1089 SWIG_fail;
1090 }
1091 }
1092 if (obj7) {
1093 {
1094 arg8 = wxString_in_helper(obj7);
1095 if (arg8 == NULL) SWIG_fail;
1096 temp8 = True;
1097 }
1098 }
1099 {
1100 PyThreadState* __tstate = wxPyBeginAllowThreads();
1101 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1102
1103 wxPyEndAllowThreads(__tstate);
1104 if (PyErr_Occurred()) SWIG_fail;
1105 }
1106 {
1107 resultobj = wxPyMake_wxObject(result);
1108 }
1109 {
1110 if (temp3)
1111 delete arg3;
1112 }
1113 {
1114 if (temp8)
1115 delete arg8;
1116 }
1117 return resultobj;
1118 fail:
1119 {
1120 if (temp3)
1121 delete arg3;
1122 }
1123 {
1124 if (temp8)
1125 delete arg8;
1126 }
1127 return NULL;
1128 }
1129
1130
1131 static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
1132 PyObject *resultobj;
1133 wxButton *result;
1134 char *kwnames[] = {
1135 NULL
1136 };
1137
1138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1139 {
1140 PyThreadState* __tstate = wxPyBeginAllowThreads();
1141 result = (wxButton *)new wxButton();
1142
1143 wxPyEndAllowThreads(__tstate);
1144 if (PyErr_Occurred()) SWIG_fail;
1145 }
1146 {
1147 resultobj = wxPyMake_wxObject(result);
1148 }
1149 return resultobj;
1150 fail:
1151 return NULL;
1152 }
1153
1154
1155 static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1156 PyObject *resultobj;
1157 wxButton *arg1 = (wxButton *) 0 ;
1158 wxWindow *arg2 = (wxWindow *) 0 ;
1159 int arg3 ;
1160 wxString *arg4 = 0 ;
1161 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1162 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1163 wxSize const &arg6_defvalue = wxDefaultSize ;
1164 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1165 long arg7 = (long) 0 ;
1166 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1167 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1168 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1169 wxString *arg9 = (wxString *) &arg9_defvalue ;
1170 bool result;
1171 bool temp4 = False ;
1172 wxPoint temp5 ;
1173 wxSize temp6 ;
1174 bool temp9 = False ;
1175 PyObject * obj0 = 0 ;
1176 PyObject * obj1 = 0 ;
1177 PyObject * obj2 = 0 ;
1178 PyObject * obj3 = 0 ;
1179 PyObject * obj4 = 0 ;
1180 PyObject * obj5 = 0 ;
1181 PyObject * obj6 = 0 ;
1182 PyObject * obj7 = 0 ;
1183 PyObject * obj8 = 0 ;
1184 char *kwnames[] = {
1185 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1186 };
1187
1188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1191 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1193 arg3 = (int) SWIG_AsInt(obj2);
1194 if (PyErr_Occurred()) SWIG_fail;
1195 {
1196 arg4 = wxString_in_helper(obj3);
1197 if (arg4 == NULL) SWIG_fail;
1198 temp4 = True;
1199 }
1200 if (obj4) {
1201 {
1202 arg5 = &temp5;
1203 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1204 }
1205 }
1206 if (obj5) {
1207 {
1208 arg6 = &temp6;
1209 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1210 }
1211 }
1212 if (obj6) {
1213 arg7 = (long) SWIG_AsLong(obj6);
1214 if (PyErr_Occurred()) SWIG_fail;
1215 }
1216 if (obj7) {
1217 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1218 SWIG_POINTER_EXCEPTION | 0)) == -1)
1219 SWIG_fail;
1220 if (arg8 == NULL) {
1221 PyErr_SetString(PyExc_TypeError,"null reference");
1222 SWIG_fail;
1223 }
1224 }
1225 if (obj8) {
1226 {
1227 arg9 = wxString_in_helper(obj8);
1228 if (arg9 == NULL) SWIG_fail;
1229 temp9 = True;
1230 }
1231 }
1232 {
1233 PyThreadState* __tstate = wxPyBeginAllowThreads();
1234 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1235
1236 wxPyEndAllowThreads(__tstate);
1237 if (PyErr_Occurred()) SWIG_fail;
1238 }
1239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1240 {
1241 if (temp4)
1242 delete arg4;
1243 }
1244 {
1245 if (temp9)
1246 delete arg9;
1247 }
1248 return resultobj;
1249 fail:
1250 {
1251 if (temp4)
1252 delete arg4;
1253 }
1254 {
1255 if (temp9)
1256 delete arg9;
1257 }
1258 return NULL;
1259 }
1260
1261
1262 static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
1263 PyObject *resultobj;
1264 wxButton *arg1 = (wxButton *) 0 ;
1265 PyObject * obj0 = 0 ;
1266 char *kwnames[] = {
1267 (char *) "self", NULL
1268 };
1269
1270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1273 {
1274 PyThreadState* __tstate = wxPyBeginAllowThreads();
1275 (arg1)->SetDefault();
1276
1277 wxPyEndAllowThreads(__tstate);
1278 if (PyErr_Occurred()) SWIG_fail;
1279 }
1280 Py_INCREF(Py_None); resultobj = Py_None;
1281 return resultobj;
1282 fail:
1283 return NULL;
1284 }
1285
1286
1287 static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
1288 PyObject *resultobj;
1289 wxSize result;
1290 char *kwnames[] = {
1291 NULL
1292 };
1293
1294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1295 {
1296 PyThreadState* __tstate = wxPyBeginAllowThreads();
1297 result = wxButton::GetDefaultSize();
1298
1299 wxPyEndAllowThreads(__tstate);
1300 if (PyErr_Occurred()) SWIG_fail;
1301 }
1302 {
1303 wxSize * resultptr;
1304 resultptr = new wxSize((wxSize &) result);
1305 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1306 }
1307 return resultobj;
1308 fail:
1309 return NULL;
1310 }
1311
1312
1313 static PyObject * Button_swigregister(PyObject *, PyObject *args) {
1314 PyObject *obj;
1315 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1316 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1317 Py_INCREF(obj);
1318 return Py_BuildValue((char *)"");
1319 }
1320 static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
1321 PyObject *resultobj;
1322 wxWindow *arg1 = (wxWindow *) 0 ;
1323 int arg2 ;
1324 wxBitmap *arg3 = 0 ;
1325 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1326 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1327 wxSize const &arg5_defvalue = wxDefaultSize ;
1328 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1329 long arg6 = (long) wxBU_AUTODRAW ;
1330 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1331 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1332 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1333 wxString *arg8 = (wxString *) &arg8_defvalue ;
1334 wxBitmapButton *result;
1335 wxPoint temp4 ;
1336 wxSize temp5 ;
1337 bool temp8 = False ;
1338 PyObject * obj0 = 0 ;
1339 PyObject * obj1 = 0 ;
1340 PyObject * obj2 = 0 ;
1341 PyObject * obj3 = 0 ;
1342 PyObject * obj4 = 0 ;
1343 PyObject * obj5 = 0 ;
1344 PyObject * obj6 = 0 ;
1345 PyObject * obj7 = 0 ;
1346 char *kwnames[] = {
1347 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1348 };
1349
1350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1353 arg2 = (int) SWIG_AsInt(obj1);
1354 if (PyErr_Occurred()) SWIG_fail;
1355 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1356 SWIG_POINTER_EXCEPTION | 0)) == -1)
1357 SWIG_fail;
1358 if (arg3 == NULL) {
1359 PyErr_SetString(PyExc_TypeError,"null reference");
1360 SWIG_fail;
1361 }
1362 if (obj3) {
1363 {
1364 arg4 = &temp4;
1365 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1366 }
1367 }
1368 if (obj4) {
1369 {
1370 arg5 = &temp5;
1371 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1372 }
1373 }
1374 if (obj5) {
1375 arg6 = (long) SWIG_AsLong(obj5);
1376 if (PyErr_Occurred()) SWIG_fail;
1377 }
1378 if (obj6) {
1379 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1380 SWIG_POINTER_EXCEPTION | 0)) == -1)
1381 SWIG_fail;
1382 if (arg7 == NULL) {
1383 PyErr_SetString(PyExc_TypeError,"null reference");
1384 SWIG_fail;
1385 }
1386 }
1387 if (obj7) {
1388 {
1389 arg8 = wxString_in_helper(obj7);
1390 if (arg8 == NULL) SWIG_fail;
1391 temp8 = True;
1392 }
1393 }
1394 {
1395 PyThreadState* __tstate = wxPyBeginAllowThreads();
1396 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1397
1398 wxPyEndAllowThreads(__tstate);
1399 if (PyErr_Occurred()) SWIG_fail;
1400 }
1401 {
1402 resultobj = wxPyMake_wxObject(result);
1403 }
1404 {
1405 if (temp8)
1406 delete arg8;
1407 }
1408 return resultobj;
1409 fail:
1410 {
1411 if (temp8)
1412 delete arg8;
1413 }
1414 return NULL;
1415 }
1416
1417
1418 static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
1419 PyObject *resultobj;
1420 wxBitmapButton *result;
1421 char *kwnames[] = {
1422 NULL
1423 };
1424
1425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1426 {
1427 PyThreadState* __tstate = wxPyBeginAllowThreads();
1428 result = (wxBitmapButton *)new wxBitmapButton();
1429
1430 wxPyEndAllowThreads(__tstate);
1431 if (PyErr_Occurred()) SWIG_fail;
1432 }
1433 {
1434 resultobj = wxPyMake_wxObject(result);
1435 }
1436 return resultobj;
1437 fail:
1438 return NULL;
1439 }
1440
1441
1442 static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1443 PyObject *resultobj;
1444 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1445 wxWindow *arg2 = (wxWindow *) 0 ;
1446 int arg3 ;
1447 wxBitmap *arg4 = 0 ;
1448 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1449 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1450 wxSize const &arg6_defvalue = wxDefaultSize ;
1451 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1452 long arg7 = (long) wxBU_AUTODRAW ;
1453 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1454 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1455 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1456 wxString *arg9 = (wxString *) &arg9_defvalue ;
1457 bool result;
1458 wxPoint temp5 ;
1459 wxSize temp6 ;
1460 bool temp9 = False ;
1461 PyObject * obj0 = 0 ;
1462 PyObject * obj1 = 0 ;
1463 PyObject * obj2 = 0 ;
1464 PyObject * obj3 = 0 ;
1465 PyObject * obj4 = 0 ;
1466 PyObject * obj5 = 0 ;
1467 PyObject * obj6 = 0 ;
1468 PyObject * obj7 = 0 ;
1469 PyObject * obj8 = 0 ;
1470 char *kwnames[] = {
1471 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1472 };
1473
1474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1477 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1479 arg3 = (int) SWIG_AsInt(obj2);
1480 if (PyErr_Occurred()) SWIG_fail;
1481 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1482 SWIG_POINTER_EXCEPTION | 0)) == -1)
1483 SWIG_fail;
1484 if (arg4 == NULL) {
1485 PyErr_SetString(PyExc_TypeError,"null reference");
1486 SWIG_fail;
1487 }
1488 if (obj4) {
1489 {
1490 arg5 = &temp5;
1491 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1492 }
1493 }
1494 if (obj5) {
1495 {
1496 arg6 = &temp6;
1497 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1498 }
1499 }
1500 if (obj6) {
1501 arg7 = (long) SWIG_AsLong(obj6);
1502 if (PyErr_Occurred()) SWIG_fail;
1503 }
1504 if (obj7) {
1505 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1506 SWIG_POINTER_EXCEPTION | 0)) == -1)
1507 SWIG_fail;
1508 if (arg8 == NULL) {
1509 PyErr_SetString(PyExc_TypeError,"null reference");
1510 SWIG_fail;
1511 }
1512 }
1513 if (obj8) {
1514 {
1515 arg9 = wxString_in_helper(obj8);
1516 if (arg9 == NULL) SWIG_fail;
1517 temp9 = True;
1518 }
1519 }
1520 {
1521 PyThreadState* __tstate = wxPyBeginAllowThreads();
1522 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1523
1524 wxPyEndAllowThreads(__tstate);
1525 if (PyErr_Occurred()) SWIG_fail;
1526 }
1527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1528 {
1529 if (temp9)
1530 delete arg9;
1531 }
1532 return resultobj;
1533 fail:
1534 {
1535 if (temp9)
1536 delete arg9;
1537 }
1538 return NULL;
1539 }
1540
1541
1542 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
1543 PyObject *resultobj;
1544 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1545 wxBitmap result;
1546 PyObject * obj0 = 0 ;
1547 char *kwnames[] = {
1548 (char *) "self", NULL
1549 };
1550
1551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1554 {
1555 PyThreadState* __tstate = wxPyBeginAllowThreads();
1556 result = (arg1)->GetBitmapLabel();
1557
1558 wxPyEndAllowThreads(__tstate);
1559 if (PyErr_Occurred()) SWIG_fail;
1560 }
1561 {
1562 wxBitmap * resultptr;
1563 resultptr = new wxBitmap((wxBitmap &) result);
1564 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1565 }
1566 return resultobj;
1567 fail:
1568 return NULL;
1569 }
1570
1571
1572 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
1573 PyObject *resultobj;
1574 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1575 wxBitmap result;
1576 PyObject * obj0 = 0 ;
1577 char *kwnames[] = {
1578 (char *) "self", NULL
1579 };
1580
1581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1584 {
1585 PyThreadState* __tstate = wxPyBeginAllowThreads();
1586 result = (arg1)->GetBitmapDisabled();
1587
1588 wxPyEndAllowThreads(__tstate);
1589 if (PyErr_Occurred()) SWIG_fail;
1590 }
1591 {
1592 wxBitmap * resultptr;
1593 resultptr = new wxBitmap((wxBitmap &) result);
1594 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1595 }
1596 return resultobj;
1597 fail:
1598 return NULL;
1599 }
1600
1601
1602 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
1603 PyObject *resultobj;
1604 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1605 wxBitmap result;
1606 PyObject * obj0 = 0 ;
1607 char *kwnames[] = {
1608 (char *) "self", NULL
1609 };
1610
1611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1614 {
1615 PyThreadState* __tstate = wxPyBeginAllowThreads();
1616 result = (arg1)->GetBitmapFocus();
1617
1618 wxPyEndAllowThreads(__tstate);
1619 if (PyErr_Occurred()) SWIG_fail;
1620 }
1621 {
1622 wxBitmap * resultptr;
1623 resultptr = new wxBitmap((wxBitmap &) result);
1624 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1625 }
1626 return resultobj;
1627 fail:
1628 return NULL;
1629 }
1630
1631
1632 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
1633 PyObject *resultobj;
1634 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1635 wxBitmap result;
1636 PyObject * obj0 = 0 ;
1637 char *kwnames[] = {
1638 (char *) "self", NULL
1639 };
1640
1641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1644 {
1645 PyThreadState* __tstate = wxPyBeginAllowThreads();
1646 result = (arg1)->GetBitmapSelected();
1647
1648 wxPyEndAllowThreads(__tstate);
1649 if (PyErr_Occurred()) SWIG_fail;
1650 }
1651 {
1652 wxBitmap * resultptr;
1653 resultptr = new wxBitmap((wxBitmap &) result);
1654 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1655 }
1656 return resultobj;
1657 fail:
1658 return NULL;
1659 }
1660
1661
1662 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
1663 PyObject *resultobj;
1664 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1665 wxBitmap *arg2 = 0 ;
1666 PyObject * obj0 = 0 ;
1667 PyObject * obj1 = 0 ;
1668 char *kwnames[] = {
1669 (char *) "self",(char *) "bitmap", NULL
1670 };
1671
1672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1675 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1676 SWIG_POINTER_EXCEPTION | 0)) == -1)
1677 SWIG_fail;
1678 if (arg2 == NULL) {
1679 PyErr_SetString(PyExc_TypeError,"null reference");
1680 SWIG_fail;
1681 }
1682 {
1683 PyThreadState* __tstate = wxPyBeginAllowThreads();
1684 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1685
1686 wxPyEndAllowThreads(__tstate);
1687 if (PyErr_Occurred()) SWIG_fail;
1688 }
1689 Py_INCREF(Py_None); resultobj = Py_None;
1690 return resultobj;
1691 fail:
1692 return NULL;
1693 }
1694
1695
1696 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
1697 PyObject *resultobj;
1698 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1699 wxBitmap *arg2 = 0 ;
1700 PyObject * obj0 = 0 ;
1701 PyObject * obj1 = 0 ;
1702 char *kwnames[] = {
1703 (char *) "self",(char *) "bitmap", NULL
1704 };
1705
1706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1709 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1710 SWIG_POINTER_EXCEPTION | 0)) == -1)
1711 SWIG_fail;
1712 if (arg2 == NULL) {
1713 PyErr_SetString(PyExc_TypeError,"null reference");
1714 SWIG_fail;
1715 }
1716 {
1717 PyThreadState* __tstate = wxPyBeginAllowThreads();
1718 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1719
1720 wxPyEndAllowThreads(__tstate);
1721 if (PyErr_Occurred()) SWIG_fail;
1722 }
1723 Py_INCREF(Py_None); resultobj = Py_None;
1724 return resultobj;
1725 fail:
1726 return NULL;
1727 }
1728
1729
1730 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
1731 PyObject *resultobj;
1732 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1733 wxBitmap *arg2 = 0 ;
1734 PyObject * obj0 = 0 ;
1735 PyObject * obj1 = 0 ;
1736 char *kwnames[] = {
1737 (char *) "self",(char *) "bitmap", NULL
1738 };
1739
1740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1743 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1744 SWIG_POINTER_EXCEPTION | 0)) == -1)
1745 SWIG_fail;
1746 if (arg2 == NULL) {
1747 PyErr_SetString(PyExc_TypeError,"null reference");
1748 SWIG_fail;
1749 }
1750 {
1751 PyThreadState* __tstate = wxPyBeginAllowThreads();
1752 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1753
1754 wxPyEndAllowThreads(__tstate);
1755 if (PyErr_Occurred()) SWIG_fail;
1756 }
1757 Py_INCREF(Py_None); resultobj = Py_None;
1758 return resultobj;
1759 fail:
1760 return NULL;
1761 }
1762
1763
1764 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
1765 PyObject *resultobj;
1766 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1767 wxBitmap *arg2 = 0 ;
1768 PyObject * obj0 = 0 ;
1769 PyObject * obj1 = 0 ;
1770 char *kwnames[] = {
1771 (char *) "self",(char *) "bitmap", NULL
1772 };
1773
1774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1778 SWIG_POINTER_EXCEPTION | 0)) == -1)
1779 SWIG_fail;
1780 if (arg2 == NULL) {
1781 PyErr_SetString(PyExc_TypeError,"null reference");
1782 SWIG_fail;
1783 }
1784 {
1785 PyThreadState* __tstate = wxPyBeginAllowThreads();
1786 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1787
1788 wxPyEndAllowThreads(__tstate);
1789 if (PyErr_Occurred()) SWIG_fail;
1790 }
1791 Py_INCREF(Py_None); resultobj = Py_None;
1792 return resultobj;
1793 fail:
1794 return NULL;
1795 }
1796
1797
1798 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
1799 PyObject *resultobj;
1800 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1801 int arg2 ;
1802 int arg3 ;
1803 PyObject * obj0 = 0 ;
1804 PyObject * obj1 = 0 ;
1805 PyObject * obj2 = 0 ;
1806 char *kwnames[] = {
1807 (char *) "self",(char *) "x",(char *) "y", NULL
1808 };
1809
1810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1813 arg2 = (int) SWIG_AsInt(obj1);
1814 if (PyErr_Occurred()) SWIG_fail;
1815 arg3 = (int) SWIG_AsInt(obj2);
1816 if (PyErr_Occurred()) SWIG_fail;
1817 {
1818 PyThreadState* __tstate = wxPyBeginAllowThreads();
1819 (arg1)->SetMargins(arg2,arg3);
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_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
1832 PyObject *resultobj;
1833 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1834 int result;
1835 PyObject * obj0 = 0 ;
1836 char *kwnames[] = {
1837 (char *) "self", NULL
1838 };
1839
1840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1843 {
1844 PyThreadState* __tstate = wxPyBeginAllowThreads();
1845 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1846
1847 wxPyEndAllowThreads(__tstate);
1848 if (PyErr_Occurred()) SWIG_fail;
1849 }
1850 resultobj = SWIG_FromInt((int)result);
1851 return resultobj;
1852 fail:
1853 return NULL;
1854 }
1855
1856
1857 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
1858 PyObject *resultobj;
1859 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1860 int result;
1861 PyObject * obj0 = 0 ;
1862 char *kwnames[] = {
1863 (char *) "self", NULL
1864 };
1865
1866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1869 {
1870 PyThreadState* __tstate = wxPyBeginAllowThreads();
1871 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1872
1873 wxPyEndAllowThreads(__tstate);
1874 if (PyErr_Occurred()) SWIG_fail;
1875 }
1876 resultobj = SWIG_FromInt((int)result);
1877 return resultobj;
1878 fail:
1879 return NULL;
1880 }
1881
1882
1883 static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
1884 PyObject *obj;
1885 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1886 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1887 Py_INCREF(obj);
1888 return Py_BuildValue((char *)"");
1889 }
1890 static int _wrap_CheckBoxNameStr_set(PyObject *) {
1891 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1892 return 1;
1893 }
1894
1895
1896 static PyObject *_wrap_CheckBoxNameStr_get() {
1897 PyObject *pyobj;
1898
1899 {
1900 #if wxUSE_UNICODE
1901 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1902 #else
1903 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1904 #endif
1905 }
1906 return pyobj;
1907 }
1908
1909
1910 static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
1911 PyObject *resultobj;
1912 wxWindow *arg1 = (wxWindow *) 0 ;
1913 int arg2 ;
1914 wxString *arg3 = 0 ;
1915 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1916 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1917 wxSize const &arg5_defvalue = wxDefaultSize ;
1918 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1919 long arg6 = (long) 0 ;
1920 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1921 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1922 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1923 wxString *arg8 = (wxString *) &arg8_defvalue ;
1924 wxCheckBox *result;
1925 bool temp3 = False ;
1926 wxPoint temp4 ;
1927 wxSize temp5 ;
1928 bool temp8 = False ;
1929 PyObject * obj0 = 0 ;
1930 PyObject * obj1 = 0 ;
1931 PyObject * obj2 = 0 ;
1932 PyObject * obj3 = 0 ;
1933 PyObject * obj4 = 0 ;
1934 PyObject * obj5 = 0 ;
1935 PyObject * obj6 = 0 ;
1936 PyObject * obj7 = 0 ;
1937 char *kwnames[] = {
1938 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1939 };
1940
1941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1944 arg2 = (int) SWIG_AsInt(obj1);
1945 if (PyErr_Occurred()) SWIG_fail;
1946 {
1947 arg3 = wxString_in_helper(obj2);
1948 if (arg3 == NULL) SWIG_fail;
1949 temp3 = True;
1950 }
1951 if (obj3) {
1952 {
1953 arg4 = &temp4;
1954 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1955 }
1956 }
1957 if (obj4) {
1958 {
1959 arg5 = &temp5;
1960 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1961 }
1962 }
1963 if (obj5) {
1964 arg6 = (long) SWIG_AsLong(obj5);
1965 if (PyErr_Occurred()) SWIG_fail;
1966 }
1967 if (obj6) {
1968 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1969 SWIG_POINTER_EXCEPTION | 0)) == -1)
1970 SWIG_fail;
1971 if (arg7 == NULL) {
1972 PyErr_SetString(PyExc_TypeError,"null reference");
1973 SWIG_fail;
1974 }
1975 }
1976 if (obj7) {
1977 {
1978 arg8 = wxString_in_helper(obj7);
1979 if (arg8 == NULL) SWIG_fail;
1980 temp8 = True;
1981 }
1982 }
1983 {
1984 PyThreadState* __tstate = wxPyBeginAllowThreads();
1985 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1986
1987 wxPyEndAllowThreads(__tstate);
1988 if (PyErr_Occurred()) SWIG_fail;
1989 }
1990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
1991 {
1992 if (temp3)
1993 delete arg3;
1994 }
1995 {
1996 if (temp8)
1997 delete arg8;
1998 }
1999 return resultobj;
2000 fail:
2001 {
2002 if (temp3)
2003 delete arg3;
2004 }
2005 {
2006 if (temp8)
2007 delete arg8;
2008 }
2009 return NULL;
2010 }
2011
2012
2013 static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
2014 PyObject *resultobj;
2015 wxCheckBox *result;
2016 char *kwnames[] = {
2017 NULL
2018 };
2019
2020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2021 {
2022 PyThreadState* __tstate = wxPyBeginAllowThreads();
2023 result = (wxCheckBox *)new wxCheckBox();
2024
2025 wxPyEndAllowThreads(__tstate);
2026 if (PyErr_Occurred()) SWIG_fail;
2027 }
2028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2029 return resultobj;
2030 fail:
2031 return NULL;
2032 }
2033
2034
2035 static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2036 PyObject *resultobj;
2037 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2038 wxWindow *arg2 = (wxWindow *) 0 ;
2039 int arg3 ;
2040 wxString *arg4 = 0 ;
2041 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2042 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2043 wxSize const &arg6_defvalue = wxDefaultSize ;
2044 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2045 long arg7 = (long) 0 ;
2046 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2047 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2048 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2049 wxString *arg9 = (wxString *) &arg9_defvalue ;
2050 bool result;
2051 bool temp4 = False ;
2052 wxPoint temp5 ;
2053 wxSize temp6 ;
2054 bool temp9 = False ;
2055 PyObject * obj0 = 0 ;
2056 PyObject * obj1 = 0 ;
2057 PyObject * obj2 = 0 ;
2058 PyObject * obj3 = 0 ;
2059 PyObject * obj4 = 0 ;
2060 PyObject * obj5 = 0 ;
2061 PyObject * obj6 = 0 ;
2062 PyObject * obj7 = 0 ;
2063 PyObject * obj8 = 0 ;
2064 char *kwnames[] = {
2065 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2066 };
2067
2068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2071 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2073 arg3 = (int) SWIG_AsInt(obj2);
2074 if (PyErr_Occurred()) SWIG_fail;
2075 {
2076 arg4 = wxString_in_helper(obj3);
2077 if (arg4 == NULL) SWIG_fail;
2078 temp4 = True;
2079 }
2080 if (obj4) {
2081 {
2082 arg5 = &temp5;
2083 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2084 }
2085 }
2086 if (obj5) {
2087 {
2088 arg6 = &temp6;
2089 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2090 }
2091 }
2092 if (obj6) {
2093 arg7 = (long) SWIG_AsLong(obj6);
2094 if (PyErr_Occurred()) SWIG_fail;
2095 }
2096 if (obj7) {
2097 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2098 SWIG_POINTER_EXCEPTION | 0)) == -1)
2099 SWIG_fail;
2100 if (arg8 == NULL) {
2101 PyErr_SetString(PyExc_TypeError,"null reference");
2102 SWIG_fail;
2103 }
2104 }
2105 if (obj8) {
2106 {
2107 arg9 = wxString_in_helper(obj8);
2108 if (arg9 == NULL) SWIG_fail;
2109 temp9 = True;
2110 }
2111 }
2112 {
2113 PyThreadState* __tstate = wxPyBeginAllowThreads();
2114 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2115
2116 wxPyEndAllowThreads(__tstate);
2117 if (PyErr_Occurred()) SWIG_fail;
2118 }
2119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2120 {
2121 if (temp4)
2122 delete arg4;
2123 }
2124 {
2125 if (temp9)
2126 delete arg9;
2127 }
2128 return resultobj;
2129 fail:
2130 {
2131 if (temp4)
2132 delete arg4;
2133 }
2134 {
2135 if (temp9)
2136 delete arg9;
2137 }
2138 return NULL;
2139 }
2140
2141
2142 static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
2143 PyObject *resultobj;
2144 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2145 bool result;
2146 PyObject * obj0 = 0 ;
2147 char *kwnames[] = {
2148 (char *) "self", NULL
2149 };
2150
2151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2154 {
2155 PyThreadState* __tstate = wxPyBeginAllowThreads();
2156 result = (bool)(arg1)->GetValue();
2157
2158 wxPyEndAllowThreads(__tstate);
2159 if (PyErr_Occurred()) SWIG_fail;
2160 }
2161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2162 return resultobj;
2163 fail:
2164 return NULL;
2165 }
2166
2167
2168 static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
2169 PyObject *resultobj;
2170 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2171 bool result;
2172 PyObject * obj0 = 0 ;
2173 char *kwnames[] = {
2174 (char *) "self", NULL
2175 };
2176
2177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2180 {
2181 PyThreadState* __tstate = wxPyBeginAllowThreads();
2182 result = (bool)(arg1)->IsChecked();
2183
2184 wxPyEndAllowThreads(__tstate);
2185 if (PyErr_Occurred()) SWIG_fail;
2186 }
2187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2188 return resultobj;
2189 fail:
2190 return NULL;
2191 }
2192
2193
2194 static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
2195 PyObject *resultobj;
2196 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2197 bool arg2 ;
2198 PyObject * obj0 = 0 ;
2199 PyObject * obj1 = 0 ;
2200 char *kwnames[] = {
2201 (char *) "self",(char *) "state", NULL
2202 };
2203
2204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2207 arg2 = (bool const) SWIG_AsBool(obj1);
2208 if (PyErr_Occurred()) SWIG_fail;
2209 {
2210 PyThreadState* __tstate = wxPyBeginAllowThreads();
2211 (arg1)->SetValue(arg2);
2212
2213 wxPyEndAllowThreads(__tstate);
2214 if (PyErr_Occurred()) SWIG_fail;
2215 }
2216 Py_INCREF(Py_None); resultobj = Py_None;
2217 return resultobj;
2218 fail:
2219 return NULL;
2220 }
2221
2222
2223 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
2224 PyObject *resultobj;
2225 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2226 int result;
2227 PyObject * obj0 = 0 ;
2228 char *kwnames[] = {
2229 (char *) "self", NULL
2230 };
2231
2232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",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 = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2238
2239 wxPyEndAllowThreads(__tstate);
2240 if (PyErr_Occurred()) SWIG_fail;
2241 }
2242 resultobj = SWIG_FromInt((int)result);
2243 return resultobj;
2244 fail:
2245 return NULL;
2246 }
2247
2248
2249 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
2250 PyObject *resultobj;
2251 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2252 int arg2 ;
2253 PyObject * obj0 = 0 ;
2254 PyObject * obj1 = 0 ;
2255 char *kwnames[] = {
2256 (char *) "self",(char *) "state", NULL
2257 };
2258
2259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2262 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2263 if (PyErr_Occurred()) SWIG_fail;
2264 {
2265 PyThreadState* __tstate = wxPyBeginAllowThreads();
2266 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2267
2268 wxPyEndAllowThreads(__tstate);
2269 if (PyErr_Occurred()) SWIG_fail;
2270 }
2271 Py_INCREF(Py_None); resultobj = Py_None;
2272 return resultobj;
2273 fail:
2274 return NULL;
2275 }
2276
2277
2278 static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
2279 PyObject *resultobj;
2280 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2281 bool result;
2282 PyObject * obj0 = 0 ;
2283 char *kwnames[] = {
2284 (char *) "self", NULL
2285 };
2286
2287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2290 {
2291 PyThreadState* __tstate = wxPyBeginAllowThreads();
2292 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2293
2294 wxPyEndAllowThreads(__tstate);
2295 if (PyErr_Occurred()) SWIG_fail;
2296 }
2297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2298 return resultobj;
2299 fail:
2300 return NULL;
2301 }
2302
2303
2304 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
2305 PyObject *resultobj;
2306 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2307 bool result;
2308 PyObject * obj0 = 0 ;
2309 char *kwnames[] = {
2310 (char *) "self", NULL
2311 };
2312
2313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2316 {
2317 PyThreadState* __tstate = wxPyBeginAllowThreads();
2318 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2319
2320 wxPyEndAllowThreads(__tstate);
2321 if (PyErr_Occurred()) SWIG_fail;
2322 }
2323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2324 return resultobj;
2325 fail:
2326 return NULL;
2327 }
2328
2329
2330 static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
2331 PyObject *obj;
2332 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2333 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2334 Py_INCREF(obj);
2335 return Py_BuildValue((char *)"");
2336 }
2337 static int _wrap_ChoiceNameStr_set(PyObject *) {
2338 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2339 return 1;
2340 }
2341
2342
2343 static PyObject *_wrap_ChoiceNameStr_get() {
2344 PyObject *pyobj;
2345
2346 {
2347 #if wxUSE_UNICODE
2348 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2349 #else
2350 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2351 #endif
2352 }
2353 return pyobj;
2354 }
2355
2356
2357 static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
2358 PyObject *resultobj;
2359 wxWindow *arg1 = (wxWindow *) 0 ;
2360 int arg2 ;
2361 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2362 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2363 wxSize const &arg4_defvalue = wxDefaultSize ;
2364 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2365 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2366 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2367 long arg6 = (long) 0 ;
2368 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2369 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2370 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2371 wxString *arg8 = (wxString *) &arg8_defvalue ;
2372 wxChoice *result;
2373 wxPoint temp3 ;
2374 wxSize temp4 ;
2375 bool temp5 = False ;
2376 bool temp8 = False ;
2377 PyObject * obj0 = 0 ;
2378 PyObject * obj1 = 0 ;
2379 PyObject * obj2 = 0 ;
2380 PyObject * obj3 = 0 ;
2381 PyObject * obj4 = 0 ;
2382 PyObject * obj5 = 0 ;
2383 PyObject * obj6 = 0 ;
2384 PyObject * obj7 = 0 ;
2385 char *kwnames[] = {
2386 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2387 };
2388
2389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2392 arg2 = (int) SWIG_AsInt(obj1);
2393 if (PyErr_Occurred()) SWIG_fail;
2394 if (obj2) {
2395 {
2396 arg3 = &temp3;
2397 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2398 }
2399 }
2400 if (obj3) {
2401 {
2402 arg4 = &temp4;
2403 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2404 }
2405 }
2406 if (obj4) {
2407 {
2408 if (! PySequence_Check(obj4)) {
2409 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2410 SWIG_fail;
2411 }
2412 arg5 = new wxArrayString;
2413 temp5 = True;
2414 int i, len=PySequence_Length(obj4);
2415 for (i=0; i<len; i++) {
2416 PyObject* item = PySequence_GetItem(obj4, i);
2417 #if wxUSE_UNICODE
2418 PyObject* str = PyObject_Unicode(item);
2419 #else
2420 PyObject* str = PyObject_Str(item);
2421 #endif
2422 arg5->Add(Py2wxString(str));
2423 Py_DECREF(item);
2424 Py_DECREF(str);
2425 }
2426 }
2427 }
2428 if (obj5) {
2429 arg6 = (long) SWIG_AsLong(obj5);
2430 if (PyErr_Occurred()) SWIG_fail;
2431 }
2432 if (obj6) {
2433 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2434 SWIG_POINTER_EXCEPTION | 0)) == -1)
2435 SWIG_fail;
2436 if (arg7 == NULL) {
2437 PyErr_SetString(PyExc_TypeError,"null reference");
2438 SWIG_fail;
2439 }
2440 }
2441 if (obj7) {
2442 {
2443 arg8 = wxString_in_helper(obj7);
2444 if (arg8 == NULL) SWIG_fail;
2445 temp8 = True;
2446 }
2447 }
2448 {
2449 PyThreadState* __tstate = wxPyBeginAllowThreads();
2450 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2451
2452 wxPyEndAllowThreads(__tstate);
2453 if (PyErr_Occurred()) SWIG_fail;
2454 }
2455 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2456 {
2457 if (temp5) delete arg5;
2458 }
2459 {
2460 if (temp8)
2461 delete arg8;
2462 }
2463 return resultobj;
2464 fail:
2465 {
2466 if (temp5) delete arg5;
2467 }
2468 {
2469 if (temp8)
2470 delete arg8;
2471 }
2472 return NULL;
2473 }
2474
2475
2476 static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
2477 PyObject *resultobj;
2478 wxChoice *result;
2479 char *kwnames[] = {
2480 NULL
2481 };
2482
2483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2484 {
2485 PyThreadState* __tstate = wxPyBeginAllowThreads();
2486 result = (wxChoice *)new wxChoice();
2487
2488 wxPyEndAllowThreads(__tstate);
2489 if (PyErr_Occurred()) SWIG_fail;
2490 }
2491 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2492 return resultobj;
2493 fail:
2494 return NULL;
2495 }
2496
2497
2498 static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2499 PyObject *resultobj;
2500 wxChoice *arg1 = (wxChoice *) 0 ;
2501 wxWindow *arg2 = (wxWindow *) 0 ;
2502 int arg3 ;
2503 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2504 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2505 wxSize const &arg5_defvalue = wxDefaultSize ;
2506 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2507 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2508 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2509 long arg7 = (long) 0 ;
2510 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2511 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2512 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2513 wxString *arg9 = (wxString *) &arg9_defvalue ;
2514 bool result;
2515 wxPoint temp4 ;
2516 wxSize temp5 ;
2517 bool temp6 = False ;
2518 bool temp9 = False ;
2519 PyObject * obj0 = 0 ;
2520 PyObject * obj1 = 0 ;
2521 PyObject * obj2 = 0 ;
2522 PyObject * obj3 = 0 ;
2523 PyObject * obj4 = 0 ;
2524 PyObject * obj5 = 0 ;
2525 PyObject * obj6 = 0 ;
2526 PyObject * obj7 = 0 ;
2527 PyObject * obj8 = 0 ;
2528 char *kwnames[] = {
2529 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2530 };
2531
2532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2535 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2537 arg3 = (int) SWIG_AsInt(obj2);
2538 if (PyErr_Occurred()) SWIG_fail;
2539 if (obj3) {
2540 {
2541 arg4 = &temp4;
2542 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2543 }
2544 }
2545 if (obj4) {
2546 {
2547 arg5 = &temp5;
2548 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2549 }
2550 }
2551 if (obj5) {
2552 {
2553 if (! PySequence_Check(obj5)) {
2554 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2555 SWIG_fail;
2556 }
2557 arg6 = new wxArrayString;
2558 temp6 = True;
2559 int i, len=PySequence_Length(obj5);
2560 for (i=0; i<len; i++) {
2561 PyObject* item = PySequence_GetItem(obj5, i);
2562 #if wxUSE_UNICODE
2563 PyObject* str = PyObject_Unicode(item);
2564 #else
2565 PyObject* str = PyObject_Str(item);
2566 #endif
2567 arg6->Add(Py2wxString(str));
2568 Py_DECREF(item);
2569 Py_DECREF(str);
2570 }
2571 }
2572 }
2573 if (obj6) {
2574 arg7 = (long) SWIG_AsLong(obj6);
2575 if (PyErr_Occurred()) SWIG_fail;
2576 }
2577 if (obj7) {
2578 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2579 SWIG_POINTER_EXCEPTION | 0)) == -1)
2580 SWIG_fail;
2581 if (arg8 == NULL) {
2582 PyErr_SetString(PyExc_TypeError,"null reference");
2583 SWIG_fail;
2584 }
2585 }
2586 if (obj8) {
2587 {
2588 arg9 = wxString_in_helper(obj8);
2589 if (arg9 == NULL) SWIG_fail;
2590 temp9 = True;
2591 }
2592 }
2593 {
2594 PyThreadState* __tstate = wxPyBeginAllowThreads();
2595 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2596
2597 wxPyEndAllowThreads(__tstate);
2598 if (PyErr_Occurred()) SWIG_fail;
2599 }
2600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2601 {
2602 if (temp6) delete arg6;
2603 }
2604 {
2605 if (temp9)
2606 delete arg9;
2607 }
2608 return resultobj;
2609 fail:
2610 {
2611 if (temp6) delete arg6;
2612 }
2613 {
2614 if (temp9)
2615 delete arg9;
2616 }
2617 return NULL;
2618 }
2619
2620
2621 static PyObject *_wrap_Choice_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
2622 PyObject *resultobj;
2623 wxChoice *arg1 = (wxChoice *) 0 ;
2624 int arg2 ;
2625 PyObject * obj0 = 0 ;
2626 PyObject * obj1 = 0 ;
2627 char *kwnames[] = {
2628 (char *) "self",(char *) "n", NULL
2629 };
2630
2631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2634 arg2 = (int const) SWIG_AsInt(obj1);
2635 if (PyErr_Occurred()) SWIG_fail;
2636 {
2637 PyThreadState* __tstate = wxPyBeginAllowThreads();
2638 (arg1)->SetSelection(arg2);
2639
2640 wxPyEndAllowThreads(__tstate);
2641 if (PyErr_Occurred()) SWIG_fail;
2642 }
2643 Py_INCREF(Py_None); resultobj = Py_None;
2644 return resultobj;
2645 fail:
2646 return NULL;
2647 }
2648
2649
2650 static PyObject *_wrap_Choice_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
2651 PyObject *resultobj;
2652 wxChoice *arg1 = (wxChoice *) 0 ;
2653 wxString *arg2 = 0 ;
2654 bool temp2 = False ;
2655 PyObject * obj0 = 0 ;
2656 PyObject * obj1 = 0 ;
2657 char *kwnames[] = {
2658 (char *) "self",(char *) "string", NULL
2659 };
2660
2661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2664 {
2665 arg2 = wxString_in_helper(obj1);
2666 if (arg2 == NULL) SWIG_fail;
2667 temp2 = True;
2668 }
2669 {
2670 PyThreadState* __tstate = wxPyBeginAllowThreads();
2671 (arg1)->SetStringSelection((wxString const &)*arg2);
2672
2673 wxPyEndAllowThreads(__tstate);
2674 if (PyErr_Occurred()) SWIG_fail;
2675 }
2676 Py_INCREF(Py_None); resultobj = Py_None;
2677 {
2678 if (temp2)
2679 delete arg2;
2680 }
2681 return resultobj;
2682 fail:
2683 {
2684 if (temp2)
2685 delete arg2;
2686 }
2687 return NULL;
2688 }
2689
2690
2691 static PyObject *_wrap_Choice_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
2692 PyObject *resultobj;
2693 wxChoice *arg1 = (wxChoice *) 0 ;
2694 int arg2 ;
2695 wxString *arg3 = 0 ;
2696 bool temp3 = False ;
2697 PyObject * obj0 = 0 ;
2698 PyObject * obj1 = 0 ;
2699 PyObject * obj2 = 0 ;
2700 char *kwnames[] = {
2701 (char *) "self",(char *) "n",(char *) "string", NULL
2702 };
2703
2704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2707 arg2 = (int) SWIG_AsInt(obj1);
2708 if (PyErr_Occurred()) SWIG_fail;
2709 {
2710 arg3 = wxString_in_helper(obj2);
2711 if (arg3 == NULL) SWIG_fail;
2712 temp3 = True;
2713 }
2714 {
2715 PyThreadState* __tstate = wxPyBeginAllowThreads();
2716 (arg1)->SetString(arg2,(wxString const &)*arg3);
2717
2718 wxPyEndAllowThreads(__tstate);
2719 if (PyErr_Occurred()) SWIG_fail;
2720 }
2721 Py_INCREF(Py_None); resultobj = Py_None;
2722 {
2723 if (temp3)
2724 delete arg3;
2725 }
2726 return resultobj;
2727 fail:
2728 {
2729 if (temp3)
2730 delete arg3;
2731 }
2732 return NULL;
2733 }
2734
2735
2736 static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
2737 PyObject *obj;
2738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2739 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2740 Py_INCREF(obj);
2741 return Py_BuildValue((char *)"");
2742 }
2743 static int _wrap_ComboBoxNameStr_set(PyObject *) {
2744 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2745 return 1;
2746 }
2747
2748
2749 static PyObject *_wrap_ComboBoxNameStr_get() {
2750 PyObject *pyobj;
2751
2752 {
2753 #if wxUSE_UNICODE
2754 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2755 #else
2756 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2757 #endif
2758 }
2759 return pyobj;
2760 }
2761
2762
2763 static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
2764 PyObject *resultobj;
2765 wxWindow *arg1 = (wxWindow *) 0 ;
2766 int arg2 ;
2767 wxString const &arg3_defvalue = wxPyEmptyString ;
2768 wxString *arg3 = (wxString *) &arg3_defvalue ;
2769 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2770 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2771 wxSize const &arg5_defvalue = wxDefaultSize ;
2772 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2773 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2774 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2775 long arg7 = (long) 0 ;
2776 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2777 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2778 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2779 wxString *arg9 = (wxString *) &arg9_defvalue ;
2780 wxComboBox *result;
2781 bool temp3 = False ;
2782 wxPoint temp4 ;
2783 wxSize temp5 ;
2784 bool temp6 = False ;
2785 bool temp9 = False ;
2786 PyObject * obj0 = 0 ;
2787 PyObject * obj1 = 0 ;
2788 PyObject * obj2 = 0 ;
2789 PyObject * obj3 = 0 ;
2790 PyObject * obj4 = 0 ;
2791 PyObject * obj5 = 0 ;
2792 PyObject * obj6 = 0 ;
2793 PyObject * obj7 = 0 ;
2794 PyObject * obj8 = 0 ;
2795 char *kwnames[] = {
2796 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2797 };
2798
2799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2802 arg2 = (int) SWIG_AsInt(obj1);
2803 if (PyErr_Occurred()) SWIG_fail;
2804 if (obj2) {
2805 {
2806 arg3 = wxString_in_helper(obj2);
2807 if (arg3 == NULL) SWIG_fail;
2808 temp3 = True;
2809 }
2810 }
2811 if (obj3) {
2812 {
2813 arg4 = &temp4;
2814 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2815 }
2816 }
2817 if (obj4) {
2818 {
2819 arg5 = &temp5;
2820 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2821 }
2822 }
2823 if (obj5) {
2824 {
2825 if (! PySequence_Check(obj5)) {
2826 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2827 SWIG_fail;
2828 }
2829 arg6 = new wxArrayString;
2830 temp6 = True;
2831 int i, len=PySequence_Length(obj5);
2832 for (i=0; i<len; i++) {
2833 PyObject* item = PySequence_GetItem(obj5, i);
2834 #if wxUSE_UNICODE
2835 PyObject* str = PyObject_Unicode(item);
2836 #else
2837 PyObject* str = PyObject_Str(item);
2838 #endif
2839 arg6->Add(Py2wxString(str));
2840 Py_DECREF(item);
2841 Py_DECREF(str);
2842 }
2843 }
2844 }
2845 if (obj6) {
2846 arg7 = (long) SWIG_AsLong(obj6);
2847 if (PyErr_Occurred()) SWIG_fail;
2848 }
2849 if (obj7) {
2850 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2851 SWIG_POINTER_EXCEPTION | 0)) == -1)
2852 SWIG_fail;
2853 if (arg8 == NULL) {
2854 PyErr_SetString(PyExc_TypeError,"null reference");
2855 SWIG_fail;
2856 }
2857 }
2858 if (obj8) {
2859 {
2860 arg9 = wxString_in_helper(obj8);
2861 if (arg9 == NULL) SWIG_fail;
2862 temp9 = True;
2863 }
2864 }
2865 {
2866 PyThreadState* __tstate = wxPyBeginAllowThreads();
2867 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);
2868
2869 wxPyEndAllowThreads(__tstate);
2870 if (PyErr_Occurred()) SWIG_fail;
2871 }
2872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2873 {
2874 if (temp3)
2875 delete arg3;
2876 }
2877 {
2878 if (temp6) delete arg6;
2879 }
2880 {
2881 if (temp9)
2882 delete arg9;
2883 }
2884 return resultobj;
2885 fail:
2886 {
2887 if (temp3)
2888 delete arg3;
2889 }
2890 {
2891 if (temp6) delete arg6;
2892 }
2893 {
2894 if (temp9)
2895 delete arg9;
2896 }
2897 return NULL;
2898 }
2899
2900
2901 static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
2902 PyObject *resultobj;
2903 wxComboBox *result;
2904 char *kwnames[] = {
2905 NULL
2906 };
2907
2908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2909 {
2910 PyThreadState* __tstate = wxPyBeginAllowThreads();
2911 result = (wxComboBox *)new wxComboBox();
2912
2913 wxPyEndAllowThreads(__tstate);
2914 if (PyErr_Occurred()) SWIG_fail;
2915 }
2916 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2917 return resultobj;
2918 fail:
2919 return NULL;
2920 }
2921
2922
2923 static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2924 PyObject *resultobj;
2925 wxComboBox *arg1 = (wxComboBox *) 0 ;
2926 wxWindow *arg2 = (wxWindow *) 0 ;
2927 int arg3 ;
2928 wxString const &arg4_defvalue = wxPyEmptyString ;
2929 wxString *arg4 = (wxString *) &arg4_defvalue ;
2930 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2931 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2932 wxSize const &arg6_defvalue = wxDefaultSize ;
2933 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2934 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
2935 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
2936 long arg8 = (long) 0 ;
2937 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2938 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2939 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2940 wxString *arg10 = (wxString *) &arg10_defvalue ;
2941 bool result;
2942 bool temp4 = False ;
2943 wxPoint temp5 ;
2944 wxSize temp6 ;
2945 bool temp7 = False ;
2946 bool temp10 = False ;
2947 PyObject * obj0 = 0 ;
2948 PyObject * obj1 = 0 ;
2949 PyObject * obj2 = 0 ;
2950 PyObject * obj3 = 0 ;
2951 PyObject * obj4 = 0 ;
2952 PyObject * obj5 = 0 ;
2953 PyObject * obj6 = 0 ;
2954 PyObject * obj7 = 0 ;
2955 PyObject * obj8 = 0 ;
2956 PyObject * obj9 = 0 ;
2957 char *kwnames[] = {
2958 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2959 };
2960
2961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
2963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2964 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2966 arg3 = (int) SWIG_AsInt(obj2);
2967 if (PyErr_Occurred()) SWIG_fail;
2968 if (obj3) {
2969 {
2970 arg4 = wxString_in_helper(obj3);
2971 if (arg4 == NULL) SWIG_fail;
2972 temp4 = True;
2973 }
2974 }
2975 if (obj4) {
2976 {
2977 arg5 = &temp5;
2978 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2979 }
2980 }
2981 if (obj5) {
2982 {
2983 arg6 = &temp6;
2984 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2985 }
2986 }
2987 if (obj6) {
2988 {
2989 if (! PySequence_Check(obj6)) {
2990 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2991 SWIG_fail;
2992 }
2993 arg7 = new wxArrayString;
2994 temp7 = True;
2995 int i, len=PySequence_Length(obj6);
2996 for (i=0; i<len; i++) {
2997 PyObject* item = PySequence_GetItem(obj6, i);
2998 #if wxUSE_UNICODE
2999 PyObject* str = PyObject_Unicode(item);
3000 #else
3001 PyObject* str = PyObject_Str(item);
3002 #endif
3003 arg7->Add(Py2wxString(str));
3004 Py_DECREF(item);
3005 Py_DECREF(str);
3006 }
3007 }
3008 }
3009 if (obj7) {
3010 arg8 = (long) SWIG_AsLong(obj7);
3011 if (PyErr_Occurred()) SWIG_fail;
3012 }
3013 if (obj8) {
3014 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3015 SWIG_POINTER_EXCEPTION | 0)) == -1)
3016 SWIG_fail;
3017 if (arg9 == NULL) {
3018 PyErr_SetString(PyExc_TypeError,"null reference");
3019 SWIG_fail;
3020 }
3021 }
3022 if (obj9) {
3023 {
3024 arg10 = wxString_in_helper(obj9);
3025 if (arg10 == NULL) SWIG_fail;
3026 temp10 = True;
3027 }
3028 }
3029 {
3030 PyThreadState* __tstate = wxPyBeginAllowThreads();
3031 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);
3032
3033 wxPyEndAllowThreads(__tstate);
3034 if (PyErr_Occurred()) SWIG_fail;
3035 }
3036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3037 {
3038 if (temp4)
3039 delete arg4;
3040 }
3041 {
3042 if (temp7) delete arg7;
3043 }
3044 {
3045 if (temp10)
3046 delete arg10;
3047 }
3048 return resultobj;
3049 fail:
3050 {
3051 if (temp4)
3052 delete arg4;
3053 }
3054 {
3055 if (temp7) delete arg7;
3056 }
3057 {
3058 if (temp10)
3059 delete arg10;
3060 }
3061 return NULL;
3062 }
3063
3064
3065 static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3066 PyObject *resultobj;
3067 wxComboBox *arg1 = (wxComboBox *) 0 ;
3068 wxString result;
3069 PyObject * obj0 = 0 ;
3070 char *kwnames[] = {
3071 (char *) "self", NULL
3072 };
3073
3074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3077 {
3078 PyThreadState* __tstate = wxPyBeginAllowThreads();
3079 result = ((wxComboBox const *)arg1)->GetValue();
3080
3081 wxPyEndAllowThreads(__tstate);
3082 if (PyErr_Occurred()) SWIG_fail;
3083 }
3084 {
3085 #if wxUSE_UNICODE
3086 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3087 #else
3088 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3089 #endif
3090 }
3091 return resultobj;
3092 fail:
3093 return NULL;
3094 }
3095
3096
3097 static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3098 PyObject *resultobj;
3099 wxComboBox *arg1 = (wxComboBox *) 0 ;
3100 wxString *arg2 = 0 ;
3101 bool temp2 = False ;
3102 PyObject * obj0 = 0 ;
3103 PyObject * obj1 = 0 ;
3104 char *kwnames[] = {
3105 (char *) "self",(char *) "value", NULL
3106 };
3107
3108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3111 {
3112 arg2 = wxString_in_helper(obj1);
3113 if (arg2 == NULL) SWIG_fail;
3114 temp2 = True;
3115 }
3116 {
3117 PyThreadState* __tstate = wxPyBeginAllowThreads();
3118 (arg1)->SetValue((wxString const &)*arg2);
3119
3120 wxPyEndAllowThreads(__tstate);
3121 if (PyErr_Occurred()) SWIG_fail;
3122 }
3123 Py_INCREF(Py_None); resultobj = Py_None;
3124 {
3125 if (temp2)
3126 delete arg2;
3127 }
3128 return resultobj;
3129 fail:
3130 {
3131 if (temp2)
3132 delete arg2;
3133 }
3134 return NULL;
3135 }
3136
3137
3138 static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
3139 PyObject *resultobj;
3140 wxComboBox *arg1 = (wxComboBox *) 0 ;
3141 PyObject * obj0 = 0 ;
3142 char *kwnames[] = {
3143 (char *) "self", NULL
3144 };
3145
3146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3149 {
3150 PyThreadState* __tstate = wxPyBeginAllowThreads();
3151 (arg1)->Copy();
3152
3153 wxPyEndAllowThreads(__tstate);
3154 if (PyErr_Occurred()) SWIG_fail;
3155 }
3156 Py_INCREF(Py_None); resultobj = Py_None;
3157 return resultobj;
3158 fail:
3159 return NULL;
3160 }
3161
3162
3163 static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
3164 PyObject *resultobj;
3165 wxComboBox *arg1 = (wxComboBox *) 0 ;
3166 PyObject * obj0 = 0 ;
3167 char *kwnames[] = {
3168 (char *) "self", NULL
3169 };
3170
3171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3174 {
3175 PyThreadState* __tstate = wxPyBeginAllowThreads();
3176 (arg1)->Cut();
3177
3178 wxPyEndAllowThreads(__tstate);
3179 if (PyErr_Occurred()) SWIG_fail;
3180 }
3181 Py_INCREF(Py_None); resultobj = Py_None;
3182 return resultobj;
3183 fail:
3184 return NULL;
3185 }
3186
3187
3188 static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
3189 PyObject *resultobj;
3190 wxComboBox *arg1 = (wxComboBox *) 0 ;
3191 PyObject * obj0 = 0 ;
3192 char *kwnames[] = {
3193 (char *) "self", NULL
3194 };
3195
3196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3199 {
3200 PyThreadState* __tstate = wxPyBeginAllowThreads();
3201 (arg1)->Paste();
3202
3203 wxPyEndAllowThreads(__tstate);
3204 if (PyErr_Occurred()) SWIG_fail;
3205 }
3206 Py_INCREF(Py_None); resultobj = Py_None;
3207 return resultobj;
3208 fail:
3209 return NULL;
3210 }
3211
3212
3213 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
3214 PyObject *resultobj;
3215 wxComboBox *arg1 = (wxComboBox *) 0 ;
3216 long arg2 ;
3217 PyObject * obj0 = 0 ;
3218 PyObject * obj1 = 0 ;
3219 char *kwnames[] = {
3220 (char *) "self",(char *) "pos", NULL
3221 };
3222
3223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3226 arg2 = (long) SWIG_AsLong(obj1);
3227 if (PyErr_Occurred()) SWIG_fail;
3228 {
3229 PyThreadState* __tstate = wxPyBeginAllowThreads();
3230 (arg1)->SetInsertionPoint(arg2);
3231
3232 wxPyEndAllowThreads(__tstate);
3233 if (PyErr_Occurred()) SWIG_fail;
3234 }
3235 Py_INCREF(Py_None); resultobj = Py_None;
3236 return resultobj;
3237 fail:
3238 return NULL;
3239 }
3240
3241
3242 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
3243 PyObject *resultobj;
3244 wxComboBox *arg1 = (wxComboBox *) 0 ;
3245 long result;
3246 PyObject * obj0 = 0 ;
3247 char *kwnames[] = {
3248 (char *) "self", NULL
3249 };
3250
3251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3254 {
3255 PyThreadState* __tstate = wxPyBeginAllowThreads();
3256 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3257
3258 wxPyEndAllowThreads(__tstate);
3259 if (PyErr_Occurred()) SWIG_fail;
3260 }
3261 resultobj = SWIG_FromLong((long)result);
3262 return resultobj;
3263 fail:
3264 return NULL;
3265 }
3266
3267
3268 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
3269 PyObject *resultobj;
3270 wxComboBox *arg1 = (wxComboBox *) 0 ;
3271 long result;
3272 PyObject * obj0 = 0 ;
3273 char *kwnames[] = {
3274 (char *) "self", NULL
3275 };
3276
3277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3280 {
3281 PyThreadState* __tstate = wxPyBeginAllowThreads();
3282 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3283
3284 wxPyEndAllowThreads(__tstate);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
3287 resultobj = SWIG_FromLong((long)result);
3288 return resultobj;
3289 fail:
3290 return NULL;
3291 }
3292
3293
3294 static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
3295 PyObject *resultobj;
3296 wxComboBox *arg1 = (wxComboBox *) 0 ;
3297 long arg2 ;
3298 long arg3 ;
3299 wxString *arg4 = 0 ;
3300 bool temp4 = False ;
3301 PyObject * obj0 = 0 ;
3302 PyObject * obj1 = 0 ;
3303 PyObject * obj2 = 0 ;
3304 PyObject * obj3 = 0 ;
3305 char *kwnames[] = {
3306 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3307 };
3308
3309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3312 arg2 = (long) SWIG_AsLong(obj1);
3313 if (PyErr_Occurred()) SWIG_fail;
3314 arg3 = (long) SWIG_AsLong(obj2);
3315 if (PyErr_Occurred()) SWIG_fail;
3316 {
3317 arg4 = wxString_in_helper(obj3);
3318 if (arg4 == NULL) SWIG_fail;
3319 temp4 = True;
3320 }
3321 {
3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
3323 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3324
3325 wxPyEndAllowThreads(__tstate);
3326 if (PyErr_Occurred()) SWIG_fail;
3327 }
3328 Py_INCREF(Py_None); resultobj = Py_None;
3329 {
3330 if (temp4)
3331 delete arg4;
3332 }
3333 return resultobj;
3334 fail:
3335 {
3336 if (temp4)
3337 delete arg4;
3338 }
3339 return NULL;
3340 }
3341
3342
3343 static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
3344 PyObject *resultobj;
3345 wxComboBox *arg1 = (wxComboBox *) 0 ;
3346 int arg2 ;
3347 PyObject * obj0 = 0 ;
3348 PyObject * obj1 = 0 ;
3349 char *kwnames[] = {
3350 (char *) "self",(char *) "n", NULL
3351 };
3352
3353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3356 arg2 = (int) SWIG_AsInt(obj1);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 {
3359 PyThreadState* __tstate = wxPyBeginAllowThreads();
3360 (arg1)->SetSelection(arg2);
3361
3362 wxPyEndAllowThreads(__tstate);
3363 if (PyErr_Occurred()) SWIG_fail;
3364 }
3365 Py_INCREF(Py_None); resultobj = Py_None;
3366 return resultobj;
3367 fail:
3368 return NULL;
3369 }
3370
3371
3372 static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
3373 PyObject *resultobj;
3374 wxComboBox *arg1 = (wxComboBox *) 0 ;
3375 long arg2 ;
3376 long arg3 ;
3377 PyObject * obj0 = 0 ;
3378 PyObject * obj1 = 0 ;
3379 PyObject * obj2 = 0 ;
3380 char *kwnames[] = {
3381 (char *) "self",(char *) "from",(char *) "to", NULL
3382 };
3383
3384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3387 arg2 = (long) SWIG_AsLong(obj1);
3388 if (PyErr_Occurred()) SWIG_fail;
3389 arg3 = (long) SWIG_AsLong(obj2);
3390 if (PyErr_Occurred()) SWIG_fail;
3391 {
3392 PyThreadState* __tstate = wxPyBeginAllowThreads();
3393 (arg1)->SetSelection(arg2,arg3);
3394
3395 wxPyEndAllowThreads(__tstate);
3396 if (PyErr_Occurred()) SWIG_fail;
3397 }
3398 Py_INCREF(Py_None); resultobj = Py_None;
3399 return resultobj;
3400 fail:
3401 return NULL;
3402 }
3403
3404
3405 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
3406 PyObject *resultobj;
3407 wxComboBox *arg1 = (wxComboBox *) 0 ;
3408 bool arg2 ;
3409 PyObject * obj0 = 0 ;
3410 PyObject * obj1 = 0 ;
3411 char *kwnames[] = {
3412 (char *) "self",(char *) "editable", NULL
3413 };
3414
3415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3418 arg2 = (bool) SWIG_AsBool(obj1);
3419 if (PyErr_Occurred()) SWIG_fail;
3420 {
3421 PyThreadState* __tstate = wxPyBeginAllowThreads();
3422 (arg1)->SetEditable(arg2);
3423
3424 wxPyEndAllowThreads(__tstate);
3425 if (PyErr_Occurred()) SWIG_fail;
3426 }
3427 Py_INCREF(Py_None); resultobj = Py_None;
3428 return resultobj;
3429 fail:
3430 return NULL;
3431 }
3432
3433
3434 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
3435 PyObject *resultobj;
3436 wxComboBox *arg1 = (wxComboBox *) 0 ;
3437 PyObject * obj0 = 0 ;
3438 char *kwnames[] = {
3439 (char *) "self", NULL
3440 };
3441
3442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3445 {
3446 PyThreadState* __tstate = wxPyBeginAllowThreads();
3447 (arg1)->SetInsertionPointEnd();
3448
3449 wxPyEndAllowThreads(__tstate);
3450 if (PyErr_Occurred()) SWIG_fail;
3451 }
3452 Py_INCREF(Py_None); resultobj = Py_None;
3453 return resultobj;
3454 fail:
3455 return NULL;
3456 }
3457
3458
3459 static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
3460 PyObject *resultobj;
3461 wxComboBox *arg1 = (wxComboBox *) 0 ;
3462 long arg2 ;
3463 long arg3 ;
3464 PyObject * obj0 = 0 ;
3465 PyObject * obj1 = 0 ;
3466 PyObject * obj2 = 0 ;
3467 char *kwnames[] = {
3468 (char *) "self",(char *) "from",(char *) "to", NULL
3469 };
3470
3471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3474 arg2 = (long) SWIG_AsLong(obj1);
3475 if (PyErr_Occurred()) SWIG_fail;
3476 arg3 = (long) SWIG_AsLong(obj2);
3477 if (PyErr_Occurred()) SWIG_fail;
3478 {
3479 PyThreadState* __tstate = wxPyBeginAllowThreads();
3480 (arg1)->Remove(arg2,arg3);
3481
3482 wxPyEndAllowThreads(__tstate);
3483 if (PyErr_Occurred()) SWIG_fail;
3484 }
3485 Py_INCREF(Py_None); resultobj = Py_None;
3486 return resultobj;
3487 fail:
3488 return NULL;
3489 }
3490
3491
3492 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
3493 PyObject *obj;
3494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3495 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3496 Py_INCREF(obj);
3497 return Py_BuildValue((char *)"");
3498 }
3499 static int _wrap_GaugeNameStr_set(PyObject *) {
3500 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3501 return 1;
3502 }
3503
3504
3505 static PyObject *_wrap_GaugeNameStr_get() {
3506 PyObject *pyobj;
3507
3508 {
3509 #if wxUSE_UNICODE
3510 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3511 #else
3512 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3513 #endif
3514 }
3515 return pyobj;
3516 }
3517
3518
3519 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
3520 PyObject *resultobj;
3521 wxWindow *arg1 = (wxWindow *) 0 ;
3522 int arg2 ;
3523 int arg3 ;
3524 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3525 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3526 wxSize const &arg5_defvalue = wxDefaultSize ;
3527 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3528 long arg6 = (long) wxGA_HORIZONTAL ;
3529 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3530 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3531 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3532 wxString *arg8 = (wxString *) &arg8_defvalue ;
3533 wxGauge *result;
3534 wxPoint temp4 ;
3535 wxSize temp5 ;
3536 bool temp8 = False ;
3537 PyObject * obj0 = 0 ;
3538 PyObject * obj1 = 0 ;
3539 PyObject * obj2 = 0 ;
3540 PyObject * obj3 = 0 ;
3541 PyObject * obj4 = 0 ;
3542 PyObject * obj5 = 0 ;
3543 PyObject * obj6 = 0 ;
3544 PyObject * obj7 = 0 ;
3545 char *kwnames[] = {
3546 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3547 };
3548
3549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3552 arg2 = (int) SWIG_AsInt(obj1);
3553 if (PyErr_Occurred()) SWIG_fail;
3554 arg3 = (int) SWIG_AsInt(obj2);
3555 if (PyErr_Occurred()) SWIG_fail;
3556 if (obj3) {
3557 {
3558 arg4 = &temp4;
3559 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3560 }
3561 }
3562 if (obj4) {
3563 {
3564 arg5 = &temp5;
3565 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3566 }
3567 }
3568 if (obj5) {
3569 arg6 = (long) SWIG_AsLong(obj5);
3570 if (PyErr_Occurred()) SWIG_fail;
3571 }
3572 if (obj6) {
3573 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3574 SWIG_POINTER_EXCEPTION | 0)) == -1)
3575 SWIG_fail;
3576 if (arg7 == NULL) {
3577 PyErr_SetString(PyExc_TypeError,"null reference");
3578 SWIG_fail;
3579 }
3580 }
3581 if (obj7) {
3582 {
3583 arg8 = wxString_in_helper(obj7);
3584 if (arg8 == NULL) SWIG_fail;
3585 temp8 = True;
3586 }
3587 }
3588 {
3589 PyThreadState* __tstate = wxPyBeginAllowThreads();
3590 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3591
3592 wxPyEndAllowThreads(__tstate);
3593 if (PyErr_Occurred()) SWIG_fail;
3594 }
3595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3596 {
3597 if (temp8)
3598 delete arg8;
3599 }
3600 return resultobj;
3601 fail:
3602 {
3603 if (temp8)
3604 delete arg8;
3605 }
3606 return NULL;
3607 }
3608
3609
3610 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
3611 PyObject *resultobj;
3612 wxGauge *result;
3613 char *kwnames[] = {
3614 NULL
3615 };
3616
3617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3618 {
3619 PyThreadState* __tstate = wxPyBeginAllowThreads();
3620 result = (wxGauge *)new wxGauge();
3621
3622 wxPyEndAllowThreads(__tstate);
3623 if (PyErr_Occurred()) SWIG_fail;
3624 }
3625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3626 return resultobj;
3627 fail:
3628 return NULL;
3629 }
3630
3631
3632 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3633 PyObject *resultobj;
3634 wxGauge *arg1 = (wxGauge *) 0 ;
3635 wxWindow *arg2 = (wxWindow *) 0 ;
3636 int arg3 ;
3637 int arg4 ;
3638 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3639 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3640 wxSize const &arg6_defvalue = wxDefaultSize ;
3641 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3642 long arg7 = (long) wxGA_HORIZONTAL ;
3643 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3644 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3645 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3646 wxString *arg9 = (wxString *) &arg9_defvalue ;
3647 bool result;
3648 wxPoint temp5 ;
3649 wxSize temp6 ;
3650 bool temp9 = False ;
3651 PyObject * obj0 = 0 ;
3652 PyObject * obj1 = 0 ;
3653 PyObject * obj2 = 0 ;
3654 PyObject * obj3 = 0 ;
3655 PyObject * obj4 = 0 ;
3656 PyObject * obj5 = 0 ;
3657 PyObject * obj6 = 0 ;
3658 PyObject * obj7 = 0 ;
3659 PyObject * obj8 = 0 ;
3660 char *kwnames[] = {
3661 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3662 };
3663
3664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3667 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3669 arg3 = (int) SWIG_AsInt(obj2);
3670 if (PyErr_Occurred()) SWIG_fail;
3671 arg4 = (int) SWIG_AsInt(obj3);
3672 if (PyErr_Occurred()) SWIG_fail;
3673 if (obj4) {
3674 {
3675 arg5 = &temp5;
3676 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3677 }
3678 }
3679 if (obj5) {
3680 {
3681 arg6 = &temp6;
3682 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3683 }
3684 }
3685 if (obj6) {
3686 arg7 = (long) SWIG_AsLong(obj6);
3687 if (PyErr_Occurred()) SWIG_fail;
3688 }
3689 if (obj7) {
3690 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3691 SWIG_POINTER_EXCEPTION | 0)) == -1)
3692 SWIG_fail;
3693 if (arg8 == NULL) {
3694 PyErr_SetString(PyExc_TypeError,"null reference");
3695 SWIG_fail;
3696 }
3697 }
3698 if (obj8) {
3699 {
3700 arg9 = wxString_in_helper(obj8);
3701 if (arg9 == NULL) SWIG_fail;
3702 temp9 = True;
3703 }
3704 }
3705 {
3706 PyThreadState* __tstate = wxPyBeginAllowThreads();
3707 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3708
3709 wxPyEndAllowThreads(__tstate);
3710 if (PyErr_Occurred()) SWIG_fail;
3711 }
3712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3713 {
3714 if (temp9)
3715 delete arg9;
3716 }
3717 return resultobj;
3718 fail:
3719 {
3720 if (temp9)
3721 delete arg9;
3722 }
3723 return NULL;
3724 }
3725
3726
3727 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
3728 PyObject *resultobj;
3729 wxGauge *arg1 = (wxGauge *) 0 ;
3730 int arg2 ;
3731 PyObject * obj0 = 0 ;
3732 PyObject * obj1 = 0 ;
3733 char *kwnames[] = {
3734 (char *) "self",(char *) "range", NULL
3735 };
3736
3737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
3738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3740 arg2 = (int) SWIG_AsInt(obj1);
3741 if (PyErr_Occurred()) SWIG_fail;
3742 {
3743 PyThreadState* __tstate = wxPyBeginAllowThreads();
3744 (arg1)->SetRange(arg2);
3745
3746 wxPyEndAllowThreads(__tstate);
3747 if (PyErr_Occurred()) SWIG_fail;
3748 }
3749 Py_INCREF(Py_None); resultobj = Py_None;
3750 return resultobj;
3751 fail:
3752 return NULL;
3753 }
3754
3755
3756 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
3757 PyObject *resultobj;
3758 wxGauge *arg1 = (wxGauge *) 0 ;
3759 int result;
3760 PyObject * obj0 = 0 ;
3761 char *kwnames[] = {
3762 (char *) "self", NULL
3763 };
3764
3765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3768 {
3769 PyThreadState* __tstate = wxPyBeginAllowThreads();
3770 result = (int)((wxGauge const *)arg1)->GetRange();
3771
3772 wxPyEndAllowThreads(__tstate);
3773 if (PyErr_Occurred()) SWIG_fail;
3774 }
3775 resultobj = SWIG_FromInt((int)result);
3776 return resultobj;
3777 fail:
3778 return NULL;
3779 }
3780
3781
3782 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3783 PyObject *resultobj;
3784 wxGauge *arg1 = (wxGauge *) 0 ;
3785 int arg2 ;
3786 PyObject * obj0 = 0 ;
3787 PyObject * obj1 = 0 ;
3788 char *kwnames[] = {
3789 (char *) "self",(char *) "pos", NULL
3790 };
3791
3792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
3793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3795 arg2 = (int) SWIG_AsInt(obj1);
3796 if (PyErr_Occurred()) SWIG_fail;
3797 {
3798 PyThreadState* __tstate = wxPyBeginAllowThreads();
3799 (arg1)->SetValue(arg2);
3800
3801 wxPyEndAllowThreads(__tstate);
3802 if (PyErr_Occurred()) SWIG_fail;
3803 }
3804 Py_INCREF(Py_None); resultobj = Py_None;
3805 return resultobj;
3806 fail:
3807 return NULL;
3808 }
3809
3810
3811 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3812 PyObject *resultobj;
3813 wxGauge *arg1 = (wxGauge *) 0 ;
3814 int result;
3815 PyObject * obj0 = 0 ;
3816 char *kwnames[] = {
3817 (char *) "self", NULL
3818 };
3819
3820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3823 {
3824 PyThreadState* __tstate = wxPyBeginAllowThreads();
3825 result = (int)((wxGauge const *)arg1)->GetValue();
3826
3827 wxPyEndAllowThreads(__tstate);
3828 if (PyErr_Occurred()) SWIG_fail;
3829 }
3830 resultobj = SWIG_FromInt((int)result);
3831 return resultobj;
3832 fail:
3833 return NULL;
3834 }
3835
3836
3837 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
3838 PyObject *resultobj;
3839 wxGauge *arg1 = (wxGauge *) 0 ;
3840 bool result;
3841 PyObject * obj0 = 0 ;
3842 char *kwnames[] = {
3843 (char *) "self", NULL
3844 };
3845
3846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3849 {
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 result = (bool)((wxGauge const *)arg1)->IsVertical();
3852
3853 wxPyEndAllowThreads(__tstate);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
3856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3857 return resultobj;
3858 fail:
3859 return NULL;
3860 }
3861
3862
3863 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3864 PyObject *resultobj;
3865 wxGauge *arg1 = (wxGauge *) 0 ;
3866 int arg2 ;
3867 PyObject * obj0 = 0 ;
3868 PyObject * obj1 = 0 ;
3869 char *kwnames[] = {
3870 (char *) "self",(char *) "w", NULL
3871 };
3872
3873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
3874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3876 arg2 = (int) SWIG_AsInt(obj1);
3877 if (PyErr_Occurred()) SWIG_fail;
3878 {
3879 PyThreadState* __tstate = wxPyBeginAllowThreads();
3880 (arg1)->SetShadowWidth(arg2);
3881
3882 wxPyEndAllowThreads(__tstate);
3883 if (PyErr_Occurred()) SWIG_fail;
3884 }
3885 Py_INCREF(Py_None); resultobj = Py_None;
3886 return resultobj;
3887 fail:
3888 return NULL;
3889 }
3890
3891
3892 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3893 PyObject *resultobj;
3894 wxGauge *arg1 = (wxGauge *) 0 ;
3895 int result;
3896 PyObject * obj0 = 0 ;
3897 char *kwnames[] = {
3898 (char *) "self", NULL
3899 };
3900
3901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3904 {
3905 PyThreadState* __tstate = wxPyBeginAllowThreads();
3906 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3907
3908 wxPyEndAllowThreads(__tstate);
3909 if (PyErr_Occurred()) SWIG_fail;
3910 }
3911 resultobj = SWIG_FromInt((int)result);
3912 return resultobj;
3913 fail:
3914 return NULL;
3915 }
3916
3917
3918 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
3919 PyObject *resultobj;
3920 wxGauge *arg1 = (wxGauge *) 0 ;
3921 int arg2 ;
3922 PyObject * obj0 = 0 ;
3923 PyObject * obj1 = 0 ;
3924 char *kwnames[] = {
3925 (char *) "self",(char *) "w", NULL
3926 };
3927
3928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
3929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3931 arg2 = (int) SWIG_AsInt(obj1);
3932 if (PyErr_Occurred()) SWIG_fail;
3933 {
3934 PyThreadState* __tstate = wxPyBeginAllowThreads();
3935 (arg1)->SetBezelFace(arg2);
3936
3937 wxPyEndAllowThreads(__tstate);
3938 if (PyErr_Occurred()) SWIG_fail;
3939 }
3940 Py_INCREF(Py_None); resultobj = Py_None;
3941 return resultobj;
3942 fail:
3943 return NULL;
3944 }
3945
3946
3947 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
3948 PyObject *resultobj;
3949 wxGauge *arg1 = (wxGauge *) 0 ;
3950 int result;
3951 PyObject * obj0 = 0 ;
3952 char *kwnames[] = {
3953 (char *) "self", NULL
3954 };
3955
3956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3959 {
3960 PyThreadState* __tstate = wxPyBeginAllowThreads();
3961 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3962
3963 wxPyEndAllowThreads(__tstate);
3964 if (PyErr_Occurred()) SWIG_fail;
3965 }
3966 resultobj = SWIG_FromInt((int)result);
3967 return resultobj;
3968 fail:
3969 return NULL;
3970 }
3971
3972
3973 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
3974 PyObject *obj;
3975 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3976 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3977 Py_INCREF(obj);
3978 return Py_BuildValue((char *)"");
3979 }
3980 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
3981 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3982 return 1;
3983 }
3984
3985
3986 static PyObject *_wrap_StaticBitmapNameStr_get() {
3987 PyObject *pyobj;
3988
3989 {
3990 #if wxUSE_UNICODE
3991 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3992 #else
3993 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3994 #endif
3995 }
3996 return pyobj;
3997 }
3998
3999
4000 static int _wrap_StaticBoxNameStr_set(PyObject *) {
4001 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4002 return 1;
4003 }
4004
4005
4006 static PyObject *_wrap_StaticBoxNameStr_get() {
4007 PyObject *pyobj;
4008
4009 {
4010 #if wxUSE_UNICODE
4011 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4012 #else
4013 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4014 #endif
4015 }
4016 return pyobj;
4017 }
4018
4019
4020 static int _wrap_StaticTextNameStr_set(PyObject *) {
4021 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4022 return 1;
4023 }
4024
4025
4026 static PyObject *_wrap_StaticTextNameStr_get() {
4027 PyObject *pyobj;
4028
4029 {
4030 #if wxUSE_UNICODE
4031 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4032 #else
4033 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4034 #endif
4035 }
4036 return pyobj;
4037 }
4038
4039
4040 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
4041 PyObject *resultobj;
4042 wxWindow *arg1 = (wxWindow *) 0 ;
4043 int arg2 ;
4044 wxString *arg3 = 0 ;
4045 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4046 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4047 wxSize const &arg5_defvalue = wxDefaultSize ;
4048 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4049 long arg6 = (long) 0 ;
4050 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4051 wxString *arg7 = (wxString *) &arg7_defvalue ;
4052 wxStaticBox *result;
4053 bool temp3 = False ;
4054 wxPoint temp4 ;
4055 wxSize temp5 ;
4056 bool temp7 = False ;
4057 PyObject * obj0 = 0 ;
4058 PyObject * obj1 = 0 ;
4059 PyObject * obj2 = 0 ;
4060 PyObject * obj3 = 0 ;
4061 PyObject * obj4 = 0 ;
4062 PyObject * obj5 = 0 ;
4063 PyObject * obj6 = 0 ;
4064 char *kwnames[] = {
4065 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4066 };
4067
4068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4071 arg2 = (int) SWIG_AsInt(obj1);
4072 if (PyErr_Occurred()) SWIG_fail;
4073 {
4074 arg3 = wxString_in_helper(obj2);
4075 if (arg3 == NULL) SWIG_fail;
4076 temp3 = True;
4077 }
4078 if (obj3) {
4079 {
4080 arg4 = &temp4;
4081 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4082 }
4083 }
4084 if (obj4) {
4085 {
4086 arg5 = &temp5;
4087 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4088 }
4089 }
4090 if (obj5) {
4091 arg6 = (long) SWIG_AsLong(obj5);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
4094 if (obj6) {
4095 {
4096 arg7 = wxString_in_helper(obj6);
4097 if (arg7 == NULL) SWIG_fail;
4098 temp7 = True;
4099 }
4100 }
4101 {
4102 PyThreadState* __tstate = wxPyBeginAllowThreads();
4103 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4104
4105 wxPyEndAllowThreads(__tstate);
4106 if (PyErr_Occurred()) SWIG_fail;
4107 }
4108 {
4109 resultobj = wxPyMake_wxObject(result);
4110 }
4111 {
4112 if (temp3)
4113 delete arg3;
4114 }
4115 {
4116 if (temp7)
4117 delete arg7;
4118 }
4119 return resultobj;
4120 fail:
4121 {
4122 if (temp3)
4123 delete arg3;
4124 }
4125 {
4126 if (temp7)
4127 delete arg7;
4128 }
4129 return NULL;
4130 }
4131
4132
4133 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
4134 PyObject *resultobj;
4135 wxStaticBox *result;
4136 char *kwnames[] = {
4137 NULL
4138 };
4139
4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4141 {
4142 PyThreadState* __tstate = wxPyBeginAllowThreads();
4143 result = (wxStaticBox *)new wxStaticBox();
4144
4145 wxPyEndAllowThreads(__tstate);
4146 if (PyErr_Occurred()) SWIG_fail;
4147 }
4148 {
4149 resultobj = wxPyMake_wxObject(result);
4150 }
4151 return resultobj;
4152 fail:
4153 return NULL;
4154 }
4155
4156
4157 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4158 PyObject *resultobj;
4159 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4160 wxWindow *arg2 = (wxWindow *) 0 ;
4161 int arg3 ;
4162 wxString *arg4 = 0 ;
4163 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4164 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4165 wxSize const &arg6_defvalue = wxDefaultSize ;
4166 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4167 long arg7 = (long) 0 ;
4168 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4169 wxString *arg8 = (wxString *) &arg8_defvalue ;
4170 bool result;
4171 bool temp4 = False ;
4172 wxPoint temp5 ;
4173 wxSize temp6 ;
4174 bool temp8 = False ;
4175 PyObject * obj0 = 0 ;
4176 PyObject * obj1 = 0 ;
4177 PyObject * obj2 = 0 ;
4178 PyObject * obj3 = 0 ;
4179 PyObject * obj4 = 0 ;
4180 PyObject * obj5 = 0 ;
4181 PyObject * obj6 = 0 ;
4182 PyObject * obj7 = 0 ;
4183 char *kwnames[] = {
4184 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4185 };
4186
4187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4192 arg3 = (int) SWIG_AsInt(obj2);
4193 if (PyErr_Occurred()) SWIG_fail;
4194 {
4195 arg4 = wxString_in_helper(obj3);
4196 if (arg4 == NULL) SWIG_fail;
4197 temp4 = True;
4198 }
4199 if (obj4) {
4200 {
4201 arg5 = &temp5;
4202 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4203 }
4204 }
4205 if (obj5) {
4206 {
4207 arg6 = &temp6;
4208 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4209 }
4210 }
4211 if (obj6) {
4212 arg7 = (long) SWIG_AsLong(obj6);
4213 if (PyErr_Occurred()) SWIG_fail;
4214 }
4215 if (obj7) {
4216 {
4217 arg8 = wxString_in_helper(obj7);
4218 if (arg8 == NULL) SWIG_fail;
4219 temp8 = True;
4220 }
4221 }
4222 {
4223 PyThreadState* __tstate = wxPyBeginAllowThreads();
4224 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4225
4226 wxPyEndAllowThreads(__tstate);
4227 if (PyErr_Occurred()) SWIG_fail;
4228 }
4229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4230 {
4231 if (temp4)
4232 delete arg4;
4233 }
4234 {
4235 if (temp8)
4236 delete arg8;
4237 }
4238 return resultobj;
4239 fail:
4240 {
4241 if (temp4)
4242 delete arg4;
4243 }
4244 {
4245 if (temp8)
4246 delete arg8;
4247 }
4248 return NULL;
4249 }
4250
4251
4252 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
4253 PyObject *obj;
4254 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4255 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4256 Py_INCREF(obj);
4257 return Py_BuildValue((char *)"");
4258 }
4259 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
4260 PyObject *resultobj;
4261 wxWindow *arg1 = (wxWindow *) 0 ;
4262 int arg2 ;
4263 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4264 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4265 wxSize const &arg4_defvalue = wxDefaultSize ;
4266 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4267 long arg5 = (long) wxLI_HORIZONTAL ;
4268 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4269 wxString *arg6 = (wxString *) &arg6_defvalue ;
4270 wxStaticLine *result;
4271 wxPoint temp3 ;
4272 wxSize temp4 ;
4273 bool temp6 = False ;
4274 PyObject * obj0 = 0 ;
4275 PyObject * obj1 = 0 ;
4276 PyObject * obj2 = 0 ;
4277 PyObject * obj3 = 0 ;
4278 PyObject * obj4 = 0 ;
4279 PyObject * obj5 = 0 ;
4280 char *kwnames[] = {
4281 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4282 };
4283
4284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4287 arg2 = (int) SWIG_AsInt(obj1);
4288 if (PyErr_Occurred()) SWIG_fail;
4289 if (obj2) {
4290 {
4291 arg3 = &temp3;
4292 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4293 }
4294 }
4295 if (obj3) {
4296 {
4297 arg4 = &temp4;
4298 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4299 }
4300 }
4301 if (obj4) {
4302 arg5 = (long) SWIG_AsLong(obj4);
4303 if (PyErr_Occurred()) SWIG_fail;
4304 }
4305 if (obj5) {
4306 {
4307 arg6 = wxString_in_helper(obj5);
4308 if (arg6 == NULL) SWIG_fail;
4309 temp6 = True;
4310 }
4311 }
4312 {
4313 PyThreadState* __tstate = wxPyBeginAllowThreads();
4314 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4315
4316 wxPyEndAllowThreads(__tstate);
4317 if (PyErr_Occurred()) SWIG_fail;
4318 }
4319 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4320 {
4321 if (temp6)
4322 delete arg6;
4323 }
4324 return resultobj;
4325 fail:
4326 {
4327 if (temp6)
4328 delete arg6;
4329 }
4330 return NULL;
4331 }
4332
4333
4334 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
4335 PyObject *resultobj;
4336 wxStaticLine *result;
4337 char *kwnames[] = {
4338 NULL
4339 };
4340
4341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4342 {
4343 PyThreadState* __tstate = wxPyBeginAllowThreads();
4344 result = (wxStaticLine *)new wxStaticLine();
4345
4346 wxPyEndAllowThreads(__tstate);
4347 if (PyErr_Occurred()) SWIG_fail;
4348 }
4349 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4350 return resultobj;
4351 fail:
4352 return NULL;
4353 }
4354
4355
4356 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4357 PyObject *resultobj;
4358 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4359 wxWindow *arg2 = (wxWindow *) 0 ;
4360 int arg3 ;
4361 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4362 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4363 wxSize const &arg5_defvalue = wxDefaultSize ;
4364 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4365 long arg6 = (long) wxLI_HORIZONTAL ;
4366 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4367 wxString *arg7 = (wxString *) &arg7_defvalue ;
4368 bool result;
4369 wxPoint temp4 ;
4370 wxSize temp5 ;
4371 bool temp7 = False ;
4372 PyObject * obj0 = 0 ;
4373 PyObject * obj1 = 0 ;
4374 PyObject * obj2 = 0 ;
4375 PyObject * obj3 = 0 ;
4376 PyObject * obj4 = 0 ;
4377 PyObject * obj5 = 0 ;
4378 PyObject * obj6 = 0 ;
4379 char *kwnames[] = {
4380 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4381 };
4382
4383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4386 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4388 arg3 = (int) SWIG_AsInt(obj2);
4389 if (PyErr_Occurred()) SWIG_fail;
4390 if (obj3) {
4391 {
4392 arg4 = &temp4;
4393 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4394 }
4395 }
4396 if (obj4) {
4397 {
4398 arg5 = &temp5;
4399 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4400 }
4401 }
4402 if (obj5) {
4403 arg6 = (long) SWIG_AsLong(obj5);
4404 if (PyErr_Occurred()) SWIG_fail;
4405 }
4406 if (obj6) {
4407 {
4408 arg7 = wxString_in_helper(obj6);
4409 if (arg7 == NULL) SWIG_fail;
4410 temp7 = True;
4411 }
4412 }
4413 {
4414 PyThreadState* __tstate = wxPyBeginAllowThreads();
4415 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4416
4417 wxPyEndAllowThreads(__tstate);
4418 if (PyErr_Occurred()) SWIG_fail;
4419 }
4420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4421 {
4422 if (temp7)
4423 delete arg7;
4424 }
4425 return resultobj;
4426 fail:
4427 {
4428 if (temp7)
4429 delete arg7;
4430 }
4431 return NULL;
4432 }
4433
4434
4435 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
4436 PyObject *resultobj;
4437 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4438 bool result;
4439 PyObject * obj0 = 0 ;
4440 char *kwnames[] = {
4441 (char *) "self", NULL
4442 };
4443
4444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4447 {
4448 PyThreadState* __tstate = wxPyBeginAllowThreads();
4449 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4450
4451 wxPyEndAllowThreads(__tstate);
4452 if (PyErr_Occurred()) SWIG_fail;
4453 }
4454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4455 return resultobj;
4456 fail:
4457 return NULL;
4458 }
4459
4460
4461 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
4462 PyObject *resultobj;
4463 int result;
4464 char *kwnames[] = {
4465 NULL
4466 };
4467
4468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4469 {
4470 PyThreadState* __tstate = wxPyBeginAllowThreads();
4471 result = (int)wxStaticLine::GetDefaultSize();
4472
4473 wxPyEndAllowThreads(__tstate);
4474 if (PyErr_Occurred()) SWIG_fail;
4475 }
4476 resultobj = SWIG_FromInt((int)result);
4477 return resultobj;
4478 fail:
4479 return NULL;
4480 }
4481
4482
4483 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
4484 PyObject *obj;
4485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4486 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4487 Py_INCREF(obj);
4488 return Py_BuildValue((char *)"");
4489 }
4490 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
4491 PyObject *resultobj;
4492 wxWindow *arg1 = (wxWindow *) 0 ;
4493 int arg2 ;
4494 wxString *arg3 = 0 ;
4495 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4496 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4497 wxSize const &arg5_defvalue = wxDefaultSize ;
4498 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4499 long arg6 = (long) 0 ;
4500 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4501 wxString *arg7 = (wxString *) &arg7_defvalue ;
4502 wxStaticText *result;
4503 bool temp3 = False ;
4504 wxPoint temp4 ;
4505 wxSize temp5 ;
4506 bool temp7 = False ;
4507 PyObject * obj0 = 0 ;
4508 PyObject * obj1 = 0 ;
4509 PyObject * obj2 = 0 ;
4510 PyObject * obj3 = 0 ;
4511 PyObject * obj4 = 0 ;
4512 PyObject * obj5 = 0 ;
4513 PyObject * obj6 = 0 ;
4514 char *kwnames[] = {
4515 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4516 };
4517
4518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4521 arg2 = (int) SWIG_AsInt(obj1);
4522 if (PyErr_Occurred()) SWIG_fail;
4523 {
4524 arg3 = wxString_in_helper(obj2);
4525 if (arg3 == NULL) SWIG_fail;
4526 temp3 = True;
4527 }
4528 if (obj3) {
4529 {
4530 arg4 = &temp4;
4531 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4532 }
4533 }
4534 if (obj4) {
4535 {
4536 arg5 = &temp5;
4537 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4538 }
4539 }
4540 if (obj5) {
4541 arg6 = (long) SWIG_AsLong(obj5);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 if (obj6) {
4545 {
4546 arg7 = wxString_in_helper(obj6);
4547 if (arg7 == NULL) SWIG_fail;
4548 temp7 = True;
4549 }
4550 }
4551 {
4552 PyThreadState* __tstate = wxPyBeginAllowThreads();
4553 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4554
4555 wxPyEndAllowThreads(__tstate);
4556 if (PyErr_Occurred()) SWIG_fail;
4557 }
4558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4559 {
4560 if (temp3)
4561 delete arg3;
4562 }
4563 {
4564 if (temp7)
4565 delete arg7;
4566 }
4567 return resultobj;
4568 fail:
4569 {
4570 if (temp3)
4571 delete arg3;
4572 }
4573 {
4574 if (temp7)
4575 delete arg7;
4576 }
4577 return NULL;
4578 }
4579
4580
4581 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
4582 PyObject *resultobj;
4583 wxStaticText *result;
4584 char *kwnames[] = {
4585 NULL
4586 };
4587
4588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 result = (wxStaticText *)new wxStaticText();
4592
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) SWIG_fail;
4595 }
4596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4597 return resultobj;
4598 fail:
4599 return NULL;
4600 }
4601
4602
4603 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4604 PyObject *resultobj;
4605 wxStaticText *arg1 = (wxStaticText *) 0 ;
4606 wxWindow *arg2 = (wxWindow *) 0 ;
4607 int arg3 ;
4608 wxString *arg4 = 0 ;
4609 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4610 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4611 wxSize const &arg6_defvalue = wxDefaultSize ;
4612 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4613 long arg7 = (long) 0 ;
4614 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4615 wxString *arg8 = (wxString *) &arg8_defvalue ;
4616 bool result;
4617 bool temp4 = False ;
4618 wxPoint temp5 ;
4619 wxSize temp6 ;
4620 bool temp8 = False ;
4621 PyObject * obj0 = 0 ;
4622 PyObject * obj1 = 0 ;
4623 PyObject * obj2 = 0 ;
4624 PyObject * obj3 = 0 ;
4625 PyObject * obj4 = 0 ;
4626 PyObject * obj5 = 0 ;
4627 PyObject * obj6 = 0 ;
4628 PyObject * obj7 = 0 ;
4629 char *kwnames[] = {
4630 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4631 };
4632
4633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
4635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4636 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4638 arg3 = (int) SWIG_AsInt(obj2);
4639 if (PyErr_Occurred()) SWIG_fail;
4640 {
4641 arg4 = wxString_in_helper(obj3);
4642 if (arg4 == NULL) SWIG_fail;
4643 temp4 = True;
4644 }
4645 if (obj4) {
4646 {
4647 arg5 = &temp5;
4648 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4649 }
4650 }
4651 if (obj5) {
4652 {
4653 arg6 = &temp6;
4654 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4655 }
4656 }
4657 if (obj6) {
4658 arg7 = (long) SWIG_AsLong(obj6);
4659 if (PyErr_Occurred()) SWIG_fail;
4660 }
4661 if (obj7) {
4662 {
4663 arg8 = wxString_in_helper(obj7);
4664 if (arg8 == NULL) SWIG_fail;
4665 temp8 = True;
4666 }
4667 }
4668 {
4669 PyThreadState* __tstate = wxPyBeginAllowThreads();
4670 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4671
4672 wxPyEndAllowThreads(__tstate);
4673 if (PyErr_Occurred()) SWIG_fail;
4674 }
4675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4676 {
4677 if (temp4)
4678 delete arg4;
4679 }
4680 {
4681 if (temp8)
4682 delete arg8;
4683 }
4684 return resultobj;
4685 fail:
4686 {
4687 if (temp4)
4688 delete arg4;
4689 }
4690 {
4691 if (temp8)
4692 delete arg8;
4693 }
4694 return NULL;
4695 }
4696
4697
4698 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
4699 PyObject *obj;
4700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4701 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4702 Py_INCREF(obj);
4703 return Py_BuildValue((char *)"");
4704 }
4705 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4706 PyObject *resultobj;
4707 wxWindow *arg1 = (wxWindow *) 0 ;
4708 int arg2 ;
4709 wxBitmap *arg3 = 0 ;
4710 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4711 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4712 wxSize const &arg5_defvalue = wxDefaultSize ;
4713 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4714 long arg6 = (long) 0 ;
4715 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4716 wxString *arg7 = (wxString *) &arg7_defvalue ;
4717 wxStaticBitmap *result;
4718 wxPoint temp4 ;
4719 wxSize temp5 ;
4720 bool temp7 = False ;
4721 PyObject * obj0 = 0 ;
4722 PyObject * obj1 = 0 ;
4723 PyObject * obj2 = 0 ;
4724 PyObject * obj3 = 0 ;
4725 PyObject * obj4 = 0 ;
4726 PyObject * obj5 = 0 ;
4727 PyObject * obj6 = 0 ;
4728 char *kwnames[] = {
4729 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4730 };
4731
4732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4735 arg2 = (int) SWIG_AsInt(obj1);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
4738 SWIG_POINTER_EXCEPTION | 0)) == -1)
4739 SWIG_fail;
4740 if (arg3 == NULL) {
4741 PyErr_SetString(PyExc_TypeError,"null reference");
4742 SWIG_fail;
4743 }
4744 if (obj3) {
4745 {
4746 arg4 = &temp4;
4747 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4748 }
4749 }
4750 if (obj4) {
4751 {
4752 arg5 = &temp5;
4753 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4754 }
4755 }
4756 if (obj5) {
4757 arg6 = (long) SWIG_AsLong(obj5);
4758 if (PyErr_Occurred()) SWIG_fail;
4759 }
4760 if (obj6) {
4761 {
4762 arg7 = wxString_in_helper(obj6);
4763 if (arg7 == NULL) SWIG_fail;
4764 temp7 = True;
4765 }
4766 }
4767 {
4768 PyThreadState* __tstate = wxPyBeginAllowThreads();
4769 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4770
4771 wxPyEndAllowThreads(__tstate);
4772 if (PyErr_Occurred()) SWIG_fail;
4773 }
4774 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4775 {
4776 if (temp7)
4777 delete arg7;
4778 }
4779 return resultobj;
4780 fail:
4781 {
4782 if (temp7)
4783 delete arg7;
4784 }
4785 return NULL;
4786 }
4787
4788
4789 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4790 PyObject *resultobj;
4791 wxStaticBitmap *result;
4792 char *kwnames[] = {
4793 NULL
4794 };
4795
4796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 result = (wxStaticBitmap *)new wxStaticBitmap();
4800
4801 wxPyEndAllowThreads(__tstate);
4802 if (PyErr_Occurred()) SWIG_fail;
4803 }
4804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4805 return resultobj;
4806 fail:
4807 return NULL;
4808 }
4809
4810
4811 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4812 PyObject *resultobj;
4813 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4814 wxWindow *arg2 = (wxWindow *) 0 ;
4815 int arg3 ;
4816 wxBitmap *arg4 = 0 ;
4817 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4818 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4819 wxSize const &arg6_defvalue = wxDefaultSize ;
4820 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4821 long arg7 = (long) 0 ;
4822 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4823 wxString *arg8 = (wxString *) &arg8_defvalue ;
4824 bool result;
4825 wxPoint temp5 ;
4826 wxSize temp6 ;
4827 bool temp8 = False ;
4828 PyObject * obj0 = 0 ;
4829 PyObject * obj1 = 0 ;
4830 PyObject * obj2 = 0 ;
4831 PyObject * obj3 = 0 ;
4832 PyObject * obj4 = 0 ;
4833 PyObject * obj5 = 0 ;
4834 PyObject * obj6 = 0 ;
4835 PyObject * obj7 = 0 ;
4836 char *kwnames[] = {
4837 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4838 };
4839
4840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4845 arg3 = (int) SWIG_AsInt(obj2);
4846 if (PyErr_Occurred()) SWIG_fail;
4847 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
4848 SWIG_POINTER_EXCEPTION | 0)) == -1)
4849 SWIG_fail;
4850 if (arg4 == NULL) {
4851 PyErr_SetString(PyExc_TypeError,"null reference");
4852 SWIG_fail;
4853 }
4854 if (obj4) {
4855 {
4856 arg5 = &temp5;
4857 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4858 }
4859 }
4860 if (obj5) {
4861 {
4862 arg6 = &temp6;
4863 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4864 }
4865 }
4866 if (obj6) {
4867 arg7 = (long) SWIG_AsLong(obj6);
4868 if (PyErr_Occurred()) SWIG_fail;
4869 }
4870 if (obj7) {
4871 {
4872 arg8 = wxString_in_helper(obj7);
4873 if (arg8 == NULL) SWIG_fail;
4874 temp8 = True;
4875 }
4876 }
4877 {
4878 PyThreadState* __tstate = wxPyBeginAllowThreads();
4879 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4880
4881 wxPyEndAllowThreads(__tstate);
4882 if (PyErr_Occurred()) SWIG_fail;
4883 }
4884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4885 {
4886 if (temp8)
4887 delete arg8;
4888 }
4889 return resultobj;
4890 fail:
4891 {
4892 if (temp8)
4893 delete arg8;
4894 }
4895 return NULL;
4896 }
4897
4898
4899 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4900 PyObject *resultobj;
4901 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4902 wxBitmap result;
4903 PyObject * obj0 = 0 ;
4904 char *kwnames[] = {
4905 (char *) "self", NULL
4906 };
4907
4908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4911 {
4912 PyThreadState* __tstate = wxPyBeginAllowThreads();
4913 result = (arg1)->GetBitmap();
4914
4915 wxPyEndAllowThreads(__tstate);
4916 if (PyErr_Occurred()) SWIG_fail;
4917 }
4918 {
4919 wxBitmap * resultptr;
4920 resultptr = new wxBitmap((wxBitmap &) result);
4921 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4922 }
4923 return resultobj;
4924 fail:
4925 return NULL;
4926 }
4927
4928
4929 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4930 PyObject *resultobj;
4931 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4932 wxBitmap *arg2 = 0 ;
4933 PyObject * obj0 = 0 ;
4934 PyObject * obj1 = 0 ;
4935 char *kwnames[] = {
4936 (char *) "self",(char *) "bitmap", NULL
4937 };
4938
4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4942 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4943 SWIG_POINTER_EXCEPTION | 0)) == -1)
4944 SWIG_fail;
4945 if (arg2 == NULL) {
4946 PyErr_SetString(PyExc_TypeError,"null reference");
4947 SWIG_fail;
4948 }
4949 {
4950 PyThreadState* __tstate = wxPyBeginAllowThreads();
4951 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4952
4953 wxPyEndAllowThreads(__tstate);
4954 if (PyErr_Occurred()) SWIG_fail;
4955 }
4956 Py_INCREF(Py_None); resultobj = Py_None;
4957 return resultobj;
4958 fail:
4959 return NULL;
4960 }
4961
4962
4963 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4964 PyObject *resultobj;
4965 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4966 wxIcon *arg2 = 0 ;
4967 PyObject * obj0 = 0 ;
4968 PyObject * obj1 = 0 ;
4969 char *kwnames[] = {
4970 (char *) "self",(char *) "icon", NULL
4971 };
4972
4973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4976 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
4977 SWIG_POINTER_EXCEPTION | 0)) == -1)
4978 SWIG_fail;
4979 if (arg2 == NULL) {
4980 PyErr_SetString(PyExc_TypeError,"null reference");
4981 SWIG_fail;
4982 }
4983 {
4984 PyThreadState* __tstate = wxPyBeginAllowThreads();
4985 (arg1)->SetIcon((wxIcon const &)*arg2);
4986
4987 wxPyEndAllowThreads(__tstate);
4988 if (PyErr_Occurred()) SWIG_fail;
4989 }
4990 Py_INCREF(Py_None); resultobj = Py_None;
4991 return resultobj;
4992 fail:
4993 return NULL;
4994 }
4995
4996
4997 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
4998 PyObject *obj;
4999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5000 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5001 Py_INCREF(obj);
5002 return Py_BuildValue((char *)"");
5003 }
5004 static int _wrap_ListBoxNameStr_set(PyObject *) {
5005 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5006 return 1;
5007 }
5008
5009
5010 static PyObject *_wrap_ListBoxNameStr_get() {
5011 PyObject *pyobj;
5012
5013 {
5014 #if wxUSE_UNICODE
5015 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5016 #else
5017 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5018 #endif
5019 }
5020 return pyobj;
5021 }
5022
5023
5024 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
5025 PyObject *resultobj;
5026 wxWindow *arg1 = (wxWindow *) 0 ;
5027 int arg2 ;
5028 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5029 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5030 wxSize const &arg4_defvalue = wxDefaultSize ;
5031 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5032 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5033 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5034 long arg6 = (long) 0 ;
5035 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5036 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5037 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5038 wxString *arg8 = (wxString *) &arg8_defvalue ;
5039 wxListBox *result;
5040 wxPoint temp3 ;
5041 wxSize temp4 ;
5042 bool temp5 = False ;
5043 bool temp8 = False ;
5044 PyObject * obj0 = 0 ;
5045 PyObject * obj1 = 0 ;
5046 PyObject * obj2 = 0 ;
5047 PyObject * obj3 = 0 ;
5048 PyObject * obj4 = 0 ;
5049 PyObject * obj5 = 0 ;
5050 PyObject * obj6 = 0 ;
5051 PyObject * obj7 = 0 ;
5052 char *kwnames[] = {
5053 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5054 };
5055
5056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5059 arg2 = (int) SWIG_AsInt(obj1);
5060 if (PyErr_Occurred()) SWIG_fail;
5061 if (obj2) {
5062 {
5063 arg3 = &temp3;
5064 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5065 }
5066 }
5067 if (obj3) {
5068 {
5069 arg4 = &temp4;
5070 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5071 }
5072 }
5073 if (obj4) {
5074 {
5075 if (! PySequence_Check(obj4)) {
5076 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5077 SWIG_fail;
5078 }
5079 arg5 = new wxArrayString;
5080 temp5 = True;
5081 int i, len=PySequence_Length(obj4);
5082 for (i=0; i<len; i++) {
5083 PyObject* item = PySequence_GetItem(obj4, i);
5084 #if wxUSE_UNICODE
5085 PyObject* str = PyObject_Unicode(item);
5086 #else
5087 PyObject* str = PyObject_Str(item);
5088 #endif
5089 arg5->Add(Py2wxString(str));
5090 Py_DECREF(item);
5091 Py_DECREF(str);
5092 }
5093 }
5094 }
5095 if (obj5) {
5096 arg6 = (long) SWIG_AsLong(obj5);
5097 if (PyErr_Occurred()) SWIG_fail;
5098 }
5099 if (obj6) {
5100 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5101 SWIG_POINTER_EXCEPTION | 0)) == -1)
5102 SWIG_fail;
5103 if (arg7 == NULL) {
5104 PyErr_SetString(PyExc_TypeError,"null reference");
5105 SWIG_fail;
5106 }
5107 }
5108 if (obj7) {
5109 {
5110 arg8 = wxString_in_helper(obj7);
5111 if (arg8 == NULL) SWIG_fail;
5112 temp8 = True;
5113 }
5114 }
5115 {
5116 PyThreadState* __tstate = wxPyBeginAllowThreads();
5117 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5118
5119 wxPyEndAllowThreads(__tstate);
5120 if (PyErr_Occurred()) SWIG_fail;
5121 }
5122 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5123 {
5124 if (temp5) delete arg5;
5125 }
5126 {
5127 if (temp8)
5128 delete arg8;
5129 }
5130 return resultobj;
5131 fail:
5132 {
5133 if (temp5) delete arg5;
5134 }
5135 {
5136 if (temp8)
5137 delete arg8;
5138 }
5139 return NULL;
5140 }
5141
5142
5143 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
5144 PyObject *resultobj;
5145 wxListBox *result;
5146 char *kwnames[] = {
5147 NULL
5148 };
5149
5150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5151 {
5152 PyThreadState* __tstate = wxPyBeginAllowThreads();
5153 result = (wxListBox *)new wxListBox();
5154
5155 wxPyEndAllowThreads(__tstate);
5156 if (PyErr_Occurred()) SWIG_fail;
5157 }
5158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5159 return resultobj;
5160 fail:
5161 return NULL;
5162 }
5163
5164
5165 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5166 PyObject *resultobj;
5167 wxListBox *arg1 = (wxListBox *) 0 ;
5168 wxWindow *arg2 = (wxWindow *) 0 ;
5169 int arg3 ;
5170 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5171 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5172 wxSize const &arg5_defvalue = wxDefaultSize ;
5173 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5174 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5175 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5176 long arg7 = (long) 0 ;
5177 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5178 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5179 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5180 wxString *arg9 = (wxString *) &arg9_defvalue ;
5181 bool result;
5182 wxPoint temp4 ;
5183 wxSize temp5 ;
5184 bool temp6 = False ;
5185 bool temp9 = False ;
5186 PyObject * obj0 = 0 ;
5187 PyObject * obj1 = 0 ;
5188 PyObject * obj2 = 0 ;
5189 PyObject * obj3 = 0 ;
5190 PyObject * obj4 = 0 ;
5191 PyObject * obj5 = 0 ;
5192 PyObject * obj6 = 0 ;
5193 PyObject * obj7 = 0 ;
5194 PyObject * obj8 = 0 ;
5195 char *kwnames[] = {
5196 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5197 };
5198
5199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5202 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5204 arg3 = (int) SWIG_AsInt(obj2);
5205 if (PyErr_Occurred()) SWIG_fail;
5206 if (obj3) {
5207 {
5208 arg4 = &temp4;
5209 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5210 }
5211 }
5212 if (obj4) {
5213 {
5214 arg5 = &temp5;
5215 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5216 }
5217 }
5218 if (obj5) {
5219 {
5220 if (! PySequence_Check(obj5)) {
5221 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5222 SWIG_fail;
5223 }
5224 arg6 = new wxArrayString;
5225 temp6 = True;
5226 int i, len=PySequence_Length(obj5);
5227 for (i=0; i<len; i++) {
5228 PyObject* item = PySequence_GetItem(obj5, i);
5229 #if wxUSE_UNICODE
5230 PyObject* str = PyObject_Unicode(item);
5231 #else
5232 PyObject* str = PyObject_Str(item);
5233 #endif
5234 arg6->Add(Py2wxString(str));
5235 Py_DECREF(item);
5236 Py_DECREF(str);
5237 }
5238 }
5239 }
5240 if (obj6) {
5241 arg7 = (long) SWIG_AsLong(obj6);
5242 if (PyErr_Occurred()) SWIG_fail;
5243 }
5244 if (obj7) {
5245 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5246 SWIG_POINTER_EXCEPTION | 0)) == -1)
5247 SWIG_fail;
5248 if (arg8 == NULL) {
5249 PyErr_SetString(PyExc_TypeError,"null reference");
5250 SWIG_fail;
5251 }
5252 }
5253 if (obj8) {
5254 {
5255 arg9 = wxString_in_helper(obj8);
5256 if (arg9 == NULL) SWIG_fail;
5257 temp9 = True;
5258 }
5259 }
5260 {
5261 PyThreadState* __tstate = wxPyBeginAllowThreads();
5262 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5263
5264 wxPyEndAllowThreads(__tstate);
5265 if (PyErr_Occurred()) SWIG_fail;
5266 }
5267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5268 {
5269 if (temp6) delete arg6;
5270 }
5271 {
5272 if (temp9)
5273 delete arg9;
5274 }
5275 return resultobj;
5276 fail:
5277 {
5278 if (temp6) delete arg6;
5279 }
5280 {
5281 if (temp9)
5282 delete arg9;
5283 }
5284 return NULL;
5285 }
5286
5287
5288 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
5289 PyObject *resultobj;
5290 wxListBox *arg1 = (wxListBox *) 0 ;
5291 wxString *arg2 = 0 ;
5292 int arg3 ;
5293 PyObject *arg4 = (PyObject *) NULL ;
5294 bool temp2 = False ;
5295 PyObject * obj0 = 0 ;
5296 PyObject * obj1 = 0 ;
5297 PyObject * obj2 = 0 ;
5298 PyObject * obj3 = 0 ;
5299 char *kwnames[] = {
5300 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5301 };
5302
5303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5306 {
5307 arg2 = wxString_in_helper(obj1);
5308 if (arg2 == NULL) SWIG_fail;
5309 temp2 = True;
5310 }
5311 arg3 = (int) SWIG_AsInt(obj2);
5312 if (PyErr_Occurred()) SWIG_fail;
5313 if (obj3) {
5314 arg4 = obj3;
5315 }
5316 {
5317 PyThreadState* __tstate = wxPyBeginAllowThreads();
5318 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5319
5320 wxPyEndAllowThreads(__tstate);
5321 if (PyErr_Occurred()) SWIG_fail;
5322 }
5323 Py_INCREF(Py_None); resultobj = Py_None;
5324 {
5325 if (temp2)
5326 delete arg2;
5327 }
5328 return resultobj;
5329 fail:
5330 {
5331 if (temp2)
5332 delete arg2;
5333 }
5334 return NULL;
5335 }
5336
5337
5338 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
5339 PyObject *resultobj;
5340 wxListBox *arg1 = (wxListBox *) 0 ;
5341 wxArrayString *arg2 = 0 ;
5342 int arg3 ;
5343 bool temp2 = False ;
5344 PyObject * obj0 = 0 ;
5345 PyObject * obj1 = 0 ;
5346 PyObject * obj2 = 0 ;
5347 char *kwnames[] = {
5348 (char *) "self",(char *) "items",(char *) "pos", NULL
5349 };
5350
5351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5354 {
5355 if (! PySequence_Check(obj1)) {
5356 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5357 SWIG_fail;
5358 }
5359 arg2 = new wxArrayString;
5360 temp2 = True;
5361 int i, len=PySequence_Length(obj1);
5362 for (i=0; i<len; i++) {
5363 PyObject* item = PySequence_GetItem(obj1, i);
5364 #if wxUSE_UNICODE
5365 PyObject* str = PyObject_Unicode(item);
5366 #else
5367 PyObject* str = PyObject_Str(item);
5368 #endif
5369 arg2->Add(Py2wxString(str));
5370 Py_DECREF(item);
5371 Py_DECREF(str);
5372 }
5373 }
5374 arg3 = (int) SWIG_AsInt(obj2);
5375 if (PyErr_Occurred()) SWIG_fail;
5376 {
5377 PyThreadState* __tstate = wxPyBeginAllowThreads();
5378 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5379
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 Py_INCREF(Py_None); resultobj = Py_None;
5384 {
5385 if (temp2) delete arg2;
5386 }
5387 return resultobj;
5388 fail:
5389 {
5390 if (temp2) delete arg2;
5391 }
5392 return NULL;
5393 }
5394
5395
5396 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
5397 PyObject *resultobj;
5398 wxListBox *arg1 = (wxListBox *) 0 ;
5399 wxArrayString *arg2 = 0 ;
5400 bool temp2 = False ;
5401 PyObject * obj0 = 0 ;
5402 PyObject * obj1 = 0 ;
5403 char *kwnames[] = {
5404 (char *) "self",(char *) "items", NULL
5405 };
5406
5407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5410 {
5411 if (! PySequence_Check(obj1)) {
5412 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5413 SWIG_fail;
5414 }
5415 arg2 = new wxArrayString;
5416 temp2 = True;
5417 int i, len=PySequence_Length(obj1);
5418 for (i=0; i<len; i++) {
5419 PyObject* item = PySequence_GetItem(obj1, i);
5420 #if wxUSE_UNICODE
5421 PyObject* str = PyObject_Unicode(item);
5422 #else
5423 PyObject* str = PyObject_Str(item);
5424 #endif
5425 arg2->Add(Py2wxString(str));
5426 Py_DECREF(item);
5427 Py_DECREF(str);
5428 }
5429 }
5430 {
5431 PyThreadState* __tstate = wxPyBeginAllowThreads();
5432 (arg1)->Set((wxArrayString const &)*arg2);
5433
5434 wxPyEndAllowThreads(__tstate);
5435 if (PyErr_Occurred()) SWIG_fail;
5436 }
5437 Py_INCREF(Py_None); resultobj = Py_None;
5438 {
5439 if (temp2) delete arg2;
5440 }
5441 return resultobj;
5442 fail:
5443 {
5444 if (temp2) delete arg2;
5445 }
5446 return NULL;
5447 }
5448
5449
5450 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
5451 PyObject *resultobj;
5452 wxListBox *arg1 = (wxListBox *) 0 ;
5453 int arg2 ;
5454 bool result;
5455 PyObject * obj0 = 0 ;
5456 PyObject * obj1 = 0 ;
5457 char *kwnames[] = {
5458 (char *) "self",(char *) "n", NULL
5459 };
5460
5461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
5462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5464 arg2 = (int) SWIG_AsInt(obj1);
5465 if (PyErr_Occurred()) SWIG_fail;
5466 {
5467 PyThreadState* __tstate = wxPyBeginAllowThreads();
5468 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5469
5470 wxPyEndAllowThreads(__tstate);
5471 if (PyErr_Occurred()) SWIG_fail;
5472 }
5473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5474 return resultobj;
5475 fail:
5476 return NULL;
5477 }
5478
5479
5480 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5481 PyObject *resultobj;
5482 wxListBox *arg1 = (wxListBox *) 0 ;
5483 int arg2 ;
5484 bool arg3 = (bool) True ;
5485 PyObject * obj0 = 0 ;
5486 PyObject * obj1 = 0 ;
5487 PyObject * obj2 = 0 ;
5488 char *kwnames[] = {
5489 (char *) "self",(char *) "n",(char *) "select", NULL
5490 };
5491
5492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5495 arg2 = (int) SWIG_AsInt(obj1);
5496 if (PyErr_Occurred()) SWIG_fail;
5497 if (obj2) {
5498 arg3 = (bool) SWIG_AsBool(obj2);
5499 if (PyErr_Occurred()) SWIG_fail;
5500 }
5501 {
5502 PyThreadState* __tstate = wxPyBeginAllowThreads();
5503 (arg1)->SetSelection(arg2,arg3);
5504
5505 wxPyEndAllowThreads(__tstate);
5506 if (PyErr_Occurred()) SWIG_fail;
5507 }
5508 Py_INCREF(Py_None); resultobj = Py_None;
5509 return resultobj;
5510 fail:
5511 return NULL;
5512 }
5513
5514
5515 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
5516 PyObject *resultobj;
5517 wxListBox *arg1 = (wxListBox *) 0 ;
5518 int arg2 ;
5519 PyObject * obj0 = 0 ;
5520 PyObject * obj1 = 0 ;
5521 char *kwnames[] = {
5522 (char *) "self",(char *) "n", NULL
5523 };
5524
5525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
5526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5528 arg2 = (int) SWIG_AsInt(obj1);
5529 if (PyErr_Occurred()) SWIG_fail;
5530 {
5531 PyThreadState* __tstate = wxPyBeginAllowThreads();
5532 (arg1)->Select(arg2);
5533
5534 wxPyEndAllowThreads(__tstate);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 }
5537 Py_INCREF(Py_None); resultobj = Py_None;
5538 return resultobj;
5539 fail:
5540 return NULL;
5541 }
5542
5543
5544 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
5545 PyObject *resultobj;
5546 wxListBox *arg1 = (wxListBox *) 0 ;
5547 int arg2 ;
5548 PyObject * obj0 = 0 ;
5549 PyObject * obj1 = 0 ;
5550 char *kwnames[] = {
5551 (char *) "self",(char *) "n", NULL
5552 };
5553
5554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
5555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5557 arg2 = (int) SWIG_AsInt(obj1);
5558 if (PyErr_Occurred()) SWIG_fail;
5559 {
5560 PyThreadState* __tstate = wxPyBeginAllowThreads();
5561 (arg1)->Deselect(arg2);
5562
5563 wxPyEndAllowThreads(__tstate);
5564 if (PyErr_Occurred()) SWIG_fail;
5565 }
5566 Py_INCREF(Py_None); resultobj = Py_None;
5567 return resultobj;
5568 fail:
5569 return NULL;
5570 }
5571
5572
5573 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5574 PyObject *resultobj;
5575 wxListBox *arg1 = (wxListBox *) 0 ;
5576 int arg2 = (int) -1 ;
5577 PyObject * obj0 = 0 ;
5578 PyObject * obj1 = 0 ;
5579 char *kwnames[] = {
5580 (char *) "self",(char *) "itemToLeaveSelected", NULL
5581 };
5582
5583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
5584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
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 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 (arg1)->DeselectAll(arg2);
5593
5594 wxPyEndAllowThreads(__tstate);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
5597 Py_INCREF(Py_None); resultobj = Py_None;
5598 return resultobj;
5599 fail:
5600 return NULL;
5601 }
5602
5603
5604 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5605 PyObject *resultobj;
5606 wxListBox *arg1 = (wxListBox *) 0 ;
5607 wxString *arg2 = 0 ;
5608 bool arg3 = (bool) True ;
5609 bool result;
5610 bool temp2 = False ;
5611 PyObject * obj0 = 0 ;
5612 PyObject * obj1 = 0 ;
5613 PyObject * obj2 = 0 ;
5614 char *kwnames[] = {
5615 (char *) "self",(char *) "s",(char *) "select", NULL
5616 };
5617
5618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5621 {
5622 arg2 = wxString_in_helper(obj1);
5623 if (arg2 == NULL) SWIG_fail;
5624 temp2 = True;
5625 }
5626 if (obj2) {
5627 arg3 = (bool) SWIG_AsBool(obj2);
5628 if (PyErr_Occurred()) SWIG_fail;
5629 }
5630 {
5631 PyThreadState* __tstate = wxPyBeginAllowThreads();
5632 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5633
5634 wxPyEndAllowThreads(__tstate);
5635 if (PyErr_Occurred()) SWIG_fail;
5636 }
5637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5638 {
5639 if (temp2)
5640 delete arg2;
5641 }
5642 return resultobj;
5643 fail:
5644 {
5645 if (temp2)
5646 delete arg2;
5647 }
5648 return NULL;
5649 }
5650
5651
5652 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
5653 PyObject *resultobj;
5654 wxListBox *arg1 = (wxListBox *) 0 ;
5655 PyObject *result;
5656 PyObject * obj0 = 0 ;
5657 char *kwnames[] = {
5658 (char *) "self", NULL
5659 };
5660
5661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5664 {
5665 PyThreadState* __tstate = wxPyBeginAllowThreads();
5666 result = (PyObject *)wxListBox_GetSelections(arg1);
5667
5668 wxPyEndAllowThreads(__tstate);
5669 if (PyErr_Occurred()) SWIG_fail;
5670 }
5671 resultobj = result;
5672 return resultobj;
5673 fail:
5674 return NULL;
5675 }
5676
5677
5678 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
5679 PyObject *resultobj;
5680 wxListBox *arg1 = (wxListBox *) 0 ;
5681 int arg2 ;
5682 PyObject * obj0 = 0 ;
5683 PyObject * obj1 = 0 ;
5684 char *kwnames[] = {
5685 (char *) "self",(char *) "n", NULL
5686 };
5687
5688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
5689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5691 arg2 = (int) SWIG_AsInt(obj1);
5692 if (PyErr_Occurred()) SWIG_fail;
5693 {
5694 PyThreadState* __tstate = wxPyBeginAllowThreads();
5695 (arg1)->SetFirstItem(arg2);
5696
5697 wxPyEndAllowThreads(__tstate);
5698 if (PyErr_Occurred()) SWIG_fail;
5699 }
5700 Py_INCREF(Py_None); resultobj = Py_None;
5701 return resultobj;
5702 fail:
5703 return NULL;
5704 }
5705
5706
5707 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
5708 PyObject *resultobj;
5709 wxListBox *arg1 = (wxListBox *) 0 ;
5710 wxString *arg2 = 0 ;
5711 bool temp2 = False ;
5712 PyObject * obj0 = 0 ;
5713 PyObject * obj1 = 0 ;
5714 char *kwnames[] = {
5715 (char *) "self",(char *) "s", NULL
5716 };
5717
5718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5721 {
5722 arg2 = wxString_in_helper(obj1);
5723 if (arg2 == NULL) SWIG_fail;
5724 temp2 = True;
5725 }
5726 {
5727 PyThreadState* __tstate = wxPyBeginAllowThreads();
5728 (arg1)->SetFirstItem((wxString const &)*arg2);
5729
5730 wxPyEndAllowThreads(__tstate);
5731 if (PyErr_Occurred()) SWIG_fail;
5732 }
5733 Py_INCREF(Py_None); resultobj = Py_None;
5734 {
5735 if (temp2)
5736 delete arg2;
5737 }
5738 return resultobj;
5739 fail:
5740 {
5741 if (temp2)
5742 delete arg2;
5743 }
5744 return NULL;
5745 }
5746
5747
5748 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
5749 PyObject *resultobj;
5750 wxListBox *arg1 = (wxListBox *) 0 ;
5751 int arg2 ;
5752 PyObject * obj0 = 0 ;
5753 PyObject * obj1 = 0 ;
5754 char *kwnames[] = {
5755 (char *) "self",(char *) "n", NULL
5756 };
5757
5758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5761 arg2 = (int) SWIG_AsInt(obj1);
5762 if (PyErr_Occurred()) SWIG_fail;
5763 {
5764 PyThreadState* __tstate = wxPyBeginAllowThreads();
5765 (arg1)->EnsureVisible(arg2);
5766
5767 wxPyEndAllowThreads(__tstate);
5768 if (PyErr_Occurred()) SWIG_fail;
5769 }
5770 Py_INCREF(Py_None); resultobj = Py_None;
5771 return resultobj;
5772 fail:
5773 return NULL;
5774 }
5775
5776
5777 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
5778 PyObject *resultobj;
5779 wxListBox *arg1 = (wxListBox *) 0 ;
5780 wxString *arg2 = 0 ;
5781 bool temp2 = False ;
5782 PyObject * obj0 = 0 ;
5783 PyObject * obj1 = 0 ;
5784 char *kwnames[] = {
5785 (char *) "self",(char *) "s", NULL
5786 };
5787
5788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5791 {
5792 arg2 = wxString_in_helper(obj1);
5793 if (arg2 == NULL) SWIG_fail;
5794 temp2 = True;
5795 }
5796 {
5797 PyThreadState* __tstate = wxPyBeginAllowThreads();
5798 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5799
5800 wxPyEndAllowThreads(__tstate);
5801 if (PyErr_Occurred()) SWIG_fail;
5802 }
5803 Py_INCREF(Py_None); resultobj = Py_None;
5804 {
5805 if (temp2)
5806 delete arg2;
5807 }
5808 return resultobj;
5809 fail:
5810 {
5811 if (temp2)
5812 delete arg2;
5813 }
5814 return NULL;
5815 }
5816
5817
5818 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
5819 PyObject *resultobj;
5820 wxListBox *arg1 = (wxListBox *) 0 ;
5821 bool result;
5822 PyObject * obj0 = 0 ;
5823 char *kwnames[] = {
5824 (char *) "self", NULL
5825 };
5826
5827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5830 {
5831 PyThreadState* __tstate = wxPyBeginAllowThreads();
5832 result = (bool)((wxListBox const *)arg1)->IsSorted();
5833
5834 wxPyEndAllowThreads(__tstate);
5835 if (PyErr_Occurred()) SWIG_fail;
5836 }
5837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5838 return resultobj;
5839 fail:
5840 return NULL;
5841 }
5842
5843
5844 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
5845 PyObject *resultobj;
5846 wxListBox *arg1 = (wxListBox *) 0 ;
5847 int arg2 ;
5848 wxColour *arg3 = 0 ;
5849 wxColour temp3 ;
5850 PyObject * obj0 = 0 ;
5851 PyObject * obj1 = 0 ;
5852 PyObject * obj2 = 0 ;
5853 char *kwnames[] = {
5854 (char *) "self",(char *) "item",(char *) "c", NULL
5855 };
5856
5857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5860 arg2 = (int) SWIG_AsInt(obj1);
5861 if (PyErr_Occurred()) SWIG_fail;
5862 {
5863 arg3 = &temp3;
5864 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5865 }
5866 {
5867 PyThreadState* __tstate = wxPyBeginAllowThreads();
5868 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
5869
5870 wxPyEndAllowThreads(__tstate);
5871 if (PyErr_Occurred()) SWIG_fail;
5872 }
5873 Py_INCREF(Py_None); resultobj = Py_None;
5874 return resultobj;
5875 fail:
5876 return NULL;
5877 }
5878
5879
5880 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
5881 PyObject *resultobj;
5882 wxListBox *arg1 = (wxListBox *) 0 ;
5883 int arg2 ;
5884 wxColour *arg3 = 0 ;
5885 wxColour temp3 ;
5886 PyObject * obj0 = 0 ;
5887 PyObject * obj1 = 0 ;
5888 PyObject * obj2 = 0 ;
5889 char *kwnames[] = {
5890 (char *) "self",(char *) "item",(char *) "c", NULL
5891 };
5892
5893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5896 arg2 = (int) SWIG_AsInt(obj1);
5897 if (PyErr_Occurred()) SWIG_fail;
5898 {
5899 arg3 = &temp3;
5900 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5901 }
5902 {
5903 PyThreadState* __tstate = wxPyBeginAllowThreads();
5904 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
5905
5906 wxPyEndAllowThreads(__tstate);
5907 if (PyErr_Occurred()) SWIG_fail;
5908 }
5909 Py_INCREF(Py_None); resultobj = Py_None;
5910 return resultobj;
5911 fail:
5912 return NULL;
5913 }
5914
5915
5916 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
5917 PyObject *resultobj;
5918 wxListBox *arg1 = (wxListBox *) 0 ;
5919 int arg2 ;
5920 wxFont *arg3 = 0 ;
5921 PyObject * obj0 = 0 ;
5922 PyObject * obj1 = 0 ;
5923 PyObject * obj2 = 0 ;
5924 char *kwnames[] = {
5925 (char *) "self",(char *) "item",(char *) "f", NULL
5926 };
5927
5928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
5929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5931 arg2 = (int) SWIG_AsInt(obj1);
5932 if (PyErr_Occurred()) SWIG_fail;
5933 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
5934 SWIG_POINTER_EXCEPTION | 0)) == -1)
5935 SWIG_fail;
5936 if (arg3 == NULL) {
5937 PyErr_SetString(PyExc_TypeError,"null reference");
5938 SWIG_fail;
5939 }
5940 {
5941 PyThreadState* __tstate = wxPyBeginAllowThreads();
5942 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
5943
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 Py_INCREF(Py_None); resultobj = Py_None;
5948 return resultobj;
5949 fail:
5950 return NULL;
5951 }
5952
5953
5954 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
5955 PyObject *obj;
5956 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5957 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5958 Py_INCREF(obj);
5959 return Py_BuildValue((char *)"");
5960 }
5961 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
5962 PyObject *resultobj;
5963 wxWindow *arg1 = (wxWindow *) 0 ;
5964 int arg2 ;
5965 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5966 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5967 wxSize const &arg4_defvalue = wxDefaultSize ;
5968 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5969 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5970 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5971 long arg6 = (long) 0 ;
5972 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5973 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5974 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5975 wxString *arg8 = (wxString *) &arg8_defvalue ;
5976 wxCheckListBox *result;
5977 wxPoint temp3 ;
5978 wxSize temp4 ;
5979 bool temp5 = False ;
5980 bool temp8 = False ;
5981 PyObject * obj0 = 0 ;
5982 PyObject * obj1 = 0 ;
5983 PyObject * obj2 = 0 ;
5984 PyObject * obj3 = 0 ;
5985 PyObject * obj4 = 0 ;
5986 PyObject * obj5 = 0 ;
5987 PyObject * obj6 = 0 ;
5988 PyObject * obj7 = 0 ;
5989 char *kwnames[] = {
5990 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5991 };
5992
5993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5996 arg2 = (int) SWIG_AsInt(obj1);
5997 if (PyErr_Occurred()) SWIG_fail;
5998 if (obj2) {
5999 {
6000 arg3 = &temp3;
6001 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6002 }
6003 }
6004 if (obj3) {
6005 {
6006 arg4 = &temp4;
6007 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6008 }
6009 }
6010 if (obj4) {
6011 {
6012 if (! PySequence_Check(obj4)) {
6013 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6014 SWIG_fail;
6015 }
6016 arg5 = new wxArrayString;
6017 temp5 = True;
6018 int i, len=PySequence_Length(obj4);
6019 for (i=0; i<len; i++) {
6020 PyObject* item = PySequence_GetItem(obj4, i);
6021 #if wxUSE_UNICODE
6022 PyObject* str = PyObject_Unicode(item);
6023 #else
6024 PyObject* str = PyObject_Str(item);
6025 #endif
6026 arg5->Add(Py2wxString(str));
6027 Py_DECREF(item);
6028 Py_DECREF(str);
6029 }
6030 }
6031 }
6032 if (obj5) {
6033 arg6 = (long) SWIG_AsLong(obj5);
6034 if (PyErr_Occurred()) SWIG_fail;
6035 }
6036 if (obj6) {
6037 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6038 SWIG_POINTER_EXCEPTION | 0)) == -1)
6039 SWIG_fail;
6040 if (arg7 == NULL) {
6041 PyErr_SetString(PyExc_TypeError,"null reference");
6042 SWIG_fail;
6043 }
6044 }
6045 if (obj7) {
6046 {
6047 arg8 = wxString_in_helper(obj7);
6048 if (arg8 == NULL) SWIG_fail;
6049 temp8 = True;
6050 }
6051 }
6052 {
6053 PyThreadState* __tstate = wxPyBeginAllowThreads();
6054 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6055
6056 wxPyEndAllowThreads(__tstate);
6057 if (PyErr_Occurred()) SWIG_fail;
6058 }
6059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6060 {
6061 if (temp5) delete arg5;
6062 }
6063 {
6064 if (temp8)
6065 delete arg8;
6066 }
6067 return resultobj;
6068 fail:
6069 {
6070 if (temp5) delete arg5;
6071 }
6072 {
6073 if (temp8)
6074 delete arg8;
6075 }
6076 return NULL;
6077 }
6078
6079
6080 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
6081 PyObject *resultobj;
6082 wxCheckListBox *result;
6083 char *kwnames[] = {
6084 NULL
6085 };
6086
6087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6088 {
6089 PyThreadState* __tstate = wxPyBeginAllowThreads();
6090 result = (wxCheckListBox *)new wxCheckListBox();
6091
6092 wxPyEndAllowThreads(__tstate);
6093 if (PyErr_Occurred()) SWIG_fail;
6094 }
6095 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6096 return resultobj;
6097 fail:
6098 return NULL;
6099 }
6100
6101
6102 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6103 PyObject *resultobj;
6104 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6105 wxWindow *arg2 = (wxWindow *) 0 ;
6106 int arg3 ;
6107 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6108 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6109 wxSize const &arg5_defvalue = wxDefaultSize ;
6110 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6111 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6112 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6113 long arg7 = (long) 0 ;
6114 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6115 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6116 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6117 wxString *arg9 = (wxString *) &arg9_defvalue ;
6118 bool result;
6119 wxPoint temp4 ;
6120 wxSize temp5 ;
6121 bool temp6 = False ;
6122 bool temp9 = False ;
6123 PyObject * obj0 = 0 ;
6124 PyObject * obj1 = 0 ;
6125 PyObject * obj2 = 0 ;
6126 PyObject * obj3 = 0 ;
6127 PyObject * obj4 = 0 ;
6128 PyObject * obj5 = 0 ;
6129 PyObject * obj6 = 0 ;
6130 PyObject * obj7 = 0 ;
6131 PyObject * obj8 = 0 ;
6132 char *kwnames[] = {
6133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6134 };
6135
6136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6139 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6141 arg3 = (int) SWIG_AsInt(obj2);
6142 if (PyErr_Occurred()) SWIG_fail;
6143 if (obj3) {
6144 {
6145 arg4 = &temp4;
6146 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6147 }
6148 }
6149 if (obj4) {
6150 {
6151 arg5 = &temp5;
6152 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6153 }
6154 }
6155 if (obj5) {
6156 {
6157 if (! PySequence_Check(obj5)) {
6158 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6159 SWIG_fail;
6160 }
6161 arg6 = new wxArrayString;
6162 temp6 = True;
6163 int i, len=PySequence_Length(obj5);
6164 for (i=0; i<len; i++) {
6165 PyObject* item = PySequence_GetItem(obj5, i);
6166 #if wxUSE_UNICODE
6167 PyObject* str = PyObject_Unicode(item);
6168 #else
6169 PyObject* str = PyObject_Str(item);
6170 #endif
6171 arg6->Add(Py2wxString(str));
6172 Py_DECREF(item);
6173 Py_DECREF(str);
6174 }
6175 }
6176 }
6177 if (obj6) {
6178 arg7 = (long) SWIG_AsLong(obj6);
6179 if (PyErr_Occurred()) SWIG_fail;
6180 }
6181 if (obj7) {
6182 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6183 SWIG_POINTER_EXCEPTION | 0)) == -1)
6184 SWIG_fail;
6185 if (arg8 == NULL) {
6186 PyErr_SetString(PyExc_TypeError,"null reference");
6187 SWIG_fail;
6188 }
6189 }
6190 if (obj8) {
6191 {
6192 arg9 = wxString_in_helper(obj8);
6193 if (arg9 == NULL) SWIG_fail;
6194 temp9 = True;
6195 }
6196 }
6197 {
6198 PyThreadState* __tstate = wxPyBeginAllowThreads();
6199 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6200
6201 wxPyEndAllowThreads(__tstate);
6202 if (PyErr_Occurred()) SWIG_fail;
6203 }
6204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6205 {
6206 if (temp6) delete arg6;
6207 }
6208 {
6209 if (temp9)
6210 delete arg9;
6211 }
6212 return resultobj;
6213 fail:
6214 {
6215 if (temp6) delete arg6;
6216 }
6217 {
6218 if (temp9)
6219 delete arg9;
6220 }
6221 return NULL;
6222 }
6223
6224
6225 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
6226 PyObject *resultobj;
6227 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6228 int arg2 ;
6229 bool result;
6230 PyObject * obj0 = 0 ;
6231 PyObject * obj1 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "self",(char *) "index", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6239 arg2 = (int) SWIG_AsInt(obj1);
6240 if (PyErr_Occurred()) SWIG_fail;
6241 {
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 result = (bool)(arg1)->IsChecked(arg2);
6244
6245 wxPyEndAllowThreads(__tstate);
6246 if (PyErr_Occurred()) SWIG_fail;
6247 }
6248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6249 return resultobj;
6250 fail:
6251 return NULL;
6252 }
6253
6254
6255 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
6256 PyObject *resultobj;
6257 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6258 int arg2 ;
6259 int arg3 = (int) True ;
6260 PyObject * obj0 = 0 ;
6261 PyObject * obj1 = 0 ;
6262 PyObject * obj2 = 0 ;
6263 char *kwnames[] = {
6264 (char *) "self",(char *) "index",(char *) "check", NULL
6265 };
6266
6267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6270 arg2 = (int) SWIG_AsInt(obj1);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 if (obj2) {
6273 arg3 = (int) SWIG_AsInt(obj2);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 }
6276 {
6277 PyThreadState* __tstate = wxPyBeginAllowThreads();
6278 (arg1)->Check(arg2,arg3);
6279
6280 wxPyEndAllowThreads(__tstate);
6281 if (PyErr_Occurred()) SWIG_fail;
6282 }
6283 Py_INCREF(Py_None); resultobj = Py_None;
6284 return resultobj;
6285 fail:
6286 return NULL;
6287 }
6288
6289
6290 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6291 PyObject *resultobj;
6292 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6293 wxPoint *arg2 = 0 ;
6294 int result;
6295 wxPoint temp2 ;
6296 PyObject * obj0 = 0 ;
6297 PyObject * obj1 = 0 ;
6298 char *kwnames[] = {
6299 (char *) "self",(char *) "pt", NULL
6300 };
6301
6302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6305 {
6306 arg2 = &temp2;
6307 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6308 }
6309 {
6310 PyThreadState* __tstate = wxPyBeginAllowThreads();
6311 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6312
6313 wxPyEndAllowThreads(__tstate);
6314 if (PyErr_Occurred()) SWIG_fail;
6315 }
6316 resultobj = SWIG_FromInt((int)result);
6317 return resultobj;
6318 fail:
6319 return NULL;
6320 }
6321
6322
6323 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
6324 PyObject *resultobj;
6325 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6326 int arg2 ;
6327 int arg3 ;
6328 int result;
6329 PyObject * obj0 = 0 ;
6330 PyObject * obj1 = 0 ;
6331 PyObject * obj2 = 0 ;
6332 char *kwnames[] = {
6333 (char *) "self",(char *) "x",(char *) "y", NULL
6334 };
6335
6336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6339 arg2 = (int) SWIG_AsInt(obj1);
6340 if (PyErr_Occurred()) SWIG_fail;
6341 arg3 = (int) SWIG_AsInt(obj2);
6342 if (PyErr_Occurred()) SWIG_fail;
6343 {
6344 PyThreadState* __tstate = wxPyBeginAllowThreads();
6345 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6346
6347 wxPyEndAllowThreads(__tstate);
6348 if (PyErr_Occurred()) SWIG_fail;
6349 }
6350 resultobj = SWIG_FromInt((int)result);
6351 return resultobj;
6352 fail:
6353 return NULL;
6354 }
6355
6356
6357 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
6358 PyObject *obj;
6359 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6360 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6361 Py_INCREF(obj);
6362 return Py_BuildValue((char *)"");
6363 }
6364 static int _wrap_TextCtrlNameStr_set(PyObject *) {
6365 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6366 return 1;
6367 }
6368
6369
6370 static PyObject *_wrap_TextCtrlNameStr_get() {
6371 PyObject *pyobj;
6372
6373 {
6374 #if wxUSE_UNICODE
6375 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6376 #else
6377 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6378 #endif
6379 }
6380 return pyobj;
6381 }
6382
6383
6384 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *, PyObject *args) {
6385 PyObject *resultobj;
6386 wxTextAttr *result;
6387
6388 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6389 {
6390 PyThreadState* __tstate = wxPyBeginAllowThreads();
6391 result = (wxTextAttr *)new wxTextAttr();
6392
6393 wxPyEndAllowThreads(__tstate);
6394 if (PyErr_Occurred()) SWIG_fail;
6395 }
6396 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6397 return resultobj;
6398 fail:
6399 return NULL;
6400 }
6401
6402
6403 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *, PyObject *args) {
6404 PyObject *resultobj;
6405 wxColour *arg1 = 0 ;
6406 wxColour const &arg2_defvalue = wxNullColour ;
6407 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6408 wxFont const &arg3_defvalue = wxNullFont ;
6409 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6410 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6411 wxTextAttr *result;
6412 wxColour temp1 ;
6413 wxColour temp2 ;
6414 PyObject * obj0 = 0 ;
6415 PyObject * obj1 = 0 ;
6416 PyObject * obj2 = 0 ;
6417 PyObject * obj3 = 0 ;
6418
6419 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6420 {
6421 arg1 = &temp1;
6422 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6423 }
6424 if (obj1) {
6425 {
6426 arg2 = &temp2;
6427 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6428 }
6429 }
6430 if (obj2) {
6431 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6432 SWIG_POINTER_EXCEPTION | 0)) == -1)
6433 SWIG_fail;
6434 if (arg3 == NULL) {
6435 PyErr_SetString(PyExc_TypeError,"null reference");
6436 SWIG_fail;
6437 }
6438 }
6439 if (obj3) {
6440 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
6441 if (PyErr_Occurred()) SWIG_fail;
6442 }
6443 {
6444 PyThreadState* __tstate = wxPyBeginAllowThreads();
6445 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6446
6447 wxPyEndAllowThreads(__tstate);
6448 if (PyErr_Occurred()) SWIG_fail;
6449 }
6450 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6451 return resultobj;
6452 fail:
6453 return NULL;
6454 }
6455
6456
6457 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6458 int argc;
6459 PyObject *argv[5];
6460 int ii;
6461
6462 argc = PyObject_Length(args);
6463 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6464 argv[ii] = PyTuple_GetItem(args,ii);
6465 }
6466 if (argc == 0) {
6467 return _wrap_new_TextAttr__SWIG_0(self,args);
6468 }
6469 if ((argc >= 1) && (argc <= 4)) {
6470 int _v;
6471 {
6472 _v = wxColour_typecheck(argv[0]);
6473 }
6474 if (_v) {
6475 if (argc <= 1) {
6476 return _wrap_new_TextAttr__SWIG_1(self,args);
6477 }
6478 {
6479 _v = wxColour_typecheck(argv[1]);
6480 }
6481 if (_v) {
6482 if (argc <= 2) {
6483 return _wrap_new_TextAttr__SWIG_1(self,args);
6484 }
6485 {
6486 void *ptr;
6487 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
6488 _v = 0;
6489 PyErr_Clear();
6490 } else {
6491 _v = 1;
6492 }
6493 }
6494 if (_v) {
6495 if (argc <= 3) {
6496 return _wrap_new_TextAttr__SWIG_1(self,args);
6497 }
6498 _v = SWIG_CheckInt(argv[3]);
6499 if (_v) {
6500 return _wrap_new_TextAttr__SWIG_1(self,args);
6501 }
6502 }
6503 }
6504 }
6505 }
6506
6507 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6508 return NULL;
6509 }
6510
6511
6512 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
6513 PyObject *resultobj;
6514 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6515 PyObject * obj0 = 0 ;
6516 char *kwnames[] = {
6517 (char *) "self", NULL
6518 };
6519
6520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
6521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6523 {
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 delete arg1;
6526
6527 wxPyEndAllowThreads(__tstate);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 }
6530 Py_INCREF(Py_None); resultobj = Py_None;
6531 return resultobj;
6532 fail:
6533 return NULL;
6534 }
6535
6536
6537 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
6538 PyObject *resultobj;
6539 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6540 PyObject * obj0 = 0 ;
6541 char *kwnames[] = {
6542 (char *) "self", NULL
6543 };
6544
6545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
6546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6548 {
6549 PyThreadState* __tstate = wxPyBeginAllowThreads();
6550 (arg1)->Init();
6551
6552 wxPyEndAllowThreads(__tstate);
6553 if (PyErr_Occurred()) SWIG_fail;
6554 }
6555 Py_INCREF(Py_None); resultobj = Py_None;
6556 return resultobj;
6557 fail:
6558 return NULL;
6559 }
6560
6561
6562 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
6563 PyObject *resultobj;
6564 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6565 wxColour *arg2 = 0 ;
6566 wxColour temp2 ;
6567 PyObject * obj0 = 0 ;
6568 PyObject * obj1 = 0 ;
6569 char *kwnames[] = {
6570 (char *) "self",(char *) "colText", NULL
6571 };
6572
6573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
6574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6576 {
6577 arg2 = &temp2;
6578 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6579 }
6580 {
6581 PyThreadState* __tstate = wxPyBeginAllowThreads();
6582 (arg1)->SetTextColour((wxColour const &)*arg2);
6583
6584 wxPyEndAllowThreads(__tstate);
6585 if (PyErr_Occurred()) SWIG_fail;
6586 }
6587 Py_INCREF(Py_None); resultobj = Py_None;
6588 return resultobj;
6589 fail:
6590 return NULL;
6591 }
6592
6593
6594 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6595 PyObject *resultobj;
6596 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6597 wxColour *arg2 = 0 ;
6598 wxColour temp2 ;
6599 PyObject * obj0 = 0 ;
6600 PyObject * obj1 = 0 ;
6601 char *kwnames[] = {
6602 (char *) "self",(char *) "colBack", NULL
6603 };
6604
6605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6608 {
6609 arg2 = &temp2;
6610 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6611 }
6612 {
6613 PyThreadState* __tstate = wxPyBeginAllowThreads();
6614 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6615
6616 wxPyEndAllowThreads(__tstate);
6617 if (PyErr_Occurred()) SWIG_fail;
6618 }
6619 Py_INCREF(Py_None); resultobj = Py_None;
6620 return resultobj;
6621 fail:
6622 return NULL;
6623 }
6624
6625
6626 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
6627 PyObject *resultobj;
6628 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6629 wxFont *arg2 = 0 ;
6630 long arg3 = (long) wxTEXT_ATTR_FONT ;
6631 PyObject * obj0 = 0 ;
6632 PyObject * obj1 = 0 ;
6633 PyObject * obj2 = 0 ;
6634 char *kwnames[] = {
6635 (char *) "self",(char *) "font",(char *) "flags", NULL
6636 };
6637
6638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
6642 SWIG_POINTER_EXCEPTION | 0)) == -1)
6643 SWIG_fail;
6644 if (arg2 == NULL) {
6645 PyErr_SetString(PyExc_TypeError,"null reference");
6646 SWIG_fail;
6647 }
6648 if (obj2) {
6649 arg3 = (long) SWIG_AsLong(obj2);
6650 if (PyErr_Occurred()) SWIG_fail;
6651 }
6652 {
6653 PyThreadState* __tstate = wxPyBeginAllowThreads();
6654 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6655
6656 wxPyEndAllowThreads(__tstate);
6657 if (PyErr_Occurred()) SWIG_fail;
6658 }
6659 Py_INCREF(Py_None); resultobj = Py_None;
6660 return resultobj;
6661 fail:
6662 return NULL;
6663 }
6664
6665
6666 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
6667 PyObject *resultobj;
6668 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6669 int arg2 ;
6670 PyObject * obj0 = 0 ;
6671 PyObject * obj1 = 0 ;
6672 char *kwnames[] = {
6673 (char *) "self",(char *) "alignment", NULL
6674 };
6675
6676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
6677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6679 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
6680 if (PyErr_Occurred()) SWIG_fail;
6681 {
6682 PyThreadState* __tstate = wxPyBeginAllowThreads();
6683 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6684
6685 wxPyEndAllowThreads(__tstate);
6686 if (PyErr_Occurred()) SWIG_fail;
6687 }
6688 Py_INCREF(Py_None); resultobj = Py_None;
6689 return resultobj;
6690 fail:
6691 return NULL;
6692 }
6693
6694
6695 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
6696 PyObject *resultobj;
6697 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6698 wxArrayInt *arg2 = 0 ;
6699 bool temp2 = False ;
6700 PyObject * obj0 = 0 ;
6701 PyObject * obj1 = 0 ;
6702 char *kwnames[] = {
6703 (char *) "self",(char *) "tabs", NULL
6704 };
6705
6706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6709 {
6710 if (! PySequence_Check(obj1)) {
6711 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6712 SWIG_fail;
6713 }
6714 arg2 = new wxArrayInt;
6715 temp2 = True;
6716 int i, len=PySequence_Length(obj1);
6717 for (i=0; i<len; i++) {
6718 PyObject* item = PySequence_GetItem(obj1, i);
6719 PyObject* number = PyNumber_Int(item);
6720 arg2->Add(PyInt_AS_LONG(number));
6721 Py_DECREF(item);
6722 Py_DECREF(number);
6723 }
6724 }
6725 {
6726 PyThreadState* __tstate = wxPyBeginAllowThreads();
6727 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6728
6729 wxPyEndAllowThreads(__tstate);
6730 if (PyErr_Occurred()) SWIG_fail;
6731 }
6732 Py_INCREF(Py_None); resultobj = Py_None;
6733 {
6734 if (temp2) delete arg2;
6735 }
6736 return resultobj;
6737 fail:
6738 {
6739 if (temp2) delete arg2;
6740 }
6741 return NULL;
6742 }
6743
6744
6745 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6746 PyObject *resultobj;
6747 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6748 int arg2 ;
6749 PyObject * obj0 = 0 ;
6750 PyObject * obj1 = 0 ;
6751 char *kwnames[] = {
6752 (char *) "self",(char *) "indent", NULL
6753 };
6754
6755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
6756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6758 arg2 = (int) SWIG_AsInt(obj1);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 {
6761 PyThreadState* __tstate = wxPyBeginAllowThreads();
6762 (arg1)->SetLeftIndent(arg2);
6763
6764 wxPyEndAllowThreads(__tstate);
6765 if (PyErr_Occurred()) SWIG_fail;
6766 }
6767 Py_INCREF(Py_None); resultobj = Py_None;
6768 return resultobj;
6769 fail:
6770 return NULL;
6771 }
6772
6773
6774 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6775 PyObject *resultobj;
6776 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6777 int arg2 ;
6778 PyObject * obj0 = 0 ;
6779 PyObject * obj1 = 0 ;
6780 char *kwnames[] = {
6781 (char *) "self",(char *) "indent", NULL
6782 };
6783
6784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
6785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6787 arg2 = (int) SWIG_AsInt(obj1);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 {
6790 PyThreadState* __tstate = wxPyBeginAllowThreads();
6791 (arg1)->SetRightIndent(arg2);
6792
6793 wxPyEndAllowThreads(__tstate);
6794 if (PyErr_Occurred()) SWIG_fail;
6795 }
6796 Py_INCREF(Py_None); resultobj = Py_None;
6797 return resultobj;
6798 fail:
6799 return NULL;
6800 }
6801
6802
6803 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
6804 PyObject *resultobj;
6805 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6806 long arg2 ;
6807 PyObject * obj0 = 0 ;
6808 PyObject * obj1 = 0 ;
6809 char *kwnames[] = {
6810 (char *) "self",(char *) "flags", NULL
6811 };
6812
6813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
6814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6816 arg2 = (long) SWIG_AsLong(obj1);
6817 if (PyErr_Occurred()) SWIG_fail;
6818 {
6819 PyThreadState* __tstate = wxPyBeginAllowThreads();
6820 (arg1)->SetFlags(arg2);
6821
6822 wxPyEndAllowThreads(__tstate);
6823 if (PyErr_Occurred()) SWIG_fail;
6824 }
6825 Py_INCREF(Py_None); resultobj = Py_None;
6826 return resultobj;
6827 fail:
6828 return NULL;
6829 }
6830
6831
6832 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
6833 PyObject *resultobj;
6834 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6835 bool result;
6836 PyObject * obj0 = 0 ;
6837 char *kwnames[] = {
6838 (char *) "self", NULL
6839 };
6840
6841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6844 {
6845 PyThreadState* __tstate = wxPyBeginAllowThreads();
6846 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6847
6848 wxPyEndAllowThreads(__tstate);
6849 if (PyErr_Occurred()) SWIG_fail;
6850 }
6851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6852 return resultobj;
6853 fail:
6854 return NULL;
6855 }
6856
6857
6858 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6859 PyObject *resultobj;
6860 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6861 bool result;
6862 PyObject * obj0 = 0 ;
6863 char *kwnames[] = {
6864 (char *) "self", NULL
6865 };
6866
6867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
6868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6870 {
6871 PyThreadState* __tstate = wxPyBeginAllowThreads();
6872 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6873
6874 wxPyEndAllowThreads(__tstate);
6875 if (PyErr_Occurred()) SWIG_fail;
6876 }
6877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6878 return resultobj;
6879 fail:
6880 return NULL;
6881 }
6882
6883
6884 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
6885 PyObject *resultobj;
6886 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6887 bool result;
6888 PyObject * obj0 = 0 ;
6889 char *kwnames[] = {
6890 (char *) "self", NULL
6891 };
6892
6893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6896 {
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6899
6900 wxPyEndAllowThreads(__tstate);
6901 if (PyErr_Occurred()) SWIG_fail;
6902 }
6903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6904 return resultobj;
6905 fail:
6906 return NULL;
6907 }
6908
6909
6910 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
6911 PyObject *resultobj;
6912 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6913 bool result;
6914 PyObject * obj0 = 0 ;
6915 char *kwnames[] = {
6916 (char *) "self", NULL
6917 };
6918
6919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6922 {
6923 PyThreadState* __tstate = wxPyBeginAllowThreads();
6924 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
6925
6926 wxPyEndAllowThreads(__tstate);
6927 if (PyErr_Occurred()) SWIG_fail;
6928 }
6929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6930 return resultobj;
6931 fail:
6932 return NULL;
6933 }
6934
6935
6936 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
6937 PyObject *resultobj;
6938 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6939 bool result;
6940 PyObject * obj0 = 0 ;
6941 char *kwnames[] = {
6942 (char *) "self", NULL
6943 };
6944
6945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
6946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6948 {
6949 PyThreadState* __tstate = wxPyBeginAllowThreads();
6950 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
6951
6952 wxPyEndAllowThreads(__tstate);
6953 if (PyErr_Occurred()) SWIG_fail;
6954 }
6955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6956 return resultobj;
6957 fail:
6958 return NULL;
6959 }
6960
6961
6962 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6963 PyObject *resultobj;
6964 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6965 bool result;
6966 PyObject * obj0 = 0 ;
6967 char *kwnames[] = {
6968 (char *) "self", NULL
6969 };
6970
6971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
6972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6974 {
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
6977
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6982 return resultobj;
6983 fail:
6984 return NULL;
6985 }
6986
6987
6988 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6989 PyObject *resultobj;
6990 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6991 bool result;
6992 PyObject * obj0 = 0 ;
6993 char *kwnames[] = {
6994 (char *) "self", NULL
6995 };
6996
6997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
6998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7000 {
7001 PyThreadState* __tstate = wxPyBeginAllowThreads();
7002 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7003
7004 wxPyEndAllowThreads(__tstate);
7005 if (PyErr_Occurred()) SWIG_fail;
7006 }
7007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7008 return resultobj;
7009 fail:
7010 return NULL;
7011 }
7012
7013
7014 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
7015 PyObject *resultobj;
7016 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7017 long arg2 ;
7018 bool result;
7019 PyObject * obj0 = 0 ;
7020 PyObject * obj1 = 0 ;
7021 char *kwnames[] = {
7022 (char *) "self",(char *) "flag", NULL
7023 };
7024
7025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7028 arg2 = (long) SWIG_AsLong(obj1);
7029 if (PyErr_Occurred()) SWIG_fail;
7030 {
7031 PyThreadState* __tstate = wxPyBeginAllowThreads();
7032 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7033
7034 wxPyEndAllowThreads(__tstate);
7035 if (PyErr_Occurred()) SWIG_fail;
7036 }
7037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7038 return resultobj;
7039 fail:
7040 return NULL;
7041 }
7042
7043
7044 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7045 PyObject *resultobj;
7046 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7047 wxColour *result;
7048 PyObject * obj0 = 0 ;
7049 char *kwnames[] = {
7050 (char *) "self", NULL
7051 };
7052
7053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7056 {
7057 PyThreadState* __tstate = wxPyBeginAllowThreads();
7058 {
7059 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7060 result = (wxColour *) &_result_ref;
7061 }
7062
7063 wxPyEndAllowThreads(__tstate);
7064 if (PyErr_Occurred()) SWIG_fail;
7065 }
7066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7067 return resultobj;
7068 fail:
7069 return NULL;
7070 }
7071
7072
7073 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7074 PyObject *resultobj;
7075 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7076 wxColour *result;
7077 PyObject * obj0 = 0 ;
7078 char *kwnames[] = {
7079 (char *) "self", NULL
7080 };
7081
7082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7085 {
7086 PyThreadState* __tstate = wxPyBeginAllowThreads();
7087 {
7088 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7089 result = (wxColour *) &_result_ref;
7090 }
7091
7092 wxPyEndAllowThreads(__tstate);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 }
7095 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7096 return resultobj;
7097 fail:
7098 return NULL;
7099 }
7100
7101
7102 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7103 PyObject *resultobj;
7104 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7105 wxFont *result;
7106 PyObject * obj0 = 0 ;
7107 char *kwnames[] = {
7108 (char *) "self", NULL
7109 };
7110
7111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7114 {
7115 PyThreadState* __tstate = wxPyBeginAllowThreads();
7116 {
7117 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7118 result = (wxFont *) &_result_ref;
7119 }
7120
7121 wxPyEndAllowThreads(__tstate);
7122 if (PyErr_Occurred()) SWIG_fail;
7123 }
7124 {
7125 wxFont* resultptr = new wxFont(*result);
7126 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7127 }
7128 return resultobj;
7129 fail:
7130 return NULL;
7131 }
7132
7133
7134 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7135 PyObject *resultobj;
7136 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7137 int result;
7138 PyObject * obj0 = 0 ;
7139 char *kwnames[] = {
7140 (char *) "self", NULL
7141 };
7142
7143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7146 {
7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
7148 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7149
7150 wxPyEndAllowThreads(__tstate);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 }
7153 resultobj = SWIG_FromInt((int)result);
7154 return resultobj;
7155 fail:
7156 return NULL;
7157 }
7158
7159
7160 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
7161 PyObject *resultobj;
7162 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7163 wxArrayInt *result;
7164 PyObject * obj0 = 0 ;
7165 char *kwnames[] = {
7166 (char *) "self", NULL
7167 };
7168
7169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7172 {
7173 PyThreadState* __tstate = wxPyBeginAllowThreads();
7174 {
7175 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7176 result = (wxArrayInt *) &_result_ref;
7177 }
7178
7179 wxPyEndAllowThreads(__tstate);
7180 if (PyErr_Occurred()) SWIG_fail;
7181 }
7182 {
7183 resultobj = PyList_New(0);
7184 size_t idx;
7185 for (idx = 0; idx < result->GetCount(); idx += 1) {
7186 PyObject* val = PyInt_FromLong( result->Item(idx) );
7187 PyList_Append(resultobj, val);
7188 Py_DECREF(val);
7189 }
7190 }
7191 return resultobj;
7192 fail:
7193 return NULL;
7194 }
7195
7196
7197 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7198 PyObject *resultobj;
7199 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7200 long result;
7201 PyObject * obj0 = 0 ;
7202 char *kwnames[] = {
7203 (char *) "self", NULL
7204 };
7205
7206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7209 {
7210 PyThreadState* __tstate = wxPyBeginAllowThreads();
7211 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7212
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 resultobj = SWIG_FromLong((long)result);
7217 return resultobj;
7218 fail:
7219 return NULL;
7220 }
7221
7222
7223 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7224 PyObject *resultobj;
7225 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7226 long result;
7227 PyObject * obj0 = 0 ;
7228 char *kwnames[] = {
7229 (char *) "self", NULL
7230 };
7231
7232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7235 {
7236 PyThreadState* __tstate = wxPyBeginAllowThreads();
7237 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7238
7239 wxPyEndAllowThreads(__tstate);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 }
7242 resultobj = SWIG_FromLong((long)result);
7243 return resultobj;
7244 fail:
7245 return NULL;
7246 }
7247
7248
7249 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7250 PyObject *resultobj;
7251 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7252 long result;
7253 PyObject * obj0 = 0 ;
7254 char *kwnames[] = {
7255 (char *) "self", NULL
7256 };
7257
7258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7261 {
7262 PyThreadState* __tstate = wxPyBeginAllowThreads();
7263 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7264
7265 wxPyEndAllowThreads(__tstate);
7266 if (PyErr_Occurred()) SWIG_fail;
7267 }
7268 resultobj = SWIG_FromLong((long)result);
7269 return resultobj;
7270 fail:
7271 return NULL;
7272 }
7273
7274
7275 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
7276 PyObject *resultobj;
7277 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7278 bool result;
7279 PyObject * obj0 = 0 ;
7280 char *kwnames[] = {
7281 (char *) "self", NULL
7282 };
7283
7284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7287 {
7288 PyThreadState* __tstate = wxPyBeginAllowThreads();
7289 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7290
7291 wxPyEndAllowThreads(__tstate);
7292 if (PyErr_Occurred()) SWIG_fail;
7293 }
7294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7295 return resultobj;
7296 fail:
7297 return NULL;
7298 }
7299
7300
7301 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
7302 PyObject *resultobj;
7303 wxTextAttr *arg1 = 0 ;
7304 wxTextAttr *arg2 = 0 ;
7305 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7306 wxTextAttr result;
7307 PyObject * obj0 = 0 ;
7308 PyObject * obj1 = 0 ;
7309 PyObject * obj2 = 0 ;
7310 char *kwnames[] = {
7311 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7312 };
7313
7314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7316 SWIG_POINTER_EXCEPTION | 0)) == -1)
7317 SWIG_fail;
7318 if (arg1 == NULL) {
7319 PyErr_SetString(PyExc_TypeError,"null reference");
7320 SWIG_fail;
7321 }
7322 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7323 SWIG_POINTER_EXCEPTION | 0)) == -1)
7324 SWIG_fail;
7325 if (arg2 == NULL) {
7326 PyErr_SetString(PyExc_TypeError,"null reference");
7327 SWIG_fail;
7328 }
7329 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7331 {
7332 PyThreadState* __tstate = wxPyBeginAllowThreads();
7333 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7334
7335 wxPyEndAllowThreads(__tstate);
7336 if (PyErr_Occurred()) SWIG_fail;
7337 }
7338 {
7339 wxTextAttr * resultptr;
7340 resultptr = new wxTextAttr((wxTextAttr &) result);
7341 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
7342 }
7343 return resultobj;
7344 fail:
7345 return NULL;
7346 }
7347
7348
7349 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
7350 PyObject *obj;
7351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7352 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7353 Py_INCREF(obj);
7354 return Py_BuildValue((char *)"");
7355 }
7356 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7357 PyObject *resultobj;
7358 wxWindow *arg1 = (wxWindow *) 0 ;
7359 int arg2 ;
7360 wxString const &arg3_defvalue = wxPyEmptyString ;
7361 wxString *arg3 = (wxString *) &arg3_defvalue ;
7362 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7363 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7364 wxSize const &arg5_defvalue = wxDefaultSize ;
7365 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7366 long arg6 = (long) 0 ;
7367 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7368 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7369 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7370 wxString *arg8 = (wxString *) &arg8_defvalue ;
7371 wxTextCtrl *result;
7372 bool temp3 = False ;
7373 wxPoint temp4 ;
7374 wxSize temp5 ;
7375 bool temp8 = False ;
7376 PyObject * obj0 = 0 ;
7377 PyObject * obj1 = 0 ;
7378 PyObject * obj2 = 0 ;
7379 PyObject * obj3 = 0 ;
7380 PyObject * obj4 = 0 ;
7381 PyObject * obj5 = 0 ;
7382 PyObject * obj6 = 0 ;
7383 PyObject * obj7 = 0 ;
7384 char *kwnames[] = {
7385 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7386 };
7387
7388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7391 arg2 = (int) SWIG_AsInt(obj1);
7392 if (PyErr_Occurred()) SWIG_fail;
7393 if (obj2) {
7394 {
7395 arg3 = wxString_in_helper(obj2);
7396 if (arg3 == NULL) SWIG_fail;
7397 temp3 = True;
7398 }
7399 }
7400 if (obj3) {
7401 {
7402 arg4 = &temp4;
7403 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7404 }
7405 }
7406 if (obj4) {
7407 {
7408 arg5 = &temp5;
7409 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7410 }
7411 }
7412 if (obj5) {
7413 arg6 = (long) SWIG_AsLong(obj5);
7414 if (PyErr_Occurred()) SWIG_fail;
7415 }
7416 if (obj6) {
7417 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
7418 SWIG_POINTER_EXCEPTION | 0)) == -1)
7419 SWIG_fail;
7420 if (arg7 == NULL) {
7421 PyErr_SetString(PyExc_TypeError,"null reference");
7422 SWIG_fail;
7423 }
7424 }
7425 if (obj7) {
7426 {
7427 arg8 = wxString_in_helper(obj7);
7428 if (arg8 == NULL) SWIG_fail;
7429 temp8 = True;
7430 }
7431 }
7432 {
7433 PyThreadState* __tstate = wxPyBeginAllowThreads();
7434 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7435
7436 wxPyEndAllowThreads(__tstate);
7437 if (PyErr_Occurred()) SWIG_fail;
7438 }
7439 {
7440 resultobj = wxPyMake_wxObject(result);
7441 }
7442 {
7443 if (temp3)
7444 delete arg3;
7445 }
7446 {
7447 if (temp8)
7448 delete arg8;
7449 }
7450 return resultobj;
7451 fail:
7452 {
7453 if (temp3)
7454 delete arg3;
7455 }
7456 {
7457 if (temp8)
7458 delete arg8;
7459 }
7460 return NULL;
7461 }
7462
7463
7464 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7465 PyObject *resultobj;
7466 wxTextCtrl *result;
7467 char *kwnames[] = {
7468 NULL
7469 };
7470
7471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7472 {
7473 PyThreadState* __tstate = wxPyBeginAllowThreads();
7474 result = (wxTextCtrl *)new wxTextCtrl();
7475
7476 wxPyEndAllowThreads(__tstate);
7477 if (PyErr_Occurred()) SWIG_fail;
7478 }
7479 {
7480 resultobj = wxPyMake_wxObject(result);
7481 }
7482 return resultobj;
7483 fail:
7484 return NULL;
7485 }
7486
7487
7488 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7489 PyObject *resultobj;
7490 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7491 wxWindow *arg2 = (wxWindow *) 0 ;
7492 int arg3 ;
7493 wxString const &arg4_defvalue = wxPyEmptyString ;
7494 wxString *arg4 = (wxString *) &arg4_defvalue ;
7495 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7496 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7497 wxSize const &arg6_defvalue = wxDefaultSize ;
7498 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7499 long arg7 = (long) 0 ;
7500 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7501 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7502 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7503 wxString *arg9 = (wxString *) &arg9_defvalue ;
7504 bool result;
7505 bool temp4 = False ;
7506 wxPoint temp5 ;
7507 wxSize temp6 ;
7508 bool temp9 = False ;
7509 PyObject * obj0 = 0 ;
7510 PyObject * obj1 = 0 ;
7511 PyObject * obj2 = 0 ;
7512 PyObject * obj3 = 0 ;
7513 PyObject * obj4 = 0 ;
7514 PyObject * obj5 = 0 ;
7515 PyObject * obj6 = 0 ;
7516 PyObject * obj7 = 0 ;
7517 PyObject * obj8 = 0 ;
7518 char *kwnames[] = {
7519 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7520 };
7521
7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7527 arg3 = (int) SWIG_AsInt(obj2);
7528 if (PyErr_Occurred()) SWIG_fail;
7529 if (obj3) {
7530 {
7531 arg4 = wxString_in_helper(obj3);
7532 if (arg4 == NULL) SWIG_fail;
7533 temp4 = True;
7534 }
7535 }
7536 if (obj4) {
7537 {
7538 arg5 = &temp5;
7539 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7540 }
7541 }
7542 if (obj5) {
7543 {
7544 arg6 = &temp6;
7545 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7546 }
7547 }
7548 if (obj6) {
7549 arg7 = (long) SWIG_AsLong(obj6);
7550 if (PyErr_Occurred()) SWIG_fail;
7551 }
7552 if (obj7) {
7553 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
7554 SWIG_POINTER_EXCEPTION | 0)) == -1)
7555 SWIG_fail;
7556 if (arg8 == NULL) {
7557 PyErr_SetString(PyExc_TypeError,"null reference");
7558 SWIG_fail;
7559 }
7560 }
7561 if (obj8) {
7562 {
7563 arg9 = wxString_in_helper(obj8);
7564 if (arg9 == NULL) SWIG_fail;
7565 temp9 = True;
7566 }
7567 }
7568 {
7569 PyThreadState* __tstate = wxPyBeginAllowThreads();
7570 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7571
7572 wxPyEndAllowThreads(__tstate);
7573 if (PyErr_Occurred()) SWIG_fail;
7574 }
7575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7576 {
7577 if (temp4)
7578 delete arg4;
7579 }
7580 {
7581 if (temp9)
7582 delete arg9;
7583 }
7584 return resultobj;
7585 fail:
7586 {
7587 if (temp4)
7588 delete arg4;
7589 }
7590 {
7591 if (temp9)
7592 delete arg9;
7593 }
7594 return NULL;
7595 }
7596
7597
7598 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7599 PyObject *resultobj;
7600 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7601 wxString result;
7602 PyObject * obj0 = 0 ;
7603 char *kwnames[] = {
7604 (char *) "self", NULL
7605 };
7606
7607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
7608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7610 {
7611 PyThreadState* __tstate = wxPyBeginAllowThreads();
7612 result = ((wxTextCtrl const *)arg1)->GetValue();
7613
7614 wxPyEndAllowThreads(__tstate);
7615 if (PyErr_Occurred()) SWIG_fail;
7616 }
7617 {
7618 #if wxUSE_UNICODE
7619 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7620 #else
7621 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7622 #endif
7623 }
7624 return resultobj;
7625 fail:
7626 return NULL;
7627 }
7628
7629
7630 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7631 PyObject *resultobj;
7632 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7633 wxString *arg2 = 0 ;
7634 bool temp2 = False ;
7635 PyObject * obj0 = 0 ;
7636 PyObject * obj1 = 0 ;
7637 char *kwnames[] = {
7638 (char *) "self",(char *) "value", NULL
7639 };
7640
7641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
7642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7644 {
7645 arg2 = wxString_in_helper(obj1);
7646 if (arg2 == NULL) SWIG_fail;
7647 temp2 = True;
7648 }
7649 {
7650 PyThreadState* __tstate = wxPyBeginAllowThreads();
7651 (arg1)->SetValue((wxString const &)*arg2);
7652
7653 wxPyEndAllowThreads(__tstate);
7654 if (PyErr_Occurred()) SWIG_fail;
7655 }
7656 Py_INCREF(Py_None); resultobj = Py_None;
7657 {
7658 if (temp2)
7659 delete arg2;
7660 }
7661 return resultobj;
7662 fail:
7663 {
7664 if (temp2)
7665 delete arg2;
7666 }
7667 return NULL;
7668 }
7669
7670
7671 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7672 PyObject *resultobj;
7673 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7674 long arg2 ;
7675 long arg3 ;
7676 wxString result;
7677 PyObject * obj0 = 0 ;
7678 PyObject * obj1 = 0 ;
7679 PyObject * obj2 = 0 ;
7680 char *kwnames[] = {
7681 (char *) "self",(char *) "from",(char *) "to", NULL
7682 };
7683
7684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7687 arg2 = (long) SWIG_AsLong(obj1);
7688 if (PyErr_Occurred()) SWIG_fail;
7689 arg3 = (long) SWIG_AsLong(obj2);
7690 if (PyErr_Occurred()) SWIG_fail;
7691 {
7692 PyThreadState* __tstate = wxPyBeginAllowThreads();
7693 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7694
7695 wxPyEndAllowThreads(__tstate);
7696 if (PyErr_Occurred()) SWIG_fail;
7697 }
7698 {
7699 #if wxUSE_UNICODE
7700 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7701 #else
7702 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7703 #endif
7704 }
7705 return resultobj;
7706 fail:
7707 return NULL;
7708 }
7709
7710
7711 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
7712 PyObject *resultobj;
7713 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7714 long arg2 ;
7715 int result;
7716 PyObject * obj0 = 0 ;
7717 PyObject * obj1 = 0 ;
7718 char *kwnames[] = {
7719 (char *) "self",(char *) "lineNo", NULL
7720 };
7721
7722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
7723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7725 arg2 = (long) SWIG_AsLong(obj1);
7726 if (PyErr_Occurred()) SWIG_fail;
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7730
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 resultobj = SWIG_FromInt((int)result);
7735 return resultobj;
7736 fail:
7737 return NULL;
7738 }
7739
7740
7741 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
7742 PyObject *resultobj;
7743 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7744 long arg2 ;
7745 wxString result;
7746 PyObject * obj0 = 0 ;
7747 PyObject * obj1 = 0 ;
7748 char *kwnames[] = {
7749 (char *) "self",(char *) "lineNo", NULL
7750 };
7751
7752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
7753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7755 arg2 = (long) SWIG_AsLong(obj1);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 {
7758 PyThreadState* __tstate = wxPyBeginAllowThreads();
7759 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7760
7761 wxPyEndAllowThreads(__tstate);
7762 if (PyErr_Occurred()) SWIG_fail;
7763 }
7764 {
7765 #if wxUSE_UNICODE
7766 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7767 #else
7768 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7769 #endif
7770 }
7771 return resultobj;
7772 fail:
7773 return NULL;
7774 }
7775
7776
7777 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
7778 PyObject *resultobj;
7779 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7780 int result;
7781 PyObject * obj0 = 0 ;
7782 char *kwnames[] = {
7783 (char *) "self", NULL
7784 };
7785
7786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
7787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7789 {
7790 PyThreadState* __tstate = wxPyBeginAllowThreads();
7791 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7792
7793 wxPyEndAllowThreads(__tstate);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 }
7796 resultobj = SWIG_FromInt((int)result);
7797 return resultobj;
7798 fail:
7799 return NULL;
7800 }
7801
7802
7803 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
7804 PyObject *resultobj;
7805 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7806 bool result;
7807 PyObject * obj0 = 0 ;
7808 char *kwnames[] = {
7809 (char *) "self", NULL
7810 };
7811
7812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
7813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7815 {
7816 PyThreadState* __tstate = wxPyBeginAllowThreads();
7817 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7818
7819 wxPyEndAllowThreads(__tstate);
7820 if (PyErr_Occurred()) SWIG_fail;
7821 }
7822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7823 return resultobj;
7824 fail:
7825 return NULL;
7826 }
7827
7828
7829 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
7830 PyObject *resultobj;
7831 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7832 bool result;
7833 PyObject * obj0 = 0 ;
7834 char *kwnames[] = {
7835 (char *) "self", NULL
7836 };
7837
7838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
7839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7841 {
7842 PyThreadState* __tstate = wxPyBeginAllowThreads();
7843 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7844
7845 wxPyEndAllowThreads(__tstate);
7846 if (PyErr_Occurred()) SWIG_fail;
7847 }
7848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7849 return resultobj;
7850 fail:
7851 return NULL;
7852 }
7853
7854
7855 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
7856 PyObject *resultobj;
7857 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7858 bool result;
7859 PyObject * obj0 = 0 ;
7860 char *kwnames[] = {
7861 (char *) "self", NULL
7862 };
7863
7864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
7865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7867 {
7868 PyThreadState* __tstate = wxPyBeginAllowThreads();
7869 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7870
7871 wxPyEndAllowThreads(__tstate);
7872 if (PyErr_Occurred()) SWIG_fail;
7873 }
7874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7875 return resultobj;
7876 fail:
7877 return NULL;
7878 }
7879
7880
7881 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
7882 PyObject *resultobj;
7883 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7884 bool result;
7885 PyObject * obj0 = 0 ;
7886 char *kwnames[] = {
7887 (char *) "self", NULL
7888 };
7889
7890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
7891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7893 {
7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7895 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7896
7897 wxPyEndAllowThreads(__tstate);
7898 if (PyErr_Occurred()) SWIG_fail;
7899 }
7900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7901 return resultobj;
7902 fail:
7903 return NULL;
7904 }
7905
7906
7907 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7908 PyObject *resultobj;
7909 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7910 long *arg2 = (long *) 0 ;
7911 long *arg3 = (long *) 0 ;
7912 long temp2 ;
7913 long temp3 ;
7914 PyObject * obj0 = 0 ;
7915 char *kwnames[] = {
7916 (char *) "self", NULL
7917 };
7918
7919 arg2 = &temp2;
7920 arg3 = &temp3;
7921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
7922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7924 {
7925 PyThreadState* __tstate = wxPyBeginAllowThreads();
7926 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
7927
7928 wxPyEndAllowThreads(__tstate);
7929 if (PyErr_Occurred()) SWIG_fail;
7930 }
7931 Py_INCREF(Py_None); resultobj = Py_None;
7932 {
7933 PyObject *o = PyInt_FromLong((long) (*arg2));
7934 resultobj = t_output_helper(resultobj,o);
7935 }
7936 {
7937 PyObject *o = PyInt_FromLong((long) (*arg3));
7938 resultobj = t_output_helper(resultobj,o);
7939 }
7940 return resultobj;
7941 fail:
7942 return NULL;
7943 }
7944
7945
7946 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7947 PyObject *resultobj;
7948 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7949 wxString result;
7950 PyObject * obj0 = 0 ;
7951 char *kwnames[] = {
7952 (char *) "self", NULL
7953 };
7954
7955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
7956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7958 {
7959 PyThreadState* __tstate = wxPyBeginAllowThreads();
7960 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
7961
7962 wxPyEndAllowThreads(__tstate);
7963 if (PyErr_Occurred()) SWIG_fail;
7964 }
7965 {
7966 #if wxUSE_UNICODE
7967 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7968 #else
7969 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7970 #endif
7971 }
7972 return resultobj;
7973 fail:
7974 return NULL;
7975 }
7976
7977
7978 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
7979 PyObject *resultobj;
7980 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7981 PyObject * obj0 = 0 ;
7982 char *kwnames[] = {
7983 (char *) "self", NULL
7984 };
7985
7986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
7987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7989 {
7990 PyThreadState* __tstate = wxPyBeginAllowThreads();
7991 (arg1)->Clear();
7992
7993 wxPyEndAllowThreads(__tstate);
7994 if (PyErr_Occurred()) SWIG_fail;
7995 }
7996 Py_INCREF(Py_None); resultobj = Py_None;
7997 return resultobj;
7998 fail:
7999 return NULL;
8000 }
8001
8002
8003 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
8004 PyObject *resultobj;
8005 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8006 long arg2 ;
8007 long arg3 ;
8008 wxString *arg4 = 0 ;
8009 bool temp4 = False ;
8010 PyObject * obj0 = 0 ;
8011 PyObject * obj1 = 0 ;
8012 PyObject * obj2 = 0 ;
8013 PyObject * obj3 = 0 ;
8014 char *kwnames[] = {
8015 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8016 };
8017
8018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8021 arg2 = (long) SWIG_AsLong(obj1);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 arg3 = (long) SWIG_AsLong(obj2);
8024 if (PyErr_Occurred()) SWIG_fail;
8025 {
8026 arg4 = wxString_in_helper(obj3);
8027 if (arg4 == NULL) SWIG_fail;
8028 temp4 = True;
8029 }
8030 {
8031 PyThreadState* __tstate = wxPyBeginAllowThreads();
8032 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8033
8034 wxPyEndAllowThreads(__tstate);
8035 if (PyErr_Occurred()) SWIG_fail;
8036 }
8037 Py_INCREF(Py_None); resultobj = Py_None;
8038 {
8039 if (temp4)
8040 delete arg4;
8041 }
8042 return resultobj;
8043 fail:
8044 {
8045 if (temp4)
8046 delete arg4;
8047 }
8048 return NULL;
8049 }
8050
8051
8052 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
8053 PyObject *resultobj;
8054 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8055 long arg2 ;
8056 long arg3 ;
8057 PyObject * obj0 = 0 ;
8058 PyObject * obj1 = 0 ;
8059 PyObject * obj2 = 0 ;
8060 char *kwnames[] = {
8061 (char *) "self",(char *) "from",(char *) "to", NULL
8062 };
8063
8064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8067 arg2 = (long) SWIG_AsLong(obj1);
8068 if (PyErr_Occurred()) SWIG_fail;
8069 arg3 = (long) SWIG_AsLong(obj2);
8070 if (PyErr_Occurred()) SWIG_fail;
8071 {
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 (arg1)->Remove(arg2,arg3);
8074
8075 wxPyEndAllowThreads(__tstate);
8076 if (PyErr_Occurred()) SWIG_fail;
8077 }
8078 Py_INCREF(Py_None); resultobj = Py_None;
8079 return resultobj;
8080 fail:
8081 return NULL;
8082 }
8083
8084
8085 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
8086 PyObject *resultobj;
8087 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8088 wxString *arg2 = 0 ;
8089 bool result;
8090 bool temp2 = False ;
8091 PyObject * obj0 = 0 ;
8092 PyObject * obj1 = 0 ;
8093 char *kwnames[] = {
8094 (char *) "self",(char *) "file", NULL
8095 };
8096
8097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8100 {
8101 arg2 = wxString_in_helper(obj1);
8102 if (arg2 == NULL) SWIG_fail;
8103 temp2 = True;
8104 }
8105 {
8106 PyThreadState* __tstate = wxPyBeginAllowThreads();
8107 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8108
8109 wxPyEndAllowThreads(__tstate);
8110 if (PyErr_Occurred()) SWIG_fail;
8111 }
8112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8113 {
8114 if (temp2)
8115 delete arg2;
8116 }
8117 return resultobj;
8118 fail:
8119 {
8120 if (temp2)
8121 delete arg2;
8122 }
8123 return NULL;
8124 }
8125
8126
8127 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
8128 PyObject *resultobj;
8129 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8130 wxString const &arg2_defvalue = wxPyEmptyString ;
8131 wxString *arg2 = (wxString *) &arg2_defvalue ;
8132 bool result;
8133 bool temp2 = False ;
8134 PyObject * obj0 = 0 ;
8135 PyObject * obj1 = 0 ;
8136 char *kwnames[] = {
8137 (char *) "self",(char *) "file", NULL
8138 };
8139
8140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8143 if (obj1) {
8144 {
8145 arg2 = wxString_in_helper(obj1);
8146 if (arg2 == NULL) SWIG_fail;
8147 temp2 = True;
8148 }
8149 }
8150 {
8151 PyThreadState* __tstate = wxPyBeginAllowThreads();
8152 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8153
8154 wxPyEndAllowThreads(__tstate);
8155 if (PyErr_Occurred()) SWIG_fail;
8156 }
8157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8158 {
8159 if (temp2)
8160 delete arg2;
8161 }
8162 return resultobj;
8163 fail:
8164 {
8165 if (temp2)
8166 delete arg2;
8167 }
8168 return NULL;
8169 }
8170
8171
8172 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
8173 PyObject *resultobj;
8174 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8175 PyObject * obj0 = 0 ;
8176 char *kwnames[] = {
8177 (char *) "self", NULL
8178 };
8179
8180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8183 {
8184 PyThreadState* __tstate = wxPyBeginAllowThreads();
8185 (arg1)->MarkDirty();
8186
8187 wxPyEndAllowThreads(__tstate);
8188 if (PyErr_Occurred()) SWIG_fail;
8189 }
8190 Py_INCREF(Py_None); resultobj = Py_None;
8191 return resultobj;
8192 fail:
8193 return NULL;
8194 }
8195
8196
8197 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
8198 PyObject *resultobj;
8199 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8200 PyObject * obj0 = 0 ;
8201 char *kwnames[] = {
8202 (char *) "self", NULL
8203 };
8204
8205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8208 {
8209 PyThreadState* __tstate = wxPyBeginAllowThreads();
8210 (arg1)->DiscardEdits();
8211
8212 wxPyEndAllowThreads(__tstate);
8213 if (PyErr_Occurred()) SWIG_fail;
8214 }
8215 Py_INCREF(Py_None); resultobj = Py_None;
8216 return resultobj;
8217 fail:
8218 return NULL;
8219 }
8220
8221
8222 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
8223 PyObject *resultobj;
8224 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8225 unsigned long arg2 ;
8226 PyObject * obj0 = 0 ;
8227 PyObject * obj1 = 0 ;
8228 char *kwnames[] = {
8229 (char *) "self",(char *) "len", NULL
8230 };
8231
8232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8235 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8236 if (PyErr_Occurred()) SWIG_fail;
8237 {
8238 PyThreadState* __tstate = wxPyBeginAllowThreads();
8239 (arg1)->SetMaxLength(arg2);
8240
8241 wxPyEndAllowThreads(__tstate);
8242 if (PyErr_Occurred()) SWIG_fail;
8243 }
8244 Py_INCREF(Py_None); resultobj = Py_None;
8245 return resultobj;
8246 fail:
8247 return NULL;
8248 }
8249
8250
8251 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
8252 PyObject *resultobj;
8253 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8254 wxString *arg2 = 0 ;
8255 bool temp2 = False ;
8256 PyObject * obj0 = 0 ;
8257 PyObject * obj1 = 0 ;
8258 char *kwnames[] = {
8259 (char *) "self",(char *) "text", NULL
8260 };
8261
8262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8265 {
8266 arg2 = wxString_in_helper(obj1);
8267 if (arg2 == NULL) SWIG_fail;
8268 temp2 = True;
8269 }
8270 {
8271 PyThreadState* __tstate = wxPyBeginAllowThreads();
8272 (arg1)->WriteText((wxString const &)*arg2);
8273
8274 wxPyEndAllowThreads(__tstate);
8275 if (PyErr_Occurred()) SWIG_fail;
8276 }
8277 Py_INCREF(Py_None); resultobj = Py_None;
8278 {
8279 if (temp2)
8280 delete arg2;
8281 }
8282 return resultobj;
8283 fail:
8284 {
8285 if (temp2)
8286 delete arg2;
8287 }
8288 return NULL;
8289 }
8290
8291
8292 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
8293 PyObject *resultobj;
8294 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8295 wxString *arg2 = 0 ;
8296 bool temp2 = False ;
8297 PyObject * obj0 = 0 ;
8298 PyObject * obj1 = 0 ;
8299 char *kwnames[] = {
8300 (char *) "self",(char *) "text", NULL
8301 };
8302
8303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8306 {
8307 arg2 = wxString_in_helper(obj1);
8308 if (arg2 == NULL) SWIG_fail;
8309 temp2 = True;
8310 }
8311 {
8312 PyThreadState* __tstate = wxPyBeginAllowThreads();
8313 (arg1)->AppendText((wxString const &)*arg2);
8314
8315 wxPyEndAllowThreads(__tstate);
8316 if (PyErr_Occurred()) SWIG_fail;
8317 }
8318 Py_INCREF(Py_None); resultobj = Py_None;
8319 {
8320 if (temp2)
8321 delete arg2;
8322 }
8323 return resultobj;
8324 fail:
8325 {
8326 if (temp2)
8327 delete arg2;
8328 }
8329 return NULL;
8330 }
8331
8332
8333 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
8334 PyObject *resultobj;
8335 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8336 wxKeyEvent *arg2 = 0 ;
8337 bool result;
8338 PyObject * obj0 = 0 ;
8339 PyObject * obj1 = 0 ;
8340 char *kwnames[] = {
8341 (char *) "self",(char *) "event", NULL
8342 };
8343
8344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8347 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8348 SWIG_POINTER_EXCEPTION | 0)) == -1)
8349 SWIG_fail;
8350 if (arg2 == NULL) {
8351 PyErr_SetString(PyExc_TypeError,"null reference");
8352 SWIG_fail;
8353 }
8354 {
8355 PyThreadState* __tstate = wxPyBeginAllowThreads();
8356 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8357
8358 wxPyEndAllowThreads(__tstate);
8359 if (PyErr_Occurred()) SWIG_fail;
8360 }
8361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8362 return resultobj;
8363 fail:
8364 return NULL;
8365 }
8366
8367
8368 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
8369 PyObject *resultobj;
8370 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8371 long arg2 ;
8372 long arg3 ;
8373 wxTextAttr *arg4 = 0 ;
8374 bool result;
8375 PyObject * obj0 = 0 ;
8376 PyObject * obj1 = 0 ;
8377 PyObject * obj2 = 0 ;
8378 PyObject * obj3 = 0 ;
8379 char *kwnames[] = {
8380 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8381 };
8382
8383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8386 arg2 = (long) SWIG_AsLong(obj1);
8387 if (PyErr_Occurred()) SWIG_fail;
8388 arg3 = (long) SWIG_AsLong(obj2);
8389 if (PyErr_Occurred()) SWIG_fail;
8390 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
8391 SWIG_POINTER_EXCEPTION | 0)) == -1)
8392 SWIG_fail;
8393 if (arg4 == NULL) {
8394 PyErr_SetString(PyExc_TypeError,"null reference");
8395 SWIG_fail;
8396 }
8397 {
8398 PyThreadState* __tstate = wxPyBeginAllowThreads();
8399 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8400
8401 wxPyEndAllowThreads(__tstate);
8402 if (PyErr_Occurred()) SWIG_fail;
8403 }
8404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8405 return resultobj;
8406 fail:
8407 return NULL;
8408 }
8409
8410
8411 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
8412 PyObject *resultobj;
8413 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8414 long arg2 ;
8415 wxTextAttr *arg3 = 0 ;
8416 bool result;
8417 PyObject * obj0 = 0 ;
8418 PyObject * obj1 = 0 ;
8419 PyObject * obj2 = 0 ;
8420 char *kwnames[] = {
8421 (char *) "self",(char *) "position",(char *) "style", NULL
8422 };
8423
8424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
8425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8427 arg2 = (long) SWIG_AsLong(obj1);
8428 if (PyErr_Occurred()) SWIG_fail;
8429 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
8430 SWIG_POINTER_EXCEPTION | 0)) == -1)
8431 SWIG_fail;
8432 if (arg3 == NULL) {
8433 PyErr_SetString(PyExc_TypeError,"null reference");
8434 SWIG_fail;
8435 }
8436 {
8437 PyThreadState* __tstate = wxPyBeginAllowThreads();
8438 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8439
8440 wxPyEndAllowThreads(__tstate);
8441 if (PyErr_Occurred()) SWIG_fail;
8442 }
8443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8444 return resultobj;
8445 fail:
8446 return NULL;
8447 }
8448
8449
8450 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
8451 PyObject *resultobj;
8452 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8453 wxTextAttr *arg2 = 0 ;
8454 bool result;
8455 PyObject * obj0 = 0 ;
8456 PyObject * obj1 = 0 ;
8457 char *kwnames[] = {
8458 (char *) "self",(char *) "style", NULL
8459 };
8460
8461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
8462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8464 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
8465 SWIG_POINTER_EXCEPTION | 0)) == -1)
8466 SWIG_fail;
8467 if (arg2 == NULL) {
8468 PyErr_SetString(PyExc_TypeError,"null reference");
8469 SWIG_fail;
8470 }
8471 {
8472 PyThreadState* __tstate = wxPyBeginAllowThreads();
8473 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8474
8475 wxPyEndAllowThreads(__tstate);
8476 if (PyErr_Occurred()) SWIG_fail;
8477 }
8478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8479 return resultobj;
8480 fail:
8481 return NULL;
8482 }
8483
8484
8485 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
8486 PyObject *resultobj;
8487 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8488 wxTextAttr *result;
8489 PyObject * obj0 = 0 ;
8490 char *kwnames[] = {
8491 (char *) "self", NULL
8492 };
8493
8494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
8495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8497 {
8498 PyThreadState* __tstate = wxPyBeginAllowThreads();
8499 {
8500 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8501 result = (wxTextAttr *) &_result_ref;
8502 }
8503
8504 wxPyEndAllowThreads(__tstate);
8505 if (PyErr_Occurred()) SWIG_fail;
8506 }
8507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
8508 return resultobj;
8509 fail:
8510 return NULL;
8511 }
8512
8513
8514 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8515 PyObject *resultobj;
8516 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8517 long arg2 ;
8518 long arg3 ;
8519 long result;
8520 PyObject * obj0 = 0 ;
8521 PyObject * obj1 = 0 ;
8522 PyObject * obj2 = 0 ;
8523 char *kwnames[] = {
8524 (char *) "self",(char *) "x",(char *) "y", NULL
8525 };
8526
8527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8530 arg2 = (long) SWIG_AsLong(obj1);
8531 if (PyErr_Occurred()) SWIG_fail;
8532 arg3 = (long) SWIG_AsLong(obj2);
8533 if (PyErr_Occurred()) SWIG_fail;
8534 {
8535 PyThreadState* __tstate = wxPyBeginAllowThreads();
8536 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8537
8538 wxPyEndAllowThreads(__tstate);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
8541 resultobj = SWIG_FromLong((long)result);
8542 return resultobj;
8543 fail:
8544 return NULL;
8545 }
8546
8547
8548 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
8549 PyObject *resultobj;
8550 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8551 long arg2 ;
8552 long *arg3 = (long *) 0 ;
8553 long *arg4 = (long *) 0 ;
8554 long temp3 ;
8555 long temp4 ;
8556 PyObject * obj0 = 0 ;
8557 PyObject * obj1 = 0 ;
8558 char *kwnames[] = {
8559 (char *) "self",(char *) "pos", NULL
8560 };
8561
8562 arg3 = &temp3;
8563 arg4 = &temp4;
8564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
8565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8567 arg2 = (long) SWIG_AsLong(obj1);
8568 if (PyErr_Occurred()) SWIG_fail;
8569 {
8570 PyThreadState* __tstate = wxPyBeginAllowThreads();
8571 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8572
8573 wxPyEndAllowThreads(__tstate);
8574 if (PyErr_Occurred()) SWIG_fail;
8575 }
8576 Py_INCREF(Py_None); resultobj = Py_None;
8577 {
8578 PyObject *o = PyInt_FromLong((long) (*arg3));
8579 resultobj = t_output_helper(resultobj,o);
8580 }
8581 {
8582 PyObject *o = PyInt_FromLong((long) (*arg4));
8583 resultobj = t_output_helper(resultobj,o);
8584 }
8585 return resultobj;
8586 fail:
8587 return NULL;
8588 }
8589
8590
8591 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8592 PyObject *resultobj;
8593 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8594 long arg2 ;
8595 PyObject * obj0 = 0 ;
8596 PyObject * obj1 = 0 ;
8597 char *kwnames[] = {
8598 (char *) "self",(char *) "pos", NULL
8599 };
8600
8601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
8602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8604 arg2 = (long) SWIG_AsLong(obj1);
8605 if (PyErr_Occurred()) SWIG_fail;
8606 {
8607 PyThreadState* __tstate = wxPyBeginAllowThreads();
8608 (arg1)->ShowPosition(arg2);
8609
8610 wxPyEndAllowThreads(__tstate);
8611 if (PyErr_Occurred()) SWIG_fail;
8612 }
8613 Py_INCREF(Py_None); resultobj = Py_None;
8614 return resultobj;
8615 fail:
8616 return NULL;
8617 }
8618
8619
8620 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8621 PyObject *resultobj;
8622 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8623 wxPoint *arg2 = 0 ;
8624 long *arg3 = (long *) 0 ;
8625 long *arg4 = (long *) 0 ;
8626 int result;
8627 wxPoint temp2 ;
8628 long temp3 ;
8629 long temp4 ;
8630 PyObject * obj0 = 0 ;
8631 PyObject * obj1 = 0 ;
8632 char *kwnames[] = {
8633 (char *) "self",(char *) "pt", NULL
8634 };
8635
8636 arg3 = &temp3;
8637 arg4 = &temp4;
8638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
8639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8641 {
8642 arg2 = &temp2;
8643 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8644 }
8645 {
8646 PyThreadState* __tstate = wxPyBeginAllowThreads();
8647 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
8648
8649 wxPyEndAllowThreads(__tstate);
8650 if (PyErr_Occurred()) SWIG_fail;
8651 }
8652 resultobj = SWIG_FromInt((int)result);
8653 {
8654 PyObject *o = PyInt_FromLong((long) (*arg3));
8655 resultobj = t_output_helper(resultobj,o);
8656 }
8657 {
8658 PyObject *o = PyInt_FromLong((long) (*arg4));
8659 resultobj = t_output_helper(resultobj,o);
8660 }
8661 return resultobj;
8662 fail:
8663 return NULL;
8664 }
8665
8666
8667 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
8668 PyObject *resultobj;
8669 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8670 PyObject * obj0 = 0 ;
8671 char *kwnames[] = {
8672 (char *) "self", NULL
8673 };
8674
8675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
8676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8678 {
8679 PyThreadState* __tstate = wxPyBeginAllowThreads();
8680 (arg1)->Copy();
8681
8682 wxPyEndAllowThreads(__tstate);
8683 if (PyErr_Occurred()) SWIG_fail;
8684 }
8685 Py_INCREF(Py_None); resultobj = Py_None;
8686 return resultobj;
8687 fail:
8688 return NULL;
8689 }
8690
8691
8692 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
8693 PyObject *resultobj;
8694 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8695 PyObject * obj0 = 0 ;
8696 char *kwnames[] = {
8697 (char *) "self", NULL
8698 };
8699
8700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
8701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8703 {
8704 PyThreadState* __tstate = wxPyBeginAllowThreads();
8705 (arg1)->Cut();
8706
8707 wxPyEndAllowThreads(__tstate);
8708 if (PyErr_Occurred()) SWIG_fail;
8709 }
8710 Py_INCREF(Py_None); resultobj = Py_None;
8711 return resultobj;
8712 fail:
8713 return NULL;
8714 }
8715
8716
8717 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
8718 PyObject *resultobj;
8719 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8720 PyObject * obj0 = 0 ;
8721 char *kwnames[] = {
8722 (char *) "self", NULL
8723 };
8724
8725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
8726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8728 {
8729 PyThreadState* __tstate = wxPyBeginAllowThreads();
8730 (arg1)->Paste();
8731
8732 wxPyEndAllowThreads(__tstate);
8733 if (PyErr_Occurred()) SWIG_fail;
8734 }
8735 Py_INCREF(Py_None); resultobj = Py_None;
8736 return resultobj;
8737 fail:
8738 return NULL;
8739 }
8740
8741
8742 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
8743 PyObject *resultobj;
8744 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8745 bool result;
8746 PyObject * obj0 = 0 ;
8747 char *kwnames[] = {
8748 (char *) "self", NULL
8749 };
8750
8751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
8752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8754 {
8755 PyThreadState* __tstate = wxPyBeginAllowThreads();
8756 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8757
8758 wxPyEndAllowThreads(__tstate);
8759 if (PyErr_Occurred()) SWIG_fail;
8760 }
8761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8762 return resultobj;
8763 fail:
8764 return NULL;
8765 }
8766
8767
8768 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
8769 PyObject *resultobj;
8770 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8771 bool result;
8772 PyObject * obj0 = 0 ;
8773 char *kwnames[] = {
8774 (char *) "self", NULL
8775 };
8776
8777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
8778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8780 {
8781 PyThreadState* __tstate = wxPyBeginAllowThreads();
8782 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
8783
8784 wxPyEndAllowThreads(__tstate);
8785 if (PyErr_Occurred()) SWIG_fail;
8786 }
8787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8788 return resultobj;
8789 fail:
8790 return NULL;
8791 }
8792
8793
8794 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
8795 PyObject *resultobj;
8796 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8797 bool result;
8798 PyObject * obj0 = 0 ;
8799 char *kwnames[] = {
8800 (char *) "self", NULL
8801 };
8802
8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
8804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8806 {
8807 PyThreadState* __tstate = wxPyBeginAllowThreads();
8808 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
8809
8810 wxPyEndAllowThreads(__tstate);
8811 if (PyErr_Occurred()) SWIG_fail;
8812 }
8813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8814 return resultobj;
8815 fail:
8816 return NULL;
8817 }
8818
8819
8820 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
8821 PyObject *resultobj;
8822 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8823 PyObject * obj0 = 0 ;
8824 char *kwnames[] = {
8825 (char *) "self", NULL
8826 };
8827
8828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
8829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8831 {
8832 PyThreadState* __tstate = wxPyBeginAllowThreads();
8833 (arg1)->Undo();
8834
8835 wxPyEndAllowThreads(__tstate);
8836 if (PyErr_Occurred()) SWIG_fail;
8837 }
8838 Py_INCREF(Py_None); resultobj = Py_None;
8839 return resultobj;
8840 fail:
8841 return NULL;
8842 }
8843
8844
8845 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
8846 PyObject *resultobj;
8847 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8848 PyObject * obj0 = 0 ;
8849 char *kwnames[] = {
8850 (char *) "self", NULL
8851 };
8852
8853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
8854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8856 {
8857 PyThreadState* __tstate = wxPyBeginAllowThreads();
8858 (arg1)->Redo();
8859
8860 wxPyEndAllowThreads(__tstate);
8861 if (PyErr_Occurred()) SWIG_fail;
8862 }
8863 Py_INCREF(Py_None); resultobj = Py_None;
8864 return resultobj;
8865 fail:
8866 return NULL;
8867 }
8868
8869
8870 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
8871 PyObject *resultobj;
8872 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8873 bool result;
8874 PyObject * obj0 = 0 ;
8875 char *kwnames[] = {
8876 (char *) "self", NULL
8877 };
8878
8879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
8880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8882 {
8883 PyThreadState* __tstate = wxPyBeginAllowThreads();
8884 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
8885
8886 wxPyEndAllowThreads(__tstate);
8887 if (PyErr_Occurred()) SWIG_fail;
8888 }
8889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8890 return resultobj;
8891 fail:
8892 return NULL;
8893 }
8894
8895
8896 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
8897 PyObject *resultobj;
8898 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8899 bool result;
8900 PyObject * obj0 = 0 ;
8901 char *kwnames[] = {
8902 (char *) "self", NULL
8903 };
8904
8905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
8906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8908 {
8909 PyThreadState* __tstate = wxPyBeginAllowThreads();
8910 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
8911
8912 wxPyEndAllowThreads(__tstate);
8913 if (PyErr_Occurred()) SWIG_fail;
8914 }
8915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8916 return resultobj;
8917 fail:
8918 return NULL;
8919 }
8920
8921
8922 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
8923 PyObject *resultobj;
8924 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8925 long arg2 ;
8926 PyObject * obj0 = 0 ;
8927 PyObject * obj1 = 0 ;
8928 char *kwnames[] = {
8929 (char *) "self",(char *) "pos", NULL
8930 };
8931
8932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
8933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8935 arg2 = (long) SWIG_AsLong(obj1);
8936 if (PyErr_Occurred()) SWIG_fail;
8937 {
8938 PyThreadState* __tstate = wxPyBeginAllowThreads();
8939 (arg1)->SetInsertionPoint(arg2);
8940
8941 wxPyEndAllowThreads(__tstate);
8942 if (PyErr_Occurred()) SWIG_fail;
8943 }
8944 Py_INCREF(Py_None); resultobj = Py_None;
8945 return resultobj;
8946 fail:
8947 return NULL;
8948 }
8949
8950
8951 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
8952 PyObject *resultobj;
8953 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8954 PyObject * obj0 = 0 ;
8955 char *kwnames[] = {
8956 (char *) "self", NULL
8957 };
8958
8959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
8960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8962 {
8963 PyThreadState* __tstate = wxPyBeginAllowThreads();
8964 (arg1)->SetInsertionPointEnd();
8965
8966 wxPyEndAllowThreads(__tstate);
8967 if (PyErr_Occurred()) SWIG_fail;
8968 }
8969 Py_INCREF(Py_None); resultobj = Py_None;
8970 return resultobj;
8971 fail:
8972 return NULL;
8973 }
8974
8975
8976 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
8977 PyObject *resultobj;
8978 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8979 long result;
8980 PyObject * obj0 = 0 ;
8981 char *kwnames[] = {
8982 (char *) "self", NULL
8983 };
8984
8985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
8986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8988 {
8989 PyThreadState* __tstate = wxPyBeginAllowThreads();
8990 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
8991
8992 wxPyEndAllowThreads(__tstate);
8993 if (PyErr_Occurred()) SWIG_fail;
8994 }
8995 resultobj = SWIG_FromLong((long)result);
8996 return resultobj;
8997 fail:
8998 return NULL;
8999 }
9000
9001
9002 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9003 PyObject *resultobj;
9004 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9005 long result;
9006 PyObject * obj0 = 0 ;
9007 char *kwnames[] = {
9008 (char *) "self", NULL
9009 };
9010
9011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9014 {
9015 PyThreadState* __tstate = wxPyBeginAllowThreads();
9016 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9017
9018 wxPyEndAllowThreads(__tstate);
9019 if (PyErr_Occurred()) SWIG_fail;
9020 }
9021 resultobj = SWIG_FromLong((long)result);
9022 return resultobj;
9023 fail:
9024 return NULL;
9025 }
9026
9027
9028 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9029 PyObject *resultobj;
9030 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9031 long arg2 ;
9032 long arg3 ;
9033 PyObject * obj0 = 0 ;
9034 PyObject * obj1 = 0 ;
9035 PyObject * obj2 = 0 ;
9036 char *kwnames[] = {
9037 (char *) "self",(char *) "from",(char *) "to", NULL
9038 };
9039
9040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9043 arg2 = (long) SWIG_AsLong(obj1);
9044 if (PyErr_Occurred()) SWIG_fail;
9045 arg3 = (long) SWIG_AsLong(obj2);
9046 if (PyErr_Occurred()) SWIG_fail;
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 (arg1)->SetSelection(arg2,arg3);
9050
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
9054 Py_INCREF(Py_None); resultobj = Py_None;
9055 return resultobj;
9056 fail:
9057 return NULL;
9058 }
9059
9060
9061 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
9062 PyObject *resultobj;
9063 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9064 PyObject * obj0 = 0 ;
9065 char *kwnames[] = {
9066 (char *) "self", NULL
9067 };
9068
9069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9072 {
9073 PyThreadState* __tstate = wxPyBeginAllowThreads();
9074 (arg1)->SelectAll();
9075
9076 wxPyEndAllowThreads(__tstate);
9077 if (PyErr_Occurred()) SWIG_fail;
9078 }
9079 Py_INCREF(Py_None); resultobj = Py_None;
9080 return resultobj;
9081 fail:
9082 return NULL;
9083 }
9084
9085
9086 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
9087 PyObject *resultobj;
9088 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9089 bool arg2 ;
9090 PyObject * obj0 = 0 ;
9091 PyObject * obj1 = 0 ;
9092 char *kwnames[] = {
9093 (char *) "self",(char *) "editable", NULL
9094 };
9095
9096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9099 arg2 = (bool) SWIG_AsBool(obj1);
9100 if (PyErr_Occurred()) SWIG_fail;
9101 {
9102 PyThreadState* __tstate = wxPyBeginAllowThreads();
9103 (arg1)->SetEditable(arg2);
9104
9105 wxPyEndAllowThreads(__tstate);
9106 if (PyErr_Occurred()) SWIG_fail;
9107 }
9108 Py_INCREF(Py_None); resultobj = Py_None;
9109 return resultobj;
9110 fail:
9111 return NULL;
9112 }
9113
9114
9115 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
9116 PyObject *resultobj;
9117 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9118 wxString *arg2 = 0 ;
9119 bool temp2 = False ;
9120 PyObject * obj0 = 0 ;
9121 PyObject * obj1 = 0 ;
9122 char *kwnames[] = {
9123 (char *) "self",(char *) "text", NULL
9124 };
9125
9126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9129 {
9130 arg2 = wxString_in_helper(obj1);
9131 if (arg2 == NULL) SWIG_fail;
9132 temp2 = True;
9133 }
9134 {
9135 PyThreadState* __tstate = wxPyBeginAllowThreads();
9136 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9137
9138 wxPyEndAllowThreads(__tstate);
9139 if (PyErr_Occurred()) SWIG_fail;
9140 }
9141 Py_INCREF(Py_None); resultobj = Py_None;
9142 {
9143 if (temp2)
9144 delete arg2;
9145 }
9146 return resultobj;
9147 fail:
9148 {
9149 if (temp2)
9150 delete arg2;
9151 }
9152 return NULL;
9153 }
9154
9155
9156 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
9157 PyObject *resultobj;
9158 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9159 long arg2 ;
9160 long arg3 ;
9161 wxString result;
9162 PyObject * obj0 = 0 ;
9163 PyObject * obj1 = 0 ;
9164 PyObject * obj2 = 0 ;
9165 char *kwnames[] = {
9166 (char *) "self",(char *) "from",(char *) "to", NULL
9167 };
9168
9169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9172 arg2 = (long) SWIG_AsLong(obj1);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 arg3 = (long) SWIG_AsLong(obj2);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 {
9177 PyThreadState* __tstate = wxPyBeginAllowThreads();
9178 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9179
9180 wxPyEndAllowThreads(__tstate);
9181 if (PyErr_Occurred()) SWIG_fail;
9182 }
9183 {
9184 #if wxUSE_UNICODE
9185 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9186 #else
9187 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9188 #endif
9189 }
9190 return resultobj;
9191 fail:
9192 return NULL;
9193 }
9194
9195
9196 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
9197 PyObject *obj;
9198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9199 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9200 Py_INCREF(obj);
9201 return Py_BuildValue((char *)"");
9202 }
9203 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9204 PyObject *resultobj;
9205 int arg1 ;
9206 wxMouseEvent *arg2 = 0 ;
9207 long arg3 ;
9208 long arg4 ;
9209 wxTextUrlEvent *result;
9210 PyObject * obj0 = 0 ;
9211 PyObject * obj1 = 0 ;
9212 PyObject * obj2 = 0 ;
9213 PyObject * obj3 = 0 ;
9214 char *kwnames[] = {
9215 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9216 };
9217
9218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9219 arg1 = (int) SWIG_AsInt(obj0);
9220 if (PyErr_Occurred()) SWIG_fail;
9221 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9222 SWIG_POINTER_EXCEPTION | 0)) == -1)
9223 SWIG_fail;
9224 if (arg2 == NULL) {
9225 PyErr_SetString(PyExc_TypeError,"null reference");
9226 SWIG_fail;
9227 }
9228 arg3 = (long) SWIG_AsLong(obj2);
9229 if (PyErr_Occurred()) SWIG_fail;
9230 arg4 = (long) SWIG_AsLong(obj3);
9231 if (PyErr_Occurred()) SWIG_fail;
9232 {
9233 PyThreadState* __tstate = wxPyBeginAllowThreads();
9234 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9235
9236 wxPyEndAllowThreads(__tstate);
9237 if (PyErr_Occurred()) SWIG_fail;
9238 }
9239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
9240 return resultobj;
9241 fail:
9242 return NULL;
9243 }
9244
9245
9246 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9247 PyObject *resultobj;
9248 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9249 wxMouseEvent *result;
9250 PyObject * obj0 = 0 ;
9251 char *kwnames[] = {
9252 (char *) "self", NULL
9253 };
9254
9255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9258 {
9259 PyThreadState* __tstate = wxPyBeginAllowThreads();
9260 {
9261 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9262 result = (wxMouseEvent *) &_result_ref;
9263 }
9264
9265 wxPyEndAllowThreads(__tstate);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 }
9268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
9269 return resultobj;
9270 fail:
9271 return NULL;
9272 }
9273
9274
9275 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
9276 PyObject *resultobj;
9277 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9278 long result;
9279 PyObject * obj0 = 0 ;
9280 char *kwnames[] = {
9281 (char *) "self", NULL
9282 };
9283
9284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
9285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9287 {
9288 PyThreadState* __tstate = wxPyBeginAllowThreads();
9289 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9290
9291 wxPyEndAllowThreads(__tstate);
9292 if (PyErr_Occurred()) SWIG_fail;
9293 }
9294 resultobj = SWIG_FromLong((long)result);
9295 return resultobj;
9296 fail:
9297 return NULL;
9298 }
9299
9300
9301 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
9302 PyObject *resultobj;
9303 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9304 long result;
9305 PyObject * obj0 = 0 ;
9306 char *kwnames[] = {
9307 (char *) "self", NULL
9308 };
9309
9310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9313 {
9314 PyThreadState* __tstate = wxPyBeginAllowThreads();
9315 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9316
9317 wxPyEndAllowThreads(__tstate);
9318 if (PyErr_Occurred()) SWIG_fail;
9319 }
9320 resultobj = SWIG_FromLong((long)result);
9321 return resultobj;
9322 fail:
9323 return NULL;
9324 }
9325
9326
9327 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
9328 PyObject *obj;
9329 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9330 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9331 Py_INCREF(obj);
9332 return Py_BuildValue((char *)"");
9333 }
9334 static int _wrap_ScrollBarNameStr_set(PyObject *) {
9335 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9336 return 1;
9337 }
9338
9339
9340 static PyObject *_wrap_ScrollBarNameStr_get() {
9341 PyObject *pyobj;
9342
9343 {
9344 #if wxUSE_UNICODE
9345 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9346 #else
9347 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9348 #endif
9349 }
9350 return pyobj;
9351 }
9352
9353
9354 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
9355 PyObject *resultobj;
9356 wxWindow *arg1 = (wxWindow *) 0 ;
9357 int arg2 = (int) -1 ;
9358 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9359 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9360 wxSize const &arg4_defvalue = wxDefaultSize ;
9361 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9362 long arg5 = (long) wxSB_HORIZONTAL ;
9363 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9364 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9365 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9366 wxString *arg7 = (wxString *) &arg7_defvalue ;
9367 wxScrollBar *result;
9368 wxPoint temp3 ;
9369 wxSize temp4 ;
9370 bool temp7 = False ;
9371 PyObject * obj0 = 0 ;
9372 PyObject * obj1 = 0 ;
9373 PyObject * obj2 = 0 ;
9374 PyObject * obj3 = 0 ;
9375 PyObject * obj4 = 0 ;
9376 PyObject * obj5 = 0 ;
9377 PyObject * obj6 = 0 ;
9378 char *kwnames[] = {
9379 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9380 };
9381
9382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9385 if (obj1) {
9386 arg2 = (int) SWIG_AsInt(obj1);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 }
9389 if (obj2) {
9390 {
9391 arg3 = &temp3;
9392 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9393 }
9394 }
9395 if (obj3) {
9396 {
9397 arg4 = &temp4;
9398 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9399 }
9400 }
9401 if (obj4) {
9402 arg5 = (long) SWIG_AsLong(obj4);
9403 if (PyErr_Occurred()) SWIG_fail;
9404 }
9405 if (obj5) {
9406 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
9407 SWIG_POINTER_EXCEPTION | 0)) == -1)
9408 SWIG_fail;
9409 if (arg6 == NULL) {
9410 PyErr_SetString(PyExc_TypeError,"null reference");
9411 SWIG_fail;
9412 }
9413 }
9414 if (obj6) {
9415 {
9416 arg7 = wxString_in_helper(obj6);
9417 if (arg7 == NULL) SWIG_fail;
9418 temp7 = True;
9419 }
9420 }
9421 {
9422 PyThreadState* __tstate = wxPyBeginAllowThreads();
9423 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9424
9425 wxPyEndAllowThreads(__tstate);
9426 if (PyErr_Occurred()) SWIG_fail;
9427 }
9428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9429 {
9430 if (temp7)
9431 delete arg7;
9432 }
9433 return resultobj;
9434 fail:
9435 {
9436 if (temp7)
9437 delete arg7;
9438 }
9439 return NULL;
9440 }
9441
9442
9443 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
9444 PyObject *resultobj;
9445 wxScrollBar *result;
9446 char *kwnames[] = {
9447 NULL
9448 };
9449
9450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9451 {
9452 PyThreadState* __tstate = wxPyBeginAllowThreads();
9453 result = (wxScrollBar *)new wxScrollBar();
9454
9455 wxPyEndAllowThreads(__tstate);
9456 if (PyErr_Occurred()) SWIG_fail;
9457 }
9458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9459 return resultobj;
9460 fail:
9461 return NULL;
9462 }
9463
9464
9465 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9466 PyObject *resultobj;
9467 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9468 wxWindow *arg2 = (wxWindow *) 0 ;
9469 int arg3 = (int) -1 ;
9470 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9471 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9472 wxSize const &arg5_defvalue = wxDefaultSize ;
9473 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9474 long arg6 = (long) wxSB_HORIZONTAL ;
9475 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9476 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9477 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9478 wxString *arg8 = (wxString *) &arg8_defvalue ;
9479 bool result;
9480 wxPoint temp4 ;
9481 wxSize temp5 ;
9482 bool temp8 = False ;
9483 PyObject * obj0 = 0 ;
9484 PyObject * obj1 = 0 ;
9485 PyObject * obj2 = 0 ;
9486 PyObject * obj3 = 0 ;
9487 PyObject * obj4 = 0 ;
9488 PyObject * obj5 = 0 ;
9489 PyObject * obj6 = 0 ;
9490 PyObject * obj7 = 0 ;
9491 char *kwnames[] = {
9492 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9493 };
9494
9495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9498 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9500 if (obj2) {
9501 arg3 = (int) SWIG_AsInt(obj2);
9502 if (PyErr_Occurred()) SWIG_fail;
9503 }
9504 if (obj3) {
9505 {
9506 arg4 = &temp4;
9507 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9508 }
9509 }
9510 if (obj4) {
9511 {
9512 arg5 = &temp5;
9513 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9514 }
9515 }
9516 if (obj5) {
9517 arg6 = (long) SWIG_AsLong(obj5);
9518 if (PyErr_Occurred()) SWIG_fail;
9519 }
9520 if (obj6) {
9521 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
9522 SWIG_POINTER_EXCEPTION | 0)) == -1)
9523 SWIG_fail;
9524 if (arg7 == NULL) {
9525 PyErr_SetString(PyExc_TypeError,"null reference");
9526 SWIG_fail;
9527 }
9528 }
9529 if (obj7) {
9530 {
9531 arg8 = wxString_in_helper(obj7);
9532 if (arg8 == NULL) SWIG_fail;
9533 temp8 = True;
9534 }
9535 }
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9539
9540 wxPyEndAllowThreads(__tstate);
9541 if (PyErr_Occurred()) SWIG_fail;
9542 }
9543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9544 {
9545 if (temp8)
9546 delete arg8;
9547 }
9548 return resultobj;
9549 fail:
9550 {
9551 if (temp8)
9552 delete arg8;
9553 }
9554 return NULL;
9555 }
9556
9557
9558 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9559 PyObject *resultobj;
9560 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9561 int result;
9562 PyObject * obj0 = 0 ;
9563 char *kwnames[] = {
9564 (char *) "self", NULL
9565 };
9566
9567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
9568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9570 {
9571 PyThreadState* __tstate = wxPyBeginAllowThreads();
9572 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9573
9574 wxPyEndAllowThreads(__tstate);
9575 if (PyErr_Occurred()) SWIG_fail;
9576 }
9577 resultobj = SWIG_FromInt((int)result);
9578 return resultobj;
9579 fail:
9580 return NULL;
9581 }
9582
9583
9584 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
9585 PyObject *resultobj;
9586 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9587 int result;
9588 PyObject * obj0 = 0 ;
9589 char *kwnames[] = {
9590 (char *) "self", NULL
9591 };
9592
9593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
9594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9596 {
9597 PyThreadState* __tstate = wxPyBeginAllowThreads();
9598 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9599
9600 wxPyEndAllowThreads(__tstate);
9601 if (PyErr_Occurred()) SWIG_fail;
9602 }
9603 resultobj = SWIG_FromInt((int)result);
9604 return resultobj;
9605 fail:
9606 return NULL;
9607 }
9608
9609
9610 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
9611 PyObject *resultobj;
9612 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9613 int result;
9614 PyObject * obj0 = 0 ;
9615 char *kwnames[] = {
9616 (char *) "self", NULL
9617 };
9618
9619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
9620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9622 {
9623 PyThreadState* __tstate = wxPyBeginAllowThreads();
9624 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9625
9626 wxPyEndAllowThreads(__tstate);
9627 if (PyErr_Occurred()) SWIG_fail;
9628 }
9629 resultobj = SWIG_FromInt((int)result);
9630 return resultobj;
9631 fail:
9632 return NULL;
9633 }
9634
9635
9636 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
9637 PyObject *resultobj;
9638 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9639 int result;
9640 PyObject * obj0 = 0 ;
9641 char *kwnames[] = {
9642 (char *) "self", NULL
9643 };
9644
9645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
9646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9648 {
9649 PyThreadState* __tstate = wxPyBeginAllowThreads();
9650 result = (int)((wxScrollBar const *)arg1)->GetRange();
9651
9652 wxPyEndAllowThreads(__tstate);
9653 if (PyErr_Occurred()) SWIG_fail;
9654 }
9655 resultobj = SWIG_FromInt((int)result);
9656 return resultobj;
9657 fail:
9658 return NULL;
9659 }
9660
9661
9662 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
9663 PyObject *resultobj;
9664 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9665 bool result;
9666 PyObject * obj0 = 0 ;
9667 char *kwnames[] = {
9668 (char *) "self", NULL
9669 };
9670
9671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
9672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9674 {
9675 PyThreadState* __tstate = wxPyBeginAllowThreads();
9676 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9677
9678 wxPyEndAllowThreads(__tstate);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
9681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9682 return resultobj;
9683 fail:
9684 return NULL;
9685 }
9686
9687
9688 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9689 PyObject *resultobj;
9690 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9691 int arg2 ;
9692 PyObject * obj0 = 0 ;
9693 PyObject * obj1 = 0 ;
9694 char *kwnames[] = {
9695 (char *) "self",(char *) "viewStart", NULL
9696 };
9697
9698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
9699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9701 arg2 = (int) SWIG_AsInt(obj1);
9702 if (PyErr_Occurred()) SWIG_fail;
9703 {
9704 PyThreadState* __tstate = wxPyBeginAllowThreads();
9705 (arg1)->SetThumbPosition(arg2);
9706
9707 wxPyEndAllowThreads(__tstate);
9708 if (PyErr_Occurred()) SWIG_fail;
9709 }
9710 Py_INCREF(Py_None); resultobj = Py_None;
9711 return resultobj;
9712 fail:
9713 return NULL;
9714 }
9715
9716
9717 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
9718 PyObject *resultobj;
9719 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9720 int arg2 ;
9721 int arg3 ;
9722 int arg4 ;
9723 int arg5 ;
9724 bool arg6 = (bool) True ;
9725 PyObject * obj0 = 0 ;
9726 PyObject * obj1 = 0 ;
9727 PyObject * obj2 = 0 ;
9728 PyObject * obj3 = 0 ;
9729 PyObject * obj4 = 0 ;
9730 PyObject * obj5 = 0 ;
9731 char *kwnames[] = {
9732 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9733 };
9734
9735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9738 arg2 = (int) SWIG_AsInt(obj1);
9739 if (PyErr_Occurred()) SWIG_fail;
9740 arg3 = (int) SWIG_AsInt(obj2);
9741 if (PyErr_Occurred()) SWIG_fail;
9742 arg4 = (int) SWIG_AsInt(obj3);
9743 if (PyErr_Occurred()) SWIG_fail;
9744 arg5 = (int) SWIG_AsInt(obj4);
9745 if (PyErr_Occurred()) SWIG_fail;
9746 if (obj5) {
9747 arg6 = (bool) SWIG_AsBool(obj5);
9748 if (PyErr_Occurred()) SWIG_fail;
9749 }
9750 {
9751 PyThreadState* __tstate = wxPyBeginAllowThreads();
9752 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
9753
9754 wxPyEndAllowThreads(__tstate);
9755 if (PyErr_Occurred()) SWIG_fail;
9756 }
9757 Py_INCREF(Py_None); resultobj = Py_None;
9758 return resultobj;
9759 fail:
9760 return NULL;
9761 }
9762
9763
9764 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
9765 PyObject *obj;
9766 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9767 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
9768 Py_INCREF(obj);
9769 return Py_BuildValue((char *)"");
9770 }
9771 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
9772 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
9773 return 1;
9774 }
9775
9776
9777 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
9778 PyObject *pyobj;
9779
9780 {
9781 #if wxUSE_UNICODE
9782 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9783 #else
9784 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9785 #endif
9786 }
9787 return pyobj;
9788 }
9789
9790
9791 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
9792 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
9793 return 1;
9794 }
9795
9796
9797 static PyObject *_wrap_SpinCtrlNameStr_get() {
9798 PyObject *pyobj;
9799
9800 {
9801 #if wxUSE_UNICODE
9802 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9803 #else
9804 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9805 #endif
9806 }
9807 return pyobj;
9808 }
9809
9810
9811 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
9812 PyObject *resultobj;
9813 wxWindow *arg1 = (wxWindow *) 0 ;
9814 int arg2 = (int) -1 ;
9815 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9816 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9817 wxSize const &arg4_defvalue = wxDefaultSize ;
9818 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9819 long arg5 = (long) wxSP_HORIZONTAL ;
9820 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
9821 wxString *arg6 = (wxString *) &arg6_defvalue ;
9822 wxSpinButton *result;
9823 wxPoint temp3 ;
9824 wxSize temp4 ;
9825 bool temp6 = False ;
9826 PyObject * obj0 = 0 ;
9827 PyObject * obj1 = 0 ;
9828 PyObject * obj2 = 0 ;
9829 PyObject * obj3 = 0 ;
9830 PyObject * obj4 = 0 ;
9831 PyObject * obj5 = 0 ;
9832 char *kwnames[] = {
9833 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9834 };
9835
9836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9839 if (obj1) {
9840 arg2 = (int) SWIG_AsInt(obj1);
9841 if (PyErr_Occurred()) SWIG_fail;
9842 }
9843 if (obj2) {
9844 {
9845 arg3 = &temp3;
9846 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9847 }
9848 }
9849 if (obj3) {
9850 {
9851 arg4 = &temp4;
9852 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9853 }
9854 }
9855 if (obj4) {
9856 arg5 = (long) SWIG_AsLong(obj4);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
9859 if (obj5) {
9860 {
9861 arg6 = wxString_in_helper(obj5);
9862 if (arg6 == NULL) SWIG_fail;
9863 temp6 = True;
9864 }
9865 }
9866 {
9867 PyThreadState* __tstate = wxPyBeginAllowThreads();
9868 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9869
9870 wxPyEndAllowThreads(__tstate);
9871 if (PyErr_Occurred()) SWIG_fail;
9872 }
9873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
9874 {
9875 if (temp6)
9876 delete arg6;
9877 }
9878 return resultobj;
9879 fail:
9880 {
9881 if (temp6)
9882 delete arg6;
9883 }
9884 return NULL;
9885 }
9886
9887
9888 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
9889 PyObject *resultobj;
9890 wxSpinButton *result;
9891 char *kwnames[] = {
9892 NULL
9893 };
9894
9895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
9896 {
9897 PyThreadState* __tstate = wxPyBeginAllowThreads();
9898 result = (wxSpinButton *)new wxSpinButton();
9899
9900 wxPyEndAllowThreads(__tstate);
9901 if (PyErr_Occurred()) SWIG_fail;
9902 }
9903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
9904 return resultobj;
9905 fail:
9906 return NULL;
9907 }
9908
9909
9910 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9911 PyObject *resultobj;
9912 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9913 wxWindow *arg2 = (wxWindow *) 0 ;
9914 int arg3 = (int) -1 ;
9915 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9916 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9917 wxSize const &arg5_defvalue = wxDefaultSize ;
9918 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9919 long arg6 = (long) wxSP_HORIZONTAL ;
9920 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
9921 wxString *arg7 = (wxString *) &arg7_defvalue ;
9922 bool result;
9923 wxPoint temp4 ;
9924 wxSize temp5 ;
9925 bool temp7 = False ;
9926 PyObject * obj0 = 0 ;
9927 PyObject * obj1 = 0 ;
9928 PyObject * obj2 = 0 ;
9929 PyObject * obj3 = 0 ;
9930 PyObject * obj4 = 0 ;
9931 PyObject * obj5 = 0 ;
9932 PyObject * obj6 = 0 ;
9933 char *kwnames[] = {
9934 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9935 };
9936
9937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
9939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9940 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9942 if (obj2) {
9943 arg3 = (int) SWIG_AsInt(obj2);
9944 if (PyErr_Occurred()) SWIG_fail;
9945 }
9946 if (obj3) {
9947 {
9948 arg4 = &temp4;
9949 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9950 }
9951 }
9952 if (obj4) {
9953 {
9954 arg5 = &temp5;
9955 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9956 }
9957 }
9958 if (obj5) {
9959 arg6 = (long) SWIG_AsLong(obj5);
9960 if (PyErr_Occurred()) SWIG_fail;
9961 }
9962 if (obj6) {
9963 {
9964 arg7 = wxString_in_helper(obj6);
9965 if (arg7 == NULL) SWIG_fail;
9966 temp7 = True;
9967 }
9968 }
9969 {
9970 PyThreadState* __tstate = wxPyBeginAllowThreads();
9971 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9972
9973 wxPyEndAllowThreads(__tstate);
9974 if (PyErr_Occurred()) SWIG_fail;
9975 }
9976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9977 {
9978 if (temp7)
9979 delete arg7;
9980 }
9981 return resultobj;
9982 fail:
9983 {
9984 if (temp7)
9985 delete arg7;
9986 }
9987 return NULL;
9988 }
9989
9990
9991 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9992 PyObject *resultobj;
9993 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9994 int result;
9995 PyObject * obj0 = 0 ;
9996 char *kwnames[] = {
9997 (char *) "self", NULL
9998 };
9999
10000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10003 {
10004 PyThreadState* __tstate = wxPyBeginAllowThreads();
10005 result = (int)((wxSpinButton const *)arg1)->GetValue();
10006
10007 wxPyEndAllowThreads(__tstate);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 }
10010 resultobj = SWIG_FromInt((int)result);
10011 return resultobj;
10012 fail:
10013 return NULL;
10014 }
10015
10016
10017 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
10018 PyObject *resultobj;
10019 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10020 int result;
10021 PyObject * obj0 = 0 ;
10022 char *kwnames[] = {
10023 (char *) "self", NULL
10024 };
10025
10026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10029 {
10030 PyThreadState* __tstate = wxPyBeginAllowThreads();
10031 result = (int)((wxSpinButton const *)arg1)->GetMin();
10032
10033 wxPyEndAllowThreads(__tstate);
10034 if (PyErr_Occurred()) SWIG_fail;
10035 }
10036 resultobj = SWIG_FromInt((int)result);
10037 return resultobj;
10038 fail:
10039 return NULL;
10040 }
10041
10042
10043 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
10044 PyObject *resultobj;
10045 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10046 int result;
10047 PyObject * obj0 = 0 ;
10048 char *kwnames[] = {
10049 (char *) "self", NULL
10050 };
10051
10052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10055 {
10056 PyThreadState* __tstate = wxPyBeginAllowThreads();
10057 result = (int)((wxSpinButton const *)arg1)->GetMax();
10058
10059 wxPyEndAllowThreads(__tstate);
10060 if (PyErr_Occurred()) SWIG_fail;
10061 }
10062 resultobj = SWIG_FromInt((int)result);
10063 return resultobj;
10064 fail:
10065 return NULL;
10066 }
10067
10068
10069 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10070 PyObject *resultobj;
10071 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10072 int arg2 ;
10073 PyObject * obj0 = 0 ;
10074 PyObject * obj1 = 0 ;
10075 char *kwnames[] = {
10076 (char *) "self",(char *) "val", NULL
10077 };
10078
10079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10082 arg2 = (int) SWIG_AsInt(obj1);
10083 if (PyErr_Occurred()) SWIG_fail;
10084 {
10085 PyThreadState* __tstate = wxPyBeginAllowThreads();
10086 (arg1)->SetValue(arg2);
10087
10088 wxPyEndAllowThreads(__tstate);
10089 if (PyErr_Occurred()) SWIG_fail;
10090 }
10091 Py_INCREF(Py_None); resultobj = Py_None;
10092 return resultobj;
10093 fail:
10094 return NULL;
10095 }
10096
10097
10098 static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
10099 PyObject *resultobj;
10100 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10101 int arg2 ;
10102 PyObject * obj0 = 0 ;
10103 PyObject * obj1 = 0 ;
10104 char *kwnames[] = {
10105 (char *) "self",(char *) "minVal", NULL
10106 };
10107
10108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10111 arg2 = (int) SWIG_AsInt(obj1);
10112 if (PyErr_Occurred()) SWIG_fail;
10113 {
10114 PyThreadState* __tstate = wxPyBeginAllowThreads();
10115 (arg1)->SetMin(arg2);
10116
10117 wxPyEndAllowThreads(__tstate);
10118 if (PyErr_Occurred()) SWIG_fail;
10119 }
10120 Py_INCREF(Py_None); resultobj = Py_None;
10121 return resultobj;
10122 fail:
10123 return NULL;
10124 }
10125
10126
10127 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
10128 PyObject *resultobj;
10129 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10130 int arg2 ;
10131 PyObject * obj0 = 0 ;
10132 PyObject * obj1 = 0 ;
10133 char *kwnames[] = {
10134 (char *) "self",(char *) "maxVal", NULL
10135 };
10136
10137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10140 arg2 = (int) SWIG_AsInt(obj1);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 {
10143 PyThreadState* __tstate = wxPyBeginAllowThreads();
10144 (arg1)->SetMax(arg2);
10145
10146 wxPyEndAllowThreads(__tstate);
10147 if (PyErr_Occurred()) SWIG_fail;
10148 }
10149 Py_INCREF(Py_None); resultobj = Py_None;
10150 return resultobj;
10151 fail:
10152 return NULL;
10153 }
10154
10155
10156 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
10157 PyObject *resultobj;
10158 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10159 int arg2 ;
10160 int arg3 ;
10161 PyObject * obj0 = 0 ;
10162 PyObject * obj1 = 0 ;
10163 PyObject * obj2 = 0 ;
10164 char *kwnames[] = {
10165 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10166 };
10167
10168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10171 arg2 = (int) SWIG_AsInt(obj1);
10172 if (PyErr_Occurred()) SWIG_fail;
10173 arg3 = (int) SWIG_AsInt(obj2);
10174 if (PyErr_Occurred()) SWIG_fail;
10175 {
10176 PyThreadState* __tstate = wxPyBeginAllowThreads();
10177 (arg1)->SetRange(arg2,arg3);
10178
10179 wxPyEndAllowThreads(__tstate);
10180 if (PyErr_Occurred()) SWIG_fail;
10181 }
10182 Py_INCREF(Py_None); resultobj = Py_None;
10183 return resultobj;
10184 fail:
10185 return NULL;
10186 }
10187
10188
10189 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
10190 PyObject *resultobj;
10191 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10192 bool result;
10193 PyObject * obj0 = 0 ;
10194 char *kwnames[] = {
10195 (char *) "self", NULL
10196 };
10197
10198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10201 {
10202 PyThreadState* __tstate = wxPyBeginAllowThreads();
10203 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10204
10205 wxPyEndAllowThreads(__tstate);
10206 if (PyErr_Occurred()) SWIG_fail;
10207 }
10208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10209 return resultobj;
10210 fail:
10211 return NULL;
10212 }
10213
10214
10215 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
10216 PyObject *obj;
10217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10218 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10219 Py_INCREF(obj);
10220 return Py_BuildValue((char *)"");
10221 }
10222 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
10223 PyObject *resultobj;
10224 wxWindow *arg1 = (wxWindow *) 0 ;
10225 int arg2 = (int) -1 ;
10226 wxString const &arg3_defvalue = wxPyEmptyString ;
10227 wxString *arg3 = (wxString *) &arg3_defvalue ;
10228 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10229 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10230 wxSize const &arg5_defvalue = wxDefaultSize ;
10231 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10232 long arg6 = (long) wxSP_ARROW_KEYS ;
10233 int arg7 = (int) 0 ;
10234 int arg8 = (int) 100 ;
10235 int arg9 = (int) 0 ;
10236 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10237 wxString *arg10 = (wxString *) &arg10_defvalue ;
10238 wxSpinCtrl *result;
10239 bool temp3 = False ;
10240 wxPoint temp4 ;
10241 wxSize temp5 ;
10242 bool temp10 = False ;
10243 PyObject * obj0 = 0 ;
10244 PyObject * obj1 = 0 ;
10245 PyObject * obj2 = 0 ;
10246 PyObject * obj3 = 0 ;
10247 PyObject * obj4 = 0 ;
10248 PyObject * obj5 = 0 ;
10249 PyObject * obj6 = 0 ;
10250 PyObject * obj7 = 0 ;
10251 PyObject * obj8 = 0 ;
10252 PyObject * obj9 = 0 ;
10253 char *kwnames[] = {
10254 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10255 };
10256
10257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10260 if (obj1) {
10261 arg2 = (int) SWIG_AsInt(obj1);
10262 if (PyErr_Occurred()) SWIG_fail;
10263 }
10264 if (obj2) {
10265 {
10266 arg3 = wxString_in_helper(obj2);
10267 if (arg3 == NULL) SWIG_fail;
10268 temp3 = True;
10269 }
10270 }
10271 if (obj3) {
10272 {
10273 arg4 = &temp4;
10274 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10275 }
10276 }
10277 if (obj4) {
10278 {
10279 arg5 = &temp5;
10280 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10281 }
10282 }
10283 if (obj5) {
10284 arg6 = (long) SWIG_AsLong(obj5);
10285 if (PyErr_Occurred()) SWIG_fail;
10286 }
10287 if (obj6) {
10288 arg7 = (int) SWIG_AsInt(obj6);
10289 if (PyErr_Occurred()) SWIG_fail;
10290 }
10291 if (obj7) {
10292 arg8 = (int) SWIG_AsInt(obj7);
10293 if (PyErr_Occurred()) SWIG_fail;
10294 }
10295 if (obj8) {
10296 arg9 = (int) SWIG_AsInt(obj8);
10297 if (PyErr_Occurred()) SWIG_fail;
10298 }
10299 if (obj9) {
10300 {
10301 arg10 = wxString_in_helper(obj9);
10302 if (arg10 == NULL) SWIG_fail;
10303 temp10 = True;
10304 }
10305 }
10306 {
10307 PyThreadState* __tstate = wxPyBeginAllowThreads();
10308 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10309
10310 wxPyEndAllowThreads(__tstate);
10311 if (PyErr_Occurred()) SWIG_fail;
10312 }
10313 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10314 {
10315 if (temp3)
10316 delete arg3;
10317 }
10318 {
10319 if (temp10)
10320 delete arg10;
10321 }
10322 return resultobj;
10323 fail:
10324 {
10325 if (temp3)
10326 delete arg3;
10327 }
10328 {
10329 if (temp10)
10330 delete arg10;
10331 }
10332 return NULL;
10333 }
10334
10335
10336 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
10337 PyObject *resultobj;
10338 wxSpinCtrl *result;
10339 char *kwnames[] = {
10340 NULL
10341 };
10342
10343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10344 {
10345 PyThreadState* __tstate = wxPyBeginAllowThreads();
10346 result = (wxSpinCtrl *)new wxSpinCtrl();
10347
10348 wxPyEndAllowThreads(__tstate);
10349 if (PyErr_Occurred()) SWIG_fail;
10350 }
10351 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10352 return resultobj;
10353 fail:
10354 return NULL;
10355 }
10356
10357
10358 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10359 PyObject *resultobj;
10360 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10361 wxWindow *arg2 = (wxWindow *) 0 ;
10362 int arg3 = (int) -1 ;
10363 wxString const &arg4_defvalue = wxPyEmptyString ;
10364 wxString *arg4 = (wxString *) &arg4_defvalue ;
10365 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10366 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10367 wxSize const &arg6_defvalue = wxDefaultSize ;
10368 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10369 long arg7 = (long) wxSP_ARROW_KEYS ;
10370 int arg8 = (int) 0 ;
10371 int arg9 = (int) 100 ;
10372 int arg10 = (int) 0 ;
10373 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10374 wxString *arg11 = (wxString *) &arg11_defvalue ;
10375 bool result;
10376 bool temp4 = False ;
10377 wxPoint temp5 ;
10378 wxSize temp6 ;
10379 bool temp11 = False ;
10380 PyObject * obj0 = 0 ;
10381 PyObject * obj1 = 0 ;
10382 PyObject * obj2 = 0 ;
10383 PyObject * obj3 = 0 ;
10384 PyObject * obj4 = 0 ;
10385 PyObject * obj5 = 0 ;
10386 PyObject * obj6 = 0 ;
10387 PyObject * obj7 = 0 ;
10388 PyObject * obj8 = 0 ;
10389 PyObject * obj9 = 0 ;
10390 PyObject * obj10 = 0 ;
10391 char *kwnames[] = {
10392 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10393 };
10394
10395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10398 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10400 if (obj2) {
10401 arg3 = (int) SWIG_AsInt(obj2);
10402 if (PyErr_Occurred()) SWIG_fail;
10403 }
10404 if (obj3) {
10405 {
10406 arg4 = wxString_in_helper(obj3);
10407 if (arg4 == NULL) SWIG_fail;
10408 temp4 = True;
10409 }
10410 }
10411 if (obj4) {
10412 {
10413 arg5 = &temp5;
10414 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10415 }
10416 }
10417 if (obj5) {
10418 {
10419 arg6 = &temp6;
10420 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10421 }
10422 }
10423 if (obj6) {
10424 arg7 = (long) SWIG_AsLong(obj6);
10425 if (PyErr_Occurred()) SWIG_fail;
10426 }
10427 if (obj7) {
10428 arg8 = (int) SWIG_AsInt(obj7);
10429 if (PyErr_Occurred()) SWIG_fail;
10430 }
10431 if (obj8) {
10432 arg9 = (int) SWIG_AsInt(obj8);
10433 if (PyErr_Occurred()) SWIG_fail;
10434 }
10435 if (obj9) {
10436 arg10 = (int) SWIG_AsInt(obj9);
10437 if (PyErr_Occurred()) SWIG_fail;
10438 }
10439 if (obj10) {
10440 {
10441 arg11 = wxString_in_helper(obj10);
10442 if (arg11 == NULL) SWIG_fail;
10443 temp11 = True;
10444 }
10445 }
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10449
10450 wxPyEndAllowThreads(__tstate);
10451 if (PyErr_Occurred()) SWIG_fail;
10452 }
10453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10454 {
10455 if (temp4)
10456 delete arg4;
10457 }
10458 {
10459 if (temp11)
10460 delete arg11;
10461 }
10462 return resultobj;
10463 fail:
10464 {
10465 if (temp4)
10466 delete arg4;
10467 }
10468 {
10469 if (temp11)
10470 delete arg11;
10471 }
10472 return NULL;
10473 }
10474
10475
10476 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10477 PyObject *resultobj;
10478 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10479 int result;
10480 PyObject * obj0 = 0 ;
10481 char *kwnames[] = {
10482 (char *) "self", NULL
10483 };
10484
10485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
10486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10488 {
10489 PyThreadState* __tstate = wxPyBeginAllowThreads();
10490 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10491
10492 wxPyEndAllowThreads(__tstate);
10493 if (PyErr_Occurred()) SWIG_fail;
10494 }
10495 resultobj = SWIG_FromInt((int)result);
10496 return resultobj;
10497 fail:
10498 return NULL;
10499 }
10500
10501
10502 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10503 PyObject *resultobj;
10504 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10505 int arg2 ;
10506 PyObject * obj0 = 0 ;
10507 PyObject * obj1 = 0 ;
10508 char *kwnames[] = {
10509 (char *) "self",(char *) "value", NULL
10510 };
10511
10512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10515 arg2 = (int) SWIG_AsInt(obj1);
10516 if (PyErr_Occurred()) SWIG_fail;
10517 {
10518 PyThreadState* __tstate = wxPyBeginAllowThreads();
10519 (arg1)->SetValue(arg2);
10520
10521 wxPyEndAllowThreads(__tstate);
10522 if (PyErr_Occurred()) SWIG_fail;
10523 }
10524 Py_INCREF(Py_None); resultobj = Py_None;
10525 return resultobj;
10526 fail:
10527 return NULL;
10528 }
10529
10530
10531 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
10532 PyObject *resultobj;
10533 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10534 wxString *arg2 = 0 ;
10535 bool temp2 = False ;
10536 PyObject * obj0 = 0 ;
10537 PyObject * obj1 = 0 ;
10538 char *kwnames[] = {
10539 (char *) "self",(char *) "text", NULL
10540 };
10541
10542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
10543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10545 {
10546 arg2 = wxString_in_helper(obj1);
10547 if (arg2 == NULL) SWIG_fail;
10548 temp2 = True;
10549 }
10550 {
10551 PyThreadState* __tstate = wxPyBeginAllowThreads();
10552 (arg1)->SetValue((wxString const &)*arg2);
10553
10554 wxPyEndAllowThreads(__tstate);
10555 if (PyErr_Occurred()) SWIG_fail;
10556 }
10557 Py_INCREF(Py_None); resultobj = Py_None;
10558 {
10559 if (temp2)
10560 delete arg2;
10561 }
10562 return resultobj;
10563 fail:
10564 {
10565 if (temp2)
10566 delete arg2;
10567 }
10568 return NULL;
10569 }
10570
10571
10572 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
10573 PyObject *resultobj;
10574 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10575 int arg2 ;
10576 int arg3 ;
10577 PyObject * obj0 = 0 ;
10578 PyObject * obj1 = 0 ;
10579 PyObject * obj2 = 0 ;
10580 char *kwnames[] = {
10581 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10582 };
10583
10584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10587 arg2 = (int) SWIG_AsInt(obj1);
10588 if (PyErr_Occurred()) SWIG_fail;
10589 arg3 = (int) SWIG_AsInt(obj2);
10590 if (PyErr_Occurred()) SWIG_fail;
10591 {
10592 PyThreadState* __tstate = wxPyBeginAllowThreads();
10593 (arg1)->SetRange(arg2,arg3);
10594
10595 wxPyEndAllowThreads(__tstate);
10596 if (PyErr_Occurred()) SWIG_fail;
10597 }
10598 Py_INCREF(Py_None); resultobj = Py_None;
10599 return resultobj;
10600 fail:
10601 return NULL;
10602 }
10603
10604
10605 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
10606 PyObject *resultobj;
10607 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10608 int result;
10609 PyObject * obj0 = 0 ;
10610 char *kwnames[] = {
10611 (char *) "self", NULL
10612 };
10613
10614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
10615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10617 {
10618 PyThreadState* __tstate = wxPyBeginAllowThreads();
10619 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10620
10621 wxPyEndAllowThreads(__tstate);
10622 if (PyErr_Occurred()) SWIG_fail;
10623 }
10624 resultobj = SWIG_FromInt((int)result);
10625 return resultobj;
10626 fail:
10627 return NULL;
10628 }
10629
10630
10631 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
10632 PyObject *resultobj;
10633 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10634 int result;
10635 PyObject * obj0 = 0 ;
10636 char *kwnames[] = {
10637 (char *) "self", NULL
10638 };
10639
10640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
10641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10643 {
10644 PyThreadState* __tstate = wxPyBeginAllowThreads();
10645 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10646
10647 wxPyEndAllowThreads(__tstate);
10648 if (PyErr_Occurred()) SWIG_fail;
10649 }
10650 resultobj = SWIG_FromInt((int)result);
10651 return resultobj;
10652 fail:
10653 return NULL;
10654 }
10655
10656
10657 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10658 PyObject *resultobj;
10659 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10660 long arg2 ;
10661 long arg3 ;
10662 PyObject * obj0 = 0 ;
10663 PyObject * obj1 = 0 ;
10664 PyObject * obj2 = 0 ;
10665 char *kwnames[] = {
10666 (char *) "self",(char *) "from",(char *) "to", NULL
10667 };
10668
10669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
10670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10672 arg2 = (long) SWIG_AsLong(obj1);
10673 if (PyErr_Occurred()) SWIG_fail;
10674 arg3 = (long) SWIG_AsLong(obj2);
10675 if (PyErr_Occurred()) SWIG_fail;
10676 {
10677 PyThreadState* __tstate = wxPyBeginAllowThreads();
10678 (arg1)->SetSelection(arg2,arg3);
10679
10680 wxPyEndAllowThreads(__tstate);
10681 if (PyErr_Occurred()) SWIG_fail;
10682 }
10683 Py_INCREF(Py_None); resultobj = Py_None;
10684 return resultobj;
10685 fail:
10686 return NULL;
10687 }
10688
10689
10690 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
10691 PyObject *obj;
10692 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10693 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10694 Py_INCREF(obj);
10695 return Py_BuildValue((char *)"");
10696 }
10697 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
10698 PyObject *resultobj;
10699 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10700 int arg2 = (int) 0 ;
10701 wxSpinEvent *result;
10702 PyObject * obj0 = 0 ;
10703 PyObject * obj1 = 0 ;
10704 char *kwnames[] = {
10705 (char *) "commandType",(char *) "winid", NULL
10706 };
10707
10708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10709 if (obj0) {
10710 arg1 = (wxEventType) SWIG_AsInt(obj0);
10711 if (PyErr_Occurred()) SWIG_fail;
10712 }
10713 if (obj1) {
10714 arg2 = (int) SWIG_AsInt(obj1);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
10717 {
10718 PyThreadState* __tstate = wxPyBeginAllowThreads();
10719 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10720
10721 wxPyEndAllowThreads(__tstate);
10722 if (PyErr_Occurred()) SWIG_fail;
10723 }
10724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
10725 return resultobj;
10726 fail:
10727 return NULL;
10728 }
10729
10730
10731 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10732 PyObject *resultobj;
10733 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10734 int result;
10735 PyObject * obj0 = 0 ;
10736 char *kwnames[] = {
10737 (char *) "self", NULL
10738 };
10739
10740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
10741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10743 {
10744 PyThreadState* __tstate = wxPyBeginAllowThreads();
10745 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
10746
10747 wxPyEndAllowThreads(__tstate);
10748 if (PyErr_Occurred()) SWIG_fail;
10749 }
10750 resultobj = SWIG_FromInt((int)result);
10751 return resultobj;
10752 fail:
10753 return NULL;
10754 }
10755
10756
10757 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10758 PyObject *resultobj;
10759 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10760 int arg2 ;
10761 PyObject * obj0 = 0 ;
10762 PyObject * obj1 = 0 ;
10763 char *kwnames[] = {
10764 (char *) "self",(char *) "pos", NULL
10765 };
10766
10767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10770 arg2 = (int) SWIG_AsInt(obj1);
10771 if (PyErr_Occurred()) SWIG_fail;
10772 {
10773 PyThreadState* __tstate = wxPyBeginAllowThreads();
10774 (arg1)->SetPosition(arg2);
10775
10776 wxPyEndAllowThreads(__tstate);
10777 if (PyErr_Occurred()) SWIG_fail;
10778 }
10779 Py_INCREF(Py_None); resultobj = Py_None;
10780 return resultobj;
10781 fail:
10782 return NULL;
10783 }
10784
10785
10786 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
10787 PyObject *obj;
10788 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10789 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
10790 Py_INCREF(obj);
10791 return Py_BuildValue((char *)"");
10792 }
10793 static int _wrap_RadioBoxNameStr_set(PyObject *) {
10794 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
10795 return 1;
10796 }
10797
10798
10799 static PyObject *_wrap_RadioBoxNameStr_get() {
10800 PyObject *pyobj;
10801
10802 {
10803 #if wxUSE_UNICODE
10804 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10805 #else
10806 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10807 #endif
10808 }
10809 return pyobj;
10810 }
10811
10812
10813 static int _wrap_RadioButtonNameStr_set(PyObject *) {
10814 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
10815 return 1;
10816 }
10817
10818
10819 static PyObject *_wrap_RadioButtonNameStr_get() {
10820 PyObject *pyobj;
10821
10822 {
10823 #if wxUSE_UNICODE
10824 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10825 #else
10826 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10827 #endif
10828 }
10829 return pyobj;
10830 }
10831
10832
10833 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
10834 PyObject *resultobj;
10835 wxWindow *arg1 = (wxWindow *) 0 ;
10836 int arg2 ;
10837 wxString *arg3 = 0 ;
10838 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10839 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10840 wxSize const &arg5_defvalue = wxDefaultSize ;
10841 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10842 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10843 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10844 int arg7 = (int) 0 ;
10845 long arg8 = (long) wxRA_HORIZONTAL ;
10846 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10847 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10848 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
10849 wxString *arg10 = (wxString *) &arg10_defvalue ;
10850 wxRadioBox *result;
10851 bool temp3 = False ;
10852 wxPoint temp4 ;
10853 wxSize temp5 ;
10854 bool temp6 = False ;
10855 bool temp10 = False ;
10856 PyObject * obj0 = 0 ;
10857 PyObject * obj1 = 0 ;
10858 PyObject * obj2 = 0 ;
10859 PyObject * obj3 = 0 ;
10860 PyObject * obj4 = 0 ;
10861 PyObject * obj5 = 0 ;
10862 PyObject * obj6 = 0 ;
10863 PyObject * obj7 = 0 ;
10864 PyObject * obj8 = 0 ;
10865 PyObject * obj9 = 0 ;
10866 char *kwnames[] = {
10867 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10868 };
10869
10870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10873 arg2 = (int) SWIG_AsInt(obj1);
10874 if (PyErr_Occurred()) SWIG_fail;
10875 {
10876 arg3 = wxString_in_helper(obj2);
10877 if (arg3 == NULL) SWIG_fail;
10878 temp3 = True;
10879 }
10880 if (obj3) {
10881 {
10882 arg4 = &temp4;
10883 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10884 }
10885 }
10886 if (obj4) {
10887 {
10888 arg5 = &temp5;
10889 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10890 }
10891 }
10892 if (obj5) {
10893 {
10894 if (! PySequence_Check(obj5)) {
10895 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10896 SWIG_fail;
10897 }
10898 arg6 = new wxArrayString;
10899 temp6 = True;
10900 int i, len=PySequence_Length(obj5);
10901 for (i=0; i<len; i++) {
10902 PyObject* item = PySequence_GetItem(obj5, i);
10903 #if wxUSE_UNICODE
10904 PyObject* str = PyObject_Unicode(item);
10905 #else
10906 PyObject* str = PyObject_Str(item);
10907 #endif
10908 arg6->Add(Py2wxString(str));
10909 Py_DECREF(item);
10910 Py_DECREF(str);
10911 }
10912 }
10913 }
10914 if (obj6) {
10915 arg7 = (int) SWIG_AsInt(obj6);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
10918 if (obj7) {
10919 arg8 = (long) SWIG_AsLong(obj7);
10920 if (PyErr_Occurred()) SWIG_fail;
10921 }
10922 if (obj8) {
10923 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
10924 SWIG_POINTER_EXCEPTION | 0)) == -1)
10925 SWIG_fail;
10926 if (arg9 == NULL) {
10927 PyErr_SetString(PyExc_TypeError,"null reference");
10928 SWIG_fail;
10929 }
10930 }
10931 if (obj9) {
10932 {
10933 arg10 = wxString_in_helper(obj9);
10934 if (arg10 == NULL) SWIG_fail;
10935 temp10 = True;
10936 }
10937 }
10938 {
10939 PyThreadState* __tstate = wxPyBeginAllowThreads();
10940 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);
10941
10942 wxPyEndAllowThreads(__tstate);
10943 if (PyErr_Occurred()) SWIG_fail;
10944 }
10945 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
10946 {
10947 if (temp3)
10948 delete arg3;
10949 }
10950 {
10951 if (temp6) delete arg6;
10952 }
10953 {
10954 if (temp10)
10955 delete arg10;
10956 }
10957 return resultobj;
10958 fail:
10959 {
10960 if (temp3)
10961 delete arg3;
10962 }
10963 {
10964 if (temp6) delete arg6;
10965 }
10966 {
10967 if (temp10)
10968 delete arg10;
10969 }
10970 return NULL;
10971 }
10972
10973
10974 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
10975 PyObject *resultobj;
10976 wxRadioBox *result;
10977 char *kwnames[] = {
10978 NULL
10979 };
10980
10981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
10982 {
10983 PyThreadState* __tstate = wxPyBeginAllowThreads();
10984 result = (wxRadioBox *)new wxRadioBox();
10985
10986 wxPyEndAllowThreads(__tstate);
10987 if (PyErr_Occurred()) SWIG_fail;
10988 }
10989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
10990 return resultobj;
10991 fail:
10992 return NULL;
10993 }
10994
10995
10996 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10997 PyObject *resultobj;
10998 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10999 wxWindow *arg2 = (wxWindow *) 0 ;
11000 int arg3 ;
11001 wxString *arg4 = 0 ;
11002 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11003 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11004 wxSize const &arg6_defvalue = wxDefaultSize ;
11005 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11006 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11007 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11008 int arg8 = (int) 0 ;
11009 long arg9 = (long) wxRA_HORIZONTAL ;
11010 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11011 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11012 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11013 wxString *arg11 = (wxString *) &arg11_defvalue ;
11014 bool result;
11015 bool temp4 = False ;
11016 wxPoint temp5 ;
11017 wxSize temp6 ;
11018 bool temp7 = False ;
11019 bool temp11 = False ;
11020 PyObject * obj0 = 0 ;
11021 PyObject * obj1 = 0 ;
11022 PyObject * obj2 = 0 ;
11023 PyObject * obj3 = 0 ;
11024 PyObject * obj4 = 0 ;
11025 PyObject * obj5 = 0 ;
11026 PyObject * obj6 = 0 ;
11027 PyObject * obj7 = 0 ;
11028 PyObject * obj8 = 0 ;
11029 PyObject * obj9 = 0 ;
11030 PyObject * obj10 = 0 ;
11031 char *kwnames[] = {
11032 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11033 };
11034
11035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11038 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11040 arg3 = (int) SWIG_AsInt(obj2);
11041 if (PyErr_Occurred()) SWIG_fail;
11042 {
11043 arg4 = wxString_in_helper(obj3);
11044 if (arg4 == NULL) SWIG_fail;
11045 temp4 = True;
11046 }
11047 if (obj4) {
11048 {
11049 arg5 = &temp5;
11050 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11051 }
11052 }
11053 if (obj5) {
11054 {
11055 arg6 = &temp6;
11056 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11057 }
11058 }
11059 if (obj6) {
11060 {
11061 if (! PySequence_Check(obj6)) {
11062 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11063 SWIG_fail;
11064 }
11065 arg7 = new wxArrayString;
11066 temp7 = True;
11067 int i, len=PySequence_Length(obj6);
11068 for (i=0; i<len; i++) {
11069 PyObject* item = PySequence_GetItem(obj6, i);
11070 #if wxUSE_UNICODE
11071 PyObject* str = PyObject_Unicode(item);
11072 #else
11073 PyObject* str = PyObject_Str(item);
11074 #endif
11075 arg7->Add(Py2wxString(str));
11076 Py_DECREF(item);
11077 Py_DECREF(str);
11078 }
11079 }
11080 }
11081 if (obj7) {
11082 arg8 = (int) SWIG_AsInt(obj7);
11083 if (PyErr_Occurred()) SWIG_fail;
11084 }
11085 if (obj8) {
11086 arg9 = (long) SWIG_AsLong(obj8);
11087 if (PyErr_Occurred()) SWIG_fail;
11088 }
11089 if (obj9) {
11090 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11091 SWIG_POINTER_EXCEPTION | 0)) == -1)
11092 SWIG_fail;
11093 if (arg10 == NULL) {
11094 PyErr_SetString(PyExc_TypeError,"null reference");
11095 SWIG_fail;
11096 }
11097 }
11098 if (obj10) {
11099 {
11100 arg11 = wxString_in_helper(obj10);
11101 if (arg11 == NULL) SWIG_fail;
11102 temp11 = True;
11103 }
11104 }
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 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);
11108
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11113 {
11114 if (temp4)
11115 delete arg4;
11116 }
11117 {
11118 if (temp7) delete arg7;
11119 }
11120 {
11121 if (temp11)
11122 delete arg11;
11123 }
11124 return resultobj;
11125 fail:
11126 {
11127 if (temp4)
11128 delete arg4;
11129 }
11130 {
11131 if (temp7) delete arg7;
11132 }
11133 {
11134 if (temp11)
11135 delete arg11;
11136 }
11137 return NULL;
11138 }
11139
11140
11141 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11142 PyObject *resultobj;
11143 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11144 int arg2 ;
11145 PyObject * obj0 = 0 ;
11146 PyObject * obj1 = 0 ;
11147 char *kwnames[] = {
11148 (char *) "self",(char *) "n", NULL
11149 };
11150
11151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11154 arg2 = (int) SWIG_AsInt(obj1);
11155 if (PyErr_Occurred()) SWIG_fail;
11156 {
11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
11158 (arg1)->SetSelection(arg2);
11159
11160 wxPyEndAllowThreads(__tstate);
11161 if (PyErr_Occurred()) SWIG_fail;
11162 }
11163 Py_INCREF(Py_None); resultobj = Py_None;
11164 return resultobj;
11165 fail:
11166 return NULL;
11167 }
11168
11169
11170 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11171 PyObject *resultobj;
11172 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11173 int result;
11174 PyObject * obj0 = 0 ;
11175 char *kwnames[] = {
11176 (char *) "self", NULL
11177 };
11178
11179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
11180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11182 {
11183 PyThreadState* __tstate = wxPyBeginAllowThreads();
11184 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11185
11186 wxPyEndAllowThreads(__tstate);
11187 if (PyErr_Occurred()) SWIG_fail;
11188 }
11189 resultobj = SWIG_FromInt((int)result);
11190 return resultobj;
11191 fail:
11192 return NULL;
11193 }
11194
11195
11196 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11197 PyObject *resultobj;
11198 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11199 wxString result;
11200 PyObject * obj0 = 0 ;
11201 char *kwnames[] = {
11202 (char *) "self", NULL
11203 };
11204
11205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
11206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11208 {
11209 PyThreadState* __tstate = wxPyBeginAllowThreads();
11210 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11211
11212 wxPyEndAllowThreads(__tstate);
11213 if (PyErr_Occurred()) SWIG_fail;
11214 }
11215 {
11216 #if wxUSE_UNICODE
11217 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11218 #else
11219 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11220 #endif
11221 }
11222 return resultobj;
11223 fail:
11224 return NULL;
11225 }
11226
11227
11228 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11229 PyObject *resultobj;
11230 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11231 wxString *arg2 = 0 ;
11232 bool result;
11233 bool temp2 = False ;
11234 PyObject * obj0 = 0 ;
11235 PyObject * obj1 = 0 ;
11236 char *kwnames[] = {
11237 (char *) "self",(char *) "s", NULL
11238 };
11239
11240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
11241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11243 {
11244 arg2 = wxString_in_helper(obj1);
11245 if (arg2 == NULL) SWIG_fail;
11246 temp2 = True;
11247 }
11248 {
11249 PyThreadState* __tstate = wxPyBeginAllowThreads();
11250 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11251
11252 wxPyEndAllowThreads(__tstate);
11253 if (PyErr_Occurred()) SWIG_fail;
11254 }
11255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11256 {
11257 if (temp2)
11258 delete arg2;
11259 }
11260 return resultobj;
11261 fail:
11262 {
11263 if (temp2)
11264 delete arg2;
11265 }
11266 return NULL;
11267 }
11268
11269
11270 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
11271 PyObject *resultobj;
11272 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11273 int result;
11274 PyObject * obj0 = 0 ;
11275 char *kwnames[] = {
11276 (char *) "self", NULL
11277 };
11278
11279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
11280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11282 {
11283 PyThreadState* __tstate = wxPyBeginAllowThreads();
11284 result = (int)((wxRadioBox const *)arg1)->GetCount();
11285
11286 wxPyEndAllowThreads(__tstate);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 }
11289 resultobj = SWIG_FromInt((int)result);
11290 return resultobj;
11291 fail:
11292 return NULL;
11293 }
11294
11295
11296 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
11297 PyObject *resultobj;
11298 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11299 wxString *arg2 = 0 ;
11300 int result;
11301 bool temp2 = False ;
11302 PyObject * obj0 = 0 ;
11303 PyObject * obj1 = 0 ;
11304 char *kwnames[] = {
11305 (char *) "self",(char *) "s", NULL
11306 };
11307
11308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
11309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11311 {
11312 arg2 = wxString_in_helper(obj1);
11313 if (arg2 == NULL) SWIG_fail;
11314 temp2 = True;
11315 }
11316 {
11317 PyThreadState* __tstate = wxPyBeginAllowThreads();
11318 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11319
11320 wxPyEndAllowThreads(__tstate);
11321 if (PyErr_Occurred()) SWIG_fail;
11322 }
11323 resultobj = SWIG_FromInt((int)result);
11324 {
11325 if (temp2)
11326 delete arg2;
11327 }
11328 return resultobj;
11329 fail:
11330 {
11331 if (temp2)
11332 delete arg2;
11333 }
11334 return NULL;
11335 }
11336
11337
11338 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
11339 PyObject *resultobj;
11340 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11341 int arg2 ;
11342 wxString result;
11343 PyObject * obj0 = 0 ;
11344 PyObject * obj1 = 0 ;
11345 char *kwnames[] = {
11346 (char *) "self",(char *) "n", NULL
11347 };
11348
11349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
11350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11352 arg2 = (int) SWIG_AsInt(obj1);
11353 if (PyErr_Occurred()) SWIG_fail;
11354 {
11355 PyThreadState* __tstate = wxPyBeginAllowThreads();
11356 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11357
11358 wxPyEndAllowThreads(__tstate);
11359 if (PyErr_Occurred()) SWIG_fail;
11360 }
11361 {
11362 #if wxUSE_UNICODE
11363 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11364 #else
11365 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11366 #endif
11367 }
11368 return resultobj;
11369 fail:
11370 return NULL;
11371 }
11372
11373
11374 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
11375 PyObject *resultobj;
11376 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11377 int arg2 ;
11378 wxString *arg3 = 0 ;
11379 bool temp3 = False ;
11380 PyObject * obj0 = 0 ;
11381 PyObject * obj1 = 0 ;
11382 PyObject * obj2 = 0 ;
11383 char *kwnames[] = {
11384 (char *) "self",(char *) "n",(char *) "label", NULL
11385 };
11386
11387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11390 arg2 = (int) SWIG_AsInt(obj1);
11391 if (PyErr_Occurred()) SWIG_fail;
11392 {
11393 arg3 = wxString_in_helper(obj2);
11394 if (arg3 == NULL) SWIG_fail;
11395 temp3 = True;
11396 }
11397 {
11398 PyThreadState* __tstate = wxPyBeginAllowThreads();
11399 (arg1)->SetString(arg2,(wxString const &)*arg3);
11400
11401 wxPyEndAllowThreads(__tstate);
11402 if (PyErr_Occurred()) SWIG_fail;
11403 }
11404 Py_INCREF(Py_None); resultobj = Py_None;
11405 {
11406 if (temp3)
11407 delete arg3;
11408 }
11409 return resultobj;
11410 fail:
11411 {
11412 if (temp3)
11413 delete arg3;
11414 }
11415 return NULL;
11416 }
11417
11418
11419 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
11420 PyObject *resultobj;
11421 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11422 int arg2 ;
11423 bool arg3 = (bool) True ;
11424 PyObject * obj0 = 0 ;
11425 PyObject * obj1 = 0 ;
11426 PyObject * obj2 = 0 ;
11427 char *kwnames[] = {
11428 (char *) "self",(char *) "n",(char *) "enable", NULL
11429 };
11430
11431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11434 arg2 = (int) SWIG_AsInt(obj1);
11435 if (PyErr_Occurred()) SWIG_fail;
11436 if (obj2) {
11437 arg3 = (bool) SWIG_AsBool(obj2);
11438 if (PyErr_Occurred()) SWIG_fail;
11439 }
11440 {
11441 PyThreadState* __tstate = wxPyBeginAllowThreads();
11442 (arg1)->Enable(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_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
11455 PyObject *resultobj;
11456 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11457 int arg2 ;
11458 bool arg3 = (bool) True ;
11459 PyObject * obj0 = 0 ;
11460 PyObject * obj1 = 0 ;
11461 PyObject * obj2 = 0 ;
11462 char *kwnames[] = {
11463 (char *) "self",(char *) "n",(char *) "show", NULL
11464 };
11465
11466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11469 arg2 = (int) SWIG_AsInt(obj1);
11470 if (PyErr_Occurred()) SWIG_fail;
11471 if (obj2) {
11472 arg3 = (bool) SWIG_AsBool(obj2);
11473 if (PyErr_Occurred()) SWIG_fail;
11474 }
11475 {
11476 PyThreadState* __tstate = wxPyBeginAllowThreads();
11477 (arg1)->Show(arg2,arg3);
11478
11479 wxPyEndAllowThreads(__tstate);
11480 if (PyErr_Occurred()) SWIG_fail;
11481 }
11482 Py_INCREF(Py_None); resultobj = Py_None;
11483 return resultobj;
11484 fail:
11485 return NULL;
11486 }
11487
11488
11489 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
11490 PyObject *resultobj;
11491 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11492 int result;
11493 PyObject * obj0 = 0 ;
11494 char *kwnames[] = {
11495 (char *) "self", NULL
11496 };
11497
11498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
11499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11501 {
11502 PyThreadState* __tstate = wxPyBeginAllowThreads();
11503 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
11504
11505 wxPyEndAllowThreads(__tstate);
11506 if (PyErr_Occurred()) SWIG_fail;
11507 }
11508 resultobj = SWIG_FromInt((int)result);
11509 return resultobj;
11510 fail:
11511 return NULL;
11512 }
11513
11514
11515 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
11516 PyObject *resultobj;
11517 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11518 int result;
11519 PyObject * obj0 = 0 ;
11520 char *kwnames[] = {
11521 (char *) "self", NULL
11522 };
11523
11524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
11525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11527 {
11528 PyThreadState* __tstate = wxPyBeginAllowThreads();
11529 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
11530
11531 wxPyEndAllowThreads(__tstate);
11532 if (PyErr_Occurred()) SWIG_fail;
11533 }
11534 resultobj = SWIG_FromInt((int)result);
11535 return resultobj;
11536 fail:
11537 return NULL;
11538 }
11539
11540
11541 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
11542 PyObject *resultobj;
11543 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11544 int arg2 ;
11545 int arg3 ;
11546 long arg4 ;
11547 int result;
11548 PyObject * obj0 = 0 ;
11549 PyObject * obj1 = 0 ;
11550 PyObject * obj2 = 0 ;
11551 PyObject * obj3 = 0 ;
11552 char *kwnames[] = {
11553 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11554 };
11555
11556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11559 arg2 = (int) SWIG_AsInt(obj1);
11560 if (PyErr_Occurred()) SWIG_fail;
11561 arg3 = (wxDirection) SWIG_AsInt(obj2);
11562 if (PyErr_Occurred()) SWIG_fail;
11563 arg4 = (long) SWIG_AsLong(obj3);
11564 if (PyErr_Occurred()) SWIG_fail;
11565 {
11566 PyThreadState* __tstate = wxPyBeginAllowThreads();
11567 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
11568
11569 wxPyEndAllowThreads(__tstate);
11570 if (PyErr_Occurred()) SWIG_fail;
11571 }
11572 resultobj = SWIG_FromInt((int)result);
11573 return resultobj;
11574 fail:
11575 return NULL;
11576 }
11577
11578
11579 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
11580 PyObject *obj;
11581 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11582 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11583 Py_INCREF(obj);
11584 return Py_BuildValue((char *)"");
11585 }
11586 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
11587 PyObject *resultobj;
11588 wxWindow *arg1 = (wxWindow *) 0 ;
11589 int arg2 ;
11590 wxString *arg3 = 0 ;
11591 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11592 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11593 wxSize const &arg5_defvalue = wxDefaultSize ;
11594 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11595 long arg6 = (long) 0 ;
11596 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11597 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11598 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11599 wxString *arg8 = (wxString *) &arg8_defvalue ;
11600 wxRadioButton *result;
11601 bool temp3 = False ;
11602 wxPoint temp4 ;
11603 wxSize temp5 ;
11604 bool temp8 = False ;
11605 PyObject * obj0 = 0 ;
11606 PyObject * obj1 = 0 ;
11607 PyObject * obj2 = 0 ;
11608 PyObject * obj3 = 0 ;
11609 PyObject * obj4 = 0 ;
11610 PyObject * obj5 = 0 ;
11611 PyObject * obj6 = 0 ;
11612 PyObject * obj7 = 0 ;
11613 char *kwnames[] = {
11614 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11615 };
11616
11617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11620 arg2 = (int) SWIG_AsInt(obj1);
11621 if (PyErr_Occurred()) SWIG_fail;
11622 {
11623 arg3 = wxString_in_helper(obj2);
11624 if (arg3 == NULL) SWIG_fail;
11625 temp3 = True;
11626 }
11627 if (obj3) {
11628 {
11629 arg4 = &temp4;
11630 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11631 }
11632 }
11633 if (obj4) {
11634 {
11635 arg5 = &temp5;
11636 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11637 }
11638 }
11639 if (obj5) {
11640 arg6 = (long) SWIG_AsLong(obj5);
11641 if (PyErr_Occurred()) SWIG_fail;
11642 }
11643 if (obj6) {
11644 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
11645 SWIG_POINTER_EXCEPTION | 0)) == -1)
11646 SWIG_fail;
11647 if (arg7 == NULL) {
11648 PyErr_SetString(PyExc_TypeError,"null reference");
11649 SWIG_fail;
11650 }
11651 }
11652 if (obj7) {
11653 {
11654 arg8 = wxString_in_helper(obj7);
11655 if (arg8 == NULL) SWIG_fail;
11656 temp8 = True;
11657 }
11658 }
11659 {
11660 PyThreadState* __tstate = wxPyBeginAllowThreads();
11661 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11662
11663 wxPyEndAllowThreads(__tstate);
11664 if (PyErr_Occurred()) SWIG_fail;
11665 }
11666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11667 {
11668 if (temp3)
11669 delete arg3;
11670 }
11671 {
11672 if (temp8)
11673 delete arg8;
11674 }
11675 return resultobj;
11676 fail:
11677 {
11678 if (temp3)
11679 delete arg3;
11680 }
11681 {
11682 if (temp8)
11683 delete arg8;
11684 }
11685 return NULL;
11686 }
11687
11688
11689 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
11690 PyObject *resultobj;
11691 wxRadioButton *result;
11692 char *kwnames[] = {
11693 NULL
11694 };
11695
11696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11697 {
11698 PyThreadState* __tstate = wxPyBeginAllowThreads();
11699 result = (wxRadioButton *)new wxRadioButton();
11700
11701 wxPyEndAllowThreads(__tstate);
11702 if (PyErr_Occurred()) SWIG_fail;
11703 }
11704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11705 return resultobj;
11706 fail:
11707 return NULL;
11708 }
11709
11710
11711 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11712 PyObject *resultobj;
11713 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11714 wxWindow *arg2 = (wxWindow *) 0 ;
11715 int arg3 ;
11716 wxString *arg4 = 0 ;
11717 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11718 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11719 wxSize const &arg6_defvalue = wxDefaultSize ;
11720 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11721 long arg7 = (long) 0 ;
11722 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11723 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11724 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11725 wxString *arg9 = (wxString *) &arg9_defvalue ;
11726 bool result;
11727 bool temp4 = False ;
11728 wxPoint temp5 ;
11729 wxSize temp6 ;
11730 bool temp9 = False ;
11731 PyObject * obj0 = 0 ;
11732 PyObject * obj1 = 0 ;
11733 PyObject * obj2 = 0 ;
11734 PyObject * obj3 = 0 ;
11735 PyObject * obj4 = 0 ;
11736 PyObject * obj5 = 0 ;
11737 PyObject * obj6 = 0 ;
11738 PyObject * obj7 = 0 ;
11739 PyObject * obj8 = 0 ;
11740 char *kwnames[] = {
11741 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11742 };
11743
11744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
11745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11747 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11749 arg3 = (int) SWIG_AsInt(obj2);
11750 if (PyErr_Occurred()) SWIG_fail;
11751 {
11752 arg4 = wxString_in_helper(obj3);
11753 if (arg4 == NULL) SWIG_fail;
11754 temp4 = True;
11755 }
11756 if (obj4) {
11757 {
11758 arg5 = &temp5;
11759 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11760 }
11761 }
11762 if (obj5) {
11763 {
11764 arg6 = &temp6;
11765 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11766 }
11767 }
11768 if (obj6) {
11769 arg7 = (long) SWIG_AsLong(obj6);
11770 if (PyErr_Occurred()) SWIG_fail;
11771 }
11772 if (obj7) {
11773 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
11774 SWIG_POINTER_EXCEPTION | 0)) == -1)
11775 SWIG_fail;
11776 if (arg8 == NULL) {
11777 PyErr_SetString(PyExc_TypeError,"null reference");
11778 SWIG_fail;
11779 }
11780 }
11781 if (obj8) {
11782 {
11783 arg9 = wxString_in_helper(obj8);
11784 if (arg9 == NULL) SWIG_fail;
11785 temp9 = True;
11786 }
11787 }
11788 {
11789 PyThreadState* __tstate = wxPyBeginAllowThreads();
11790 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11791
11792 wxPyEndAllowThreads(__tstate);
11793 if (PyErr_Occurred()) SWIG_fail;
11794 }
11795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11796 {
11797 if (temp4)
11798 delete arg4;
11799 }
11800 {
11801 if (temp9)
11802 delete arg9;
11803 }
11804 return resultobj;
11805 fail:
11806 {
11807 if (temp4)
11808 delete arg4;
11809 }
11810 {
11811 if (temp9)
11812 delete arg9;
11813 }
11814 return NULL;
11815 }
11816
11817
11818 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
11819 PyObject *resultobj;
11820 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11821 bool result;
11822 PyObject * obj0 = 0 ;
11823 char *kwnames[] = {
11824 (char *) "self", NULL
11825 };
11826
11827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
11828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11830 {
11831 PyThreadState* __tstate = wxPyBeginAllowThreads();
11832 result = (bool)(arg1)->GetValue();
11833
11834 wxPyEndAllowThreads(__tstate);
11835 if (PyErr_Occurred()) SWIG_fail;
11836 }
11837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11838 return resultobj;
11839 fail:
11840 return NULL;
11841 }
11842
11843
11844 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
11845 PyObject *resultobj;
11846 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11847 bool arg2 ;
11848 PyObject * obj0 = 0 ;
11849 PyObject * obj1 = 0 ;
11850 char *kwnames[] = {
11851 (char *) "self",(char *) "value", NULL
11852 };
11853
11854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11857 arg2 = (bool) SWIG_AsBool(obj1);
11858 if (PyErr_Occurred()) SWIG_fail;
11859 {
11860 PyThreadState* __tstate = wxPyBeginAllowThreads();
11861 (arg1)->SetValue(arg2);
11862
11863 wxPyEndAllowThreads(__tstate);
11864 if (PyErr_Occurred()) SWIG_fail;
11865 }
11866 Py_INCREF(Py_None); resultobj = Py_None;
11867 return resultobj;
11868 fail:
11869 return NULL;
11870 }
11871
11872
11873 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
11874 PyObject *obj;
11875 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11876 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
11877 Py_INCREF(obj);
11878 return Py_BuildValue((char *)"");
11879 }
11880 static int _wrap_SliderNameStr_set(PyObject *) {
11881 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
11882 return 1;
11883 }
11884
11885
11886 static PyObject *_wrap_SliderNameStr_get() {
11887 PyObject *pyobj;
11888
11889 {
11890 #if wxUSE_UNICODE
11891 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11892 #else
11893 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11894 #endif
11895 }
11896 return pyobj;
11897 }
11898
11899
11900 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
11901 PyObject *resultobj;
11902 wxWindow *arg1 = (wxWindow *) 0 ;
11903 int arg2 ;
11904 int arg3 ;
11905 int arg4 ;
11906 int arg5 ;
11907 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11908 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11909 wxSize const &arg7_defvalue = wxDefaultSize ;
11910 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
11911 long arg8 = (long) wxSL_HORIZONTAL ;
11912 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11913 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11914 wxString const &arg10_defvalue = wxPySliderNameStr ;
11915 wxString *arg10 = (wxString *) &arg10_defvalue ;
11916 wxSlider *result;
11917 wxPoint temp6 ;
11918 wxSize temp7 ;
11919 bool temp10 = False ;
11920 PyObject * obj0 = 0 ;
11921 PyObject * obj1 = 0 ;
11922 PyObject * obj2 = 0 ;
11923 PyObject * obj3 = 0 ;
11924 PyObject * obj4 = 0 ;
11925 PyObject * obj5 = 0 ;
11926 PyObject * obj6 = 0 ;
11927 PyObject * obj7 = 0 ;
11928 PyObject * obj8 = 0 ;
11929 PyObject * obj9 = 0 ;
11930 char *kwnames[] = {
11931 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11932 };
11933
11934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11937 arg2 = (int) SWIG_AsInt(obj1);
11938 if (PyErr_Occurred()) SWIG_fail;
11939 arg3 = (int) SWIG_AsInt(obj2);
11940 if (PyErr_Occurred()) SWIG_fail;
11941 arg4 = (int) SWIG_AsInt(obj3);
11942 if (PyErr_Occurred()) SWIG_fail;
11943 arg5 = (int) SWIG_AsInt(obj4);
11944 if (PyErr_Occurred()) SWIG_fail;
11945 if (obj5) {
11946 {
11947 arg6 = &temp6;
11948 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11949 }
11950 }
11951 if (obj6) {
11952 {
11953 arg7 = &temp7;
11954 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
11955 }
11956 }
11957 if (obj7) {
11958 arg8 = (long) SWIG_AsLong(obj7);
11959 if (PyErr_Occurred()) SWIG_fail;
11960 }
11961 if (obj8) {
11962 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11963 SWIG_POINTER_EXCEPTION | 0)) == -1)
11964 SWIG_fail;
11965 if (arg9 == NULL) {
11966 PyErr_SetString(PyExc_TypeError,"null reference");
11967 SWIG_fail;
11968 }
11969 }
11970 if (obj9) {
11971 {
11972 arg10 = wxString_in_helper(obj9);
11973 if (arg10 == NULL) SWIG_fail;
11974 temp10 = True;
11975 }
11976 }
11977 {
11978 PyThreadState* __tstate = wxPyBeginAllowThreads();
11979 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
11980
11981 wxPyEndAllowThreads(__tstate);
11982 if (PyErr_Occurred()) SWIG_fail;
11983 }
11984 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
11985 {
11986 if (temp10)
11987 delete arg10;
11988 }
11989 return resultobj;
11990 fail:
11991 {
11992 if (temp10)
11993 delete arg10;
11994 }
11995 return NULL;
11996 }
11997
11998
11999 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
12000 PyObject *resultobj;
12001 wxSlider *result;
12002 char *kwnames[] = {
12003 NULL
12004 };
12005
12006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12007 {
12008 PyThreadState* __tstate = wxPyBeginAllowThreads();
12009 result = (wxSlider *)new wxSlider();
12010
12011 wxPyEndAllowThreads(__tstate);
12012 if (PyErr_Occurred()) SWIG_fail;
12013 }
12014 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12015 return resultobj;
12016 fail:
12017 return NULL;
12018 }
12019
12020
12021 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12022 PyObject *resultobj;
12023 wxSlider *arg1 = (wxSlider *) 0 ;
12024 wxWindow *arg2 = (wxWindow *) 0 ;
12025 int arg3 ;
12026 int arg4 ;
12027 int arg5 ;
12028 int arg6 ;
12029 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12030 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12031 wxSize const &arg8_defvalue = wxDefaultSize ;
12032 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
12033 long arg9 = (long) wxSL_HORIZONTAL ;
12034 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12035 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12036 wxString const &arg11_defvalue = wxPySliderNameStr ;
12037 wxString *arg11 = (wxString *) &arg11_defvalue ;
12038 bool result;
12039 wxPoint temp7 ;
12040 wxSize temp8 ;
12041 bool temp11 = False ;
12042 PyObject * obj0 = 0 ;
12043 PyObject * obj1 = 0 ;
12044 PyObject * obj2 = 0 ;
12045 PyObject * obj3 = 0 ;
12046 PyObject * obj4 = 0 ;
12047 PyObject * obj5 = 0 ;
12048 PyObject * obj6 = 0 ;
12049 PyObject * obj7 = 0 ;
12050 PyObject * obj8 = 0 ;
12051 PyObject * obj9 = 0 ;
12052 PyObject * obj10 = 0 ;
12053 char *kwnames[] = {
12054 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12055 };
12056
12057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12060 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12062 arg3 = (int) SWIG_AsInt(obj2);
12063 if (PyErr_Occurred()) SWIG_fail;
12064 arg4 = (int) SWIG_AsInt(obj3);
12065 if (PyErr_Occurred()) SWIG_fail;
12066 arg5 = (int) SWIG_AsInt(obj4);
12067 if (PyErr_Occurred()) SWIG_fail;
12068 arg6 = (int) SWIG_AsInt(obj5);
12069 if (PyErr_Occurred()) SWIG_fail;
12070 if (obj6) {
12071 {
12072 arg7 = &temp7;
12073 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12074 }
12075 }
12076 if (obj7) {
12077 {
12078 arg8 = &temp8;
12079 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12080 }
12081 }
12082 if (obj8) {
12083 arg9 = (long) SWIG_AsLong(obj8);
12084 if (PyErr_Occurred()) SWIG_fail;
12085 }
12086 if (obj9) {
12087 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12088 SWIG_POINTER_EXCEPTION | 0)) == -1)
12089 SWIG_fail;
12090 if (arg10 == NULL) {
12091 PyErr_SetString(PyExc_TypeError,"null reference");
12092 SWIG_fail;
12093 }
12094 }
12095 if (obj10) {
12096 {
12097 arg11 = wxString_in_helper(obj10);
12098 if (arg11 == NULL) SWIG_fail;
12099 temp11 = True;
12100 }
12101 }
12102 {
12103 PyThreadState* __tstate = wxPyBeginAllowThreads();
12104 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12105
12106 wxPyEndAllowThreads(__tstate);
12107 if (PyErr_Occurred()) SWIG_fail;
12108 }
12109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12110 {
12111 if (temp11)
12112 delete arg11;
12113 }
12114 return resultobj;
12115 fail:
12116 {
12117 if (temp11)
12118 delete arg11;
12119 }
12120 return NULL;
12121 }
12122
12123
12124 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12125 PyObject *resultobj;
12126 wxSlider *arg1 = (wxSlider *) 0 ;
12127 int result;
12128 PyObject * obj0 = 0 ;
12129 char *kwnames[] = {
12130 (char *) "self", NULL
12131 };
12132
12133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
12134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12136 {
12137 PyThreadState* __tstate = wxPyBeginAllowThreads();
12138 result = (int)((wxSlider const *)arg1)->GetValue();
12139
12140 wxPyEndAllowThreads(__tstate);
12141 if (PyErr_Occurred()) SWIG_fail;
12142 }
12143 resultobj = SWIG_FromInt((int)result);
12144 return resultobj;
12145 fail:
12146 return NULL;
12147 }
12148
12149
12150 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12151 PyObject *resultobj;
12152 wxSlider *arg1 = (wxSlider *) 0 ;
12153 int arg2 ;
12154 PyObject * obj0 = 0 ;
12155 PyObject * obj1 = 0 ;
12156 char *kwnames[] = {
12157 (char *) "self",(char *) "value", NULL
12158 };
12159
12160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
12161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12163 arg2 = (int) SWIG_AsInt(obj1);
12164 if (PyErr_Occurred()) SWIG_fail;
12165 {
12166 PyThreadState* __tstate = wxPyBeginAllowThreads();
12167 (arg1)->SetValue(arg2);
12168
12169 wxPyEndAllowThreads(__tstate);
12170 if (PyErr_Occurred()) SWIG_fail;
12171 }
12172 Py_INCREF(Py_None); resultobj = Py_None;
12173 return resultobj;
12174 fail:
12175 return NULL;
12176 }
12177
12178
12179 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12180 PyObject *resultobj;
12181 wxSlider *arg1 = (wxSlider *) 0 ;
12182 int arg2 ;
12183 int arg3 ;
12184 PyObject * obj0 = 0 ;
12185 PyObject * obj1 = 0 ;
12186 PyObject * obj2 = 0 ;
12187 char *kwnames[] = {
12188 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12189 };
12190
12191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12194 arg2 = (int) SWIG_AsInt(obj1);
12195 if (PyErr_Occurred()) SWIG_fail;
12196 arg3 = (int) SWIG_AsInt(obj2);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 {
12199 PyThreadState* __tstate = wxPyBeginAllowThreads();
12200 (arg1)->SetRange(arg2,arg3);
12201
12202 wxPyEndAllowThreads(__tstate);
12203 if (PyErr_Occurred()) SWIG_fail;
12204 }
12205 Py_INCREF(Py_None); resultobj = Py_None;
12206 return resultobj;
12207 fail:
12208 return NULL;
12209 }
12210
12211
12212 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12213 PyObject *resultobj;
12214 wxSlider *arg1 = (wxSlider *) 0 ;
12215 int result;
12216 PyObject * obj0 = 0 ;
12217 char *kwnames[] = {
12218 (char *) "self", NULL
12219 };
12220
12221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
12222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12224 {
12225 PyThreadState* __tstate = wxPyBeginAllowThreads();
12226 result = (int)((wxSlider const *)arg1)->GetMin();
12227
12228 wxPyEndAllowThreads(__tstate);
12229 if (PyErr_Occurred()) SWIG_fail;
12230 }
12231 resultobj = SWIG_FromInt((int)result);
12232 return resultobj;
12233 fail:
12234 return NULL;
12235 }
12236
12237
12238 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12239 PyObject *resultobj;
12240 wxSlider *arg1 = (wxSlider *) 0 ;
12241 int result;
12242 PyObject * obj0 = 0 ;
12243 char *kwnames[] = {
12244 (char *) "self", NULL
12245 };
12246
12247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
12248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12250 {
12251 PyThreadState* __tstate = wxPyBeginAllowThreads();
12252 result = (int)((wxSlider const *)arg1)->GetMax();
12253
12254 wxPyEndAllowThreads(__tstate);
12255 if (PyErr_Occurred()) SWIG_fail;
12256 }
12257 resultobj = SWIG_FromInt((int)result);
12258 return resultobj;
12259 fail:
12260 return NULL;
12261 }
12262
12263
12264 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12265 PyObject *resultobj;
12266 wxSlider *arg1 = (wxSlider *) 0 ;
12267 int arg2 ;
12268 PyObject * obj0 = 0 ;
12269 PyObject * obj1 = 0 ;
12270 char *kwnames[] = {
12271 (char *) "self",(char *) "minValue", NULL
12272 };
12273
12274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
12275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12277 arg2 = (int) SWIG_AsInt(obj1);
12278 if (PyErr_Occurred()) SWIG_fail;
12279 {
12280 PyThreadState* __tstate = wxPyBeginAllowThreads();
12281 (arg1)->SetMin(arg2);
12282
12283 wxPyEndAllowThreads(__tstate);
12284 if (PyErr_Occurred()) SWIG_fail;
12285 }
12286 Py_INCREF(Py_None); resultobj = Py_None;
12287 return resultobj;
12288 fail:
12289 return NULL;
12290 }
12291
12292
12293 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12294 PyObject *resultobj;
12295 wxSlider *arg1 = (wxSlider *) 0 ;
12296 int arg2 ;
12297 PyObject * obj0 = 0 ;
12298 PyObject * obj1 = 0 ;
12299 char *kwnames[] = {
12300 (char *) "self",(char *) "maxValue", NULL
12301 };
12302
12303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
12304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12306 arg2 = (int) SWIG_AsInt(obj1);
12307 if (PyErr_Occurred()) SWIG_fail;
12308 {
12309 PyThreadState* __tstate = wxPyBeginAllowThreads();
12310 (arg1)->SetMax(arg2);
12311
12312 wxPyEndAllowThreads(__tstate);
12313 if (PyErr_Occurred()) SWIG_fail;
12314 }
12315 Py_INCREF(Py_None); resultobj = Py_None;
12316 return resultobj;
12317 fail:
12318 return NULL;
12319 }
12320
12321
12322 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
12323 PyObject *resultobj;
12324 wxSlider *arg1 = (wxSlider *) 0 ;
12325 int arg2 ;
12326 PyObject * obj0 = 0 ;
12327 PyObject * obj1 = 0 ;
12328 char *kwnames[] = {
12329 (char *) "self",(char *) "lineSize", NULL
12330 };
12331
12332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
12333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12335 arg2 = (int) SWIG_AsInt(obj1);
12336 if (PyErr_Occurred()) SWIG_fail;
12337 {
12338 PyThreadState* __tstate = wxPyBeginAllowThreads();
12339 (arg1)->SetLineSize(arg2);
12340
12341 wxPyEndAllowThreads(__tstate);
12342 if (PyErr_Occurred()) SWIG_fail;
12343 }
12344 Py_INCREF(Py_None); resultobj = Py_None;
12345 return resultobj;
12346 fail:
12347 return NULL;
12348 }
12349
12350
12351 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12352 PyObject *resultobj;
12353 wxSlider *arg1 = (wxSlider *) 0 ;
12354 int arg2 ;
12355 PyObject * obj0 = 0 ;
12356 PyObject * obj1 = 0 ;
12357 char *kwnames[] = {
12358 (char *) "self",(char *) "pageSize", NULL
12359 };
12360
12361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
12362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12364 arg2 = (int) SWIG_AsInt(obj1);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 {
12367 PyThreadState* __tstate = wxPyBeginAllowThreads();
12368 (arg1)->SetPageSize(arg2);
12369
12370 wxPyEndAllowThreads(__tstate);
12371 if (PyErr_Occurred()) SWIG_fail;
12372 }
12373 Py_INCREF(Py_None); resultobj = Py_None;
12374 return resultobj;
12375 fail:
12376 return NULL;
12377 }
12378
12379
12380 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
12381 PyObject *resultobj;
12382 wxSlider *arg1 = (wxSlider *) 0 ;
12383 int result;
12384 PyObject * obj0 = 0 ;
12385 char *kwnames[] = {
12386 (char *) "self", NULL
12387 };
12388
12389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
12390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12392 {
12393 PyThreadState* __tstate = wxPyBeginAllowThreads();
12394 result = (int)((wxSlider const *)arg1)->GetLineSize();
12395
12396 wxPyEndAllowThreads(__tstate);
12397 if (PyErr_Occurred()) SWIG_fail;
12398 }
12399 resultobj = SWIG_FromInt((int)result);
12400 return resultobj;
12401 fail:
12402 return NULL;
12403 }
12404
12405
12406 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12407 PyObject *resultobj;
12408 wxSlider *arg1 = (wxSlider *) 0 ;
12409 int result;
12410 PyObject * obj0 = 0 ;
12411 char *kwnames[] = {
12412 (char *) "self", NULL
12413 };
12414
12415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
12416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12418 {
12419 PyThreadState* __tstate = wxPyBeginAllowThreads();
12420 result = (int)((wxSlider const *)arg1)->GetPageSize();
12421
12422 wxPyEndAllowThreads(__tstate);
12423 if (PyErr_Occurred()) SWIG_fail;
12424 }
12425 resultobj = SWIG_FromInt((int)result);
12426 return resultobj;
12427 fail:
12428 return NULL;
12429 }
12430
12431
12432 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
12433 PyObject *resultobj;
12434 wxSlider *arg1 = (wxSlider *) 0 ;
12435 int arg2 ;
12436 PyObject * obj0 = 0 ;
12437 PyObject * obj1 = 0 ;
12438 char *kwnames[] = {
12439 (char *) "self",(char *) "lenPixels", NULL
12440 };
12441
12442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
12443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12445 arg2 = (int) SWIG_AsInt(obj1);
12446 if (PyErr_Occurred()) SWIG_fail;
12447 {
12448 PyThreadState* __tstate = wxPyBeginAllowThreads();
12449 (arg1)->SetThumbLength(arg2);
12450
12451 wxPyEndAllowThreads(__tstate);
12452 if (PyErr_Occurred()) SWIG_fail;
12453 }
12454 Py_INCREF(Py_None); resultobj = Py_None;
12455 return resultobj;
12456 fail:
12457 return NULL;
12458 }
12459
12460
12461 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
12462 PyObject *resultobj;
12463 wxSlider *arg1 = (wxSlider *) 0 ;
12464 int result;
12465 PyObject * obj0 = 0 ;
12466 char *kwnames[] = {
12467 (char *) "self", NULL
12468 };
12469
12470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
12471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12473 {
12474 PyThreadState* __tstate = wxPyBeginAllowThreads();
12475 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12476
12477 wxPyEndAllowThreads(__tstate);
12478 if (PyErr_Occurred()) SWIG_fail;
12479 }
12480 resultobj = SWIG_FromInt((int)result);
12481 return resultobj;
12482 fail:
12483 return NULL;
12484 }
12485
12486
12487 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
12488 PyObject *resultobj;
12489 wxSlider *arg1 = (wxSlider *) 0 ;
12490 int arg2 ;
12491 int arg3 = (int) 1 ;
12492 PyObject * obj0 = 0 ;
12493 PyObject * obj1 = 0 ;
12494 PyObject * obj2 = 0 ;
12495 char *kwnames[] = {
12496 (char *) "self",(char *) "n",(char *) "pos", NULL
12497 };
12498
12499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
12500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12502 arg2 = (int) SWIG_AsInt(obj1);
12503 if (PyErr_Occurred()) SWIG_fail;
12504 if (obj2) {
12505 arg3 = (int) SWIG_AsInt(obj2);
12506 if (PyErr_Occurred()) SWIG_fail;
12507 }
12508 {
12509 PyThreadState* __tstate = wxPyBeginAllowThreads();
12510 (arg1)->SetTickFreq(arg2,arg3);
12511
12512 wxPyEndAllowThreads(__tstate);
12513 if (PyErr_Occurred()) SWIG_fail;
12514 }
12515 Py_INCREF(Py_None); resultobj = Py_None;
12516 return resultobj;
12517 fail:
12518 return NULL;
12519 }
12520
12521
12522 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
12523 PyObject *resultobj;
12524 wxSlider *arg1 = (wxSlider *) 0 ;
12525 int result;
12526 PyObject * obj0 = 0 ;
12527 char *kwnames[] = {
12528 (char *) "self", NULL
12529 };
12530
12531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
12532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12534 {
12535 PyThreadState* __tstate = wxPyBeginAllowThreads();
12536 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12537
12538 wxPyEndAllowThreads(__tstate);
12539 if (PyErr_Occurred()) SWIG_fail;
12540 }
12541 resultobj = SWIG_FromInt((int)result);
12542 return resultobj;
12543 fail:
12544 return NULL;
12545 }
12546
12547
12548 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
12549 PyObject *resultobj;
12550 wxSlider *arg1 = (wxSlider *) 0 ;
12551 PyObject * obj0 = 0 ;
12552 char *kwnames[] = {
12553 (char *) "self", NULL
12554 };
12555
12556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
12557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12559 {
12560 PyThreadState* __tstate = wxPyBeginAllowThreads();
12561 (arg1)->ClearTicks();
12562
12563 wxPyEndAllowThreads(__tstate);
12564 if (PyErr_Occurred()) SWIG_fail;
12565 }
12566 Py_INCREF(Py_None); resultobj = Py_None;
12567 return resultobj;
12568 fail:
12569 return NULL;
12570 }
12571
12572
12573 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
12574 PyObject *resultobj;
12575 wxSlider *arg1 = (wxSlider *) 0 ;
12576 int arg2 ;
12577 PyObject * obj0 = 0 ;
12578 PyObject * obj1 = 0 ;
12579 char *kwnames[] = {
12580 (char *) "self",(char *) "tickPos", NULL
12581 };
12582
12583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
12584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12586 arg2 = (int) SWIG_AsInt(obj1);
12587 if (PyErr_Occurred()) SWIG_fail;
12588 {
12589 PyThreadState* __tstate = wxPyBeginAllowThreads();
12590 (arg1)->SetTick(arg2);
12591
12592 wxPyEndAllowThreads(__tstate);
12593 if (PyErr_Occurred()) SWIG_fail;
12594 }
12595 Py_INCREF(Py_None); resultobj = Py_None;
12596 return resultobj;
12597 fail:
12598 return NULL;
12599 }
12600
12601
12602 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
12603 PyObject *resultobj;
12604 wxSlider *arg1 = (wxSlider *) 0 ;
12605 PyObject * obj0 = 0 ;
12606 char *kwnames[] = {
12607 (char *) "self", NULL
12608 };
12609
12610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
12611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12613 {
12614 PyThreadState* __tstate = wxPyBeginAllowThreads();
12615 (arg1)->ClearSel();
12616
12617 wxPyEndAllowThreads(__tstate);
12618 if (PyErr_Occurred()) SWIG_fail;
12619 }
12620 Py_INCREF(Py_None); resultobj = Py_None;
12621 return resultobj;
12622 fail:
12623 return NULL;
12624 }
12625
12626
12627 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
12628 PyObject *resultobj;
12629 wxSlider *arg1 = (wxSlider *) 0 ;
12630 int result;
12631 PyObject * obj0 = 0 ;
12632 char *kwnames[] = {
12633 (char *) "self", NULL
12634 };
12635
12636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
12637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12639 {
12640 PyThreadState* __tstate = wxPyBeginAllowThreads();
12641 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12642
12643 wxPyEndAllowThreads(__tstate);
12644 if (PyErr_Occurred()) SWIG_fail;
12645 }
12646 resultobj = SWIG_FromInt((int)result);
12647 return resultobj;
12648 fail:
12649 return NULL;
12650 }
12651
12652
12653 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
12654 PyObject *resultobj;
12655 wxSlider *arg1 = (wxSlider *) 0 ;
12656 int result;
12657 PyObject * obj0 = 0 ;
12658 char *kwnames[] = {
12659 (char *) "self", NULL
12660 };
12661
12662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
12663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 result = (int)((wxSlider const *)arg1)->GetSelStart();
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
12672 resultobj = SWIG_FromInt((int)result);
12673 return resultobj;
12674 fail:
12675 return NULL;
12676 }
12677
12678
12679 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12680 PyObject *resultobj;
12681 wxSlider *arg1 = (wxSlider *) 0 ;
12682 int arg2 ;
12683 int arg3 ;
12684 PyObject * obj0 = 0 ;
12685 PyObject * obj1 = 0 ;
12686 PyObject * obj2 = 0 ;
12687 char *kwnames[] = {
12688 (char *) "self",(char *) "min",(char *) "max", NULL
12689 };
12690
12691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
12692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12694 arg2 = (int) SWIG_AsInt(obj1);
12695 if (PyErr_Occurred()) SWIG_fail;
12696 arg3 = (int) SWIG_AsInt(obj2);
12697 if (PyErr_Occurred()) SWIG_fail;
12698 {
12699 PyThreadState* __tstate = wxPyBeginAllowThreads();
12700 (arg1)->SetSelection(arg2,arg3);
12701
12702 wxPyEndAllowThreads(__tstate);
12703 if (PyErr_Occurred()) SWIG_fail;
12704 }
12705 Py_INCREF(Py_None); resultobj = Py_None;
12706 return resultobj;
12707 fail:
12708 return NULL;
12709 }
12710
12711
12712 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
12713 PyObject *obj;
12714 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12715 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12716 Py_INCREF(obj);
12717 return Py_BuildValue((char *)"");
12718 }
12719 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
12720 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12721 return 1;
12722 }
12723
12724
12725 static PyObject *_wrap_ToggleButtonNameStr_get() {
12726 PyObject *pyobj;
12727
12728 {
12729 #if wxUSE_UNICODE
12730 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12731 #else
12732 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12733 #endif
12734 }
12735 return pyobj;
12736 }
12737
12738
12739 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
12740 PyObject *resultobj;
12741 wxWindow *arg1 = (wxWindow *) 0 ;
12742 int arg2 ;
12743 wxString *arg3 = 0 ;
12744 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12745 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12746 wxSize const &arg5_defvalue = wxDefaultSize ;
12747 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12748 long arg6 = (long) 0 ;
12749 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12750 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12751 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
12752 wxString *arg8 = (wxString *) &arg8_defvalue ;
12753 wxToggleButton *result;
12754 bool temp3 = False ;
12755 wxPoint temp4 ;
12756 wxSize temp5 ;
12757 bool temp8 = False ;
12758 PyObject * obj0 = 0 ;
12759 PyObject * obj1 = 0 ;
12760 PyObject * obj2 = 0 ;
12761 PyObject * obj3 = 0 ;
12762 PyObject * obj4 = 0 ;
12763 PyObject * obj5 = 0 ;
12764 PyObject * obj6 = 0 ;
12765 PyObject * obj7 = 0 ;
12766 char *kwnames[] = {
12767 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12768 };
12769
12770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12773 arg2 = (int) SWIG_AsInt(obj1);
12774 if (PyErr_Occurred()) SWIG_fail;
12775 {
12776 arg3 = wxString_in_helper(obj2);
12777 if (arg3 == NULL) SWIG_fail;
12778 temp3 = True;
12779 }
12780 if (obj3) {
12781 {
12782 arg4 = &temp4;
12783 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12784 }
12785 }
12786 if (obj4) {
12787 {
12788 arg5 = &temp5;
12789 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12790 }
12791 }
12792 if (obj5) {
12793 arg6 = (long) SWIG_AsLong(obj5);
12794 if (PyErr_Occurred()) SWIG_fail;
12795 }
12796 if (obj6) {
12797 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12798 SWIG_POINTER_EXCEPTION | 0)) == -1)
12799 SWIG_fail;
12800 if (arg7 == NULL) {
12801 PyErr_SetString(PyExc_TypeError,"null reference");
12802 SWIG_fail;
12803 }
12804 }
12805 if (obj7) {
12806 {
12807 arg8 = wxString_in_helper(obj7);
12808 if (arg8 == NULL) SWIG_fail;
12809 temp8 = True;
12810 }
12811 }
12812 {
12813 PyThreadState* __tstate = wxPyBeginAllowThreads();
12814 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12815
12816 wxPyEndAllowThreads(__tstate);
12817 if (PyErr_Occurred()) SWIG_fail;
12818 }
12819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
12820 {
12821 if (temp3)
12822 delete arg3;
12823 }
12824 {
12825 if (temp8)
12826 delete arg8;
12827 }
12828 return resultobj;
12829 fail:
12830 {
12831 if (temp3)
12832 delete arg3;
12833 }
12834 {
12835 if (temp8)
12836 delete arg8;
12837 }
12838 return NULL;
12839 }
12840
12841
12842 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
12843 PyObject *resultobj;
12844 wxToggleButton *result;
12845 char *kwnames[] = {
12846 NULL
12847 };
12848
12849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
12850 {
12851 PyThreadState* __tstate = wxPyBeginAllowThreads();
12852 result = (wxToggleButton *)new wxToggleButton();
12853
12854 wxPyEndAllowThreads(__tstate);
12855 if (PyErr_Occurred()) SWIG_fail;
12856 }
12857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
12858 return resultobj;
12859 fail:
12860 return NULL;
12861 }
12862
12863
12864 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
12865 PyObject *obj;
12866 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12867 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
12868 Py_INCREF(obj);
12869 return Py_BuildValue((char *)"");
12870 }
12871 static int _wrap_NOTEBOOK_NAME_set(PyObject *) {
12872 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
12873 return 1;
12874 }
12875
12876
12877 static PyObject *_wrap_NOTEBOOK_NAME_get() {
12878 PyObject *pyobj;
12879
12880 {
12881 #if wxUSE_UNICODE
12882 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
12883 #else
12884 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
12885 #endif
12886 }
12887 return pyobj;
12888 }
12889
12890
12891 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
12892 PyObject *resultobj;
12893 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12894 size_t result;
12895 PyObject * obj0 = 0 ;
12896 char *kwnames[] = {
12897 (char *) "self", NULL
12898 };
12899
12900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
12901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
12902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12903 {
12904 PyThreadState* __tstate = wxPyBeginAllowThreads();
12905 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
12906
12907 wxPyEndAllowThreads(__tstate);
12908 if (PyErr_Occurred()) SWIG_fail;
12909 }
12910 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
12911 return resultobj;
12912 fail:
12913 return NULL;
12914 }
12915
12916
12917 static PyObject *_wrap_BookCtrl_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
12918 PyObject *resultobj;
12919 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12920 size_t arg2 ;
12921 wxWindow *result;
12922 PyObject * obj0 = 0 ;
12923 PyObject * obj1 = 0 ;
12924 char *kwnames[] = {
12925 (char *) "self",(char *) "n", NULL
12926 };
12927
12928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
12929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
12930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12931 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
12932 if (PyErr_Occurred()) SWIG_fail;
12933 {
12934 PyThreadState* __tstate = wxPyBeginAllowThreads();
12935 result = (wxWindow *)(arg1)->GetPage(arg2);
12936
12937 wxPyEndAllowThreads(__tstate);
12938 if (PyErr_Occurred()) SWIG_fail;
12939 }
12940 {
12941 resultobj = wxPyMake_wxObject(result);
12942 }
12943 return resultobj;
12944 fail:
12945 return NULL;
12946 }
12947
12948
12949 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12950 PyObject *resultobj;
12951 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12952 int result;
12953 PyObject * obj0 = 0 ;
12954 char *kwnames[] = {
12955 (char *) "self", NULL
12956 };
12957
12958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
12959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
12960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12961 {
12962 PyThreadState* __tstate = wxPyBeginAllowThreads();
12963 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
12964
12965 wxPyEndAllowThreads(__tstate);
12966 if (PyErr_Occurred()) SWIG_fail;
12967 }
12968 resultobj = SWIG_FromInt((int)result);
12969 return resultobj;
12970 fail:
12971 return NULL;
12972 }
12973
12974
12975 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
12976 PyObject *resultobj;
12977 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12978 size_t arg2 ;
12979 wxString *arg3 = 0 ;
12980 bool result;
12981 bool temp3 = False ;
12982 PyObject * obj0 = 0 ;
12983 PyObject * obj1 = 0 ;
12984 PyObject * obj2 = 0 ;
12985 char *kwnames[] = {
12986 (char *) "self",(char *) "n",(char *) "strText", NULL
12987 };
12988
12989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
12990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
12991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12992 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
12993 if (PyErr_Occurred()) SWIG_fail;
12994 {
12995 arg3 = wxString_in_helper(obj2);
12996 if (arg3 == NULL) SWIG_fail;
12997 temp3 = True;
12998 }
12999 {
13000 PyThreadState* __tstate = wxPyBeginAllowThreads();
13001 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
13002
13003 wxPyEndAllowThreads(__tstate);
13004 if (PyErr_Occurred()) SWIG_fail;
13005 }
13006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13007 {
13008 if (temp3)
13009 delete arg3;
13010 }
13011 return resultobj;
13012 fail:
13013 {
13014 if (temp3)
13015 delete arg3;
13016 }
13017 return NULL;
13018 }
13019
13020
13021 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
13022 PyObject *resultobj;
13023 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13024 size_t arg2 ;
13025 wxString result;
13026 PyObject * obj0 = 0 ;
13027 PyObject * obj1 = 0 ;
13028 char *kwnames[] = {
13029 (char *) "self",(char *) "n", NULL
13030 };
13031
13032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
13033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13035 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13036 if (PyErr_Occurred()) SWIG_fail;
13037 {
13038 PyThreadState* __tstate = wxPyBeginAllowThreads();
13039 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
13040
13041 wxPyEndAllowThreads(__tstate);
13042 if (PyErr_Occurred()) SWIG_fail;
13043 }
13044 {
13045 #if wxUSE_UNICODE
13046 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13047 #else
13048 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13049 #endif
13050 }
13051 return resultobj;
13052 fail:
13053 return NULL;
13054 }
13055
13056
13057 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
13058 PyObject *resultobj;
13059 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13060 wxImageList *arg2 = (wxImageList *) 0 ;
13061 PyObject * obj0 = 0 ;
13062 PyObject * obj1 = 0 ;
13063 char *kwnames[] = {
13064 (char *) "self",(char *) "imageList", NULL
13065 };
13066
13067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
13068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13070 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13072 {
13073 PyThreadState* __tstate = wxPyBeginAllowThreads();
13074 (arg1)->SetImageList(arg2);
13075
13076 wxPyEndAllowThreads(__tstate);
13077 if (PyErr_Occurred()) SWIG_fail;
13078 }
13079 Py_INCREF(Py_None); resultobj = Py_None;
13080 return resultobj;
13081 fail:
13082 return NULL;
13083 }
13084
13085
13086 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
13087 PyObject *resultobj;
13088 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13089 wxImageList *arg2 = (wxImageList *) 0 ;
13090 PyObject * obj0 = 0 ;
13091 PyObject * obj1 = 0 ;
13092 char *kwnames[] = {
13093 (char *) "self",(char *) "imageList", NULL
13094 };
13095
13096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
13097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13099 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13100 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
13101 {
13102 PyThreadState* __tstate = wxPyBeginAllowThreads();
13103 (arg1)->AssignImageList(arg2);
13104
13105 wxPyEndAllowThreads(__tstate);
13106 if (PyErr_Occurred()) SWIG_fail;
13107 }
13108 Py_INCREF(Py_None); resultobj = Py_None;
13109 return resultobj;
13110 fail:
13111 return NULL;
13112 }
13113
13114
13115 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
13116 PyObject *resultobj;
13117 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13118 wxImageList *result;
13119 PyObject * obj0 = 0 ;
13120 char *kwnames[] = {
13121 (char *) "self", NULL
13122 };
13123
13124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
13125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13127 {
13128 PyThreadState* __tstate = wxPyBeginAllowThreads();
13129 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
13130
13131 wxPyEndAllowThreads(__tstate);
13132 if (PyErr_Occurred()) SWIG_fail;
13133 }
13134 {
13135 resultobj = wxPyMake_wxObject(result);
13136 }
13137 return resultobj;
13138 fail:
13139 return NULL;
13140 }
13141
13142
13143 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
13144 PyObject *resultobj;
13145 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13146 size_t arg2 ;
13147 int result;
13148 PyObject * obj0 = 0 ;
13149 PyObject * obj1 = 0 ;
13150 char *kwnames[] = {
13151 (char *) "self",(char *) "n", NULL
13152 };
13153
13154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
13155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13157 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13158 if (PyErr_Occurred()) SWIG_fail;
13159 {
13160 PyThreadState* __tstate = wxPyBeginAllowThreads();
13161 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13162
13163 wxPyEndAllowThreads(__tstate);
13164 if (PyErr_Occurred()) SWIG_fail;
13165 }
13166 resultobj = SWIG_FromInt((int)result);
13167 return resultobj;
13168 fail:
13169 return NULL;
13170 }
13171
13172
13173 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
13174 PyObject *resultobj;
13175 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13176 size_t arg2 ;
13177 int arg3 ;
13178 bool result;
13179 PyObject * obj0 = 0 ;
13180 PyObject * obj1 = 0 ;
13181 PyObject * obj2 = 0 ;
13182 char *kwnames[] = {
13183 (char *) "self",(char *) "n",(char *) "imageId", NULL
13184 };
13185
13186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
13187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13189 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13190 if (PyErr_Occurred()) SWIG_fail;
13191 arg3 = (int) SWIG_AsInt(obj2);
13192 if (PyErr_Occurred()) SWIG_fail;
13193 {
13194 PyThreadState* __tstate = wxPyBeginAllowThreads();
13195 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13196
13197 wxPyEndAllowThreads(__tstate);
13198 if (PyErr_Occurred()) SWIG_fail;
13199 }
13200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13201 return resultobj;
13202 fail:
13203 return NULL;
13204 }
13205
13206
13207 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
13208 PyObject *resultobj;
13209 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13210 wxSize *arg2 = 0 ;
13211 wxSize temp2 ;
13212 PyObject * obj0 = 0 ;
13213 PyObject * obj1 = 0 ;
13214 char *kwnames[] = {
13215 (char *) "self",(char *) "size", NULL
13216 };
13217
13218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13221 {
13222 arg2 = &temp2;
13223 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13224 }
13225 {
13226 PyThreadState* __tstate = wxPyBeginAllowThreads();
13227 (arg1)->SetPageSize((wxSize const &)*arg2);
13228
13229 wxPyEndAllowThreads(__tstate);
13230 if (PyErr_Occurred()) SWIG_fail;
13231 }
13232 Py_INCREF(Py_None); resultobj = Py_None;
13233 return resultobj;
13234 fail:
13235 return NULL;
13236 }
13237
13238
13239 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
13240 PyObject *resultobj;
13241 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13242 wxSize *arg2 = 0 ;
13243 wxSize result;
13244 wxSize temp2 ;
13245 PyObject * obj0 = 0 ;
13246 PyObject * obj1 = 0 ;
13247 char *kwnames[] = {
13248 (char *) "self",(char *) "sizePage", NULL
13249 };
13250
13251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13254 {
13255 arg2 = &temp2;
13256 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13257 }
13258 {
13259 PyThreadState* __tstate = wxPyBeginAllowThreads();
13260 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13261
13262 wxPyEndAllowThreads(__tstate);
13263 if (PyErr_Occurred()) SWIG_fail;
13264 }
13265 {
13266 wxSize * resultptr;
13267 resultptr = new wxSize((wxSize &) result);
13268 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
13269 }
13270 return resultobj;
13271 fail:
13272 return NULL;
13273 }
13274
13275
13276 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
13277 PyObject *resultobj;
13278 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13279 size_t arg2 ;
13280 bool result;
13281 PyObject * obj0 = 0 ;
13282 PyObject * obj1 = 0 ;
13283 char *kwnames[] = {
13284 (char *) "self",(char *) "n", NULL
13285 };
13286
13287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
13288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13290 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13291 if (PyErr_Occurred()) SWIG_fail;
13292 {
13293 PyThreadState* __tstate = wxPyBeginAllowThreads();
13294 result = (bool)(arg1)->DeletePage(arg2);
13295
13296 wxPyEndAllowThreads(__tstate);
13297 if (PyErr_Occurred()) SWIG_fail;
13298 }
13299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13300 return resultobj;
13301 fail:
13302 return NULL;
13303 }
13304
13305
13306 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
13307 PyObject *resultobj;
13308 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13309 size_t arg2 ;
13310 bool result;
13311 PyObject * obj0 = 0 ;
13312 PyObject * obj1 = 0 ;
13313 char *kwnames[] = {
13314 (char *) "self",(char *) "n", NULL
13315 };
13316
13317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
13318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13320 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13321 if (PyErr_Occurred()) SWIG_fail;
13322 {
13323 PyThreadState* __tstate = wxPyBeginAllowThreads();
13324 result = (bool)(arg1)->RemovePage(arg2);
13325
13326 wxPyEndAllowThreads(__tstate);
13327 if (PyErr_Occurred()) SWIG_fail;
13328 }
13329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13330 return resultobj;
13331 fail:
13332 return NULL;
13333 }
13334
13335
13336 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
13337 PyObject *resultobj;
13338 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13339 bool result;
13340 PyObject * obj0 = 0 ;
13341 char *kwnames[] = {
13342 (char *) "self", NULL
13343 };
13344
13345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
13346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13348 {
13349 PyThreadState* __tstate = wxPyBeginAllowThreads();
13350 result = (bool)(arg1)->DeleteAllPages();
13351
13352 wxPyEndAllowThreads(__tstate);
13353 if (PyErr_Occurred()) SWIG_fail;
13354 }
13355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13356 return resultobj;
13357 fail:
13358 return NULL;
13359 }
13360
13361
13362 static PyObject *_wrap_BookCtrl_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
13363 PyObject *resultobj;
13364 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13365 wxWindow *arg2 = (wxWindow *) 0 ;
13366 wxString *arg3 = 0 ;
13367 bool arg4 = (bool) False ;
13368 int arg5 = (int) -1 ;
13369 bool result;
13370 bool temp3 = False ;
13371 PyObject * obj0 = 0 ;
13372 PyObject * obj1 = 0 ;
13373 PyObject * obj2 = 0 ;
13374 PyObject * obj3 = 0 ;
13375 PyObject * obj4 = 0 ;
13376 char *kwnames[] = {
13377 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13378 };
13379
13380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13383 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13385 {
13386 arg3 = wxString_in_helper(obj2);
13387 if (arg3 == NULL) SWIG_fail;
13388 temp3 = True;
13389 }
13390 if (obj3) {
13391 arg4 = (bool) SWIG_AsBool(obj3);
13392 if (PyErr_Occurred()) SWIG_fail;
13393 }
13394 if (obj4) {
13395 arg5 = (int) SWIG_AsInt(obj4);
13396 if (PyErr_Occurred()) SWIG_fail;
13397 }
13398 {
13399 PyThreadState* __tstate = wxPyBeginAllowThreads();
13400 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13401
13402 wxPyEndAllowThreads(__tstate);
13403 if (PyErr_Occurred()) SWIG_fail;
13404 }
13405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13406 {
13407 if (temp3)
13408 delete arg3;
13409 }
13410 return resultobj;
13411 fail:
13412 {
13413 if (temp3)
13414 delete arg3;
13415 }
13416 return NULL;
13417 }
13418
13419
13420 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
13421 PyObject *resultobj;
13422 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13423 size_t arg2 ;
13424 wxWindow *arg3 = (wxWindow *) 0 ;
13425 wxString *arg4 = 0 ;
13426 bool arg5 = (bool) False ;
13427 int arg6 = (int) -1 ;
13428 bool result;
13429 bool temp4 = False ;
13430 PyObject * obj0 = 0 ;
13431 PyObject * obj1 = 0 ;
13432 PyObject * obj2 = 0 ;
13433 PyObject * obj3 = 0 ;
13434 PyObject * obj4 = 0 ;
13435 PyObject * obj5 = 0 ;
13436 char *kwnames[] = {
13437 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13438 };
13439
13440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13443 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13444 if (PyErr_Occurred()) SWIG_fail;
13445 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
13446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13447 {
13448 arg4 = wxString_in_helper(obj3);
13449 if (arg4 == NULL) SWIG_fail;
13450 temp4 = True;
13451 }
13452 if (obj4) {
13453 arg5 = (bool) SWIG_AsBool(obj4);
13454 if (PyErr_Occurred()) SWIG_fail;
13455 }
13456 if (obj5) {
13457 arg6 = (int) SWIG_AsInt(obj5);
13458 if (PyErr_Occurred()) SWIG_fail;
13459 }
13460 {
13461 PyThreadState* __tstate = wxPyBeginAllowThreads();
13462 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13463
13464 wxPyEndAllowThreads(__tstate);
13465 if (PyErr_Occurred()) SWIG_fail;
13466 }
13467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13468 {
13469 if (temp4)
13470 delete arg4;
13471 }
13472 return resultobj;
13473 fail:
13474 {
13475 if (temp4)
13476 delete arg4;
13477 }
13478 return NULL;
13479 }
13480
13481
13482 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13483 PyObject *resultobj;
13484 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13485 size_t arg2 ;
13486 int result;
13487 PyObject * obj0 = 0 ;
13488 PyObject * obj1 = 0 ;
13489 char *kwnames[] = {
13490 (char *) "self",(char *) "n", NULL
13491 };
13492
13493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13496 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13497 if (PyErr_Occurred()) SWIG_fail;
13498 {
13499 PyThreadState* __tstate = wxPyBeginAllowThreads();
13500 result = (int)(arg1)->SetSelection(arg2);
13501
13502 wxPyEndAllowThreads(__tstate);
13503 if (PyErr_Occurred()) SWIG_fail;
13504 }
13505 resultobj = SWIG_FromInt((int)result);
13506 return resultobj;
13507 fail:
13508 return NULL;
13509 }
13510
13511
13512 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13513 PyObject *resultobj;
13514 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13515 bool arg2 = (bool) True ;
13516 PyObject * obj0 = 0 ;
13517 PyObject * obj1 = 0 ;
13518 char *kwnames[] = {
13519 (char *) "self",(char *) "forward", NULL
13520 };
13521
13522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
13523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13525 if (obj1) {
13526 arg2 = (bool) SWIG_AsBool(obj1);
13527 if (PyErr_Occurred()) SWIG_fail;
13528 }
13529 {
13530 PyThreadState* __tstate = wxPyBeginAllowThreads();
13531 (arg1)->AdvanceSelection(arg2);
13532
13533 wxPyEndAllowThreads(__tstate);
13534 if (PyErr_Occurred()) SWIG_fail;
13535 }
13536 Py_INCREF(Py_None); resultobj = Py_None;
13537 return resultobj;
13538 fail:
13539 return NULL;
13540 }
13541
13542
13543 static PyObject * BookCtrl_swigregister(PyObject *, PyObject *args) {
13544 PyObject *obj;
13545 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13546 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
13547 Py_INCREF(obj);
13548 return Py_BuildValue((char *)"");
13549 }
13550 static PyObject *_wrap_new_BookCtrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13551 PyObject *resultobj;
13552 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13553 int arg2 = (int) 0 ;
13554 int arg3 = (int) -1 ;
13555 int arg4 = (int) -1 ;
13556 wxBookCtrlEvent *result;
13557 PyObject * obj0 = 0 ;
13558 PyObject * obj1 = 0 ;
13559 PyObject * obj2 = 0 ;
13560 PyObject * obj3 = 0 ;
13561 char *kwnames[] = {
13562 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13563 };
13564
13565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13566 if (obj0) {
13567 arg1 = (wxEventType) SWIG_AsInt(obj0);
13568 if (PyErr_Occurred()) SWIG_fail;
13569 }
13570 if (obj1) {
13571 arg2 = (int) SWIG_AsInt(obj1);
13572 if (PyErr_Occurred()) SWIG_fail;
13573 }
13574 if (obj2) {
13575 arg3 = (int) SWIG_AsInt(obj2);
13576 if (PyErr_Occurred()) SWIG_fail;
13577 }
13578 if (obj3) {
13579 arg4 = (int) SWIG_AsInt(obj3);
13580 if (PyErr_Occurred()) SWIG_fail;
13581 }
13582 {
13583 PyThreadState* __tstate = wxPyBeginAllowThreads();
13584 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
13585
13586 wxPyEndAllowThreads(__tstate);
13587 if (PyErr_Occurred()) SWIG_fail;
13588 }
13589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
13590 return resultobj;
13591 fail:
13592 return NULL;
13593 }
13594
13595
13596 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13597 PyObject *resultobj;
13598 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13599 int result;
13600 PyObject * obj0 = 0 ;
13601 char *kwnames[] = {
13602 (char *) "self", NULL
13603 };
13604
13605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
13606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13608 {
13609 PyThreadState* __tstate = wxPyBeginAllowThreads();
13610 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
13611
13612 wxPyEndAllowThreads(__tstate);
13613 if (PyErr_Occurred()) SWIG_fail;
13614 }
13615 resultobj = SWIG_FromInt((int)result);
13616 return resultobj;
13617 fail:
13618 return NULL;
13619 }
13620
13621
13622 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13623 PyObject *resultobj;
13624 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13625 int arg2 ;
13626 PyObject * obj0 = 0 ;
13627 PyObject * obj1 = 0 ;
13628 char *kwnames[] = {
13629 (char *) "self",(char *) "nSel", NULL
13630 };
13631
13632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13635 arg2 = (int) SWIG_AsInt(obj1);
13636 if (PyErr_Occurred()) SWIG_fail;
13637 {
13638 PyThreadState* __tstate = wxPyBeginAllowThreads();
13639 (arg1)->SetSelection(arg2);
13640
13641 wxPyEndAllowThreads(__tstate);
13642 if (PyErr_Occurred()) SWIG_fail;
13643 }
13644 Py_INCREF(Py_None); resultobj = Py_None;
13645 return resultobj;
13646 fail:
13647 return NULL;
13648 }
13649
13650
13651 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13652 PyObject *resultobj;
13653 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13654 int result;
13655 PyObject * obj0 = 0 ;
13656 char *kwnames[] = {
13657 (char *) "self", NULL
13658 };
13659
13660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
13661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13663 {
13664 PyThreadState* __tstate = wxPyBeginAllowThreads();
13665 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
13666
13667 wxPyEndAllowThreads(__tstate);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 }
13670 resultobj = SWIG_FromInt((int)result);
13671 return resultobj;
13672 fail:
13673 return NULL;
13674 }
13675
13676
13677 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13678 PyObject *resultobj;
13679 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13680 int arg2 ;
13681 PyObject * obj0 = 0 ;
13682 PyObject * obj1 = 0 ;
13683 char *kwnames[] = {
13684 (char *) "self",(char *) "nOldSel", NULL
13685 };
13686
13687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
13688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13690 arg2 = (int) SWIG_AsInt(obj1);
13691 if (PyErr_Occurred()) SWIG_fail;
13692 {
13693 PyThreadState* __tstate = wxPyBeginAllowThreads();
13694 (arg1)->SetOldSelection(arg2);
13695
13696 wxPyEndAllowThreads(__tstate);
13697 if (PyErr_Occurred()) SWIG_fail;
13698 }
13699 Py_INCREF(Py_None); resultobj = Py_None;
13700 return resultobj;
13701 fail:
13702 return NULL;
13703 }
13704
13705
13706 static PyObject * BookCtrlEvent_swigregister(PyObject *, PyObject *args) {
13707 PyObject *obj;
13708 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13709 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
13710 Py_INCREF(obj);
13711 return Py_BuildValue((char *)"");
13712 }
13713 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
13714 PyObject *resultobj;
13715 wxWindow *arg1 = (wxWindow *) 0 ;
13716 int arg2 ;
13717 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13718 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13719 wxSize const &arg4_defvalue = wxDefaultSize ;
13720 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13721 long arg5 = (long) 0 ;
13722 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
13723 wxString *arg6 = (wxString *) &arg6_defvalue ;
13724 wxNotebook *result;
13725 wxPoint temp3 ;
13726 wxSize temp4 ;
13727 bool temp6 = False ;
13728 PyObject * obj0 = 0 ;
13729 PyObject * obj1 = 0 ;
13730 PyObject * obj2 = 0 ;
13731 PyObject * obj3 = 0 ;
13732 PyObject * obj4 = 0 ;
13733 PyObject * obj5 = 0 ;
13734 char *kwnames[] = {
13735 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13736 };
13737
13738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13741 arg2 = (int) SWIG_AsInt(obj1);
13742 if (PyErr_Occurred()) SWIG_fail;
13743 if (obj2) {
13744 {
13745 arg3 = &temp3;
13746 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13747 }
13748 }
13749 if (obj3) {
13750 {
13751 arg4 = &temp4;
13752 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13753 }
13754 }
13755 if (obj4) {
13756 arg5 = (long) SWIG_AsLong(obj4);
13757 if (PyErr_Occurred()) SWIG_fail;
13758 }
13759 if (obj5) {
13760 {
13761 arg6 = wxString_in_helper(obj5);
13762 if (arg6 == NULL) SWIG_fail;
13763 temp6 = True;
13764 }
13765 }
13766 {
13767 PyThreadState* __tstate = wxPyBeginAllowThreads();
13768 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13769
13770 wxPyEndAllowThreads(__tstate);
13771 if (PyErr_Occurred()) SWIG_fail;
13772 }
13773 {
13774 resultobj = wxPyMake_wxObject(result);
13775 }
13776 {
13777 if (temp6)
13778 delete arg6;
13779 }
13780 return resultobj;
13781 fail:
13782 {
13783 if (temp6)
13784 delete arg6;
13785 }
13786 return NULL;
13787 }
13788
13789
13790 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
13791 PyObject *resultobj;
13792 wxNotebook *result;
13793 char *kwnames[] = {
13794 NULL
13795 };
13796
13797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
13798 {
13799 PyThreadState* __tstate = wxPyBeginAllowThreads();
13800 result = (wxNotebook *)new wxNotebook();
13801
13802 wxPyEndAllowThreads(__tstate);
13803 if (PyErr_Occurred()) SWIG_fail;
13804 }
13805 {
13806 resultobj = wxPyMake_wxObject(result);
13807 }
13808 return resultobj;
13809 fail:
13810 return NULL;
13811 }
13812
13813
13814 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13815 PyObject *resultobj;
13816 wxNotebook *arg1 = (wxNotebook *) 0 ;
13817 wxWindow *arg2 = (wxWindow *) 0 ;
13818 int arg3 ;
13819 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13820 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13821 wxSize const &arg5_defvalue = wxDefaultSize ;
13822 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13823 long arg6 = (long) 0 ;
13824 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
13825 wxString *arg7 = (wxString *) &arg7_defvalue ;
13826 bool result;
13827 wxPoint temp4 ;
13828 wxSize temp5 ;
13829 bool temp7 = False ;
13830 PyObject * obj0 = 0 ;
13831 PyObject * obj1 = 0 ;
13832 PyObject * obj2 = 0 ;
13833 PyObject * obj3 = 0 ;
13834 PyObject * obj4 = 0 ;
13835 PyObject * obj5 = 0 ;
13836 PyObject * obj6 = 0 ;
13837 char *kwnames[] = {
13838 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13839 };
13840
13841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
13843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13844 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13846 arg3 = (int) SWIG_AsInt(obj2);
13847 if (PyErr_Occurred()) SWIG_fail;
13848 if (obj3) {
13849 {
13850 arg4 = &temp4;
13851 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13852 }
13853 }
13854 if (obj4) {
13855 {
13856 arg5 = &temp5;
13857 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13858 }
13859 }
13860 if (obj5) {
13861 arg6 = (long) SWIG_AsLong(obj5);
13862 if (PyErr_Occurred()) SWIG_fail;
13863 }
13864 if (obj6) {
13865 {
13866 arg7 = wxString_in_helper(obj6);
13867 if (arg7 == NULL) SWIG_fail;
13868 temp7 = True;
13869 }
13870 }
13871 {
13872 PyThreadState* __tstate = wxPyBeginAllowThreads();
13873 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13874
13875 wxPyEndAllowThreads(__tstate);
13876 if (PyErr_Occurred()) SWIG_fail;
13877 }
13878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13879 {
13880 if (temp7)
13881 delete arg7;
13882 }
13883 return resultobj;
13884 fail:
13885 {
13886 if (temp7)
13887 delete arg7;
13888 }
13889 return NULL;
13890 }
13891
13892
13893 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
13894 PyObject *resultobj;
13895 wxNotebook *arg1 = (wxNotebook *) 0 ;
13896 int result;
13897 PyObject * obj0 = 0 ;
13898 char *kwnames[] = {
13899 (char *) "self", NULL
13900 };
13901
13902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
13903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
13904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13905 {
13906 PyThreadState* __tstate = wxPyBeginAllowThreads();
13907 result = (int)((wxNotebook const *)arg1)->GetRowCount();
13908
13909 wxPyEndAllowThreads(__tstate);
13910 if (PyErr_Occurred()) SWIG_fail;
13911 }
13912 resultobj = SWIG_FromInt((int)result);
13913 return resultobj;
13914 fail:
13915 return NULL;
13916 }
13917
13918
13919 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
13920 PyObject *resultobj;
13921 wxNotebook *arg1 = (wxNotebook *) 0 ;
13922 wxSize *arg2 = 0 ;
13923 wxSize temp2 ;
13924 PyObject * obj0 = 0 ;
13925 PyObject * obj1 = 0 ;
13926 char *kwnames[] = {
13927 (char *) "self",(char *) "padding", NULL
13928 };
13929
13930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
13931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
13932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13933 {
13934 arg2 = &temp2;
13935 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13936 }
13937 {
13938 PyThreadState* __tstate = wxPyBeginAllowThreads();
13939 (arg1)->SetPadding((wxSize const &)*arg2);
13940
13941 wxPyEndAllowThreads(__tstate);
13942 if (PyErr_Occurred()) SWIG_fail;
13943 }
13944 Py_INCREF(Py_None); resultobj = Py_None;
13945 return resultobj;
13946 fail:
13947 return NULL;
13948 }
13949
13950
13951 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
13952 PyObject *resultobj;
13953 wxNotebook *arg1 = (wxNotebook *) 0 ;
13954 wxSize *arg2 = 0 ;
13955 wxSize temp2 ;
13956 PyObject * obj0 = 0 ;
13957 PyObject * obj1 = 0 ;
13958 char *kwnames[] = {
13959 (char *) "self",(char *) "sz", NULL
13960 };
13961
13962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
13963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
13964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13965 {
13966 arg2 = &temp2;
13967 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13968 }
13969 {
13970 PyThreadState* __tstate = wxPyBeginAllowThreads();
13971 (arg1)->SetTabSize((wxSize const &)*arg2);
13972
13973 wxPyEndAllowThreads(__tstate);
13974 if (PyErr_Occurred()) SWIG_fail;
13975 }
13976 Py_INCREF(Py_None); resultobj = Py_None;
13977 return resultobj;
13978 fail:
13979 return NULL;
13980 }
13981
13982
13983 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
13984 PyObject *resultobj;
13985 wxNotebook *arg1 = (wxNotebook *) 0 ;
13986 wxPoint *arg2 = 0 ;
13987 long *arg3 = (long *) 0 ;
13988 int result;
13989 wxPoint temp2 ;
13990 long temp3 ;
13991 PyObject * obj0 = 0 ;
13992 PyObject * obj1 = 0 ;
13993 char *kwnames[] = {
13994 (char *) "self",(char *) "pt", NULL
13995 };
13996
13997 arg3 = &temp3;
13998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
13999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14001 {
14002 arg2 = &temp2;
14003 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14004 }
14005 {
14006 PyThreadState* __tstate = wxPyBeginAllowThreads();
14007 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
14008
14009 wxPyEndAllowThreads(__tstate);
14010 if (PyErr_Occurred()) SWIG_fail;
14011 }
14012 resultobj = SWIG_FromInt((int)result);
14013 {
14014 PyObject *o = PyInt_FromLong((long) (*arg3));
14015 resultobj = t_output_helper(resultobj,o);
14016 }
14017 return resultobj;
14018 fail:
14019 return NULL;
14020 }
14021
14022
14023 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
14024 PyObject *resultobj;
14025 wxNotebook *arg1 = (wxNotebook *) 0 ;
14026 wxSize *arg2 = 0 ;
14027 wxSize result;
14028 wxSize temp2 ;
14029 PyObject * obj0 = 0 ;
14030 PyObject * obj1 = 0 ;
14031 char *kwnames[] = {
14032 (char *) "self",(char *) "sizePage", NULL
14033 };
14034
14035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14038 {
14039 arg2 = &temp2;
14040 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14041 }
14042 {
14043 PyThreadState* __tstate = wxPyBeginAllowThreads();
14044 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14045
14046 wxPyEndAllowThreads(__tstate);
14047 if (PyErr_Occurred()) SWIG_fail;
14048 }
14049 {
14050 wxSize * resultptr;
14051 resultptr = new wxSize((wxSize &) result);
14052 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14053 }
14054 return resultobj;
14055 fail:
14056 return NULL;
14057 }
14058
14059
14060 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
14061 PyObject *obj;
14062 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14063 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
14064 Py_INCREF(obj);
14065 return Py_BuildValue((char *)"");
14066 }
14067 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14068 PyObject *resultobj;
14069 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14070 int arg2 = (int) 0 ;
14071 int arg3 = (int) -1 ;
14072 int arg4 = (int) -1 ;
14073 wxNotebookEvent *result;
14074 PyObject * obj0 = 0 ;
14075 PyObject * obj1 = 0 ;
14076 PyObject * obj2 = 0 ;
14077 PyObject * obj3 = 0 ;
14078 char *kwnames[] = {
14079 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14080 };
14081
14082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14083 if (obj0) {
14084 arg1 = (wxEventType) SWIG_AsInt(obj0);
14085 if (PyErr_Occurred()) SWIG_fail;
14086 }
14087 if (obj1) {
14088 arg2 = (int) SWIG_AsInt(obj1);
14089 if (PyErr_Occurred()) SWIG_fail;
14090 }
14091 if (obj2) {
14092 arg3 = (int) SWIG_AsInt(obj2);
14093 if (PyErr_Occurred()) SWIG_fail;
14094 }
14095 if (obj3) {
14096 arg4 = (int) SWIG_AsInt(obj3);
14097 if (PyErr_Occurred()) SWIG_fail;
14098 }
14099 {
14100 PyThreadState* __tstate = wxPyBeginAllowThreads();
14101 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
14102
14103 wxPyEndAllowThreads(__tstate);
14104 if (PyErr_Occurred()) SWIG_fail;
14105 }
14106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
14107 return resultobj;
14108 fail:
14109 return NULL;
14110 }
14111
14112
14113 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
14114 PyObject *obj;
14115 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14116 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
14117 Py_INCREF(obj);
14118 return Py_BuildValue((char *)"");
14119 }
14120 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
14121 PyObject *resultobj;
14122 wxWindow *arg1 = (wxWindow *) 0 ;
14123 int arg2 ;
14124 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14125 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14126 wxSize const &arg4_defvalue = wxDefaultSize ;
14127 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14128 long arg5 = (long) 0 ;
14129 wxString const &arg6_defvalue = wxPyEmptyString ;
14130 wxString *arg6 = (wxString *) &arg6_defvalue ;
14131 wxListbook *result;
14132 wxPoint temp3 ;
14133 wxSize temp4 ;
14134 bool temp6 = False ;
14135 PyObject * obj0 = 0 ;
14136 PyObject * obj1 = 0 ;
14137 PyObject * obj2 = 0 ;
14138 PyObject * obj3 = 0 ;
14139 PyObject * obj4 = 0 ;
14140 PyObject * obj5 = 0 ;
14141 char *kwnames[] = {
14142 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14143 };
14144
14145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14148 arg2 = (int) SWIG_AsInt(obj1);
14149 if (PyErr_Occurred()) SWIG_fail;
14150 if (obj2) {
14151 {
14152 arg3 = &temp3;
14153 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14154 }
14155 }
14156 if (obj3) {
14157 {
14158 arg4 = &temp4;
14159 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14160 }
14161 }
14162 if (obj4) {
14163 arg5 = (long) SWIG_AsLong(obj4);
14164 if (PyErr_Occurred()) SWIG_fail;
14165 }
14166 if (obj5) {
14167 {
14168 arg6 = wxString_in_helper(obj5);
14169 if (arg6 == NULL) SWIG_fail;
14170 temp6 = True;
14171 }
14172 }
14173 {
14174 PyThreadState* __tstate = wxPyBeginAllowThreads();
14175 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14176
14177 wxPyEndAllowThreads(__tstate);
14178 if (PyErr_Occurred()) SWIG_fail;
14179 }
14180 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14181 {
14182 if (temp6)
14183 delete arg6;
14184 }
14185 return resultobj;
14186 fail:
14187 {
14188 if (temp6)
14189 delete arg6;
14190 }
14191 return NULL;
14192 }
14193
14194
14195 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
14196 PyObject *resultobj;
14197 wxListbook *result;
14198 char *kwnames[] = {
14199 NULL
14200 };
14201
14202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14203 {
14204 PyThreadState* __tstate = wxPyBeginAllowThreads();
14205 result = (wxListbook *)new wxListbook();
14206
14207 wxPyEndAllowThreads(__tstate);
14208 if (PyErr_Occurred()) SWIG_fail;
14209 }
14210 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14211 return resultobj;
14212 fail:
14213 return NULL;
14214 }
14215
14216
14217 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14218 PyObject *resultobj;
14219 wxListbook *arg1 = (wxListbook *) 0 ;
14220 wxWindow *arg2 = (wxWindow *) 0 ;
14221 int arg3 ;
14222 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14223 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14224 wxSize const &arg5_defvalue = wxDefaultSize ;
14225 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14226 long arg6 = (long) 0 ;
14227 wxString const &arg7_defvalue = wxPyEmptyString ;
14228 wxString *arg7 = (wxString *) &arg7_defvalue ;
14229 bool result;
14230 wxPoint temp4 ;
14231 wxSize temp5 ;
14232 bool temp7 = False ;
14233 PyObject * obj0 = 0 ;
14234 PyObject * obj1 = 0 ;
14235 PyObject * obj2 = 0 ;
14236 PyObject * obj3 = 0 ;
14237 PyObject * obj4 = 0 ;
14238 PyObject * obj5 = 0 ;
14239 PyObject * obj6 = 0 ;
14240 char *kwnames[] = {
14241 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14242 };
14243
14244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14247 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14249 arg3 = (int) SWIG_AsInt(obj2);
14250 if (PyErr_Occurred()) SWIG_fail;
14251 if (obj3) {
14252 {
14253 arg4 = &temp4;
14254 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14255 }
14256 }
14257 if (obj4) {
14258 {
14259 arg5 = &temp5;
14260 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14261 }
14262 }
14263 if (obj5) {
14264 arg6 = (long) SWIG_AsLong(obj5);
14265 if (PyErr_Occurred()) SWIG_fail;
14266 }
14267 if (obj6) {
14268 {
14269 arg7 = wxString_in_helper(obj6);
14270 if (arg7 == NULL) SWIG_fail;
14271 temp7 = True;
14272 }
14273 }
14274 {
14275 PyThreadState* __tstate = wxPyBeginAllowThreads();
14276 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14277
14278 wxPyEndAllowThreads(__tstate);
14279 if (PyErr_Occurred()) SWIG_fail;
14280 }
14281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14282 {
14283 if (temp7)
14284 delete arg7;
14285 }
14286 return resultobj;
14287 fail:
14288 {
14289 if (temp7)
14290 delete arg7;
14291 }
14292 return NULL;
14293 }
14294
14295
14296 static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
14297 PyObject *resultobj;
14298 wxListbook *arg1 = (wxListbook *) 0 ;
14299 bool result;
14300 PyObject * obj0 = 0 ;
14301 char *kwnames[] = {
14302 (char *) "self", NULL
14303 };
14304
14305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
14306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14308 {
14309 PyThreadState* __tstate = wxPyBeginAllowThreads();
14310 result = (bool)((wxListbook const *)arg1)->IsVertical();
14311
14312 wxPyEndAllowThreads(__tstate);
14313 if (PyErr_Occurred()) SWIG_fail;
14314 }
14315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14316 return resultobj;
14317 fail:
14318 return NULL;
14319 }
14320
14321
14322 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
14323 PyObject *obj;
14324 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14325 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14326 Py_INCREF(obj);
14327 return Py_BuildValue((char *)"");
14328 }
14329 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14330 PyObject *resultobj;
14331 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14332 int arg2 = (int) 0 ;
14333 int arg3 = (int) -1 ;
14334 int arg4 = (int) -1 ;
14335 wxListbookEvent *result;
14336 PyObject * obj0 = 0 ;
14337 PyObject * obj1 = 0 ;
14338 PyObject * obj2 = 0 ;
14339 PyObject * obj3 = 0 ;
14340 char *kwnames[] = {
14341 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14342 };
14343
14344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14345 if (obj0) {
14346 arg1 = (wxEventType) SWIG_AsInt(obj0);
14347 if (PyErr_Occurred()) SWIG_fail;
14348 }
14349 if (obj1) {
14350 arg2 = (int) SWIG_AsInt(obj1);
14351 if (PyErr_Occurred()) SWIG_fail;
14352 }
14353 if (obj2) {
14354 arg3 = (int) SWIG_AsInt(obj2);
14355 if (PyErr_Occurred()) SWIG_fail;
14356 }
14357 if (obj3) {
14358 arg4 = (int) SWIG_AsInt(obj3);
14359 if (PyErr_Occurred()) SWIG_fail;
14360 }
14361 {
14362 PyThreadState* __tstate = wxPyBeginAllowThreads();
14363 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14364
14365 wxPyEndAllowThreads(__tstate);
14366 if (PyErr_Occurred()) SWIG_fail;
14367 }
14368 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
14369 return resultobj;
14370 fail:
14371 return NULL;
14372 }
14373
14374
14375 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
14376 PyObject *obj;
14377 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14378 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14379 Py_INCREF(obj);
14380 return Py_BuildValue((char *)"");
14381 }
14382 static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
14383 PyObject *resultobj;
14384 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14385 wxBookCtrlSizer *result;
14386 PyObject * obj0 = 0 ;
14387 char *kwnames[] = {
14388 (char *) "nb", NULL
14389 };
14390
14391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
14392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14394 {
14395 PyThreadState* __tstate = wxPyBeginAllowThreads();
14396 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14397
14398 wxPyEndAllowThreads(__tstate);
14399 if (PyErr_Occurred()) SWIG_fail;
14400 }
14401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
14402 return resultobj;
14403 fail:
14404 return NULL;
14405 }
14406
14407
14408 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
14409 PyObject *resultobj;
14410 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14411 PyObject * obj0 = 0 ;
14412 char *kwnames[] = {
14413 (char *) "self", NULL
14414 };
14415
14416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14419 {
14420 PyThreadState* __tstate = wxPyBeginAllowThreads();
14421 (arg1)->RecalcSizes();
14422
14423 wxPyEndAllowThreads(__tstate);
14424 if (PyErr_Occurred()) SWIG_fail;
14425 }
14426 Py_INCREF(Py_None); resultobj = Py_None;
14427 return resultobj;
14428 fail:
14429 return NULL;
14430 }
14431
14432
14433 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
14434 PyObject *resultobj;
14435 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14436 wxSize result;
14437 PyObject * obj0 = 0 ;
14438 char *kwnames[] = {
14439 (char *) "self", NULL
14440 };
14441
14442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
14443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14445 {
14446 PyThreadState* __tstate = wxPyBeginAllowThreads();
14447 result = (arg1)->CalcMin();
14448
14449 wxPyEndAllowThreads(__tstate);
14450 if (PyErr_Occurred()) SWIG_fail;
14451 }
14452 {
14453 wxSize * resultptr;
14454 resultptr = new wxSize((wxSize &) result);
14455 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14456 }
14457 return resultobj;
14458 fail:
14459 return NULL;
14460 }
14461
14462
14463 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
14464 PyObject *resultobj;
14465 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14466 wxBookCtrl *result;
14467 PyObject * obj0 = 0 ;
14468 char *kwnames[] = {
14469 (char *) "self", NULL
14470 };
14471
14472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
14473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14475 {
14476 PyThreadState* __tstate = wxPyBeginAllowThreads();
14477 result = (wxBookCtrl *)(arg1)->GetControl();
14478
14479 wxPyEndAllowThreads(__tstate);
14480 if (PyErr_Occurred()) SWIG_fail;
14481 }
14482 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
14483 return resultobj;
14484 fail:
14485 return NULL;
14486 }
14487
14488
14489 static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
14490 PyObject *obj;
14491 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14492 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14493 Py_INCREF(obj);
14494 return Py_BuildValue((char *)"");
14495 }
14496 static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
14497 PyObject *resultobj;
14498 wxNotebook *arg1 = (wxNotebook *) 0 ;
14499 wxNotebookSizer *result;
14500 PyObject * obj0 = 0 ;
14501 char *kwnames[] = {
14502 (char *) "nb", NULL
14503 };
14504
14505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
14506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14508 {
14509 PyThreadState* __tstate = wxPyBeginAllowThreads();
14510 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
14511
14512 wxPyEndAllowThreads(__tstate);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
14515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
14516 return resultobj;
14517 fail:
14518 return NULL;
14519 }
14520
14521
14522 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
14523 PyObject *resultobj;
14524 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14525 PyObject * obj0 = 0 ;
14526 char *kwnames[] = {
14527 (char *) "self", NULL
14528 };
14529
14530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14533 {
14534 PyThreadState* __tstate = wxPyBeginAllowThreads();
14535 (arg1)->RecalcSizes();
14536
14537 wxPyEndAllowThreads(__tstate);
14538 if (PyErr_Occurred()) SWIG_fail;
14539 }
14540 Py_INCREF(Py_None); resultobj = Py_None;
14541 return resultobj;
14542 fail:
14543 return NULL;
14544 }
14545
14546
14547 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
14548 PyObject *resultobj;
14549 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14550 wxSize result;
14551 PyObject * obj0 = 0 ;
14552 char *kwnames[] = {
14553 (char *) "self", NULL
14554 };
14555
14556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
14557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14559 {
14560 PyThreadState* __tstate = wxPyBeginAllowThreads();
14561 result = (arg1)->CalcMin();
14562
14563 wxPyEndAllowThreads(__tstate);
14564 if (PyErr_Occurred()) SWIG_fail;
14565 }
14566 {
14567 wxSize * resultptr;
14568 resultptr = new wxSize((wxSize &) result);
14569 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14570 }
14571 return resultobj;
14572 fail:
14573 return NULL;
14574 }
14575
14576
14577 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
14578 PyObject *resultobj;
14579 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14580 wxNotebook *result;
14581 PyObject * obj0 = 0 ;
14582 char *kwnames[] = {
14583 (char *) "self", NULL
14584 };
14585
14586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
14587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14589 {
14590 PyThreadState* __tstate = wxPyBeginAllowThreads();
14591 result = (wxNotebook *)(arg1)->GetNotebook();
14592
14593 wxPyEndAllowThreads(__tstate);
14594 if (PyErr_Occurred()) SWIG_fail;
14595 }
14596 {
14597 resultobj = wxPyMake_wxObject(result);
14598 }
14599 return resultobj;
14600 fail:
14601 return NULL;
14602 }
14603
14604
14605 static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
14606 PyObject *obj;
14607 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14608 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
14609 Py_INCREF(obj);
14610 return Py_BuildValue((char *)"");
14611 }
14612 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
14613 PyObject *resultobj;
14614 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14615 int result;
14616 PyObject * obj0 = 0 ;
14617 char *kwnames[] = {
14618 (char *) "self", NULL
14619 };
14620
14621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
14622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14624 {
14625 PyThreadState* __tstate = wxPyBeginAllowThreads();
14626 result = (int)(arg1)->GetId();
14627
14628 wxPyEndAllowThreads(__tstate);
14629 if (PyErr_Occurred()) SWIG_fail;
14630 }
14631 resultobj = SWIG_FromInt((int)result);
14632 return resultobj;
14633 fail:
14634 return NULL;
14635 }
14636
14637
14638 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
14639 PyObject *resultobj;
14640 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14641 wxControl *result;
14642 PyObject * obj0 = 0 ;
14643 char *kwnames[] = {
14644 (char *) "self", NULL
14645 };
14646
14647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
14648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14650 {
14651 PyThreadState* __tstate = wxPyBeginAllowThreads();
14652 result = (wxControl *)(arg1)->GetControl();
14653
14654 wxPyEndAllowThreads(__tstate);
14655 if (PyErr_Occurred()) SWIG_fail;
14656 }
14657 {
14658 resultobj = wxPyMake_wxObject(result);
14659 }
14660 return resultobj;
14661 fail:
14662 return NULL;
14663 }
14664
14665
14666 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
14667 PyObject *resultobj;
14668 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14669 wxToolBarBase *result;
14670 PyObject * obj0 = 0 ;
14671 char *kwnames[] = {
14672 (char *) "self", NULL
14673 };
14674
14675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
14676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14678 {
14679 PyThreadState* __tstate = wxPyBeginAllowThreads();
14680 result = (wxToolBarBase *)(arg1)->GetToolBar();
14681
14682 wxPyEndAllowThreads(__tstate);
14683 if (PyErr_Occurred()) SWIG_fail;
14684 }
14685 {
14686 resultobj = wxPyMake_wxObject(result);
14687 }
14688 return resultobj;
14689 fail:
14690 return NULL;
14691 }
14692
14693
14694 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
14695 PyObject *resultobj;
14696 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14697 int result;
14698 PyObject * obj0 = 0 ;
14699 char *kwnames[] = {
14700 (char *) "self", NULL
14701 };
14702
14703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
14704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14706 {
14707 PyThreadState* __tstate = wxPyBeginAllowThreads();
14708 result = (int)(arg1)->IsButton();
14709
14710 wxPyEndAllowThreads(__tstate);
14711 if (PyErr_Occurred()) SWIG_fail;
14712 }
14713 resultobj = SWIG_FromInt((int)result);
14714 return resultobj;
14715 fail:
14716 return NULL;
14717 }
14718
14719
14720 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
14721 PyObject *resultobj;
14722 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14723 int result;
14724 PyObject * obj0 = 0 ;
14725 char *kwnames[] = {
14726 (char *) "self", NULL
14727 };
14728
14729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
14730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14732 {
14733 PyThreadState* __tstate = wxPyBeginAllowThreads();
14734 result = (int)(arg1)->IsControl();
14735
14736 wxPyEndAllowThreads(__tstate);
14737 if (PyErr_Occurred()) SWIG_fail;
14738 }
14739 resultobj = SWIG_FromInt((int)result);
14740 return resultobj;
14741 fail:
14742 return NULL;
14743 }
14744
14745
14746 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
14747 PyObject *resultobj;
14748 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14749 int result;
14750 PyObject * obj0 = 0 ;
14751 char *kwnames[] = {
14752 (char *) "self", NULL
14753 };
14754
14755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
14756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14758 {
14759 PyThreadState* __tstate = wxPyBeginAllowThreads();
14760 result = (int)(arg1)->IsSeparator();
14761
14762 wxPyEndAllowThreads(__tstate);
14763 if (PyErr_Occurred()) SWIG_fail;
14764 }
14765 resultobj = SWIG_FromInt((int)result);
14766 return resultobj;
14767 fail:
14768 return NULL;
14769 }
14770
14771
14772 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14773 PyObject *resultobj;
14774 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14775 int result;
14776 PyObject * obj0 = 0 ;
14777 char *kwnames[] = {
14778 (char *) "self", NULL
14779 };
14780
14781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
14782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14784 {
14785 PyThreadState* __tstate = wxPyBeginAllowThreads();
14786 result = (int)(arg1)->GetStyle();
14787
14788 wxPyEndAllowThreads(__tstate);
14789 if (PyErr_Occurred()) SWIG_fail;
14790 }
14791 resultobj = SWIG_FromInt((int)result);
14792 return resultobj;
14793 fail:
14794 return NULL;
14795 }
14796
14797
14798 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
14799 PyObject *resultobj;
14800 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14801 int result;
14802 PyObject * obj0 = 0 ;
14803 char *kwnames[] = {
14804 (char *) "self", NULL
14805 };
14806
14807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
14808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14810 {
14811 PyThreadState* __tstate = wxPyBeginAllowThreads();
14812 result = (int)(arg1)->GetKind();
14813
14814 wxPyEndAllowThreads(__tstate);
14815 if (PyErr_Occurred()) SWIG_fail;
14816 }
14817 resultobj = SWIG_FromInt((int)result);
14818 return resultobj;
14819 fail:
14820 return NULL;
14821 }
14822
14823
14824 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
14825 PyObject *resultobj;
14826 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14827 bool result;
14828 PyObject * obj0 = 0 ;
14829 char *kwnames[] = {
14830 (char *) "self", NULL
14831 };
14832
14833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
14834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14836 {
14837 PyThreadState* __tstate = wxPyBeginAllowThreads();
14838 result = (bool)(arg1)->IsEnabled();
14839
14840 wxPyEndAllowThreads(__tstate);
14841 if (PyErr_Occurred()) SWIG_fail;
14842 }
14843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14844 return resultobj;
14845 fail:
14846 return NULL;
14847 }
14848
14849
14850 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
14851 PyObject *resultobj;
14852 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14853 bool result;
14854 PyObject * obj0 = 0 ;
14855 char *kwnames[] = {
14856 (char *) "self", NULL
14857 };
14858
14859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
14860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14862 {
14863 PyThreadState* __tstate = wxPyBeginAllowThreads();
14864 result = (bool)(arg1)->IsToggled();
14865
14866 wxPyEndAllowThreads(__tstate);
14867 if (PyErr_Occurred()) SWIG_fail;
14868 }
14869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14870 return resultobj;
14871 fail:
14872 return NULL;
14873 }
14874
14875
14876 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
14877 PyObject *resultobj;
14878 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14879 bool result;
14880 PyObject * obj0 = 0 ;
14881 char *kwnames[] = {
14882 (char *) "self", NULL
14883 };
14884
14885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
14886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14888 {
14889 PyThreadState* __tstate = wxPyBeginAllowThreads();
14890 result = (bool)(arg1)->CanBeToggled();
14891
14892 wxPyEndAllowThreads(__tstate);
14893 if (PyErr_Occurred()) SWIG_fail;
14894 }
14895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14896 return resultobj;
14897 fail:
14898 return NULL;
14899 }
14900
14901
14902 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
14903 PyObject *resultobj;
14904 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14905 wxBitmap *result;
14906 PyObject * obj0 = 0 ;
14907 char *kwnames[] = {
14908 (char *) "self", NULL
14909 };
14910
14911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
14912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14914 {
14915 PyThreadState* __tstate = wxPyBeginAllowThreads();
14916 {
14917 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
14918 result = (wxBitmap *) &_result_ref;
14919 }
14920
14921 wxPyEndAllowThreads(__tstate);
14922 if (PyErr_Occurred()) SWIG_fail;
14923 }
14924 {
14925 wxBitmap* resultptr = new wxBitmap(*result);
14926 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
14927 }
14928 return resultobj;
14929 fail:
14930 return NULL;
14931 }
14932
14933
14934 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
14935 PyObject *resultobj;
14936 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14937 wxBitmap *result;
14938 PyObject * obj0 = 0 ;
14939 char *kwnames[] = {
14940 (char *) "self", NULL
14941 };
14942
14943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
14944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14946 {
14947 PyThreadState* __tstate = wxPyBeginAllowThreads();
14948 {
14949 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
14950 result = (wxBitmap *) &_result_ref;
14951 }
14952
14953 wxPyEndAllowThreads(__tstate);
14954 if (PyErr_Occurred()) SWIG_fail;
14955 }
14956 {
14957 wxBitmap* resultptr = new wxBitmap(*result);
14958 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
14959 }
14960 return resultobj;
14961 fail:
14962 return NULL;
14963 }
14964
14965
14966 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
14967 PyObject *resultobj;
14968 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14969 wxBitmap result;
14970 PyObject * obj0 = 0 ;
14971 char *kwnames[] = {
14972 (char *) "self", NULL
14973 };
14974
14975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
14976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14978 {
14979 PyThreadState* __tstate = wxPyBeginAllowThreads();
14980 result = (arg1)->GetBitmap();
14981
14982 wxPyEndAllowThreads(__tstate);
14983 if (PyErr_Occurred()) SWIG_fail;
14984 }
14985 {
14986 wxBitmap * resultptr;
14987 resultptr = new wxBitmap((wxBitmap &) result);
14988 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
14989 }
14990 return resultobj;
14991 fail:
14992 return NULL;
14993 }
14994
14995
14996 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
14997 PyObject *resultobj;
14998 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14999 wxString result;
15000 PyObject * obj0 = 0 ;
15001 char *kwnames[] = {
15002 (char *) "self", NULL
15003 };
15004
15005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
15006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15008 {
15009 PyThreadState* __tstate = wxPyBeginAllowThreads();
15010 result = (arg1)->GetLabel();
15011
15012 wxPyEndAllowThreads(__tstate);
15013 if (PyErr_Occurred()) SWIG_fail;
15014 }
15015 {
15016 #if wxUSE_UNICODE
15017 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15018 #else
15019 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15020 #endif
15021 }
15022 return resultobj;
15023 fail:
15024 return NULL;
15025 }
15026
15027
15028 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15029 PyObject *resultobj;
15030 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15031 wxString result;
15032 PyObject * obj0 = 0 ;
15033 char *kwnames[] = {
15034 (char *) "self", NULL
15035 };
15036
15037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15040 {
15041 PyThreadState* __tstate = wxPyBeginAllowThreads();
15042 result = (arg1)->GetShortHelp();
15043
15044 wxPyEndAllowThreads(__tstate);
15045 if (PyErr_Occurred()) SWIG_fail;
15046 }
15047 {
15048 #if wxUSE_UNICODE
15049 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15050 #else
15051 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15052 #endif
15053 }
15054 return resultobj;
15055 fail:
15056 return NULL;
15057 }
15058
15059
15060 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15061 PyObject *resultobj;
15062 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15063 wxString result;
15064 PyObject * obj0 = 0 ;
15065 char *kwnames[] = {
15066 (char *) "self", NULL
15067 };
15068
15069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15072 {
15073 PyThreadState* __tstate = wxPyBeginAllowThreads();
15074 result = (arg1)->GetLongHelp();
15075
15076 wxPyEndAllowThreads(__tstate);
15077 if (PyErr_Occurred()) SWIG_fail;
15078 }
15079 {
15080 #if wxUSE_UNICODE
15081 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15082 #else
15083 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15084 #endif
15085 }
15086 return resultobj;
15087 fail:
15088 return NULL;
15089 }
15090
15091
15092 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
15093 PyObject *resultobj;
15094 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15095 bool arg2 ;
15096 bool result;
15097 PyObject * obj0 = 0 ;
15098 PyObject * obj1 = 0 ;
15099 char *kwnames[] = {
15100 (char *) "self",(char *) "enable", NULL
15101 };
15102
15103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15106 arg2 = (bool) SWIG_AsBool(obj1);
15107 if (PyErr_Occurred()) SWIG_fail;
15108 {
15109 PyThreadState* __tstate = wxPyBeginAllowThreads();
15110 result = (bool)(arg1)->Enable(arg2);
15111
15112 wxPyEndAllowThreads(__tstate);
15113 if (PyErr_Occurred()) SWIG_fail;
15114 }
15115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15116 return resultobj;
15117 fail:
15118 return NULL;
15119 }
15120
15121
15122 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
15123 PyObject *resultobj;
15124 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15125 PyObject * obj0 = 0 ;
15126 char *kwnames[] = {
15127 (char *) "self", NULL
15128 };
15129
15130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
15131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15133 {
15134 PyThreadState* __tstate = wxPyBeginAllowThreads();
15135 (arg1)->Toggle();
15136
15137 wxPyEndAllowThreads(__tstate);
15138 if (PyErr_Occurred()) SWIG_fail;
15139 }
15140 Py_INCREF(Py_None); resultobj = Py_None;
15141 return resultobj;
15142 fail:
15143 return NULL;
15144 }
15145
15146
15147 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
15148 PyObject *resultobj;
15149 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15150 bool arg2 ;
15151 bool result;
15152 PyObject * obj0 = 0 ;
15153 PyObject * obj1 = 0 ;
15154 char *kwnames[] = {
15155 (char *) "self",(char *) "toggle", NULL
15156 };
15157
15158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15161 arg2 = (bool) SWIG_AsBool(obj1);
15162 if (PyErr_Occurred()) SWIG_fail;
15163 {
15164 PyThreadState* __tstate = wxPyBeginAllowThreads();
15165 result = (bool)(arg1)->SetToggle(arg2);
15166
15167 wxPyEndAllowThreads(__tstate);
15168 if (PyErr_Occurred()) SWIG_fail;
15169 }
15170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15171 return resultobj;
15172 fail:
15173 return NULL;
15174 }
15175
15176
15177 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15178 PyObject *resultobj;
15179 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15180 wxString *arg2 = 0 ;
15181 bool result;
15182 bool temp2 = False ;
15183 PyObject * obj0 = 0 ;
15184 PyObject * obj1 = 0 ;
15185 char *kwnames[] = {
15186 (char *) "self",(char *) "help", NULL
15187 };
15188
15189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15192 {
15193 arg2 = wxString_in_helper(obj1);
15194 if (arg2 == NULL) SWIG_fail;
15195 temp2 = True;
15196 }
15197 {
15198 PyThreadState* __tstate = wxPyBeginAllowThreads();
15199 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15200
15201 wxPyEndAllowThreads(__tstate);
15202 if (PyErr_Occurred()) SWIG_fail;
15203 }
15204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15205 {
15206 if (temp2)
15207 delete arg2;
15208 }
15209 return resultobj;
15210 fail:
15211 {
15212 if (temp2)
15213 delete arg2;
15214 }
15215 return NULL;
15216 }
15217
15218
15219 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15220 PyObject *resultobj;
15221 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15222 wxString *arg2 = 0 ;
15223 bool result;
15224 bool temp2 = False ;
15225 PyObject * obj0 = 0 ;
15226 PyObject * obj1 = 0 ;
15227 char *kwnames[] = {
15228 (char *) "self",(char *) "help", NULL
15229 };
15230
15231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15234 {
15235 arg2 = wxString_in_helper(obj1);
15236 if (arg2 == NULL) SWIG_fail;
15237 temp2 = True;
15238 }
15239 {
15240 PyThreadState* __tstate = wxPyBeginAllowThreads();
15241 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15242
15243 wxPyEndAllowThreads(__tstate);
15244 if (PyErr_Occurred()) SWIG_fail;
15245 }
15246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15247 {
15248 if (temp2)
15249 delete arg2;
15250 }
15251 return resultobj;
15252 fail:
15253 {
15254 if (temp2)
15255 delete arg2;
15256 }
15257 return NULL;
15258 }
15259
15260
15261 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
15262 PyObject *resultobj;
15263 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15264 wxBitmap *arg2 = 0 ;
15265 PyObject * obj0 = 0 ;
15266 PyObject * obj1 = 0 ;
15267 char *kwnames[] = {
15268 (char *) "self",(char *) "bmp", NULL
15269 };
15270
15271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15274 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15275 SWIG_POINTER_EXCEPTION | 0)) == -1)
15276 SWIG_fail;
15277 if (arg2 == NULL) {
15278 PyErr_SetString(PyExc_TypeError,"null reference");
15279 SWIG_fail;
15280 }
15281 {
15282 PyThreadState* __tstate = wxPyBeginAllowThreads();
15283 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15284
15285 wxPyEndAllowThreads(__tstate);
15286 if (PyErr_Occurred()) SWIG_fail;
15287 }
15288 Py_INCREF(Py_None); resultobj = Py_None;
15289 return resultobj;
15290 fail:
15291 return NULL;
15292 }
15293
15294
15295 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
15296 PyObject *resultobj;
15297 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15298 wxBitmap *arg2 = 0 ;
15299 PyObject * obj0 = 0 ;
15300 PyObject * obj1 = 0 ;
15301 char *kwnames[] = {
15302 (char *) "self",(char *) "bmp", NULL
15303 };
15304
15305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15308 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15309 SWIG_POINTER_EXCEPTION | 0)) == -1)
15310 SWIG_fail;
15311 if (arg2 == NULL) {
15312 PyErr_SetString(PyExc_TypeError,"null reference");
15313 SWIG_fail;
15314 }
15315 {
15316 PyThreadState* __tstate = wxPyBeginAllowThreads();
15317 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15318
15319 wxPyEndAllowThreads(__tstate);
15320 if (PyErr_Occurred()) SWIG_fail;
15321 }
15322 Py_INCREF(Py_None); resultobj = Py_None;
15323 return resultobj;
15324 fail:
15325 return NULL;
15326 }
15327
15328
15329 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
15330 PyObject *resultobj;
15331 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15332 wxString *arg2 = 0 ;
15333 bool temp2 = False ;
15334 PyObject * obj0 = 0 ;
15335 PyObject * obj1 = 0 ;
15336 char *kwnames[] = {
15337 (char *) "self",(char *) "label", NULL
15338 };
15339
15340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15343 {
15344 arg2 = wxString_in_helper(obj1);
15345 if (arg2 == NULL) SWIG_fail;
15346 temp2 = True;
15347 }
15348 {
15349 PyThreadState* __tstate = wxPyBeginAllowThreads();
15350 (arg1)->SetLabel((wxString const &)*arg2);
15351
15352 wxPyEndAllowThreads(__tstate);
15353 if (PyErr_Occurred()) SWIG_fail;
15354 }
15355 Py_INCREF(Py_None); resultobj = Py_None;
15356 {
15357 if (temp2)
15358 delete arg2;
15359 }
15360 return resultobj;
15361 fail:
15362 {
15363 if (temp2)
15364 delete arg2;
15365 }
15366 return NULL;
15367 }
15368
15369
15370 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
15371 PyObject *resultobj;
15372 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15373 PyObject * obj0 = 0 ;
15374 char *kwnames[] = {
15375 (char *) "self", NULL
15376 };
15377
15378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15381 {
15382 PyThreadState* __tstate = wxPyBeginAllowThreads();
15383 (arg1)->Detach();
15384
15385 wxPyEndAllowThreads(__tstate);
15386 if (PyErr_Occurred()) SWIG_fail;
15387 }
15388 Py_INCREF(Py_None); resultobj = Py_None;
15389 return resultobj;
15390 fail:
15391 return NULL;
15392 }
15393
15394
15395 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
15396 PyObject *resultobj;
15397 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15398 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15399 PyObject * obj0 = 0 ;
15400 PyObject * obj1 = 0 ;
15401 char *kwnames[] = {
15402 (char *) "self",(char *) "tbar", NULL
15403 };
15404
15405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15408 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
15409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15410 {
15411 PyThreadState* __tstate = wxPyBeginAllowThreads();
15412 (arg1)->Attach(arg2);
15413
15414 wxPyEndAllowThreads(__tstate);
15415 if (PyErr_Occurred()) SWIG_fail;
15416 }
15417 Py_INCREF(Py_None); resultobj = Py_None;
15418 return resultobj;
15419 fail:
15420 return NULL;
15421 }
15422
15423
15424 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
15425 PyObject *resultobj;
15426 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15427 PyObject *result;
15428 PyObject * obj0 = 0 ;
15429 char *kwnames[] = {
15430 (char *) "self", NULL
15431 };
15432
15433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15436 {
15437 PyThreadState* __tstate = wxPyBeginAllowThreads();
15438 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15439
15440 wxPyEndAllowThreads(__tstate);
15441 if (PyErr_Occurred()) SWIG_fail;
15442 }
15443 resultobj = result;
15444 return resultobj;
15445 fail:
15446 return NULL;
15447 }
15448
15449
15450 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
15451 PyObject *resultobj;
15452 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15453 PyObject *arg2 = (PyObject *) 0 ;
15454 PyObject * obj0 = 0 ;
15455 PyObject * obj1 = 0 ;
15456 char *kwnames[] = {
15457 (char *) "self",(char *) "clientData", NULL
15458 };
15459
15460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15463 arg2 = obj1;
15464 {
15465 PyThreadState* __tstate = wxPyBeginAllowThreads();
15466 wxToolBarToolBase_SetClientData(arg1,arg2);
15467
15468 wxPyEndAllowThreads(__tstate);
15469 if (PyErr_Occurred()) SWIG_fail;
15470 }
15471 Py_INCREF(Py_None); resultobj = Py_None;
15472 return resultobj;
15473 fail:
15474 return NULL;
15475 }
15476
15477
15478 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
15479 PyObject *obj;
15480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15481 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15482 Py_INCREF(obj);
15483 return Py_BuildValue((char *)"");
15484 }
15485 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
15486 PyObject *resultobj;
15487 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15488 int arg2 ;
15489 wxString *arg3 = 0 ;
15490 wxBitmap *arg4 = 0 ;
15491 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15492 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15493 int arg6 = (int) wxITEM_NORMAL ;
15494 wxString const &arg7_defvalue = wxPyEmptyString ;
15495 wxString *arg7 = (wxString *) &arg7_defvalue ;
15496 wxString const &arg8_defvalue = wxPyEmptyString ;
15497 wxString *arg8 = (wxString *) &arg8_defvalue ;
15498 PyObject *arg9 = (PyObject *) NULL ;
15499 wxToolBarToolBase *result;
15500 bool temp3 = False ;
15501 bool temp7 = False ;
15502 bool temp8 = False ;
15503 PyObject * obj0 = 0 ;
15504 PyObject * obj1 = 0 ;
15505 PyObject * obj2 = 0 ;
15506 PyObject * obj3 = 0 ;
15507 PyObject * obj4 = 0 ;
15508 PyObject * obj5 = 0 ;
15509 PyObject * obj6 = 0 ;
15510 PyObject * obj7 = 0 ;
15511 PyObject * obj8 = 0 ;
15512 char *kwnames[] = {
15513 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15514 };
15515
15516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15519 arg2 = (int) SWIG_AsInt(obj1);
15520 if (PyErr_Occurred()) SWIG_fail;
15521 {
15522 arg3 = wxString_in_helper(obj2);
15523 if (arg3 == NULL) SWIG_fail;
15524 temp3 = True;
15525 }
15526 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
15527 SWIG_POINTER_EXCEPTION | 0)) == -1)
15528 SWIG_fail;
15529 if (arg4 == NULL) {
15530 PyErr_SetString(PyExc_TypeError,"null reference");
15531 SWIG_fail;
15532 }
15533 if (obj4) {
15534 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
15535 SWIG_POINTER_EXCEPTION | 0)) == -1)
15536 SWIG_fail;
15537 if (arg5 == NULL) {
15538 PyErr_SetString(PyExc_TypeError,"null reference");
15539 SWIG_fail;
15540 }
15541 }
15542 if (obj5) {
15543 arg6 = (wxItemKind) SWIG_AsInt(obj5);
15544 if (PyErr_Occurred()) SWIG_fail;
15545 }
15546 if (obj6) {
15547 {
15548 arg7 = wxString_in_helper(obj6);
15549 if (arg7 == NULL) SWIG_fail;
15550 temp7 = True;
15551 }
15552 }
15553 if (obj7) {
15554 {
15555 arg8 = wxString_in_helper(obj7);
15556 if (arg8 == NULL) SWIG_fail;
15557 temp8 = True;
15558 }
15559 }
15560 if (obj8) {
15561 arg9 = obj8;
15562 }
15563 {
15564 PyThreadState* __tstate = wxPyBeginAllowThreads();
15565 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
15566
15567 wxPyEndAllowThreads(__tstate);
15568 if (PyErr_Occurred()) SWIG_fail;
15569 }
15570 {
15571 resultobj = wxPyMake_wxObject(result);
15572 }
15573 {
15574 if (temp3)
15575 delete arg3;
15576 }
15577 {
15578 if (temp7)
15579 delete arg7;
15580 }
15581 {
15582 if (temp8)
15583 delete arg8;
15584 }
15585 return resultobj;
15586 fail:
15587 {
15588 if (temp3)
15589 delete arg3;
15590 }
15591 {
15592 if (temp7)
15593 delete arg7;
15594 }
15595 {
15596 if (temp8)
15597 delete arg8;
15598 }
15599 return NULL;
15600 }
15601
15602
15603 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
15604 PyObject *resultobj;
15605 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15606 size_t arg2 ;
15607 int arg3 ;
15608 wxString *arg4 = 0 ;
15609 wxBitmap *arg5 = 0 ;
15610 wxBitmap const &arg6_defvalue = wxNullBitmap ;
15611 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
15612 int arg7 = (int) wxITEM_NORMAL ;
15613 wxString const &arg8_defvalue = wxPyEmptyString ;
15614 wxString *arg8 = (wxString *) &arg8_defvalue ;
15615 wxString const &arg9_defvalue = wxPyEmptyString ;
15616 wxString *arg9 = (wxString *) &arg9_defvalue ;
15617 PyObject *arg10 = (PyObject *) NULL ;
15618 wxToolBarToolBase *result;
15619 bool temp4 = False ;
15620 bool temp8 = False ;
15621 bool temp9 = False ;
15622 PyObject * obj0 = 0 ;
15623 PyObject * obj1 = 0 ;
15624 PyObject * obj2 = 0 ;
15625 PyObject * obj3 = 0 ;
15626 PyObject * obj4 = 0 ;
15627 PyObject * obj5 = 0 ;
15628 PyObject * obj6 = 0 ;
15629 PyObject * obj7 = 0 ;
15630 PyObject * obj8 = 0 ;
15631 PyObject * obj9 = 0 ;
15632 char *kwnames[] = {
15633 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15634 };
15635
15636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15639 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
15640 if (PyErr_Occurred()) SWIG_fail;
15641 arg3 = (int) SWIG_AsInt(obj2);
15642 if (PyErr_Occurred()) SWIG_fail;
15643 {
15644 arg4 = wxString_in_helper(obj3);
15645 if (arg4 == NULL) SWIG_fail;
15646 temp4 = True;
15647 }
15648 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
15649 SWIG_POINTER_EXCEPTION | 0)) == -1)
15650 SWIG_fail;
15651 if (arg5 == NULL) {
15652 PyErr_SetString(PyExc_TypeError,"null reference");
15653 SWIG_fail;
15654 }
15655 if (obj5) {
15656 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
15657 SWIG_POINTER_EXCEPTION | 0)) == -1)
15658 SWIG_fail;
15659 if (arg6 == NULL) {
15660 PyErr_SetString(PyExc_TypeError,"null reference");
15661 SWIG_fail;
15662 }
15663 }
15664 if (obj6) {
15665 arg7 = (wxItemKind) SWIG_AsInt(obj6);
15666 if (PyErr_Occurred()) SWIG_fail;
15667 }
15668 if (obj7) {
15669 {
15670 arg8 = wxString_in_helper(obj7);
15671 if (arg8 == NULL) SWIG_fail;
15672 temp8 = True;
15673 }
15674 }
15675 if (obj8) {
15676 {
15677 arg9 = wxString_in_helper(obj8);
15678 if (arg9 == NULL) SWIG_fail;
15679 temp9 = True;
15680 }
15681 }
15682 if (obj9) {
15683 arg10 = obj9;
15684 }
15685 {
15686 PyThreadState* __tstate = wxPyBeginAllowThreads();
15687 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);
15688
15689 wxPyEndAllowThreads(__tstate);
15690 if (PyErr_Occurred()) SWIG_fail;
15691 }
15692 {
15693 resultobj = wxPyMake_wxObject(result);
15694 }
15695 {
15696 if (temp4)
15697 delete arg4;
15698 }
15699 {
15700 if (temp8)
15701 delete arg8;
15702 }
15703 {
15704 if (temp9)
15705 delete arg9;
15706 }
15707 return resultobj;
15708 fail:
15709 {
15710 if (temp4)
15711 delete arg4;
15712 }
15713 {
15714 if (temp8)
15715 delete arg8;
15716 }
15717 {
15718 if (temp9)
15719 delete arg9;
15720 }
15721 return NULL;
15722 }
15723
15724
15725 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
15726 PyObject *resultobj;
15727 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15728 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
15729 wxToolBarToolBase *result;
15730 PyObject * obj0 = 0 ;
15731 PyObject * obj1 = 0 ;
15732 char *kwnames[] = {
15733 (char *) "self",(char *) "tool", NULL
15734 };
15735
15736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
15737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15739 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
15740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15741 {
15742 PyThreadState* __tstate = wxPyBeginAllowThreads();
15743 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
15744
15745 wxPyEndAllowThreads(__tstate);
15746 if (PyErr_Occurred()) SWIG_fail;
15747 }
15748 {
15749 resultobj = wxPyMake_wxObject(result);
15750 }
15751 return resultobj;
15752 fail:
15753 return NULL;
15754 }
15755
15756
15757 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
15758 PyObject *resultobj;
15759 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15760 size_t arg2 ;
15761 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
15762 wxToolBarToolBase *result;
15763 PyObject * obj0 = 0 ;
15764 PyObject * obj1 = 0 ;
15765 PyObject * obj2 = 0 ;
15766 char *kwnames[] = {
15767 (char *) "self",(char *) "pos",(char *) "tool", NULL
15768 };
15769
15770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15773 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
15774 if (PyErr_Occurred()) SWIG_fail;
15775 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
15776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15777 {
15778 PyThreadState* __tstate = wxPyBeginAllowThreads();
15779 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
15780
15781 wxPyEndAllowThreads(__tstate);
15782 if (PyErr_Occurred()) SWIG_fail;
15783 }
15784 {
15785 resultobj = wxPyMake_wxObject(result);
15786 }
15787 return resultobj;
15788 fail:
15789 return NULL;
15790 }
15791
15792
15793 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
15794 PyObject *resultobj;
15795 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15796 wxControl *arg2 = (wxControl *) 0 ;
15797 wxToolBarToolBase *result;
15798 PyObject * obj0 = 0 ;
15799 PyObject * obj1 = 0 ;
15800 char *kwnames[] = {
15801 (char *) "self",(char *) "control", NULL
15802 };
15803
15804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
15805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15807 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
15808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15809 {
15810 PyThreadState* __tstate = wxPyBeginAllowThreads();
15811 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
15812
15813 wxPyEndAllowThreads(__tstate);
15814 if (PyErr_Occurred()) SWIG_fail;
15815 }
15816 {
15817 resultobj = wxPyMake_wxObject(result);
15818 }
15819 return resultobj;
15820 fail:
15821 return NULL;
15822 }
15823
15824
15825 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
15826 PyObject *resultobj;
15827 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15828 size_t arg2 ;
15829 wxControl *arg3 = (wxControl *) 0 ;
15830 wxToolBarToolBase *result;
15831 PyObject * obj0 = 0 ;
15832 PyObject * obj1 = 0 ;
15833 PyObject * obj2 = 0 ;
15834 char *kwnames[] = {
15835 (char *) "self",(char *) "pos",(char *) "control", NULL
15836 };
15837
15838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
15839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15841 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
15842 if (PyErr_Occurred()) SWIG_fail;
15843 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
15844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15845 {
15846 PyThreadState* __tstate = wxPyBeginAllowThreads();
15847 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
15848
15849 wxPyEndAllowThreads(__tstate);
15850 if (PyErr_Occurred()) SWIG_fail;
15851 }
15852 {
15853 resultobj = wxPyMake_wxObject(result);
15854 }
15855 return resultobj;
15856 fail:
15857 return NULL;
15858 }
15859
15860
15861 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
15862 PyObject *resultobj;
15863 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15864 int arg2 ;
15865 wxControl *result;
15866 PyObject * obj0 = 0 ;
15867 PyObject * obj1 = 0 ;
15868 char *kwnames[] = {
15869 (char *) "self",(char *) "id", NULL
15870 };
15871
15872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
15873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15875 arg2 = (int) SWIG_AsInt(obj1);
15876 if (PyErr_Occurred()) SWIG_fail;
15877 {
15878 PyThreadState* __tstate = wxPyBeginAllowThreads();
15879 result = (wxControl *)(arg1)->FindControl(arg2);
15880
15881 wxPyEndAllowThreads(__tstate);
15882 if (PyErr_Occurred()) SWIG_fail;
15883 }
15884 {
15885 resultobj = wxPyMake_wxObject(result);
15886 }
15887 return resultobj;
15888 fail:
15889 return NULL;
15890 }
15891
15892
15893 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
15894 PyObject *resultobj;
15895 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15896 wxToolBarToolBase *result;
15897 PyObject * obj0 = 0 ;
15898 char *kwnames[] = {
15899 (char *) "self", NULL
15900 };
15901
15902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
15903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15905 {
15906 PyThreadState* __tstate = wxPyBeginAllowThreads();
15907 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
15908
15909 wxPyEndAllowThreads(__tstate);
15910 if (PyErr_Occurred()) SWIG_fail;
15911 }
15912 {
15913 resultobj = wxPyMake_wxObject(result);
15914 }
15915 return resultobj;
15916 fail:
15917 return NULL;
15918 }
15919
15920
15921 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
15922 PyObject *resultobj;
15923 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15924 size_t arg2 ;
15925 wxToolBarToolBase *result;
15926 PyObject * obj0 = 0 ;
15927 PyObject * obj1 = 0 ;
15928 char *kwnames[] = {
15929 (char *) "self",(char *) "pos", NULL
15930 };
15931
15932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
15933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15935 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
15936 if (PyErr_Occurred()) SWIG_fail;
15937 {
15938 PyThreadState* __tstate = wxPyBeginAllowThreads();
15939 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
15940
15941 wxPyEndAllowThreads(__tstate);
15942 if (PyErr_Occurred()) SWIG_fail;
15943 }
15944 {
15945 resultobj = wxPyMake_wxObject(result);
15946 }
15947 return resultobj;
15948 fail:
15949 return NULL;
15950 }
15951
15952
15953 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
15954 PyObject *resultobj;
15955 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15956 int arg2 ;
15957 wxToolBarToolBase *result;
15958 PyObject * obj0 = 0 ;
15959 PyObject * obj1 = 0 ;
15960 char *kwnames[] = {
15961 (char *) "self",(char *) "id", NULL
15962 };
15963
15964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
15965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15967 arg2 = (int) SWIG_AsInt(obj1);
15968 if (PyErr_Occurred()) SWIG_fail;
15969 {
15970 PyThreadState* __tstate = wxPyBeginAllowThreads();
15971 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
15972
15973 wxPyEndAllowThreads(__tstate);
15974 if (PyErr_Occurred()) SWIG_fail;
15975 }
15976 {
15977 resultobj = wxPyMake_wxObject(result);
15978 }
15979 return resultobj;
15980 fail:
15981 return NULL;
15982 }
15983
15984
15985 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
15986 PyObject *resultobj;
15987 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15988 size_t arg2 ;
15989 bool result;
15990 PyObject * obj0 = 0 ;
15991 PyObject * obj1 = 0 ;
15992 char *kwnames[] = {
15993 (char *) "self",(char *) "pos", NULL
15994 };
15995
15996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
15997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15999 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16000 if (PyErr_Occurred()) SWIG_fail;
16001 {
16002 PyThreadState* __tstate = wxPyBeginAllowThreads();
16003 result = (bool)(arg1)->DeleteToolByPos(arg2);
16004
16005 wxPyEndAllowThreads(__tstate);
16006 if (PyErr_Occurred()) SWIG_fail;
16007 }
16008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16009 return resultobj;
16010 fail:
16011 return NULL;
16012 }
16013
16014
16015 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
16016 PyObject *resultobj;
16017 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16018 int arg2 ;
16019 bool result;
16020 PyObject * obj0 = 0 ;
16021 PyObject * obj1 = 0 ;
16022 char *kwnames[] = {
16023 (char *) "self",(char *) "id", NULL
16024 };
16025
16026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
16027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16029 arg2 = (int) SWIG_AsInt(obj1);
16030 if (PyErr_Occurred()) SWIG_fail;
16031 {
16032 PyThreadState* __tstate = wxPyBeginAllowThreads();
16033 result = (bool)(arg1)->DeleteTool(arg2);
16034
16035 wxPyEndAllowThreads(__tstate);
16036 if (PyErr_Occurred()) SWIG_fail;
16037 }
16038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16039 return resultobj;
16040 fail:
16041 return NULL;
16042 }
16043
16044
16045 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
16046 PyObject *resultobj;
16047 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16048 PyObject * obj0 = 0 ;
16049 char *kwnames[] = {
16050 (char *) "self", NULL
16051 };
16052
16053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
16054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16056 {
16057 PyThreadState* __tstate = wxPyBeginAllowThreads();
16058 (arg1)->ClearTools();
16059
16060 wxPyEndAllowThreads(__tstate);
16061 if (PyErr_Occurred()) SWIG_fail;
16062 }
16063 Py_INCREF(Py_None); resultobj = Py_None;
16064 return resultobj;
16065 fail:
16066 return NULL;
16067 }
16068
16069
16070 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
16071 PyObject *resultobj;
16072 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16073 bool result;
16074 PyObject * obj0 = 0 ;
16075 char *kwnames[] = {
16076 (char *) "self", NULL
16077 };
16078
16079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
16080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16082 {
16083 PyThreadState* __tstate = wxPyBeginAllowThreads();
16084 result = (bool)(arg1)->Realize();
16085
16086 wxPyEndAllowThreads(__tstate);
16087 if (PyErr_Occurred()) SWIG_fail;
16088 }
16089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16090 return resultobj;
16091 fail:
16092 return NULL;
16093 }
16094
16095
16096 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
16097 PyObject *resultobj;
16098 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16099 int arg2 ;
16100 bool arg3 ;
16101 PyObject * obj0 = 0 ;
16102 PyObject * obj1 = 0 ;
16103 PyObject * obj2 = 0 ;
16104 char *kwnames[] = {
16105 (char *) "self",(char *) "id",(char *) "enable", NULL
16106 };
16107
16108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16111 arg2 = (int) SWIG_AsInt(obj1);
16112 if (PyErr_Occurred()) SWIG_fail;
16113 arg3 = (bool) SWIG_AsBool(obj2);
16114 if (PyErr_Occurred()) SWIG_fail;
16115 {
16116 PyThreadState* __tstate = wxPyBeginAllowThreads();
16117 (arg1)->EnableTool(arg2,arg3);
16118
16119 wxPyEndAllowThreads(__tstate);
16120 if (PyErr_Occurred()) SWIG_fail;
16121 }
16122 Py_INCREF(Py_None); resultobj = Py_None;
16123 return resultobj;
16124 fail:
16125 return NULL;
16126 }
16127
16128
16129 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
16130 PyObject *resultobj;
16131 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16132 int arg2 ;
16133 bool arg3 ;
16134 PyObject * obj0 = 0 ;
16135 PyObject * obj1 = 0 ;
16136 PyObject * obj2 = 0 ;
16137 char *kwnames[] = {
16138 (char *) "self",(char *) "id",(char *) "toggle", NULL
16139 };
16140
16141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16144 arg2 = (int) SWIG_AsInt(obj1);
16145 if (PyErr_Occurred()) SWIG_fail;
16146 arg3 = (bool) SWIG_AsBool(obj2);
16147 if (PyErr_Occurred()) SWIG_fail;
16148 {
16149 PyThreadState* __tstate = wxPyBeginAllowThreads();
16150 (arg1)->ToggleTool(arg2,arg3);
16151
16152 wxPyEndAllowThreads(__tstate);
16153 if (PyErr_Occurred()) SWIG_fail;
16154 }
16155 Py_INCREF(Py_None); resultobj = Py_None;
16156 return resultobj;
16157 fail:
16158 return NULL;
16159 }
16160
16161
16162 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
16163 PyObject *resultobj;
16164 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16165 int arg2 ;
16166 bool arg3 ;
16167 PyObject * obj0 = 0 ;
16168 PyObject * obj1 = 0 ;
16169 PyObject * obj2 = 0 ;
16170 char *kwnames[] = {
16171 (char *) "self",(char *) "id",(char *) "toggle", NULL
16172 };
16173
16174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
16175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16177 arg2 = (int) SWIG_AsInt(obj1);
16178 if (PyErr_Occurred()) SWIG_fail;
16179 arg3 = (bool) SWIG_AsBool(obj2);
16180 if (PyErr_Occurred()) SWIG_fail;
16181 {
16182 PyThreadState* __tstate = wxPyBeginAllowThreads();
16183 (arg1)->SetToggle(arg2,arg3);
16184
16185 wxPyEndAllowThreads(__tstate);
16186 if (PyErr_Occurred()) SWIG_fail;
16187 }
16188 Py_INCREF(Py_None); resultobj = Py_None;
16189 return resultobj;
16190 fail:
16191 return NULL;
16192 }
16193
16194
16195 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
16196 PyObject *resultobj;
16197 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16198 int arg2 ;
16199 PyObject *result;
16200 PyObject * obj0 = 0 ;
16201 PyObject * obj1 = 0 ;
16202 char *kwnames[] = {
16203 (char *) "self",(char *) "id", NULL
16204 };
16205
16206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
16207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16209 arg2 = (int) SWIG_AsInt(obj1);
16210 if (PyErr_Occurred()) SWIG_fail;
16211 {
16212 PyThreadState* __tstate = wxPyBeginAllowThreads();
16213 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16214
16215 wxPyEndAllowThreads(__tstate);
16216 if (PyErr_Occurred()) SWIG_fail;
16217 }
16218 resultobj = result;
16219 return resultobj;
16220 fail:
16221 return NULL;
16222 }
16223
16224
16225 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
16226 PyObject *resultobj;
16227 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16228 int arg2 ;
16229 PyObject *arg3 = (PyObject *) 0 ;
16230 PyObject * obj0 = 0 ;
16231 PyObject * obj1 = 0 ;
16232 PyObject * obj2 = 0 ;
16233 char *kwnames[] = {
16234 (char *) "self",(char *) "id",(char *) "clientData", NULL
16235 };
16236
16237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
16238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16240 arg2 = (int) SWIG_AsInt(obj1);
16241 if (PyErr_Occurred()) SWIG_fail;
16242 arg3 = obj2;
16243 {
16244 PyThreadState* __tstate = wxPyBeginAllowThreads();
16245 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16246
16247 wxPyEndAllowThreads(__tstate);
16248 if (PyErr_Occurred()) SWIG_fail;
16249 }
16250 Py_INCREF(Py_None); resultobj = Py_None;
16251 return resultobj;
16252 fail:
16253 return NULL;
16254 }
16255
16256
16257 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
16258 PyObject *resultobj;
16259 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16260 int arg2 ;
16261 int result;
16262 PyObject * obj0 = 0 ;
16263 PyObject * obj1 = 0 ;
16264 char *kwnames[] = {
16265 (char *) "self",(char *) "id", NULL
16266 };
16267
16268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
16269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16271 arg2 = (int) SWIG_AsInt(obj1);
16272 if (PyErr_Occurred()) SWIG_fail;
16273 {
16274 PyThreadState* __tstate = wxPyBeginAllowThreads();
16275 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16276
16277 wxPyEndAllowThreads(__tstate);
16278 if (PyErr_Occurred()) SWIG_fail;
16279 }
16280 resultobj = SWIG_FromInt((int)result);
16281 return resultobj;
16282 fail:
16283 return NULL;
16284 }
16285
16286
16287 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
16288 PyObject *resultobj;
16289 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16290 int arg2 ;
16291 bool result;
16292 PyObject * obj0 = 0 ;
16293 PyObject * obj1 = 0 ;
16294 char *kwnames[] = {
16295 (char *) "self",(char *) "id", NULL
16296 };
16297
16298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
16299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16301 arg2 = (int) SWIG_AsInt(obj1);
16302 if (PyErr_Occurred()) SWIG_fail;
16303 {
16304 PyThreadState* __tstate = wxPyBeginAllowThreads();
16305 result = (bool)(arg1)->GetToolState(arg2);
16306
16307 wxPyEndAllowThreads(__tstate);
16308 if (PyErr_Occurred()) SWIG_fail;
16309 }
16310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16311 return resultobj;
16312 fail:
16313 return NULL;
16314 }
16315
16316
16317 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
16318 PyObject *resultobj;
16319 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16320 int arg2 ;
16321 bool result;
16322 PyObject * obj0 = 0 ;
16323 PyObject * obj1 = 0 ;
16324 char *kwnames[] = {
16325 (char *) "self",(char *) "id", NULL
16326 };
16327
16328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
16329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16331 arg2 = (int) SWIG_AsInt(obj1);
16332 if (PyErr_Occurred()) SWIG_fail;
16333 {
16334 PyThreadState* __tstate = wxPyBeginAllowThreads();
16335 result = (bool)(arg1)->GetToolEnabled(arg2);
16336
16337 wxPyEndAllowThreads(__tstate);
16338 if (PyErr_Occurred()) SWIG_fail;
16339 }
16340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16341 return resultobj;
16342 fail:
16343 return NULL;
16344 }
16345
16346
16347 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16348 PyObject *resultobj;
16349 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16350 int arg2 ;
16351 wxString *arg3 = 0 ;
16352 bool temp3 = False ;
16353 PyObject * obj0 = 0 ;
16354 PyObject * obj1 = 0 ;
16355 PyObject * obj2 = 0 ;
16356 char *kwnames[] = {
16357 (char *) "self",(char *) "id",(char *) "helpString", NULL
16358 };
16359
16360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16363 arg2 = (int) SWIG_AsInt(obj1);
16364 if (PyErr_Occurred()) SWIG_fail;
16365 {
16366 arg3 = wxString_in_helper(obj2);
16367 if (arg3 == NULL) SWIG_fail;
16368 temp3 = True;
16369 }
16370 {
16371 PyThreadState* __tstate = wxPyBeginAllowThreads();
16372 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16373
16374 wxPyEndAllowThreads(__tstate);
16375 if (PyErr_Occurred()) SWIG_fail;
16376 }
16377 Py_INCREF(Py_None); resultobj = Py_None;
16378 {
16379 if (temp3)
16380 delete arg3;
16381 }
16382 return resultobj;
16383 fail:
16384 {
16385 if (temp3)
16386 delete arg3;
16387 }
16388 return NULL;
16389 }
16390
16391
16392 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16393 PyObject *resultobj;
16394 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16395 int arg2 ;
16396 wxString result;
16397 PyObject * obj0 = 0 ;
16398 PyObject * obj1 = 0 ;
16399 char *kwnames[] = {
16400 (char *) "self",(char *) "id", NULL
16401 };
16402
16403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
16404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16406 arg2 = (int) SWIG_AsInt(obj1);
16407 if (PyErr_Occurred()) SWIG_fail;
16408 {
16409 PyThreadState* __tstate = wxPyBeginAllowThreads();
16410 result = (arg1)->GetToolShortHelp(arg2);
16411
16412 wxPyEndAllowThreads(__tstate);
16413 if (PyErr_Occurred()) SWIG_fail;
16414 }
16415 {
16416 #if wxUSE_UNICODE
16417 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16418 #else
16419 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16420 #endif
16421 }
16422 return resultobj;
16423 fail:
16424 return NULL;
16425 }
16426
16427
16428 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16429 PyObject *resultobj;
16430 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16431 int arg2 ;
16432 wxString *arg3 = 0 ;
16433 bool temp3 = False ;
16434 PyObject * obj0 = 0 ;
16435 PyObject * obj1 = 0 ;
16436 PyObject * obj2 = 0 ;
16437 char *kwnames[] = {
16438 (char *) "self",(char *) "id",(char *) "helpString", NULL
16439 };
16440
16441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16444 arg2 = (int) SWIG_AsInt(obj1);
16445 if (PyErr_Occurred()) SWIG_fail;
16446 {
16447 arg3 = wxString_in_helper(obj2);
16448 if (arg3 == NULL) SWIG_fail;
16449 temp3 = True;
16450 }
16451 {
16452 PyThreadState* __tstate = wxPyBeginAllowThreads();
16453 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16454
16455 wxPyEndAllowThreads(__tstate);
16456 if (PyErr_Occurred()) SWIG_fail;
16457 }
16458 Py_INCREF(Py_None); resultobj = Py_None;
16459 {
16460 if (temp3)
16461 delete arg3;
16462 }
16463 return resultobj;
16464 fail:
16465 {
16466 if (temp3)
16467 delete arg3;
16468 }
16469 return NULL;
16470 }
16471
16472
16473 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16474 PyObject *resultobj;
16475 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16476 int arg2 ;
16477 wxString result;
16478 PyObject * obj0 = 0 ;
16479 PyObject * obj1 = 0 ;
16480 char *kwnames[] = {
16481 (char *) "self",(char *) "id", NULL
16482 };
16483
16484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
16485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16487 arg2 = (int) SWIG_AsInt(obj1);
16488 if (PyErr_Occurred()) SWIG_fail;
16489 {
16490 PyThreadState* __tstate = wxPyBeginAllowThreads();
16491 result = (arg1)->GetToolLongHelp(arg2);
16492
16493 wxPyEndAllowThreads(__tstate);
16494 if (PyErr_Occurred()) SWIG_fail;
16495 }
16496 {
16497 #if wxUSE_UNICODE
16498 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16499 #else
16500 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16501 #endif
16502 }
16503 return resultobj;
16504 fail:
16505 return NULL;
16506 }
16507
16508
16509 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
16510 PyObject *resultobj;
16511 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16512 int arg2 ;
16513 int arg3 ;
16514 PyObject * obj0 = 0 ;
16515 PyObject * obj1 = 0 ;
16516 PyObject * obj2 = 0 ;
16517 char *kwnames[] = {
16518 (char *) "self",(char *) "x",(char *) "y", NULL
16519 };
16520
16521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
16522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16524 arg2 = (int) SWIG_AsInt(obj1);
16525 if (PyErr_Occurred()) SWIG_fail;
16526 arg3 = (int) SWIG_AsInt(obj2);
16527 if (PyErr_Occurred()) SWIG_fail;
16528 {
16529 PyThreadState* __tstate = wxPyBeginAllowThreads();
16530 (arg1)->SetMargins(arg2,arg3);
16531
16532 wxPyEndAllowThreads(__tstate);
16533 if (PyErr_Occurred()) SWIG_fail;
16534 }
16535 Py_INCREF(Py_None); resultobj = Py_None;
16536 return resultobj;
16537 fail:
16538 return NULL;
16539 }
16540
16541
16542 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
16543 PyObject *resultobj;
16544 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16545 wxSize *arg2 = 0 ;
16546 wxSize temp2 ;
16547 PyObject * obj0 = 0 ;
16548 PyObject * obj1 = 0 ;
16549 char *kwnames[] = {
16550 (char *) "self",(char *) "size", NULL
16551 };
16552
16553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
16554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16556 {
16557 arg2 = &temp2;
16558 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16559 }
16560 {
16561 PyThreadState* __tstate = wxPyBeginAllowThreads();
16562 (arg1)->SetMargins((wxSize const &)*arg2);
16563
16564 wxPyEndAllowThreads(__tstate);
16565 if (PyErr_Occurred()) SWIG_fail;
16566 }
16567 Py_INCREF(Py_None); resultobj = Py_None;
16568 return resultobj;
16569 fail:
16570 return NULL;
16571 }
16572
16573
16574 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
16575 PyObject *resultobj;
16576 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16577 int arg2 ;
16578 PyObject * obj0 = 0 ;
16579 PyObject * obj1 = 0 ;
16580 char *kwnames[] = {
16581 (char *) "self",(char *) "packing", NULL
16582 };
16583
16584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
16585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16587 arg2 = (int) SWIG_AsInt(obj1);
16588 if (PyErr_Occurred()) SWIG_fail;
16589 {
16590 PyThreadState* __tstate = wxPyBeginAllowThreads();
16591 (arg1)->SetToolPacking(arg2);
16592
16593 wxPyEndAllowThreads(__tstate);
16594 if (PyErr_Occurred()) SWIG_fail;
16595 }
16596 Py_INCREF(Py_None); resultobj = Py_None;
16597 return resultobj;
16598 fail:
16599 return NULL;
16600 }
16601
16602
16603 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
16604 PyObject *resultobj;
16605 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16606 int arg2 ;
16607 PyObject * obj0 = 0 ;
16608 PyObject * obj1 = 0 ;
16609 char *kwnames[] = {
16610 (char *) "self",(char *) "separation", NULL
16611 };
16612
16613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
16614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16616 arg2 = (int) SWIG_AsInt(obj1);
16617 if (PyErr_Occurred()) SWIG_fail;
16618 {
16619 PyThreadState* __tstate = wxPyBeginAllowThreads();
16620 (arg1)->SetToolSeparation(arg2);
16621
16622 wxPyEndAllowThreads(__tstate);
16623 if (PyErr_Occurred()) SWIG_fail;
16624 }
16625 Py_INCREF(Py_None); resultobj = Py_None;
16626 return resultobj;
16627 fail:
16628 return NULL;
16629 }
16630
16631
16632 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
16633 PyObject *resultobj;
16634 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16635 wxSize result;
16636 PyObject * obj0 = 0 ;
16637 char *kwnames[] = {
16638 (char *) "self", NULL
16639 };
16640
16641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
16642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16644 {
16645 PyThreadState* __tstate = wxPyBeginAllowThreads();
16646 result = (arg1)->GetToolMargins();
16647
16648 wxPyEndAllowThreads(__tstate);
16649 if (PyErr_Occurred()) SWIG_fail;
16650 }
16651 {
16652 wxSize * resultptr;
16653 resultptr = new wxSize((wxSize &) result);
16654 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16655 }
16656 return resultobj;
16657 fail:
16658 return NULL;
16659 }
16660
16661
16662 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
16663 PyObject *resultobj;
16664 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16665 wxSize result;
16666 PyObject * obj0 = 0 ;
16667 char *kwnames[] = {
16668 (char *) "self", NULL
16669 };
16670
16671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
16672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16674 {
16675 PyThreadState* __tstate = wxPyBeginAllowThreads();
16676 result = (arg1)->GetMargins();
16677
16678 wxPyEndAllowThreads(__tstate);
16679 if (PyErr_Occurred()) SWIG_fail;
16680 }
16681 {
16682 wxSize * resultptr;
16683 resultptr = new wxSize((wxSize &) result);
16684 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16685 }
16686 return resultobj;
16687 fail:
16688 return NULL;
16689 }
16690
16691
16692 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
16693 PyObject *resultobj;
16694 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16695 int result;
16696 PyObject * obj0 = 0 ;
16697 char *kwnames[] = {
16698 (char *) "self", NULL
16699 };
16700
16701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
16702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16704 {
16705 PyThreadState* __tstate = wxPyBeginAllowThreads();
16706 result = (int)(arg1)->GetToolPacking();
16707
16708 wxPyEndAllowThreads(__tstate);
16709 if (PyErr_Occurred()) SWIG_fail;
16710 }
16711 resultobj = SWIG_FromInt((int)result);
16712 return resultobj;
16713 fail:
16714 return NULL;
16715 }
16716
16717
16718 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
16719 PyObject *resultobj;
16720 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16721 int result;
16722 PyObject * obj0 = 0 ;
16723 char *kwnames[] = {
16724 (char *) "self", NULL
16725 };
16726
16727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
16728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16730 {
16731 PyThreadState* __tstate = wxPyBeginAllowThreads();
16732 result = (int)(arg1)->GetToolSeparation();
16733
16734 wxPyEndAllowThreads(__tstate);
16735 if (PyErr_Occurred()) SWIG_fail;
16736 }
16737 resultobj = SWIG_FromInt((int)result);
16738 return resultobj;
16739 fail:
16740 return NULL;
16741 }
16742
16743
16744 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
16745 PyObject *resultobj;
16746 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16747 int arg2 ;
16748 PyObject * obj0 = 0 ;
16749 PyObject * obj1 = 0 ;
16750 char *kwnames[] = {
16751 (char *) "self",(char *) "nRows", NULL
16752 };
16753
16754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
16755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16757 arg2 = (int) SWIG_AsInt(obj1);
16758 if (PyErr_Occurred()) SWIG_fail;
16759 {
16760 PyThreadState* __tstate = wxPyBeginAllowThreads();
16761 (arg1)->SetRows(arg2);
16762
16763 wxPyEndAllowThreads(__tstate);
16764 if (PyErr_Occurred()) SWIG_fail;
16765 }
16766 Py_INCREF(Py_None); resultobj = Py_None;
16767 return resultobj;
16768 fail:
16769 return NULL;
16770 }
16771
16772
16773 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
16774 PyObject *resultobj;
16775 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16776 int arg2 ;
16777 int arg3 ;
16778 PyObject * obj0 = 0 ;
16779 PyObject * obj1 = 0 ;
16780 PyObject * obj2 = 0 ;
16781 char *kwnames[] = {
16782 (char *) "self",(char *) "rows",(char *) "cols", NULL
16783 };
16784
16785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
16786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16788 arg2 = (int) SWIG_AsInt(obj1);
16789 if (PyErr_Occurred()) SWIG_fail;
16790 arg3 = (int) SWIG_AsInt(obj2);
16791 if (PyErr_Occurred()) SWIG_fail;
16792 {
16793 PyThreadState* __tstate = wxPyBeginAllowThreads();
16794 (arg1)->SetMaxRowsCols(arg2,arg3);
16795
16796 wxPyEndAllowThreads(__tstate);
16797 if (PyErr_Occurred()) SWIG_fail;
16798 }
16799 Py_INCREF(Py_None); resultobj = Py_None;
16800 return resultobj;
16801 fail:
16802 return NULL;
16803 }
16804
16805
16806 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
16807 PyObject *resultobj;
16808 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16809 int result;
16810 PyObject * obj0 = 0 ;
16811 char *kwnames[] = {
16812 (char *) "self", NULL
16813 };
16814
16815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
16816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16818 {
16819 PyThreadState* __tstate = wxPyBeginAllowThreads();
16820 result = (int)(arg1)->GetMaxRows();
16821
16822 wxPyEndAllowThreads(__tstate);
16823 if (PyErr_Occurred()) SWIG_fail;
16824 }
16825 resultobj = SWIG_FromInt((int)result);
16826 return resultobj;
16827 fail:
16828 return NULL;
16829 }
16830
16831
16832 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
16833 PyObject *resultobj;
16834 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16835 int result;
16836 PyObject * obj0 = 0 ;
16837 char *kwnames[] = {
16838 (char *) "self", NULL
16839 };
16840
16841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
16842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16844 {
16845 PyThreadState* __tstate = wxPyBeginAllowThreads();
16846 result = (int)(arg1)->GetMaxCols();
16847
16848 wxPyEndAllowThreads(__tstate);
16849 if (PyErr_Occurred()) SWIG_fail;
16850 }
16851 resultobj = SWIG_FromInt((int)result);
16852 return resultobj;
16853 fail:
16854 return NULL;
16855 }
16856
16857
16858 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
16859 PyObject *resultobj;
16860 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16861 wxSize *arg2 = 0 ;
16862 wxSize temp2 ;
16863 PyObject * obj0 = 0 ;
16864 PyObject * obj1 = 0 ;
16865 char *kwnames[] = {
16866 (char *) "self",(char *) "size", NULL
16867 };
16868
16869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
16870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16872 {
16873 arg2 = &temp2;
16874 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16875 }
16876 {
16877 PyThreadState* __tstate = wxPyBeginAllowThreads();
16878 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
16879
16880 wxPyEndAllowThreads(__tstate);
16881 if (PyErr_Occurred()) SWIG_fail;
16882 }
16883 Py_INCREF(Py_None); resultobj = Py_None;
16884 return resultobj;
16885 fail:
16886 return NULL;
16887 }
16888
16889
16890 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
16891 PyObject *resultobj;
16892 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16893 wxSize result;
16894 PyObject * obj0 = 0 ;
16895 char *kwnames[] = {
16896 (char *) "self", NULL
16897 };
16898
16899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
16900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16902 {
16903 PyThreadState* __tstate = wxPyBeginAllowThreads();
16904 result = (arg1)->GetToolBitmapSize();
16905
16906 wxPyEndAllowThreads(__tstate);
16907 if (PyErr_Occurred()) SWIG_fail;
16908 }
16909 {
16910 wxSize * resultptr;
16911 resultptr = new wxSize((wxSize &) result);
16912 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16913 }
16914 return resultobj;
16915 fail:
16916 return NULL;
16917 }
16918
16919
16920 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
16921 PyObject *resultobj;
16922 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16923 wxSize result;
16924 PyObject * obj0 = 0 ;
16925 char *kwnames[] = {
16926 (char *) "self", NULL
16927 };
16928
16929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
16930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16932 {
16933 PyThreadState* __tstate = wxPyBeginAllowThreads();
16934 result = (arg1)->GetToolSize();
16935
16936 wxPyEndAllowThreads(__tstate);
16937 if (PyErr_Occurred()) SWIG_fail;
16938 }
16939 {
16940 wxSize * resultptr;
16941 resultptr = new wxSize((wxSize &) result);
16942 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16943 }
16944 return resultobj;
16945 fail:
16946 return NULL;
16947 }
16948
16949
16950 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16951 PyObject *resultobj;
16952 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16953 int arg2 ;
16954 int arg3 ;
16955 wxToolBarToolBase *result;
16956 PyObject * obj0 = 0 ;
16957 PyObject * obj1 = 0 ;
16958 PyObject * obj2 = 0 ;
16959 char *kwnames[] = {
16960 (char *) "self",(char *) "x",(char *) "y", NULL
16961 };
16962
16963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
16964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16966 arg2 = (int) SWIG_AsInt(obj1);
16967 if (PyErr_Occurred()) SWIG_fail;
16968 arg3 = (int) SWIG_AsInt(obj2);
16969 if (PyErr_Occurred()) SWIG_fail;
16970 {
16971 PyThreadState* __tstate = wxPyBeginAllowThreads();
16972 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
16973
16974 wxPyEndAllowThreads(__tstate);
16975 if (PyErr_Occurred()) SWIG_fail;
16976 }
16977 {
16978 resultobj = wxPyMake_wxObject(result);
16979 }
16980 return resultobj;
16981 fail:
16982 return NULL;
16983 }
16984
16985
16986 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
16987 PyObject *resultobj;
16988 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16989 int arg2 ;
16990 wxToolBarToolBase *result;
16991 PyObject * obj0 = 0 ;
16992 PyObject * obj1 = 0 ;
16993 char *kwnames[] = {
16994 (char *) "self",(char *) "toolid", NULL
16995 };
16996
16997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
16998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17000 arg2 = (int) SWIG_AsInt(obj1);
17001 if (PyErr_Occurred()) SWIG_fail;
17002 {
17003 PyThreadState* __tstate = wxPyBeginAllowThreads();
17004 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
17005
17006 wxPyEndAllowThreads(__tstate);
17007 if (PyErr_Occurred()) SWIG_fail;
17008 }
17009 {
17010 resultobj = wxPyMake_wxObject(result);
17011 }
17012 return resultobj;
17013 fail:
17014 return NULL;
17015 }
17016
17017
17018 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
17019 PyObject *resultobj;
17020 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17021 bool result;
17022 PyObject * obj0 = 0 ;
17023 char *kwnames[] = {
17024 (char *) "self", NULL
17025 };
17026
17027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
17028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17030 {
17031 PyThreadState* __tstate = wxPyBeginAllowThreads();
17032 result = (bool)(arg1)->IsVertical();
17033
17034 wxPyEndAllowThreads(__tstate);
17035 if (PyErr_Occurred()) SWIG_fail;
17036 }
17037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17038 return resultobj;
17039 fail:
17040 return NULL;
17041 }
17042
17043
17044 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
17045 PyObject *obj;
17046 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17047 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
17048 Py_INCREF(obj);
17049 return Py_BuildValue((char *)"");
17050 }
17051 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17052 PyObject *resultobj;
17053 wxWindow *arg1 = (wxWindow *) 0 ;
17054 int arg2 ;
17055 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17056 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17057 wxSize const &arg4_defvalue = wxDefaultSize ;
17058 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17059 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17060 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
17061 wxString *arg6 = (wxString *) &arg6_defvalue ;
17062 wxToolBar *result;
17063 wxPoint temp3 ;
17064 wxSize temp4 ;
17065 bool temp6 = False ;
17066 PyObject * obj0 = 0 ;
17067 PyObject * obj1 = 0 ;
17068 PyObject * obj2 = 0 ;
17069 PyObject * obj3 = 0 ;
17070 PyObject * obj4 = 0 ;
17071 PyObject * obj5 = 0 ;
17072 char *kwnames[] = {
17073 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17074 };
17075
17076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17079 arg2 = (int) SWIG_AsInt(obj1);
17080 if (PyErr_Occurred()) SWIG_fail;
17081 if (obj2) {
17082 {
17083 arg3 = &temp3;
17084 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17085 }
17086 }
17087 if (obj3) {
17088 {
17089 arg4 = &temp4;
17090 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17091 }
17092 }
17093 if (obj4) {
17094 arg5 = (long) SWIG_AsLong(obj4);
17095 if (PyErr_Occurred()) SWIG_fail;
17096 }
17097 if (obj5) {
17098 {
17099 arg6 = wxString_in_helper(obj5);
17100 if (arg6 == NULL) SWIG_fail;
17101 temp6 = True;
17102 }
17103 }
17104 {
17105 PyThreadState* __tstate = wxPyBeginAllowThreads();
17106 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17107
17108 wxPyEndAllowThreads(__tstate);
17109 if (PyErr_Occurred()) SWIG_fail;
17110 }
17111 {
17112 resultobj = wxPyMake_wxObject(result);
17113 }
17114 {
17115 if (temp6)
17116 delete arg6;
17117 }
17118 return resultobj;
17119 fail:
17120 {
17121 if (temp6)
17122 delete arg6;
17123 }
17124 return NULL;
17125 }
17126
17127
17128 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17129 PyObject *resultobj;
17130 wxToolBar *result;
17131 char *kwnames[] = {
17132 NULL
17133 };
17134
17135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
17136 {
17137 PyThreadState* __tstate = wxPyBeginAllowThreads();
17138 result = (wxToolBar *)new wxToolBar();
17139
17140 wxPyEndAllowThreads(__tstate);
17141 if (PyErr_Occurred()) SWIG_fail;
17142 }
17143 {
17144 resultobj = wxPyMake_wxObject(result);
17145 }
17146 return resultobj;
17147 fail:
17148 return NULL;
17149 }
17150
17151
17152 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17153 PyObject *resultobj;
17154 wxToolBar *arg1 = (wxToolBar *) 0 ;
17155 wxWindow *arg2 = (wxWindow *) 0 ;
17156 int arg3 ;
17157 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17158 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17159 wxSize const &arg5_defvalue = wxDefaultSize ;
17160 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17161 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17162 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17163 wxString *arg7 = (wxString *) &arg7_defvalue ;
17164 bool result;
17165 wxPoint temp4 ;
17166 wxSize temp5 ;
17167 bool temp7 = False ;
17168 PyObject * obj0 = 0 ;
17169 PyObject * obj1 = 0 ;
17170 PyObject * obj2 = 0 ;
17171 PyObject * obj3 = 0 ;
17172 PyObject * obj4 = 0 ;
17173 PyObject * obj5 = 0 ;
17174 PyObject * obj6 = 0 ;
17175 char *kwnames[] = {
17176 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17177 };
17178
17179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17182 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17184 arg3 = (int) SWIG_AsInt(obj2);
17185 if (PyErr_Occurred()) SWIG_fail;
17186 if (obj3) {
17187 {
17188 arg4 = &temp4;
17189 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17190 }
17191 }
17192 if (obj4) {
17193 {
17194 arg5 = &temp5;
17195 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17196 }
17197 }
17198 if (obj5) {
17199 arg6 = (long) SWIG_AsLong(obj5);
17200 if (PyErr_Occurred()) SWIG_fail;
17201 }
17202 if (obj6) {
17203 {
17204 arg7 = wxString_in_helper(obj6);
17205 if (arg7 == NULL) SWIG_fail;
17206 temp7 = True;
17207 }
17208 }
17209 {
17210 PyThreadState* __tstate = wxPyBeginAllowThreads();
17211 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17212
17213 wxPyEndAllowThreads(__tstate);
17214 if (PyErr_Occurred()) SWIG_fail;
17215 }
17216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17217 {
17218 if (temp7)
17219 delete arg7;
17220 }
17221 return resultobj;
17222 fail:
17223 {
17224 if (temp7)
17225 delete arg7;
17226 }
17227 return NULL;
17228 }
17229
17230
17231 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17232 PyObject *resultobj;
17233 wxToolBar *arg1 = (wxToolBar *) 0 ;
17234 int arg2 ;
17235 int arg3 ;
17236 wxToolBarToolBase *result;
17237 PyObject * obj0 = 0 ;
17238 PyObject * obj1 = 0 ;
17239 PyObject * obj2 = 0 ;
17240 char *kwnames[] = {
17241 (char *) "self",(char *) "x",(char *) "y", NULL
17242 };
17243
17244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17247 arg2 = (int) SWIG_AsInt(obj1);
17248 if (PyErr_Occurred()) SWIG_fail;
17249 arg3 = (int) SWIG_AsInt(obj2);
17250 if (PyErr_Occurred()) SWIG_fail;
17251 {
17252 PyThreadState* __tstate = wxPyBeginAllowThreads();
17253 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17254
17255 wxPyEndAllowThreads(__tstate);
17256 if (PyErr_Occurred()) SWIG_fail;
17257 }
17258 {
17259 resultobj = wxPyMake_wxObject(result);
17260 }
17261 return resultobj;
17262 fail:
17263 return NULL;
17264 }
17265
17266
17267 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
17268 PyObject *obj;
17269 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17270 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17271 Py_INCREF(obj);
17272 return Py_BuildValue((char *)"");
17273 }
17274 static int _wrap_ListCtrlNameStr_set(PyObject *) {
17275 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17276 return 1;
17277 }
17278
17279
17280 static PyObject *_wrap_ListCtrlNameStr_get() {
17281 PyObject *pyobj;
17282
17283 {
17284 #if wxUSE_UNICODE
17285 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17286 #else
17287 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17288 #endif
17289 }
17290 return pyobj;
17291 }
17292
17293
17294 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
17295 PyObject *resultobj;
17296 wxColour const &arg1_defvalue = wxNullColour ;
17297 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17298 wxColour const &arg2_defvalue = wxNullColour ;
17299 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17300 wxFont const &arg3_defvalue = wxNullFont ;
17301 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17302 wxListItemAttr *result;
17303 wxColour temp1 ;
17304 wxColour temp2 ;
17305 PyObject * obj0 = 0 ;
17306 PyObject * obj1 = 0 ;
17307 PyObject * obj2 = 0 ;
17308 char *kwnames[] = {
17309 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17310 };
17311
17312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17313 if (obj0) {
17314 {
17315 arg1 = &temp1;
17316 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17317 }
17318 }
17319 if (obj1) {
17320 {
17321 arg2 = &temp2;
17322 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17323 }
17324 }
17325 if (obj2) {
17326 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
17327 SWIG_POINTER_EXCEPTION | 0)) == -1)
17328 SWIG_fail;
17329 if (arg3 == NULL) {
17330 PyErr_SetString(PyExc_TypeError,"null reference");
17331 SWIG_fail;
17332 }
17333 }
17334 {
17335 PyThreadState* __tstate = wxPyBeginAllowThreads();
17336 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17337
17338 wxPyEndAllowThreads(__tstate);
17339 if (PyErr_Occurred()) SWIG_fail;
17340 }
17341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
17342 return resultobj;
17343 fail:
17344 return NULL;
17345 }
17346
17347
17348 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
17349 PyObject *resultobj;
17350 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17351 wxColour *arg2 = 0 ;
17352 wxColour temp2 ;
17353 PyObject * obj0 = 0 ;
17354 PyObject * obj1 = 0 ;
17355 char *kwnames[] = {
17356 (char *) "self",(char *) "colText", NULL
17357 };
17358
17359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17362 {
17363 arg2 = &temp2;
17364 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17365 }
17366 {
17367 PyThreadState* __tstate = wxPyBeginAllowThreads();
17368 (arg1)->SetTextColour((wxColour const &)*arg2);
17369
17370 wxPyEndAllowThreads(__tstate);
17371 if (PyErr_Occurred()) SWIG_fail;
17372 }
17373 Py_INCREF(Py_None); resultobj = Py_None;
17374 return resultobj;
17375 fail:
17376 return NULL;
17377 }
17378
17379
17380 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17381 PyObject *resultobj;
17382 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17383 wxColour *arg2 = 0 ;
17384 wxColour temp2 ;
17385 PyObject * obj0 = 0 ;
17386 PyObject * obj1 = 0 ;
17387 char *kwnames[] = {
17388 (char *) "self",(char *) "colBack", NULL
17389 };
17390
17391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17394 {
17395 arg2 = &temp2;
17396 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17397 }
17398 {
17399 PyThreadState* __tstate = wxPyBeginAllowThreads();
17400 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17401
17402 wxPyEndAllowThreads(__tstate);
17403 if (PyErr_Occurred()) SWIG_fail;
17404 }
17405 Py_INCREF(Py_None); resultobj = Py_None;
17406 return resultobj;
17407 fail:
17408 return NULL;
17409 }
17410
17411
17412 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
17413 PyObject *resultobj;
17414 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17415 wxFont *arg2 = 0 ;
17416 PyObject * obj0 = 0 ;
17417 PyObject * obj1 = 0 ;
17418 char *kwnames[] = {
17419 (char *) "self",(char *) "font", NULL
17420 };
17421
17422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
17423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17425 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17426 SWIG_POINTER_EXCEPTION | 0)) == -1)
17427 SWIG_fail;
17428 if (arg2 == NULL) {
17429 PyErr_SetString(PyExc_TypeError,"null reference");
17430 SWIG_fail;
17431 }
17432 {
17433 PyThreadState* __tstate = wxPyBeginAllowThreads();
17434 (arg1)->SetFont((wxFont const &)*arg2);
17435
17436 wxPyEndAllowThreads(__tstate);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 }
17439 Py_INCREF(Py_None); resultobj = Py_None;
17440 return resultobj;
17441 fail:
17442 return NULL;
17443 }
17444
17445
17446 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
17447 PyObject *resultobj;
17448 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17449 bool result;
17450 PyObject * obj0 = 0 ;
17451 char *kwnames[] = {
17452 (char *) "self", NULL
17453 };
17454
17455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
17456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17458 {
17459 PyThreadState* __tstate = wxPyBeginAllowThreads();
17460 result = (bool)(arg1)->HasTextColour();
17461
17462 wxPyEndAllowThreads(__tstate);
17463 if (PyErr_Occurred()) SWIG_fail;
17464 }
17465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17466 return resultobj;
17467 fail:
17468 return NULL;
17469 }
17470
17471
17472 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17473 PyObject *resultobj;
17474 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17475 bool result;
17476 PyObject * obj0 = 0 ;
17477 char *kwnames[] = {
17478 (char *) "self", NULL
17479 };
17480
17481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
17482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17484 {
17485 PyThreadState* __tstate = wxPyBeginAllowThreads();
17486 result = (bool)(arg1)->HasBackgroundColour();
17487
17488 wxPyEndAllowThreads(__tstate);
17489 if (PyErr_Occurred()) SWIG_fail;
17490 }
17491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17492 return resultobj;
17493 fail:
17494 return NULL;
17495 }
17496
17497
17498 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
17499 PyObject *resultobj;
17500 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17501 bool result;
17502 PyObject * obj0 = 0 ;
17503 char *kwnames[] = {
17504 (char *) "self", NULL
17505 };
17506
17507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
17508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17510 {
17511 PyThreadState* __tstate = wxPyBeginAllowThreads();
17512 result = (bool)(arg1)->HasFont();
17513
17514 wxPyEndAllowThreads(__tstate);
17515 if (PyErr_Occurred()) SWIG_fail;
17516 }
17517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17518 return resultobj;
17519 fail:
17520 return NULL;
17521 }
17522
17523
17524 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
17525 PyObject *resultobj;
17526 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17527 wxColour result;
17528 PyObject * obj0 = 0 ;
17529 char *kwnames[] = {
17530 (char *) "self", NULL
17531 };
17532
17533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
17534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17536 {
17537 PyThreadState* __tstate = wxPyBeginAllowThreads();
17538 result = (arg1)->GetTextColour();
17539
17540 wxPyEndAllowThreads(__tstate);
17541 if (PyErr_Occurred()) SWIG_fail;
17542 }
17543 {
17544 wxColour * resultptr;
17545 resultptr = new wxColour((wxColour &) result);
17546 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17547 }
17548 return resultobj;
17549 fail:
17550 return NULL;
17551 }
17552
17553
17554 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17555 PyObject *resultobj;
17556 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17557 wxColour result;
17558 PyObject * obj0 = 0 ;
17559 char *kwnames[] = {
17560 (char *) "self", NULL
17561 };
17562
17563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
17564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17566 {
17567 PyThreadState* __tstate = wxPyBeginAllowThreads();
17568 result = (arg1)->GetBackgroundColour();
17569
17570 wxPyEndAllowThreads(__tstate);
17571 if (PyErr_Occurred()) SWIG_fail;
17572 }
17573 {
17574 wxColour * resultptr;
17575 resultptr = new wxColour((wxColour &) result);
17576 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17577 }
17578 return resultobj;
17579 fail:
17580 return NULL;
17581 }
17582
17583
17584 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
17585 PyObject *resultobj;
17586 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17587 wxFont result;
17588 PyObject * obj0 = 0 ;
17589 char *kwnames[] = {
17590 (char *) "self", NULL
17591 };
17592
17593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
17594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17596 {
17597 PyThreadState* __tstate = wxPyBeginAllowThreads();
17598 result = (arg1)->GetFont();
17599
17600 wxPyEndAllowThreads(__tstate);
17601 if (PyErr_Occurred()) SWIG_fail;
17602 }
17603 {
17604 wxFont * resultptr;
17605 resultptr = new wxFont((wxFont &) result);
17606 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
17607 }
17608 return resultobj;
17609 fail:
17610 return NULL;
17611 }
17612
17613
17614 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
17615 PyObject *resultobj;
17616 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17617 PyObject * obj0 = 0 ;
17618 char *kwnames[] = {
17619 (char *) "self", NULL
17620 };
17621
17622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
17623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17625 {
17626 PyThreadState* __tstate = wxPyBeginAllowThreads();
17627 wxListItemAttr_Destroy(arg1);
17628
17629 wxPyEndAllowThreads(__tstate);
17630 if (PyErr_Occurred()) SWIG_fail;
17631 }
17632 Py_INCREF(Py_None); resultobj = Py_None;
17633 return resultobj;
17634 fail:
17635 return NULL;
17636 }
17637
17638
17639 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
17640 PyObject *obj;
17641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17642 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
17643 Py_INCREF(obj);
17644 return Py_BuildValue((char *)"");
17645 }
17646 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
17647 PyObject *resultobj;
17648 wxListItem *result;
17649 char *kwnames[] = {
17650 NULL
17651 };
17652
17653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
17654 {
17655 PyThreadState* __tstate = wxPyBeginAllowThreads();
17656 result = (wxListItem *)new wxListItem();
17657
17658 wxPyEndAllowThreads(__tstate);
17659 if (PyErr_Occurred()) SWIG_fail;
17660 }
17661 {
17662 resultobj = wxPyMake_wxObject(result);
17663 }
17664 return resultobj;
17665 fail:
17666 return NULL;
17667 }
17668
17669
17670 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
17671 PyObject *resultobj;
17672 wxListItem *arg1 = (wxListItem *) 0 ;
17673 PyObject * obj0 = 0 ;
17674 char *kwnames[] = {
17675 (char *) "self", NULL
17676 };
17677
17678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
17679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17681 {
17682 PyThreadState* __tstate = wxPyBeginAllowThreads();
17683 delete arg1;
17684
17685 wxPyEndAllowThreads(__tstate);
17686 if (PyErr_Occurred()) SWIG_fail;
17687 }
17688 Py_INCREF(Py_None); resultobj = Py_None;
17689 return resultobj;
17690 fail:
17691 return NULL;
17692 }
17693
17694
17695 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
17696 PyObject *resultobj;
17697 wxListItem *arg1 = (wxListItem *) 0 ;
17698 PyObject * obj0 = 0 ;
17699 char *kwnames[] = {
17700 (char *) "self", NULL
17701 };
17702
17703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
17704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17706 {
17707 PyThreadState* __tstate = wxPyBeginAllowThreads();
17708 (arg1)->Clear();
17709
17710 wxPyEndAllowThreads(__tstate);
17711 if (PyErr_Occurred()) SWIG_fail;
17712 }
17713 Py_INCREF(Py_None); resultobj = Py_None;
17714 return resultobj;
17715 fail:
17716 return NULL;
17717 }
17718
17719
17720 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17721 PyObject *resultobj;
17722 wxListItem *arg1 = (wxListItem *) 0 ;
17723 PyObject * obj0 = 0 ;
17724 char *kwnames[] = {
17725 (char *) "self", NULL
17726 };
17727
17728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
17729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17731 {
17732 PyThreadState* __tstate = wxPyBeginAllowThreads();
17733 (arg1)->ClearAttributes();
17734
17735 wxPyEndAllowThreads(__tstate);
17736 if (PyErr_Occurred()) SWIG_fail;
17737 }
17738 Py_INCREF(Py_None); resultobj = Py_None;
17739 return resultobj;
17740 fail:
17741 return NULL;
17742 }
17743
17744
17745 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
17746 PyObject *resultobj;
17747 wxListItem *arg1 = (wxListItem *) 0 ;
17748 long arg2 ;
17749 PyObject * obj0 = 0 ;
17750 PyObject * obj1 = 0 ;
17751 char *kwnames[] = {
17752 (char *) "self",(char *) "mask", NULL
17753 };
17754
17755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
17756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17758 arg2 = (long) SWIG_AsLong(obj1);
17759 if (PyErr_Occurred()) SWIG_fail;
17760 {
17761 PyThreadState* __tstate = wxPyBeginAllowThreads();
17762 (arg1)->SetMask(arg2);
17763
17764 wxPyEndAllowThreads(__tstate);
17765 if (PyErr_Occurred()) SWIG_fail;
17766 }
17767 Py_INCREF(Py_None); resultobj = Py_None;
17768 return resultobj;
17769 fail:
17770 return NULL;
17771 }
17772
17773
17774 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
17775 PyObject *resultobj;
17776 wxListItem *arg1 = (wxListItem *) 0 ;
17777 long arg2 ;
17778 PyObject * obj0 = 0 ;
17779 PyObject * obj1 = 0 ;
17780 char *kwnames[] = {
17781 (char *) "self",(char *) "id", NULL
17782 };
17783
17784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
17785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17787 arg2 = (long) SWIG_AsLong(obj1);
17788 if (PyErr_Occurred()) SWIG_fail;
17789 {
17790 PyThreadState* __tstate = wxPyBeginAllowThreads();
17791 (arg1)->SetId(arg2);
17792
17793 wxPyEndAllowThreads(__tstate);
17794 if (PyErr_Occurred()) SWIG_fail;
17795 }
17796 Py_INCREF(Py_None); resultobj = Py_None;
17797 return resultobj;
17798 fail:
17799 return NULL;
17800 }
17801
17802
17803 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
17804 PyObject *resultobj;
17805 wxListItem *arg1 = (wxListItem *) 0 ;
17806 int arg2 ;
17807 PyObject * obj0 = 0 ;
17808 PyObject * obj1 = 0 ;
17809 char *kwnames[] = {
17810 (char *) "self",(char *) "col", NULL
17811 };
17812
17813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
17814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17816 arg2 = (int) SWIG_AsInt(obj1);
17817 if (PyErr_Occurred()) SWIG_fail;
17818 {
17819 PyThreadState* __tstate = wxPyBeginAllowThreads();
17820 (arg1)->SetColumn(arg2);
17821
17822 wxPyEndAllowThreads(__tstate);
17823 if (PyErr_Occurred()) SWIG_fail;
17824 }
17825 Py_INCREF(Py_None); resultobj = Py_None;
17826 return resultobj;
17827 fail:
17828 return NULL;
17829 }
17830
17831
17832 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
17833 PyObject *resultobj;
17834 wxListItem *arg1 = (wxListItem *) 0 ;
17835 long arg2 ;
17836 PyObject * obj0 = 0 ;
17837 PyObject * obj1 = 0 ;
17838 char *kwnames[] = {
17839 (char *) "self",(char *) "state", NULL
17840 };
17841
17842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
17843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17845 arg2 = (long) SWIG_AsLong(obj1);
17846 if (PyErr_Occurred()) SWIG_fail;
17847 {
17848 PyThreadState* __tstate = wxPyBeginAllowThreads();
17849 (arg1)->SetState(arg2);
17850
17851 wxPyEndAllowThreads(__tstate);
17852 if (PyErr_Occurred()) SWIG_fail;
17853 }
17854 Py_INCREF(Py_None); resultobj = Py_None;
17855 return resultobj;
17856 fail:
17857 return NULL;
17858 }
17859
17860
17861 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
17862 PyObject *resultobj;
17863 wxListItem *arg1 = (wxListItem *) 0 ;
17864 long arg2 ;
17865 PyObject * obj0 = 0 ;
17866 PyObject * obj1 = 0 ;
17867 char *kwnames[] = {
17868 (char *) "self",(char *) "stateMask", NULL
17869 };
17870
17871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
17872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17874 arg2 = (long) SWIG_AsLong(obj1);
17875 if (PyErr_Occurred()) SWIG_fail;
17876 {
17877 PyThreadState* __tstate = wxPyBeginAllowThreads();
17878 (arg1)->SetStateMask(arg2);
17879
17880 wxPyEndAllowThreads(__tstate);
17881 if (PyErr_Occurred()) SWIG_fail;
17882 }
17883 Py_INCREF(Py_None); resultobj = Py_None;
17884 return resultobj;
17885 fail:
17886 return NULL;
17887 }
17888
17889
17890 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
17891 PyObject *resultobj;
17892 wxListItem *arg1 = (wxListItem *) 0 ;
17893 wxString *arg2 = 0 ;
17894 bool temp2 = False ;
17895 PyObject * obj0 = 0 ;
17896 PyObject * obj1 = 0 ;
17897 char *kwnames[] = {
17898 (char *) "self",(char *) "text", NULL
17899 };
17900
17901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
17902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17904 {
17905 arg2 = wxString_in_helper(obj1);
17906 if (arg2 == NULL) SWIG_fail;
17907 temp2 = True;
17908 }
17909 {
17910 PyThreadState* __tstate = wxPyBeginAllowThreads();
17911 (arg1)->SetText((wxString const &)*arg2);
17912
17913 wxPyEndAllowThreads(__tstate);
17914 if (PyErr_Occurred()) SWIG_fail;
17915 }
17916 Py_INCREF(Py_None); resultobj = Py_None;
17917 {
17918 if (temp2)
17919 delete arg2;
17920 }
17921 return resultobj;
17922 fail:
17923 {
17924 if (temp2)
17925 delete arg2;
17926 }
17927 return NULL;
17928 }
17929
17930
17931 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
17932 PyObject *resultobj;
17933 wxListItem *arg1 = (wxListItem *) 0 ;
17934 int arg2 ;
17935 PyObject * obj0 = 0 ;
17936 PyObject * obj1 = 0 ;
17937 char *kwnames[] = {
17938 (char *) "self",(char *) "image", NULL
17939 };
17940
17941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
17942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17944 arg2 = (int) SWIG_AsInt(obj1);
17945 if (PyErr_Occurred()) SWIG_fail;
17946 {
17947 PyThreadState* __tstate = wxPyBeginAllowThreads();
17948 (arg1)->SetImage(arg2);
17949
17950 wxPyEndAllowThreads(__tstate);
17951 if (PyErr_Occurred()) SWIG_fail;
17952 }
17953 Py_INCREF(Py_None); resultobj = Py_None;
17954 return resultobj;
17955 fail:
17956 return NULL;
17957 }
17958
17959
17960 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
17961 PyObject *resultobj;
17962 wxListItem *arg1 = (wxListItem *) 0 ;
17963 long arg2 ;
17964 PyObject * obj0 = 0 ;
17965 PyObject * obj1 = 0 ;
17966 char *kwnames[] = {
17967 (char *) "self",(char *) "data", NULL
17968 };
17969
17970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
17971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17973 arg2 = (long) SWIG_AsLong(obj1);
17974 if (PyErr_Occurred()) SWIG_fail;
17975 {
17976 PyThreadState* __tstate = wxPyBeginAllowThreads();
17977 (arg1)->SetData(arg2);
17978
17979 wxPyEndAllowThreads(__tstate);
17980 if (PyErr_Occurred()) SWIG_fail;
17981 }
17982 Py_INCREF(Py_None); resultobj = Py_None;
17983 return resultobj;
17984 fail:
17985 return NULL;
17986 }
17987
17988
17989 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
17990 PyObject *resultobj;
17991 wxListItem *arg1 = (wxListItem *) 0 ;
17992 int arg2 ;
17993 PyObject * obj0 = 0 ;
17994 PyObject * obj1 = 0 ;
17995 char *kwnames[] = {
17996 (char *) "self",(char *) "width", NULL
17997 };
17998
17999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
18000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18002 arg2 = (int) SWIG_AsInt(obj1);
18003 if (PyErr_Occurred()) SWIG_fail;
18004 {
18005 PyThreadState* __tstate = wxPyBeginAllowThreads();
18006 (arg1)->SetWidth(arg2);
18007
18008 wxPyEndAllowThreads(__tstate);
18009 if (PyErr_Occurred()) SWIG_fail;
18010 }
18011 Py_INCREF(Py_None); resultobj = Py_None;
18012 return resultobj;
18013 fail:
18014 return NULL;
18015 }
18016
18017
18018 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
18019 PyObject *resultobj;
18020 wxListItem *arg1 = (wxListItem *) 0 ;
18021 int arg2 ;
18022 PyObject * obj0 = 0 ;
18023 PyObject * obj1 = 0 ;
18024 char *kwnames[] = {
18025 (char *) "self",(char *) "align", NULL
18026 };
18027
18028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
18029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18031 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
18032 if (PyErr_Occurred()) SWIG_fail;
18033 {
18034 PyThreadState* __tstate = wxPyBeginAllowThreads();
18035 (arg1)->SetAlign((wxListColumnFormat )arg2);
18036
18037 wxPyEndAllowThreads(__tstate);
18038 if (PyErr_Occurred()) SWIG_fail;
18039 }
18040 Py_INCREF(Py_None); resultobj = Py_None;
18041 return resultobj;
18042 fail:
18043 return NULL;
18044 }
18045
18046
18047 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
18048 PyObject *resultobj;
18049 wxListItem *arg1 = (wxListItem *) 0 ;
18050 wxColour *arg2 = 0 ;
18051 wxColour temp2 ;
18052 PyObject * obj0 = 0 ;
18053 PyObject * obj1 = 0 ;
18054 char *kwnames[] = {
18055 (char *) "self",(char *) "colText", NULL
18056 };
18057
18058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18061 {
18062 arg2 = &temp2;
18063 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18064 }
18065 {
18066 PyThreadState* __tstate = wxPyBeginAllowThreads();
18067 (arg1)->SetTextColour((wxColour const &)*arg2);
18068
18069 wxPyEndAllowThreads(__tstate);
18070 if (PyErr_Occurred()) SWIG_fail;
18071 }
18072 Py_INCREF(Py_None); resultobj = Py_None;
18073 return resultobj;
18074 fail:
18075 return NULL;
18076 }
18077
18078
18079 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
18080 PyObject *resultobj;
18081 wxListItem *arg1 = (wxListItem *) 0 ;
18082 wxColour *arg2 = 0 ;
18083 wxColour temp2 ;
18084 PyObject * obj0 = 0 ;
18085 PyObject * obj1 = 0 ;
18086 char *kwnames[] = {
18087 (char *) "self",(char *) "colBack", NULL
18088 };
18089
18090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18093 {
18094 arg2 = &temp2;
18095 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18096 }
18097 {
18098 PyThreadState* __tstate = wxPyBeginAllowThreads();
18099 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18100
18101 wxPyEndAllowThreads(__tstate);
18102 if (PyErr_Occurred()) SWIG_fail;
18103 }
18104 Py_INCREF(Py_None); resultobj = Py_None;
18105 return resultobj;
18106 fail:
18107 return NULL;
18108 }
18109
18110
18111 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
18112 PyObject *resultobj;
18113 wxListItem *arg1 = (wxListItem *) 0 ;
18114 wxFont *arg2 = 0 ;
18115 PyObject * obj0 = 0 ;
18116 PyObject * obj1 = 0 ;
18117 char *kwnames[] = {
18118 (char *) "self",(char *) "font", NULL
18119 };
18120
18121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
18122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18124 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18125 SWIG_POINTER_EXCEPTION | 0)) == -1)
18126 SWIG_fail;
18127 if (arg2 == NULL) {
18128 PyErr_SetString(PyExc_TypeError,"null reference");
18129 SWIG_fail;
18130 }
18131 {
18132 PyThreadState* __tstate = wxPyBeginAllowThreads();
18133 (arg1)->SetFont((wxFont const &)*arg2);
18134
18135 wxPyEndAllowThreads(__tstate);
18136 if (PyErr_Occurred()) SWIG_fail;
18137 }
18138 Py_INCREF(Py_None); resultobj = Py_None;
18139 return resultobj;
18140 fail:
18141 return NULL;
18142 }
18143
18144
18145 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
18146 PyObject *resultobj;
18147 wxListItem *arg1 = (wxListItem *) 0 ;
18148 long result;
18149 PyObject * obj0 = 0 ;
18150 char *kwnames[] = {
18151 (char *) "self", NULL
18152 };
18153
18154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
18155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18157 {
18158 PyThreadState* __tstate = wxPyBeginAllowThreads();
18159 result = (long)(arg1)->GetMask();
18160
18161 wxPyEndAllowThreads(__tstate);
18162 if (PyErr_Occurred()) SWIG_fail;
18163 }
18164 resultobj = SWIG_FromLong((long)result);
18165 return resultobj;
18166 fail:
18167 return NULL;
18168 }
18169
18170
18171 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
18172 PyObject *resultobj;
18173 wxListItem *arg1 = (wxListItem *) 0 ;
18174 long result;
18175 PyObject * obj0 = 0 ;
18176 char *kwnames[] = {
18177 (char *) "self", NULL
18178 };
18179
18180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
18181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18183 {
18184 PyThreadState* __tstate = wxPyBeginAllowThreads();
18185 result = (long)(arg1)->GetId();
18186
18187 wxPyEndAllowThreads(__tstate);
18188 if (PyErr_Occurred()) SWIG_fail;
18189 }
18190 resultobj = SWIG_FromLong((long)result);
18191 return resultobj;
18192 fail:
18193 return NULL;
18194 }
18195
18196
18197 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
18198 PyObject *resultobj;
18199 wxListItem *arg1 = (wxListItem *) 0 ;
18200 int result;
18201 PyObject * obj0 = 0 ;
18202 char *kwnames[] = {
18203 (char *) "self", NULL
18204 };
18205
18206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
18207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18209 {
18210 PyThreadState* __tstate = wxPyBeginAllowThreads();
18211 result = (int)(arg1)->GetColumn();
18212
18213 wxPyEndAllowThreads(__tstate);
18214 if (PyErr_Occurred()) SWIG_fail;
18215 }
18216 resultobj = SWIG_FromInt((int)result);
18217 return resultobj;
18218 fail:
18219 return NULL;
18220 }
18221
18222
18223 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
18224 PyObject *resultobj;
18225 wxListItem *arg1 = (wxListItem *) 0 ;
18226 long result;
18227 PyObject * obj0 = 0 ;
18228 char *kwnames[] = {
18229 (char *) "self", NULL
18230 };
18231
18232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
18233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18235 {
18236 PyThreadState* __tstate = wxPyBeginAllowThreads();
18237 result = (long)(arg1)->GetState();
18238
18239 wxPyEndAllowThreads(__tstate);
18240 if (PyErr_Occurred()) SWIG_fail;
18241 }
18242 resultobj = SWIG_FromLong((long)result);
18243 return resultobj;
18244 fail:
18245 return NULL;
18246 }
18247
18248
18249 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
18250 PyObject *resultobj;
18251 wxListItem *arg1 = (wxListItem *) 0 ;
18252 wxString *result;
18253 PyObject * obj0 = 0 ;
18254 char *kwnames[] = {
18255 (char *) "self", NULL
18256 };
18257
18258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
18259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18261 {
18262 PyThreadState* __tstate = wxPyBeginAllowThreads();
18263 {
18264 wxString const &_result_ref = (arg1)->GetText();
18265 result = (wxString *) &_result_ref;
18266 }
18267
18268 wxPyEndAllowThreads(__tstate);
18269 if (PyErr_Occurred()) SWIG_fail;
18270 }
18271 {
18272 #if wxUSE_UNICODE
18273 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18274 #else
18275 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18276 #endif
18277 }
18278 return resultobj;
18279 fail:
18280 return NULL;
18281 }
18282
18283
18284 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
18285 PyObject *resultobj;
18286 wxListItem *arg1 = (wxListItem *) 0 ;
18287 int result;
18288 PyObject * obj0 = 0 ;
18289 char *kwnames[] = {
18290 (char *) "self", NULL
18291 };
18292
18293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
18294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18296 {
18297 PyThreadState* __tstate = wxPyBeginAllowThreads();
18298 result = (int)(arg1)->GetImage();
18299
18300 wxPyEndAllowThreads(__tstate);
18301 if (PyErr_Occurred()) SWIG_fail;
18302 }
18303 resultobj = SWIG_FromInt((int)result);
18304 return resultobj;
18305 fail:
18306 return NULL;
18307 }
18308
18309
18310 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
18311 PyObject *resultobj;
18312 wxListItem *arg1 = (wxListItem *) 0 ;
18313 long result;
18314 PyObject * obj0 = 0 ;
18315 char *kwnames[] = {
18316 (char *) "self", NULL
18317 };
18318
18319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
18320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18322 {
18323 PyThreadState* __tstate = wxPyBeginAllowThreads();
18324 result = (long)(arg1)->GetData();
18325
18326 wxPyEndAllowThreads(__tstate);
18327 if (PyErr_Occurred()) SWIG_fail;
18328 }
18329 resultobj = SWIG_FromLong((long)result);
18330 return resultobj;
18331 fail:
18332 return NULL;
18333 }
18334
18335
18336 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
18337 PyObject *resultobj;
18338 wxListItem *arg1 = (wxListItem *) 0 ;
18339 int result;
18340 PyObject * obj0 = 0 ;
18341 char *kwnames[] = {
18342 (char *) "self", NULL
18343 };
18344
18345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
18346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18348 {
18349 PyThreadState* __tstate = wxPyBeginAllowThreads();
18350 result = (int)(arg1)->GetWidth();
18351
18352 wxPyEndAllowThreads(__tstate);
18353 if (PyErr_Occurred()) SWIG_fail;
18354 }
18355 resultobj = SWIG_FromInt((int)result);
18356 return resultobj;
18357 fail:
18358 return NULL;
18359 }
18360
18361
18362 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
18363 PyObject *resultobj;
18364 wxListItem *arg1 = (wxListItem *) 0 ;
18365 int result;
18366 PyObject * obj0 = 0 ;
18367 char *kwnames[] = {
18368 (char *) "self", NULL
18369 };
18370
18371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
18372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18374 {
18375 PyThreadState* __tstate = wxPyBeginAllowThreads();
18376 result = (int)(arg1)->GetAlign();
18377
18378 wxPyEndAllowThreads(__tstate);
18379 if (PyErr_Occurred()) SWIG_fail;
18380 }
18381 resultobj = SWIG_FromInt((int)result);
18382 return resultobj;
18383 fail:
18384 return NULL;
18385 }
18386
18387
18388 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18389 PyObject *resultobj;
18390 wxListItem *arg1 = (wxListItem *) 0 ;
18391 wxListItemAttr *result;
18392 PyObject * obj0 = 0 ;
18393 char *kwnames[] = {
18394 (char *) "self", NULL
18395 };
18396
18397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
18398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18400 {
18401 PyThreadState* __tstate = wxPyBeginAllowThreads();
18402 result = (wxListItemAttr *)(arg1)->GetAttributes();
18403
18404 wxPyEndAllowThreads(__tstate);
18405 if (PyErr_Occurred()) SWIG_fail;
18406 }
18407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
18408 return resultobj;
18409 fail:
18410 return NULL;
18411 }
18412
18413
18414 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18415 PyObject *resultobj;
18416 wxListItem *arg1 = (wxListItem *) 0 ;
18417 bool result;
18418 PyObject * obj0 = 0 ;
18419 char *kwnames[] = {
18420 (char *) "self", NULL
18421 };
18422
18423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
18424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18426 {
18427 PyThreadState* __tstate = wxPyBeginAllowThreads();
18428 result = (bool)(arg1)->HasAttributes();
18429
18430 wxPyEndAllowThreads(__tstate);
18431 if (PyErr_Occurred()) SWIG_fail;
18432 }
18433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18434 return resultobj;
18435 fail:
18436 return NULL;
18437 }
18438
18439
18440 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
18441 PyObject *resultobj;
18442 wxListItem *arg1 = (wxListItem *) 0 ;
18443 wxColour result;
18444 PyObject * obj0 = 0 ;
18445 char *kwnames[] = {
18446 (char *) "self", NULL
18447 };
18448
18449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
18450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18452 {
18453 PyThreadState* __tstate = wxPyBeginAllowThreads();
18454 result = ((wxListItem const *)arg1)->GetTextColour();
18455
18456 wxPyEndAllowThreads(__tstate);
18457 if (PyErr_Occurred()) SWIG_fail;
18458 }
18459 {
18460 wxColour * resultptr;
18461 resultptr = new wxColour((wxColour &) result);
18462 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18463 }
18464 return resultobj;
18465 fail:
18466 return NULL;
18467 }
18468
18469
18470 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
18471 PyObject *resultobj;
18472 wxListItem *arg1 = (wxListItem *) 0 ;
18473 wxColour result;
18474 PyObject * obj0 = 0 ;
18475 char *kwnames[] = {
18476 (char *) "self", NULL
18477 };
18478
18479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
18480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18482 {
18483 PyThreadState* __tstate = wxPyBeginAllowThreads();
18484 result = ((wxListItem const *)arg1)->GetBackgroundColour();
18485
18486 wxPyEndAllowThreads(__tstate);
18487 if (PyErr_Occurred()) SWIG_fail;
18488 }
18489 {
18490 wxColour * resultptr;
18491 resultptr = new wxColour((wxColour &) result);
18492 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18493 }
18494 return resultobj;
18495 fail:
18496 return NULL;
18497 }
18498
18499
18500 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
18501 PyObject *resultobj;
18502 wxListItem *arg1 = (wxListItem *) 0 ;
18503 wxFont result;
18504 PyObject * obj0 = 0 ;
18505 char *kwnames[] = {
18506 (char *) "self", NULL
18507 };
18508
18509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
18510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18512 {
18513 PyThreadState* __tstate = wxPyBeginAllowThreads();
18514 result = ((wxListItem const *)arg1)->GetFont();
18515
18516 wxPyEndAllowThreads(__tstate);
18517 if (PyErr_Occurred()) SWIG_fail;
18518 }
18519 {
18520 wxFont * resultptr;
18521 resultptr = new wxFont((wxFont &) result);
18522 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
18523 }
18524 return resultobj;
18525 fail:
18526 return NULL;
18527 }
18528
18529
18530 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
18531 PyObject *resultobj;
18532 wxListItem *arg1 = (wxListItem *) 0 ;
18533 long arg2 ;
18534 PyObject * obj0 = 0 ;
18535 PyObject * obj1 = 0 ;
18536 char *kwnames[] = {
18537 (char *) "self",(char *) "m_mask", NULL
18538 };
18539
18540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
18541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18543 arg2 = (long) SWIG_AsLong(obj1);
18544 if (PyErr_Occurred()) SWIG_fail;
18545 if (arg1) (arg1)->m_mask = arg2;
18546
18547 Py_INCREF(Py_None); resultobj = Py_None;
18548 return resultobj;
18549 fail:
18550 return NULL;
18551 }
18552
18553
18554 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
18555 PyObject *resultobj;
18556 wxListItem *arg1 = (wxListItem *) 0 ;
18557 long result;
18558 PyObject * obj0 = 0 ;
18559 char *kwnames[] = {
18560 (char *) "self", NULL
18561 };
18562
18563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
18564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18566 result = (long) ((arg1)->m_mask);
18567
18568 resultobj = SWIG_FromLong((long)result);
18569 return resultobj;
18570 fail:
18571 return NULL;
18572 }
18573
18574
18575 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
18576 PyObject *resultobj;
18577 wxListItem *arg1 = (wxListItem *) 0 ;
18578 long arg2 ;
18579 PyObject * obj0 = 0 ;
18580 PyObject * obj1 = 0 ;
18581 char *kwnames[] = {
18582 (char *) "self",(char *) "m_itemId", NULL
18583 };
18584
18585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
18586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18588 arg2 = (long) SWIG_AsLong(obj1);
18589 if (PyErr_Occurred()) SWIG_fail;
18590 if (arg1) (arg1)->m_itemId = arg2;
18591
18592 Py_INCREF(Py_None); resultobj = Py_None;
18593 return resultobj;
18594 fail:
18595 return NULL;
18596 }
18597
18598
18599 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
18600 PyObject *resultobj;
18601 wxListItem *arg1 = (wxListItem *) 0 ;
18602 long result;
18603 PyObject * obj0 = 0 ;
18604 char *kwnames[] = {
18605 (char *) "self", NULL
18606 };
18607
18608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
18609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18611 result = (long) ((arg1)->m_itemId);
18612
18613 resultobj = SWIG_FromLong((long)result);
18614 return resultobj;
18615 fail:
18616 return NULL;
18617 }
18618
18619
18620 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
18621 PyObject *resultobj;
18622 wxListItem *arg1 = (wxListItem *) 0 ;
18623 int arg2 ;
18624 PyObject * obj0 = 0 ;
18625 PyObject * obj1 = 0 ;
18626 char *kwnames[] = {
18627 (char *) "self",(char *) "m_col", NULL
18628 };
18629
18630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
18631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18633 arg2 = (int) SWIG_AsInt(obj1);
18634 if (PyErr_Occurred()) SWIG_fail;
18635 if (arg1) (arg1)->m_col = arg2;
18636
18637 Py_INCREF(Py_None); resultobj = Py_None;
18638 return resultobj;
18639 fail:
18640 return NULL;
18641 }
18642
18643
18644 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
18645 PyObject *resultobj;
18646 wxListItem *arg1 = (wxListItem *) 0 ;
18647 int result;
18648 PyObject * obj0 = 0 ;
18649 char *kwnames[] = {
18650 (char *) "self", NULL
18651 };
18652
18653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
18654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18656 result = (int) ((arg1)->m_col);
18657
18658 resultobj = SWIG_FromInt((int)result);
18659 return resultobj;
18660 fail:
18661 return NULL;
18662 }
18663
18664
18665 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
18666 PyObject *resultobj;
18667 wxListItem *arg1 = (wxListItem *) 0 ;
18668 long arg2 ;
18669 PyObject * obj0 = 0 ;
18670 PyObject * obj1 = 0 ;
18671 char *kwnames[] = {
18672 (char *) "self",(char *) "m_state", NULL
18673 };
18674
18675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
18676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18678 arg2 = (long) SWIG_AsLong(obj1);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 if (arg1) (arg1)->m_state = arg2;
18681
18682 Py_INCREF(Py_None); resultobj = Py_None;
18683 return resultobj;
18684 fail:
18685 return NULL;
18686 }
18687
18688
18689 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
18690 PyObject *resultobj;
18691 wxListItem *arg1 = (wxListItem *) 0 ;
18692 long result;
18693 PyObject * obj0 = 0 ;
18694 char *kwnames[] = {
18695 (char *) "self", NULL
18696 };
18697
18698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
18699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18701 result = (long) ((arg1)->m_state);
18702
18703 resultobj = SWIG_FromLong((long)result);
18704 return resultobj;
18705 fail:
18706 return NULL;
18707 }
18708
18709
18710 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
18711 PyObject *resultobj;
18712 wxListItem *arg1 = (wxListItem *) 0 ;
18713 long arg2 ;
18714 PyObject * obj0 = 0 ;
18715 PyObject * obj1 = 0 ;
18716 char *kwnames[] = {
18717 (char *) "self",(char *) "m_stateMask", NULL
18718 };
18719
18720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
18721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18723 arg2 = (long) SWIG_AsLong(obj1);
18724 if (PyErr_Occurred()) SWIG_fail;
18725 if (arg1) (arg1)->m_stateMask = arg2;
18726
18727 Py_INCREF(Py_None); resultobj = Py_None;
18728 return resultobj;
18729 fail:
18730 return NULL;
18731 }
18732
18733
18734 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
18735 PyObject *resultobj;
18736 wxListItem *arg1 = (wxListItem *) 0 ;
18737 long result;
18738 PyObject * obj0 = 0 ;
18739 char *kwnames[] = {
18740 (char *) "self", NULL
18741 };
18742
18743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
18744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18746 result = (long) ((arg1)->m_stateMask);
18747
18748 resultobj = SWIG_FromLong((long)result);
18749 return resultobj;
18750 fail:
18751 return NULL;
18752 }
18753
18754
18755 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
18756 PyObject *resultobj;
18757 wxListItem *arg1 = (wxListItem *) 0 ;
18758 wxString *arg2 = (wxString *) 0 ;
18759 bool temp2 = False ;
18760 PyObject * obj0 = 0 ;
18761 PyObject * obj1 = 0 ;
18762 char *kwnames[] = {
18763 (char *) "self",(char *) "m_text", NULL
18764 };
18765
18766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
18767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18769 {
18770 arg2 = wxString_in_helper(obj1);
18771 if (arg2 == NULL) SWIG_fail;
18772 temp2 = True;
18773 }
18774 if (arg1) (arg1)->m_text = *arg2;
18775
18776 Py_INCREF(Py_None); resultobj = Py_None;
18777 {
18778 if (temp2)
18779 delete arg2;
18780 }
18781 return resultobj;
18782 fail:
18783 {
18784 if (temp2)
18785 delete arg2;
18786 }
18787 return NULL;
18788 }
18789
18790
18791 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
18792 PyObject *resultobj;
18793 wxListItem *arg1 = (wxListItem *) 0 ;
18794 wxString *result;
18795 PyObject * obj0 = 0 ;
18796 char *kwnames[] = {
18797 (char *) "self", NULL
18798 };
18799
18800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
18801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18803 result = (wxString *)& ((arg1)->m_text);
18804
18805 {
18806 #if wxUSE_UNICODE
18807 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18808 #else
18809 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18810 #endif
18811 }
18812 return resultobj;
18813 fail:
18814 return NULL;
18815 }
18816
18817
18818 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
18819 PyObject *resultobj;
18820 wxListItem *arg1 = (wxListItem *) 0 ;
18821 int arg2 ;
18822 PyObject * obj0 = 0 ;
18823 PyObject * obj1 = 0 ;
18824 char *kwnames[] = {
18825 (char *) "self",(char *) "m_image", NULL
18826 };
18827
18828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
18829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18831 arg2 = (int) SWIG_AsInt(obj1);
18832 if (PyErr_Occurred()) SWIG_fail;
18833 if (arg1) (arg1)->m_image = arg2;
18834
18835 Py_INCREF(Py_None); resultobj = Py_None;
18836 return resultobj;
18837 fail:
18838 return NULL;
18839 }
18840
18841
18842 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
18843 PyObject *resultobj;
18844 wxListItem *arg1 = (wxListItem *) 0 ;
18845 int result;
18846 PyObject * obj0 = 0 ;
18847 char *kwnames[] = {
18848 (char *) "self", NULL
18849 };
18850
18851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
18852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18854 result = (int) ((arg1)->m_image);
18855
18856 resultobj = SWIG_FromInt((int)result);
18857 return resultobj;
18858 fail:
18859 return NULL;
18860 }
18861
18862
18863 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
18864 PyObject *resultobj;
18865 wxListItem *arg1 = (wxListItem *) 0 ;
18866 long arg2 ;
18867 PyObject * obj0 = 0 ;
18868 PyObject * obj1 = 0 ;
18869 char *kwnames[] = {
18870 (char *) "self",(char *) "m_data", NULL
18871 };
18872
18873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
18874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18876 arg2 = (long) SWIG_AsLong(obj1);
18877 if (PyErr_Occurred()) SWIG_fail;
18878 if (arg1) (arg1)->m_data = arg2;
18879
18880 Py_INCREF(Py_None); resultobj = Py_None;
18881 return resultobj;
18882 fail:
18883 return NULL;
18884 }
18885
18886
18887 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
18888 PyObject *resultobj;
18889 wxListItem *arg1 = (wxListItem *) 0 ;
18890 long result;
18891 PyObject * obj0 = 0 ;
18892 char *kwnames[] = {
18893 (char *) "self", NULL
18894 };
18895
18896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
18897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18899 result = (long) ((arg1)->m_data);
18900
18901 resultobj = SWIG_FromLong((long)result);
18902 return resultobj;
18903 fail:
18904 return NULL;
18905 }
18906
18907
18908 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
18909 PyObject *resultobj;
18910 wxListItem *arg1 = (wxListItem *) 0 ;
18911 int arg2 ;
18912 PyObject * obj0 = 0 ;
18913 PyObject * obj1 = 0 ;
18914 char *kwnames[] = {
18915 (char *) "self",(char *) "m_format", NULL
18916 };
18917
18918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
18919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18921 arg2 = (int) SWIG_AsInt(obj1);
18922 if (PyErr_Occurred()) SWIG_fail;
18923 if (arg1) (arg1)->m_format = arg2;
18924
18925 Py_INCREF(Py_None); resultobj = Py_None;
18926 return resultobj;
18927 fail:
18928 return NULL;
18929 }
18930
18931
18932 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
18933 PyObject *resultobj;
18934 wxListItem *arg1 = (wxListItem *) 0 ;
18935 int result;
18936 PyObject * obj0 = 0 ;
18937 char *kwnames[] = {
18938 (char *) "self", NULL
18939 };
18940
18941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
18942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18944 result = (int) ((arg1)->m_format);
18945
18946 resultobj = SWIG_FromInt((int)result);
18947 return resultobj;
18948 fail:
18949 return NULL;
18950 }
18951
18952
18953 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
18954 PyObject *resultobj;
18955 wxListItem *arg1 = (wxListItem *) 0 ;
18956 int arg2 ;
18957 PyObject * obj0 = 0 ;
18958 PyObject * obj1 = 0 ;
18959 char *kwnames[] = {
18960 (char *) "self",(char *) "m_width", NULL
18961 };
18962
18963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
18964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18966 arg2 = (int) SWIG_AsInt(obj1);
18967 if (PyErr_Occurred()) SWIG_fail;
18968 if (arg1) (arg1)->m_width = arg2;
18969
18970 Py_INCREF(Py_None); resultobj = Py_None;
18971 return resultobj;
18972 fail:
18973 return NULL;
18974 }
18975
18976
18977 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
18978 PyObject *resultobj;
18979 wxListItem *arg1 = (wxListItem *) 0 ;
18980 int result;
18981 PyObject * obj0 = 0 ;
18982 char *kwnames[] = {
18983 (char *) "self", NULL
18984 };
18985
18986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
18987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18989 result = (int) ((arg1)->m_width);
18990
18991 resultobj = SWIG_FromInt((int)result);
18992 return resultobj;
18993 fail:
18994 return NULL;
18995 }
18996
18997
18998 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
18999 PyObject *obj;
19000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19001 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
19002 Py_INCREF(obj);
19003 return Py_BuildValue((char *)"");
19004 }
19005 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
19006 PyObject *resultobj;
19007 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19008 int arg2 = (int) 0 ;
19009 wxListEvent *result;
19010 PyObject * obj0 = 0 ;
19011 PyObject * obj1 = 0 ;
19012 char *kwnames[] = {
19013 (char *) "commandType",(char *) "id", NULL
19014 };
19015
19016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
19017 if (obj0) {
19018 arg1 = (wxEventType) SWIG_AsInt(obj0);
19019 if (PyErr_Occurred()) SWIG_fail;
19020 }
19021 if (obj1) {
19022 arg2 = (int) SWIG_AsInt(obj1);
19023 if (PyErr_Occurred()) SWIG_fail;
19024 }
19025 {
19026 PyThreadState* __tstate = wxPyBeginAllowThreads();
19027 result = (wxListEvent *)new wxListEvent(arg1,arg2);
19028
19029 wxPyEndAllowThreads(__tstate);
19030 if (PyErr_Occurred()) SWIG_fail;
19031 }
19032 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
19033 return resultobj;
19034 fail:
19035 return NULL;
19036 }
19037
19038
19039 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
19040 PyObject *resultobj;
19041 wxListEvent *arg1 = (wxListEvent *) 0 ;
19042 int arg2 ;
19043 PyObject * obj0 = 0 ;
19044 PyObject * obj1 = 0 ;
19045 char *kwnames[] = {
19046 (char *) "self",(char *) "m_code", NULL
19047 };
19048
19049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
19050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19052 arg2 = (int) SWIG_AsInt(obj1);
19053 if (PyErr_Occurred()) SWIG_fail;
19054 if (arg1) (arg1)->m_code = arg2;
19055
19056 Py_INCREF(Py_None); resultobj = Py_None;
19057 return resultobj;
19058 fail:
19059 return NULL;
19060 }
19061
19062
19063 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
19064 PyObject *resultobj;
19065 wxListEvent *arg1 = (wxListEvent *) 0 ;
19066 int result;
19067 PyObject * obj0 = 0 ;
19068 char *kwnames[] = {
19069 (char *) "self", NULL
19070 };
19071
19072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
19073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19075 result = (int) ((arg1)->m_code);
19076
19077 resultobj = SWIG_FromInt((int)result);
19078 return resultobj;
19079 fail:
19080 return NULL;
19081 }
19082
19083
19084 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
19085 PyObject *resultobj;
19086 wxListEvent *arg1 = (wxListEvent *) 0 ;
19087 long arg2 ;
19088 PyObject * obj0 = 0 ;
19089 PyObject * obj1 = 0 ;
19090 char *kwnames[] = {
19091 (char *) "self",(char *) "m_oldItemIndex", NULL
19092 };
19093
19094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19097 arg2 = (long) SWIG_AsLong(obj1);
19098 if (PyErr_Occurred()) SWIG_fail;
19099 if (arg1) (arg1)->m_oldItemIndex = arg2;
19100
19101 Py_INCREF(Py_None); resultobj = Py_None;
19102 return resultobj;
19103 fail:
19104 return NULL;
19105 }
19106
19107
19108 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
19109 PyObject *resultobj;
19110 wxListEvent *arg1 = (wxListEvent *) 0 ;
19111 long result;
19112 PyObject * obj0 = 0 ;
19113 char *kwnames[] = {
19114 (char *) "self", NULL
19115 };
19116
19117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
19118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19120 result = (long) ((arg1)->m_oldItemIndex);
19121
19122 resultobj = SWIG_FromLong((long)result);
19123 return resultobj;
19124 fail:
19125 return NULL;
19126 }
19127
19128
19129 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
19130 PyObject *resultobj;
19131 wxListEvent *arg1 = (wxListEvent *) 0 ;
19132 long arg2 ;
19133 PyObject * obj0 = 0 ;
19134 PyObject * obj1 = 0 ;
19135 char *kwnames[] = {
19136 (char *) "self",(char *) "m_itemIndex", NULL
19137 };
19138
19139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19142 arg2 = (long) SWIG_AsLong(obj1);
19143 if (PyErr_Occurred()) SWIG_fail;
19144 if (arg1) (arg1)->m_itemIndex = arg2;
19145
19146 Py_INCREF(Py_None); resultobj = Py_None;
19147 return resultobj;
19148 fail:
19149 return NULL;
19150 }
19151
19152
19153 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
19154 PyObject *resultobj;
19155 wxListEvent *arg1 = (wxListEvent *) 0 ;
19156 long result;
19157 PyObject * obj0 = 0 ;
19158 char *kwnames[] = {
19159 (char *) "self", NULL
19160 };
19161
19162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
19163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19165 result = (long) ((arg1)->m_itemIndex);
19166
19167 resultobj = SWIG_FromLong((long)result);
19168 return resultobj;
19169 fail:
19170 return NULL;
19171 }
19172
19173
19174 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
19175 PyObject *resultobj;
19176 wxListEvent *arg1 = (wxListEvent *) 0 ;
19177 int arg2 ;
19178 PyObject * obj0 = 0 ;
19179 PyObject * obj1 = 0 ;
19180 char *kwnames[] = {
19181 (char *) "self",(char *) "m_col", NULL
19182 };
19183
19184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19187 arg2 = (int) SWIG_AsInt(obj1);
19188 if (PyErr_Occurred()) SWIG_fail;
19189 if (arg1) (arg1)->m_col = arg2;
19190
19191 Py_INCREF(Py_None); resultobj = Py_None;
19192 return resultobj;
19193 fail:
19194 return NULL;
19195 }
19196
19197
19198 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
19199 PyObject *resultobj;
19200 wxListEvent *arg1 = (wxListEvent *) 0 ;
19201 int result;
19202 PyObject * obj0 = 0 ;
19203 char *kwnames[] = {
19204 (char *) "self", NULL
19205 };
19206
19207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
19208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19210 result = (int) ((arg1)->m_col);
19211
19212 resultobj = SWIG_FromInt((int)result);
19213 return resultobj;
19214 fail:
19215 return NULL;
19216 }
19217
19218
19219 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
19220 PyObject *resultobj;
19221 wxListEvent *arg1 = (wxListEvent *) 0 ;
19222 wxPoint *arg2 = (wxPoint *) 0 ;
19223 PyObject * obj0 = 0 ;
19224 PyObject * obj1 = 0 ;
19225 char *kwnames[] = {
19226 (char *) "self",(char *) "m_pointDrag", NULL
19227 };
19228
19229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
19230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19232 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
19233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19234 if (arg1) (arg1)->m_pointDrag = *arg2;
19235
19236 Py_INCREF(Py_None); resultobj = Py_None;
19237 return resultobj;
19238 fail:
19239 return NULL;
19240 }
19241
19242
19243 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
19244 PyObject *resultobj;
19245 wxListEvent *arg1 = (wxListEvent *) 0 ;
19246 wxPoint *result;
19247 PyObject * obj0 = 0 ;
19248 char *kwnames[] = {
19249 (char *) "self", NULL
19250 };
19251
19252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
19253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19255 result = (wxPoint *)& ((arg1)->m_pointDrag);
19256
19257 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
19258 return resultobj;
19259 fail:
19260 return NULL;
19261 }
19262
19263
19264 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
19265 PyObject *resultobj;
19266 wxListEvent *arg1 = (wxListEvent *) 0 ;
19267 wxListItem *result;
19268 PyObject * obj0 = 0 ;
19269 char *kwnames[] = {
19270 (char *) "self", NULL
19271 };
19272
19273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
19274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19276 result = (wxListItem *)& ((arg1)->m_item);
19277
19278 {
19279 resultobj = wxPyMake_wxObject(result);
19280 }
19281 return resultobj;
19282 fail:
19283 return NULL;
19284 }
19285
19286
19287 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
19288 PyObject *resultobj;
19289 wxListEvent *arg1 = (wxListEvent *) 0 ;
19290 int result;
19291 PyObject * obj0 = 0 ;
19292 char *kwnames[] = {
19293 (char *) "self", NULL
19294 };
19295
19296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
19297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19299 {
19300 PyThreadState* __tstate = wxPyBeginAllowThreads();
19301 result = (int)(arg1)->GetKeyCode();
19302
19303 wxPyEndAllowThreads(__tstate);
19304 if (PyErr_Occurred()) SWIG_fail;
19305 }
19306 resultobj = SWIG_FromInt((int)result);
19307 return resultobj;
19308 fail:
19309 return NULL;
19310 }
19311
19312
19313 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
19314 PyObject *resultobj;
19315 wxListEvent *arg1 = (wxListEvent *) 0 ;
19316 long result;
19317 PyObject * obj0 = 0 ;
19318 char *kwnames[] = {
19319 (char *) "self", NULL
19320 };
19321
19322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
19323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19325 {
19326 PyThreadState* __tstate = wxPyBeginAllowThreads();
19327 result = (long)(arg1)->GetIndex();
19328
19329 wxPyEndAllowThreads(__tstate);
19330 if (PyErr_Occurred()) SWIG_fail;
19331 }
19332 resultobj = SWIG_FromLong((long)result);
19333 return resultobj;
19334 fail:
19335 return NULL;
19336 }
19337
19338
19339 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
19340 PyObject *resultobj;
19341 wxListEvent *arg1 = (wxListEvent *) 0 ;
19342 int result;
19343 PyObject * obj0 = 0 ;
19344 char *kwnames[] = {
19345 (char *) "self", NULL
19346 };
19347
19348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
19349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19351 {
19352 PyThreadState* __tstate = wxPyBeginAllowThreads();
19353 result = (int)(arg1)->GetColumn();
19354
19355 wxPyEndAllowThreads(__tstate);
19356 if (PyErr_Occurred()) SWIG_fail;
19357 }
19358 resultobj = SWIG_FromInt((int)result);
19359 return resultobj;
19360 fail:
19361 return NULL;
19362 }
19363
19364
19365 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
19366 PyObject *resultobj;
19367 wxListEvent *arg1 = (wxListEvent *) 0 ;
19368 wxPoint result;
19369 PyObject * obj0 = 0 ;
19370 char *kwnames[] = {
19371 (char *) "self", NULL
19372 };
19373
19374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
19375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19377 {
19378 PyThreadState* __tstate = wxPyBeginAllowThreads();
19379 result = (arg1)->GetPoint();
19380
19381 wxPyEndAllowThreads(__tstate);
19382 if (PyErr_Occurred()) SWIG_fail;
19383 }
19384 {
19385 wxPoint * resultptr;
19386 resultptr = new wxPoint((wxPoint &) result);
19387 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19388 }
19389 return resultobj;
19390 fail:
19391 return NULL;
19392 }
19393
19394
19395 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
19396 PyObject *resultobj;
19397 wxListEvent *arg1 = (wxListEvent *) 0 ;
19398 wxString *result;
19399 PyObject * obj0 = 0 ;
19400 char *kwnames[] = {
19401 (char *) "self", NULL
19402 };
19403
19404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
19405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19407 {
19408 PyThreadState* __tstate = wxPyBeginAllowThreads();
19409 {
19410 wxString const &_result_ref = (arg1)->GetLabel();
19411 result = (wxString *) &_result_ref;
19412 }
19413
19414 wxPyEndAllowThreads(__tstate);
19415 if (PyErr_Occurred()) SWIG_fail;
19416 }
19417 {
19418 #if wxUSE_UNICODE
19419 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19420 #else
19421 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19422 #endif
19423 }
19424 return resultobj;
19425 fail:
19426 return NULL;
19427 }
19428
19429
19430 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
19431 PyObject *resultobj;
19432 wxListEvent *arg1 = (wxListEvent *) 0 ;
19433 wxString *result;
19434 PyObject * obj0 = 0 ;
19435 char *kwnames[] = {
19436 (char *) "self", NULL
19437 };
19438
19439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
19440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19442 {
19443 PyThreadState* __tstate = wxPyBeginAllowThreads();
19444 {
19445 wxString const &_result_ref = (arg1)->GetText();
19446 result = (wxString *) &_result_ref;
19447 }
19448
19449 wxPyEndAllowThreads(__tstate);
19450 if (PyErr_Occurred()) SWIG_fail;
19451 }
19452 {
19453 #if wxUSE_UNICODE
19454 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19455 #else
19456 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19457 #endif
19458 }
19459 return resultobj;
19460 fail:
19461 return NULL;
19462 }
19463
19464
19465 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
19466 PyObject *resultobj;
19467 wxListEvent *arg1 = (wxListEvent *) 0 ;
19468 int result;
19469 PyObject * obj0 = 0 ;
19470 char *kwnames[] = {
19471 (char *) "self", NULL
19472 };
19473
19474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
19475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19477 {
19478 PyThreadState* __tstate = wxPyBeginAllowThreads();
19479 result = (int)(arg1)->GetImage();
19480
19481 wxPyEndAllowThreads(__tstate);
19482 if (PyErr_Occurred()) SWIG_fail;
19483 }
19484 resultobj = SWIG_FromInt((int)result);
19485 return resultobj;
19486 fail:
19487 return NULL;
19488 }
19489
19490
19491 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
19492 PyObject *resultobj;
19493 wxListEvent *arg1 = (wxListEvent *) 0 ;
19494 long result;
19495 PyObject * obj0 = 0 ;
19496 char *kwnames[] = {
19497 (char *) "self", NULL
19498 };
19499
19500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
19501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19503 {
19504 PyThreadState* __tstate = wxPyBeginAllowThreads();
19505 result = (long)(arg1)->GetData();
19506
19507 wxPyEndAllowThreads(__tstate);
19508 if (PyErr_Occurred()) SWIG_fail;
19509 }
19510 resultobj = SWIG_FromLong((long)result);
19511 return resultobj;
19512 fail:
19513 return NULL;
19514 }
19515
19516
19517 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
19518 PyObject *resultobj;
19519 wxListEvent *arg1 = (wxListEvent *) 0 ;
19520 long result;
19521 PyObject * obj0 = 0 ;
19522 char *kwnames[] = {
19523 (char *) "self", NULL
19524 };
19525
19526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
19527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19529 {
19530 PyThreadState* __tstate = wxPyBeginAllowThreads();
19531 result = (long)(arg1)->GetMask();
19532
19533 wxPyEndAllowThreads(__tstate);
19534 if (PyErr_Occurred()) SWIG_fail;
19535 }
19536 resultobj = SWIG_FromLong((long)result);
19537 return resultobj;
19538 fail:
19539 return NULL;
19540 }
19541
19542
19543 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
19544 PyObject *resultobj;
19545 wxListEvent *arg1 = (wxListEvent *) 0 ;
19546 wxListItem *result;
19547 PyObject * obj0 = 0 ;
19548 char *kwnames[] = {
19549 (char *) "self", NULL
19550 };
19551
19552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
19553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19555 {
19556 PyThreadState* __tstate = wxPyBeginAllowThreads();
19557 {
19558 wxListItem const &_result_ref = (arg1)->GetItem();
19559 result = (wxListItem *) &_result_ref;
19560 }
19561
19562 wxPyEndAllowThreads(__tstate);
19563 if (PyErr_Occurred()) SWIG_fail;
19564 }
19565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
19566 return resultobj;
19567 fail:
19568 return NULL;
19569 }
19570
19571
19572 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
19573 PyObject *resultobj;
19574 wxListEvent *arg1 = (wxListEvent *) 0 ;
19575 long result;
19576 PyObject * obj0 = 0 ;
19577 char *kwnames[] = {
19578 (char *) "self", NULL
19579 };
19580
19581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
19582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19584 {
19585 PyThreadState* __tstate = wxPyBeginAllowThreads();
19586 result = (long)(arg1)->GetCacheFrom();
19587
19588 wxPyEndAllowThreads(__tstate);
19589 if (PyErr_Occurred()) SWIG_fail;
19590 }
19591 resultobj = SWIG_FromLong((long)result);
19592 return resultobj;
19593 fail:
19594 return NULL;
19595 }
19596
19597
19598 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
19599 PyObject *resultobj;
19600 wxListEvent *arg1 = (wxListEvent *) 0 ;
19601 long result;
19602 PyObject * obj0 = 0 ;
19603 char *kwnames[] = {
19604 (char *) "self", NULL
19605 };
19606
19607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
19608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19610 {
19611 PyThreadState* __tstate = wxPyBeginAllowThreads();
19612 result = (long)(arg1)->GetCacheTo();
19613
19614 wxPyEndAllowThreads(__tstate);
19615 if (PyErr_Occurred()) SWIG_fail;
19616 }
19617 resultobj = SWIG_FromLong((long)result);
19618 return resultobj;
19619 fail:
19620 return NULL;
19621 }
19622
19623
19624 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
19625 PyObject *resultobj;
19626 wxListEvent *arg1 = (wxListEvent *) 0 ;
19627 bool result;
19628 PyObject * obj0 = 0 ;
19629 char *kwnames[] = {
19630 (char *) "self", NULL
19631 };
19632
19633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
19634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19636 {
19637 PyThreadState* __tstate = wxPyBeginAllowThreads();
19638 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
19639
19640 wxPyEndAllowThreads(__tstate);
19641 if (PyErr_Occurred()) SWIG_fail;
19642 }
19643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19644 return resultobj;
19645 fail:
19646 return NULL;
19647 }
19648
19649
19650 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
19651 PyObject *resultobj;
19652 wxListEvent *arg1 = (wxListEvent *) 0 ;
19653 bool arg2 ;
19654 PyObject * obj0 = 0 ;
19655 PyObject * obj1 = 0 ;
19656 char *kwnames[] = {
19657 (char *) "self",(char *) "editCancelled", NULL
19658 };
19659
19660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
19661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19663 arg2 = (bool) SWIG_AsBool(obj1);
19664 if (PyErr_Occurred()) SWIG_fail;
19665 {
19666 PyThreadState* __tstate = wxPyBeginAllowThreads();
19667 (arg1)->SetEditCanceled(arg2);
19668
19669 wxPyEndAllowThreads(__tstate);
19670 if (PyErr_Occurred()) SWIG_fail;
19671 }
19672 Py_INCREF(Py_None); resultobj = Py_None;
19673 return resultobj;
19674 fail:
19675 return NULL;
19676 }
19677
19678
19679 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
19680 PyObject *obj;
19681 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19682 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
19683 Py_INCREF(obj);
19684 return Py_BuildValue((char *)"");
19685 }
19686 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
19687 PyObject *resultobj;
19688 wxWindow *arg1 = (wxWindow *) 0 ;
19689 int arg2 = (int) -1 ;
19690 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19691 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19692 wxSize const &arg4_defvalue = wxDefaultSize ;
19693 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19694 long arg5 = (long) wxLC_ICON ;
19695 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19696 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19697 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19698 wxString *arg7 = (wxString *) &arg7_defvalue ;
19699 wxPyListCtrl *result;
19700 wxPoint temp3 ;
19701 wxSize temp4 ;
19702 bool temp7 = False ;
19703 PyObject * obj0 = 0 ;
19704 PyObject * obj1 = 0 ;
19705 PyObject * obj2 = 0 ;
19706 PyObject * obj3 = 0 ;
19707 PyObject * obj4 = 0 ;
19708 PyObject * obj5 = 0 ;
19709 PyObject * obj6 = 0 ;
19710 char *kwnames[] = {
19711 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19712 };
19713
19714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19717 if (obj1) {
19718 arg2 = (int) SWIG_AsInt(obj1);
19719 if (PyErr_Occurred()) SWIG_fail;
19720 }
19721 if (obj2) {
19722 {
19723 arg3 = &temp3;
19724 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19725 }
19726 }
19727 if (obj3) {
19728 {
19729 arg4 = &temp4;
19730 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19731 }
19732 }
19733 if (obj4) {
19734 arg5 = (long) SWIG_AsLong(obj4);
19735 if (PyErr_Occurred()) SWIG_fail;
19736 }
19737 if (obj5) {
19738 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
19739 SWIG_POINTER_EXCEPTION | 0)) == -1)
19740 SWIG_fail;
19741 if (arg6 == NULL) {
19742 PyErr_SetString(PyExc_TypeError,"null reference");
19743 SWIG_fail;
19744 }
19745 }
19746 if (obj6) {
19747 {
19748 arg7 = wxString_in_helper(obj6);
19749 if (arg7 == NULL) SWIG_fail;
19750 temp7 = True;
19751 }
19752 }
19753 {
19754 PyThreadState* __tstate = wxPyBeginAllowThreads();
19755 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19756
19757 wxPyEndAllowThreads(__tstate);
19758 if (PyErr_Occurred()) SWIG_fail;
19759 }
19760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
19761 {
19762 if (temp7)
19763 delete arg7;
19764 }
19765 return resultobj;
19766 fail:
19767 {
19768 if (temp7)
19769 delete arg7;
19770 }
19771 return NULL;
19772 }
19773
19774
19775 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
19776 PyObject *resultobj;
19777 wxPyListCtrl *result;
19778 char *kwnames[] = {
19779 NULL
19780 };
19781
19782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
19783 {
19784 PyThreadState* __tstate = wxPyBeginAllowThreads();
19785 result = (wxPyListCtrl *)new wxPyListCtrl();
19786
19787 wxPyEndAllowThreads(__tstate);
19788 if (PyErr_Occurred()) SWIG_fail;
19789 }
19790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
19791 return resultobj;
19792 fail:
19793 return NULL;
19794 }
19795
19796
19797 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
19798 PyObject *resultobj;
19799 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19800 wxWindow *arg2 = (wxWindow *) 0 ;
19801 int arg3 = (int) -1 ;
19802 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19803 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19804 wxSize const &arg5_defvalue = wxDefaultSize ;
19805 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19806 long arg6 = (long) wxLC_ICON ;
19807 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19808 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19809 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19810 wxString *arg8 = (wxString *) &arg8_defvalue ;
19811 bool result;
19812 wxPoint temp4 ;
19813 wxSize temp5 ;
19814 bool temp8 = False ;
19815 PyObject * obj0 = 0 ;
19816 PyObject * obj1 = 0 ;
19817 PyObject * obj2 = 0 ;
19818 PyObject * obj3 = 0 ;
19819 PyObject * obj4 = 0 ;
19820 PyObject * obj5 = 0 ;
19821 PyObject * obj6 = 0 ;
19822 PyObject * obj7 = 0 ;
19823 char *kwnames[] = {
19824 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19825 };
19826
19827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
19828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
19829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19830 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19832 if (obj2) {
19833 arg3 = (int) SWIG_AsInt(obj2);
19834 if (PyErr_Occurred()) SWIG_fail;
19835 }
19836 if (obj3) {
19837 {
19838 arg4 = &temp4;
19839 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19840 }
19841 }
19842 if (obj4) {
19843 {
19844 arg5 = &temp5;
19845 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19846 }
19847 }
19848 if (obj5) {
19849 arg6 = (long) SWIG_AsLong(obj5);
19850 if (PyErr_Occurred()) SWIG_fail;
19851 }
19852 if (obj6) {
19853 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
19854 SWIG_POINTER_EXCEPTION | 0)) == -1)
19855 SWIG_fail;
19856 if (arg7 == NULL) {
19857 PyErr_SetString(PyExc_TypeError,"null reference");
19858 SWIG_fail;
19859 }
19860 }
19861 if (obj7) {
19862 {
19863 arg8 = wxString_in_helper(obj7);
19864 if (arg8 == NULL) SWIG_fail;
19865 temp8 = True;
19866 }
19867 }
19868 {
19869 PyThreadState* __tstate = wxPyBeginAllowThreads();
19870 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19871
19872 wxPyEndAllowThreads(__tstate);
19873 if (PyErr_Occurred()) SWIG_fail;
19874 }
19875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19876 {
19877 if (temp8)
19878 delete arg8;
19879 }
19880 return resultobj;
19881 fail:
19882 {
19883 if (temp8)
19884 delete arg8;
19885 }
19886 return NULL;
19887 }
19888
19889
19890 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19891 PyObject *resultobj;
19892 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19893 PyObject *arg2 = (PyObject *) 0 ;
19894 PyObject *arg3 = (PyObject *) 0 ;
19895 PyObject * obj0 = 0 ;
19896 PyObject * obj1 = 0 ;
19897 PyObject * obj2 = 0 ;
19898 char *kwnames[] = {
19899 (char *) "self",(char *) "self",(char *) "_class", NULL
19900 };
19901
19902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
19904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19905 arg2 = obj1;
19906 arg3 = obj2;
19907 {
19908 PyThreadState* __tstate = wxPyBeginAllowThreads();
19909 (arg1)->_setCallbackInfo(arg2,arg3);
19910
19911 wxPyEndAllowThreads(__tstate);
19912 if (PyErr_Occurred()) SWIG_fail;
19913 }
19914 Py_INCREF(Py_None); resultobj = Py_None;
19915 return resultobj;
19916 fail:
19917 return NULL;
19918 }
19919
19920
19921 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
19922 PyObject *resultobj;
19923 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19924 wxColour *arg2 = 0 ;
19925 bool result;
19926 wxColour temp2 ;
19927 PyObject * obj0 = 0 ;
19928 PyObject * obj1 = 0 ;
19929 char *kwnames[] = {
19930 (char *) "self",(char *) "col", NULL
19931 };
19932
19933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
19934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
19935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19936 {
19937 arg2 = &temp2;
19938 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19939 }
19940 {
19941 PyThreadState* __tstate = wxPyBeginAllowThreads();
19942 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
19943
19944 wxPyEndAllowThreads(__tstate);
19945 if (PyErr_Occurred()) SWIG_fail;
19946 }
19947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19948 return resultobj;
19949 fail:
19950 return NULL;
19951 }
19952
19953
19954 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
19955 PyObject *resultobj;
19956 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19957 wxColour *arg2 = 0 ;
19958 bool result;
19959 wxColour temp2 ;
19960 PyObject * obj0 = 0 ;
19961 PyObject * obj1 = 0 ;
19962 char *kwnames[] = {
19963 (char *) "self",(char *) "col", NULL
19964 };
19965
19966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
19968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19969 {
19970 arg2 = &temp2;
19971 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19972 }
19973 {
19974 PyThreadState* __tstate = wxPyBeginAllowThreads();
19975 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
19976
19977 wxPyEndAllowThreads(__tstate);
19978 if (PyErr_Occurred()) SWIG_fail;
19979 }
19980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19981 return resultobj;
19982 fail:
19983 return NULL;
19984 }
19985
19986
19987 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
19988 PyObject *resultobj;
19989 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19990 int arg2 ;
19991 wxListItem *result;
19992 PyObject * obj0 = 0 ;
19993 PyObject * obj1 = 0 ;
19994 char *kwnames[] = {
19995 (char *) "self",(char *) "col", NULL
19996 };
19997
19998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
19999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20001 arg2 = (int) SWIG_AsInt(obj1);
20002 if (PyErr_Occurred()) SWIG_fail;
20003 {
20004 PyThreadState* __tstate = wxPyBeginAllowThreads();
20005 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
20006
20007 wxPyEndAllowThreads(__tstate);
20008 if (PyErr_Occurred()) SWIG_fail;
20009 }
20010 {
20011 resultobj = wxPyMake_wxObject(result);
20012 }
20013 return resultobj;
20014 fail:
20015 return NULL;
20016 }
20017
20018
20019 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
20020 PyObject *resultobj;
20021 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20022 int arg2 ;
20023 wxListItem *arg3 = 0 ;
20024 bool result;
20025 PyObject * obj0 = 0 ;
20026 PyObject * obj1 = 0 ;
20027 PyObject * obj2 = 0 ;
20028 char *kwnames[] = {
20029 (char *) "self",(char *) "col",(char *) "item", NULL
20030 };
20031
20032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
20033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20035 arg2 = (int) SWIG_AsInt(obj1);
20036 if (PyErr_Occurred()) SWIG_fail;
20037 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
20038 SWIG_POINTER_EXCEPTION | 0)) == -1)
20039 SWIG_fail;
20040 if (arg3 == NULL) {
20041 PyErr_SetString(PyExc_TypeError,"null reference");
20042 SWIG_fail;
20043 }
20044 {
20045 PyThreadState* __tstate = wxPyBeginAllowThreads();
20046 result = (bool)(arg1)->SetColumn(arg2,*arg3);
20047
20048 wxPyEndAllowThreads(__tstate);
20049 if (PyErr_Occurred()) SWIG_fail;
20050 }
20051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20052 return resultobj;
20053 fail:
20054 return NULL;
20055 }
20056
20057
20058 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
20059 PyObject *resultobj;
20060 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20061 int arg2 ;
20062 int result;
20063 PyObject * obj0 = 0 ;
20064 PyObject * obj1 = 0 ;
20065 char *kwnames[] = {
20066 (char *) "self",(char *) "col", NULL
20067 };
20068
20069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
20070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20072 arg2 = (int) SWIG_AsInt(obj1);
20073 if (PyErr_Occurred()) SWIG_fail;
20074 {
20075 PyThreadState* __tstate = wxPyBeginAllowThreads();
20076 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
20077
20078 wxPyEndAllowThreads(__tstate);
20079 if (PyErr_Occurred()) SWIG_fail;
20080 }
20081 resultobj = SWIG_FromInt((int)result);
20082 return resultobj;
20083 fail:
20084 return NULL;
20085 }
20086
20087
20088 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
20089 PyObject *resultobj;
20090 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20091 int arg2 ;
20092 int arg3 ;
20093 bool result;
20094 PyObject * obj0 = 0 ;
20095 PyObject * obj1 = 0 ;
20096 PyObject * obj2 = 0 ;
20097 char *kwnames[] = {
20098 (char *) "self",(char *) "col",(char *) "width", NULL
20099 };
20100
20101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20104 arg2 = (int) SWIG_AsInt(obj1);
20105 if (PyErr_Occurred()) SWIG_fail;
20106 arg3 = (int) SWIG_AsInt(obj2);
20107 if (PyErr_Occurred()) SWIG_fail;
20108 {
20109 PyThreadState* __tstate = wxPyBeginAllowThreads();
20110 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
20111
20112 wxPyEndAllowThreads(__tstate);
20113 if (PyErr_Occurred()) SWIG_fail;
20114 }
20115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20116 return resultobj;
20117 fail:
20118 return NULL;
20119 }
20120
20121
20122 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
20123 PyObject *resultobj;
20124 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20125 int result;
20126 PyObject * obj0 = 0 ;
20127 char *kwnames[] = {
20128 (char *) "self", NULL
20129 };
20130
20131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
20132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20134 {
20135 PyThreadState* __tstate = wxPyBeginAllowThreads();
20136 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
20137
20138 wxPyEndAllowThreads(__tstate);
20139 if (PyErr_Occurred()) SWIG_fail;
20140 }
20141 resultobj = SWIG_FromInt((int)result);
20142 return resultobj;
20143 fail:
20144 return NULL;
20145 }
20146
20147
20148 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
20149 PyObject *resultobj;
20150 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20151 wxRect result;
20152 PyObject * obj0 = 0 ;
20153 char *kwnames[] = {
20154 (char *) "self", NULL
20155 };
20156
20157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
20158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20160 {
20161 PyThreadState* __tstate = wxPyBeginAllowThreads();
20162 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
20163
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 {
20168 wxRect * resultptr;
20169 resultptr = new wxRect((wxRect &) result);
20170 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
20171 }
20172 return resultobj;
20173 fail:
20174 return NULL;
20175 }
20176
20177
20178 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
20179 PyObject *resultobj;
20180 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20181 long arg2 ;
20182 int arg3 = (int) 0 ;
20183 wxListItem *result;
20184 PyObject * obj0 = 0 ;
20185 PyObject * obj1 = 0 ;
20186 PyObject * obj2 = 0 ;
20187 char *kwnames[] = {
20188 (char *) "self",(char *) "itemId",(char *) "col", NULL
20189 };
20190
20191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
20192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20194 arg2 = (long) SWIG_AsLong(obj1);
20195 if (PyErr_Occurred()) SWIG_fail;
20196 if (obj2) {
20197 arg3 = (int) SWIG_AsInt(obj2);
20198 if (PyErr_Occurred()) SWIG_fail;
20199 }
20200 {
20201 PyThreadState* __tstate = wxPyBeginAllowThreads();
20202 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20203
20204 wxPyEndAllowThreads(__tstate);
20205 if (PyErr_Occurred()) SWIG_fail;
20206 }
20207 {
20208 resultobj = wxPyMake_wxObject(result);
20209 }
20210 return resultobj;
20211 fail:
20212 return NULL;
20213 }
20214
20215
20216 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
20217 PyObject *resultobj;
20218 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20219 wxListItem *arg2 = 0 ;
20220 bool result;
20221 PyObject * obj0 = 0 ;
20222 PyObject * obj1 = 0 ;
20223 char *kwnames[] = {
20224 (char *) "self",(char *) "info", NULL
20225 };
20226
20227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
20228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20230 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
20231 SWIG_POINTER_EXCEPTION | 0)) == -1)
20232 SWIG_fail;
20233 if (arg2 == NULL) {
20234 PyErr_SetString(PyExc_TypeError,"null reference");
20235 SWIG_fail;
20236 }
20237 {
20238 PyThreadState* __tstate = wxPyBeginAllowThreads();
20239 result = (bool)(arg1)->SetItem(*arg2);
20240
20241 wxPyEndAllowThreads(__tstate);
20242 if (PyErr_Occurred()) SWIG_fail;
20243 }
20244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20245 return resultobj;
20246 fail:
20247 return NULL;
20248 }
20249
20250
20251 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
20252 PyObject *resultobj;
20253 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20254 long arg2 ;
20255 int arg3 ;
20256 wxString *arg4 = 0 ;
20257 int arg5 = (int) -1 ;
20258 long result;
20259 bool temp4 = False ;
20260 PyObject * obj0 = 0 ;
20261 PyObject * obj1 = 0 ;
20262 PyObject * obj2 = 0 ;
20263 PyObject * obj3 = 0 ;
20264 PyObject * obj4 = 0 ;
20265 char *kwnames[] = {
20266 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20267 };
20268
20269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20272 arg2 = (long) SWIG_AsLong(obj1);
20273 if (PyErr_Occurred()) SWIG_fail;
20274 arg3 = (int) SWIG_AsInt(obj2);
20275 if (PyErr_Occurred()) SWIG_fail;
20276 {
20277 arg4 = wxString_in_helper(obj3);
20278 if (arg4 == NULL) SWIG_fail;
20279 temp4 = True;
20280 }
20281 if (obj4) {
20282 arg5 = (int) SWIG_AsInt(obj4);
20283 if (PyErr_Occurred()) SWIG_fail;
20284 }
20285 {
20286 PyThreadState* __tstate = wxPyBeginAllowThreads();
20287 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20288
20289 wxPyEndAllowThreads(__tstate);
20290 if (PyErr_Occurred()) SWIG_fail;
20291 }
20292 resultobj = SWIG_FromLong((long)result);
20293 {
20294 if (temp4)
20295 delete arg4;
20296 }
20297 return resultobj;
20298 fail:
20299 {
20300 if (temp4)
20301 delete arg4;
20302 }
20303 return NULL;
20304 }
20305
20306
20307 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
20308 PyObject *resultobj;
20309 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20310 long arg2 ;
20311 long arg3 ;
20312 int result;
20313 PyObject * obj0 = 0 ;
20314 PyObject * obj1 = 0 ;
20315 PyObject * obj2 = 0 ;
20316 char *kwnames[] = {
20317 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20318 };
20319
20320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
20321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20323 arg2 = (long) SWIG_AsLong(obj1);
20324 if (PyErr_Occurred()) SWIG_fail;
20325 arg3 = (long) SWIG_AsLong(obj2);
20326 if (PyErr_Occurred()) SWIG_fail;
20327 {
20328 PyThreadState* __tstate = wxPyBeginAllowThreads();
20329 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20330
20331 wxPyEndAllowThreads(__tstate);
20332 if (PyErr_Occurred()) SWIG_fail;
20333 }
20334 resultobj = SWIG_FromInt((int)result);
20335 return resultobj;
20336 fail:
20337 return NULL;
20338 }
20339
20340
20341 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
20342 PyObject *resultobj;
20343 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20344 long arg2 ;
20345 long arg3 ;
20346 long arg4 ;
20347 bool result;
20348 PyObject * obj0 = 0 ;
20349 PyObject * obj1 = 0 ;
20350 PyObject * obj2 = 0 ;
20351 PyObject * obj3 = 0 ;
20352 char *kwnames[] = {
20353 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20354 };
20355
20356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20359 arg2 = (long) SWIG_AsLong(obj1);
20360 if (PyErr_Occurred()) SWIG_fail;
20361 arg3 = (long) SWIG_AsLong(obj2);
20362 if (PyErr_Occurred()) SWIG_fail;
20363 arg4 = (long) SWIG_AsLong(obj3);
20364 if (PyErr_Occurred()) SWIG_fail;
20365 {
20366 PyThreadState* __tstate = wxPyBeginAllowThreads();
20367 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20368
20369 wxPyEndAllowThreads(__tstate);
20370 if (PyErr_Occurred()) SWIG_fail;
20371 }
20372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20373 return resultobj;
20374 fail:
20375 return NULL;
20376 }
20377
20378
20379 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
20380 PyObject *resultobj;
20381 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20382 long arg2 ;
20383 int arg3 ;
20384 int arg4 ;
20385 bool result;
20386 PyObject * obj0 = 0 ;
20387 PyObject * obj1 = 0 ;
20388 PyObject * obj2 = 0 ;
20389 PyObject * obj3 = 0 ;
20390 char *kwnames[] = {
20391 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20392 };
20393
20394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20397 arg2 = (long) SWIG_AsLong(obj1);
20398 if (PyErr_Occurred()) SWIG_fail;
20399 arg3 = (int) SWIG_AsInt(obj2);
20400 if (PyErr_Occurred()) SWIG_fail;
20401 arg4 = (int) SWIG_AsInt(obj3);
20402 if (PyErr_Occurred()) SWIG_fail;
20403 {
20404 PyThreadState* __tstate = wxPyBeginAllowThreads();
20405 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20406
20407 wxPyEndAllowThreads(__tstate);
20408 if (PyErr_Occurred()) SWIG_fail;
20409 }
20410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20411 return resultobj;
20412 fail:
20413 return NULL;
20414 }
20415
20416
20417 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
20418 PyObject *resultobj;
20419 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20420 long arg2 ;
20421 wxString result;
20422 PyObject * obj0 = 0 ;
20423 PyObject * obj1 = 0 ;
20424 char *kwnames[] = {
20425 (char *) "self",(char *) "item", NULL
20426 };
20427
20428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20431 arg2 = (long) SWIG_AsLong(obj1);
20432 if (PyErr_Occurred()) SWIG_fail;
20433 {
20434 PyThreadState* __tstate = wxPyBeginAllowThreads();
20435 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20436
20437 wxPyEndAllowThreads(__tstate);
20438 if (PyErr_Occurred()) SWIG_fail;
20439 }
20440 {
20441 #if wxUSE_UNICODE
20442 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20443 #else
20444 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20445 #endif
20446 }
20447 return resultobj;
20448 fail:
20449 return NULL;
20450 }
20451
20452
20453 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
20454 PyObject *resultobj;
20455 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20456 long arg2 ;
20457 wxString *arg3 = 0 ;
20458 bool temp3 = False ;
20459 PyObject * obj0 = 0 ;
20460 PyObject * obj1 = 0 ;
20461 PyObject * obj2 = 0 ;
20462 char *kwnames[] = {
20463 (char *) "self",(char *) "item",(char *) "str", NULL
20464 };
20465
20466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
20467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20469 arg2 = (long) SWIG_AsLong(obj1);
20470 if (PyErr_Occurred()) SWIG_fail;
20471 {
20472 arg3 = wxString_in_helper(obj2);
20473 if (arg3 == NULL) SWIG_fail;
20474 temp3 = True;
20475 }
20476 {
20477 PyThreadState* __tstate = wxPyBeginAllowThreads();
20478 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
20479
20480 wxPyEndAllowThreads(__tstate);
20481 if (PyErr_Occurred()) SWIG_fail;
20482 }
20483 Py_INCREF(Py_None); resultobj = Py_None;
20484 {
20485 if (temp3)
20486 delete arg3;
20487 }
20488 return resultobj;
20489 fail:
20490 {
20491 if (temp3)
20492 delete arg3;
20493 }
20494 return NULL;
20495 }
20496
20497
20498 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
20499 PyObject *resultobj;
20500 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20501 long arg2 ;
20502 long result;
20503 PyObject * obj0 = 0 ;
20504 PyObject * obj1 = 0 ;
20505 char *kwnames[] = {
20506 (char *) "self",(char *) "item", NULL
20507 };
20508
20509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20512 arg2 = (long) SWIG_AsLong(obj1);
20513 if (PyErr_Occurred()) SWIG_fail;
20514 {
20515 PyThreadState* __tstate = wxPyBeginAllowThreads();
20516 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
20517
20518 wxPyEndAllowThreads(__tstate);
20519 if (PyErr_Occurred()) SWIG_fail;
20520 }
20521 resultobj = SWIG_FromLong((long)result);
20522 return resultobj;
20523 fail:
20524 return NULL;
20525 }
20526
20527
20528 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
20529 PyObject *resultobj;
20530 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20531 long arg2 ;
20532 long arg3 ;
20533 bool result;
20534 PyObject * obj0 = 0 ;
20535 PyObject * obj1 = 0 ;
20536 PyObject * obj2 = 0 ;
20537 char *kwnames[] = {
20538 (char *) "self",(char *) "item",(char *) "data", NULL
20539 };
20540
20541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20544 arg2 = (long) SWIG_AsLong(obj1);
20545 if (PyErr_Occurred()) SWIG_fail;
20546 arg3 = (long) SWIG_AsLong(obj2);
20547 if (PyErr_Occurred()) SWIG_fail;
20548 {
20549 PyThreadState* __tstate = wxPyBeginAllowThreads();
20550 result = (bool)(arg1)->SetItemData(arg2,arg3);
20551
20552 wxPyEndAllowThreads(__tstate);
20553 if (PyErr_Occurred()) SWIG_fail;
20554 }
20555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20556 return resultobj;
20557 fail:
20558 return NULL;
20559 }
20560
20561
20562 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20563 PyObject *resultobj;
20564 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20565 long arg2 ;
20566 wxPoint result;
20567 PyObject * obj0 = 0 ;
20568 PyObject * obj1 = 0 ;
20569 char *kwnames[] = {
20570 (char *) "self",(char *) "item", NULL
20571 };
20572
20573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
20574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20576 arg2 = (long) SWIG_AsLong(obj1);
20577 if (PyErr_Occurred()) SWIG_fail;
20578 {
20579 PyThreadState* __tstate = wxPyBeginAllowThreads();
20580 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
20581
20582 wxPyEndAllowThreads(__tstate);
20583 if (PyErr_Occurred()) SWIG_fail;
20584 }
20585 {
20586 wxPoint * resultptr;
20587 resultptr = new wxPoint((wxPoint &) result);
20588 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20589 }
20590 return resultobj;
20591 fail:
20592 return NULL;
20593 }
20594
20595
20596 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
20597 PyObject *resultobj;
20598 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20599 long arg2 ;
20600 int arg3 = (int) wxLIST_RECT_BOUNDS ;
20601 wxRect result;
20602 PyObject * obj0 = 0 ;
20603 PyObject * obj1 = 0 ;
20604 PyObject * obj2 = 0 ;
20605 char *kwnames[] = {
20606 (char *) "self",(char *) "item",(char *) "code", NULL
20607 };
20608
20609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
20610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20612 arg2 = (long) SWIG_AsLong(obj1);
20613 if (PyErr_Occurred()) SWIG_fail;
20614 if (obj2) {
20615 arg3 = (int) SWIG_AsInt(obj2);
20616 if (PyErr_Occurred()) SWIG_fail;
20617 }
20618 {
20619 PyThreadState* __tstate = wxPyBeginAllowThreads();
20620 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
20621
20622 wxPyEndAllowThreads(__tstate);
20623 if (PyErr_Occurred()) SWIG_fail;
20624 }
20625 {
20626 wxRect * resultptr;
20627 resultptr = new wxRect((wxRect &) result);
20628 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
20629 }
20630 return resultobj;
20631 fail:
20632 return NULL;
20633 }
20634
20635
20636 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20637 PyObject *resultobj;
20638 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20639 long arg2 ;
20640 wxPoint *arg3 = 0 ;
20641 bool result;
20642 wxPoint temp3 ;
20643 PyObject * obj0 = 0 ;
20644 PyObject * obj1 = 0 ;
20645 PyObject * obj2 = 0 ;
20646 char *kwnames[] = {
20647 (char *) "self",(char *) "item",(char *) "pos", NULL
20648 };
20649
20650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20653 arg2 = (long) SWIG_AsLong(obj1);
20654 if (PyErr_Occurred()) SWIG_fail;
20655 {
20656 arg3 = &temp3;
20657 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20658 }
20659 {
20660 PyThreadState* __tstate = wxPyBeginAllowThreads();
20661 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
20662
20663 wxPyEndAllowThreads(__tstate);
20664 if (PyErr_Occurred()) SWIG_fail;
20665 }
20666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20667 return resultobj;
20668 fail:
20669 return NULL;
20670 }
20671
20672
20673 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
20674 PyObject *resultobj;
20675 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20676 int result;
20677 PyObject * obj0 = 0 ;
20678 char *kwnames[] = {
20679 (char *) "self", NULL
20680 };
20681
20682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
20683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20685 {
20686 PyThreadState* __tstate = wxPyBeginAllowThreads();
20687 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
20688
20689 wxPyEndAllowThreads(__tstate);
20690 if (PyErr_Occurred()) SWIG_fail;
20691 }
20692 resultobj = SWIG_FromInt((int)result);
20693 return resultobj;
20694 fail:
20695 return NULL;
20696 }
20697
20698
20699 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
20700 PyObject *resultobj;
20701 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20702 int result;
20703 PyObject * obj0 = 0 ;
20704 char *kwnames[] = {
20705 (char *) "self", NULL
20706 };
20707
20708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
20709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20711 {
20712 PyThreadState* __tstate = wxPyBeginAllowThreads();
20713 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
20714
20715 wxPyEndAllowThreads(__tstate);
20716 if (PyErr_Occurred()) SWIG_fail;
20717 }
20718 resultobj = SWIG_FromInt((int)result);
20719 return resultobj;
20720 fail:
20721 return NULL;
20722 }
20723
20724
20725 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
20726 PyObject *resultobj;
20727 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20728 wxSize result;
20729 PyObject * obj0 = 0 ;
20730 char *kwnames[] = {
20731 (char *) "self", NULL
20732 };
20733
20734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
20735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20737 {
20738 PyThreadState* __tstate = wxPyBeginAllowThreads();
20739 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
20740
20741 wxPyEndAllowThreads(__tstate);
20742 if (PyErr_Occurred()) SWIG_fail;
20743 }
20744 {
20745 wxSize * resultptr;
20746 resultptr = new wxSize((wxSize &) result);
20747 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20748 }
20749 return resultobj;
20750 fail:
20751 return NULL;
20752 }
20753
20754
20755 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
20756 PyObject *resultobj;
20757 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20758 int arg2 ;
20759 bool arg3 = (bool) False ;
20760 PyObject * obj0 = 0 ;
20761 PyObject * obj1 = 0 ;
20762 PyObject * obj2 = 0 ;
20763 char *kwnames[] = {
20764 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20765 };
20766
20767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
20768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20770 arg2 = (int) SWIG_AsInt(obj1);
20771 if (PyErr_Occurred()) SWIG_fail;
20772 if (obj2) {
20773 arg3 = (bool) SWIG_AsBool(obj2);
20774 if (PyErr_Occurred()) SWIG_fail;
20775 }
20776 {
20777 PyThreadState* __tstate = wxPyBeginAllowThreads();
20778 (arg1)->SetItemSpacing(arg2,arg3);
20779
20780 wxPyEndAllowThreads(__tstate);
20781 if (PyErr_Occurred()) SWIG_fail;
20782 }
20783 Py_INCREF(Py_None); resultobj = Py_None;
20784 return resultobj;
20785 fail:
20786 return NULL;
20787 }
20788
20789
20790 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
20791 PyObject *resultobj;
20792 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20793 int result;
20794 PyObject * obj0 = 0 ;
20795 char *kwnames[] = {
20796 (char *) "self", NULL
20797 };
20798
20799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
20800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20802 {
20803 PyThreadState* __tstate = wxPyBeginAllowThreads();
20804 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
20805
20806 wxPyEndAllowThreads(__tstate);
20807 if (PyErr_Occurred()) SWIG_fail;
20808 }
20809 resultobj = SWIG_FromInt((int)result);
20810 return resultobj;
20811 fail:
20812 return NULL;
20813 }
20814
20815
20816 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
20817 PyObject *resultobj;
20818 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20819 wxColour result;
20820 PyObject * obj0 = 0 ;
20821 char *kwnames[] = {
20822 (char *) "self", NULL
20823 };
20824
20825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
20826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20828 {
20829 PyThreadState* __tstate = wxPyBeginAllowThreads();
20830 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
20831
20832 wxPyEndAllowThreads(__tstate);
20833 if (PyErr_Occurred()) SWIG_fail;
20834 }
20835 {
20836 wxColour * resultptr;
20837 resultptr = new wxColour((wxColour &) result);
20838 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
20839 }
20840 return resultobj;
20841 fail:
20842 return NULL;
20843 }
20844
20845
20846 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
20847 PyObject *resultobj;
20848 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20849 wxColour *arg2 = 0 ;
20850 wxColour temp2 ;
20851 PyObject * obj0 = 0 ;
20852 PyObject * obj1 = 0 ;
20853 char *kwnames[] = {
20854 (char *) "self",(char *) "col", NULL
20855 };
20856
20857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
20858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20860 {
20861 arg2 = &temp2;
20862 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20863 }
20864 {
20865 PyThreadState* __tstate = wxPyBeginAllowThreads();
20866 (arg1)->SetTextColour((wxColour const &)*arg2);
20867
20868 wxPyEndAllowThreads(__tstate);
20869 if (PyErr_Occurred()) SWIG_fail;
20870 }
20871 Py_INCREF(Py_None); resultobj = Py_None;
20872 return resultobj;
20873 fail:
20874 return NULL;
20875 }
20876
20877
20878 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
20879 PyObject *resultobj;
20880 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20881 long result;
20882 PyObject * obj0 = 0 ;
20883 char *kwnames[] = {
20884 (char *) "self", NULL
20885 };
20886
20887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
20888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20890 {
20891 PyThreadState* __tstate = wxPyBeginAllowThreads();
20892 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
20893
20894 wxPyEndAllowThreads(__tstate);
20895 if (PyErr_Occurred()) SWIG_fail;
20896 }
20897 resultobj = SWIG_FromLong((long)result);
20898 return resultobj;
20899 fail:
20900 return NULL;
20901 }
20902
20903
20904 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
20905 PyObject *resultobj;
20906 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20907 long arg2 ;
20908 bool arg3 = (bool) True ;
20909 PyObject * obj0 = 0 ;
20910 PyObject * obj1 = 0 ;
20911 PyObject * obj2 = 0 ;
20912 char *kwnames[] = {
20913 (char *) "self",(char *) "style",(char *) "add", NULL
20914 };
20915
20916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
20917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20919 arg2 = (long) SWIG_AsLong(obj1);
20920 if (PyErr_Occurred()) SWIG_fail;
20921 if (obj2) {
20922 arg3 = (bool) SWIG_AsBool(obj2);
20923 if (PyErr_Occurred()) SWIG_fail;
20924 }
20925 {
20926 PyThreadState* __tstate = wxPyBeginAllowThreads();
20927 (arg1)->SetSingleStyle(arg2,arg3);
20928
20929 wxPyEndAllowThreads(__tstate);
20930 if (PyErr_Occurred()) SWIG_fail;
20931 }
20932 Py_INCREF(Py_None); resultobj = Py_None;
20933 return resultobj;
20934 fail:
20935 return NULL;
20936 }
20937
20938
20939 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
20940 PyObject *resultobj;
20941 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20942 long arg2 ;
20943 PyObject * obj0 = 0 ;
20944 PyObject * obj1 = 0 ;
20945 char *kwnames[] = {
20946 (char *) "self",(char *) "style", NULL
20947 };
20948
20949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
20950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20952 arg2 = (long) SWIG_AsLong(obj1);
20953 if (PyErr_Occurred()) SWIG_fail;
20954 {
20955 PyThreadState* __tstate = wxPyBeginAllowThreads();
20956 (arg1)->SetWindowStyleFlag(arg2);
20957
20958 wxPyEndAllowThreads(__tstate);
20959 if (PyErr_Occurred()) SWIG_fail;
20960 }
20961 Py_INCREF(Py_None); resultobj = Py_None;
20962 return resultobj;
20963 fail:
20964 return NULL;
20965 }
20966
20967
20968 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
20969 PyObject *resultobj;
20970 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20971 long arg2 ;
20972 int arg3 = (int) wxLIST_NEXT_ALL ;
20973 int arg4 = (int) wxLIST_STATE_DONTCARE ;
20974 long result;
20975 PyObject * obj0 = 0 ;
20976 PyObject * obj1 = 0 ;
20977 PyObject * obj2 = 0 ;
20978 PyObject * obj3 = 0 ;
20979 char *kwnames[] = {
20980 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
20981 };
20982
20983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20986 arg2 = (long) SWIG_AsLong(obj1);
20987 if (PyErr_Occurred()) SWIG_fail;
20988 if (obj2) {
20989 arg3 = (int) SWIG_AsInt(obj2);
20990 if (PyErr_Occurred()) SWIG_fail;
20991 }
20992 if (obj3) {
20993 arg4 = (int) SWIG_AsInt(obj3);
20994 if (PyErr_Occurred()) SWIG_fail;
20995 }
20996 {
20997 PyThreadState* __tstate = wxPyBeginAllowThreads();
20998 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
20999
21000 wxPyEndAllowThreads(__tstate);
21001 if (PyErr_Occurred()) SWIG_fail;
21002 }
21003 resultobj = SWIG_FromLong((long)result);
21004 return resultobj;
21005 fail:
21006 return NULL;
21007 }
21008
21009
21010 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
21011 PyObject *resultobj;
21012 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21013 int arg2 ;
21014 wxImageList *result;
21015 PyObject * obj0 = 0 ;
21016 PyObject * obj1 = 0 ;
21017 char *kwnames[] = {
21018 (char *) "self",(char *) "which", NULL
21019 };
21020
21021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
21022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21024 arg2 = (int) SWIG_AsInt(obj1);
21025 if (PyErr_Occurred()) SWIG_fail;
21026 {
21027 PyThreadState* __tstate = wxPyBeginAllowThreads();
21028 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
21029
21030 wxPyEndAllowThreads(__tstate);
21031 if (PyErr_Occurred()) SWIG_fail;
21032 }
21033 {
21034 resultobj = wxPyMake_wxObject(result);
21035 }
21036 return resultobj;
21037 fail:
21038 return NULL;
21039 }
21040
21041
21042 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
21043 PyObject *resultobj;
21044 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21045 wxImageList *arg2 = (wxImageList *) 0 ;
21046 int arg3 ;
21047 PyObject * obj0 = 0 ;
21048 PyObject * obj1 = 0 ;
21049 PyObject * obj2 = 0 ;
21050 char *kwnames[] = {
21051 (char *) "self",(char *) "imageList",(char *) "which", NULL
21052 };
21053
21054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21057 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21059 arg3 = (int) SWIG_AsInt(obj2);
21060 if (PyErr_Occurred()) SWIG_fail;
21061 {
21062 PyThreadState* __tstate = wxPyBeginAllowThreads();
21063 (arg1)->SetImageList(arg2,arg3);
21064
21065 wxPyEndAllowThreads(__tstate);
21066 if (PyErr_Occurred()) SWIG_fail;
21067 }
21068 Py_INCREF(Py_None); resultobj = Py_None;
21069 return resultobj;
21070 fail:
21071 return NULL;
21072 }
21073
21074
21075 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
21076 PyObject *resultobj;
21077 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21078 wxImageList *arg2 = (wxImageList *) 0 ;
21079 int arg3 ;
21080 PyObject * obj0 = 0 ;
21081 PyObject * obj1 = 0 ;
21082 PyObject * obj2 = 0 ;
21083 char *kwnames[] = {
21084 (char *) "self",(char *) "imageList",(char *) "which", NULL
21085 };
21086
21087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21090 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21091 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
21092 arg3 = (int) SWIG_AsInt(obj2);
21093 if (PyErr_Occurred()) SWIG_fail;
21094 {
21095 PyThreadState* __tstate = wxPyBeginAllowThreads();
21096 (arg1)->AssignImageList(arg2,arg3);
21097
21098 wxPyEndAllowThreads(__tstate);
21099 if (PyErr_Occurred()) SWIG_fail;
21100 }
21101 Py_INCREF(Py_None); resultobj = Py_None;
21102 return resultobj;
21103 fail:
21104 return NULL;
21105 }
21106
21107
21108 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
21109 PyObject *resultobj;
21110 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21111 bool result;
21112 PyObject * obj0 = 0 ;
21113 char *kwnames[] = {
21114 (char *) "self", NULL
21115 };
21116
21117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
21118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21120 {
21121 PyThreadState* __tstate = wxPyBeginAllowThreads();
21122 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
21123
21124 wxPyEndAllowThreads(__tstate);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 }
21127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21128 return resultobj;
21129 fail:
21130 return NULL;
21131 }
21132
21133
21134 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
21135 PyObject *resultobj;
21136 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21137 bool result;
21138 PyObject * obj0 = 0 ;
21139 char *kwnames[] = {
21140 (char *) "self", NULL
21141 };
21142
21143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
21144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21146 {
21147 PyThreadState* __tstate = wxPyBeginAllowThreads();
21148 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
21149
21150 wxPyEndAllowThreads(__tstate);
21151 if (PyErr_Occurred()) SWIG_fail;
21152 }
21153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21154 return resultobj;
21155 fail:
21156 return NULL;
21157 }
21158
21159
21160 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
21161 PyObject *resultobj;
21162 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21163 long arg2 ;
21164 PyObject * obj0 = 0 ;
21165 PyObject * obj1 = 0 ;
21166 char *kwnames[] = {
21167 (char *) "self",(char *) "item", NULL
21168 };
21169
21170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
21171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21173 arg2 = (long) SWIG_AsLong(obj1);
21174 if (PyErr_Occurred()) SWIG_fail;
21175 {
21176 PyThreadState* __tstate = wxPyBeginAllowThreads();
21177 (arg1)->RefreshItem(arg2);
21178
21179 wxPyEndAllowThreads(__tstate);
21180 if (PyErr_Occurred()) SWIG_fail;
21181 }
21182 Py_INCREF(Py_None); resultobj = Py_None;
21183 return resultobj;
21184 fail:
21185 return NULL;
21186 }
21187
21188
21189 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
21190 PyObject *resultobj;
21191 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21192 long arg2 ;
21193 long arg3 ;
21194 PyObject * obj0 = 0 ;
21195 PyObject * obj1 = 0 ;
21196 PyObject * obj2 = 0 ;
21197 char *kwnames[] = {
21198 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21199 };
21200
21201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
21202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21204 arg2 = (long) SWIG_AsLong(obj1);
21205 if (PyErr_Occurred()) SWIG_fail;
21206 arg3 = (long) SWIG_AsLong(obj2);
21207 if (PyErr_Occurred()) SWIG_fail;
21208 {
21209 PyThreadState* __tstate = wxPyBeginAllowThreads();
21210 (arg1)->RefreshItems(arg2,arg3);
21211
21212 wxPyEndAllowThreads(__tstate);
21213 if (PyErr_Occurred()) SWIG_fail;
21214 }
21215 Py_INCREF(Py_None); resultobj = Py_None;
21216 return resultobj;
21217 fail:
21218 return NULL;
21219 }
21220
21221
21222 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
21223 PyObject *resultobj;
21224 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21225 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21226 bool result;
21227 PyObject * obj0 = 0 ;
21228 PyObject * obj1 = 0 ;
21229 char *kwnames[] = {
21230 (char *) "self",(char *) "flag", NULL
21231 };
21232
21233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
21234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21236 if (obj1) {
21237 arg2 = (int) SWIG_AsInt(obj1);
21238 if (PyErr_Occurred()) SWIG_fail;
21239 }
21240 {
21241 PyThreadState* __tstate = wxPyBeginAllowThreads();
21242 result = (bool)(arg1)->Arrange(arg2);
21243
21244 wxPyEndAllowThreads(__tstate);
21245 if (PyErr_Occurred()) SWIG_fail;
21246 }
21247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21248 return resultobj;
21249 fail:
21250 return NULL;
21251 }
21252
21253
21254 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
21255 PyObject *resultobj;
21256 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21257 long arg2 ;
21258 bool result;
21259 PyObject * obj0 = 0 ;
21260 PyObject * obj1 = 0 ;
21261 char *kwnames[] = {
21262 (char *) "self",(char *) "item", NULL
21263 };
21264
21265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
21266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21268 arg2 = (long) SWIG_AsLong(obj1);
21269 if (PyErr_Occurred()) SWIG_fail;
21270 {
21271 PyThreadState* __tstate = wxPyBeginAllowThreads();
21272 result = (bool)(arg1)->DeleteItem(arg2);
21273
21274 wxPyEndAllowThreads(__tstate);
21275 if (PyErr_Occurred()) SWIG_fail;
21276 }
21277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21278 return resultobj;
21279 fail:
21280 return NULL;
21281 }
21282
21283
21284 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
21285 PyObject *resultobj;
21286 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21287 bool result;
21288 PyObject * obj0 = 0 ;
21289 char *kwnames[] = {
21290 (char *) "self", NULL
21291 };
21292
21293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
21294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21296 {
21297 PyThreadState* __tstate = wxPyBeginAllowThreads();
21298 result = (bool)(arg1)->DeleteAllItems();
21299
21300 wxPyEndAllowThreads(__tstate);
21301 if (PyErr_Occurred()) SWIG_fail;
21302 }
21303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21304 return resultobj;
21305 fail:
21306 return NULL;
21307 }
21308
21309
21310 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21311 PyObject *resultobj;
21312 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21313 int arg2 ;
21314 bool result;
21315 PyObject * obj0 = 0 ;
21316 PyObject * obj1 = 0 ;
21317 char *kwnames[] = {
21318 (char *) "self",(char *) "col", NULL
21319 };
21320
21321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
21322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21324 arg2 = (int) SWIG_AsInt(obj1);
21325 if (PyErr_Occurred()) SWIG_fail;
21326 {
21327 PyThreadState* __tstate = wxPyBeginAllowThreads();
21328 result = (bool)(arg1)->DeleteColumn(arg2);
21329
21330 wxPyEndAllowThreads(__tstate);
21331 if (PyErr_Occurred()) SWIG_fail;
21332 }
21333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21334 return resultobj;
21335 fail:
21336 return NULL;
21337 }
21338
21339
21340 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
21341 PyObject *resultobj;
21342 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21343 bool result;
21344 PyObject * obj0 = 0 ;
21345 char *kwnames[] = {
21346 (char *) "self", NULL
21347 };
21348
21349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
21350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21352 {
21353 PyThreadState* __tstate = wxPyBeginAllowThreads();
21354 result = (bool)(arg1)->DeleteAllColumns();
21355
21356 wxPyEndAllowThreads(__tstate);
21357 if (PyErr_Occurred()) SWIG_fail;
21358 }
21359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21360 return resultobj;
21361 fail:
21362 return NULL;
21363 }
21364
21365
21366 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
21367 PyObject *resultobj;
21368 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21369 PyObject * obj0 = 0 ;
21370 char *kwnames[] = {
21371 (char *) "self", NULL
21372 };
21373
21374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
21375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21377 {
21378 PyThreadState* __tstate = wxPyBeginAllowThreads();
21379 (arg1)->ClearAll();
21380
21381 wxPyEndAllowThreads(__tstate);
21382 if (PyErr_Occurred()) SWIG_fail;
21383 }
21384 Py_INCREF(Py_None); resultobj = Py_None;
21385 return resultobj;
21386 fail:
21387 return NULL;
21388 }
21389
21390
21391 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
21392 PyObject *resultobj;
21393 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21394 long arg2 ;
21395 PyObject * obj0 = 0 ;
21396 PyObject * obj1 = 0 ;
21397 char *kwnames[] = {
21398 (char *) "self",(char *) "item", NULL
21399 };
21400
21401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
21402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21404 arg2 = (long) SWIG_AsLong(obj1);
21405 if (PyErr_Occurred()) SWIG_fail;
21406 {
21407 PyThreadState* __tstate = wxPyBeginAllowThreads();
21408 (arg1)->EditLabel(arg2);
21409
21410 wxPyEndAllowThreads(__tstate);
21411 if (PyErr_Occurred()) SWIG_fail;
21412 }
21413 Py_INCREF(Py_None); resultobj = Py_None;
21414 return resultobj;
21415 fail:
21416 return NULL;
21417 }
21418
21419
21420 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
21421 PyObject *resultobj;
21422 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21423 long arg2 ;
21424 bool result;
21425 PyObject * obj0 = 0 ;
21426 PyObject * obj1 = 0 ;
21427 char *kwnames[] = {
21428 (char *) "self",(char *) "item", NULL
21429 };
21430
21431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
21432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21434 arg2 = (long) SWIG_AsLong(obj1);
21435 if (PyErr_Occurred()) SWIG_fail;
21436 {
21437 PyThreadState* __tstate = wxPyBeginAllowThreads();
21438 result = (bool)(arg1)->EnsureVisible(arg2);
21439
21440 wxPyEndAllowThreads(__tstate);
21441 if (PyErr_Occurred()) SWIG_fail;
21442 }
21443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21444 return resultobj;
21445 fail:
21446 return NULL;
21447 }
21448
21449
21450 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
21451 PyObject *resultobj;
21452 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21453 long arg2 ;
21454 wxString *arg3 = 0 ;
21455 bool arg4 = (bool) False ;
21456 long result;
21457 bool temp3 = False ;
21458 PyObject * obj0 = 0 ;
21459 PyObject * obj1 = 0 ;
21460 PyObject * obj2 = 0 ;
21461 PyObject * obj3 = 0 ;
21462 char *kwnames[] = {
21463 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21464 };
21465
21466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21469 arg2 = (long) SWIG_AsLong(obj1);
21470 if (PyErr_Occurred()) SWIG_fail;
21471 {
21472 arg3 = wxString_in_helper(obj2);
21473 if (arg3 == NULL) SWIG_fail;
21474 temp3 = True;
21475 }
21476 if (obj3) {
21477 arg4 = (bool) SWIG_AsBool(obj3);
21478 if (PyErr_Occurred()) SWIG_fail;
21479 }
21480 {
21481 PyThreadState* __tstate = wxPyBeginAllowThreads();
21482 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
21483
21484 wxPyEndAllowThreads(__tstate);
21485 if (PyErr_Occurred()) SWIG_fail;
21486 }
21487 resultobj = SWIG_FromLong((long)result);
21488 {
21489 if (temp3)
21490 delete arg3;
21491 }
21492 return resultobj;
21493 fail:
21494 {
21495 if (temp3)
21496 delete arg3;
21497 }
21498 return NULL;
21499 }
21500
21501
21502 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
21503 PyObject *resultobj;
21504 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21505 long arg2 ;
21506 long arg3 ;
21507 long result;
21508 PyObject * obj0 = 0 ;
21509 PyObject * obj1 = 0 ;
21510 PyObject * obj2 = 0 ;
21511 char *kwnames[] = {
21512 (char *) "self",(char *) "start",(char *) "data", NULL
21513 };
21514
21515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21518 arg2 = (long) SWIG_AsLong(obj1);
21519 if (PyErr_Occurred()) SWIG_fail;
21520 arg3 = (long) SWIG_AsLong(obj2);
21521 if (PyErr_Occurred()) SWIG_fail;
21522 {
21523 PyThreadState* __tstate = wxPyBeginAllowThreads();
21524 result = (long)(arg1)->FindItem(arg2,arg3);
21525
21526 wxPyEndAllowThreads(__tstate);
21527 if (PyErr_Occurred()) SWIG_fail;
21528 }
21529 resultobj = SWIG_FromLong((long)result);
21530 return resultobj;
21531 fail:
21532 return NULL;
21533 }
21534
21535
21536 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
21537 PyObject *resultobj;
21538 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21539 long arg2 ;
21540 wxPoint *arg3 = 0 ;
21541 int arg4 ;
21542 long result;
21543 wxPoint temp3 ;
21544 PyObject * obj0 = 0 ;
21545 PyObject * obj1 = 0 ;
21546 PyObject * obj2 = 0 ;
21547 PyObject * obj3 = 0 ;
21548 char *kwnames[] = {
21549 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21550 };
21551
21552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21555 arg2 = (long) SWIG_AsLong(obj1);
21556 if (PyErr_Occurred()) SWIG_fail;
21557 {
21558 arg3 = &temp3;
21559 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21560 }
21561 arg4 = (int) SWIG_AsInt(obj3);
21562 if (PyErr_Occurred()) SWIG_fail;
21563 {
21564 PyThreadState* __tstate = wxPyBeginAllowThreads();
21565 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
21566
21567 wxPyEndAllowThreads(__tstate);
21568 if (PyErr_Occurred()) SWIG_fail;
21569 }
21570 resultobj = SWIG_FromLong((long)result);
21571 return resultobj;
21572 fail:
21573 return NULL;
21574 }
21575
21576
21577 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
21578 PyObject *resultobj;
21579 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21580 wxPoint *arg2 = 0 ;
21581 int *arg3 = 0 ;
21582 long result;
21583 wxPoint temp2 ;
21584 int temp3 ;
21585 PyObject * obj0 = 0 ;
21586 PyObject * obj1 = 0 ;
21587 char *kwnames[] = {
21588 (char *) "self",(char *) "point", NULL
21589 };
21590
21591 arg3 = &temp3;
21592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
21593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21595 {
21596 arg2 = &temp2;
21597 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21598 }
21599 {
21600 PyThreadState* __tstate = wxPyBeginAllowThreads();
21601 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
21602
21603 wxPyEndAllowThreads(__tstate);
21604 if (PyErr_Occurred()) SWIG_fail;
21605 }
21606 resultobj = SWIG_FromLong((long)result);
21607 {
21608 PyObject *o = PyInt_FromLong((long) (*arg3));
21609 resultobj = t_output_helper(resultobj,o);
21610 }
21611 return resultobj;
21612 fail:
21613 return NULL;
21614 }
21615
21616
21617 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
21618 PyObject *resultobj;
21619 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21620 wxListItem *arg2 = 0 ;
21621 long result;
21622 PyObject * obj0 = 0 ;
21623 PyObject * obj1 = 0 ;
21624 char *kwnames[] = {
21625 (char *) "self",(char *) "info", NULL
21626 };
21627
21628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
21629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21631 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
21632 SWIG_POINTER_EXCEPTION | 0)) == -1)
21633 SWIG_fail;
21634 if (arg2 == NULL) {
21635 PyErr_SetString(PyExc_TypeError,"null reference");
21636 SWIG_fail;
21637 }
21638 {
21639 PyThreadState* __tstate = wxPyBeginAllowThreads();
21640 result = (long)(arg1)->InsertItem(*arg2);
21641
21642 wxPyEndAllowThreads(__tstate);
21643 if (PyErr_Occurred()) SWIG_fail;
21644 }
21645 resultobj = SWIG_FromLong((long)result);
21646 return resultobj;
21647 fail:
21648 return NULL;
21649 }
21650
21651
21652 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
21653 PyObject *resultobj;
21654 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21655 long arg2 ;
21656 wxString *arg3 = 0 ;
21657 long result;
21658 bool temp3 = False ;
21659 PyObject * obj0 = 0 ;
21660 PyObject * obj1 = 0 ;
21661 PyObject * obj2 = 0 ;
21662 char *kwnames[] = {
21663 (char *) "self",(char *) "index",(char *) "label", NULL
21664 };
21665
21666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21669 arg2 = (long) SWIG_AsLong(obj1);
21670 if (PyErr_Occurred()) SWIG_fail;
21671 {
21672 arg3 = wxString_in_helper(obj2);
21673 if (arg3 == NULL) SWIG_fail;
21674 temp3 = True;
21675 }
21676 {
21677 PyThreadState* __tstate = wxPyBeginAllowThreads();
21678 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
21679
21680 wxPyEndAllowThreads(__tstate);
21681 if (PyErr_Occurred()) SWIG_fail;
21682 }
21683 resultobj = SWIG_FromLong((long)result);
21684 {
21685 if (temp3)
21686 delete arg3;
21687 }
21688 return resultobj;
21689 fail:
21690 {
21691 if (temp3)
21692 delete arg3;
21693 }
21694 return NULL;
21695 }
21696
21697
21698 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
21699 PyObject *resultobj;
21700 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21701 long arg2 ;
21702 int arg3 ;
21703 long result;
21704 PyObject * obj0 = 0 ;
21705 PyObject * obj1 = 0 ;
21706 PyObject * obj2 = 0 ;
21707 char *kwnames[] = {
21708 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21709 };
21710
21711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21714 arg2 = (long) SWIG_AsLong(obj1);
21715 if (PyErr_Occurred()) SWIG_fail;
21716 arg3 = (int) SWIG_AsInt(obj2);
21717 if (PyErr_Occurred()) SWIG_fail;
21718 {
21719 PyThreadState* __tstate = wxPyBeginAllowThreads();
21720 result = (long)(arg1)->InsertItem(arg2,arg3);
21721
21722 wxPyEndAllowThreads(__tstate);
21723 if (PyErr_Occurred()) SWIG_fail;
21724 }
21725 resultobj = SWIG_FromLong((long)result);
21726 return resultobj;
21727 fail:
21728 return NULL;
21729 }
21730
21731
21732 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
21733 PyObject *resultobj;
21734 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21735 long arg2 ;
21736 wxString *arg3 = 0 ;
21737 int arg4 ;
21738 long result;
21739 bool temp3 = False ;
21740 PyObject * obj0 = 0 ;
21741 PyObject * obj1 = 0 ;
21742 PyObject * obj2 = 0 ;
21743 PyObject * obj3 = 0 ;
21744 char *kwnames[] = {
21745 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21746 };
21747
21748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21751 arg2 = (long) SWIG_AsLong(obj1);
21752 if (PyErr_Occurred()) SWIG_fail;
21753 {
21754 arg3 = wxString_in_helper(obj2);
21755 if (arg3 == NULL) SWIG_fail;
21756 temp3 = True;
21757 }
21758 arg4 = (int) SWIG_AsInt(obj3);
21759 if (PyErr_Occurred()) SWIG_fail;
21760 {
21761 PyThreadState* __tstate = wxPyBeginAllowThreads();
21762 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
21763
21764 wxPyEndAllowThreads(__tstate);
21765 if (PyErr_Occurred()) SWIG_fail;
21766 }
21767 resultobj = SWIG_FromLong((long)result);
21768 {
21769 if (temp3)
21770 delete arg3;
21771 }
21772 return resultobj;
21773 fail:
21774 {
21775 if (temp3)
21776 delete arg3;
21777 }
21778 return NULL;
21779 }
21780
21781
21782 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
21783 PyObject *resultobj;
21784 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21785 long arg2 ;
21786 wxListItem *arg3 = 0 ;
21787 long result;
21788 PyObject * obj0 = 0 ;
21789 PyObject * obj1 = 0 ;
21790 PyObject * obj2 = 0 ;
21791 char *kwnames[] = {
21792 (char *) "self",(char *) "col",(char *) "info", NULL
21793 };
21794
21795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21798 arg2 = (long) SWIG_AsLong(obj1);
21799 if (PyErr_Occurred()) SWIG_fail;
21800 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
21801 SWIG_POINTER_EXCEPTION | 0)) == -1)
21802 SWIG_fail;
21803 if (arg3 == NULL) {
21804 PyErr_SetString(PyExc_TypeError,"null reference");
21805 SWIG_fail;
21806 }
21807 {
21808 PyThreadState* __tstate = wxPyBeginAllowThreads();
21809 result = (long)(arg1)->InsertColumn(arg2,*arg3);
21810
21811 wxPyEndAllowThreads(__tstate);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 }
21814 resultobj = SWIG_FromLong((long)result);
21815 return resultobj;
21816 fail:
21817 return NULL;
21818 }
21819
21820
21821 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21822 PyObject *resultobj;
21823 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21824 long arg2 ;
21825 wxString *arg3 = 0 ;
21826 int arg4 = (int) wxLIST_FORMAT_LEFT ;
21827 int arg5 = (int) -1 ;
21828 long result;
21829 bool temp3 = False ;
21830 PyObject * obj0 = 0 ;
21831 PyObject * obj1 = 0 ;
21832 PyObject * obj2 = 0 ;
21833 PyObject * obj3 = 0 ;
21834 PyObject * obj4 = 0 ;
21835 char *kwnames[] = {
21836 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
21837 };
21838
21839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21842 arg2 = (long) SWIG_AsLong(obj1);
21843 if (PyErr_Occurred()) SWIG_fail;
21844 {
21845 arg3 = wxString_in_helper(obj2);
21846 if (arg3 == NULL) SWIG_fail;
21847 temp3 = True;
21848 }
21849 if (obj3) {
21850 arg4 = (int) SWIG_AsInt(obj3);
21851 if (PyErr_Occurred()) SWIG_fail;
21852 }
21853 if (obj4) {
21854 arg5 = (int) SWIG_AsInt(obj4);
21855 if (PyErr_Occurred()) SWIG_fail;
21856 }
21857 {
21858 PyThreadState* __tstate = wxPyBeginAllowThreads();
21859 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
21860
21861 wxPyEndAllowThreads(__tstate);
21862 if (PyErr_Occurred()) SWIG_fail;
21863 }
21864 resultobj = SWIG_FromLong((long)result);
21865 {
21866 if (temp3)
21867 delete arg3;
21868 }
21869 return resultobj;
21870 fail:
21871 {
21872 if (temp3)
21873 delete arg3;
21874 }
21875 return NULL;
21876 }
21877
21878
21879 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
21880 PyObject *resultobj;
21881 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21882 long arg2 ;
21883 PyObject * obj0 = 0 ;
21884 PyObject * obj1 = 0 ;
21885 char *kwnames[] = {
21886 (char *) "self",(char *) "count", NULL
21887 };
21888
21889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
21890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21892 arg2 = (long) SWIG_AsLong(obj1);
21893 if (PyErr_Occurred()) SWIG_fail;
21894 {
21895 PyThreadState* __tstate = wxPyBeginAllowThreads();
21896 (arg1)->SetItemCount(arg2);
21897
21898 wxPyEndAllowThreads(__tstate);
21899 if (PyErr_Occurred()) SWIG_fail;
21900 }
21901 Py_INCREF(Py_None); resultobj = Py_None;
21902 return resultobj;
21903 fail:
21904 return NULL;
21905 }
21906
21907
21908 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
21909 PyObject *resultobj;
21910 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21911 int arg2 ;
21912 int arg3 ;
21913 bool result;
21914 PyObject * obj0 = 0 ;
21915 PyObject * obj1 = 0 ;
21916 PyObject * obj2 = 0 ;
21917 char *kwnames[] = {
21918 (char *) "self",(char *) "dx",(char *) "dy", NULL
21919 };
21920
21921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21924 arg2 = (int) SWIG_AsInt(obj1);
21925 if (PyErr_Occurred()) SWIG_fail;
21926 arg3 = (int) SWIG_AsInt(obj2);
21927 if (PyErr_Occurred()) SWIG_fail;
21928 {
21929 PyThreadState* __tstate = wxPyBeginAllowThreads();
21930 result = (bool)(arg1)->ScrollList(arg2,arg3);
21931
21932 wxPyEndAllowThreads(__tstate);
21933 if (PyErr_Occurred()) SWIG_fail;
21934 }
21935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21936 return resultobj;
21937 fail:
21938 return NULL;
21939 }
21940
21941
21942 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21943 PyObject *resultobj;
21944 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21945 long arg2 ;
21946 wxColour *arg3 = 0 ;
21947 wxColour temp3 ;
21948 PyObject * obj0 = 0 ;
21949 PyObject * obj1 = 0 ;
21950 PyObject * obj2 = 0 ;
21951 char *kwnames[] = {
21952 (char *) "self",(char *) "item",(char *) "col", NULL
21953 };
21954
21955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21958 arg2 = (long) SWIG_AsLong(obj1);
21959 if (PyErr_Occurred()) SWIG_fail;
21960 {
21961 arg3 = &temp3;
21962 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21963 }
21964 {
21965 PyThreadState* __tstate = wxPyBeginAllowThreads();
21966 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
21967
21968 wxPyEndAllowThreads(__tstate);
21969 if (PyErr_Occurred()) SWIG_fail;
21970 }
21971 Py_INCREF(Py_None); resultobj = Py_None;
21972 return resultobj;
21973 fail:
21974 return NULL;
21975 }
21976
21977
21978 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21979 PyObject *resultobj;
21980 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21981 long arg2 ;
21982 wxColour result;
21983 PyObject * obj0 = 0 ;
21984 PyObject * obj1 = 0 ;
21985 char *kwnames[] = {
21986 (char *) "self",(char *) "item", NULL
21987 };
21988
21989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21992 arg2 = (long) SWIG_AsLong(obj1);
21993 if (PyErr_Occurred()) SWIG_fail;
21994 {
21995 PyThreadState* __tstate = wxPyBeginAllowThreads();
21996 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
21997
21998 wxPyEndAllowThreads(__tstate);
21999 if (PyErr_Occurred()) SWIG_fail;
22000 }
22001 {
22002 wxColour * resultptr;
22003 resultptr = new wxColour((wxColour &) result);
22004 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22005 }
22006 return resultobj;
22007 fail:
22008 return NULL;
22009 }
22010
22011
22012 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22013 PyObject *resultobj;
22014 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22015 long arg2 ;
22016 wxColour *arg3 = 0 ;
22017 wxColour temp3 ;
22018 PyObject * obj0 = 0 ;
22019 PyObject * obj1 = 0 ;
22020 PyObject * obj2 = 0 ;
22021 char *kwnames[] = {
22022 (char *) "self",(char *) "item",(char *) "col", NULL
22023 };
22024
22025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22028 arg2 = (long) SWIG_AsLong(obj1);
22029 if (PyErr_Occurred()) SWIG_fail;
22030 {
22031 arg3 = &temp3;
22032 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22033 }
22034 {
22035 PyThreadState* __tstate = wxPyBeginAllowThreads();
22036 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
22037
22038 wxPyEndAllowThreads(__tstate);
22039 if (PyErr_Occurred()) SWIG_fail;
22040 }
22041 Py_INCREF(Py_None); resultobj = Py_None;
22042 return resultobj;
22043 fail:
22044 return NULL;
22045 }
22046
22047
22048 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22049 PyObject *resultobj;
22050 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22051 long arg2 ;
22052 wxColour result;
22053 PyObject * obj0 = 0 ;
22054 PyObject * obj1 = 0 ;
22055 char *kwnames[] = {
22056 (char *) "self",(char *) "item", NULL
22057 };
22058
22059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22062 arg2 = (long) SWIG_AsLong(obj1);
22063 if (PyErr_Occurred()) SWIG_fail;
22064 {
22065 PyThreadState* __tstate = wxPyBeginAllowThreads();
22066 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
22067
22068 wxPyEndAllowThreads(__tstate);
22069 if (PyErr_Occurred()) SWIG_fail;
22070 }
22071 {
22072 wxColour * resultptr;
22073 resultptr = new wxColour((wxColour &) result);
22074 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22075 }
22076 return resultobj;
22077 fail:
22078 return NULL;
22079 }
22080
22081
22082 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
22083 PyObject *resultobj;
22084 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22085 PyObject *arg2 = (PyObject *) 0 ;
22086 bool result;
22087 PyObject * obj0 = 0 ;
22088 PyObject * obj1 = 0 ;
22089 char *kwnames[] = {
22090 (char *) "self",(char *) "func", NULL
22091 };
22092
22093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
22094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22096 arg2 = obj1;
22097 {
22098 PyThreadState* __tstate = wxPyBeginAllowThreads();
22099 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
22100
22101 wxPyEndAllowThreads(__tstate);
22102 if (PyErr_Occurred()) SWIG_fail;
22103 }
22104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22105 return resultobj;
22106 fail:
22107 return NULL;
22108 }
22109
22110
22111 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
22112 PyObject *resultobj;
22113 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22114 wxWindow *result;
22115 PyObject * obj0 = 0 ;
22116 char *kwnames[] = {
22117 (char *) "self", NULL
22118 };
22119
22120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
22121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22123 {
22124 PyThreadState* __tstate = wxPyBeginAllowThreads();
22125 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
22126
22127 wxPyEndAllowThreads(__tstate);
22128 if (PyErr_Occurred()) SWIG_fail;
22129 }
22130 {
22131 resultobj = wxPyMake_wxObject(result);
22132 }
22133 return resultobj;
22134 fail:
22135 return NULL;
22136 }
22137
22138
22139 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
22140 PyObject *obj;
22141 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22142 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
22143 Py_INCREF(obj);
22144 return Py_BuildValue((char *)"");
22145 }
22146 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
22147 PyObject *resultobj;
22148 wxWindow *arg1 = (wxWindow *) 0 ;
22149 int arg2 = (int) -1 ;
22150 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22151 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22152 wxSize const &arg4_defvalue = wxDefaultSize ;
22153 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22154 long arg5 = (long) wxLC_REPORT ;
22155 wxValidator const &arg6_defvalue = wxDefaultValidator ;
22156 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
22157 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
22158 wxString *arg7 = (wxString *) &arg7_defvalue ;
22159 wxListView *result;
22160 wxPoint temp3 ;
22161 wxSize temp4 ;
22162 bool temp7 = False ;
22163 PyObject * obj0 = 0 ;
22164 PyObject * obj1 = 0 ;
22165 PyObject * obj2 = 0 ;
22166 PyObject * obj3 = 0 ;
22167 PyObject * obj4 = 0 ;
22168 PyObject * obj5 = 0 ;
22169 PyObject * obj6 = 0 ;
22170 char *kwnames[] = {
22171 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22172 };
22173
22174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22177 if (obj1) {
22178 arg2 = (int) SWIG_AsInt(obj1);
22179 if (PyErr_Occurred()) SWIG_fail;
22180 }
22181 if (obj2) {
22182 {
22183 arg3 = &temp3;
22184 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22185 }
22186 }
22187 if (obj3) {
22188 {
22189 arg4 = &temp4;
22190 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22191 }
22192 }
22193 if (obj4) {
22194 arg5 = (long) SWIG_AsLong(obj4);
22195 if (PyErr_Occurred()) SWIG_fail;
22196 }
22197 if (obj5) {
22198 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
22199 SWIG_POINTER_EXCEPTION | 0)) == -1)
22200 SWIG_fail;
22201 if (arg6 == NULL) {
22202 PyErr_SetString(PyExc_TypeError,"null reference");
22203 SWIG_fail;
22204 }
22205 }
22206 if (obj6) {
22207 {
22208 arg7 = wxString_in_helper(obj6);
22209 if (arg7 == NULL) SWIG_fail;
22210 temp7 = True;
22211 }
22212 }
22213 {
22214 PyThreadState* __tstate = wxPyBeginAllowThreads();
22215 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22216
22217 wxPyEndAllowThreads(__tstate);
22218 if (PyErr_Occurred()) SWIG_fail;
22219 }
22220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22221 {
22222 if (temp7)
22223 delete arg7;
22224 }
22225 return resultobj;
22226 fail:
22227 {
22228 if (temp7)
22229 delete arg7;
22230 }
22231 return NULL;
22232 }
22233
22234
22235 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
22236 PyObject *resultobj;
22237 wxListView *result;
22238 char *kwnames[] = {
22239 NULL
22240 };
22241
22242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22243 {
22244 PyThreadState* __tstate = wxPyBeginAllowThreads();
22245 result = (wxListView *)new wxListView();
22246
22247 wxPyEndAllowThreads(__tstate);
22248 if (PyErr_Occurred()) SWIG_fail;
22249 }
22250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22251 return resultobj;
22252 fail:
22253 return NULL;
22254 }
22255
22256
22257 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
22258 PyObject *resultobj;
22259 wxListView *arg1 = (wxListView *) 0 ;
22260 wxWindow *arg2 = (wxWindow *) 0 ;
22261 int arg3 = (int) -1 ;
22262 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22263 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22264 wxSize const &arg5_defvalue = wxDefaultSize ;
22265 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22266 long arg6 = (long) wxLC_REPORT ;
22267 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22268 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22269 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22270 wxString *arg8 = (wxString *) &arg8_defvalue ;
22271 bool result;
22272 wxPoint temp4 ;
22273 wxSize temp5 ;
22274 bool temp8 = False ;
22275 PyObject * obj0 = 0 ;
22276 PyObject * obj1 = 0 ;
22277 PyObject * obj2 = 0 ;
22278 PyObject * obj3 = 0 ;
22279 PyObject * obj4 = 0 ;
22280 PyObject * obj5 = 0 ;
22281 PyObject * obj6 = 0 ;
22282 PyObject * obj7 = 0 ;
22283 char *kwnames[] = {
22284 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22285 };
22286
22287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
22288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22290 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22292 if (obj2) {
22293 arg3 = (int) SWIG_AsInt(obj2);
22294 if (PyErr_Occurred()) SWIG_fail;
22295 }
22296 if (obj3) {
22297 {
22298 arg4 = &temp4;
22299 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22300 }
22301 }
22302 if (obj4) {
22303 {
22304 arg5 = &temp5;
22305 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22306 }
22307 }
22308 if (obj5) {
22309 arg6 = (long) SWIG_AsLong(obj5);
22310 if (PyErr_Occurred()) SWIG_fail;
22311 }
22312 if (obj6) {
22313 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
22314 SWIG_POINTER_EXCEPTION | 0)) == -1)
22315 SWIG_fail;
22316 if (arg7 == NULL) {
22317 PyErr_SetString(PyExc_TypeError,"null reference");
22318 SWIG_fail;
22319 }
22320 }
22321 if (obj7) {
22322 {
22323 arg8 = wxString_in_helper(obj7);
22324 if (arg8 == NULL) SWIG_fail;
22325 temp8 = True;
22326 }
22327 }
22328 {
22329 PyThreadState* __tstate = wxPyBeginAllowThreads();
22330 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22331
22332 wxPyEndAllowThreads(__tstate);
22333 if (PyErr_Occurred()) SWIG_fail;
22334 }
22335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22336 {
22337 if (temp8)
22338 delete arg8;
22339 }
22340 return resultobj;
22341 fail:
22342 {
22343 if (temp8)
22344 delete arg8;
22345 }
22346 return NULL;
22347 }
22348
22349
22350 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
22351 PyObject *resultobj;
22352 wxListView *arg1 = (wxListView *) 0 ;
22353 long arg2 ;
22354 bool arg3 = (bool) True ;
22355 PyObject * obj0 = 0 ;
22356 PyObject * obj1 = 0 ;
22357 PyObject * obj2 = 0 ;
22358 char *kwnames[] = {
22359 (char *) "self",(char *) "n",(char *) "on", NULL
22360 };
22361
22362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
22363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22365 arg2 = (long) SWIG_AsLong(obj1);
22366 if (PyErr_Occurred()) SWIG_fail;
22367 if (obj2) {
22368 arg3 = (bool) SWIG_AsBool(obj2);
22369 if (PyErr_Occurred()) SWIG_fail;
22370 }
22371 {
22372 PyThreadState* __tstate = wxPyBeginAllowThreads();
22373 (arg1)->Select(arg2,arg3);
22374
22375 wxPyEndAllowThreads(__tstate);
22376 if (PyErr_Occurred()) SWIG_fail;
22377 }
22378 Py_INCREF(Py_None); resultobj = Py_None;
22379 return resultobj;
22380 fail:
22381 return NULL;
22382 }
22383
22384
22385 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
22386 PyObject *resultobj;
22387 wxListView *arg1 = (wxListView *) 0 ;
22388 long arg2 ;
22389 PyObject * obj0 = 0 ;
22390 PyObject * obj1 = 0 ;
22391 char *kwnames[] = {
22392 (char *) "self",(char *) "index", NULL
22393 };
22394
22395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
22396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22398 arg2 = (long) SWIG_AsLong(obj1);
22399 if (PyErr_Occurred()) SWIG_fail;
22400 {
22401 PyThreadState* __tstate = wxPyBeginAllowThreads();
22402 (arg1)->Focus(arg2);
22403
22404 wxPyEndAllowThreads(__tstate);
22405 if (PyErr_Occurred()) SWIG_fail;
22406 }
22407 Py_INCREF(Py_None); resultobj = Py_None;
22408 return resultobj;
22409 fail:
22410 return NULL;
22411 }
22412
22413
22414 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
22415 PyObject *resultobj;
22416 wxListView *arg1 = (wxListView *) 0 ;
22417 long result;
22418 PyObject * obj0 = 0 ;
22419 char *kwnames[] = {
22420 (char *) "self", NULL
22421 };
22422
22423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
22424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22426 {
22427 PyThreadState* __tstate = wxPyBeginAllowThreads();
22428 result = (long)((wxListView const *)arg1)->GetFocusedItem();
22429
22430 wxPyEndAllowThreads(__tstate);
22431 if (PyErr_Occurred()) SWIG_fail;
22432 }
22433 resultobj = SWIG_FromLong((long)result);
22434 return resultobj;
22435 fail:
22436 return NULL;
22437 }
22438
22439
22440 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
22441 PyObject *resultobj;
22442 wxListView *arg1 = (wxListView *) 0 ;
22443 long arg2 ;
22444 long result;
22445 PyObject * obj0 = 0 ;
22446 PyObject * obj1 = 0 ;
22447 char *kwnames[] = {
22448 (char *) "self",(char *) "item", NULL
22449 };
22450
22451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
22452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22454 arg2 = (long) SWIG_AsLong(obj1);
22455 if (PyErr_Occurred()) SWIG_fail;
22456 {
22457 PyThreadState* __tstate = wxPyBeginAllowThreads();
22458 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
22459
22460 wxPyEndAllowThreads(__tstate);
22461 if (PyErr_Occurred()) SWIG_fail;
22462 }
22463 resultobj = SWIG_FromLong((long)result);
22464 return resultobj;
22465 fail:
22466 return NULL;
22467 }
22468
22469
22470 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
22471 PyObject *resultobj;
22472 wxListView *arg1 = (wxListView *) 0 ;
22473 long result;
22474 PyObject * obj0 = 0 ;
22475 char *kwnames[] = {
22476 (char *) "self", NULL
22477 };
22478
22479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
22480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22482 {
22483 PyThreadState* __tstate = wxPyBeginAllowThreads();
22484 result = (long)((wxListView const *)arg1)->GetFirstSelected();
22485
22486 wxPyEndAllowThreads(__tstate);
22487 if (PyErr_Occurred()) SWIG_fail;
22488 }
22489 resultobj = SWIG_FromLong((long)result);
22490 return resultobj;
22491 fail:
22492 return NULL;
22493 }
22494
22495
22496 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
22497 PyObject *resultobj;
22498 wxListView *arg1 = (wxListView *) 0 ;
22499 long arg2 ;
22500 bool result;
22501 PyObject * obj0 = 0 ;
22502 PyObject * obj1 = 0 ;
22503 char *kwnames[] = {
22504 (char *) "self",(char *) "index", NULL
22505 };
22506
22507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22510 arg2 = (long) SWIG_AsLong(obj1);
22511 if (PyErr_Occurred()) SWIG_fail;
22512 {
22513 PyThreadState* __tstate = wxPyBeginAllowThreads();
22514 result = (bool)(arg1)->IsSelected(arg2);
22515
22516 wxPyEndAllowThreads(__tstate);
22517 if (PyErr_Occurred()) SWIG_fail;
22518 }
22519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22520 return resultobj;
22521 fail:
22522 return NULL;
22523 }
22524
22525
22526 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
22527 PyObject *resultobj;
22528 wxListView *arg1 = (wxListView *) 0 ;
22529 int arg2 ;
22530 int arg3 ;
22531 PyObject * obj0 = 0 ;
22532 PyObject * obj1 = 0 ;
22533 PyObject * obj2 = 0 ;
22534 char *kwnames[] = {
22535 (char *) "self",(char *) "col",(char *) "image", NULL
22536 };
22537
22538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22541 arg2 = (int) SWIG_AsInt(obj1);
22542 if (PyErr_Occurred()) SWIG_fail;
22543 arg3 = (int) SWIG_AsInt(obj2);
22544 if (PyErr_Occurred()) SWIG_fail;
22545 {
22546 PyThreadState* __tstate = wxPyBeginAllowThreads();
22547 (arg1)->SetColumnImage(arg2,arg3);
22548
22549 wxPyEndAllowThreads(__tstate);
22550 if (PyErr_Occurred()) SWIG_fail;
22551 }
22552 Py_INCREF(Py_None); resultobj = Py_None;
22553 return resultobj;
22554 fail:
22555 return NULL;
22556 }
22557
22558
22559 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
22560 PyObject *resultobj;
22561 wxListView *arg1 = (wxListView *) 0 ;
22562 int arg2 ;
22563 PyObject * obj0 = 0 ;
22564 PyObject * obj1 = 0 ;
22565 char *kwnames[] = {
22566 (char *) "self",(char *) "col", NULL
22567 };
22568
22569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
22570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22572 arg2 = (int) SWIG_AsInt(obj1);
22573 if (PyErr_Occurred()) SWIG_fail;
22574 {
22575 PyThreadState* __tstate = wxPyBeginAllowThreads();
22576 (arg1)->ClearColumnImage(arg2);
22577
22578 wxPyEndAllowThreads(__tstate);
22579 if (PyErr_Occurred()) SWIG_fail;
22580 }
22581 Py_INCREF(Py_None); resultobj = Py_None;
22582 return resultobj;
22583 fail:
22584 return NULL;
22585 }
22586
22587
22588 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
22589 PyObject *obj;
22590 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22591 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
22592 Py_INCREF(obj);
22593 return Py_BuildValue((char *)"");
22594 }
22595 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
22596 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
22597 return 1;
22598 }
22599
22600
22601 static PyObject *_wrap_TreeCtrlNameStr_get() {
22602 PyObject *pyobj;
22603
22604 {
22605 #if wxUSE_UNICODE
22606 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22607 #else
22608 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22609 #endif
22610 }
22611 return pyobj;
22612 }
22613
22614
22615 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
22616 PyObject *resultobj;
22617 wxTreeItemId *result;
22618 char *kwnames[] = {
22619 NULL
22620 };
22621
22622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
22623 {
22624 PyThreadState* __tstate = wxPyBeginAllowThreads();
22625 result = (wxTreeItemId *)new wxTreeItemId();
22626
22627 wxPyEndAllowThreads(__tstate);
22628 if (PyErr_Occurred()) SWIG_fail;
22629 }
22630 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
22631 return resultobj;
22632 fail:
22633 return NULL;
22634 }
22635
22636
22637 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
22638 PyObject *resultobj;
22639 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22640 PyObject * obj0 = 0 ;
22641 char *kwnames[] = {
22642 (char *) "self", NULL
22643 };
22644
22645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
22646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22648 {
22649 PyThreadState* __tstate = wxPyBeginAllowThreads();
22650 delete arg1;
22651
22652 wxPyEndAllowThreads(__tstate);
22653 if (PyErr_Occurred()) SWIG_fail;
22654 }
22655 Py_INCREF(Py_None); resultobj = Py_None;
22656 return resultobj;
22657 fail:
22658 return NULL;
22659 }
22660
22661
22662 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
22663 PyObject *resultobj;
22664 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22665 bool result;
22666 PyObject * obj0 = 0 ;
22667 char *kwnames[] = {
22668 (char *) "self", NULL
22669 };
22670
22671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
22672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22674 {
22675 PyThreadState* __tstate = wxPyBeginAllowThreads();
22676 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
22677
22678 wxPyEndAllowThreads(__tstate);
22679 if (PyErr_Occurred()) SWIG_fail;
22680 }
22681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22682 return resultobj;
22683 fail:
22684 return NULL;
22685 }
22686
22687
22688 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
22689 PyObject *resultobj;
22690 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22691 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22692 bool result;
22693 PyObject * obj0 = 0 ;
22694 PyObject * obj1 = 0 ;
22695 char *kwnames[] = {
22696 (char *) "self",(char *) "other", NULL
22697 };
22698
22699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
22700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22702 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
22703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22704 {
22705 PyThreadState* __tstate = wxPyBeginAllowThreads();
22706 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
22707
22708 wxPyEndAllowThreads(__tstate);
22709 if (PyErr_Occurred()) SWIG_fail;
22710 }
22711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22712 return resultobj;
22713 fail:
22714 return NULL;
22715 }
22716
22717
22718 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
22719 PyObject *resultobj;
22720 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22721 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22722 bool result;
22723 PyObject * obj0 = 0 ;
22724 PyObject * obj1 = 0 ;
22725 char *kwnames[] = {
22726 (char *) "self",(char *) "other", NULL
22727 };
22728
22729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
22730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22732 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
22733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22734 {
22735 PyThreadState* __tstate = wxPyBeginAllowThreads();
22736 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
22737
22738 wxPyEndAllowThreads(__tstate);
22739 if (PyErr_Occurred()) SWIG_fail;
22740 }
22741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22742 return resultobj;
22743 fail:
22744 return NULL;
22745 }
22746
22747
22748 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
22749 PyObject *resultobj;
22750 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22751 void *arg2 = (void *) 0 ;
22752 PyObject * obj0 = 0 ;
22753 PyObject * obj1 = 0 ;
22754 char *kwnames[] = {
22755 (char *) "self",(char *) "m_pItem", NULL
22756 };
22757
22758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
22759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22761 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22762 if (arg1) (arg1)->m_pItem = arg2;
22763
22764 Py_INCREF(Py_None); resultobj = Py_None;
22765 return resultobj;
22766 fail:
22767 return NULL;
22768 }
22769
22770
22771 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
22772 PyObject *resultobj;
22773 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22774 void *result;
22775 PyObject * obj0 = 0 ;
22776 char *kwnames[] = {
22777 (char *) "self", NULL
22778 };
22779
22780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
22781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22783 result = (void *) ((arg1)->m_pItem);
22784
22785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
22786 return resultobj;
22787 fail:
22788 return NULL;
22789 }
22790
22791
22792 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
22793 PyObject *obj;
22794 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22795 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
22796 Py_INCREF(obj);
22797 return Py_BuildValue((char *)"");
22798 }
22799 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
22800 PyObject *resultobj;
22801 PyObject *arg1 = (PyObject *) NULL ;
22802 wxPyTreeItemData *result;
22803 PyObject * obj0 = 0 ;
22804 char *kwnames[] = {
22805 (char *) "obj", NULL
22806 };
22807
22808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
22809 if (obj0) {
22810 arg1 = obj0;
22811 }
22812 {
22813 PyThreadState* __tstate = wxPyBeginAllowThreads();
22814 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
22815
22816 wxPyEndAllowThreads(__tstate);
22817 if (PyErr_Occurred()) SWIG_fail;
22818 }
22819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
22820 return resultobj;
22821 fail:
22822 return NULL;
22823 }
22824
22825
22826 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
22827 PyObject *resultobj;
22828 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22829 PyObject *result;
22830 PyObject * obj0 = 0 ;
22831 char *kwnames[] = {
22832 (char *) "self", NULL
22833 };
22834
22835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
22836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
22837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22838 {
22839 PyThreadState* __tstate = wxPyBeginAllowThreads();
22840 result = (PyObject *)(arg1)->GetData();
22841
22842 wxPyEndAllowThreads(__tstate);
22843 if (PyErr_Occurred()) SWIG_fail;
22844 }
22845 resultobj = result;
22846 return resultobj;
22847 fail:
22848 return NULL;
22849 }
22850
22851
22852 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
22853 PyObject *resultobj;
22854 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22855 PyObject *arg2 = (PyObject *) 0 ;
22856 PyObject * obj0 = 0 ;
22857 PyObject * obj1 = 0 ;
22858 char *kwnames[] = {
22859 (char *) "self",(char *) "obj", NULL
22860 };
22861
22862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
22863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
22864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22865 arg2 = obj1;
22866 {
22867 PyThreadState* __tstate = wxPyBeginAllowThreads();
22868 (arg1)->SetData(arg2);
22869
22870 wxPyEndAllowThreads(__tstate);
22871 if (PyErr_Occurred()) SWIG_fail;
22872 }
22873 Py_INCREF(Py_None); resultobj = Py_None;
22874 return resultobj;
22875 fail:
22876 return NULL;
22877 }
22878
22879
22880 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
22881 PyObject *resultobj;
22882 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22883 wxTreeItemId *result;
22884 PyObject * obj0 = 0 ;
22885 char *kwnames[] = {
22886 (char *) "self", NULL
22887 };
22888
22889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
22890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
22891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22892 {
22893 PyThreadState* __tstate = wxPyBeginAllowThreads();
22894 {
22895 wxTreeItemId const &_result_ref = (arg1)->GetId();
22896 result = (wxTreeItemId *) &_result_ref;
22897 }
22898
22899 wxPyEndAllowThreads(__tstate);
22900 if (PyErr_Occurred()) SWIG_fail;
22901 }
22902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
22903 return resultobj;
22904 fail:
22905 return NULL;
22906 }
22907
22908
22909 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
22910 PyObject *resultobj;
22911 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22912 wxTreeItemId *arg2 = 0 ;
22913 PyObject * obj0 = 0 ;
22914 PyObject * obj1 = 0 ;
22915 char *kwnames[] = {
22916 (char *) "self",(char *) "id", NULL
22917 };
22918
22919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
22920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
22921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22922 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
22923 SWIG_POINTER_EXCEPTION | 0)) == -1)
22924 SWIG_fail;
22925 if (arg2 == NULL) {
22926 PyErr_SetString(PyExc_TypeError,"null reference");
22927 SWIG_fail;
22928 }
22929 {
22930 PyThreadState* __tstate = wxPyBeginAllowThreads();
22931 (arg1)->SetId((wxTreeItemId const &)*arg2);
22932
22933 wxPyEndAllowThreads(__tstate);
22934 if (PyErr_Occurred()) SWIG_fail;
22935 }
22936 Py_INCREF(Py_None); resultobj = Py_None;
22937 return resultobj;
22938 fail:
22939 return NULL;
22940 }
22941
22942
22943 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
22944 PyObject *resultobj;
22945 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22946 PyObject * obj0 = 0 ;
22947 char *kwnames[] = {
22948 (char *) "self", NULL
22949 };
22950
22951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
22952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
22953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22954 {
22955 PyThreadState* __tstate = wxPyBeginAllowThreads();
22956 wxPyTreeItemData_Destroy(arg1);
22957
22958 wxPyEndAllowThreads(__tstate);
22959 if (PyErr_Occurred()) SWIG_fail;
22960 }
22961 Py_INCREF(Py_None); resultobj = Py_None;
22962 return resultobj;
22963 fail:
22964 return NULL;
22965 }
22966
22967
22968 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
22969 PyObject *obj;
22970 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22971 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
22972 Py_INCREF(obj);
22973 return Py_BuildValue((char *)"");
22974 }
22975 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
22976 PyObject *resultobj;
22977 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22978 int arg2 = (int) 0 ;
22979 wxTreeEvent *result;
22980 PyObject * obj0 = 0 ;
22981 PyObject * obj1 = 0 ;
22982 char *kwnames[] = {
22983 (char *) "commandType",(char *) "id", NULL
22984 };
22985
22986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
22987 if (obj0) {
22988 arg1 = (wxEventType) SWIG_AsInt(obj0);
22989 if (PyErr_Occurred()) SWIG_fail;
22990 }
22991 if (obj1) {
22992 arg2 = (int) SWIG_AsInt(obj1);
22993 if (PyErr_Occurred()) SWIG_fail;
22994 }
22995 {
22996 PyThreadState* __tstate = wxPyBeginAllowThreads();
22997 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
22998
22999 wxPyEndAllowThreads(__tstate);
23000 if (PyErr_Occurred()) SWIG_fail;
23001 }
23002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
23003 return resultobj;
23004 fail:
23005 return NULL;
23006 }
23007
23008
23009 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23010 PyObject *resultobj;
23011 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23012 wxTreeItemId result;
23013 PyObject * obj0 = 0 ;
23014 char *kwnames[] = {
23015 (char *) "self", NULL
23016 };
23017
23018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
23019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23021 {
23022 PyThreadState* __tstate = wxPyBeginAllowThreads();
23023 result = ((wxTreeEvent const *)arg1)->GetItem();
23024
23025 wxPyEndAllowThreads(__tstate);
23026 if (PyErr_Occurred()) SWIG_fail;
23027 }
23028 {
23029 wxTreeItemId * resultptr;
23030 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23031 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23032 }
23033 return resultobj;
23034 fail:
23035 return NULL;
23036 }
23037
23038
23039 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23040 PyObject *resultobj;
23041 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23042 wxTreeItemId *arg2 = 0 ;
23043 PyObject * obj0 = 0 ;
23044 PyObject * obj1 = 0 ;
23045 char *kwnames[] = {
23046 (char *) "self",(char *) "item", NULL
23047 };
23048
23049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
23050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23052 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23053 SWIG_POINTER_EXCEPTION | 0)) == -1)
23054 SWIG_fail;
23055 if (arg2 == NULL) {
23056 PyErr_SetString(PyExc_TypeError,"null reference");
23057 SWIG_fail;
23058 }
23059 {
23060 PyThreadState* __tstate = wxPyBeginAllowThreads();
23061 (arg1)->SetItem((wxTreeItemId const &)*arg2);
23062
23063 wxPyEndAllowThreads(__tstate);
23064 if (PyErr_Occurred()) SWIG_fail;
23065 }
23066 Py_INCREF(Py_None); resultobj = Py_None;
23067 return resultobj;
23068 fail:
23069 return NULL;
23070 }
23071
23072
23073 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
23074 PyObject *resultobj;
23075 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23076 wxTreeItemId result;
23077 PyObject * obj0 = 0 ;
23078 char *kwnames[] = {
23079 (char *) "self", NULL
23080 };
23081
23082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
23083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23085 {
23086 PyThreadState* __tstate = wxPyBeginAllowThreads();
23087 result = ((wxTreeEvent const *)arg1)->GetOldItem();
23088
23089 wxPyEndAllowThreads(__tstate);
23090 if (PyErr_Occurred()) SWIG_fail;
23091 }
23092 {
23093 wxTreeItemId * resultptr;
23094 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23095 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23096 }
23097 return resultobj;
23098 fail:
23099 return NULL;
23100 }
23101
23102
23103 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
23104 PyObject *resultobj;
23105 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23106 wxTreeItemId *arg2 = 0 ;
23107 PyObject * obj0 = 0 ;
23108 PyObject * obj1 = 0 ;
23109 char *kwnames[] = {
23110 (char *) "self",(char *) "item", NULL
23111 };
23112
23113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
23114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23116 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23117 SWIG_POINTER_EXCEPTION | 0)) == -1)
23118 SWIG_fail;
23119 if (arg2 == NULL) {
23120 PyErr_SetString(PyExc_TypeError,"null reference");
23121 SWIG_fail;
23122 }
23123 {
23124 PyThreadState* __tstate = wxPyBeginAllowThreads();
23125 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
23126
23127 wxPyEndAllowThreads(__tstate);
23128 if (PyErr_Occurred()) SWIG_fail;
23129 }
23130 Py_INCREF(Py_None); resultobj = Py_None;
23131 return resultobj;
23132 fail:
23133 return NULL;
23134 }
23135
23136
23137 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23138 PyObject *resultobj;
23139 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23140 wxPoint result;
23141 PyObject * obj0 = 0 ;
23142 char *kwnames[] = {
23143 (char *) "self", NULL
23144 };
23145
23146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
23147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23149 {
23150 PyThreadState* __tstate = wxPyBeginAllowThreads();
23151 result = ((wxTreeEvent const *)arg1)->GetPoint();
23152
23153 wxPyEndAllowThreads(__tstate);
23154 if (PyErr_Occurred()) SWIG_fail;
23155 }
23156 {
23157 wxPoint * resultptr;
23158 resultptr = new wxPoint((wxPoint &) result);
23159 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23160 }
23161 return resultobj;
23162 fail:
23163 return NULL;
23164 }
23165
23166
23167 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23168 PyObject *resultobj;
23169 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23170 wxPoint *arg2 = 0 ;
23171 wxPoint temp2 ;
23172 PyObject * obj0 = 0 ;
23173 PyObject * obj1 = 0 ;
23174 char *kwnames[] = {
23175 (char *) "self",(char *) "pt", NULL
23176 };
23177
23178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
23179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23181 {
23182 arg2 = &temp2;
23183 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23184 }
23185 {
23186 PyThreadState* __tstate = wxPyBeginAllowThreads();
23187 (arg1)->SetPoint((wxPoint const &)*arg2);
23188
23189 wxPyEndAllowThreads(__tstate);
23190 if (PyErr_Occurred()) SWIG_fail;
23191 }
23192 Py_INCREF(Py_None); resultobj = Py_None;
23193 return resultobj;
23194 fail:
23195 return NULL;
23196 }
23197
23198
23199 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23200 PyObject *resultobj;
23201 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23202 wxKeyEvent *result;
23203 PyObject * obj0 = 0 ;
23204 char *kwnames[] = {
23205 (char *) "self", NULL
23206 };
23207
23208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
23209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23211 {
23212 PyThreadState* __tstate = wxPyBeginAllowThreads();
23213 {
23214 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23215 result = (wxKeyEvent *) &_result_ref;
23216 }
23217
23218 wxPyEndAllowThreads(__tstate);
23219 if (PyErr_Occurred()) SWIG_fail;
23220 }
23221 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
23222 return resultobj;
23223 fail:
23224 return NULL;
23225 }
23226
23227
23228 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
23229 PyObject *resultobj;
23230 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23231 int result;
23232 PyObject * obj0 = 0 ;
23233 char *kwnames[] = {
23234 (char *) "self", NULL
23235 };
23236
23237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23240 {
23241 PyThreadState* __tstate = wxPyBeginAllowThreads();
23242 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23243
23244 wxPyEndAllowThreads(__tstate);
23245 if (PyErr_Occurred()) SWIG_fail;
23246 }
23247 resultobj = SWIG_FromInt((int)result);
23248 return resultobj;
23249 fail:
23250 return NULL;
23251 }
23252
23253
23254 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23255 PyObject *resultobj;
23256 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23257 wxKeyEvent *arg2 = 0 ;
23258 PyObject * obj0 = 0 ;
23259 PyObject * obj1 = 0 ;
23260 char *kwnames[] = {
23261 (char *) "self",(char *) "evt", NULL
23262 };
23263
23264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
23265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23267 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
23268 SWIG_POINTER_EXCEPTION | 0)) == -1)
23269 SWIG_fail;
23270 if (arg2 == NULL) {
23271 PyErr_SetString(PyExc_TypeError,"null reference");
23272 SWIG_fail;
23273 }
23274 {
23275 PyThreadState* __tstate = wxPyBeginAllowThreads();
23276 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23277
23278 wxPyEndAllowThreads(__tstate);
23279 if (PyErr_Occurred()) SWIG_fail;
23280 }
23281 Py_INCREF(Py_None); resultobj = Py_None;
23282 return resultobj;
23283 fail:
23284 return NULL;
23285 }
23286
23287
23288 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23289 PyObject *resultobj;
23290 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23291 wxString *result;
23292 PyObject * obj0 = 0 ;
23293 char *kwnames[] = {
23294 (char *) "self", NULL
23295 };
23296
23297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
23298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23300 {
23301 PyThreadState* __tstate = wxPyBeginAllowThreads();
23302 {
23303 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23304 result = (wxString *) &_result_ref;
23305 }
23306
23307 wxPyEndAllowThreads(__tstate);
23308 if (PyErr_Occurred()) SWIG_fail;
23309 }
23310 {
23311 #if wxUSE_UNICODE
23312 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23313 #else
23314 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23315 #endif
23316 }
23317 return resultobj;
23318 fail:
23319 return NULL;
23320 }
23321
23322
23323 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23324 PyObject *resultobj;
23325 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23326 wxString *arg2 = 0 ;
23327 bool temp2 = False ;
23328 PyObject * obj0 = 0 ;
23329 PyObject * obj1 = 0 ;
23330 char *kwnames[] = {
23331 (char *) "self",(char *) "label", NULL
23332 };
23333
23334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
23335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23337 {
23338 arg2 = wxString_in_helper(obj1);
23339 if (arg2 == NULL) SWIG_fail;
23340 temp2 = True;
23341 }
23342 {
23343 PyThreadState* __tstate = wxPyBeginAllowThreads();
23344 (arg1)->SetLabel((wxString const &)*arg2);
23345
23346 wxPyEndAllowThreads(__tstate);
23347 if (PyErr_Occurred()) SWIG_fail;
23348 }
23349 Py_INCREF(Py_None); resultobj = Py_None;
23350 {
23351 if (temp2)
23352 delete arg2;
23353 }
23354 return resultobj;
23355 fail:
23356 {
23357 if (temp2)
23358 delete arg2;
23359 }
23360 return NULL;
23361 }
23362
23363
23364 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
23365 PyObject *resultobj;
23366 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23367 bool result;
23368 PyObject * obj0 = 0 ;
23369 char *kwnames[] = {
23370 (char *) "self", NULL
23371 };
23372
23373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23376 {
23377 PyThreadState* __tstate = wxPyBeginAllowThreads();
23378 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23379
23380 wxPyEndAllowThreads(__tstate);
23381 if (PyErr_Occurred()) SWIG_fail;
23382 }
23383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23384 return resultobj;
23385 fail:
23386 return NULL;
23387 }
23388
23389
23390 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
23391 PyObject *resultobj;
23392 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23393 bool arg2 ;
23394 PyObject * obj0 = 0 ;
23395 PyObject * obj1 = 0 ;
23396 char *kwnames[] = {
23397 (char *) "self",(char *) "editCancelled", NULL
23398 };
23399
23400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23403 arg2 = (bool) SWIG_AsBool(obj1);
23404 if (PyErr_Occurred()) SWIG_fail;
23405 {
23406 PyThreadState* __tstate = wxPyBeginAllowThreads();
23407 (arg1)->SetEditCanceled(arg2);
23408
23409 wxPyEndAllowThreads(__tstate);
23410 if (PyErr_Occurred()) SWIG_fail;
23411 }
23412 Py_INCREF(Py_None); resultobj = Py_None;
23413 return resultobj;
23414 fail:
23415 return NULL;
23416 }
23417
23418
23419 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
23420 PyObject *resultobj;
23421 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23422 wxString *arg2 = 0 ;
23423 bool temp2 = False ;
23424 PyObject * obj0 = 0 ;
23425 PyObject * obj1 = 0 ;
23426 char *kwnames[] = {
23427 (char *) "self",(char *) "toolTip", NULL
23428 };
23429
23430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23433 {
23434 arg2 = wxString_in_helper(obj1);
23435 if (arg2 == NULL) SWIG_fail;
23436 temp2 = True;
23437 }
23438 {
23439 PyThreadState* __tstate = wxPyBeginAllowThreads();
23440 (arg1)->SetToolTip((wxString const &)*arg2);
23441
23442 wxPyEndAllowThreads(__tstate);
23443 if (PyErr_Occurred()) SWIG_fail;
23444 }
23445 Py_INCREF(Py_None); resultobj = Py_None;
23446 {
23447 if (temp2)
23448 delete arg2;
23449 }
23450 return resultobj;
23451 fail:
23452 {
23453 if (temp2)
23454 delete arg2;
23455 }
23456 return NULL;
23457 }
23458
23459
23460 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
23461 PyObject *obj;
23462 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23463 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
23464 Py_INCREF(obj);
23465 return Py_BuildValue((char *)"");
23466 }
23467 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23468 PyObject *resultobj;
23469 wxWindow *arg1 = (wxWindow *) 0 ;
23470 int arg2 = (int) -1 ;
23471 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23472 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23473 wxSize const &arg4_defvalue = wxDefaultSize ;
23474 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23475 long arg5 = (long) wxTR_DEFAULT_STYLE ;
23476 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23477 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23478 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
23479 wxString *arg7 = (wxString *) &arg7_defvalue ;
23480 wxPyTreeCtrl *result;
23481 wxPoint temp3 ;
23482 wxSize temp4 ;
23483 bool temp7 = False ;
23484 PyObject * obj0 = 0 ;
23485 PyObject * obj1 = 0 ;
23486 PyObject * obj2 = 0 ;
23487 PyObject * obj3 = 0 ;
23488 PyObject * obj4 = 0 ;
23489 PyObject * obj5 = 0 ;
23490 PyObject * obj6 = 0 ;
23491 char *kwnames[] = {
23492 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23493 };
23494
23495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23498 if (obj1) {
23499 arg2 = (int) SWIG_AsInt(obj1);
23500 if (PyErr_Occurred()) SWIG_fail;
23501 }
23502 if (obj2) {
23503 {
23504 arg3 = &temp3;
23505 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23506 }
23507 }
23508 if (obj3) {
23509 {
23510 arg4 = &temp4;
23511 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23512 }
23513 }
23514 if (obj4) {
23515 arg5 = (long) SWIG_AsLong(obj4);
23516 if (PyErr_Occurred()) SWIG_fail;
23517 }
23518 if (obj5) {
23519 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
23520 SWIG_POINTER_EXCEPTION | 0)) == -1)
23521 SWIG_fail;
23522 if (arg6 == NULL) {
23523 PyErr_SetString(PyExc_TypeError,"null reference");
23524 SWIG_fail;
23525 }
23526 }
23527 if (obj6) {
23528 {
23529 arg7 = wxString_in_helper(obj6);
23530 if (arg7 == NULL) SWIG_fail;
23531 temp7 = True;
23532 }
23533 }
23534 {
23535 PyThreadState* __tstate = wxPyBeginAllowThreads();
23536 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23537
23538 wxPyEndAllowThreads(__tstate);
23539 if (PyErr_Occurred()) SWIG_fail;
23540 }
23541 {
23542 resultobj = wxPyMake_wxObject(result);
23543 }
23544 {
23545 if (temp7)
23546 delete arg7;
23547 }
23548 return resultobj;
23549 fail:
23550 {
23551 if (temp7)
23552 delete arg7;
23553 }
23554 return NULL;
23555 }
23556
23557
23558 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23559 PyObject *resultobj;
23560 wxPyTreeCtrl *result;
23561 char *kwnames[] = {
23562 NULL
23563 };
23564
23565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
23566 {
23567 PyThreadState* __tstate = wxPyBeginAllowThreads();
23568 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
23569
23570 wxPyEndAllowThreads(__tstate);
23571 if (PyErr_Occurred()) SWIG_fail;
23572 }
23573 {
23574 resultobj = wxPyMake_wxObject(result);
23575 }
23576 return resultobj;
23577 fail:
23578 return NULL;
23579 }
23580
23581
23582 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
23583 PyObject *resultobj;
23584 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23585 wxWindow *arg2 = (wxWindow *) 0 ;
23586 int arg3 = (int) -1 ;
23587 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23588 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23589 wxSize const &arg5_defvalue = wxDefaultSize ;
23590 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23591 long arg6 = (long) wxTR_DEFAULT_STYLE ;
23592 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23593 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23594 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
23595 wxString *arg8 = (wxString *) &arg8_defvalue ;
23596 bool result;
23597 wxPoint temp4 ;
23598 wxSize temp5 ;
23599 bool temp8 = False ;
23600 PyObject * obj0 = 0 ;
23601 PyObject * obj1 = 0 ;
23602 PyObject * obj2 = 0 ;
23603 PyObject * obj3 = 0 ;
23604 PyObject * obj4 = 0 ;
23605 PyObject * obj5 = 0 ;
23606 PyObject * obj6 = 0 ;
23607 PyObject * obj7 = 0 ;
23608 char *kwnames[] = {
23609 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23610 };
23611
23612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23615 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23617 if (obj2) {
23618 arg3 = (int) SWIG_AsInt(obj2);
23619 if (PyErr_Occurred()) SWIG_fail;
23620 }
23621 if (obj3) {
23622 {
23623 arg4 = &temp4;
23624 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23625 }
23626 }
23627 if (obj4) {
23628 {
23629 arg5 = &temp5;
23630 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23631 }
23632 }
23633 if (obj5) {
23634 arg6 = (long) SWIG_AsLong(obj5);
23635 if (PyErr_Occurred()) SWIG_fail;
23636 }
23637 if (obj6) {
23638 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
23639 SWIG_POINTER_EXCEPTION | 0)) == -1)
23640 SWIG_fail;
23641 if (arg7 == NULL) {
23642 PyErr_SetString(PyExc_TypeError,"null reference");
23643 SWIG_fail;
23644 }
23645 }
23646 if (obj7) {
23647 {
23648 arg8 = wxString_in_helper(obj7);
23649 if (arg8 == NULL) SWIG_fail;
23650 temp8 = True;
23651 }
23652 }
23653 {
23654 PyThreadState* __tstate = wxPyBeginAllowThreads();
23655 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23656
23657 wxPyEndAllowThreads(__tstate);
23658 if (PyErr_Occurred()) SWIG_fail;
23659 }
23660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23661 {
23662 if (temp8)
23663 delete arg8;
23664 }
23665 return resultobj;
23666 fail:
23667 {
23668 if (temp8)
23669 delete arg8;
23670 }
23671 return NULL;
23672 }
23673
23674
23675 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23676 PyObject *resultobj;
23677 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23678 PyObject *arg2 = (PyObject *) 0 ;
23679 PyObject *arg3 = (PyObject *) 0 ;
23680 PyObject * obj0 = 0 ;
23681 PyObject * obj1 = 0 ;
23682 PyObject * obj2 = 0 ;
23683 char *kwnames[] = {
23684 (char *) "self",(char *) "self",(char *) "_class", NULL
23685 };
23686
23687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23690 arg2 = obj1;
23691 arg3 = obj2;
23692 {
23693 PyThreadState* __tstate = wxPyBeginAllowThreads();
23694 (arg1)->_setCallbackInfo(arg2,arg3);
23695
23696 wxPyEndAllowThreads(__tstate);
23697 if (PyErr_Occurred()) SWIG_fail;
23698 }
23699 Py_INCREF(Py_None); resultobj = Py_None;
23700 return resultobj;
23701 fail:
23702 return NULL;
23703 }
23704
23705
23706 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
23707 PyObject *resultobj;
23708 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23709 size_t result;
23710 PyObject * obj0 = 0 ;
23711 char *kwnames[] = {
23712 (char *) "self", NULL
23713 };
23714
23715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
23716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23718 {
23719 PyThreadState* __tstate = wxPyBeginAllowThreads();
23720 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
23721
23722 wxPyEndAllowThreads(__tstate);
23723 if (PyErr_Occurred()) SWIG_fail;
23724 }
23725 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
23726 return resultobj;
23727 fail:
23728 return NULL;
23729 }
23730
23731
23732 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
23733 PyObject *resultobj;
23734 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23735 unsigned int result;
23736 PyObject * obj0 = 0 ;
23737 char *kwnames[] = {
23738 (char *) "self", NULL
23739 };
23740
23741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
23742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23744 {
23745 PyThreadState* __tstate = wxPyBeginAllowThreads();
23746 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
23747
23748 wxPyEndAllowThreads(__tstate);
23749 if (PyErr_Occurred()) SWIG_fail;
23750 }
23751 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
23752 return resultobj;
23753 fail:
23754 return NULL;
23755 }
23756
23757
23758 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
23759 PyObject *resultobj;
23760 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23761 unsigned int arg2 ;
23762 PyObject * obj0 = 0 ;
23763 PyObject * obj1 = 0 ;
23764 char *kwnames[] = {
23765 (char *) "self",(char *) "indent", NULL
23766 };
23767
23768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
23769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23771 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
23772 if (PyErr_Occurred()) SWIG_fail;
23773 {
23774 PyThreadState* __tstate = wxPyBeginAllowThreads();
23775 (arg1)->SetIndent(arg2);
23776
23777 wxPyEndAllowThreads(__tstate);
23778 if (PyErr_Occurred()) SWIG_fail;
23779 }
23780 Py_INCREF(Py_None); resultobj = Py_None;
23781 return resultobj;
23782 fail:
23783 return NULL;
23784 }
23785
23786
23787 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
23788 PyObject *resultobj;
23789 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23790 unsigned int result;
23791 PyObject * obj0 = 0 ;
23792 char *kwnames[] = {
23793 (char *) "self", NULL
23794 };
23795
23796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
23797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23799 {
23800 PyThreadState* __tstate = wxPyBeginAllowThreads();
23801 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
23802
23803 wxPyEndAllowThreads(__tstate);
23804 if (PyErr_Occurred()) SWIG_fail;
23805 }
23806 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
23807 return resultobj;
23808 fail:
23809 return NULL;
23810 }
23811
23812
23813 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
23814 PyObject *resultobj;
23815 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23816 unsigned int arg2 ;
23817 PyObject * obj0 = 0 ;
23818 PyObject * obj1 = 0 ;
23819 char *kwnames[] = {
23820 (char *) "self",(char *) "spacing", NULL
23821 };
23822
23823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
23824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23826 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
23827 if (PyErr_Occurred()) SWIG_fail;
23828 {
23829 PyThreadState* __tstate = wxPyBeginAllowThreads();
23830 (arg1)->SetSpacing(arg2);
23831
23832 wxPyEndAllowThreads(__tstate);
23833 if (PyErr_Occurred()) SWIG_fail;
23834 }
23835 Py_INCREF(Py_None); resultobj = Py_None;
23836 return resultobj;
23837 fail:
23838 return NULL;
23839 }
23840
23841
23842 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
23843 PyObject *resultobj;
23844 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23845 wxImageList *result;
23846 PyObject * obj0 = 0 ;
23847 char *kwnames[] = {
23848 (char *) "self", NULL
23849 };
23850
23851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
23852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23854 {
23855 PyThreadState* __tstate = wxPyBeginAllowThreads();
23856 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
23857
23858 wxPyEndAllowThreads(__tstate);
23859 if (PyErr_Occurred()) SWIG_fail;
23860 }
23861 {
23862 resultobj = wxPyMake_wxObject(result);
23863 }
23864 return resultobj;
23865 fail:
23866 return NULL;
23867 }
23868
23869
23870 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
23871 PyObject *resultobj;
23872 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23873 wxImageList *result;
23874 PyObject * obj0 = 0 ;
23875 char *kwnames[] = {
23876 (char *) "self", NULL
23877 };
23878
23879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
23880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23882 {
23883 PyThreadState* __tstate = wxPyBeginAllowThreads();
23884 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
23885
23886 wxPyEndAllowThreads(__tstate);
23887 if (PyErr_Occurred()) SWIG_fail;
23888 }
23889 {
23890 resultobj = wxPyMake_wxObject(result);
23891 }
23892 return resultobj;
23893 fail:
23894 return NULL;
23895 }
23896
23897
23898 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
23899 PyObject *resultobj;
23900 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23901 wxImageList *arg2 = (wxImageList *) 0 ;
23902 PyObject * obj0 = 0 ;
23903 PyObject * obj1 = 0 ;
23904 char *kwnames[] = {
23905 (char *) "self",(char *) "imageList", NULL
23906 };
23907
23908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
23909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23911 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
23912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23913 {
23914 PyThreadState* __tstate = wxPyBeginAllowThreads();
23915 (arg1)->SetImageList(arg2);
23916
23917 wxPyEndAllowThreads(__tstate);
23918 if (PyErr_Occurred()) SWIG_fail;
23919 }
23920 Py_INCREF(Py_None); resultobj = Py_None;
23921 return resultobj;
23922 fail:
23923 return NULL;
23924 }
23925
23926
23927 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
23928 PyObject *resultobj;
23929 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23930 wxImageList *arg2 = (wxImageList *) 0 ;
23931 PyObject * obj0 = 0 ;
23932 PyObject * obj1 = 0 ;
23933 char *kwnames[] = {
23934 (char *) "self",(char *) "imageList", NULL
23935 };
23936
23937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
23938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23940 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
23941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23942 {
23943 PyThreadState* __tstate = wxPyBeginAllowThreads();
23944 (arg1)->SetStateImageList(arg2);
23945
23946 wxPyEndAllowThreads(__tstate);
23947 if (PyErr_Occurred()) SWIG_fail;
23948 }
23949 Py_INCREF(Py_None); resultobj = Py_None;
23950 return resultobj;
23951 fail:
23952 return NULL;
23953 }
23954
23955
23956 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
23957 PyObject *resultobj;
23958 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23959 wxImageList *arg2 = (wxImageList *) 0 ;
23960 PyObject * obj0 = 0 ;
23961 PyObject * obj1 = 0 ;
23962 char *kwnames[] = {
23963 (char *) "self",(char *) "imageList", NULL
23964 };
23965
23966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
23967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23969 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
23970 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
23971 {
23972 PyThreadState* __tstate = wxPyBeginAllowThreads();
23973 (arg1)->AssignImageList(arg2);
23974
23975 wxPyEndAllowThreads(__tstate);
23976 if (PyErr_Occurred()) SWIG_fail;
23977 }
23978 Py_INCREF(Py_None); resultobj = Py_None;
23979 return resultobj;
23980 fail:
23981 return NULL;
23982 }
23983
23984
23985 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
23986 PyObject *resultobj;
23987 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23988 wxImageList *arg2 = (wxImageList *) 0 ;
23989 PyObject * obj0 = 0 ;
23990 PyObject * obj1 = 0 ;
23991 char *kwnames[] = {
23992 (char *) "self",(char *) "imageList", NULL
23993 };
23994
23995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
23996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23998 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
23999 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24000 {
24001 PyThreadState* __tstate = wxPyBeginAllowThreads();
24002 (arg1)->AssignStateImageList(arg2);
24003
24004 wxPyEndAllowThreads(__tstate);
24005 if (PyErr_Occurred()) SWIG_fail;
24006 }
24007 Py_INCREF(Py_None); resultobj = Py_None;
24008 return resultobj;
24009 fail:
24010 return NULL;
24011 }
24012
24013
24014 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24015 PyObject *resultobj;
24016 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24017 wxTreeItemId *arg2 = 0 ;
24018 wxString result;
24019 PyObject * obj0 = 0 ;
24020 PyObject * obj1 = 0 ;
24021 char *kwnames[] = {
24022 (char *) "self",(char *) "item", NULL
24023 };
24024
24025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24028 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24029 SWIG_POINTER_EXCEPTION | 0)) == -1)
24030 SWIG_fail;
24031 if (arg2 == NULL) {
24032 PyErr_SetString(PyExc_TypeError,"null reference");
24033 SWIG_fail;
24034 }
24035 {
24036 PyThreadState* __tstate = wxPyBeginAllowThreads();
24037 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
24038
24039 wxPyEndAllowThreads(__tstate);
24040 if (PyErr_Occurred()) SWIG_fail;
24041 }
24042 {
24043 #if wxUSE_UNICODE
24044 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24045 #else
24046 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24047 #endif
24048 }
24049 return resultobj;
24050 fail:
24051 return NULL;
24052 }
24053
24054
24055 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24056 PyObject *resultobj;
24057 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24058 wxTreeItemId *arg2 = 0 ;
24059 int arg3 = (int) wxTreeItemIcon_Normal ;
24060 int result;
24061 PyObject * obj0 = 0 ;
24062 PyObject * obj1 = 0 ;
24063 PyObject * obj2 = 0 ;
24064 char *kwnames[] = {
24065 (char *) "self",(char *) "item",(char *) "which", NULL
24066 };
24067
24068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24071 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24072 SWIG_POINTER_EXCEPTION | 0)) == -1)
24073 SWIG_fail;
24074 if (arg2 == NULL) {
24075 PyErr_SetString(PyExc_TypeError,"null reference");
24076 SWIG_fail;
24077 }
24078 if (obj2) {
24079 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
24080 if (PyErr_Occurred()) SWIG_fail;
24081 }
24082 {
24083 PyThreadState* __tstate = wxPyBeginAllowThreads();
24084 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
24085
24086 wxPyEndAllowThreads(__tstate);
24087 if (PyErr_Occurred()) SWIG_fail;
24088 }
24089 resultobj = SWIG_FromInt((int)result);
24090 return resultobj;
24091 fail:
24092 return NULL;
24093 }
24094
24095
24096 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24097 PyObject *resultobj;
24098 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24099 wxTreeItemId *arg2 = 0 ;
24100 wxPyTreeItemData *result;
24101 PyObject * obj0 = 0 ;
24102 PyObject * obj1 = 0 ;
24103 char *kwnames[] = {
24104 (char *) "self",(char *) "item", NULL
24105 };
24106
24107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24110 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24111 SWIG_POINTER_EXCEPTION | 0)) == -1)
24112 SWIG_fail;
24113 if (arg2 == NULL) {
24114 PyErr_SetString(PyExc_TypeError,"null reference");
24115 SWIG_fail;
24116 }
24117 {
24118 PyThreadState* __tstate = wxPyBeginAllowThreads();
24119 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
24120
24121 wxPyEndAllowThreads(__tstate);
24122 if (PyErr_Occurred()) SWIG_fail;
24123 }
24124 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
24125 return resultobj;
24126 fail:
24127 return NULL;
24128 }
24129
24130
24131 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
24132 PyObject *resultobj;
24133 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24134 wxTreeItemId *arg2 = 0 ;
24135 PyObject *result;
24136 PyObject * obj0 = 0 ;
24137 PyObject * obj1 = 0 ;
24138 char *kwnames[] = {
24139 (char *) "self",(char *) "item", NULL
24140 };
24141
24142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
24143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24145 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24146 SWIG_POINTER_EXCEPTION | 0)) == -1)
24147 SWIG_fail;
24148 if (arg2 == NULL) {
24149 PyErr_SetString(PyExc_TypeError,"null reference");
24150 SWIG_fail;
24151 }
24152 {
24153 PyThreadState* __tstate = wxPyBeginAllowThreads();
24154 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
24155
24156 wxPyEndAllowThreads(__tstate);
24157 if (PyErr_Occurred()) SWIG_fail;
24158 }
24159 resultobj = result;
24160 return resultobj;
24161 fail:
24162 return NULL;
24163 }
24164
24165
24166 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
24167 PyObject *resultobj;
24168 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24169 wxTreeItemId *arg2 = 0 ;
24170 wxColour result;
24171 PyObject * obj0 = 0 ;
24172 PyObject * obj1 = 0 ;
24173 char *kwnames[] = {
24174 (char *) "self",(char *) "item", NULL
24175 };
24176
24177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
24178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24180 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24181 SWIG_POINTER_EXCEPTION | 0)) == -1)
24182 SWIG_fail;
24183 if (arg2 == NULL) {
24184 PyErr_SetString(PyExc_TypeError,"null reference");
24185 SWIG_fail;
24186 }
24187 {
24188 PyThreadState* __tstate = wxPyBeginAllowThreads();
24189 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
24190
24191 wxPyEndAllowThreads(__tstate);
24192 if (PyErr_Occurred()) SWIG_fail;
24193 }
24194 {
24195 wxColour * resultptr;
24196 resultptr = new wxColour((wxColour &) result);
24197 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24198 }
24199 return resultobj;
24200 fail:
24201 return NULL;
24202 }
24203
24204
24205 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24206 PyObject *resultobj;
24207 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24208 wxTreeItemId *arg2 = 0 ;
24209 wxColour result;
24210 PyObject * obj0 = 0 ;
24211 PyObject * obj1 = 0 ;
24212 char *kwnames[] = {
24213 (char *) "self",(char *) "item", NULL
24214 };
24215
24216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24219 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24220 SWIG_POINTER_EXCEPTION | 0)) == -1)
24221 SWIG_fail;
24222 if (arg2 == NULL) {
24223 PyErr_SetString(PyExc_TypeError,"null reference");
24224 SWIG_fail;
24225 }
24226 {
24227 PyThreadState* __tstate = wxPyBeginAllowThreads();
24228 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24229
24230 wxPyEndAllowThreads(__tstate);
24231 if (PyErr_Occurred()) SWIG_fail;
24232 }
24233 {
24234 wxColour * resultptr;
24235 resultptr = new wxColour((wxColour &) result);
24236 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24237 }
24238 return resultobj;
24239 fail:
24240 return NULL;
24241 }
24242
24243
24244 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
24245 PyObject *resultobj;
24246 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24247 wxTreeItemId *arg2 = 0 ;
24248 wxFont result;
24249 PyObject * obj0 = 0 ;
24250 PyObject * obj1 = 0 ;
24251 char *kwnames[] = {
24252 (char *) "self",(char *) "item", NULL
24253 };
24254
24255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
24256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24258 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24259 SWIG_POINTER_EXCEPTION | 0)) == -1)
24260 SWIG_fail;
24261 if (arg2 == NULL) {
24262 PyErr_SetString(PyExc_TypeError,"null reference");
24263 SWIG_fail;
24264 }
24265 {
24266 PyThreadState* __tstate = wxPyBeginAllowThreads();
24267 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24268
24269 wxPyEndAllowThreads(__tstate);
24270 if (PyErr_Occurred()) SWIG_fail;
24271 }
24272 {
24273 wxFont * resultptr;
24274 resultptr = new wxFont((wxFont &) result);
24275 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
24276 }
24277 return resultobj;
24278 fail:
24279 return NULL;
24280 }
24281
24282
24283 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24284 PyObject *resultobj;
24285 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24286 wxTreeItemId *arg2 = 0 ;
24287 wxString *arg3 = 0 ;
24288 bool temp3 = False ;
24289 PyObject * obj0 = 0 ;
24290 PyObject * obj1 = 0 ;
24291 PyObject * obj2 = 0 ;
24292 char *kwnames[] = {
24293 (char *) "self",(char *) "item",(char *) "text", NULL
24294 };
24295
24296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24299 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24300 SWIG_POINTER_EXCEPTION | 0)) == -1)
24301 SWIG_fail;
24302 if (arg2 == NULL) {
24303 PyErr_SetString(PyExc_TypeError,"null reference");
24304 SWIG_fail;
24305 }
24306 {
24307 arg3 = wxString_in_helper(obj2);
24308 if (arg3 == NULL) SWIG_fail;
24309 temp3 = True;
24310 }
24311 {
24312 PyThreadState* __tstate = wxPyBeginAllowThreads();
24313 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24314
24315 wxPyEndAllowThreads(__tstate);
24316 if (PyErr_Occurred()) SWIG_fail;
24317 }
24318 Py_INCREF(Py_None); resultobj = Py_None;
24319 {
24320 if (temp3)
24321 delete arg3;
24322 }
24323 return resultobj;
24324 fail:
24325 {
24326 if (temp3)
24327 delete arg3;
24328 }
24329 return NULL;
24330 }
24331
24332
24333 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24334 PyObject *resultobj;
24335 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24336 wxTreeItemId *arg2 = 0 ;
24337 int arg3 ;
24338 int arg4 = (int) wxTreeItemIcon_Normal ;
24339 PyObject * obj0 = 0 ;
24340 PyObject * obj1 = 0 ;
24341 PyObject * obj2 = 0 ;
24342 PyObject * obj3 = 0 ;
24343 char *kwnames[] = {
24344 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24345 };
24346
24347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24350 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24351 SWIG_POINTER_EXCEPTION | 0)) == -1)
24352 SWIG_fail;
24353 if (arg2 == NULL) {
24354 PyErr_SetString(PyExc_TypeError,"null reference");
24355 SWIG_fail;
24356 }
24357 arg3 = (int) SWIG_AsInt(obj2);
24358 if (PyErr_Occurred()) SWIG_fail;
24359 if (obj3) {
24360 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
24361 if (PyErr_Occurred()) SWIG_fail;
24362 }
24363 {
24364 PyThreadState* __tstate = wxPyBeginAllowThreads();
24365 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
24366
24367 wxPyEndAllowThreads(__tstate);
24368 if (PyErr_Occurred()) SWIG_fail;
24369 }
24370 Py_INCREF(Py_None); resultobj = Py_None;
24371 return resultobj;
24372 fail:
24373 return NULL;
24374 }
24375
24376
24377 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24378 PyObject *resultobj;
24379 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24380 wxTreeItemId *arg2 = 0 ;
24381 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
24382 PyObject * obj0 = 0 ;
24383 PyObject * obj1 = 0 ;
24384 PyObject * obj2 = 0 ;
24385 char *kwnames[] = {
24386 (char *) "self",(char *) "item",(char *) "data", NULL
24387 };
24388
24389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24392 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24393 SWIG_POINTER_EXCEPTION | 0)) == -1)
24394 SWIG_fail;
24395 if (arg2 == NULL) {
24396 PyErr_SetString(PyExc_TypeError,"null reference");
24397 SWIG_fail;
24398 }
24399 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
24400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24401 {
24402 PyThreadState* __tstate = wxPyBeginAllowThreads();
24403 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
24404
24405 wxPyEndAllowThreads(__tstate);
24406 if (PyErr_Occurred()) SWIG_fail;
24407 }
24408 Py_INCREF(Py_None); resultobj = Py_None;
24409 return resultobj;
24410 fail:
24411 return NULL;
24412 }
24413
24414
24415 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
24416 PyObject *resultobj;
24417 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24418 wxTreeItemId *arg2 = 0 ;
24419 PyObject *arg3 = (PyObject *) 0 ;
24420 PyObject * obj0 = 0 ;
24421 PyObject * obj1 = 0 ;
24422 PyObject * obj2 = 0 ;
24423 char *kwnames[] = {
24424 (char *) "self",(char *) "item",(char *) "obj", NULL
24425 };
24426
24427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24430 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24431 SWIG_POINTER_EXCEPTION | 0)) == -1)
24432 SWIG_fail;
24433 if (arg2 == NULL) {
24434 PyErr_SetString(PyExc_TypeError,"null reference");
24435 SWIG_fail;
24436 }
24437 arg3 = obj2;
24438 {
24439 PyThreadState* __tstate = wxPyBeginAllowThreads();
24440 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
24441
24442 wxPyEndAllowThreads(__tstate);
24443 if (PyErr_Occurred()) SWIG_fail;
24444 }
24445 Py_INCREF(Py_None); resultobj = Py_None;
24446 return resultobj;
24447 fail:
24448 return NULL;
24449 }
24450
24451
24452 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
24453 PyObject *resultobj;
24454 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24455 wxTreeItemId *arg2 = 0 ;
24456 bool arg3 = (bool) True ;
24457 PyObject * obj0 = 0 ;
24458 PyObject * obj1 = 0 ;
24459 PyObject * obj2 = 0 ;
24460 char *kwnames[] = {
24461 (char *) "self",(char *) "item",(char *) "has", NULL
24462 };
24463
24464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
24465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24467 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24468 SWIG_POINTER_EXCEPTION | 0)) == -1)
24469 SWIG_fail;
24470 if (arg2 == NULL) {
24471 PyErr_SetString(PyExc_TypeError,"null reference");
24472 SWIG_fail;
24473 }
24474 if (obj2) {
24475 arg3 = (bool) SWIG_AsBool(obj2);
24476 if (PyErr_Occurred()) SWIG_fail;
24477 }
24478 {
24479 PyThreadState* __tstate = wxPyBeginAllowThreads();
24480 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
24481
24482 wxPyEndAllowThreads(__tstate);
24483 if (PyErr_Occurred()) SWIG_fail;
24484 }
24485 Py_INCREF(Py_None); resultobj = Py_None;
24486 return resultobj;
24487 fail:
24488 return NULL;
24489 }
24490
24491
24492 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
24493 PyObject *resultobj;
24494 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24495 wxTreeItemId *arg2 = 0 ;
24496 bool arg3 = (bool) True ;
24497 PyObject * obj0 = 0 ;
24498 PyObject * obj1 = 0 ;
24499 PyObject * obj2 = 0 ;
24500 char *kwnames[] = {
24501 (char *) "self",(char *) "item",(char *) "bold", NULL
24502 };
24503
24504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
24505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24507 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24508 SWIG_POINTER_EXCEPTION | 0)) == -1)
24509 SWIG_fail;
24510 if (arg2 == NULL) {
24511 PyErr_SetString(PyExc_TypeError,"null reference");
24512 SWIG_fail;
24513 }
24514 if (obj2) {
24515 arg3 = (bool) SWIG_AsBool(obj2);
24516 if (PyErr_Occurred()) SWIG_fail;
24517 }
24518 {
24519 PyThreadState* __tstate = wxPyBeginAllowThreads();
24520 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
24521
24522 wxPyEndAllowThreads(__tstate);
24523 if (PyErr_Occurred()) SWIG_fail;
24524 }
24525 Py_INCREF(Py_None); resultobj = Py_None;
24526 return resultobj;
24527 fail:
24528 return NULL;
24529 }
24530
24531
24532 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
24533 PyObject *resultobj;
24534 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24535 wxTreeItemId *arg2 = 0 ;
24536 wxColour *arg3 = 0 ;
24537 wxColour temp3 ;
24538 PyObject * obj0 = 0 ;
24539 PyObject * obj1 = 0 ;
24540 PyObject * obj2 = 0 ;
24541 char *kwnames[] = {
24542 (char *) "self",(char *) "item",(char *) "col", NULL
24543 };
24544
24545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24548 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24549 SWIG_POINTER_EXCEPTION | 0)) == -1)
24550 SWIG_fail;
24551 if (arg2 == NULL) {
24552 PyErr_SetString(PyExc_TypeError,"null reference");
24553 SWIG_fail;
24554 }
24555 {
24556 arg3 = &temp3;
24557 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24558 }
24559 {
24560 PyThreadState* __tstate = wxPyBeginAllowThreads();
24561 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
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 *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24574 PyObject *resultobj;
24575 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24576 wxTreeItemId *arg2 = 0 ;
24577 wxColour *arg3 = 0 ;
24578 wxColour temp3 ;
24579 PyObject * obj0 = 0 ;
24580 PyObject * obj1 = 0 ;
24581 PyObject * obj2 = 0 ;
24582 char *kwnames[] = {
24583 (char *) "self",(char *) "item",(char *) "col", NULL
24584 };
24585
24586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24589 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24590 SWIG_POINTER_EXCEPTION | 0)) == -1)
24591 SWIG_fail;
24592 if (arg2 == NULL) {
24593 PyErr_SetString(PyExc_TypeError,"null reference");
24594 SWIG_fail;
24595 }
24596 {
24597 arg3 = &temp3;
24598 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24599 }
24600 {
24601 PyThreadState* __tstate = wxPyBeginAllowThreads();
24602 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24603
24604 wxPyEndAllowThreads(__tstate);
24605 if (PyErr_Occurred()) SWIG_fail;
24606 }
24607 Py_INCREF(Py_None); resultobj = Py_None;
24608 return resultobj;
24609 fail:
24610 return NULL;
24611 }
24612
24613
24614 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
24615 PyObject *resultobj;
24616 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24617 wxTreeItemId *arg2 = 0 ;
24618 wxFont *arg3 = 0 ;
24619 PyObject * obj0 = 0 ;
24620 PyObject * obj1 = 0 ;
24621 PyObject * obj2 = 0 ;
24622 char *kwnames[] = {
24623 (char *) "self",(char *) "item",(char *) "font", NULL
24624 };
24625
24626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
24627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24629 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24630 SWIG_POINTER_EXCEPTION | 0)) == -1)
24631 SWIG_fail;
24632 if (arg2 == NULL) {
24633 PyErr_SetString(PyExc_TypeError,"null reference");
24634 SWIG_fail;
24635 }
24636 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
24637 SWIG_POINTER_EXCEPTION | 0)) == -1)
24638 SWIG_fail;
24639 if (arg3 == NULL) {
24640 PyErr_SetString(PyExc_TypeError,"null reference");
24641 SWIG_fail;
24642 }
24643 {
24644 PyThreadState* __tstate = wxPyBeginAllowThreads();
24645 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
24646
24647 wxPyEndAllowThreads(__tstate);
24648 if (PyErr_Occurred()) SWIG_fail;
24649 }
24650 Py_INCREF(Py_None); resultobj = Py_None;
24651 return resultobj;
24652 fail:
24653 return NULL;
24654 }
24655
24656
24657 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
24658 PyObject *resultobj;
24659 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24660 wxTreeItemId *arg2 = 0 ;
24661 bool result;
24662 PyObject * obj0 = 0 ;
24663 PyObject * obj1 = 0 ;
24664 char *kwnames[] = {
24665 (char *) "self",(char *) "item", NULL
24666 };
24667
24668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
24669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24671 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24672 SWIG_POINTER_EXCEPTION | 0)) == -1)
24673 SWIG_fail;
24674 if (arg2 == NULL) {
24675 PyErr_SetString(PyExc_TypeError,"null reference");
24676 SWIG_fail;
24677 }
24678 {
24679 PyThreadState* __tstate = wxPyBeginAllowThreads();
24680 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
24681
24682 wxPyEndAllowThreads(__tstate);
24683 if (PyErr_Occurred()) SWIG_fail;
24684 }
24685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24686 return resultobj;
24687 fail:
24688 return NULL;
24689 }
24690
24691
24692 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
24693 PyObject *resultobj;
24694 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24695 wxTreeItemId *arg2 = 0 ;
24696 bool result;
24697 PyObject * obj0 = 0 ;
24698 PyObject * obj1 = 0 ;
24699 char *kwnames[] = {
24700 (char *) "self",(char *) "item", NULL
24701 };
24702
24703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
24704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24706 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24707 SWIG_POINTER_EXCEPTION | 0)) == -1)
24708 SWIG_fail;
24709 if (arg2 == NULL) {
24710 PyErr_SetString(PyExc_TypeError,"null reference");
24711 SWIG_fail;
24712 }
24713 {
24714 PyThreadState* __tstate = wxPyBeginAllowThreads();
24715 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
24716
24717 wxPyEndAllowThreads(__tstate);
24718 if (PyErr_Occurred()) SWIG_fail;
24719 }
24720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24721 return resultobj;
24722 fail:
24723 return NULL;
24724 }
24725
24726
24727 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
24728 PyObject *resultobj;
24729 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24730 wxTreeItemId *arg2 = 0 ;
24731 bool result;
24732 PyObject * obj0 = 0 ;
24733 PyObject * obj1 = 0 ;
24734 char *kwnames[] = {
24735 (char *) "self",(char *) "item", NULL
24736 };
24737
24738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
24739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24742 SWIG_POINTER_EXCEPTION | 0)) == -1)
24743 SWIG_fail;
24744 if (arg2 == NULL) {
24745 PyErr_SetString(PyExc_TypeError,"null reference");
24746 SWIG_fail;
24747 }
24748 {
24749 PyThreadState* __tstate = wxPyBeginAllowThreads();
24750 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
24751
24752 wxPyEndAllowThreads(__tstate);
24753 if (PyErr_Occurred()) SWIG_fail;
24754 }
24755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24756 return resultobj;
24757 fail:
24758 return NULL;
24759 }
24760
24761
24762 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
24763 PyObject *resultobj;
24764 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24765 wxTreeItemId *arg2 = 0 ;
24766 bool result;
24767 PyObject * obj0 = 0 ;
24768 PyObject * obj1 = 0 ;
24769 char *kwnames[] = {
24770 (char *) "self",(char *) "item", NULL
24771 };
24772
24773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
24774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24777 SWIG_POINTER_EXCEPTION | 0)) == -1)
24778 SWIG_fail;
24779 if (arg2 == NULL) {
24780 PyErr_SetString(PyExc_TypeError,"null reference");
24781 SWIG_fail;
24782 }
24783 {
24784 PyThreadState* __tstate = wxPyBeginAllowThreads();
24785 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
24786
24787 wxPyEndAllowThreads(__tstate);
24788 if (PyErr_Occurred()) SWIG_fail;
24789 }
24790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24791 return resultobj;
24792 fail:
24793 return NULL;
24794 }
24795
24796
24797 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
24798 PyObject *resultobj;
24799 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24800 wxTreeItemId *arg2 = 0 ;
24801 bool result;
24802 PyObject * obj0 = 0 ;
24803 PyObject * obj1 = 0 ;
24804 char *kwnames[] = {
24805 (char *) "self",(char *) "item", NULL
24806 };
24807
24808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
24809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24811 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24812 SWIG_POINTER_EXCEPTION | 0)) == -1)
24813 SWIG_fail;
24814 if (arg2 == NULL) {
24815 PyErr_SetString(PyExc_TypeError,"null reference");
24816 SWIG_fail;
24817 }
24818 {
24819 PyThreadState* __tstate = wxPyBeginAllowThreads();
24820 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
24821
24822 wxPyEndAllowThreads(__tstate);
24823 if (PyErr_Occurred()) SWIG_fail;
24824 }
24825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24826 return resultobj;
24827 fail:
24828 return NULL;
24829 }
24830
24831
24832 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
24833 PyObject *resultobj;
24834 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24835 wxTreeItemId *arg2 = 0 ;
24836 bool arg3 = (bool) True ;
24837 size_t result;
24838 PyObject * obj0 = 0 ;
24839 PyObject * obj1 = 0 ;
24840 PyObject * obj2 = 0 ;
24841 char *kwnames[] = {
24842 (char *) "self",(char *) "item",(char *) "recursively", NULL
24843 };
24844
24845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
24846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24848 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24849 SWIG_POINTER_EXCEPTION | 0)) == -1)
24850 SWIG_fail;
24851 if (arg2 == NULL) {
24852 PyErr_SetString(PyExc_TypeError,"null reference");
24853 SWIG_fail;
24854 }
24855 if (obj2) {
24856 arg3 = (bool) SWIG_AsBool(obj2);
24857 if (PyErr_Occurred()) SWIG_fail;
24858 }
24859 {
24860 PyThreadState* __tstate = wxPyBeginAllowThreads();
24861 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
24862
24863 wxPyEndAllowThreads(__tstate);
24864 if (PyErr_Occurred()) SWIG_fail;
24865 }
24866 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24867 return resultobj;
24868 fail:
24869 return NULL;
24870 }
24871
24872
24873 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
24874 PyObject *resultobj;
24875 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24876 wxTreeItemId result;
24877 PyObject * obj0 = 0 ;
24878 char *kwnames[] = {
24879 (char *) "self", NULL
24880 };
24881
24882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
24883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24885 {
24886 PyThreadState* __tstate = wxPyBeginAllowThreads();
24887 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
24888
24889 wxPyEndAllowThreads(__tstate);
24890 if (PyErr_Occurred()) SWIG_fail;
24891 }
24892 {
24893 wxTreeItemId * resultptr;
24894 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24895 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24896 }
24897 return resultobj;
24898 fail:
24899 return NULL;
24900 }
24901
24902
24903 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
24904 PyObject *resultobj;
24905 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24906 wxTreeItemId result;
24907 PyObject * obj0 = 0 ;
24908 char *kwnames[] = {
24909 (char *) "self", NULL
24910 };
24911
24912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
24913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24915 {
24916 PyThreadState* __tstate = wxPyBeginAllowThreads();
24917 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
24918
24919 wxPyEndAllowThreads(__tstate);
24920 if (PyErr_Occurred()) SWIG_fail;
24921 }
24922 {
24923 wxTreeItemId * resultptr;
24924 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24925 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24926 }
24927 return resultobj;
24928 fail:
24929 return NULL;
24930 }
24931
24932
24933 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
24934 PyObject *resultobj;
24935 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24936 PyObject *result;
24937 PyObject * obj0 = 0 ;
24938 char *kwnames[] = {
24939 (char *) "self", NULL
24940 };
24941
24942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
24943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24945 {
24946 PyThreadState* __tstate = wxPyBeginAllowThreads();
24947 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
24948
24949 wxPyEndAllowThreads(__tstate);
24950 if (PyErr_Occurred()) SWIG_fail;
24951 }
24952 resultobj = result;
24953 return resultobj;
24954 fail:
24955 return NULL;
24956 }
24957
24958
24959 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
24960 PyObject *resultobj;
24961 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24962 wxTreeItemId *arg2 = 0 ;
24963 wxTreeItemId result;
24964 PyObject * obj0 = 0 ;
24965 PyObject * obj1 = 0 ;
24966 char *kwnames[] = {
24967 (char *) "self",(char *) "item", NULL
24968 };
24969
24970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
24971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24974 SWIG_POINTER_EXCEPTION | 0)) == -1)
24975 SWIG_fail;
24976 if (arg2 == NULL) {
24977 PyErr_SetString(PyExc_TypeError,"null reference");
24978 SWIG_fail;
24979 }
24980 {
24981 PyThreadState* __tstate = wxPyBeginAllowThreads();
24982 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
24983
24984 wxPyEndAllowThreads(__tstate);
24985 if (PyErr_Occurred()) SWIG_fail;
24986 }
24987 {
24988 wxTreeItemId * resultptr;
24989 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24990 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24991 }
24992 return resultobj;
24993 fail:
24994 return NULL;
24995 }
24996
24997
24998 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
24999 PyObject *resultobj;
25000 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25001 wxTreeItemId *arg2 = 0 ;
25002 PyObject *result;
25003 PyObject * obj0 = 0 ;
25004 PyObject * obj1 = 0 ;
25005 char *kwnames[] = {
25006 (char *) "self",(char *) "item", NULL
25007 };
25008
25009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
25010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25012 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25013 SWIG_POINTER_EXCEPTION | 0)) == -1)
25014 SWIG_fail;
25015 if (arg2 == NULL) {
25016 PyErr_SetString(PyExc_TypeError,"null reference");
25017 SWIG_fail;
25018 }
25019 {
25020 PyThreadState* __tstate = wxPyBeginAllowThreads();
25021 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
25022
25023 wxPyEndAllowThreads(__tstate);
25024 if (PyErr_Occurred()) SWIG_fail;
25025 }
25026 resultobj = result;
25027 return resultobj;
25028 fail:
25029 return NULL;
25030 }
25031
25032
25033 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
25034 PyObject *resultobj;
25035 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25036 wxTreeItemId *arg2 = 0 ;
25037 void *arg3 = (void *) 0 ;
25038 PyObject *result;
25039 PyObject * obj0 = 0 ;
25040 PyObject * obj1 = 0 ;
25041 PyObject * obj2 = 0 ;
25042 char *kwnames[] = {
25043 (char *) "self",(char *) "item",(char *) "cookie", NULL
25044 };
25045
25046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
25047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25049 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25050 SWIG_POINTER_EXCEPTION | 0)) == -1)
25051 SWIG_fail;
25052 if (arg2 == NULL) {
25053 PyErr_SetString(PyExc_TypeError,"null reference");
25054 SWIG_fail;
25055 }
25056 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25057 {
25058 PyThreadState* __tstate = wxPyBeginAllowThreads();
25059 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
25060
25061 wxPyEndAllowThreads(__tstate);
25062 if (PyErr_Occurred()) SWIG_fail;
25063 }
25064 resultobj = result;
25065 return resultobj;
25066 fail:
25067 return NULL;
25068 }
25069
25070
25071 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
25072 PyObject *resultobj;
25073 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25074 wxTreeItemId *arg2 = 0 ;
25075 wxTreeItemId result;
25076 PyObject * obj0 = 0 ;
25077 PyObject * obj1 = 0 ;
25078 char *kwnames[] = {
25079 (char *) "self",(char *) "item", NULL
25080 };
25081
25082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
25083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25085 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25086 SWIG_POINTER_EXCEPTION | 0)) == -1)
25087 SWIG_fail;
25088 if (arg2 == NULL) {
25089 PyErr_SetString(PyExc_TypeError,"null reference");
25090 SWIG_fail;
25091 }
25092 {
25093 PyThreadState* __tstate = wxPyBeginAllowThreads();
25094 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
25095
25096 wxPyEndAllowThreads(__tstate);
25097 if (PyErr_Occurred()) SWIG_fail;
25098 }
25099 {
25100 wxTreeItemId * resultptr;
25101 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25102 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25103 }
25104 return resultobj;
25105 fail:
25106 return NULL;
25107 }
25108
25109
25110 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
25111 PyObject *resultobj;
25112 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25113 wxTreeItemId *arg2 = 0 ;
25114 wxTreeItemId result;
25115 PyObject * obj0 = 0 ;
25116 PyObject * obj1 = 0 ;
25117 char *kwnames[] = {
25118 (char *) "self",(char *) "item", NULL
25119 };
25120
25121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
25122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25124 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25125 SWIG_POINTER_EXCEPTION | 0)) == -1)
25126 SWIG_fail;
25127 if (arg2 == NULL) {
25128 PyErr_SetString(PyExc_TypeError,"null reference");
25129 SWIG_fail;
25130 }
25131 {
25132 PyThreadState* __tstate = wxPyBeginAllowThreads();
25133 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
25134
25135 wxPyEndAllowThreads(__tstate);
25136 if (PyErr_Occurred()) SWIG_fail;
25137 }
25138 {
25139 wxTreeItemId * resultptr;
25140 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25141 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25142 }
25143 return resultobj;
25144 fail:
25145 return NULL;
25146 }
25147
25148
25149 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
25150 PyObject *resultobj;
25151 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25152 wxTreeItemId *arg2 = 0 ;
25153 wxTreeItemId result;
25154 PyObject * obj0 = 0 ;
25155 PyObject * obj1 = 0 ;
25156 char *kwnames[] = {
25157 (char *) "self",(char *) "item", NULL
25158 };
25159
25160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
25161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25163 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25164 SWIG_POINTER_EXCEPTION | 0)) == -1)
25165 SWIG_fail;
25166 if (arg2 == NULL) {
25167 PyErr_SetString(PyExc_TypeError,"null reference");
25168 SWIG_fail;
25169 }
25170 {
25171 PyThreadState* __tstate = wxPyBeginAllowThreads();
25172 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
25173
25174 wxPyEndAllowThreads(__tstate);
25175 if (PyErr_Occurred()) SWIG_fail;
25176 }
25177 {
25178 wxTreeItemId * resultptr;
25179 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25180 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25181 }
25182 return resultobj;
25183 fail:
25184 return NULL;
25185 }
25186
25187
25188 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
25189 PyObject *resultobj;
25190 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25191 wxTreeItemId result;
25192 PyObject * obj0 = 0 ;
25193 char *kwnames[] = {
25194 (char *) "self", NULL
25195 };
25196
25197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
25198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25200 {
25201 PyThreadState* __tstate = wxPyBeginAllowThreads();
25202 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
25203
25204 wxPyEndAllowThreads(__tstate);
25205 if (PyErr_Occurred()) SWIG_fail;
25206 }
25207 {
25208 wxTreeItemId * resultptr;
25209 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25210 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25211 }
25212 return resultobj;
25213 fail:
25214 return NULL;
25215 }
25216
25217
25218 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25219 PyObject *resultobj;
25220 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25221 wxTreeItemId *arg2 = 0 ;
25222 wxTreeItemId result;
25223 PyObject * obj0 = 0 ;
25224 PyObject * obj1 = 0 ;
25225 char *kwnames[] = {
25226 (char *) "self",(char *) "item", NULL
25227 };
25228
25229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
25230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25232 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25233 SWIG_POINTER_EXCEPTION | 0)) == -1)
25234 SWIG_fail;
25235 if (arg2 == NULL) {
25236 PyErr_SetString(PyExc_TypeError,"null reference");
25237 SWIG_fail;
25238 }
25239 {
25240 PyThreadState* __tstate = wxPyBeginAllowThreads();
25241 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
25242
25243 wxPyEndAllowThreads(__tstate);
25244 if (PyErr_Occurred()) SWIG_fail;
25245 }
25246 {
25247 wxTreeItemId * resultptr;
25248 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25249 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25250 }
25251 return resultobj;
25252 fail:
25253 return NULL;
25254 }
25255
25256
25257 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25258 PyObject *resultobj;
25259 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25260 wxTreeItemId *arg2 = 0 ;
25261 wxTreeItemId result;
25262 PyObject * obj0 = 0 ;
25263 PyObject * obj1 = 0 ;
25264 char *kwnames[] = {
25265 (char *) "self",(char *) "item", NULL
25266 };
25267
25268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
25269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25271 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25272 SWIG_POINTER_EXCEPTION | 0)) == -1)
25273 SWIG_fail;
25274 if (arg2 == NULL) {
25275 PyErr_SetString(PyExc_TypeError,"null reference");
25276 SWIG_fail;
25277 }
25278 {
25279 PyThreadState* __tstate = wxPyBeginAllowThreads();
25280 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
25281
25282 wxPyEndAllowThreads(__tstate);
25283 if (PyErr_Occurred()) SWIG_fail;
25284 }
25285 {
25286 wxTreeItemId * resultptr;
25287 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25288 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25289 }
25290 return resultobj;
25291 fail:
25292 return NULL;
25293 }
25294
25295
25296 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
25297 PyObject *resultobj;
25298 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25299 wxString *arg2 = 0 ;
25300 int arg3 = (int) -1 ;
25301 int arg4 = (int) -1 ;
25302 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
25303 wxTreeItemId result;
25304 bool temp2 = False ;
25305 PyObject * obj0 = 0 ;
25306 PyObject * obj1 = 0 ;
25307 PyObject * obj2 = 0 ;
25308 PyObject * obj3 = 0 ;
25309 PyObject * obj4 = 0 ;
25310 char *kwnames[] = {
25311 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25312 };
25313
25314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25317 {
25318 arg2 = wxString_in_helper(obj1);
25319 if (arg2 == NULL) SWIG_fail;
25320 temp2 = True;
25321 }
25322 if (obj2) {
25323 arg3 = (int) SWIG_AsInt(obj2);
25324 if (PyErr_Occurred()) SWIG_fail;
25325 }
25326 if (obj3) {
25327 arg4 = (int) SWIG_AsInt(obj3);
25328 if (PyErr_Occurred()) SWIG_fail;
25329 }
25330 if (obj4) {
25331 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
25332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25333 }
25334 {
25335 PyThreadState* __tstate = wxPyBeginAllowThreads();
25336 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
25337
25338 wxPyEndAllowThreads(__tstate);
25339 if (PyErr_Occurred()) SWIG_fail;
25340 }
25341 {
25342 wxTreeItemId * resultptr;
25343 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25344 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25345 }
25346 {
25347 if (temp2)
25348 delete arg2;
25349 }
25350 return resultobj;
25351 fail:
25352 {
25353 if (temp2)
25354 delete arg2;
25355 }
25356 return NULL;
25357 }
25358
25359
25360 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
25361 PyObject *resultobj;
25362 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25363 wxTreeItemId *arg2 = 0 ;
25364 wxString *arg3 = 0 ;
25365 int arg4 = (int) -1 ;
25366 int arg5 = (int) -1 ;
25367 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25368 wxTreeItemId result;
25369 bool temp3 = False ;
25370 PyObject * obj0 = 0 ;
25371 PyObject * obj1 = 0 ;
25372 PyObject * obj2 = 0 ;
25373 PyObject * obj3 = 0 ;
25374 PyObject * obj4 = 0 ;
25375 PyObject * obj5 = 0 ;
25376 char *kwnames[] = {
25377 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25378 };
25379
25380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25383 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25384 SWIG_POINTER_EXCEPTION | 0)) == -1)
25385 SWIG_fail;
25386 if (arg2 == NULL) {
25387 PyErr_SetString(PyExc_TypeError,"null reference");
25388 SWIG_fail;
25389 }
25390 {
25391 arg3 = wxString_in_helper(obj2);
25392 if (arg3 == NULL) SWIG_fail;
25393 temp3 = True;
25394 }
25395 if (obj3) {
25396 arg4 = (int) SWIG_AsInt(obj3);
25397 if (PyErr_Occurred()) SWIG_fail;
25398 }
25399 if (obj4) {
25400 arg5 = (int) SWIG_AsInt(obj4);
25401 if (PyErr_Occurred()) SWIG_fail;
25402 }
25403 if (obj5) {
25404 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
25405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25406 }
25407 {
25408 PyThreadState* __tstate = wxPyBeginAllowThreads();
25409 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25410
25411 wxPyEndAllowThreads(__tstate);
25412 if (PyErr_Occurred()) SWIG_fail;
25413 }
25414 {
25415 wxTreeItemId * resultptr;
25416 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25417 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25418 }
25419 {
25420 if (temp3)
25421 delete arg3;
25422 }
25423 return resultobj;
25424 fail:
25425 {
25426 if (temp3)
25427 delete arg3;
25428 }
25429 return NULL;
25430 }
25431
25432
25433 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
25434 PyObject *resultobj;
25435 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25436 wxTreeItemId *arg2 = 0 ;
25437 wxTreeItemId *arg3 = 0 ;
25438 wxString *arg4 = 0 ;
25439 int arg5 = (int) -1 ;
25440 int arg6 = (int) -1 ;
25441 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25442 wxTreeItemId result;
25443 bool temp4 = False ;
25444 PyObject * obj0 = 0 ;
25445 PyObject * obj1 = 0 ;
25446 PyObject * obj2 = 0 ;
25447 PyObject * obj3 = 0 ;
25448 PyObject * obj4 = 0 ;
25449 PyObject * obj5 = 0 ;
25450 PyObject * obj6 = 0 ;
25451 char *kwnames[] = {
25452 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25453 };
25454
25455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25458 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25459 SWIG_POINTER_EXCEPTION | 0)) == -1)
25460 SWIG_fail;
25461 if (arg2 == NULL) {
25462 PyErr_SetString(PyExc_TypeError,"null reference");
25463 SWIG_fail;
25464 }
25465 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
25466 SWIG_POINTER_EXCEPTION | 0)) == -1)
25467 SWIG_fail;
25468 if (arg3 == NULL) {
25469 PyErr_SetString(PyExc_TypeError,"null reference");
25470 SWIG_fail;
25471 }
25472 {
25473 arg4 = wxString_in_helper(obj3);
25474 if (arg4 == NULL) SWIG_fail;
25475 temp4 = True;
25476 }
25477 if (obj4) {
25478 arg5 = (int) SWIG_AsInt(obj4);
25479 if (PyErr_Occurred()) SWIG_fail;
25480 }
25481 if (obj5) {
25482 arg6 = (int) SWIG_AsInt(obj5);
25483 if (PyErr_Occurred()) SWIG_fail;
25484 }
25485 if (obj6) {
25486 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
25487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25488 }
25489 {
25490 PyThreadState* __tstate = wxPyBeginAllowThreads();
25491 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25492
25493 wxPyEndAllowThreads(__tstate);
25494 if (PyErr_Occurred()) SWIG_fail;
25495 }
25496 {
25497 wxTreeItemId * resultptr;
25498 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25499 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25500 }
25501 {
25502 if (temp4)
25503 delete arg4;
25504 }
25505 return resultobj;
25506 fail:
25507 {
25508 if (temp4)
25509 delete arg4;
25510 }
25511 return NULL;
25512 }
25513
25514
25515 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
25516 PyObject *resultobj;
25517 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25518 wxTreeItemId *arg2 = 0 ;
25519 size_t arg3 ;
25520 wxString *arg4 = 0 ;
25521 int arg5 = (int) -1 ;
25522 int arg6 = (int) -1 ;
25523 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25524 wxTreeItemId result;
25525 bool temp4 = False ;
25526 PyObject * obj0 = 0 ;
25527 PyObject * obj1 = 0 ;
25528 PyObject * obj2 = 0 ;
25529 PyObject * obj3 = 0 ;
25530 PyObject * obj4 = 0 ;
25531 PyObject * obj5 = 0 ;
25532 PyObject * obj6 = 0 ;
25533 char *kwnames[] = {
25534 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25535 };
25536
25537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25540 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25541 SWIG_POINTER_EXCEPTION | 0)) == -1)
25542 SWIG_fail;
25543 if (arg2 == NULL) {
25544 PyErr_SetString(PyExc_TypeError,"null reference");
25545 SWIG_fail;
25546 }
25547 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
25548 if (PyErr_Occurred()) SWIG_fail;
25549 {
25550 arg4 = wxString_in_helper(obj3);
25551 if (arg4 == NULL) SWIG_fail;
25552 temp4 = True;
25553 }
25554 if (obj4) {
25555 arg5 = (int) SWIG_AsInt(obj4);
25556 if (PyErr_Occurred()) SWIG_fail;
25557 }
25558 if (obj5) {
25559 arg6 = (int) SWIG_AsInt(obj5);
25560 if (PyErr_Occurred()) SWIG_fail;
25561 }
25562 if (obj6) {
25563 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
25564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25565 }
25566 {
25567 PyThreadState* __tstate = wxPyBeginAllowThreads();
25568 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25569
25570 wxPyEndAllowThreads(__tstate);
25571 if (PyErr_Occurred()) SWIG_fail;
25572 }
25573 {
25574 wxTreeItemId * resultptr;
25575 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25576 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25577 }
25578 {
25579 if (temp4)
25580 delete arg4;
25581 }
25582 return resultobj;
25583 fail:
25584 {
25585 if (temp4)
25586 delete arg4;
25587 }
25588 return NULL;
25589 }
25590
25591
25592 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
25593 PyObject *resultobj;
25594 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25595 wxTreeItemId *arg2 = 0 ;
25596 wxString *arg3 = 0 ;
25597 int arg4 = (int) -1 ;
25598 int arg5 = (int) -1 ;
25599 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25600 wxTreeItemId result;
25601 bool temp3 = False ;
25602 PyObject * obj0 = 0 ;
25603 PyObject * obj1 = 0 ;
25604 PyObject * obj2 = 0 ;
25605 PyObject * obj3 = 0 ;
25606 PyObject * obj4 = 0 ;
25607 PyObject * obj5 = 0 ;
25608 char *kwnames[] = {
25609 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25610 };
25611
25612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25615 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25616 SWIG_POINTER_EXCEPTION | 0)) == -1)
25617 SWIG_fail;
25618 if (arg2 == NULL) {
25619 PyErr_SetString(PyExc_TypeError,"null reference");
25620 SWIG_fail;
25621 }
25622 {
25623 arg3 = wxString_in_helper(obj2);
25624 if (arg3 == NULL) SWIG_fail;
25625 temp3 = True;
25626 }
25627 if (obj3) {
25628 arg4 = (int) SWIG_AsInt(obj3);
25629 if (PyErr_Occurred()) SWIG_fail;
25630 }
25631 if (obj4) {
25632 arg5 = (int) SWIG_AsInt(obj4);
25633 if (PyErr_Occurred()) SWIG_fail;
25634 }
25635 if (obj5) {
25636 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
25637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25638 }
25639 {
25640 PyThreadState* __tstate = wxPyBeginAllowThreads();
25641 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25642
25643 wxPyEndAllowThreads(__tstate);
25644 if (PyErr_Occurred()) SWIG_fail;
25645 }
25646 {
25647 wxTreeItemId * resultptr;
25648 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25649 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25650 }
25651 {
25652 if (temp3)
25653 delete arg3;
25654 }
25655 return resultobj;
25656 fail:
25657 {
25658 if (temp3)
25659 delete arg3;
25660 }
25661 return NULL;
25662 }
25663
25664
25665 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
25666 PyObject *resultobj;
25667 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25668 wxTreeItemId *arg2 = 0 ;
25669 PyObject * obj0 = 0 ;
25670 PyObject * obj1 = 0 ;
25671 char *kwnames[] = {
25672 (char *) "self",(char *) "item", NULL
25673 };
25674
25675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) 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 {
25686 PyThreadState* __tstate = wxPyBeginAllowThreads();
25687 (arg1)->Delete((wxTreeItemId const &)*arg2);
25688
25689 wxPyEndAllowThreads(__tstate);
25690 if (PyErr_Occurred()) SWIG_fail;
25691 }
25692 Py_INCREF(Py_None); resultobj = Py_None;
25693 return resultobj;
25694 fail:
25695 return NULL;
25696 }
25697
25698
25699 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
25700 PyObject *resultobj;
25701 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25702 wxTreeItemId *arg2 = 0 ;
25703 PyObject * obj0 = 0 ;
25704 PyObject * obj1 = 0 ;
25705 char *kwnames[] = {
25706 (char *) "self",(char *) "item", NULL
25707 };
25708
25709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
25710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25712 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25713 SWIG_POINTER_EXCEPTION | 0)) == -1)
25714 SWIG_fail;
25715 if (arg2 == NULL) {
25716 PyErr_SetString(PyExc_TypeError,"null reference");
25717 SWIG_fail;
25718 }
25719 {
25720 PyThreadState* __tstate = wxPyBeginAllowThreads();
25721 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
25722
25723 wxPyEndAllowThreads(__tstate);
25724 if (PyErr_Occurred()) SWIG_fail;
25725 }
25726 Py_INCREF(Py_None); resultobj = Py_None;
25727 return resultobj;
25728 fail:
25729 return NULL;
25730 }
25731
25732
25733 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
25734 PyObject *resultobj;
25735 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25736 PyObject * obj0 = 0 ;
25737 char *kwnames[] = {
25738 (char *) "self", NULL
25739 };
25740
25741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25744 {
25745 PyThreadState* __tstate = wxPyBeginAllowThreads();
25746 (arg1)->DeleteAllItems();
25747
25748 wxPyEndAllowThreads(__tstate);
25749 if (PyErr_Occurred()) SWIG_fail;
25750 }
25751 Py_INCREF(Py_None); resultobj = Py_None;
25752 return resultobj;
25753 fail:
25754 return NULL;
25755 }
25756
25757
25758 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
25759 PyObject *resultobj;
25760 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25761 wxTreeItemId *arg2 = 0 ;
25762 PyObject * obj0 = 0 ;
25763 PyObject * obj1 = 0 ;
25764 char *kwnames[] = {
25765 (char *) "self",(char *) "item", NULL
25766 };
25767
25768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
25769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25771 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25772 SWIG_POINTER_EXCEPTION | 0)) == -1)
25773 SWIG_fail;
25774 if (arg2 == NULL) {
25775 PyErr_SetString(PyExc_TypeError,"null reference");
25776 SWIG_fail;
25777 }
25778 {
25779 PyThreadState* __tstate = wxPyBeginAllowThreads();
25780 (arg1)->Expand((wxTreeItemId const &)*arg2);
25781
25782 wxPyEndAllowThreads(__tstate);
25783 if (PyErr_Occurred()) SWIG_fail;
25784 }
25785 Py_INCREF(Py_None); resultobj = Py_None;
25786 return resultobj;
25787 fail:
25788 return NULL;
25789 }
25790
25791
25792 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
25793 PyObject *resultobj;
25794 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25795 wxTreeItemId *arg2 = 0 ;
25796 PyObject * obj0 = 0 ;
25797 PyObject * obj1 = 0 ;
25798 char *kwnames[] = {
25799 (char *) "self",(char *) "item", NULL
25800 };
25801
25802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
25803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25805 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25806 SWIG_POINTER_EXCEPTION | 0)) == -1)
25807 SWIG_fail;
25808 if (arg2 == NULL) {
25809 PyErr_SetString(PyExc_TypeError,"null reference");
25810 SWIG_fail;
25811 }
25812 {
25813 PyThreadState* __tstate = wxPyBeginAllowThreads();
25814 (arg1)->Collapse((wxTreeItemId const &)*arg2);
25815
25816 wxPyEndAllowThreads(__tstate);
25817 if (PyErr_Occurred()) SWIG_fail;
25818 }
25819 Py_INCREF(Py_None); resultobj = Py_None;
25820 return resultobj;
25821 fail:
25822 return NULL;
25823 }
25824
25825
25826 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
25827 PyObject *resultobj;
25828 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25829 wxTreeItemId *arg2 = 0 ;
25830 PyObject * obj0 = 0 ;
25831 PyObject * obj1 = 0 ;
25832 char *kwnames[] = {
25833 (char *) "self",(char *) "item", NULL
25834 };
25835
25836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
25837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25839 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25840 SWIG_POINTER_EXCEPTION | 0)) == -1)
25841 SWIG_fail;
25842 if (arg2 == NULL) {
25843 PyErr_SetString(PyExc_TypeError,"null reference");
25844 SWIG_fail;
25845 }
25846 {
25847 PyThreadState* __tstate = wxPyBeginAllowThreads();
25848 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
25849
25850 wxPyEndAllowThreads(__tstate);
25851 if (PyErr_Occurred()) SWIG_fail;
25852 }
25853 Py_INCREF(Py_None); resultobj = Py_None;
25854 return resultobj;
25855 fail:
25856 return NULL;
25857 }
25858
25859
25860 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
25861 PyObject *resultobj;
25862 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25863 wxTreeItemId *arg2 = 0 ;
25864 PyObject * obj0 = 0 ;
25865 PyObject * obj1 = 0 ;
25866 char *kwnames[] = {
25867 (char *) "self",(char *) "item", NULL
25868 };
25869
25870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
25871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25873 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25874 SWIG_POINTER_EXCEPTION | 0)) == -1)
25875 SWIG_fail;
25876 if (arg2 == NULL) {
25877 PyErr_SetString(PyExc_TypeError,"null reference");
25878 SWIG_fail;
25879 }
25880 {
25881 PyThreadState* __tstate = wxPyBeginAllowThreads();
25882 (arg1)->Toggle((wxTreeItemId const &)*arg2);
25883
25884 wxPyEndAllowThreads(__tstate);
25885 if (PyErr_Occurred()) SWIG_fail;
25886 }
25887 Py_INCREF(Py_None); resultobj = Py_None;
25888 return resultobj;
25889 fail:
25890 return NULL;
25891 }
25892
25893
25894 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
25895 PyObject *resultobj;
25896 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25897 PyObject * obj0 = 0 ;
25898 char *kwnames[] = {
25899 (char *) "self", NULL
25900 };
25901
25902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
25903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25905 {
25906 PyThreadState* __tstate = wxPyBeginAllowThreads();
25907 (arg1)->Unselect();
25908
25909 wxPyEndAllowThreads(__tstate);
25910 if (PyErr_Occurred()) SWIG_fail;
25911 }
25912 Py_INCREF(Py_None); resultobj = Py_None;
25913 return resultobj;
25914 fail:
25915 return NULL;
25916 }
25917
25918
25919 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
25920 PyObject *resultobj;
25921 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25922 wxTreeItemId *arg2 = 0 ;
25923 PyObject * obj0 = 0 ;
25924 PyObject * obj1 = 0 ;
25925 char *kwnames[] = {
25926 (char *) "self",(char *) "item", NULL
25927 };
25928
25929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
25930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25932 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25933 SWIG_POINTER_EXCEPTION | 0)) == -1)
25934 SWIG_fail;
25935 if (arg2 == NULL) {
25936 PyErr_SetString(PyExc_TypeError,"null reference");
25937 SWIG_fail;
25938 }
25939 {
25940 PyThreadState* __tstate = wxPyBeginAllowThreads();
25941 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
25942
25943 wxPyEndAllowThreads(__tstate);
25944 if (PyErr_Occurred()) SWIG_fail;
25945 }
25946 Py_INCREF(Py_None); resultobj = Py_None;
25947 return resultobj;
25948 fail:
25949 return NULL;
25950 }
25951
25952
25953 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
25954 PyObject *resultobj;
25955 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25956 PyObject * obj0 = 0 ;
25957 char *kwnames[] = {
25958 (char *) "self", NULL
25959 };
25960
25961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
25962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25964 {
25965 PyThreadState* __tstate = wxPyBeginAllowThreads();
25966 (arg1)->UnselectAll();
25967
25968 wxPyEndAllowThreads(__tstate);
25969 if (PyErr_Occurred()) SWIG_fail;
25970 }
25971 Py_INCREF(Py_None); resultobj = Py_None;
25972 return resultobj;
25973 fail:
25974 return NULL;
25975 }
25976
25977
25978 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
25979 PyObject *resultobj;
25980 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25981 wxTreeItemId *arg2 = 0 ;
25982 bool arg3 = (bool) True ;
25983 PyObject * obj0 = 0 ;
25984 PyObject * obj1 = 0 ;
25985 PyObject * obj2 = 0 ;
25986 char *kwnames[] = {
25987 (char *) "self",(char *) "item",(char *) "select", NULL
25988 };
25989
25990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25993 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25994 SWIG_POINTER_EXCEPTION | 0)) == -1)
25995 SWIG_fail;
25996 if (arg2 == NULL) {
25997 PyErr_SetString(PyExc_TypeError,"null reference");
25998 SWIG_fail;
25999 }
26000 if (obj2) {
26001 arg3 = (bool) SWIG_AsBool(obj2);
26002 if (PyErr_Occurred()) SWIG_fail;
26003 }
26004 {
26005 PyThreadState* __tstate = wxPyBeginAllowThreads();
26006 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
26007
26008 wxPyEndAllowThreads(__tstate);
26009 if (PyErr_Occurred()) SWIG_fail;
26010 }
26011 Py_INCREF(Py_None); resultobj = Py_None;
26012 return resultobj;
26013 fail:
26014 return NULL;
26015 }
26016
26017
26018 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
26019 PyObject *resultobj;
26020 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26021 wxTreeItemId *arg2 = 0 ;
26022 PyObject * obj0 = 0 ;
26023 PyObject * obj1 = 0 ;
26024 char *kwnames[] = {
26025 (char *) "self",(char *) "item", NULL
26026 };
26027
26028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
26029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26031 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26032 SWIG_POINTER_EXCEPTION | 0)) == -1)
26033 SWIG_fail;
26034 if (arg2 == NULL) {
26035 PyErr_SetString(PyExc_TypeError,"null reference");
26036 SWIG_fail;
26037 }
26038 {
26039 PyThreadState* __tstate = wxPyBeginAllowThreads();
26040 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
26041
26042 wxPyEndAllowThreads(__tstate);
26043 if (PyErr_Occurred()) SWIG_fail;
26044 }
26045 Py_INCREF(Py_None); resultobj = Py_None;
26046 return resultobj;
26047 fail:
26048 return NULL;
26049 }
26050
26051
26052 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
26053 PyObject *resultobj;
26054 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26055 wxTreeItemId *arg2 = 0 ;
26056 PyObject * obj0 = 0 ;
26057 PyObject * obj1 = 0 ;
26058 char *kwnames[] = {
26059 (char *) "self",(char *) "item", NULL
26060 };
26061
26062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
26063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26065 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26066 SWIG_POINTER_EXCEPTION | 0)) == -1)
26067 SWIG_fail;
26068 if (arg2 == NULL) {
26069 PyErr_SetString(PyExc_TypeError,"null reference");
26070 SWIG_fail;
26071 }
26072 {
26073 PyThreadState* __tstate = wxPyBeginAllowThreads();
26074 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
26075
26076 wxPyEndAllowThreads(__tstate);
26077 if (PyErr_Occurred()) SWIG_fail;
26078 }
26079 Py_INCREF(Py_None); resultobj = Py_None;
26080 return resultobj;
26081 fail:
26082 return NULL;
26083 }
26084
26085
26086 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
26087 PyObject *resultobj;
26088 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26089 wxTreeItemId *arg2 = 0 ;
26090 PyObject * obj0 = 0 ;
26091 PyObject * obj1 = 0 ;
26092 char *kwnames[] = {
26093 (char *) "self",(char *) "item", NULL
26094 };
26095
26096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
26097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26099 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26100 SWIG_POINTER_EXCEPTION | 0)) == -1)
26101 SWIG_fail;
26102 if (arg2 == NULL) {
26103 PyErr_SetString(PyExc_TypeError,"null reference");
26104 SWIG_fail;
26105 }
26106 {
26107 PyThreadState* __tstate = wxPyBeginAllowThreads();
26108 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
26109
26110 wxPyEndAllowThreads(__tstate);
26111 if (PyErr_Occurred()) SWIG_fail;
26112 }
26113 Py_INCREF(Py_None); resultobj = Py_None;
26114 return resultobj;
26115 fail:
26116 return NULL;
26117 }
26118
26119
26120 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
26121 PyObject *resultobj;
26122 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26123 wxTreeItemId *arg2 = 0 ;
26124 PyObject * obj0 = 0 ;
26125 PyObject * obj1 = 0 ;
26126 char *kwnames[] = {
26127 (char *) "self",(char *) "item", NULL
26128 };
26129
26130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
26131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26133 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26134 SWIG_POINTER_EXCEPTION | 0)) == -1)
26135 SWIG_fail;
26136 if (arg2 == NULL) {
26137 PyErr_SetString(PyExc_TypeError,"null reference");
26138 SWIG_fail;
26139 }
26140 {
26141 PyThreadState* __tstate = wxPyBeginAllowThreads();
26142 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
26143
26144 wxPyEndAllowThreads(__tstate);
26145 if (PyErr_Occurred()) SWIG_fail;
26146 }
26147 Py_INCREF(Py_None); resultobj = Py_None;
26148 return resultobj;
26149 fail:
26150 return NULL;
26151 }
26152
26153
26154 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
26155 PyObject *resultobj;
26156 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26157 wxTextCtrl *result;
26158 PyObject * obj0 = 0 ;
26159 char *kwnames[] = {
26160 (char *) "self", NULL
26161 };
26162
26163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
26164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26166 {
26167 PyThreadState* __tstate = wxPyBeginAllowThreads();
26168 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
26169
26170 wxPyEndAllowThreads(__tstate);
26171 if (PyErr_Occurred()) SWIG_fail;
26172 }
26173 {
26174 resultobj = wxPyMake_wxObject(result);
26175 }
26176 return resultobj;
26177 fail:
26178 return NULL;
26179 }
26180
26181
26182 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
26183 PyObject *resultobj;
26184 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26185 wxTreeItemId *arg2 = 0 ;
26186 PyObject * obj0 = 0 ;
26187 PyObject * obj1 = 0 ;
26188 char *kwnames[] = {
26189 (char *) "self",(char *) "item", NULL
26190 };
26191
26192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
26204 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
26205
26206 wxPyEndAllowThreads(__tstate);
26207 if (PyErr_Occurred()) SWIG_fail;
26208 }
26209 Py_INCREF(Py_None); resultobj = Py_None;
26210 return resultobj;
26211 fail:
26212 return NULL;
26213 }
26214
26215
26216 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
26217 PyObject *resultobj;
26218 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26219 wxPoint *arg2 = 0 ;
26220 int *arg3 = 0 ;
26221 wxTreeItemId result;
26222 wxPoint temp2 ;
26223 int temp3 ;
26224 PyObject * obj0 = 0 ;
26225 PyObject * obj1 = 0 ;
26226 char *kwnames[] = {
26227 (char *) "self",(char *) "point", NULL
26228 };
26229
26230 arg3 = &temp3;
26231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
26232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26234 {
26235 arg2 = &temp2;
26236 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26237 }
26238 {
26239 PyThreadState* __tstate = wxPyBeginAllowThreads();
26240 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
26241
26242 wxPyEndAllowThreads(__tstate);
26243 if (PyErr_Occurred()) SWIG_fail;
26244 }
26245 {
26246 wxTreeItemId * resultptr;
26247 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26248 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26249 }
26250 {
26251 PyObject *o = PyInt_FromLong((long) (*arg3));
26252 resultobj = t_output_helper(resultobj,o);
26253 }
26254 return resultobj;
26255 fail:
26256 return NULL;
26257 }
26258
26259
26260 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
26261 PyObject *resultobj;
26262 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26263 wxTreeItemId *arg2 = 0 ;
26264 bool arg3 = (bool) False ;
26265 PyObject *result;
26266 PyObject * obj0 = 0 ;
26267 PyObject * obj1 = 0 ;
26268 PyObject * obj2 = 0 ;
26269 char *kwnames[] = {
26270 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26271 };
26272
26273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",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 (obj2) {
26284 arg3 = (bool) SWIG_AsBool(obj2);
26285 if (PyErr_Occurred()) SWIG_fail;
26286 }
26287 {
26288 PyThreadState* __tstate = wxPyBeginAllowThreads();
26289 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
26290
26291 wxPyEndAllowThreads(__tstate);
26292 if (PyErr_Occurred()) SWIG_fail;
26293 }
26294 resultobj = result;
26295 return resultobj;
26296 fail:
26297 return NULL;
26298 }
26299
26300
26301 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
26302 PyObject *obj;
26303 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26304 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
26305 Py_INCREF(obj);
26306 return Py_BuildValue((char *)"");
26307 }
26308 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
26309 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
26310 return 1;
26311 }
26312
26313
26314 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
26315 PyObject *pyobj;
26316
26317 {
26318 #if wxUSE_UNICODE
26319 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26320 #else
26321 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26322 #endif
26323 }
26324 return pyobj;
26325 }
26326
26327
26328 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
26329 PyObject *resultobj;
26330 wxWindow *arg1 = (wxWindow *) 0 ;
26331 int arg2 = (int) (int)-1 ;
26332 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
26333 wxString *arg3 = (wxString *) &arg3_defvalue ;
26334 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26335 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26336 wxSize const &arg5_defvalue = wxDefaultSize ;
26337 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26338 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26339 wxString const &arg7_defvalue = wxPyEmptyString ;
26340 wxString *arg7 = (wxString *) &arg7_defvalue ;
26341 int arg8 = (int) 0 ;
26342 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
26343 wxString *arg9 = (wxString *) &arg9_defvalue ;
26344 wxGenericDirCtrl *result;
26345 bool temp3 = False ;
26346 wxPoint temp4 ;
26347 wxSize temp5 ;
26348 bool temp7 = False ;
26349 bool temp9 = False ;
26350 PyObject * obj0 = 0 ;
26351 PyObject * obj1 = 0 ;
26352 PyObject * obj2 = 0 ;
26353 PyObject * obj3 = 0 ;
26354 PyObject * obj4 = 0 ;
26355 PyObject * obj5 = 0 ;
26356 PyObject * obj6 = 0 ;
26357 PyObject * obj7 = 0 ;
26358 PyObject * obj8 = 0 ;
26359 char *kwnames[] = {
26360 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26361 };
26362
26363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
26364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26366 if (obj1) {
26367 arg2 = (int const) SWIG_AsInt(obj1);
26368 if (PyErr_Occurred()) SWIG_fail;
26369 }
26370 if (obj2) {
26371 {
26372 arg3 = wxString_in_helper(obj2);
26373 if (arg3 == NULL) SWIG_fail;
26374 temp3 = True;
26375 }
26376 }
26377 if (obj3) {
26378 {
26379 arg4 = &temp4;
26380 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26381 }
26382 }
26383 if (obj4) {
26384 {
26385 arg5 = &temp5;
26386 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26387 }
26388 }
26389 if (obj5) {
26390 arg6 = (long) SWIG_AsLong(obj5);
26391 if (PyErr_Occurred()) SWIG_fail;
26392 }
26393 if (obj6) {
26394 {
26395 arg7 = wxString_in_helper(obj6);
26396 if (arg7 == NULL) SWIG_fail;
26397 temp7 = True;
26398 }
26399 }
26400 if (obj7) {
26401 arg8 = (int) SWIG_AsInt(obj7);
26402 if (PyErr_Occurred()) SWIG_fail;
26403 }
26404 if (obj8) {
26405 {
26406 arg9 = wxString_in_helper(obj8);
26407 if (arg9 == NULL) SWIG_fail;
26408 temp9 = True;
26409 }
26410 }
26411 {
26412 PyThreadState* __tstate = wxPyBeginAllowThreads();
26413 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
26414
26415 wxPyEndAllowThreads(__tstate);
26416 if (PyErr_Occurred()) SWIG_fail;
26417 }
26418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
26419 {
26420 if (temp3)
26421 delete arg3;
26422 }
26423 {
26424 if (temp7)
26425 delete arg7;
26426 }
26427 {
26428 if (temp9)
26429 delete arg9;
26430 }
26431 return resultobj;
26432 fail:
26433 {
26434 if (temp3)
26435 delete arg3;
26436 }
26437 {
26438 if (temp7)
26439 delete arg7;
26440 }
26441 {
26442 if (temp9)
26443 delete arg9;
26444 }
26445 return NULL;
26446 }
26447
26448
26449 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
26450 PyObject *resultobj;
26451 wxGenericDirCtrl *result;
26452 char *kwnames[] = {
26453 NULL
26454 };
26455
26456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
26457 {
26458 PyThreadState* __tstate = wxPyBeginAllowThreads();
26459 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
26460
26461 wxPyEndAllowThreads(__tstate);
26462 if (PyErr_Occurred()) SWIG_fail;
26463 }
26464 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
26465 return resultobj;
26466 fail:
26467 return NULL;
26468 }
26469
26470
26471 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
26472 PyObject *resultobj;
26473 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26474 wxWindow *arg2 = (wxWindow *) 0 ;
26475 int arg3 = (int) (int)-1 ;
26476 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
26477 wxString *arg4 = (wxString *) &arg4_defvalue ;
26478 wxPoint const &arg5_defvalue = wxDefaultPosition ;
26479 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
26480 wxSize const &arg6_defvalue = wxDefaultSize ;
26481 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
26482 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26483 wxString const &arg8_defvalue = wxPyEmptyString ;
26484 wxString *arg8 = (wxString *) &arg8_defvalue ;
26485 int arg9 = (int) 0 ;
26486 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
26487 wxString *arg10 = (wxString *) &arg10_defvalue ;
26488 bool result;
26489 bool temp4 = False ;
26490 wxPoint temp5 ;
26491 wxSize temp6 ;
26492 bool temp8 = False ;
26493 bool temp10 = False ;
26494 PyObject * obj0 = 0 ;
26495 PyObject * obj1 = 0 ;
26496 PyObject * obj2 = 0 ;
26497 PyObject * obj3 = 0 ;
26498 PyObject * obj4 = 0 ;
26499 PyObject * obj5 = 0 ;
26500 PyObject * obj6 = 0 ;
26501 PyObject * obj7 = 0 ;
26502 PyObject * obj8 = 0 ;
26503 PyObject * obj9 = 0 ;
26504 char *kwnames[] = {
26505 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26506 };
26507
26508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
26509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26511 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
26512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26513 if (obj2) {
26514 arg3 = (int const) SWIG_AsInt(obj2);
26515 if (PyErr_Occurred()) SWIG_fail;
26516 }
26517 if (obj3) {
26518 {
26519 arg4 = wxString_in_helper(obj3);
26520 if (arg4 == NULL) SWIG_fail;
26521 temp4 = True;
26522 }
26523 }
26524 if (obj4) {
26525 {
26526 arg5 = &temp5;
26527 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
26528 }
26529 }
26530 if (obj5) {
26531 {
26532 arg6 = &temp6;
26533 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
26534 }
26535 }
26536 if (obj6) {
26537 arg7 = (long) SWIG_AsLong(obj6);
26538 if (PyErr_Occurred()) SWIG_fail;
26539 }
26540 if (obj7) {
26541 {
26542 arg8 = wxString_in_helper(obj7);
26543 if (arg8 == NULL) SWIG_fail;
26544 temp8 = True;
26545 }
26546 }
26547 if (obj8) {
26548 arg9 = (int) SWIG_AsInt(obj8);
26549 if (PyErr_Occurred()) SWIG_fail;
26550 }
26551 if (obj9) {
26552 {
26553 arg10 = wxString_in_helper(obj9);
26554 if (arg10 == NULL) SWIG_fail;
26555 temp10 = True;
26556 }
26557 }
26558 {
26559 PyThreadState* __tstate = wxPyBeginAllowThreads();
26560 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
26561
26562 wxPyEndAllowThreads(__tstate);
26563 if (PyErr_Occurred()) SWIG_fail;
26564 }
26565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26566 {
26567 if (temp4)
26568 delete arg4;
26569 }
26570 {
26571 if (temp8)
26572 delete arg8;
26573 }
26574 {
26575 if (temp10)
26576 delete arg10;
26577 }
26578 return resultobj;
26579 fail:
26580 {
26581 if (temp4)
26582 delete arg4;
26583 }
26584 {
26585 if (temp8)
26586 delete arg8;
26587 }
26588 {
26589 if (temp10)
26590 delete arg10;
26591 }
26592 return NULL;
26593 }
26594
26595
26596 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
26597 PyObject *resultobj;
26598 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26599 wxString *arg2 = 0 ;
26600 bool result;
26601 bool temp2 = False ;
26602 PyObject * obj0 = 0 ;
26603 PyObject * obj1 = 0 ;
26604 char *kwnames[] = {
26605 (char *) "self",(char *) "path", NULL
26606 };
26607
26608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
26609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26611 {
26612 arg2 = wxString_in_helper(obj1);
26613 if (arg2 == NULL) SWIG_fail;
26614 temp2 = True;
26615 }
26616 {
26617 PyThreadState* __tstate = wxPyBeginAllowThreads();
26618 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
26619
26620 wxPyEndAllowThreads(__tstate);
26621 if (PyErr_Occurred()) SWIG_fail;
26622 }
26623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26624 {
26625 if (temp2)
26626 delete arg2;
26627 }
26628 return resultobj;
26629 fail:
26630 {
26631 if (temp2)
26632 delete arg2;
26633 }
26634 return NULL;
26635 }
26636
26637
26638 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
26639 PyObject *resultobj;
26640 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26641 wxString result;
26642 PyObject * obj0 = 0 ;
26643 char *kwnames[] = {
26644 (char *) "self", NULL
26645 };
26646
26647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
26648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26650 {
26651 PyThreadState* __tstate = wxPyBeginAllowThreads();
26652 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
26653
26654 wxPyEndAllowThreads(__tstate);
26655 if (PyErr_Occurred()) SWIG_fail;
26656 }
26657 {
26658 #if wxUSE_UNICODE
26659 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26660 #else
26661 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26662 #endif
26663 }
26664 return resultobj;
26665 fail:
26666 return NULL;
26667 }
26668
26669
26670 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
26671 PyObject *resultobj;
26672 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26673 wxString *arg2 = 0 ;
26674 bool temp2 = False ;
26675 PyObject * obj0 = 0 ;
26676 PyObject * obj1 = 0 ;
26677 char *kwnames[] = {
26678 (char *) "self",(char *) "path", NULL
26679 };
26680
26681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
26682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26684 {
26685 arg2 = wxString_in_helper(obj1);
26686 if (arg2 == NULL) SWIG_fail;
26687 temp2 = True;
26688 }
26689 {
26690 PyThreadState* __tstate = wxPyBeginAllowThreads();
26691 (arg1)->SetDefaultPath((wxString const &)*arg2);
26692
26693 wxPyEndAllowThreads(__tstate);
26694 if (PyErr_Occurred()) SWIG_fail;
26695 }
26696 Py_INCREF(Py_None); resultobj = Py_None;
26697 {
26698 if (temp2)
26699 delete arg2;
26700 }
26701 return resultobj;
26702 fail:
26703 {
26704 if (temp2)
26705 delete arg2;
26706 }
26707 return NULL;
26708 }
26709
26710
26711 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
26712 PyObject *resultobj;
26713 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26714 wxString result;
26715 PyObject * obj0 = 0 ;
26716 char *kwnames[] = {
26717 (char *) "self", NULL
26718 };
26719
26720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
26721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26723 {
26724 PyThreadState* __tstate = wxPyBeginAllowThreads();
26725 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
26726
26727 wxPyEndAllowThreads(__tstate);
26728 if (PyErr_Occurred()) SWIG_fail;
26729 }
26730 {
26731 #if wxUSE_UNICODE
26732 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26733 #else
26734 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26735 #endif
26736 }
26737 return resultobj;
26738 fail:
26739 return NULL;
26740 }
26741
26742
26743 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
26744 PyObject *resultobj;
26745 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26746 wxString result;
26747 PyObject * obj0 = 0 ;
26748 char *kwnames[] = {
26749 (char *) "self", NULL
26750 };
26751
26752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
26753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26755 {
26756 PyThreadState* __tstate = wxPyBeginAllowThreads();
26757 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
26758
26759 wxPyEndAllowThreads(__tstate);
26760 if (PyErr_Occurred()) SWIG_fail;
26761 }
26762 {
26763 #if wxUSE_UNICODE
26764 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26765 #else
26766 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26767 #endif
26768 }
26769 return resultobj;
26770 fail:
26771 return NULL;
26772 }
26773
26774
26775 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
26776 PyObject *resultobj;
26777 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26778 wxString *arg2 = 0 ;
26779 bool temp2 = False ;
26780 PyObject * obj0 = 0 ;
26781 PyObject * obj1 = 0 ;
26782 char *kwnames[] = {
26783 (char *) "self",(char *) "path", NULL
26784 };
26785
26786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
26787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26789 {
26790 arg2 = wxString_in_helper(obj1);
26791 if (arg2 == NULL) SWIG_fail;
26792 temp2 = True;
26793 }
26794 {
26795 PyThreadState* __tstate = wxPyBeginAllowThreads();
26796 (arg1)->SetPath((wxString const &)*arg2);
26797
26798 wxPyEndAllowThreads(__tstate);
26799 if (PyErr_Occurred()) SWIG_fail;
26800 }
26801 Py_INCREF(Py_None); resultobj = Py_None;
26802 {
26803 if (temp2)
26804 delete arg2;
26805 }
26806 return resultobj;
26807 fail:
26808 {
26809 if (temp2)
26810 delete arg2;
26811 }
26812 return NULL;
26813 }
26814
26815
26816 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
26817 PyObject *resultobj;
26818 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26819 bool arg2 ;
26820 PyObject * obj0 = 0 ;
26821 PyObject * obj1 = 0 ;
26822 char *kwnames[] = {
26823 (char *) "self",(char *) "show", NULL
26824 };
26825
26826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
26827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26829 arg2 = (bool) SWIG_AsBool(obj1);
26830 if (PyErr_Occurred()) SWIG_fail;
26831 {
26832 PyThreadState* __tstate = wxPyBeginAllowThreads();
26833 (arg1)->ShowHidden(arg2);
26834
26835 wxPyEndAllowThreads(__tstate);
26836 if (PyErr_Occurred()) SWIG_fail;
26837 }
26838 Py_INCREF(Py_None); resultobj = Py_None;
26839 return resultobj;
26840 fail:
26841 return NULL;
26842 }
26843
26844
26845 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
26846 PyObject *resultobj;
26847 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26848 bool result;
26849 PyObject * obj0 = 0 ;
26850 char *kwnames[] = {
26851 (char *) "self", NULL
26852 };
26853
26854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
26855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26857 {
26858 PyThreadState* __tstate = wxPyBeginAllowThreads();
26859 result = (bool)(arg1)->GetShowHidden();
26860
26861 wxPyEndAllowThreads(__tstate);
26862 if (PyErr_Occurred()) SWIG_fail;
26863 }
26864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26865 return resultobj;
26866 fail:
26867 return NULL;
26868 }
26869
26870
26871 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
26872 PyObject *resultobj;
26873 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26874 wxString result;
26875 PyObject * obj0 = 0 ;
26876 char *kwnames[] = {
26877 (char *) "self", NULL
26878 };
26879
26880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
26881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26883 {
26884 PyThreadState* __tstate = wxPyBeginAllowThreads();
26885 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
26886
26887 wxPyEndAllowThreads(__tstate);
26888 if (PyErr_Occurred()) SWIG_fail;
26889 }
26890 {
26891 #if wxUSE_UNICODE
26892 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26893 #else
26894 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26895 #endif
26896 }
26897 return resultobj;
26898 fail:
26899 return NULL;
26900 }
26901
26902
26903 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
26904 PyObject *resultobj;
26905 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26906 wxString *arg2 = 0 ;
26907 bool temp2 = False ;
26908 PyObject * obj0 = 0 ;
26909 PyObject * obj1 = 0 ;
26910 char *kwnames[] = {
26911 (char *) "self",(char *) "filter", NULL
26912 };
26913
26914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
26915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26917 {
26918 arg2 = wxString_in_helper(obj1);
26919 if (arg2 == NULL) SWIG_fail;
26920 temp2 = True;
26921 }
26922 {
26923 PyThreadState* __tstate = wxPyBeginAllowThreads();
26924 (arg1)->SetFilter((wxString const &)*arg2);
26925
26926 wxPyEndAllowThreads(__tstate);
26927 if (PyErr_Occurred()) SWIG_fail;
26928 }
26929 Py_INCREF(Py_None); resultobj = Py_None;
26930 {
26931 if (temp2)
26932 delete arg2;
26933 }
26934 return resultobj;
26935 fail:
26936 {
26937 if (temp2)
26938 delete arg2;
26939 }
26940 return NULL;
26941 }
26942
26943
26944 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
26945 PyObject *resultobj;
26946 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26947 int result;
26948 PyObject * obj0 = 0 ;
26949 char *kwnames[] = {
26950 (char *) "self", NULL
26951 };
26952
26953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
26954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26956 {
26957 PyThreadState* __tstate = wxPyBeginAllowThreads();
26958 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
26959
26960 wxPyEndAllowThreads(__tstate);
26961 if (PyErr_Occurred()) SWIG_fail;
26962 }
26963 resultobj = SWIG_FromInt((int)result);
26964 return resultobj;
26965 fail:
26966 return NULL;
26967 }
26968
26969
26970 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
26971 PyObject *resultobj;
26972 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26973 int arg2 ;
26974 PyObject * obj0 = 0 ;
26975 PyObject * obj1 = 0 ;
26976 char *kwnames[] = {
26977 (char *) "self",(char *) "n", NULL
26978 };
26979
26980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
26981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26983 arg2 = (int) SWIG_AsInt(obj1);
26984 if (PyErr_Occurred()) SWIG_fail;
26985 {
26986 PyThreadState* __tstate = wxPyBeginAllowThreads();
26987 (arg1)->SetFilterIndex(arg2);
26988
26989 wxPyEndAllowThreads(__tstate);
26990 if (PyErr_Occurred()) SWIG_fail;
26991 }
26992 Py_INCREF(Py_None); resultobj = Py_None;
26993 return resultobj;
26994 fail:
26995 return NULL;
26996 }
26997
26998
26999 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
27000 PyObject *resultobj;
27001 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27002 wxTreeItemId result;
27003 PyObject * obj0 = 0 ;
27004 char *kwnames[] = {
27005 (char *) "self", NULL
27006 };
27007
27008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
27009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27011 {
27012 PyThreadState* __tstate = wxPyBeginAllowThreads();
27013 result = (arg1)->GetRootId();
27014
27015 wxPyEndAllowThreads(__tstate);
27016 if (PyErr_Occurred()) SWIG_fail;
27017 }
27018 {
27019 wxTreeItemId * resultptr;
27020 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27021 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27022 }
27023 return resultobj;
27024 fail:
27025 return NULL;
27026 }
27027
27028
27029 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27030 PyObject *resultobj;
27031 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27032 wxPyTreeCtrl *result;
27033 PyObject * obj0 = 0 ;
27034 char *kwnames[] = {
27035 (char *) "self", NULL
27036 };
27037
27038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
27039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27041 {
27042 PyThreadState* __tstate = wxPyBeginAllowThreads();
27043 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
27044
27045 wxPyEndAllowThreads(__tstate);
27046 if (PyErr_Occurred()) SWIG_fail;
27047 }
27048 {
27049 resultobj = wxPyMake_wxObject(result);
27050 }
27051 return resultobj;
27052 fail:
27053 return NULL;
27054 }
27055
27056
27057 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27058 PyObject *resultobj;
27059 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27060 wxDirFilterListCtrl *result;
27061 PyObject * obj0 = 0 ;
27062 char *kwnames[] = {
27063 (char *) "self", NULL
27064 };
27065
27066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
27067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27069 {
27070 PyThreadState* __tstate = wxPyBeginAllowThreads();
27071 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
27072
27073 wxPyEndAllowThreads(__tstate);
27074 if (PyErr_Occurred()) SWIG_fail;
27075 }
27076 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
27077 return resultobj;
27078 fail:
27079 return NULL;
27080 }
27081
27082
27083 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
27084 PyObject *resultobj;
27085 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27086 wxTreeItemId arg2 ;
27087 wxString *arg3 = 0 ;
27088 bool *arg4 = 0 ;
27089 wxTreeItemId result;
27090 wxTreeItemId *argp2 ;
27091 bool temp3 = False ;
27092 bool temp4 ;
27093 PyObject * obj0 = 0 ;
27094 PyObject * obj1 = 0 ;
27095 PyObject * obj2 = 0 ;
27096 char *kwnames[] = {
27097 (char *) "self",(char *) "parentId",(char *) "path", NULL
27098 };
27099
27100 arg4 = &temp4;
27101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
27102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27104 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
27105 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
27106 arg2 = *argp2;
27107 {
27108 arg3 = wxString_in_helper(obj2);
27109 if (arg3 == NULL) SWIG_fail;
27110 temp3 = True;
27111 }
27112 {
27113 PyThreadState* __tstate = wxPyBeginAllowThreads();
27114 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
27115
27116 wxPyEndAllowThreads(__tstate);
27117 if (PyErr_Occurred()) SWIG_fail;
27118 }
27119 {
27120 wxTreeItemId * resultptr;
27121 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27122 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27123 }
27124 {
27125 PyObject *o = PyInt_FromLong((long) (*arg4));
27126 resultobj = t_output_helper(resultobj,o);
27127 }
27128 {
27129 if (temp3)
27130 delete arg3;
27131 }
27132 return resultobj;
27133 fail:
27134 {
27135 if (temp3)
27136 delete arg3;
27137 }
27138 return NULL;
27139 }
27140
27141
27142 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
27143 PyObject *resultobj;
27144 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27145 PyObject * obj0 = 0 ;
27146 char *kwnames[] = {
27147 (char *) "self", NULL
27148 };
27149
27150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
27151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27153 {
27154 PyThreadState* __tstate = wxPyBeginAllowThreads();
27155 (arg1)->DoResize();
27156
27157 wxPyEndAllowThreads(__tstate);
27158 if (PyErr_Occurred()) SWIG_fail;
27159 }
27160 Py_INCREF(Py_None); resultobj = Py_None;
27161 return resultobj;
27162 fail:
27163 return NULL;
27164 }
27165
27166
27167 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
27168 PyObject *resultobj;
27169 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27170 PyObject * obj0 = 0 ;
27171 char *kwnames[] = {
27172 (char *) "self", NULL
27173 };
27174
27175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
27176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27178 {
27179 PyThreadState* __tstate = wxPyBeginAllowThreads();
27180 (arg1)->ReCreateTree();
27181
27182 wxPyEndAllowThreads(__tstate);
27183 if (PyErr_Occurred()) SWIG_fail;
27184 }
27185 Py_INCREF(Py_None); resultobj = Py_None;
27186 return resultobj;
27187 fail:
27188 return NULL;
27189 }
27190
27191
27192 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
27193 PyObject *obj;
27194 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27195 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
27196 Py_INCREF(obj);
27197 return Py_BuildValue((char *)"");
27198 }
27199 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27200 PyObject *resultobj;
27201 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27202 int arg2 = (int) (int)-1 ;
27203 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27204 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27205 wxSize const &arg4_defvalue = wxDefaultSize ;
27206 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27207 long arg5 = (long) 0 ;
27208 wxDirFilterListCtrl *result;
27209 wxPoint temp3 ;
27210 wxSize temp4 ;
27211 PyObject * obj0 = 0 ;
27212 PyObject * obj1 = 0 ;
27213 PyObject * obj2 = 0 ;
27214 PyObject * obj3 = 0 ;
27215 PyObject * obj4 = 0 ;
27216 char *kwnames[] = {
27217 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27218 };
27219
27220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27223 if (obj1) {
27224 arg2 = (int const) SWIG_AsInt(obj1);
27225 if (PyErr_Occurred()) SWIG_fail;
27226 }
27227 if (obj2) {
27228 {
27229 arg3 = &temp3;
27230 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27231 }
27232 }
27233 if (obj3) {
27234 {
27235 arg4 = &temp4;
27236 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27237 }
27238 }
27239 if (obj4) {
27240 arg5 = (long) SWIG_AsLong(obj4);
27241 if (PyErr_Occurred()) SWIG_fail;
27242 }
27243 {
27244 PyThreadState* __tstate = wxPyBeginAllowThreads();
27245 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
27246
27247 wxPyEndAllowThreads(__tstate);
27248 if (PyErr_Occurred()) SWIG_fail;
27249 }
27250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27251 return resultobj;
27252 fail:
27253 return NULL;
27254 }
27255
27256
27257 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27258 PyObject *resultobj;
27259 wxDirFilterListCtrl *result;
27260 char *kwnames[] = {
27261 NULL
27262 };
27263
27264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
27265 {
27266 PyThreadState* __tstate = wxPyBeginAllowThreads();
27267 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
27268
27269 wxPyEndAllowThreads(__tstate);
27270 if (PyErr_Occurred()) SWIG_fail;
27271 }
27272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27273 return resultobj;
27274 fail:
27275 return NULL;
27276 }
27277
27278
27279 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
27280 PyObject *resultobj;
27281 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27282 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
27283 int arg3 = (int) (int)-1 ;
27284 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27285 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27286 wxSize const &arg5_defvalue = wxDefaultSize ;
27287 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27288 long arg6 = (long) 0 ;
27289 bool result;
27290 wxPoint temp4 ;
27291 wxSize temp5 ;
27292 PyObject * obj0 = 0 ;
27293 PyObject * obj1 = 0 ;
27294 PyObject * obj2 = 0 ;
27295 PyObject * obj3 = 0 ;
27296 PyObject * obj4 = 0 ;
27297 PyObject * obj5 = 0 ;
27298 char *kwnames[] = {
27299 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27300 };
27301
27302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27305 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
27306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27307 if (obj2) {
27308 arg3 = (int const) SWIG_AsInt(obj2);
27309 if (PyErr_Occurred()) SWIG_fail;
27310 }
27311 if (obj3) {
27312 {
27313 arg4 = &temp4;
27314 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27315 }
27316 }
27317 if (obj4) {
27318 {
27319 arg5 = &temp5;
27320 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27321 }
27322 }
27323 if (obj5) {
27324 arg6 = (long) SWIG_AsLong(obj5);
27325 if (PyErr_Occurred()) SWIG_fail;
27326 }
27327 {
27328 PyThreadState* __tstate = wxPyBeginAllowThreads();
27329 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
27330
27331 wxPyEndAllowThreads(__tstate);
27332 if (PyErr_Occurred()) SWIG_fail;
27333 }
27334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27335 return resultobj;
27336 fail:
27337 return NULL;
27338 }
27339
27340
27341 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
27342 PyObject *resultobj;
27343 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27344 wxString *arg2 = 0 ;
27345 int arg3 ;
27346 bool temp2 = False ;
27347 PyObject * obj0 = 0 ;
27348 PyObject * obj1 = 0 ;
27349 PyObject * obj2 = 0 ;
27350 char *kwnames[] = {
27351 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27352 };
27353
27354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
27355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27357 {
27358 arg2 = wxString_in_helper(obj1);
27359 if (arg2 == NULL) SWIG_fail;
27360 temp2 = True;
27361 }
27362 arg3 = (int) SWIG_AsInt(obj2);
27363 if (PyErr_Occurred()) SWIG_fail;
27364 {
27365 PyThreadState* __tstate = wxPyBeginAllowThreads();
27366 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
27367
27368 wxPyEndAllowThreads(__tstate);
27369 if (PyErr_Occurred()) SWIG_fail;
27370 }
27371 Py_INCREF(Py_None); resultobj = Py_None;
27372 {
27373 if (temp2)
27374 delete arg2;
27375 }
27376 return resultobj;
27377 fail:
27378 {
27379 if (temp2)
27380 delete arg2;
27381 }
27382 return NULL;
27383 }
27384
27385
27386 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
27387 PyObject *obj;
27388 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27389 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
27390 Py_INCREF(obj);
27391 return Py_BuildValue((char *)"");
27392 }
27393 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
27394 PyObject *resultobj;
27395 wxWindow *arg1 = (wxWindow *) 0 ;
27396 int arg2 ;
27397 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27398 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27399 wxSize const &arg4_defvalue = wxDefaultSize ;
27400 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27401 long arg5 = (long) 0 ;
27402 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27403 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27404 wxString const &arg7_defvalue = wxPyControlNameStr ;
27405 wxString *arg7 = (wxString *) &arg7_defvalue ;
27406 wxPyControl *result;
27407 wxPoint temp3 ;
27408 wxSize temp4 ;
27409 bool temp7 = False ;
27410 PyObject * obj0 = 0 ;
27411 PyObject * obj1 = 0 ;
27412 PyObject * obj2 = 0 ;
27413 PyObject * obj3 = 0 ;
27414 PyObject * obj4 = 0 ;
27415 PyObject * obj5 = 0 ;
27416 PyObject * obj6 = 0 ;
27417 char *kwnames[] = {
27418 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27419 };
27420
27421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27424 arg2 = (int const) SWIG_AsInt(obj1);
27425 if (PyErr_Occurred()) SWIG_fail;
27426 if (obj2) {
27427 {
27428 arg3 = &temp3;
27429 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27430 }
27431 }
27432 if (obj3) {
27433 {
27434 arg4 = &temp4;
27435 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27436 }
27437 }
27438 if (obj4) {
27439 arg5 = (long) SWIG_AsLong(obj4);
27440 if (PyErr_Occurred()) SWIG_fail;
27441 }
27442 if (obj5) {
27443 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
27444 SWIG_POINTER_EXCEPTION | 0)) == -1)
27445 SWIG_fail;
27446 if (arg6 == NULL) {
27447 PyErr_SetString(PyExc_TypeError,"null reference");
27448 SWIG_fail;
27449 }
27450 }
27451 if (obj6) {
27452 {
27453 arg7 = wxString_in_helper(obj6);
27454 if (arg7 == NULL) SWIG_fail;
27455 temp7 = True;
27456 }
27457 }
27458 {
27459 PyThreadState* __tstate = wxPyBeginAllowThreads();
27460 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27461
27462 wxPyEndAllowThreads(__tstate);
27463 if (PyErr_Occurred()) SWIG_fail;
27464 }
27465 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
27466 {
27467 if (temp7)
27468 delete arg7;
27469 }
27470 return resultobj;
27471 fail:
27472 {
27473 if (temp7)
27474 delete arg7;
27475 }
27476 return NULL;
27477 }
27478
27479
27480 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27481 PyObject *resultobj;
27482 wxPyControl *arg1 = (wxPyControl *) 0 ;
27483 PyObject *arg2 = (PyObject *) 0 ;
27484 PyObject *arg3 = (PyObject *) 0 ;
27485 PyObject * obj0 = 0 ;
27486 PyObject * obj1 = 0 ;
27487 PyObject * obj2 = 0 ;
27488 char *kwnames[] = {
27489 (char *) "self",(char *) "self",(char *) "_class", NULL
27490 };
27491
27492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27495 arg2 = obj1;
27496 arg3 = obj2;
27497 {
27498 PyThreadState* __tstate = wxPyBeginAllowThreads();
27499 (arg1)->_setCallbackInfo(arg2,arg3);
27500
27501 wxPyEndAllowThreads(__tstate);
27502 if (PyErr_Occurred()) SWIG_fail;
27503 }
27504 Py_INCREF(Py_None); resultobj = Py_None;
27505 return resultobj;
27506 fail:
27507 return NULL;
27508 }
27509
27510
27511 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
27512 PyObject *resultobj;
27513 wxPyControl *arg1 = (wxPyControl *) 0 ;
27514 int arg2 ;
27515 int arg3 ;
27516 int arg4 ;
27517 int arg5 ;
27518 PyObject * obj0 = 0 ;
27519 PyObject * obj1 = 0 ;
27520 PyObject * obj2 = 0 ;
27521 PyObject * obj3 = 0 ;
27522 PyObject * obj4 = 0 ;
27523 char *kwnames[] = {
27524 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27525 };
27526
27527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27530 arg2 = (int) SWIG_AsInt(obj1);
27531 if (PyErr_Occurred()) SWIG_fail;
27532 arg3 = (int) SWIG_AsInt(obj2);
27533 if (PyErr_Occurred()) SWIG_fail;
27534 arg4 = (int) SWIG_AsInt(obj3);
27535 if (PyErr_Occurred()) SWIG_fail;
27536 arg5 = (int) SWIG_AsInt(obj4);
27537 if (PyErr_Occurred()) SWIG_fail;
27538 {
27539 PyThreadState* __tstate = wxPyBeginAllowThreads();
27540 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
27541
27542 wxPyEndAllowThreads(__tstate);
27543 if (PyErr_Occurred()) SWIG_fail;
27544 }
27545 Py_INCREF(Py_None); resultobj = Py_None;
27546 return resultobj;
27547 fail:
27548 return NULL;
27549 }
27550
27551
27552 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
27553 PyObject *resultobj;
27554 wxPyControl *arg1 = (wxPyControl *) 0 ;
27555 int arg2 ;
27556 int arg3 ;
27557 int arg4 ;
27558 int arg5 ;
27559 int arg6 = (int) wxSIZE_AUTO ;
27560 PyObject * obj0 = 0 ;
27561 PyObject * obj1 = 0 ;
27562 PyObject * obj2 = 0 ;
27563 PyObject * obj3 = 0 ;
27564 PyObject * obj4 = 0 ;
27565 PyObject * obj5 = 0 ;
27566 char *kwnames[] = {
27567 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27568 };
27569
27570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27573 arg2 = (int) SWIG_AsInt(obj1);
27574 if (PyErr_Occurred()) SWIG_fail;
27575 arg3 = (int) SWIG_AsInt(obj2);
27576 if (PyErr_Occurred()) SWIG_fail;
27577 arg4 = (int) SWIG_AsInt(obj3);
27578 if (PyErr_Occurred()) SWIG_fail;
27579 arg5 = (int) SWIG_AsInt(obj4);
27580 if (PyErr_Occurred()) SWIG_fail;
27581 if (obj5) {
27582 arg6 = (int) SWIG_AsInt(obj5);
27583 if (PyErr_Occurred()) SWIG_fail;
27584 }
27585 {
27586 PyThreadState* __tstate = wxPyBeginAllowThreads();
27587 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
27588
27589 wxPyEndAllowThreads(__tstate);
27590 if (PyErr_Occurred()) SWIG_fail;
27591 }
27592 Py_INCREF(Py_None); resultobj = Py_None;
27593 return resultobj;
27594 fail:
27595 return NULL;
27596 }
27597
27598
27599 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
27600 PyObject *resultobj;
27601 wxPyControl *arg1 = (wxPyControl *) 0 ;
27602 int arg2 ;
27603 int arg3 ;
27604 PyObject * obj0 = 0 ;
27605 PyObject * obj1 = 0 ;
27606 PyObject * obj2 = 0 ;
27607 char *kwnames[] = {
27608 (char *) "self",(char *) "width",(char *) "height", NULL
27609 };
27610
27611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27614 arg2 = (int) SWIG_AsInt(obj1);
27615 if (PyErr_Occurred()) SWIG_fail;
27616 arg3 = (int) SWIG_AsInt(obj2);
27617 if (PyErr_Occurred()) SWIG_fail;
27618 {
27619 PyThreadState* __tstate = wxPyBeginAllowThreads();
27620 (arg1)->base_DoSetClientSize(arg2,arg3);
27621
27622 wxPyEndAllowThreads(__tstate);
27623 if (PyErr_Occurred()) SWIG_fail;
27624 }
27625 Py_INCREF(Py_None); resultobj = Py_None;
27626 return resultobj;
27627 fail:
27628 return NULL;
27629 }
27630
27631
27632 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
27633 PyObject *resultobj;
27634 wxPyControl *arg1 = (wxPyControl *) 0 ;
27635 int arg2 ;
27636 int arg3 ;
27637 PyObject * obj0 = 0 ;
27638 PyObject * obj1 = 0 ;
27639 PyObject * obj2 = 0 ;
27640 char *kwnames[] = {
27641 (char *) "self",(char *) "x",(char *) "y", NULL
27642 };
27643
27644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27647 arg2 = (int) SWIG_AsInt(obj1);
27648 if (PyErr_Occurred()) SWIG_fail;
27649 arg3 = (int) SWIG_AsInt(obj2);
27650 if (PyErr_Occurred()) SWIG_fail;
27651 {
27652 PyThreadState* __tstate = wxPyBeginAllowThreads();
27653 (arg1)->base_DoSetVirtualSize(arg2,arg3);
27654
27655 wxPyEndAllowThreads(__tstate);
27656 if (PyErr_Occurred()) SWIG_fail;
27657 }
27658 Py_INCREF(Py_None); resultobj = Py_None;
27659 return resultobj;
27660 fail:
27661 return NULL;
27662 }
27663
27664
27665 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
27666 PyObject *resultobj;
27667 wxPyControl *arg1 = (wxPyControl *) 0 ;
27668 int *arg2 = (int *) 0 ;
27669 int *arg3 = (int *) 0 ;
27670 int temp2 ;
27671 int temp3 ;
27672 PyObject * obj0 = 0 ;
27673 char *kwnames[] = {
27674 (char *) "self", NULL
27675 };
27676
27677 arg2 = &temp2;
27678 arg3 = &temp3;
27679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
27680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27682 {
27683 PyThreadState* __tstate = wxPyBeginAllowThreads();
27684 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
27685
27686 wxPyEndAllowThreads(__tstate);
27687 if (PyErr_Occurred()) SWIG_fail;
27688 }
27689 Py_INCREF(Py_None); resultobj = Py_None;
27690 {
27691 PyObject *o = PyInt_FromLong((long) (*arg2));
27692 resultobj = t_output_helper(resultobj,o);
27693 }
27694 {
27695 PyObject *o = PyInt_FromLong((long) (*arg3));
27696 resultobj = t_output_helper(resultobj,o);
27697 }
27698 return resultobj;
27699 fail:
27700 return NULL;
27701 }
27702
27703
27704 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
27705 PyObject *resultobj;
27706 wxPyControl *arg1 = (wxPyControl *) 0 ;
27707 int *arg2 = (int *) 0 ;
27708 int *arg3 = (int *) 0 ;
27709 int temp2 ;
27710 int temp3 ;
27711 PyObject * obj0 = 0 ;
27712 char *kwnames[] = {
27713 (char *) "self", NULL
27714 };
27715
27716 arg2 = &temp2;
27717 arg3 = &temp3;
27718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
27719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27721 {
27722 PyThreadState* __tstate = wxPyBeginAllowThreads();
27723 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
27724
27725 wxPyEndAllowThreads(__tstate);
27726 if (PyErr_Occurred()) SWIG_fail;
27727 }
27728 Py_INCREF(Py_None); resultobj = Py_None;
27729 {
27730 PyObject *o = PyInt_FromLong((long) (*arg2));
27731 resultobj = t_output_helper(resultobj,o);
27732 }
27733 {
27734 PyObject *o = PyInt_FromLong((long) (*arg3));
27735 resultobj = t_output_helper(resultobj,o);
27736 }
27737 return resultobj;
27738 fail:
27739 return NULL;
27740 }
27741
27742
27743 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
27744 PyObject *resultobj;
27745 wxPyControl *arg1 = (wxPyControl *) 0 ;
27746 int *arg2 = (int *) 0 ;
27747 int *arg3 = (int *) 0 ;
27748 int temp2 ;
27749 int temp3 ;
27750 PyObject * obj0 = 0 ;
27751 char *kwnames[] = {
27752 (char *) "self", NULL
27753 };
27754
27755 arg2 = &temp2;
27756 arg3 = &temp3;
27757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
27758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27760 {
27761 PyThreadState* __tstate = wxPyBeginAllowThreads();
27762 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
27763
27764 wxPyEndAllowThreads(__tstate);
27765 if (PyErr_Occurred()) SWIG_fail;
27766 }
27767 Py_INCREF(Py_None); resultobj = Py_None;
27768 {
27769 PyObject *o = PyInt_FromLong((long) (*arg2));
27770 resultobj = t_output_helper(resultobj,o);
27771 }
27772 {
27773 PyObject *o = PyInt_FromLong((long) (*arg3));
27774 resultobj = t_output_helper(resultobj,o);
27775 }
27776 return resultobj;
27777 fail:
27778 return NULL;
27779 }
27780
27781
27782 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
27783 PyObject *resultobj;
27784 wxPyControl *arg1 = (wxPyControl *) 0 ;
27785 wxSize result;
27786 PyObject * obj0 = 0 ;
27787 char *kwnames[] = {
27788 (char *) "self", NULL
27789 };
27790
27791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
27792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27794 {
27795 PyThreadState* __tstate = wxPyBeginAllowThreads();
27796 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
27797
27798 wxPyEndAllowThreads(__tstate);
27799 if (PyErr_Occurred()) SWIG_fail;
27800 }
27801 {
27802 wxSize * resultptr;
27803 resultptr = new wxSize((wxSize &) result);
27804 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
27805 }
27806 return resultobj;
27807 fail:
27808 return NULL;
27809 }
27810
27811
27812 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
27813 PyObject *resultobj;
27814 wxPyControl *arg1 = (wxPyControl *) 0 ;
27815 wxSize result;
27816 PyObject * obj0 = 0 ;
27817 char *kwnames[] = {
27818 (char *) "self", NULL
27819 };
27820
27821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
27822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27824 {
27825 PyThreadState* __tstate = wxPyBeginAllowThreads();
27826 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
27827
27828 wxPyEndAllowThreads(__tstate);
27829 if (PyErr_Occurred()) SWIG_fail;
27830 }
27831 {
27832 wxSize * resultptr;
27833 resultptr = new wxSize((wxSize &) result);
27834 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
27835 }
27836 return resultobj;
27837 fail:
27838 return NULL;
27839 }
27840
27841
27842 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
27843 PyObject *resultobj;
27844 wxPyControl *arg1 = (wxPyControl *) 0 ;
27845 PyObject * obj0 = 0 ;
27846 char *kwnames[] = {
27847 (char *) "self", NULL
27848 };
27849
27850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
27851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27853 {
27854 PyThreadState* __tstate = wxPyBeginAllowThreads();
27855 (arg1)->base_InitDialog();
27856
27857 wxPyEndAllowThreads(__tstate);
27858 if (PyErr_Occurred()) SWIG_fail;
27859 }
27860 Py_INCREF(Py_None); resultobj = Py_None;
27861 return resultobj;
27862 fail:
27863 return NULL;
27864 }
27865
27866
27867 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
27868 PyObject *resultobj;
27869 wxPyControl *arg1 = (wxPyControl *) 0 ;
27870 bool result;
27871 PyObject * obj0 = 0 ;
27872 char *kwnames[] = {
27873 (char *) "self", NULL
27874 };
27875
27876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
27877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27879 {
27880 PyThreadState* __tstate = wxPyBeginAllowThreads();
27881 result = (bool)(arg1)->base_TransferDataToWindow();
27882
27883 wxPyEndAllowThreads(__tstate);
27884 if (PyErr_Occurred()) SWIG_fail;
27885 }
27886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27887 return resultobj;
27888 fail:
27889 return NULL;
27890 }
27891
27892
27893 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
27894 PyObject *resultobj;
27895 wxPyControl *arg1 = (wxPyControl *) 0 ;
27896 bool result;
27897 PyObject * obj0 = 0 ;
27898 char *kwnames[] = {
27899 (char *) "self", NULL
27900 };
27901
27902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
27903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27905 {
27906 PyThreadState* __tstate = wxPyBeginAllowThreads();
27907 result = (bool)(arg1)->base_TransferDataFromWindow();
27908
27909 wxPyEndAllowThreads(__tstate);
27910 if (PyErr_Occurred()) SWIG_fail;
27911 }
27912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27913 return resultobj;
27914 fail:
27915 return NULL;
27916 }
27917
27918
27919 static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
27920 PyObject *resultobj;
27921 wxPyControl *arg1 = (wxPyControl *) 0 ;
27922 bool result;
27923 PyObject * obj0 = 0 ;
27924 char *kwnames[] = {
27925 (char *) "self", NULL
27926 };
27927
27928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
27929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27931 {
27932 PyThreadState* __tstate = wxPyBeginAllowThreads();
27933 result = (bool)(arg1)->base_Validate();
27934
27935 wxPyEndAllowThreads(__tstate);
27936 if (PyErr_Occurred()) SWIG_fail;
27937 }
27938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27939 return resultobj;
27940 fail:
27941 return NULL;
27942 }
27943
27944
27945 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
27946 PyObject *resultobj;
27947 wxPyControl *arg1 = (wxPyControl *) 0 ;
27948 bool result;
27949 PyObject * obj0 = 0 ;
27950 char *kwnames[] = {
27951 (char *) "self", NULL
27952 };
27953
27954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
27955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27957 {
27958 PyThreadState* __tstate = wxPyBeginAllowThreads();
27959 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
27960
27961 wxPyEndAllowThreads(__tstate);
27962 if (PyErr_Occurred()) SWIG_fail;
27963 }
27964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27965 return resultobj;
27966 fail:
27967 return NULL;
27968 }
27969
27970
27971 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
27972 PyObject *resultobj;
27973 wxPyControl *arg1 = (wxPyControl *) 0 ;
27974 bool result;
27975 PyObject * obj0 = 0 ;
27976 char *kwnames[] = {
27977 (char *) "self", NULL
27978 };
27979
27980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
27981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27983 {
27984 PyThreadState* __tstate = wxPyBeginAllowThreads();
27985 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
27986
27987 wxPyEndAllowThreads(__tstate);
27988 if (PyErr_Occurred()) SWIG_fail;
27989 }
27990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27991 return resultobj;
27992 fail:
27993 return NULL;
27994 }
27995
27996
27997 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
27998 PyObject *resultobj;
27999 wxPyControl *arg1 = (wxPyControl *) 0 ;
28000 wxSize result;
28001 PyObject * obj0 = 0 ;
28002 char *kwnames[] = {
28003 (char *) "self", NULL
28004 };
28005
28006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
28007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28009 {
28010 PyThreadState* __tstate = wxPyBeginAllowThreads();
28011 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
28012
28013 wxPyEndAllowThreads(__tstate);
28014 if (PyErr_Occurred()) SWIG_fail;
28015 }
28016 {
28017 wxSize * resultptr;
28018 resultptr = new wxSize((wxSize &) result);
28019 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28020 }
28021 return resultobj;
28022 fail:
28023 return NULL;
28024 }
28025
28026
28027 static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
28028 PyObject *resultobj;
28029 wxPyControl *arg1 = (wxPyControl *) 0 ;
28030 wxWindow *arg2 = (wxWindow *) 0 ;
28031 PyObject * obj0 = 0 ;
28032 PyObject * obj1 = 0 ;
28033 char *kwnames[] = {
28034 (char *) "self",(char *) "child", NULL
28035 };
28036
28037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
28038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28040 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28042 {
28043 PyThreadState* __tstate = wxPyBeginAllowThreads();
28044 (arg1)->base_AddChild(arg2);
28045
28046 wxPyEndAllowThreads(__tstate);
28047 if (PyErr_Occurred()) SWIG_fail;
28048 }
28049 Py_INCREF(Py_None); resultobj = Py_None;
28050 return resultobj;
28051 fail:
28052 return NULL;
28053 }
28054
28055
28056 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
28057 PyObject *resultobj;
28058 wxPyControl *arg1 = (wxPyControl *) 0 ;
28059 wxWindow *arg2 = (wxWindow *) 0 ;
28060 PyObject * obj0 = 0 ;
28061 PyObject * obj1 = 0 ;
28062 char *kwnames[] = {
28063 (char *) "self",(char *) "child", NULL
28064 };
28065
28066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
28067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28069 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28071 {
28072 PyThreadState* __tstate = wxPyBeginAllowThreads();
28073 (arg1)->base_RemoveChild(arg2);
28074
28075 wxPyEndAllowThreads(__tstate);
28076 if (PyErr_Occurred()) SWIG_fail;
28077 }
28078 Py_INCREF(Py_None); resultobj = Py_None;
28079 return resultobj;
28080 fail:
28081 return NULL;
28082 }
28083
28084
28085 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
28086 PyObject *obj;
28087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28088 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
28089 Py_INCREF(obj);
28090 return Py_BuildValue((char *)"");
28091 }
28092 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
28093 PyObject *resultobj;
28094 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28095 int arg2 = (int) 0 ;
28096 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28097 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28098 wxHelpEvent *result;
28099 wxPoint temp3 ;
28100 PyObject * obj0 = 0 ;
28101 PyObject * obj1 = 0 ;
28102 PyObject * obj2 = 0 ;
28103 char *kwnames[] = {
28104 (char *) "type",(char *) "winid",(char *) "pt", NULL
28105 };
28106
28107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
28108 if (obj0) {
28109 arg1 = (wxEventType) SWIG_AsInt(obj0);
28110 if (PyErr_Occurred()) SWIG_fail;
28111 }
28112 if (obj1) {
28113 arg2 = (int) SWIG_AsInt(obj1);
28114 if (PyErr_Occurred()) SWIG_fail;
28115 }
28116 if (obj2) {
28117 {
28118 arg3 = &temp3;
28119 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28120 }
28121 }
28122 {
28123 PyThreadState* __tstate = wxPyBeginAllowThreads();
28124 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
28125
28126 wxPyEndAllowThreads(__tstate);
28127 if (PyErr_Occurred()) SWIG_fail;
28128 }
28129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
28130 return resultobj;
28131 fail:
28132 return NULL;
28133 }
28134
28135
28136 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
28137 PyObject *resultobj;
28138 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28139 wxPoint result;
28140 PyObject * obj0 = 0 ;
28141 char *kwnames[] = {
28142 (char *) "self", NULL
28143 };
28144
28145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
28146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28148 {
28149 PyThreadState* __tstate = wxPyBeginAllowThreads();
28150 result = ((wxHelpEvent const *)arg1)->GetPosition();
28151
28152 wxPyEndAllowThreads(__tstate);
28153 if (PyErr_Occurred()) SWIG_fail;
28154 }
28155 {
28156 wxPoint * resultptr;
28157 resultptr = new wxPoint((wxPoint &) result);
28158 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28159 }
28160 return resultobj;
28161 fail:
28162 return NULL;
28163 }
28164
28165
28166 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
28167 PyObject *resultobj;
28168 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28169 wxPoint *arg2 = 0 ;
28170 wxPoint temp2 ;
28171 PyObject * obj0 = 0 ;
28172 PyObject * obj1 = 0 ;
28173 char *kwnames[] = {
28174 (char *) "self",(char *) "pos", NULL
28175 };
28176
28177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
28178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28180 {
28181 arg2 = &temp2;
28182 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28183 }
28184 {
28185 PyThreadState* __tstate = wxPyBeginAllowThreads();
28186 (arg1)->SetPosition((wxPoint const &)*arg2);
28187
28188 wxPyEndAllowThreads(__tstate);
28189 if (PyErr_Occurred()) SWIG_fail;
28190 }
28191 Py_INCREF(Py_None); resultobj = Py_None;
28192 return resultobj;
28193 fail:
28194 return NULL;
28195 }
28196
28197
28198 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
28199 PyObject *resultobj;
28200 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28201 wxString *result;
28202 PyObject * obj0 = 0 ;
28203 char *kwnames[] = {
28204 (char *) "self", NULL
28205 };
28206
28207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
28208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28210 {
28211 PyThreadState* __tstate = wxPyBeginAllowThreads();
28212 {
28213 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
28214 result = (wxString *) &_result_ref;
28215 }
28216
28217 wxPyEndAllowThreads(__tstate);
28218 if (PyErr_Occurred()) SWIG_fail;
28219 }
28220 {
28221 #if wxUSE_UNICODE
28222 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28223 #else
28224 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28225 #endif
28226 }
28227 return resultobj;
28228 fail:
28229 return NULL;
28230 }
28231
28232
28233 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
28234 PyObject *resultobj;
28235 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28236 wxString *arg2 = 0 ;
28237 bool temp2 = False ;
28238 PyObject * obj0 = 0 ;
28239 PyObject * obj1 = 0 ;
28240 char *kwnames[] = {
28241 (char *) "self",(char *) "link", NULL
28242 };
28243
28244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
28245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28247 {
28248 arg2 = wxString_in_helper(obj1);
28249 if (arg2 == NULL) SWIG_fail;
28250 temp2 = True;
28251 }
28252 {
28253 PyThreadState* __tstate = wxPyBeginAllowThreads();
28254 (arg1)->SetLink((wxString const &)*arg2);
28255
28256 wxPyEndAllowThreads(__tstate);
28257 if (PyErr_Occurred()) SWIG_fail;
28258 }
28259 Py_INCREF(Py_None); resultobj = Py_None;
28260 {
28261 if (temp2)
28262 delete arg2;
28263 }
28264 return resultobj;
28265 fail:
28266 {
28267 if (temp2)
28268 delete arg2;
28269 }
28270 return NULL;
28271 }
28272
28273
28274 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
28275 PyObject *resultobj;
28276 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28277 wxString *result;
28278 PyObject * obj0 = 0 ;
28279 char *kwnames[] = {
28280 (char *) "self", NULL
28281 };
28282
28283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
28284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28286 {
28287 PyThreadState* __tstate = wxPyBeginAllowThreads();
28288 {
28289 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
28290 result = (wxString *) &_result_ref;
28291 }
28292
28293 wxPyEndAllowThreads(__tstate);
28294 if (PyErr_Occurred()) SWIG_fail;
28295 }
28296 {
28297 #if wxUSE_UNICODE
28298 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28299 #else
28300 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28301 #endif
28302 }
28303 return resultobj;
28304 fail:
28305 return NULL;
28306 }
28307
28308
28309 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
28310 PyObject *resultobj;
28311 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28312 wxString *arg2 = 0 ;
28313 bool temp2 = False ;
28314 PyObject * obj0 = 0 ;
28315 PyObject * obj1 = 0 ;
28316 char *kwnames[] = {
28317 (char *) "self",(char *) "target", NULL
28318 };
28319
28320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
28321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28323 {
28324 arg2 = wxString_in_helper(obj1);
28325 if (arg2 == NULL) SWIG_fail;
28326 temp2 = True;
28327 }
28328 {
28329 PyThreadState* __tstate = wxPyBeginAllowThreads();
28330 (arg1)->SetTarget((wxString const &)*arg2);
28331
28332 wxPyEndAllowThreads(__tstate);
28333 if (PyErr_Occurred()) SWIG_fail;
28334 }
28335 Py_INCREF(Py_None); resultobj = Py_None;
28336 {
28337 if (temp2)
28338 delete arg2;
28339 }
28340 return resultobj;
28341 fail:
28342 {
28343 if (temp2)
28344 delete arg2;
28345 }
28346 return NULL;
28347 }
28348
28349
28350 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
28351 PyObject *obj;
28352 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28353 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
28354 Py_INCREF(obj);
28355 return Py_BuildValue((char *)"");
28356 }
28357 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28358 PyObject *resultobj;
28359 wxWindow *arg1 = (wxWindow *) NULL ;
28360 bool arg2 = (bool) True ;
28361 wxContextHelp *result;
28362 PyObject * obj0 = 0 ;
28363 PyObject * obj1 = 0 ;
28364 char *kwnames[] = {
28365 (char *) "window",(char *) "doNow", NULL
28366 };
28367
28368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
28369 if (obj0) {
28370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28372 }
28373 if (obj1) {
28374 arg2 = (bool) SWIG_AsBool(obj1);
28375 if (PyErr_Occurred()) SWIG_fail;
28376 }
28377 {
28378 PyThreadState* __tstate = wxPyBeginAllowThreads();
28379 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
28380
28381 wxPyEndAllowThreads(__tstate);
28382 if (PyErr_Occurred()) SWIG_fail;
28383 }
28384 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
28385 return resultobj;
28386 fail:
28387 return NULL;
28388 }
28389
28390
28391 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28392 PyObject *resultobj;
28393 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28394 PyObject * obj0 = 0 ;
28395 char *kwnames[] = {
28396 (char *) "self", NULL
28397 };
28398
28399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
28400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28402 {
28403 PyThreadState* __tstate = wxPyBeginAllowThreads();
28404 delete arg1;
28405
28406 wxPyEndAllowThreads(__tstate);
28407 if (PyErr_Occurred()) SWIG_fail;
28408 }
28409 Py_INCREF(Py_None); resultobj = Py_None;
28410 return resultobj;
28411 fail:
28412 return NULL;
28413 }
28414
28415
28416 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28417 PyObject *resultobj;
28418 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28419 wxWindow *arg2 = (wxWindow *) NULL ;
28420 bool result;
28421 PyObject * obj0 = 0 ;
28422 PyObject * obj1 = 0 ;
28423 char *kwnames[] = {
28424 (char *) "self",(char *) "window", NULL
28425 };
28426
28427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
28428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28430 if (obj1) {
28431 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28433 }
28434 {
28435 PyThreadState* __tstate = wxPyBeginAllowThreads();
28436 result = (bool)(arg1)->BeginContextHelp(arg2);
28437
28438 wxPyEndAllowThreads(__tstate);
28439 if (PyErr_Occurred()) SWIG_fail;
28440 }
28441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28442 return resultobj;
28443 fail:
28444 return NULL;
28445 }
28446
28447
28448 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28449 PyObject *resultobj;
28450 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28451 bool result;
28452 PyObject * obj0 = 0 ;
28453 char *kwnames[] = {
28454 (char *) "self", NULL
28455 };
28456
28457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
28458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28460 {
28461 PyThreadState* __tstate = wxPyBeginAllowThreads();
28462 result = (bool)(arg1)->EndContextHelp();
28463
28464 wxPyEndAllowThreads(__tstate);
28465 if (PyErr_Occurred()) SWIG_fail;
28466 }
28467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28468 return resultobj;
28469 fail:
28470 return NULL;
28471 }
28472
28473
28474 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
28475 PyObject *obj;
28476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28477 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
28478 Py_INCREF(obj);
28479 return Py_BuildValue((char *)"");
28480 }
28481 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
28482 PyObject *resultobj;
28483 wxWindow *arg1 = (wxWindow *) 0 ;
28484 int arg2 = (int) wxID_CONTEXT_HELP ;
28485 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28486 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28487 wxSize const &arg4_defvalue = wxDefaultSize ;
28488 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28489 long arg5 = (long) wxBU_AUTODRAW ;
28490 wxContextHelpButton *result;
28491 wxPoint temp3 ;
28492 wxSize temp4 ;
28493 PyObject * obj0 = 0 ;
28494 PyObject * obj1 = 0 ;
28495 PyObject * obj2 = 0 ;
28496 PyObject * obj3 = 0 ;
28497 PyObject * obj4 = 0 ;
28498 char *kwnames[] = {
28499 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28500 };
28501
28502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28505 if (obj1) {
28506 arg2 = (int) SWIG_AsInt(obj1);
28507 if (PyErr_Occurred()) SWIG_fail;
28508 }
28509 if (obj2) {
28510 {
28511 arg3 = &temp3;
28512 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28513 }
28514 }
28515 if (obj3) {
28516 {
28517 arg4 = &temp4;
28518 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28519 }
28520 }
28521 if (obj4) {
28522 arg5 = (long) SWIG_AsLong(obj4);
28523 if (PyErr_Occurred()) SWIG_fail;
28524 }
28525 {
28526 PyThreadState* __tstate = wxPyBeginAllowThreads();
28527 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28528
28529 wxPyEndAllowThreads(__tstate);
28530 if (PyErr_Occurred()) SWIG_fail;
28531 }
28532 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
28533 return resultobj;
28534 fail:
28535 return NULL;
28536 }
28537
28538
28539 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
28540 PyObject *obj;
28541 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28542 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
28543 Py_INCREF(obj);
28544 return Py_BuildValue((char *)"");
28545 }
28546 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
28547 PyObject *resultobj;
28548 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28549 wxHelpProvider *result;
28550 PyObject * obj0 = 0 ;
28551 char *kwnames[] = {
28552 (char *) "helpProvider", NULL
28553 };
28554
28555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
28556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28558 {
28559 PyThreadState* __tstate = wxPyBeginAllowThreads();
28560 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
28561
28562 wxPyEndAllowThreads(__tstate);
28563 if (PyErr_Occurred()) SWIG_fail;
28564 }
28565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
28566 return resultobj;
28567 fail:
28568 return NULL;
28569 }
28570
28571
28572 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
28573 PyObject *resultobj;
28574 wxHelpProvider *result;
28575 char *kwnames[] = {
28576 NULL
28577 };
28578
28579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
28580 {
28581 PyThreadState* __tstate = wxPyBeginAllowThreads();
28582 result = (wxHelpProvider *)wxHelpProvider::Get();
28583
28584 wxPyEndAllowThreads(__tstate);
28585 if (PyErr_Occurred()) SWIG_fail;
28586 }
28587 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
28588 return resultobj;
28589 fail:
28590 return NULL;
28591 }
28592
28593
28594 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28595 PyObject *resultobj;
28596 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28597 wxWindow *arg2 = (wxWindow *) 0 ;
28598 wxString result;
28599 PyObject * obj0 = 0 ;
28600 PyObject * obj1 = 0 ;
28601 char *kwnames[] = {
28602 (char *) "self",(char *) "window", NULL
28603 };
28604
28605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
28606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28608 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28610 {
28611 PyThreadState* __tstate = wxPyBeginAllowThreads();
28612 result = (arg1)->GetHelp((wxWindow const *)arg2);
28613
28614 wxPyEndAllowThreads(__tstate);
28615 if (PyErr_Occurred()) SWIG_fail;
28616 }
28617 {
28618 #if wxUSE_UNICODE
28619 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28620 #else
28621 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28622 #endif
28623 }
28624 return resultobj;
28625 fail:
28626 return NULL;
28627 }
28628
28629
28630 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28631 PyObject *resultobj;
28632 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28633 wxWindow *arg2 = (wxWindow *) 0 ;
28634 bool result;
28635 PyObject * obj0 = 0 ;
28636 PyObject * obj1 = 0 ;
28637 char *kwnames[] = {
28638 (char *) "self",(char *) "window", NULL
28639 };
28640
28641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
28642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28644 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28646 {
28647 PyThreadState* __tstate = wxPyBeginAllowThreads();
28648 result = (bool)(arg1)->ShowHelp(arg2);
28649
28650 wxPyEndAllowThreads(__tstate);
28651 if (PyErr_Occurred()) SWIG_fail;
28652 }
28653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28654 return resultobj;
28655 fail:
28656 return NULL;
28657 }
28658
28659
28660 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28661 PyObject *resultobj;
28662 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28663 wxWindow *arg2 = (wxWindow *) 0 ;
28664 wxString *arg3 = 0 ;
28665 bool temp3 = False ;
28666 PyObject * obj0 = 0 ;
28667 PyObject * obj1 = 0 ;
28668 PyObject * obj2 = 0 ;
28669 char *kwnames[] = {
28670 (char *) "self",(char *) "window",(char *) "text", NULL
28671 };
28672
28673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
28674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28676 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28678 {
28679 arg3 = wxString_in_helper(obj2);
28680 if (arg3 == NULL) SWIG_fail;
28681 temp3 = True;
28682 }
28683 {
28684 PyThreadState* __tstate = wxPyBeginAllowThreads();
28685 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28686
28687 wxPyEndAllowThreads(__tstate);
28688 if (PyErr_Occurred()) SWIG_fail;
28689 }
28690 Py_INCREF(Py_None); resultobj = Py_None;
28691 {
28692 if (temp3)
28693 delete arg3;
28694 }
28695 return resultobj;
28696 fail:
28697 {
28698 if (temp3)
28699 delete arg3;
28700 }
28701 return NULL;
28702 }
28703
28704
28705 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
28706 PyObject *resultobj;
28707 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28708 int arg2 ;
28709 wxString *arg3 = 0 ;
28710 bool temp3 = False ;
28711 PyObject * obj0 = 0 ;
28712 PyObject * obj1 = 0 ;
28713 PyObject * obj2 = 0 ;
28714 char *kwnames[] = {
28715 (char *) "self",(char *) "id",(char *) "text", NULL
28716 };
28717
28718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
28719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28721 arg2 = (int) SWIG_AsInt(obj1);
28722 if (PyErr_Occurred()) SWIG_fail;
28723 {
28724 arg3 = wxString_in_helper(obj2);
28725 if (arg3 == NULL) SWIG_fail;
28726 temp3 = True;
28727 }
28728 {
28729 PyThreadState* __tstate = wxPyBeginAllowThreads();
28730 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28731
28732 wxPyEndAllowThreads(__tstate);
28733 if (PyErr_Occurred()) SWIG_fail;
28734 }
28735 Py_INCREF(Py_None); resultobj = Py_None;
28736 {
28737 if (temp3)
28738 delete arg3;
28739 }
28740 return resultobj;
28741 fail:
28742 {
28743 if (temp3)
28744 delete arg3;
28745 }
28746 return NULL;
28747 }
28748
28749
28750 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28751 PyObject *resultobj;
28752 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28753 wxWindow *arg2 = (wxWindow *) 0 ;
28754 PyObject * obj0 = 0 ;
28755 PyObject * obj1 = 0 ;
28756 char *kwnames[] = {
28757 (char *) "self",(char *) "window", NULL
28758 };
28759
28760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
28761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28763 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28765 {
28766 PyThreadState* __tstate = wxPyBeginAllowThreads();
28767 (arg1)->RemoveHelp(arg2);
28768
28769 wxPyEndAllowThreads(__tstate);
28770 if (PyErr_Occurred()) SWIG_fail;
28771 }
28772 Py_INCREF(Py_None); resultobj = Py_None;
28773 return resultobj;
28774 fail:
28775 return NULL;
28776 }
28777
28778
28779 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
28780 PyObject *resultobj;
28781 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28782 PyObject * obj0 = 0 ;
28783 char *kwnames[] = {
28784 (char *) "self", NULL
28785 };
28786
28787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
28788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28790 {
28791 PyThreadState* __tstate = wxPyBeginAllowThreads();
28792 wxHelpProvider_Destroy(arg1);
28793
28794 wxPyEndAllowThreads(__tstate);
28795 if (PyErr_Occurred()) SWIG_fail;
28796 }
28797 Py_INCREF(Py_None); resultobj = Py_None;
28798 return resultobj;
28799 fail:
28800 return NULL;
28801 }
28802
28803
28804 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
28805 PyObject *obj;
28806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28807 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
28808 Py_INCREF(obj);
28809 return Py_BuildValue((char *)"");
28810 }
28811 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
28812 PyObject *resultobj;
28813 wxSimpleHelpProvider *result;
28814 char *kwnames[] = {
28815 NULL
28816 };
28817
28818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
28819 {
28820 PyThreadState* __tstate = wxPyBeginAllowThreads();
28821 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
28822
28823 wxPyEndAllowThreads(__tstate);
28824 if (PyErr_Occurred()) SWIG_fail;
28825 }
28826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
28827 return resultobj;
28828 fail:
28829 return NULL;
28830 }
28831
28832
28833 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
28834 PyObject *obj;
28835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28836 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
28837 Py_INCREF(obj);
28838 return Py_BuildValue((char *)"");
28839 }
28840 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
28841 PyObject *resultobj;
28842 wxBitmap *arg1 = 0 ;
28843 wxCursor const &arg2_defvalue = wxNullCursor ;
28844 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28845 wxGenericDragImage *result;
28846 PyObject * obj0 = 0 ;
28847 PyObject * obj1 = 0 ;
28848 char *kwnames[] = {
28849 (char *) "image",(char *) "cursor", NULL
28850 };
28851
28852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
28853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
28854 SWIG_POINTER_EXCEPTION | 0)) == -1)
28855 SWIG_fail;
28856 if (arg1 == NULL) {
28857 PyErr_SetString(PyExc_TypeError,"null reference");
28858 SWIG_fail;
28859 }
28860 if (obj1) {
28861 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
28862 SWIG_POINTER_EXCEPTION | 0)) == -1)
28863 SWIG_fail;
28864 if (arg2 == NULL) {
28865 PyErr_SetString(PyExc_TypeError,"null reference");
28866 SWIG_fail;
28867 }
28868 }
28869 {
28870 PyThreadState* __tstate = wxPyBeginAllowThreads();
28871 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
28872
28873 wxPyEndAllowThreads(__tstate);
28874 if (PyErr_Occurred()) SWIG_fail;
28875 }
28876 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
28877 return resultobj;
28878 fail:
28879 return NULL;
28880 }
28881
28882
28883 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
28884 PyObject *resultobj;
28885 wxIcon *arg1 = 0 ;
28886 wxCursor const &arg2_defvalue = wxNullCursor ;
28887 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28888 wxGenericDragImage *result;
28889 PyObject * obj0 = 0 ;
28890 PyObject * obj1 = 0 ;
28891 char *kwnames[] = {
28892 (char *) "image",(char *) "cursor", NULL
28893 };
28894
28895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
28896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
28897 SWIG_POINTER_EXCEPTION | 0)) == -1)
28898 SWIG_fail;
28899 if (arg1 == NULL) {
28900 PyErr_SetString(PyExc_TypeError,"null reference");
28901 SWIG_fail;
28902 }
28903 if (obj1) {
28904 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
28905 SWIG_POINTER_EXCEPTION | 0)) == -1)
28906 SWIG_fail;
28907 if (arg2 == NULL) {
28908 PyErr_SetString(PyExc_TypeError,"null reference");
28909 SWIG_fail;
28910 }
28911 }
28912 {
28913 PyThreadState* __tstate = wxPyBeginAllowThreads();
28914 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
28915
28916 wxPyEndAllowThreads(__tstate);
28917 if (PyErr_Occurred()) SWIG_fail;
28918 }
28919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
28920 return resultobj;
28921 fail:
28922 return NULL;
28923 }
28924
28925
28926 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
28927 PyObject *resultobj;
28928 wxString *arg1 = 0 ;
28929 wxCursor const &arg2_defvalue = wxNullCursor ;
28930 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28931 wxGenericDragImage *result;
28932 bool temp1 = False ;
28933 PyObject * obj0 = 0 ;
28934 PyObject * obj1 = 0 ;
28935 char *kwnames[] = {
28936 (char *) "str",(char *) "cursor", NULL
28937 };
28938
28939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
28940 {
28941 arg1 = wxString_in_helper(obj0);
28942 if (arg1 == NULL) SWIG_fail;
28943 temp1 = True;
28944 }
28945 if (obj1) {
28946 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
28947 SWIG_POINTER_EXCEPTION | 0)) == -1)
28948 SWIG_fail;
28949 if (arg2 == NULL) {
28950 PyErr_SetString(PyExc_TypeError,"null reference");
28951 SWIG_fail;
28952 }
28953 }
28954 {
28955 PyThreadState* __tstate = wxPyBeginAllowThreads();
28956 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
28957
28958 wxPyEndAllowThreads(__tstate);
28959 if (PyErr_Occurred()) SWIG_fail;
28960 }
28961 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
28962 {
28963 if (temp1)
28964 delete arg1;
28965 }
28966 return resultobj;
28967 fail:
28968 {
28969 if (temp1)
28970 delete arg1;
28971 }
28972 return NULL;
28973 }
28974
28975
28976 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
28977 PyObject *resultobj;
28978 wxPyTreeCtrl *arg1 = 0 ;
28979 wxTreeItemId *arg2 = 0 ;
28980 wxGenericDragImage *result;
28981 PyObject * obj0 = 0 ;
28982 PyObject * obj1 = 0 ;
28983 char *kwnames[] = {
28984 (char *) "treeCtrl",(char *) "id", NULL
28985 };
28986
28987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
28988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28989 SWIG_POINTER_EXCEPTION | 0)) == -1)
28990 SWIG_fail;
28991 if (arg1 == NULL) {
28992 PyErr_SetString(PyExc_TypeError,"null reference");
28993 SWIG_fail;
28994 }
28995 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28996 SWIG_POINTER_EXCEPTION | 0)) == -1)
28997 SWIG_fail;
28998 if (arg2 == NULL) {
28999 PyErr_SetString(PyExc_TypeError,"null reference");
29000 SWIG_fail;
29001 }
29002 {
29003 PyThreadState* __tstate = wxPyBeginAllowThreads();
29004 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
29005
29006 wxPyEndAllowThreads(__tstate);
29007 if (PyErr_Occurred()) SWIG_fail;
29008 }
29009 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29010 return resultobj;
29011 fail:
29012 return NULL;
29013 }
29014
29015
29016 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
29017 PyObject *resultobj;
29018 wxPyListCtrl *arg1 = 0 ;
29019 long arg2 ;
29020 wxGenericDragImage *result;
29021 PyObject * obj0 = 0 ;
29022 PyObject * obj1 = 0 ;
29023 char *kwnames[] = {
29024 (char *) "listCtrl",(char *) "id", NULL
29025 };
29026
29027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
29028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
29029 SWIG_POINTER_EXCEPTION | 0)) == -1)
29030 SWIG_fail;
29031 if (arg1 == NULL) {
29032 PyErr_SetString(PyExc_TypeError,"null reference");
29033 SWIG_fail;
29034 }
29035 arg2 = (long) SWIG_AsLong(obj1);
29036 if (PyErr_Occurred()) SWIG_fail;
29037 {
29038 PyThreadState* __tstate = wxPyBeginAllowThreads();
29039 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
29040
29041 wxPyEndAllowThreads(__tstate);
29042 if (PyErr_Occurred()) SWIG_fail;
29043 }
29044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29045 return resultobj;
29046 fail:
29047 return NULL;
29048 }
29049
29050
29051 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
29052 PyObject *resultobj;
29053 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29054 PyObject * obj0 = 0 ;
29055 char *kwnames[] = {
29056 (char *) "self", NULL
29057 };
29058
29059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
29060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29062 {
29063 PyThreadState* __tstate = wxPyBeginAllowThreads();
29064 delete arg1;
29065
29066 wxPyEndAllowThreads(__tstate);
29067 if (PyErr_Occurred()) SWIG_fail;
29068 }
29069 Py_INCREF(Py_None); resultobj = Py_None;
29070 return resultobj;
29071 fail:
29072 return NULL;
29073 }
29074
29075
29076 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
29077 PyObject *resultobj;
29078 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29079 wxBitmap *arg2 = (wxBitmap *) 0 ;
29080 PyObject * obj0 = 0 ;
29081 PyObject * obj1 = 0 ;
29082 char *kwnames[] = {
29083 (char *) "self",(char *) "bitmap", NULL
29084 };
29085
29086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
29087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29089 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
29090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29091 {
29092 PyThreadState* __tstate = wxPyBeginAllowThreads();
29093 (arg1)->SetBackingBitmap(arg2);
29094
29095 wxPyEndAllowThreads(__tstate);
29096 if (PyErr_Occurred()) SWIG_fail;
29097 }
29098 Py_INCREF(Py_None); resultobj = Py_None;
29099 return resultobj;
29100 fail:
29101 return NULL;
29102 }
29103
29104
29105 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
29106 PyObject *resultobj;
29107 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29108 wxPoint *arg2 = 0 ;
29109 wxWindow *arg3 = (wxWindow *) 0 ;
29110 bool arg4 = (bool) False ;
29111 wxRect *arg5 = (wxRect *) NULL ;
29112 bool result;
29113 wxPoint temp2 ;
29114 PyObject * obj0 = 0 ;
29115 PyObject * obj1 = 0 ;
29116 PyObject * obj2 = 0 ;
29117 PyObject * obj3 = 0 ;
29118 PyObject * obj4 = 0 ;
29119 char *kwnames[] = {
29120 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29121 };
29122
29123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29126 {
29127 arg2 = &temp2;
29128 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29129 }
29130 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29132 if (obj3) {
29133 arg4 = (bool) SWIG_AsBool(obj3);
29134 if (PyErr_Occurred()) SWIG_fail;
29135 }
29136 if (obj4) {
29137 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
29138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29139 }
29140 {
29141 PyThreadState* __tstate = wxPyBeginAllowThreads();
29142 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
29143
29144 wxPyEndAllowThreads(__tstate);
29145 if (PyErr_Occurred()) SWIG_fail;
29146 }
29147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29148 return resultobj;
29149 fail:
29150 return NULL;
29151 }
29152
29153
29154 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
29155 PyObject *resultobj;
29156 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29157 wxPoint *arg2 = 0 ;
29158 wxWindow *arg3 = (wxWindow *) 0 ;
29159 wxWindow *arg4 = (wxWindow *) 0 ;
29160 bool result;
29161 wxPoint temp2 ;
29162 PyObject * obj0 = 0 ;
29163 PyObject * obj1 = 0 ;
29164 PyObject * obj2 = 0 ;
29165 PyObject * obj3 = 0 ;
29166 char *kwnames[] = {
29167 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29168 };
29169
29170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29173 {
29174 arg2 = &temp2;
29175 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29176 }
29177 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29179 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
29180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29181 {
29182 PyThreadState* __tstate = wxPyBeginAllowThreads();
29183 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
29184
29185 wxPyEndAllowThreads(__tstate);
29186 if (PyErr_Occurred()) SWIG_fail;
29187 }
29188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29189 return resultobj;
29190 fail:
29191 return NULL;
29192 }
29193
29194
29195 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
29196 PyObject *resultobj;
29197 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29198 bool result;
29199 PyObject * obj0 = 0 ;
29200 char *kwnames[] = {
29201 (char *) "self", NULL
29202 };
29203
29204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
29205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29207 {
29208 PyThreadState* __tstate = wxPyBeginAllowThreads();
29209 result = (bool)(arg1)->EndDrag();
29210
29211 wxPyEndAllowThreads(__tstate);
29212 if (PyErr_Occurred()) SWIG_fail;
29213 }
29214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29215 return resultobj;
29216 fail:
29217 return NULL;
29218 }
29219
29220
29221 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
29222 PyObject *resultobj;
29223 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29224 wxPoint *arg2 = 0 ;
29225 bool result;
29226 wxPoint temp2 ;
29227 PyObject * obj0 = 0 ;
29228 PyObject * obj1 = 0 ;
29229 char *kwnames[] = {
29230 (char *) "self",(char *) "pt", NULL
29231 };
29232
29233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
29234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29236 {
29237 arg2 = &temp2;
29238 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29239 }
29240 {
29241 PyThreadState* __tstate = wxPyBeginAllowThreads();
29242 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
29243
29244 wxPyEndAllowThreads(__tstate);
29245 if (PyErr_Occurred()) SWIG_fail;
29246 }
29247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29248 return resultobj;
29249 fail:
29250 return NULL;
29251 }
29252
29253
29254 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
29255 PyObject *resultobj;
29256 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29257 bool result;
29258 PyObject * obj0 = 0 ;
29259 char *kwnames[] = {
29260 (char *) "self", NULL
29261 };
29262
29263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
29264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29266 {
29267 PyThreadState* __tstate = wxPyBeginAllowThreads();
29268 result = (bool)(arg1)->Show();
29269
29270 wxPyEndAllowThreads(__tstate);
29271 if (PyErr_Occurred()) SWIG_fail;
29272 }
29273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29274 return resultobj;
29275 fail:
29276 return NULL;
29277 }
29278
29279
29280 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
29281 PyObject *resultobj;
29282 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29283 bool result;
29284 PyObject * obj0 = 0 ;
29285 char *kwnames[] = {
29286 (char *) "self", NULL
29287 };
29288
29289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
29290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29292 {
29293 PyThreadState* __tstate = wxPyBeginAllowThreads();
29294 result = (bool)(arg1)->Hide();
29295
29296 wxPyEndAllowThreads(__tstate);
29297 if (PyErr_Occurred()) SWIG_fail;
29298 }
29299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29300 return resultobj;
29301 fail:
29302 return NULL;
29303 }
29304
29305
29306 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
29307 PyObject *resultobj;
29308 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29309 wxPoint *arg2 = 0 ;
29310 wxRect result;
29311 wxPoint temp2 ;
29312 PyObject * obj0 = 0 ;
29313 PyObject * obj1 = 0 ;
29314 char *kwnames[] = {
29315 (char *) "self",(char *) "pos", NULL
29316 };
29317
29318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
29319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29321 {
29322 arg2 = &temp2;
29323 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29324 }
29325 {
29326 PyThreadState* __tstate = wxPyBeginAllowThreads();
29327 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
29328
29329 wxPyEndAllowThreads(__tstate);
29330 if (PyErr_Occurred()) SWIG_fail;
29331 }
29332 {
29333 wxRect * resultptr;
29334 resultptr = new wxRect((wxRect &) result);
29335 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
29336 }
29337 return resultobj;
29338 fail:
29339 return NULL;
29340 }
29341
29342
29343 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
29344 PyObject *resultobj;
29345 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29346 wxDC *arg2 = 0 ;
29347 wxPoint *arg3 = 0 ;
29348 bool result;
29349 wxPoint temp3 ;
29350 PyObject * obj0 = 0 ;
29351 PyObject * obj1 = 0 ;
29352 PyObject * obj2 = 0 ;
29353 char *kwnames[] = {
29354 (char *) "self",(char *) "dc",(char *) "pos", NULL
29355 };
29356
29357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
29358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29360 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29361 SWIG_POINTER_EXCEPTION | 0)) == -1)
29362 SWIG_fail;
29363 if (arg2 == NULL) {
29364 PyErr_SetString(PyExc_TypeError,"null reference");
29365 SWIG_fail;
29366 }
29367 {
29368 arg3 = &temp3;
29369 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29370 }
29371 {
29372 PyThreadState* __tstate = wxPyBeginAllowThreads();
29373 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
29374
29375 wxPyEndAllowThreads(__tstate);
29376 if (PyErr_Occurred()) SWIG_fail;
29377 }
29378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29379 return resultobj;
29380 fail:
29381 return NULL;
29382 }
29383
29384
29385 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
29386 PyObject *resultobj;
29387 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29388 wxDC *arg2 = 0 ;
29389 wxMemoryDC *arg3 = 0 ;
29390 wxRect *arg4 = 0 ;
29391 wxRect *arg5 = 0 ;
29392 bool result;
29393 wxRect temp4 ;
29394 wxRect temp5 ;
29395 PyObject * obj0 = 0 ;
29396 PyObject * obj1 = 0 ;
29397 PyObject * obj2 = 0 ;
29398 PyObject * obj3 = 0 ;
29399 PyObject * obj4 = 0 ;
29400 char *kwnames[] = {
29401 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29402 };
29403
29404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29407 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29408 SWIG_POINTER_EXCEPTION | 0)) == -1)
29409 SWIG_fail;
29410 if (arg2 == NULL) {
29411 PyErr_SetString(PyExc_TypeError,"null reference");
29412 SWIG_fail;
29413 }
29414 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
29415 SWIG_POINTER_EXCEPTION | 0)) == -1)
29416 SWIG_fail;
29417 if (arg3 == NULL) {
29418 PyErr_SetString(PyExc_TypeError,"null reference");
29419 SWIG_fail;
29420 }
29421 {
29422 arg4 = &temp4;
29423 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
29424 }
29425 {
29426 arg5 = &temp5;
29427 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
29428 }
29429 {
29430 PyThreadState* __tstate = wxPyBeginAllowThreads();
29431 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
29432
29433 wxPyEndAllowThreads(__tstate);
29434 if (PyErr_Occurred()) SWIG_fail;
29435 }
29436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29437 return resultobj;
29438 fail:
29439 return NULL;
29440 }
29441
29442
29443 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
29444 PyObject *resultobj;
29445 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29446 wxPoint *arg2 = 0 ;
29447 wxPoint *arg3 = 0 ;
29448 bool arg4 ;
29449 bool arg5 ;
29450 bool result;
29451 wxPoint temp2 ;
29452 wxPoint temp3 ;
29453 PyObject * obj0 = 0 ;
29454 PyObject * obj1 = 0 ;
29455 PyObject * obj2 = 0 ;
29456 PyObject * obj3 = 0 ;
29457 PyObject * obj4 = 0 ;
29458 char *kwnames[] = {
29459 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29460 };
29461
29462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29465 {
29466 arg2 = &temp2;
29467 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29468 }
29469 {
29470 arg3 = &temp3;
29471 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29472 }
29473 arg4 = (bool) SWIG_AsBool(obj3);
29474 if (PyErr_Occurred()) SWIG_fail;
29475 arg5 = (bool) SWIG_AsBool(obj4);
29476 if (PyErr_Occurred()) SWIG_fail;
29477 {
29478 PyThreadState* __tstate = wxPyBeginAllowThreads();
29479 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
29480
29481 wxPyEndAllowThreads(__tstate);
29482 if (PyErr_Occurred()) SWIG_fail;
29483 }
29484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29485 return resultobj;
29486 fail:
29487 return NULL;
29488 }
29489
29490
29491 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
29492 PyObject *obj;
29493 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29494 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
29495 Py_INCREF(obj);
29496 return Py_BuildValue((char *)"");
29497 }
29498 static PyMethodDef SwigMethods[] = {
29499 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL },
29500 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL },
29501 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29502 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL },
29503 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
29504 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL },
29505 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
29506 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
29507 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29508 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
29509 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
29510 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
29511 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
29512 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
29513 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
29514 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
29515 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
29516 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
29517 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL },
29518 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL },
29519 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL },
29520 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
29521 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
29522 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29523 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29524 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
29525 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29526 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
29527 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
29528 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL },
29529 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL },
29530 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL },
29531 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL },
29532 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL },
29533 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29534 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29535 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29536 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
29537 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL },
29538 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
29539 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
29540 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29541 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29542 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29543 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
29544 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
29545 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
29546 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
29547 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
29548 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29549 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
29550 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29551 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL },
29552 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
29553 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
29554 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
29555 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL },
29556 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL },
29557 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL },
29558 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29559 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
29560 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
29561 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29562 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29563 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
29564 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
29565 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
29566 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
29567 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
29568 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL },
29569 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
29570 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
29571 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29572 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL },
29573 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
29574 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
29575 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29576 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
29577 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
29578 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL },
29579 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL },
29580 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL },
29581 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29582 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL },
29583 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29584 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29585 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29586 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29587 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29588 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
29589 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL },
29590 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL },
29591 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL },
29592 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29593 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
29594 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL },
29595 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL },
29596 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
29597 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29598 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
29599 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL },
29600 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
29601 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29602 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
29603 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL },
29604 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL },
29605 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
29606 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
29607 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL },
29608 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29609 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29610 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
29611 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL },
29612 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
29613 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
29614 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29615 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
29616 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL },
29617 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
29618 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
29619 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL },
29620 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS, NULL },
29621 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL },
29622 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL },
29623 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
29624 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29625 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
29626 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
29627 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
29628 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
29629 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
29630 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
29631 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
29632 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29633 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
29634 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
29635 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL },
29636 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
29637 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
29638 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL },
29639 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
29640 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29641 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
29642 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
29643 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
29644 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
29645 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
29646 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
29647 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL },
29648 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL },
29649 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL },
29650 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
29651 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
29652 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29653 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29654 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29655 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
29656 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL },
29657 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL },
29658 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL },
29659 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL },
29660 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL },
29661 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL },
29662 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL },
29663 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29664 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29665 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
29666 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
29667 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
29668 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
29669 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
29670 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL },
29671 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL },
29672 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL },
29673 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL },
29674 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL },
29675 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL },
29676 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
29677 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
29678 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
29679 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
29680 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29681 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL },
29682 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29683 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
29684 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
29685 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
29686 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
29687 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL },
29688 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL },
29689 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL },
29690 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL },
29691 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL },
29692 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL },
29693 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL },
29694 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
29695 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
29696 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
29697 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29698 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29699 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
29700 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
29701 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL },
29702 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
29703 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL },
29704 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29705 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29706 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL },
29707 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL },
29708 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL },
29709 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
29710 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
29711 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29712 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29713 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL },
29714 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
29715 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
29716 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
29717 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29718 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
29719 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL },
29720 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
29721 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
29722 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29723 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29724 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
29725 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
29726 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29727 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
29728 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
29729 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
29730 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
29731 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL },
29732 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
29733 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
29734 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29735 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29736 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29737 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL },
29738 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
29739 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
29740 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
29741 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29742 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL },
29743 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29744 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29745 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29746 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL },
29747 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
29748 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
29749 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29750 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29751 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29752 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29753 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29754 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
29755 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL },
29756 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
29757 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
29758 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL },
29759 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL },
29760 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
29761 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
29762 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
29763 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL },
29764 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
29765 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
29766 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29767 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29768 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29769 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL },
29770 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL },
29771 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL },
29772 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29773 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29774 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29775 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
29776 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
29777 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
29778 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
29779 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
29780 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
29781 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
29782 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
29783 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
29784 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
29785 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
29786 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
29787 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
29788 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL },
29789 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL },
29790 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL },
29791 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL },
29792 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL },
29793 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29794 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL },
29795 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
29796 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
29797 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL },
29798 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL },
29799 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS, NULL },
29800 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29801 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
29802 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
29803 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
29804 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
29805 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
29806 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
29807 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
29808 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
29809 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
29810 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL },
29811 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL },
29812 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
29813 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS, NULL },
29814 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL },
29815 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29816 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29817 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS, NULL },
29818 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29819 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29820 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29821 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29822 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29823 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS, NULL },
29824 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL },
29825 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
29826 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29827 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
29828 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL },
29829 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL },
29830 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
29831 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
29832 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL },
29833 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29834 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL },
29835 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL },
29836 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL },
29837 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29838 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
29839 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL },
29840 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29841 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL },
29842 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL },
29843 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
29844 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
29845 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
29846 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL },
29847 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL },
29848 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
29849 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
29850 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
29851 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL },
29852 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
29853 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
29854 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
29855 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
29856 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL },
29857 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
29858 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
29859 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL },
29860 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
29861 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL },
29862 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL },
29863 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29864 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29865 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29866 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
29867 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
29868 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
29869 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
29870 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
29871 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
29872 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
29873 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
29874 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29875 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29876 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
29877 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
29878 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
29879 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
29880 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
29881 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL },
29882 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL },
29883 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL },
29884 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
29885 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
29886 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL },
29887 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL },
29888 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL },
29889 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
29890 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
29891 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL },
29892 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL },
29893 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL },
29894 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL },
29895 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL },
29896 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL },
29897 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL },
29898 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
29899 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
29900 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
29901 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL },
29902 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL },
29903 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
29904 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
29905 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
29906 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
29907 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
29908 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
29909 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
29910 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
29911 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
29912 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL },
29913 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
29914 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
29915 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
29916 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL },
29917 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL },
29918 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL },
29919 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL },
29920 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
29921 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
29922 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL },
29923 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29924 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL },
29925 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
29926 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL },
29927 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
29928 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
29929 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29930 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29931 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL },
29932 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL },
29933 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
29934 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29935 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
29936 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
29937 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29938 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
29939 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
29940 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29941 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
29942 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
29943 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL },
29944 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
29945 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
29946 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
29947 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
29948 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL },
29949 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
29950 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
29951 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL },
29952 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL },
29953 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
29954 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL },
29955 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29956 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
29957 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
29958 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
29959 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29960 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
29961 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
29962 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
29963 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
29964 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL },
29965 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
29966 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
29967 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
29968 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
29969 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
29970 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
29971 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
29972 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
29973 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29974 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
29975 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL },
29976 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL },
29977 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL },
29978 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL },
29979 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
29980 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
29981 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL },
29982 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL },
29983 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL },
29984 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL },
29985 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL },
29986 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL },
29987 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL },
29988 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL },
29989 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL },
29990 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL },
29991 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL },
29992 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL },
29993 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
29994 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
29995 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL },
29996 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29997 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL },
29998 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL },
29999 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
30000 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
30001 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
30002 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
30003 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
30004 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
30005 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL },
30006 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL },
30007 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL },
30008 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
30009 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL },
30010 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30011 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
30012 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30013 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
30014 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
30015 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
30016 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
30017 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30018 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL },
30019 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL },
30020 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
30021 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
30022 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL },
30023 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30024 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30025 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30026 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
30027 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30028 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30029 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30030 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30031 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
30032 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
30033 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL },
30034 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL },
30035 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30036 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30037 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
30038 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
30039 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
30040 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
30041 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
30042 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
30043 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30044 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30045 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30046 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL },
30047 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30048 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
30049 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
30050 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
30051 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
30052 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
30053 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30054 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30055 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL },
30056 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL },
30057 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
30058 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
30059 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30060 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30061 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30062 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL },
30063 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL },
30064 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL },
30065 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL },
30066 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL },
30067 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL },
30068 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
30069 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30070 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL },
30071 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL },
30072 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30073 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30074 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL },
30075 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30076 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL },
30077 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
30078 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
30079 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
30080 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL },
30081 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
30082 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL },
30083 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30084 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
30085 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL },
30086 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30087 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30088 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30089 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30090 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL },
30091 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30092 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL },
30093 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL },
30094 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL },
30095 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30096 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL },
30097 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL },
30098 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL },
30099 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
30100 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
30101 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
30102 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
30103 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
30104 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL },
30105 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
30106 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
30107 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
30108 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
30109 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
30110 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL },
30111 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL },
30112 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL },
30113 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30114 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
30115 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
30116 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
30117 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
30118 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
30119 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL },
30120 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30121 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30122 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30123 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
30124 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
30125 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
30126 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
30127 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30128 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
30129 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30130 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30131 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30132 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
30133 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
30134 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
30135 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL },
30136 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30137 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30138 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30139 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
30140 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
30141 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
30142 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
30143 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
30144 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
30145 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30146 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30147 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30148 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30149 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30150 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30151 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
30152 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
30153 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30154 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
30155 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30156 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30157 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
30158 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
30159 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
30160 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30161 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
30162 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
30163 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL },
30164 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30165 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30166 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
30167 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30168 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
30169 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL },
30170 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
30171 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL },
30172 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL },
30173 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL },
30174 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30175 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
30176 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL },
30177 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL },
30178 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL },
30179 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL },
30180 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL },
30181 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL },
30182 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL },
30183 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30184 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30185 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL },
30186 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
30187 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
30188 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL },
30189 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL },
30190 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
30191 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL },
30192 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
30193 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL },
30194 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL },
30195 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL },
30196 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
30197 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL },
30198 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL },
30199 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
30200 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL },
30201 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30202 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30203 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL },
30204 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30205 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL },
30206 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL },
30207 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
30208 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
30209 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL },
30210 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30211 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30212 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30213 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL },
30214 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
30215 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
30216 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
30217 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL },
30218 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
30219 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
30220 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
30221 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
30222 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
30223 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
30224 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
30225 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL },
30226 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30227 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30228 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL },
30229 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL },
30230 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL },
30231 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL },
30232 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30233 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30234 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30235 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL },
30236 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL },
30237 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL },
30238 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
30239 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30240 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
30241 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
30242 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
30243 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
30244 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
30245 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30246 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
30247 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
30248 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
30249 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30250 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30251 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
30252 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
30253 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
30254 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
30255 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
30256 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
30257 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL },
30258 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30259 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30260 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30261 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL },
30262 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL },
30263 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
30264 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
30265 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL },
30266 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30267 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30268 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30269 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30270 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL },
30271 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL },
30272 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL },
30273 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL },
30274 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL },
30275 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30276 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30277 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30278 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL },
30279 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30280 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
30281 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL },
30282 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL },
30283 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL },
30284 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
30285 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL },
30286 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL },
30287 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL },
30288 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL },
30289 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
30290 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30291 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL },
30292 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL },
30293 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL },
30294 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL },
30295 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL },
30296 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
30297 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL },
30298 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
30299 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30300 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
30301 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL },
30302 { NULL, NULL, 0, NULL }
30303 };
30304
30305
30306 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30307
30308 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
30309 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30310 }
30311 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
30312 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
30313 }
30314 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
30315 return (void *)((wxSizer *) ((wxBoxSizer *) x));
30316 }
30317 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
30318 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
30319 }
30320 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
30321 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30322 }
30323 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
30324 return (void *)((wxSizer *) ((wxGridSizer *) x));
30325 }
30326 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
30327 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
30328 }
30329 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
30330 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
30331 }
30332 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
30333 return (void *)((wxSizer *) ((wxPySizer *) x));
30334 }
30335 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
30336 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
30337 }
30338 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
30339 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
30340 }
30341 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
30342 return (void *)((wxEvent *) ((wxMenuEvent *) x));
30343 }
30344 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
30345 return (void *)((wxEvent *) ((wxCloseEvent *) x));
30346 }
30347 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
30348 return (void *)((wxEvent *) ((wxMouseEvent *) x));
30349 }
30350 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
30351 return (void *)((wxEvent *) ((wxEraseEvent *) x));
30352 }
30353 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
30354 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30355 }
30356 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
30357 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
30358 }
30359 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
30360 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
30361 }
30362 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
30363 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
30364 }
30365 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
30366 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
30367 }
30368 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
30369 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30370 }
30371 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
30372 return (void *)((wxEvent *) ((wxPyEvent *) x));
30373 }
30374 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
30375 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
30376 }
30377 static void *_p_wxListEventTo_p_wxEvent(void *x) {
30378 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30379 }
30380 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
30381 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30382 }
30383 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
30384 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30385 }
30386 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
30387 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
30388 }
30389 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
30390 return (void *)((wxEvent *) ((wxIdleEvent *) x));
30391 }
30392 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
30393 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
30394 }
30395 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
30396 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
30397 }
30398 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
30399 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
30400 }
30401 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
30402 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
30403 }
30404 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
30405 return (void *)((wxEvent *) ((wxActivateEvent *) x));
30406 }
30407 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
30408 return (void *)((wxEvent *) ((wxSizeEvent *) x));
30409 }
30410 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
30411 return (void *)((wxEvent *) ((wxMoveEvent *) x));
30412 }
30413 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
30414 return (void *)((wxEvent *) ((wxPaintEvent *) x));
30415 }
30416 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
30417 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
30418 }
30419 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
30420 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
30421 }
30422 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
30423 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
30424 }
30425 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
30426 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
30427 }
30428 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
30429 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30430 }
30431 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
30432 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
30433 }
30434 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
30435 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
30436 }
30437 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
30438 return (void *)((wxEvent *) ((wxFocusEvent *) x));
30439 }
30440 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
30441 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
30442 }
30443 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
30444 return (void *)((wxEvent *) ((wxShowEvent *) x));
30445 }
30446 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
30447 return (void *)((wxEvent *) ((wxCommandEvent *) x));
30448 }
30449 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
30450 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
30451 }
30452 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
30453 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30454 }
30455 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
30456 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
30457 }
30458 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
30459 return (void *)((wxEvent *) ((wxKeyEvent *) x));
30460 }
30461 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
30462 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
30463 }
30464 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
30465 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30466 }
30467 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
30468 return (void *)((wxItemContainer *) ((wxComboBox *) x));
30469 }
30470 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
30471 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30472 }
30473 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
30474 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
30475 }
30476 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
30477 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
30478 }
30479 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
30480 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
30481 }
30482 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
30483 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30484 }
30485 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
30486 return (void *)((wxPyListCtrl *) ((wxListView *) x));
30487 }
30488 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
30489 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30490 }
30491 static void *_p_wxListBoxTo_p_wxControl(void *x) {
30492 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
30493 }
30494 static void *_p_wxChoiceTo_p_wxControl(void *x) {
30495 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
30496 }
30497 static void *_p_wxToolBarTo_p_wxControl(void *x) {
30498 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
30499 }
30500 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
30501 return (void *)((wxControl *) ((wxStaticBitmap *) x));
30502 }
30503 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
30504 return (void *)((wxControl *) ((wxComboBox *) x));
30505 }
30506 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
30507 return (void *)((wxControl *) ((wxSpinCtrl *) x));
30508 }
30509 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
30510 return (void *)((wxControl *) ((wxStaticBox *) x));
30511 }
30512 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
30513 return (void *)((wxControl *) ((wxPyListCtrl *) x));
30514 }
30515 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
30516 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
30517 }
30518 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
30519 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30520 }
30521 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
30522 return (void *)((wxControl *) ((wxScrollBar *) x));
30523 }
30524 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
30525 return (void *)((wxControl *) ((wxBookCtrl *) x));
30526 }
30527 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
30528 return (void *)((wxControl *) ((wxRadioButton *) x));
30529 }
30530 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
30531 return (void *)((wxControl *) ((wxToggleButton *) x));
30532 }
30533 static void *_p_wxGaugeTo_p_wxControl(void *x) {
30534 return (void *)((wxControl *) ((wxGauge *) x));
30535 }
30536 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
30537 return (void *)((wxControl *) ((wxToolBarBase *) x));
30538 }
30539 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
30540 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
30541 }
30542 static void *_p_wxButtonTo_p_wxControl(void *x) {
30543 return (void *)((wxControl *) ((wxButton *) x));
30544 }
30545 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
30546 return (void *)((wxControl *) ((wxSpinButton *) x));
30547 }
30548 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
30549 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30550 }
30551 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
30552 return (void *)((wxControl *) ((wxControlWithItems *) x));
30553 }
30554 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
30555 return (void *)((wxControl *) ((wxRadioBox *) x));
30556 }
30557 static void *_p_wxNotebookTo_p_wxControl(void *x) {
30558 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
30559 }
30560 static void *_p_wxListbookTo_p_wxControl(void *x) {
30561 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
30562 }
30563 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
30564 return (void *)((wxControl *) ((wxCheckBox *) x));
30565 }
30566 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
30567 return (void *)((wxControl *) ((wxTextCtrl *) x));
30568 }
30569 static void *_p_wxListViewTo_p_wxControl(void *x) {
30570 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
30571 }
30572 static void *_p_wxSliderTo_p_wxControl(void *x) {
30573 return (void *)((wxControl *) ((wxSlider *) x));
30574 }
30575 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
30576 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
30577 }
30578 static void *_p_wxPyControlTo_p_wxControl(void *x) {
30579 return (void *)((wxControl *) ((wxPyControl *) x));
30580 }
30581 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
30582 return (void *)((wxControl *) ((wxStaticLine *) x));
30583 }
30584 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
30585 return (void *)((wxControl *) ((wxStaticText *) x));
30586 }
30587 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
30588 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
30589 }
30590 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
30591 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
30592 }
30593 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
30594 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
30595 }
30596 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
30597 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30598 }
30599 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
30600 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
30601 }
30602 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
30603 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
30604 }
30605 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
30606 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30607 }
30608 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
30609 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
30610 }
30611 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
30612 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30613 }
30614 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
30615 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
30616 }
30617 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
30618 return (void *)((wxEvtHandler *) ((wxValidator *) x));
30619 }
30620 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
30621 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
30622 }
30623 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
30624 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30625 }
30626 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
30627 return (void *)((wxEvtHandler *) ((wxMenu *) x));
30628 }
30629 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
30630 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
30631 }
30632 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
30633 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
30634 }
30635 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
30636 return (void *)((wxEvtHandler *) ((wxWindow *) x));
30637 }
30638 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
30639 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
30640 }
30641 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
30642 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30643 }
30644 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
30645 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30646 }
30647 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
30648 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
30649 }
30650 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
30651 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30652 }
30653 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
30654 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
30655 }
30656 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
30657 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
30658 }
30659 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
30660 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30661 }
30662 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
30663 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
30664 }
30665 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
30666 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30667 }
30668 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
30669 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
30670 }
30671 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
30672 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
30673 }
30674 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
30675 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30676 }
30677 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
30678 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30679 }
30680 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
30681 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
30682 }
30683 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
30684 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
30685 }
30686 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
30687 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30688 }
30689 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
30690 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30691 }
30692 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
30693 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30694 }
30695 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
30696 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30697 }
30698 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
30699 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30700 }
30701 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
30702 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30703 }
30704 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
30705 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
30706 }
30707 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
30708 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
30709 }
30710 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
30711 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
30712 }
30713 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
30714 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
30715 }
30716 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
30717 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
30718 }
30719 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
30720 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
30721 }
30722 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
30723 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
30724 }
30725 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
30726 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30727 }
30728 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
30729 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
30730 }
30731 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
30732 return (void *)((wxListBox *) ((wxCheckListBox *) x));
30733 }
30734 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
30735 return (void *)((wxBookCtrl *) ((wxListbook *) x));
30736 }
30737 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
30738 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
30739 }
30740 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
30741 return (void *)((wxButton *) ((wxBitmapButton *) x));
30742 }
30743 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
30744 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
30745 }
30746 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
30747 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
30748 }
30749 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
30750 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
30751 }
30752 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
30753 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
30754 }
30755 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
30756 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
30757 }
30758 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
30759 return (void *)((wxObject *) ((wxSizerItem *) x));
30760 }
30761 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
30762 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
30763 }
30764 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
30765 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
30766 }
30767 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
30768 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
30769 }
30770 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
30771 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30772 }
30773 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
30774 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
30775 }
30776 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
30777 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
30778 }
30779 static void *_p_wxSizerTo_p_wxObject(void *x) {
30780 return (void *)((wxObject *) ((wxSizer *) x));
30781 }
30782 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
30783 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30784 }
30785 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
30786 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
30787 }
30788 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
30789 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30790 }
30791 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
30792 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
30793 }
30794 static void *_p_wxEventTo_p_wxObject(void *x) {
30795 return (void *)((wxObject *) ((wxEvent *) x));
30796 }
30797 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
30798 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
30799 }
30800 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
30801 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
30802 }
30803 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
30804 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
30805 }
30806 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
30807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30808 }
30809 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
30810 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30811 }
30812 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
30813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30814 }
30815 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
30816 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
30817 }
30818 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
30819 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
30820 }
30821 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
30822 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
30823 }
30824 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
30825 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
30826 }
30827 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
30828 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30829 }
30830 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
30831 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
30832 }
30833 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
30834 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
30835 }
30836 static void *_p_wxControlTo_p_wxObject(void *x) {
30837 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
30838 }
30839 static void *_p_wxPyControlTo_p_wxObject(void *x) {
30840 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
30841 }
30842 static void *_p_wxGaugeTo_p_wxObject(void *x) {
30843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
30844 }
30845 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
30846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
30847 }
30848 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
30849 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
30850 }
30851 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
30852 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30853 }
30854 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
30855 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
30856 }
30857 static void *_p_wxChoiceTo_p_wxObject(void *x) {
30858 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30859 }
30860 static void *_p_wxFSFileTo_p_wxObject(void *x) {
30861 return (void *)((wxObject *) ((wxFSFile *) x));
30862 }
30863 static void *_p_wxPySizerTo_p_wxObject(void *x) {
30864 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
30865 }
30866 static void *_p_wxListViewTo_p_wxObject(void *x) {
30867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30868 }
30869 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
30870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
30871 }
30872 static void *_p_wxNotebookTo_p_wxObject(void *x) {
30873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30874 }
30875 static void *_p_wxPyEventTo_p_wxObject(void *x) {
30876 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
30877 }
30878 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
30879 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
30880 }
30881 static void *_p_wxListbookTo_p_wxObject(void *x) {
30882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30883 }
30884 static void *_p_wxShowEventTo_p_wxObject(void *x) {
30885 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
30886 }
30887 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
30888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30889 }
30890 static void *_p_wxSliderTo_p_wxObject(void *x) {
30891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
30892 }
30893 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
30894 return (void *)((wxObject *) ((wxMenuItem *) x));
30895 }
30896 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
30897 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
30898 }
30899 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
30900 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
30901 }
30902 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
30903 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
30904 }
30905 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
30906 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
30907 }
30908 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
30909 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
30910 }
30911 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
30912 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
30913 }
30914 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
30915 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
30916 }
30917 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
30918 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
30919 }
30920 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
30921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
30922 }
30923 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
30924 return (void *)((wxObject *) ((wxContextHelp *) x));
30925 }
30926 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
30927 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
30928 }
30929 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
30930 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
30931 }
30932 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
30933 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
30934 }
30935 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
30936 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
30937 }
30938 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
30939 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
30940 }
30941 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
30942 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
30943 }
30944 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
30945 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
30946 }
30947 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
30948 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
30949 }
30950 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
30951 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
30952 }
30953 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
30954 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
30955 }
30956 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
30957 return (void *)((wxObject *) ((wxImageHandler *) x));
30958 }
30959 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
30960 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
30961 }
30962 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
30963 return (void *)((wxObject *) ((wxEvtHandler *) x));
30964 }
30965 static void *_p_wxListEventTo_p_wxObject(void *x) {
30966 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30967 }
30968 static void *_p_wxListBoxTo_p_wxObject(void *x) {
30969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30970 }
30971 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
30972 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30973 }
30974 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
30975 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30976 }
30977 static void *_p_wxButtonTo_p_wxObject(void *x) {
30978 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
30979 }
30980 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
30981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
30982 }
30983 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
30984 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
30985 }
30986 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
30987 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30988 }
30989 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
30990 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
30991 }
30992 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
30993 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
30994 }
30995 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
30996 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
30997 }
30998 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
30999 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
31000 }
31001 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
31002 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
31003 }
31004 static void *_p_wxListItemTo_p_wxObject(void *x) {
31005 return (void *)((wxObject *) ((wxListItem *) x));
31006 }
31007 static void *_p_wxImageTo_p_wxObject(void *x) {
31008 return (void *)((wxObject *) ((wxImage *) x));
31009 }
31010 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
31011 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
31012 }
31013 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31014 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31015 }
31016 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
31017 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
31018 }
31019 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
31020 return (void *)((wxObject *) ((wxGenericDragImage *) x));
31021 }
31022 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
31023 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31024 }
31025 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
31026 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31027 }
31028 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
31029 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31030 }
31031 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31032 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31033 }
31034 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31035 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31036 }
31037 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31038 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31039 }
31040 static void *_p_wxWindowTo_p_wxObject(void *x) {
31041 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31042 }
31043 static void *_p_wxMenuTo_p_wxObject(void *x) {
31044 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31045 }
31046 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31048 }
31049 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31050 return (void *)((wxObject *) ((wxFileSystem *) x));
31051 }
31052 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31053 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31054 }
31055 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31056 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31057 }
31058 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31059 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31060 }
31061 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31062 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31063 }
31064 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31065 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31066 }
31067 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31068 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31069 }
31070 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
31071 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31072 }
31073 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31074 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31075 }
31076 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31077 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31078 }
31079 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
31080 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
31081 }
31082 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31083 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31084 }
31085 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31086 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31087 }
31088 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31089 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31090 }
31091 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31092 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31093 }
31094 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
31095 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
31096 }
31097 static void *_p_wxToolBarTo_p_wxObject(void *x) {
31098 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31099 }
31100 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31101 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31102 }
31103 static void *_p_wxValidatorTo_p_wxObject(void *x) {
31104 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31105 }
31106 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
31107 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
31108 }
31109 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
31110 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
31111 }
31112 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31113 return (void *)((wxWindow *) ((wxMenuBar *) x));
31114 }
31115 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
31116 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31117 }
31118 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
31119 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
31120 }
31121 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
31122 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
31123 }
31124 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
31125 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
31126 }
31127 static void *_p_wxControlTo_p_wxWindow(void *x) {
31128 return (void *)((wxWindow *) ((wxControl *) x));
31129 }
31130 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
31131 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
31132 }
31133 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
31134 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31135 }
31136 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
31137 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
31138 }
31139 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
31140 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
31141 }
31142 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
31143 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
31144 }
31145 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
31146 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
31147 }
31148 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
31149 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
31150 }
31151 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
31152 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
31153 }
31154 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
31155 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
31156 }
31157 static void *_p_wxListbookTo_p_wxWindow(void *x) {
31158 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31159 }
31160 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
31161 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
31162 }
31163 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
31164 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
31165 }
31166 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
31167 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
31168 }
31169 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
31170 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31171 }
31172 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
31173 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31174 }
31175 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
31176 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31177 }
31178 static void *_p_wxListViewTo_p_wxWindow(void *x) {
31179 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31180 }
31181 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
31182 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31183 }
31184 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
31185 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
31186 }
31187 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
31188 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
31189 }
31190 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
31191 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
31192 }
31193 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
31194 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
31195 }
31196 static void *_p_wxSliderTo_p_wxWindow(void *x) {
31197 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
31198 }
31199 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
31200 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
31201 }
31202 static void *_p_wxButtonTo_p_wxWindow(void *x) {
31203 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
31204 }
31205 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
31206 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
31207 }
31208 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
31209 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31210 }
31211 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
31212 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
31213 }
31214 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
31215 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31216 }
31217 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
31218 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31219 }
31220 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
31221 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
31222 }
31223 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
31224 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
31225 }
31226 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
31227 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
31228 }
31229 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
31230 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
31231 }
31232 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
31233 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
31234 }
31235 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
31236 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31237 }
31238 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
31239 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31240 }
31241 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
31242 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
31243 }
31244 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
31245 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
31246 }
31247 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
31248 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
31249 }
31250 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
31251 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
31252 }
31253 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
31254 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
31255 }
31256 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
31257 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
31258 }
31259 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
31260 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
31261 }
31262 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
31263 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
31264 }
31265 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
31266 return (void *)((wxControlWithItems *) ((wxChoice *) x));
31267 }
31268 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
31269 return (void *)((wxControlWithItems *) ((wxListBox *) x));
31270 }
31271 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
31272 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
31273 }
31274 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
31275 return (void *)((wxValidator *) ((wxPyValidator *) x));
31276 }
31277 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}};
31278 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}};
31279 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}};
31280 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}};
31281 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}};
31282 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}};
31283 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}};
31284 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}};
31285 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}};
31286 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}};
31287 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}};
31288 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}};
31289 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}};
31290 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}};
31291 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}};
31292 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}};
31293 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}};
31294 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}};
31295 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}};
31296 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}};
31297 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31298 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}};
31299 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}};
31300 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}};
31301 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}};
31302 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}};
31303 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}};
31304 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}};
31305 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}};
31306 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}};
31307 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}};
31308 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}};
31309 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}};
31310 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}};
31311 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}};
31312 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}};
31313 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}};
31314 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}};
31315 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}};
31316 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}};
31317 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}};
31318 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}};
31319 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}};
31320 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}};
31321 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}};
31322 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}};
31323 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}};
31324 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}};
31325 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}};
31326 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}};
31327 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}};
31328 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}};
31329 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}};
31330 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}};
31331 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}};
31332 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}};
31333 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}};
31334 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}};
31335 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}};
31336 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}};
31337 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}};
31338 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}};
31339 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}};
31340 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}};
31341 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}};
31342 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}};
31343 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}};
31344 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}};
31345 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}};
31346 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}};
31347 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}};
31348 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}};
31349 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}};
31350 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}};
31351 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}};
31352 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}};
31353 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}};
31354 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}};
31355 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31356 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}};
31357 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}};
31358 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}};
31359 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}};
31360 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}};
31361
31362 static swig_type_info *swig_types_initial[] = {
31363 _swigt__p_wxTextUrlEvent,
31364 _swigt__p_wxBookCtrlEvent,
31365 _swigt__p_wxSizer,
31366 _swigt__p_wxCheckBox,
31367 _swigt__p_wxPyTreeCtrl,
31368 _swigt__p_wxEvent,
31369 _swigt__p_wxGenericDirCtrl,
31370 _swigt__p_bool,
31371 _swigt__p_wxPyTreeItemData,
31372 _swigt__p_wxItemContainer,
31373 _swigt__p_wxDirFilterListCtrl,
31374 _swigt__p_wxPyListCtrl,
31375 _swigt__p_wxStaticLine,
31376 _swigt__p_wxControl,
31377 _swigt__p_wxPyControl,
31378 _swigt__p_wxGauge,
31379 _swigt__p_wxToolBarBase,
31380 _swigt__p_wxFont,
31381 _swigt__p_wxToggleButton,
31382 _swigt__p_wxRadioButton,
31383 _swigt__p_wxChoice,
31384 _swigt__p_wxMemoryDC,
31385 _swigt__p_wxListItemAttr,
31386 _swigt__p_void,
31387 _swigt__p_int,
31388 _swigt__p_wxSize,
31389 _swigt__p_wxDC,
31390 _swigt__p_wxListView,
31391 _swigt__p_wxIcon,
31392 _swigt__p_wxTextCtrl,
31393 _swigt__p_wxNotebook,
31394 _swigt__p_wxNotifyEvent,
31395 _swigt__p_wxArrayString,
31396 _swigt__p_wxListbook,
31397 _swigt__p_wxStaticBitmap,
31398 _swigt__p_wxSlider,
31399 _swigt__p_wxStaticBox,
31400 _swigt__p_wxArrayInt,
31401 _swigt__p_wxContextHelp,
31402 _swigt__p_long,
31403 _swigt__p_wxEvtHandler,
31404 _swigt__p_wxListEvent,
31405 _swigt__p_wxListBox,
31406 _swigt__p_wxCheckListBox,
31407 _swigt__p_wxBookCtrl,
31408 _swigt__p_wxSpinButton,
31409 _swigt__p_wxButton,
31410 _swigt__p_wxBitmapButton,
31411 _swigt__p_wxRect,
31412 _swigt__p_wxContextHelpButton,
31413 _swigt__p_wxRadioBox,
31414 _swigt__p_wxScrollBar,
31415 _swigt__p_char,
31416 _swigt__p_wxTreeItemId,
31417 _swigt__p_wxComboBox,
31418 _swigt__p_wxHelpEvent,
31419 _swigt__p_wxListItem,
31420 _swigt__p_wxNotebookSizer,
31421 _swigt__p_wxSpinEvent,
31422 _swigt__p_wxGenericDragImage,
31423 _swigt__p_wxSpinCtrl,
31424 _swigt__p_wxImageList,
31425 _swigt__p_wxHelpProvider,
31426 _swigt__p_wxTextAttr,
31427 _swigt__p_wxSimpleHelpProvider,
31428 _swigt__p_wxPoint,
31429 _swigt__p_wxListbookEvent,
31430 _swigt__p_wxNotebookEvent,
31431 _swigt__p_wxObject,
31432 _swigt__p_wxCursor,
31433 _swigt__p_wxKeyEvent,
31434 _swigt__p_wxWindow,
31435 _swigt__p_wxString,
31436 _swigt__p_wxBitmap,
31437 _swigt__p_wxTreeEvent,
31438 _swigt__p_wxMouseEvent,
31439 _swigt__p_wxCommandEvent,
31440 _swigt__p_wxStaticText,
31441 _swigt__p_wxControlWithItems,
31442 _swigt__p_wxToolBarToolBase,
31443 _swigt__p_wxColour,
31444 _swigt__p_wxToolBar,
31445 _swigt__p_wxBookCtrlSizer,
31446 _swigt__p_wxValidator,
31447 0
31448 };
31449
31450
31451 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31452
31453 static swig_const_info swig_const_table[] = {
31454 {0, 0, 0, 0.0, 0, 0}};
31455
31456 #ifdef __cplusplus
31457 }
31458 #endif
31459
31460 #ifdef __cplusplus
31461 extern "C"
31462 #endif
31463 SWIGEXPORT(void) SWIG_init(void) {
31464 static PyObject *SWIG_globals = 0;
31465 static int typeinit = 0;
31466 PyObject *m, *d;
31467 int i;
31468 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
31469 m = Py_InitModule((char *) SWIG_name, SwigMethods);
31470 d = PyModule_GetDict(m);
31471
31472 if (!typeinit) {
31473 for (i = 0; swig_types_initial[i]; i++) {
31474 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
31475 }
31476 typeinit = 1;
31477 }
31478 SWIG_InstallConstants(d,swig_const_table);
31479
31480 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
31481 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
31482 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
31483 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
31484 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
31485 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
31486 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
31487 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
31488 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
31489 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
31490 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
31491 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
31492 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
31493 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
31494 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
31495 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
31496 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
31497 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
31498 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
31499 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
31500 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
31501 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
31502 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
31503 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
31504 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
31505 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
31506 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
31507 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
31508 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
31509 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
31510 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
31511 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
31512 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
31513 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
31514 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
31515 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
31516 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
31517 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
31518 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
31519 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
31520 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
31521 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
31522 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
31523 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
31524 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
31525 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
31526 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
31527 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
31528 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
31529 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
31530 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
31531 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
31532 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
31533 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
31534 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
31535 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
31536 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
31537 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
31538 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
31539 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
31540 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
31541 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
31542 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
31543 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
31544 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
31545 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
31546 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
31547 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
31548 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
31549 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
31550 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
31551 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
31552 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
31553 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
31554 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
31555 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
31556 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
31557 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
31558 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
31559 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
31560 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
31561 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
31562 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
31563 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
31564 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
31565 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
31566 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
31567 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
31568 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
31569 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
31570 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
31571 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
31572 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
31573 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
31574 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
31575 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
31576 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
31577 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
31578 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
31579 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
31580 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
31581 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
31582 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
31583 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
31584 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
31585 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
31586 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
31587 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
31588 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
31589 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
31590 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
31591 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
31592 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
31593 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
31594 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
31595 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
31596 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
31597 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
31598 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
31599 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
31600 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
31601 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
31602 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
31603 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
31604 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
31605 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
31606 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
31607 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
31608 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
31609 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
31610 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
31611 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
31612 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
31613 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
31614 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
31615 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
31616 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
31617 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
31618 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
31619 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
31620 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
31621 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
31622 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
31623 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
31624 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
31625 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
31626 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
31627 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
31628 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
31629 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
31630 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
31631 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
31632 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
31633 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
31634 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
31635 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
31636 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
31637 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
31638 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
31639 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
31640 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
31641 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
31642 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
31643 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
31644 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
31645 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
31646 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
31647 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
31648 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
31649 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
31650 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
31651 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
31652 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
31653 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
31654 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
31655 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
31656 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
31657 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
31658 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
31659 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
31660 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
31661 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
31662 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
31663 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
31664 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
31665 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
31666 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
31667 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
31668 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
31669 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
31670 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
31671 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
31672 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
31673 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
31674 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
31675 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
31676 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
31677 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
31678 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
31679 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
31680 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
31681 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
31682 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
31683 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
31684 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
31685 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
31686 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
31687 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
31688 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
31689 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
31690 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
31691
31692 // Map renamed classes back to their common name for OOR
31693 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31694
31695 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
31696 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
31697 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
31698 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
31699 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
31700 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
31701 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
31702 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
31703 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
31704 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
31705 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
31706 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
31707 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
31708 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
31709 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
31710 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
31711 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
31712 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
31713 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
31714 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
31715 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
31716 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
31717 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
31718 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
31719 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
31720 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
31721 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
31722 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
31723 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
31724 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
31725 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
31726 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
31727 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
31728 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
31729 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
31730 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
31731 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
31732 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
31733 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
31734 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
31735 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
31736 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
31737 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
31738 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
31739 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
31740 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
31741 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
31742 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
31743 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
31744 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
31745 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
31746 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
31747 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
31748 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
31749 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
31750 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
31751
31752 // Map renamed classes back to their common name for OOR
31753 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31754 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31755
31756 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
31757 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
31758 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
31759 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
31760 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
31761 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
31762 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
31763 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
31764 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
31765 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
31766
31767 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
31768
31769 }
31770