]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/controls_wrap.cpp
Fixes and updates for the activex module info.
[wxWidgets.git] / wxPython / src / gtk / 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 int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
565 int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
566 int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
567
568 #include <wx/slider.h>
569
570
571 static const wxString wxPySliderNameStr(wxSliderNameStr);
572 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
573
574 #if !wxUSE_TOGGLEBTN
575 // implement dummy items for platforms that don't have this class
576
577 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
578
579 class wxToggleButton : public wxControl
580 {
581 public:
582 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
583 const wxPoint&, const wxSize&, long,
584 const wxValidator&, const wxString&)
585 { wxPyRaiseNotImplemented(); }
586
587 wxToggleButton()
588 { wxPyRaiseNotImplemented(); }
589 };
590 #endif
591
592 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
593
594 SWIGSTATICINLINE(PyObject* )
595 SWIG_FromUnsignedLong(unsigned long value)
596 {
597 return (value > LONG_MAX) ?
598 PyLong_FromUnsignedLong(value)
599 : PyInt_FromLong(swig_numeric_cast(long,value));
600 }
601
602 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
603 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
604 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
605 if (udata) {
606 Py_INCREF(udata->m_obj);
607 return udata->m_obj;
608 } else {
609 Py_INCREF(Py_None);
610 return Py_None;
611 }
612 }
613 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
614 self->SetClientData(new wxPyUserData(clientData));
615 }
616 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){
617 wxPyUserData* udata = NULL;
618 if (clientData && clientData != Py_None)
619 udata = new wxPyUserData(clientData);
620 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
621 shortHelp, longHelp, udata);
622 }
623 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){
624 wxPyUserData* udata = NULL;
625 if (clientData && clientData != Py_None)
626 udata = new wxPyUserData(clientData);
627 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
628 shortHelp, longHelp, udata);
629 }
630 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
631 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
632 if (udata) {
633 Py_INCREF(udata->m_obj);
634 return udata->m_obj;
635 } else {
636 Py_INCREF(Py_None);
637 return Py_None;
638 }
639 }
640 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
641 self->SetToolClientData(id, new wxPyUserData(clientData));
642 }
643
644 #include <wx/listctrl.h>
645
646
647 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
648 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
649 // Python aware sorting function for wxPyListCtrl
650 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
651 int retval = 0;
652 PyObject* func = (PyObject*)funcPtr;
653 bool blocked = wxPyBeginBlockThreads();
654
655 PyObject* args = Py_BuildValue("(ii)", item1, item2);
656 PyObject* result = PyEval_CallObject(func, args);
657 Py_DECREF(args);
658 if (result) {
659 retval = PyInt_AsLong(result);
660 Py_DECREF(result);
661 }
662
663 wxPyEndBlockThreads(blocked);
664 return retval;
665 }
666
667 // C++ Version of a Python aware class
668 class wxPyListCtrl : public wxListCtrl {
669 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
670 public:
671 wxPyListCtrl() : wxListCtrl() {}
672 wxPyListCtrl(wxWindow* parent, wxWindowID id,
673 const wxPoint& pos,
674 const wxSize& size,
675 long style,
676 const wxValidator& validator,
677 const wxString& name) :
678 wxListCtrl(parent, id, pos, size, style, validator, name) {}
679
680 bool Create(wxWindow* parent, wxWindowID id,
681 const wxPoint& pos,
682 const wxSize& size,
683 long style,
684 const wxValidator& validator,
685 const wxString& name) {
686 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
687 }
688
689 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
690 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
691 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
692
693 PYPRIVATE;
694 };
695
696 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
697
698 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
699 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
700 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
701
702 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
703 wxListItem item;
704 item.SetMask( wxLIST_MASK_STATE |
705 wxLIST_MASK_TEXT |
706 wxLIST_MASK_IMAGE |
707 wxLIST_MASK_DATA |
708 wxLIST_SET_ITEM |
709 wxLIST_MASK_WIDTH |
710 wxLIST_MASK_FORMAT
711 );
712 if (self->GetColumn(col, item))
713 return new wxListItem(item);
714 else
715 return NULL;
716 }
717 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
718 wxListItem* info = new wxListItem;
719 info->m_itemId = itemId;
720 info->m_col = col;
721 info->m_mask = 0xFFFF;
722 self->GetItem(*info);
723 return info;
724 }
725 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
726 wxPoint pos;
727 self->GetItemPosition(item, pos);
728 return pos;
729 }
730 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
731 wxRect rect;
732 self->GetItemRect(item, rect, code);
733 return rect;
734 }
735 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
736 if (!PyCallable_Check(func))
737 return False;
738 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
739 }
740 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
741
742
743
744 return (wxWindow*)self->m_mainWin;
745
746 }
747
748 #include <wx/treectrl.h>
749 #include "wx/wxPython/pytree.h"
750
751 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
752 bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : False; }
753 bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : True; }
754 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
755 // C++ version of Python aware wxTreeCtrl
756 class wxPyTreeCtrl : public wxTreeCtrl {
757 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
758 public:
759 wxPyTreeCtrl() : wxTreeCtrl() {}
760 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
761 const wxPoint& pos,
762 const wxSize& size,
763 long style,
764 const wxValidator& validator,
765 const wxString& name) :
766 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
767
768 bool Create(wxWindow *parent, wxWindowID id,
769 const wxPoint& pos,
770 const wxSize& size,
771 long style,
772 const wxValidator& validator,
773 const wxString& name) {
774 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
775 }
776
777
778 int OnCompareItems(const wxTreeItemId& item1,
779 const wxTreeItemId& item2) {
780 int rval = 0;
781 bool found;
782 bool blocked = wxPyBeginBlockThreads();
783 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
784 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
785 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
786 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
787 Py_DECREF(o1);
788 Py_DECREF(o2);
789 }
790 wxPyEndBlockThreads(blocked);
791 if (! found)
792 rval = wxTreeCtrl::OnCompareItems(item1, item2);
793 return rval;
794 }
795 PYPRIVATE;
796 };
797
798 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
799
800
801
802 #if UINT_MAX < LONG_MAX
803 #define SWIG_FromUnsignedInt SWIG_FromLong
804 #else
805 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
806 #endif
807
808
809 SWIGSTATICINLINE(unsigned long)
810 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
811 unsigned long max_value)
812 {
813 if (!PyErr_Occurred()) {
814 if (value > max_value) {
815 PyObject *err =
816 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
817 value, type, max_value);
818 PyErr_SetObject(PyExc_OverflowError, err);
819 Py_DECREF(err);
820 }
821 }
822 return value;
823 }
824
825
826 #if UINT_MAX != ULONG_MAX
827 SWIGSTATICINLINE(unsigned int)
828 SWIG_AsUnsignedInt(PyObject *obj)
829 {
830 return swig_numeric_cast(unsigned int,
831 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
832 "unsigned int", UINT_MAX));
833 }
834 #else
835 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
836 #endif
837
838
839 SWIGSTATICINLINE(int)
840 SWIG_CheckUnsignedInt(PyObject* obj)
841 {
842 SWIG_AsUnsignedInt(obj);
843 if (PyErr_Occurred()) {
844 PyErr_Clear();
845 return 0;
846 } else {
847 return 1;
848 }
849 }
850
851 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
852 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
853 if (data == NULL) {
854 data = new wxPyTreeItemData();
855 data->SetId(item); // set the id
856 self->SetItemData(item, data);
857 }
858 return data;
859 }
860 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
861 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
862 if (data == NULL) {
863 data = new wxPyTreeItemData();
864 data->SetId(item); // set the id
865 self->SetItemData(item, data);
866 }
867 return data->GetData();
868 }
869 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
870 data->SetId(item); // set the id
871 self->SetItemData(item, data);
872 }
873 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
874 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
875 if (data == NULL) {
876 data = new wxPyTreeItemData(obj);
877 data->SetId(item); // set the id
878 self->SetItemData(item, data);
879 } else
880 data->SetData(obj);
881 }
882 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
883 bool blocked = wxPyBeginBlockThreads();
884 PyObject* rval = PyList_New(0);
885 wxArrayTreeItemIds array;
886 size_t num, x;
887 num = self->GetSelections(array);
888 for (x=0; x < num; x++) {
889 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
890 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
891 PyList_Append(rval, item);
892 }
893 wxPyEndBlockThreads(blocked);
894 return rval;
895 }
896 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
897 void* cookie = 0;
898 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
899 bool blocked = wxPyBeginBlockThreads();
900 PyObject* tup = PyTuple_New(2);
901 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
902 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
903 wxPyEndBlockThreads(blocked);
904 return tup;
905 }
906 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
907 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
908 bool blocked = wxPyBeginBlockThreads();
909 PyObject* tup = PyTuple_New(2);
910 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
911 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
912 wxPyEndBlockThreads(blocked);
913 return tup;
914 }
915 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
916 wxRect rect;
917 if (self->GetBoundingRect(item, rect, textOnly)) {
918 bool blocked = wxPyBeginBlockThreads();
919 wxRect* r = new wxRect(rect);
920 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
921 wxPyEndBlockThreads(blocked);
922 return val;
923 }
924 else
925 RETURN_NONE();
926 }
927 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
928 // C++ version of Python aware wxControl
929 class wxPyControl : public wxControl
930 {
931 DECLARE_DYNAMIC_CLASS(wxPyControl)
932 public:
933 wxPyControl() : wxControl() {}
934 wxPyControl(wxWindow* parent, const wxWindowID id,
935 const wxPoint& pos = wxDefaultPosition,
936 const wxSize& size = wxDefaultSize,
937 long style = 0,
938 const wxValidator& validator=wxDefaultValidator,
939 const wxString& name = wxPyControlNameStr)
940 : wxControl(parent, id, pos, size, style, validator, name) {}
941
942
943 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
944 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
945 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
946 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
947
948 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
949 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
950 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
951
952 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
953 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
954
955 DEC_PYCALLBACK__(InitDialog);
956 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
957 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
958 DEC_PYCALLBACK_BOOL_(Validate);
959
960 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
961 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
962 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
963
964 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
965 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
966
967 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
968
969 PYPRIVATE;
970 };
971
972 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
973
974 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
975 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
976 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
977 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
978
979 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
980 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
981 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
982
983 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
984 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
985
986 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
987 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
988 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
989 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
990
991 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
992 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
993 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
994
995 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
996 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
997
998 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, ShouldInheritColours);
999
1000
1001
1002 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
1003
1004 #include <wx/generic/dragimgg.h>
1005
1006 #ifdef __cplusplus
1007 extern "C" {
1008 #endif
1009 static int _wrap_ButtonNameStr_set(PyObject *_val) {
1010 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1011 return 1;
1012 }
1013
1014
1015 static PyObject *_wrap_ButtonNameStr_get() {
1016 PyObject *pyobj;
1017
1018 {
1019 #if wxUSE_UNICODE
1020 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1021 #else
1022 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1023 #endif
1024 }
1025 return pyobj;
1026 }
1027
1028
1029 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
1030 PyObject *resultobj;
1031 wxWindow *arg1 = (wxWindow *) 0 ;
1032 int arg2 ;
1033 wxString *arg3 = 0 ;
1034 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1035 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1036 wxSize const &arg5_defvalue = wxDefaultSize ;
1037 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1038 long arg6 = (long) 0 ;
1039 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1040 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1041 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1042 wxString *arg8 = (wxString *) &arg8_defvalue ;
1043 wxButton *result;
1044 bool temp3 = False ;
1045 wxPoint temp4 ;
1046 wxSize temp5 ;
1047 bool temp8 = False ;
1048 PyObject * obj0 = 0 ;
1049 PyObject * obj1 = 0 ;
1050 PyObject * obj2 = 0 ;
1051 PyObject * obj3 = 0 ;
1052 PyObject * obj4 = 0 ;
1053 PyObject * obj5 = 0 ;
1054 PyObject * obj6 = 0 ;
1055 PyObject * obj7 = 0 ;
1056 char *kwnames[] = {
1057 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1058 };
1059
1060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1063 arg2 = (int) SWIG_AsInt(obj1);
1064 if (PyErr_Occurred()) SWIG_fail;
1065 {
1066 arg3 = wxString_in_helper(obj2);
1067 if (arg3 == NULL) SWIG_fail;
1068 temp3 = True;
1069 }
1070 if (obj3) {
1071 {
1072 arg4 = &temp4;
1073 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1074 }
1075 }
1076 if (obj4) {
1077 {
1078 arg5 = &temp5;
1079 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1080 }
1081 }
1082 if (obj5) {
1083 arg6 = (long) SWIG_AsLong(obj5);
1084 if (PyErr_Occurred()) SWIG_fail;
1085 }
1086 if (obj6) {
1087 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1088 SWIG_POINTER_EXCEPTION | 0)) == -1)
1089 SWIG_fail;
1090 if (arg7 == NULL) {
1091 PyErr_SetString(PyExc_TypeError,"null reference");
1092 SWIG_fail;
1093 }
1094 }
1095 if (obj7) {
1096 {
1097 arg8 = wxString_in_helper(obj7);
1098 if (arg8 == NULL) SWIG_fail;
1099 temp8 = True;
1100 }
1101 }
1102 {
1103 PyThreadState* __tstate = wxPyBeginAllowThreads();
1104 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1105
1106 wxPyEndAllowThreads(__tstate);
1107 if (PyErr_Occurred()) SWIG_fail;
1108 }
1109 {
1110 resultobj = wxPyMake_wxObject(result);
1111 }
1112 {
1113 if (temp3)
1114 delete arg3;
1115 }
1116 {
1117 if (temp8)
1118 delete arg8;
1119 }
1120 return resultobj;
1121 fail:
1122 {
1123 if (temp3)
1124 delete arg3;
1125 }
1126 {
1127 if (temp8)
1128 delete arg8;
1129 }
1130 return NULL;
1131 }
1132
1133
1134 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1135 PyObject *resultobj;
1136 wxButton *result;
1137 char *kwnames[] = {
1138 NULL
1139 };
1140
1141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1142 {
1143 PyThreadState* __tstate = wxPyBeginAllowThreads();
1144 result = (wxButton *)new wxButton();
1145
1146 wxPyEndAllowThreads(__tstate);
1147 if (PyErr_Occurred()) SWIG_fail;
1148 }
1149 {
1150 resultobj = wxPyMake_wxObject(result);
1151 }
1152 return resultobj;
1153 fail:
1154 return NULL;
1155 }
1156
1157
1158 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1159 PyObject *resultobj;
1160 wxButton *arg1 = (wxButton *) 0 ;
1161 wxWindow *arg2 = (wxWindow *) 0 ;
1162 int arg3 ;
1163 wxString *arg4 = 0 ;
1164 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1165 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1166 wxSize const &arg6_defvalue = wxDefaultSize ;
1167 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1168 long arg7 = (long) 0 ;
1169 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1170 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1171 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1172 wxString *arg9 = (wxString *) &arg9_defvalue ;
1173 bool result;
1174 bool temp4 = False ;
1175 wxPoint temp5 ;
1176 wxSize temp6 ;
1177 bool temp9 = False ;
1178 PyObject * obj0 = 0 ;
1179 PyObject * obj1 = 0 ;
1180 PyObject * obj2 = 0 ;
1181 PyObject * obj3 = 0 ;
1182 PyObject * obj4 = 0 ;
1183 PyObject * obj5 = 0 ;
1184 PyObject * obj6 = 0 ;
1185 PyObject * obj7 = 0 ;
1186 PyObject * obj8 = 0 ;
1187 char *kwnames[] = {
1188 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1189 };
1190
1191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1194 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1196 arg3 = (int) SWIG_AsInt(obj2);
1197 if (PyErr_Occurred()) SWIG_fail;
1198 {
1199 arg4 = wxString_in_helper(obj3);
1200 if (arg4 == NULL) SWIG_fail;
1201 temp4 = True;
1202 }
1203 if (obj4) {
1204 {
1205 arg5 = &temp5;
1206 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1207 }
1208 }
1209 if (obj5) {
1210 {
1211 arg6 = &temp6;
1212 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1213 }
1214 }
1215 if (obj6) {
1216 arg7 = (long) SWIG_AsLong(obj6);
1217 if (PyErr_Occurred()) SWIG_fail;
1218 }
1219 if (obj7) {
1220 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1221 SWIG_POINTER_EXCEPTION | 0)) == -1)
1222 SWIG_fail;
1223 if (arg8 == NULL) {
1224 PyErr_SetString(PyExc_TypeError,"null reference");
1225 SWIG_fail;
1226 }
1227 }
1228 if (obj8) {
1229 {
1230 arg9 = wxString_in_helper(obj8);
1231 if (arg9 == NULL) SWIG_fail;
1232 temp9 = True;
1233 }
1234 }
1235 {
1236 PyThreadState* __tstate = wxPyBeginAllowThreads();
1237 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1238
1239 wxPyEndAllowThreads(__tstate);
1240 if (PyErr_Occurred()) SWIG_fail;
1241 }
1242 {
1243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1244 }
1245 {
1246 if (temp4)
1247 delete arg4;
1248 }
1249 {
1250 if (temp9)
1251 delete arg9;
1252 }
1253 return resultobj;
1254 fail:
1255 {
1256 if (temp4)
1257 delete arg4;
1258 }
1259 {
1260 if (temp9)
1261 delete arg9;
1262 }
1263 return NULL;
1264 }
1265
1266
1267 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1268 PyObject *resultobj;
1269 wxButton *arg1 = (wxButton *) 0 ;
1270 PyObject * obj0 = 0 ;
1271 char *kwnames[] = {
1272 (char *) "self", NULL
1273 };
1274
1275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1278 {
1279 PyThreadState* __tstate = wxPyBeginAllowThreads();
1280 (arg1)->SetDefault();
1281
1282 wxPyEndAllowThreads(__tstate);
1283 if (PyErr_Occurred()) SWIG_fail;
1284 }
1285 Py_INCREF(Py_None); resultobj = Py_None;
1286 return resultobj;
1287 fail:
1288 return NULL;
1289 }
1290
1291
1292 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1293 PyObject *resultobj;
1294 wxSize result;
1295 char *kwnames[] = {
1296 NULL
1297 };
1298
1299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1300 {
1301 PyThreadState* __tstate = wxPyBeginAllowThreads();
1302 result = wxButton::GetDefaultSize();
1303
1304 wxPyEndAllowThreads(__tstate);
1305 if (PyErr_Occurred()) SWIG_fail;
1306 }
1307 {
1308 wxSize * resultptr;
1309 resultptr = new wxSize((wxSize &) result);
1310 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1311 }
1312 return resultobj;
1313 fail:
1314 return NULL;
1315 }
1316
1317
1318 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1319 PyObject *obj;
1320 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1321 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1322 Py_INCREF(obj);
1323 return Py_BuildValue((char *)"");
1324 }
1325 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1326 PyObject *resultobj;
1327 wxWindow *arg1 = (wxWindow *) 0 ;
1328 int arg2 ;
1329 wxBitmap *arg3 = 0 ;
1330 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1331 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1332 wxSize const &arg5_defvalue = wxDefaultSize ;
1333 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1334 long arg6 = (long) wxBU_AUTODRAW ;
1335 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1336 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1337 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1338 wxString *arg8 = (wxString *) &arg8_defvalue ;
1339 wxBitmapButton *result;
1340 wxPoint temp4 ;
1341 wxSize temp5 ;
1342 bool temp8 = False ;
1343 PyObject * obj0 = 0 ;
1344 PyObject * obj1 = 0 ;
1345 PyObject * obj2 = 0 ;
1346 PyObject * obj3 = 0 ;
1347 PyObject * obj4 = 0 ;
1348 PyObject * obj5 = 0 ;
1349 PyObject * obj6 = 0 ;
1350 PyObject * obj7 = 0 ;
1351 char *kwnames[] = {
1352 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1353 };
1354
1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1358 arg2 = (int) SWIG_AsInt(obj1);
1359 if (PyErr_Occurred()) SWIG_fail;
1360 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1361 SWIG_POINTER_EXCEPTION | 0)) == -1)
1362 SWIG_fail;
1363 if (arg3 == NULL) {
1364 PyErr_SetString(PyExc_TypeError,"null reference");
1365 SWIG_fail;
1366 }
1367 if (obj3) {
1368 {
1369 arg4 = &temp4;
1370 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1371 }
1372 }
1373 if (obj4) {
1374 {
1375 arg5 = &temp5;
1376 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1377 }
1378 }
1379 if (obj5) {
1380 arg6 = (long) SWIG_AsLong(obj5);
1381 if (PyErr_Occurred()) SWIG_fail;
1382 }
1383 if (obj6) {
1384 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1385 SWIG_POINTER_EXCEPTION | 0)) == -1)
1386 SWIG_fail;
1387 if (arg7 == NULL) {
1388 PyErr_SetString(PyExc_TypeError,"null reference");
1389 SWIG_fail;
1390 }
1391 }
1392 if (obj7) {
1393 {
1394 arg8 = wxString_in_helper(obj7);
1395 if (arg8 == NULL) SWIG_fail;
1396 temp8 = True;
1397 }
1398 }
1399 {
1400 PyThreadState* __tstate = wxPyBeginAllowThreads();
1401 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1402
1403 wxPyEndAllowThreads(__tstate);
1404 if (PyErr_Occurred()) SWIG_fail;
1405 }
1406 {
1407 resultobj = wxPyMake_wxObject(result);
1408 }
1409 {
1410 if (temp8)
1411 delete arg8;
1412 }
1413 return resultobj;
1414 fail:
1415 {
1416 if (temp8)
1417 delete arg8;
1418 }
1419 return NULL;
1420 }
1421
1422
1423 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1424 PyObject *resultobj;
1425 wxBitmapButton *result;
1426 char *kwnames[] = {
1427 NULL
1428 };
1429
1430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1431 {
1432 PyThreadState* __tstate = wxPyBeginAllowThreads();
1433 result = (wxBitmapButton *)new wxBitmapButton();
1434
1435 wxPyEndAllowThreads(__tstate);
1436 if (PyErr_Occurred()) SWIG_fail;
1437 }
1438 {
1439 resultobj = wxPyMake_wxObject(result);
1440 }
1441 return resultobj;
1442 fail:
1443 return NULL;
1444 }
1445
1446
1447 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1448 PyObject *resultobj;
1449 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1450 wxWindow *arg2 = (wxWindow *) 0 ;
1451 int arg3 ;
1452 wxBitmap *arg4 = 0 ;
1453 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1454 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1455 wxSize const &arg6_defvalue = wxDefaultSize ;
1456 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1457 long arg7 = (long) wxBU_AUTODRAW ;
1458 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1459 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1460 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1461 wxString *arg9 = (wxString *) &arg9_defvalue ;
1462 bool result;
1463 wxPoint temp5 ;
1464 wxSize temp6 ;
1465 bool temp9 = False ;
1466 PyObject * obj0 = 0 ;
1467 PyObject * obj1 = 0 ;
1468 PyObject * obj2 = 0 ;
1469 PyObject * obj3 = 0 ;
1470 PyObject * obj4 = 0 ;
1471 PyObject * obj5 = 0 ;
1472 PyObject * obj6 = 0 ;
1473 PyObject * obj7 = 0 ;
1474 PyObject * obj8 = 0 ;
1475 char *kwnames[] = {
1476 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1477 };
1478
1479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1484 arg3 = (int) SWIG_AsInt(obj2);
1485 if (PyErr_Occurred()) SWIG_fail;
1486 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1487 SWIG_POINTER_EXCEPTION | 0)) == -1)
1488 SWIG_fail;
1489 if (arg4 == NULL) {
1490 PyErr_SetString(PyExc_TypeError,"null reference");
1491 SWIG_fail;
1492 }
1493 if (obj4) {
1494 {
1495 arg5 = &temp5;
1496 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1497 }
1498 }
1499 if (obj5) {
1500 {
1501 arg6 = &temp6;
1502 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1503 }
1504 }
1505 if (obj6) {
1506 arg7 = (long) SWIG_AsLong(obj6);
1507 if (PyErr_Occurred()) SWIG_fail;
1508 }
1509 if (obj7) {
1510 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1511 SWIG_POINTER_EXCEPTION | 0)) == -1)
1512 SWIG_fail;
1513 if (arg8 == NULL) {
1514 PyErr_SetString(PyExc_TypeError,"null reference");
1515 SWIG_fail;
1516 }
1517 }
1518 if (obj8) {
1519 {
1520 arg9 = wxString_in_helper(obj8);
1521 if (arg9 == NULL) SWIG_fail;
1522 temp9 = True;
1523 }
1524 }
1525 {
1526 PyThreadState* __tstate = wxPyBeginAllowThreads();
1527 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1528
1529 wxPyEndAllowThreads(__tstate);
1530 if (PyErr_Occurred()) SWIG_fail;
1531 }
1532 {
1533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1534 }
1535 {
1536 if (temp9)
1537 delete arg9;
1538 }
1539 return resultobj;
1540 fail:
1541 {
1542 if (temp9)
1543 delete arg9;
1544 }
1545 return NULL;
1546 }
1547
1548
1549 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1550 PyObject *resultobj;
1551 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1552 wxBitmap result;
1553 PyObject * obj0 = 0 ;
1554 char *kwnames[] = {
1555 (char *) "self", NULL
1556 };
1557
1558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1561 {
1562 PyThreadState* __tstate = wxPyBeginAllowThreads();
1563 result = (arg1)->GetBitmapLabel();
1564
1565 wxPyEndAllowThreads(__tstate);
1566 if (PyErr_Occurred()) SWIG_fail;
1567 }
1568 {
1569 wxBitmap * resultptr;
1570 resultptr = new wxBitmap((wxBitmap &) result);
1571 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1572 }
1573 return resultobj;
1574 fail:
1575 return NULL;
1576 }
1577
1578
1579 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1580 PyObject *resultobj;
1581 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1582 wxBitmap result;
1583 PyObject * obj0 = 0 ;
1584 char *kwnames[] = {
1585 (char *) "self", NULL
1586 };
1587
1588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1591 {
1592 PyThreadState* __tstate = wxPyBeginAllowThreads();
1593 result = (arg1)->GetBitmapDisabled();
1594
1595 wxPyEndAllowThreads(__tstate);
1596 if (PyErr_Occurred()) SWIG_fail;
1597 }
1598 {
1599 wxBitmap * resultptr;
1600 resultptr = new wxBitmap((wxBitmap &) result);
1601 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1602 }
1603 return resultobj;
1604 fail:
1605 return NULL;
1606 }
1607
1608
1609 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1610 PyObject *resultobj;
1611 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1612 wxBitmap result;
1613 PyObject * obj0 = 0 ;
1614 char *kwnames[] = {
1615 (char *) "self", NULL
1616 };
1617
1618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1621 {
1622 PyThreadState* __tstate = wxPyBeginAllowThreads();
1623 result = (arg1)->GetBitmapFocus();
1624
1625 wxPyEndAllowThreads(__tstate);
1626 if (PyErr_Occurred()) SWIG_fail;
1627 }
1628 {
1629 wxBitmap * resultptr;
1630 resultptr = new wxBitmap((wxBitmap &) result);
1631 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1632 }
1633 return resultobj;
1634 fail:
1635 return NULL;
1636 }
1637
1638
1639 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1640 PyObject *resultobj;
1641 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1642 wxBitmap result;
1643 PyObject * obj0 = 0 ;
1644 char *kwnames[] = {
1645 (char *) "self", NULL
1646 };
1647
1648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1651 {
1652 PyThreadState* __tstate = wxPyBeginAllowThreads();
1653 result = (arg1)->GetBitmapSelected();
1654
1655 wxPyEndAllowThreads(__tstate);
1656 if (PyErr_Occurred()) SWIG_fail;
1657 }
1658 {
1659 wxBitmap * resultptr;
1660 resultptr = new wxBitmap((wxBitmap &) result);
1661 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1662 }
1663 return resultobj;
1664 fail:
1665 return NULL;
1666 }
1667
1668
1669 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1670 PyObject *resultobj;
1671 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1672 wxBitmap *arg2 = 0 ;
1673 PyObject * obj0 = 0 ;
1674 PyObject * obj1 = 0 ;
1675 char *kwnames[] = {
1676 (char *) "self",(char *) "bitmap", NULL
1677 };
1678
1679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1682 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1683 SWIG_POINTER_EXCEPTION | 0)) == -1)
1684 SWIG_fail;
1685 if (arg2 == NULL) {
1686 PyErr_SetString(PyExc_TypeError,"null reference");
1687 SWIG_fail;
1688 }
1689 {
1690 PyThreadState* __tstate = wxPyBeginAllowThreads();
1691 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1692
1693 wxPyEndAllowThreads(__tstate);
1694 if (PyErr_Occurred()) SWIG_fail;
1695 }
1696 Py_INCREF(Py_None); resultobj = Py_None;
1697 return resultobj;
1698 fail:
1699 return NULL;
1700 }
1701
1702
1703 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1704 PyObject *resultobj;
1705 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1706 wxBitmap *arg2 = 0 ;
1707 PyObject * obj0 = 0 ;
1708 PyObject * obj1 = 0 ;
1709 char *kwnames[] = {
1710 (char *) "self",(char *) "bitmap", NULL
1711 };
1712
1713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1716 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1717 SWIG_POINTER_EXCEPTION | 0)) == -1)
1718 SWIG_fail;
1719 if (arg2 == NULL) {
1720 PyErr_SetString(PyExc_TypeError,"null reference");
1721 SWIG_fail;
1722 }
1723 {
1724 PyThreadState* __tstate = wxPyBeginAllowThreads();
1725 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1726
1727 wxPyEndAllowThreads(__tstate);
1728 if (PyErr_Occurred()) SWIG_fail;
1729 }
1730 Py_INCREF(Py_None); resultobj = Py_None;
1731 return resultobj;
1732 fail:
1733 return NULL;
1734 }
1735
1736
1737 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1738 PyObject *resultobj;
1739 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1740 wxBitmap *arg2 = 0 ;
1741 PyObject * obj0 = 0 ;
1742 PyObject * obj1 = 0 ;
1743 char *kwnames[] = {
1744 (char *) "self",(char *) "bitmap", NULL
1745 };
1746
1747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1750 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1751 SWIG_POINTER_EXCEPTION | 0)) == -1)
1752 SWIG_fail;
1753 if (arg2 == NULL) {
1754 PyErr_SetString(PyExc_TypeError,"null reference");
1755 SWIG_fail;
1756 }
1757 {
1758 PyThreadState* __tstate = wxPyBeginAllowThreads();
1759 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1760
1761 wxPyEndAllowThreads(__tstate);
1762 if (PyErr_Occurred()) SWIG_fail;
1763 }
1764 Py_INCREF(Py_None); resultobj = Py_None;
1765 return resultobj;
1766 fail:
1767 return NULL;
1768 }
1769
1770
1771 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1772 PyObject *resultobj;
1773 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1774 wxBitmap *arg2 = 0 ;
1775 PyObject * obj0 = 0 ;
1776 PyObject * obj1 = 0 ;
1777 char *kwnames[] = {
1778 (char *) "self",(char *) "bitmap", NULL
1779 };
1780
1781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1784 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1785 SWIG_POINTER_EXCEPTION | 0)) == -1)
1786 SWIG_fail;
1787 if (arg2 == NULL) {
1788 PyErr_SetString(PyExc_TypeError,"null reference");
1789 SWIG_fail;
1790 }
1791 {
1792 PyThreadState* __tstate = wxPyBeginAllowThreads();
1793 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1794
1795 wxPyEndAllowThreads(__tstate);
1796 if (PyErr_Occurred()) SWIG_fail;
1797 }
1798 Py_INCREF(Py_None); resultobj = Py_None;
1799 return resultobj;
1800 fail:
1801 return NULL;
1802 }
1803
1804
1805 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1806 PyObject *resultobj;
1807 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1808 int arg2 ;
1809 int arg3 ;
1810 PyObject * obj0 = 0 ;
1811 PyObject * obj1 = 0 ;
1812 PyObject * obj2 = 0 ;
1813 char *kwnames[] = {
1814 (char *) "self",(char *) "x",(char *) "y", NULL
1815 };
1816
1817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1820 arg2 = (int) SWIG_AsInt(obj1);
1821 if (PyErr_Occurred()) SWIG_fail;
1822 arg3 = (int) SWIG_AsInt(obj2);
1823 if (PyErr_Occurred()) SWIG_fail;
1824 {
1825 PyThreadState* __tstate = wxPyBeginAllowThreads();
1826 (arg1)->SetMargins(arg2,arg3);
1827
1828 wxPyEndAllowThreads(__tstate);
1829 if (PyErr_Occurred()) SWIG_fail;
1830 }
1831 Py_INCREF(Py_None); resultobj = Py_None;
1832 return resultobj;
1833 fail:
1834 return NULL;
1835 }
1836
1837
1838 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1839 PyObject *resultobj;
1840 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1841 int result;
1842 PyObject * obj0 = 0 ;
1843 char *kwnames[] = {
1844 (char *) "self", NULL
1845 };
1846
1847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1850 {
1851 PyThreadState* __tstate = wxPyBeginAllowThreads();
1852 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1853
1854 wxPyEndAllowThreads(__tstate);
1855 if (PyErr_Occurred()) SWIG_fail;
1856 }
1857 resultobj = SWIG_FromInt((int)result);
1858 return resultobj;
1859 fail:
1860 return NULL;
1861 }
1862
1863
1864 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1865 PyObject *resultobj;
1866 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1867 int result;
1868 PyObject * obj0 = 0 ;
1869 char *kwnames[] = {
1870 (char *) "self", NULL
1871 };
1872
1873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1876 {
1877 PyThreadState* __tstate = wxPyBeginAllowThreads();
1878 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1879
1880 wxPyEndAllowThreads(__tstate);
1881 if (PyErr_Occurred()) SWIG_fail;
1882 }
1883 resultobj = SWIG_FromInt((int)result);
1884 return resultobj;
1885 fail:
1886 return NULL;
1887 }
1888
1889
1890 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1891 PyObject *obj;
1892 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1893 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1894 Py_INCREF(obj);
1895 return Py_BuildValue((char *)"");
1896 }
1897 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1898 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1899 return 1;
1900 }
1901
1902
1903 static PyObject *_wrap_CheckBoxNameStr_get() {
1904 PyObject *pyobj;
1905
1906 {
1907 #if wxUSE_UNICODE
1908 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1909 #else
1910 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1911 #endif
1912 }
1913 return pyobj;
1914 }
1915
1916
1917 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1918 PyObject *resultobj;
1919 wxWindow *arg1 = (wxWindow *) 0 ;
1920 int arg2 ;
1921 wxString *arg3 = 0 ;
1922 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1923 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1924 wxSize const &arg5_defvalue = wxDefaultSize ;
1925 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1926 long arg6 = (long) 0 ;
1927 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1928 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1929 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1930 wxString *arg8 = (wxString *) &arg8_defvalue ;
1931 wxCheckBox *result;
1932 bool temp3 = False ;
1933 wxPoint temp4 ;
1934 wxSize temp5 ;
1935 bool temp8 = False ;
1936 PyObject * obj0 = 0 ;
1937 PyObject * obj1 = 0 ;
1938 PyObject * obj2 = 0 ;
1939 PyObject * obj3 = 0 ;
1940 PyObject * obj4 = 0 ;
1941 PyObject * obj5 = 0 ;
1942 PyObject * obj6 = 0 ;
1943 PyObject * obj7 = 0 ;
1944 char *kwnames[] = {
1945 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1946 };
1947
1948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1951 arg2 = (int) SWIG_AsInt(obj1);
1952 if (PyErr_Occurred()) SWIG_fail;
1953 {
1954 arg3 = wxString_in_helper(obj2);
1955 if (arg3 == NULL) SWIG_fail;
1956 temp3 = True;
1957 }
1958 if (obj3) {
1959 {
1960 arg4 = &temp4;
1961 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1962 }
1963 }
1964 if (obj4) {
1965 {
1966 arg5 = &temp5;
1967 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1968 }
1969 }
1970 if (obj5) {
1971 arg6 = (long) SWIG_AsLong(obj5);
1972 if (PyErr_Occurred()) SWIG_fail;
1973 }
1974 if (obj6) {
1975 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1976 SWIG_POINTER_EXCEPTION | 0)) == -1)
1977 SWIG_fail;
1978 if (arg7 == NULL) {
1979 PyErr_SetString(PyExc_TypeError,"null reference");
1980 SWIG_fail;
1981 }
1982 }
1983 if (obj7) {
1984 {
1985 arg8 = wxString_in_helper(obj7);
1986 if (arg8 == NULL) SWIG_fail;
1987 temp8 = True;
1988 }
1989 }
1990 {
1991 PyThreadState* __tstate = wxPyBeginAllowThreads();
1992 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1993
1994 wxPyEndAllowThreads(__tstate);
1995 if (PyErr_Occurred()) SWIG_fail;
1996 }
1997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
1998 {
1999 if (temp3)
2000 delete arg3;
2001 }
2002 {
2003 if (temp8)
2004 delete arg8;
2005 }
2006 return resultobj;
2007 fail:
2008 {
2009 if (temp3)
2010 delete arg3;
2011 }
2012 {
2013 if (temp8)
2014 delete arg8;
2015 }
2016 return NULL;
2017 }
2018
2019
2020 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2021 PyObject *resultobj;
2022 wxCheckBox *result;
2023 char *kwnames[] = {
2024 NULL
2025 };
2026
2027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2028 {
2029 PyThreadState* __tstate = wxPyBeginAllowThreads();
2030 result = (wxCheckBox *)new wxCheckBox();
2031
2032 wxPyEndAllowThreads(__tstate);
2033 if (PyErr_Occurred()) SWIG_fail;
2034 }
2035 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2036 return resultobj;
2037 fail:
2038 return NULL;
2039 }
2040
2041
2042 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2043 PyObject *resultobj;
2044 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2045 wxWindow *arg2 = (wxWindow *) 0 ;
2046 int arg3 ;
2047 wxString *arg4 = 0 ;
2048 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2049 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2050 wxSize const &arg6_defvalue = wxDefaultSize ;
2051 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2052 long arg7 = (long) 0 ;
2053 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2054 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2055 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2056 wxString *arg9 = (wxString *) &arg9_defvalue ;
2057 bool result;
2058 bool temp4 = False ;
2059 wxPoint temp5 ;
2060 wxSize temp6 ;
2061 bool temp9 = False ;
2062 PyObject * obj0 = 0 ;
2063 PyObject * obj1 = 0 ;
2064 PyObject * obj2 = 0 ;
2065 PyObject * obj3 = 0 ;
2066 PyObject * obj4 = 0 ;
2067 PyObject * obj5 = 0 ;
2068 PyObject * obj6 = 0 ;
2069 PyObject * obj7 = 0 ;
2070 PyObject * obj8 = 0 ;
2071 char *kwnames[] = {
2072 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2073 };
2074
2075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2078 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2080 arg3 = (int) SWIG_AsInt(obj2);
2081 if (PyErr_Occurred()) SWIG_fail;
2082 {
2083 arg4 = wxString_in_helper(obj3);
2084 if (arg4 == NULL) SWIG_fail;
2085 temp4 = True;
2086 }
2087 if (obj4) {
2088 {
2089 arg5 = &temp5;
2090 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2091 }
2092 }
2093 if (obj5) {
2094 {
2095 arg6 = &temp6;
2096 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2097 }
2098 }
2099 if (obj6) {
2100 arg7 = (long) SWIG_AsLong(obj6);
2101 if (PyErr_Occurred()) SWIG_fail;
2102 }
2103 if (obj7) {
2104 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2105 SWIG_POINTER_EXCEPTION | 0)) == -1)
2106 SWIG_fail;
2107 if (arg8 == NULL) {
2108 PyErr_SetString(PyExc_TypeError,"null reference");
2109 SWIG_fail;
2110 }
2111 }
2112 if (obj8) {
2113 {
2114 arg9 = wxString_in_helper(obj8);
2115 if (arg9 == NULL) SWIG_fail;
2116 temp9 = True;
2117 }
2118 }
2119 {
2120 PyThreadState* __tstate = wxPyBeginAllowThreads();
2121 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2122
2123 wxPyEndAllowThreads(__tstate);
2124 if (PyErr_Occurred()) SWIG_fail;
2125 }
2126 {
2127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2128 }
2129 {
2130 if (temp4)
2131 delete arg4;
2132 }
2133 {
2134 if (temp9)
2135 delete arg9;
2136 }
2137 return resultobj;
2138 fail:
2139 {
2140 if (temp4)
2141 delete arg4;
2142 }
2143 {
2144 if (temp9)
2145 delete arg9;
2146 }
2147 return NULL;
2148 }
2149
2150
2151 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2152 PyObject *resultobj;
2153 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2154 bool result;
2155 PyObject * obj0 = 0 ;
2156 char *kwnames[] = {
2157 (char *) "self", NULL
2158 };
2159
2160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2163 {
2164 PyThreadState* __tstate = wxPyBeginAllowThreads();
2165 result = (bool)(arg1)->GetValue();
2166
2167 wxPyEndAllowThreads(__tstate);
2168 if (PyErr_Occurred()) SWIG_fail;
2169 }
2170 {
2171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2172 }
2173 return resultobj;
2174 fail:
2175 return NULL;
2176 }
2177
2178
2179 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2180 PyObject *resultobj;
2181 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2182 bool result;
2183 PyObject * obj0 = 0 ;
2184 char *kwnames[] = {
2185 (char *) "self", NULL
2186 };
2187
2188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2191 {
2192 PyThreadState* __tstate = wxPyBeginAllowThreads();
2193 result = (bool)(arg1)->IsChecked();
2194
2195 wxPyEndAllowThreads(__tstate);
2196 if (PyErr_Occurred()) SWIG_fail;
2197 }
2198 {
2199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2200 }
2201 return resultobj;
2202 fail:
2203 return NULL;
2204 }
2205
2206
2207 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2208 PyObject *resultobj;
2209 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2210 bool arg2 ;
2211 PyObject * obj0 = 0 ;
2212 PyObject * obj1 = 0 ;
2213 char *kwnames[] = {
2214 (char *) "self",(char *) "state", NULL
2215 };
2216
2217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2220 arg2 = (bool const) SWIG_AsBool(obj1);
2221 if (PyErr_Occurred()) SWIG_fail;
2222 {
2223 PyThreadState* __tstate = wxPyBeginAllowThreads();
2224 (arg1)->SetValue(arg2);
2225
2226 wxPyEndAllowThreads(__tstate);
2227 if (PyErr_Occurred()) SWIG_fail;
2228 }
2229 Py_INCREF(Py_None); resultobj = Py_None;
2230 return resultobj;
2231 fail:
2232 return NULL;
2233 }
2234
2235
2236 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2237 PyObject *resultobj;
2238 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2239 int result;
2240 PyObject * obj0 = 0 ;
2241 char *kwnames[] = {
2242 (char *) "self", NULL
2243 };
2244
2245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2248 {
2249 PyThreadState* __tstate = wxPyBeginAllowThreads();
2250 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2251
2252 wxPyEndAllowThreads(__tstate);
2253 if (PyErr_Occurred()) SWIG_fail;
2254 }
2255 resultobj = SWIG_FromInt((int)result);
2256 return resultobj;
2257 fail:
2258 return NULL;
2259 }
2260
2261
2262 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2263 PyObject *resultobj;
2264 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2265 int arg2 ;
2266 PyObject * obj0 = 0 ;
2267 PyObject * obj1 = 0 ;
2268 char *kwnames[] = {
2269 (char *) "self",(char *) "state", NULL
2270 };
2271
2272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2275 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2276 if (PyErr_Occurred()) SWIG_fail;
2277 {
2278 PyThreadState* __tstate = wxPyBeginAllowThreads();
2279 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2280
2281 wxPyEndAllowThreads(__tstate);
2282 if (PyErr_Occurred()) SWIG_fail;
2283 }
2284 Py_INCREF(Py_None); resultobj = Py_None;
2285 return resultobj;
2286 fail:
2287 return NULL;
2288 }
2289
2290
2291 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2292 PyObject *resultobj;
2293 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2294 bool result;
2295 PyObject * obj0 = 0 ;
2296 char *kwnames[] = {
2297 (char *) "self", NULL
2298 };
2299
2300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2303 {
2304 PyThreadState* __tstate = wxPyBeginAllowThreads();
2305 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2306
2307 wxPyEndAllowThreads(__tstate);
2308 if (PyErr_Occurred()) SWIG_fail;
2309 }
2310 {
2311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2312 }
2313 return resultobj;
2314 fail:
2315 return NULL;
2316 }
2317
2318
2319 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2320 PyObject *resultobj;
2321 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2322 bool result;
2323 PyObject * obj0 = 0 ;
2324 char *kwnames[] = {
2325 (char *) "self", NULL
2326 };
2327
2328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2331 {
2332 PyThreadState* __tstate = wxPyBeginAllowThreads();
2333 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2334
2335 wxPyEndAllowThreads(__tstate);
2336 if (PyErr_Occurred()) SWIG_fail;
2337 }
2338 {
2339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2340 }
2341 return resultobj;
2342 fail:
2343 return NULL;
2344 }
2345
2346
2347 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2348 PyObject *obj;
2349 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2350 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2351 Py_INCREF(obj);
2352 return Py_BuildValue((char *)"");
2353 }
2354 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2355 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2356 return 1;
2357 }
2358
2359
2360 static PyObject *_wrap_ChoiceNameStr_get() {
2361 PyObject *pyobj;
2362
2363 {
2364 #if wxUSE_UNICODE
2365 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2366 #else
2367 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2368 #endif
2369 }
2370 return pyobj;
2371 }
2372
2373
2374 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2375 PyObject *resultobj;
2376 wxWindow *arg1 = (wxWindow *) 0 ;
2377 int arg2 ;
2378 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2379 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2380 wxSize const &arg4_defvalue = wxDefaultSize ;
2381 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2382 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2383 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2384 long arg6 = (long) 0 ;
2385 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2386 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2387 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2388 wxString *arg8 = (wxString *) &arg8_defvalue ;
2389 wxChoice *result;
2390 wxPoint temp3 ;
2391 wxSize temp4 ;
2392 bool temp5 = False ;
2393 bool temp8 = False ;
2394 PyObject * obj0 = 0 ;
2395 PyObject * obj1 = 0 ;
2396 PyObject * obj2 = 0 ;
2397 PyObject * obj3 = 0 ;
2398 PyObject * obj4 = 0 ;
2399 PyObject * obj5 = 0 ;
2400 PyObject * obj6 = 0 ;
2401 PyObject * obj7 = 0 ;
2402 char *kwnames[] = {
2403 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2404 };
2405
2406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2409 arg2 = (int) SWIG_AsInt(obj1);
2410 if (PyErr_Occurred()) SWIG_fail;
2411 if (obj2) {
2412 {
2413 arg3 = &temp3;
2414 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2415 }
2416 }
2417 if (obj3) {
2418 {
2419 arg4 = &temp4;
2420 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2421 }
2422 }
2423 if (obj4) {
2424 {
2425 if (! PySequence_Check(obj4)) {
2426 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2427 SWIG_fail;
2428 }
2429 arg5 = new wxArrayString;
2430 temp5 = True;
2431 int i, len=PySequence_Length(obj4);
2432 for (i=0; i<len; i++) {
2433 PyObject* item = PySequence_GetItem(obj4, i);
2434 #if wxUSE_UNICODE
2435 PyObject* str = PyObject_Unicode(item);
2436 #else
2437 PyObject* str = PyObject_Str(item);
2438 #endif
2439 arg5->Add(Py2wxString(str));
2440 Py_DECREF(item);
2441 Py_DECREF(str);
2442 }
2443 }
2444 }
2445 if (obj5) {
2446 arg6 = (long) SWIG_AsLong(obj5);
2447 if (PyErr_Occurred()) SWIG_fail;
2448 }
2449 if (obj6) {
2450 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2451 SWIG_POINTER_EXCEPTION | 0)) == -1)
2452 SWIG_fail;
2453 if (arg7 == NULL) {
2454 PyErr_SetString(PyExc_TypeError,"null reference");
2455 SWIG_fail;
2456 }
2457 }
2458 if (obj7) {
2459 {
2460 arg8 = wxString_in_helper(obj7);
2461 if (arg8 == NULL) SWIG_fail;
2462 temp8 = True;
2463 }
2464 }
2465 {
2466 PyThreadState* __tstate = wxPyBeginAllowThreads();
2467 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2468
2469 wxPyEndAllowThreads(__tstate);
2470 if (PyErr_Occurred()) SWIG_fail;
2471 }
2472 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2473 {
2474 if (temp5) delete arg5;
2475 }
2476 {
2477 if (temp8)
2478 delete arg8;
2479 }
2480 return resultobj;
2481 fail:
2482 {
2483 if (temp5) delete arg5;
2484 }
2485 {
2486 if (temp8)
2487 delete arg8;
2488 }
2489 return NULL;
2490 }
2491
2492
2493 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2494 PyObject *resultobj;
2495 wxChoice *result;
2496 char *kwnames[] = {
2497 NULL
2498 };
2499
2500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2501 {
2502 PyThreadState* __tstate = wxPyBeginAllowThreads();
2503 result = (wxChoice *)new wxChoice();
2504
2505 wxPyEndAllowThreads(__tstate);
2506 if (PyErr_Occurred()) SWIG_fail;
2507 }
2508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2509 return resultobj;
2510 fail:
2511 return NULL;
2512 }
2513
2514
2515 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2516 PyObject *resultobj;
2517 wxChoice *arg1 = (wxChoice *) 0 ;
2518 wxWindow *arg2 = (wxWindow *) 0 ;
2519 int arg3 ;
2520 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2521 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2522 wxSize const &arg5_defvalue = wxDefaultSize ;
2523 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2524 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2525 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2526 long arg7 = (long) 0 ;
2527 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2528 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2529 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2530 wxString *arg9 = (wxString *) &arg9_defvalue ;
2531 bool result;
2532 wxPoint temp4 ;
2533 wxSize temp5 ;
2534 bool temp6 = False ;
2535 bool temp9 = False ;
2536 PyObject * obj0 = 0 ;
2537 PyObject * obj1 = 0 ;
2538 PyObject * obj2 = 0 ;
2539 PyObject * obj3 = 0 ;
2540 PyObject * obj4 = 0 ;
2541 PyObject * obj5 = 0 ;
2542 PyObject * obj6 = 0 ;
2543 PyObject * obj7 = 0 ;
2544 PyObject * obj8 = 0 ;
2545 char *kwnames[] = {
2546 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2547 };
2548
2549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2552 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2554 arg3 = (int) SWIG_AsInt(obj2);
2555 if (PyErr_Occurred()) SWIG_fail;
2556 if (obj3) {
2557 {
2558 arg4 = &temp4;
2559 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2560 }
2561 }
2562 if (obj4) {
2563 {
2564 arg5 = &temp5;
2565 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2566 }
2567 }
2568 if (obj5) {
2569 {
2570 if (! PySequence_Check(obj5)) {
2571 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2572 SWIG_fail;
2573 }
2574 arg6 = new wxArrayString;
2575 temp6 = True;
2576 int i, len=PySequence_Length(obj5);
2577 for (i=0; i<len; i++) {
2578 PyObject* item = PySequence_GetItem(obj5, i);
2579 #if wxUSE_UNICODE
2580 PyObject* str = PyObject_Unicode(item);
2581 #else
2582 PyObject* str = PyObject_Str(item);
2583 #endif
2584 arg6->Add(Py2wxString(str));
2585 Py_DECREF(item);
2586 Py_DECREF(str);
2587 }
2588 }
2589 }
2590 if (obj6) {
2591 arg7 = (long) SWIG_AsLong(obj6);
2592 if (PyErr_Occurred()) SWIG_fail;
2593 }
2594 if (obj7) {
2595 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2596 SWIG_POINTER_EXCEPTION | 0)) == -1)
2597 SWIG_fail;
2598 if (arg8 == NULL) {
2599 PyErr_SetString(PyExc_TypeError,"null reference");
2600 SWIG_fail;
2601 }
2602 }
2603 if (obj8) {
2604 {
2605 arg9 = wxString_in_helper(obj8);
2606 if (arg9 == NULL) SWIG_fail;
2607 temp9 = True;
2608 }
2609 }
2610 {
2611 PyThreadState* __tstate = wxPyBeginAllowThreads();
2612 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2613
2614 wxPyEndAllowThreads(__tstate);
2615 if (PyErr_Occurred()) SWIG_fail;
2616 }
2617 {
2618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2619 }
2620 {
2621 if (temp6) delete arg6;
2622 }
2623 {
2624 if (temp9)
2625 delete arg9;
2626 }
2627 return resultobj;
2628 fail:
2629 {
2630 if (temp6) delete arg6;
2631 }
2632 {
2633 if (temp9)
2634 delete arg9;
2635 }
2636 return NULL;
2637 }
2638
2639
2640 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2641 PyObject *resultobj;
2642 wxChoice *arg1 = (wxChoice *) 0 ;
2643 int arg2 ;
2644 PyObject * obj0 = 0 ;
2645 PyObject * obj1 = 0 ;
2646 char *kwnames[] = {
2647 (char *) "self",(char *) "n", NULL
2648 };
2649
2650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2653 arg2 = (int const) SWIG_AsInt(obj1);
2654 if (PyErr_Occurred()) SWIG_fail;
2655 {
2656 PyThreadState* __tstate = wxPyBeginAllowThreads();
2657 (arg1)->SetSelection(arg2);
2658
2659 wxPyEndAllowThreads(__tstate);
2660 if (PyErr_Occurred()) SWIG_fail;
2661 }
2662 Py_INCREF(Py_None); resultobj = Py_None;
2663 return resultobj;
2664 fail:
2665 return NULL;
2666 }
2667
2668
2669 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2670 PyObject *resultobj;
2671 wxChoice *arg1 = (wxChoice *) 0 ;
2672 wxString *arg2 = 0 ;
2673 bool temp2 = False ;
2674 PyObject * obj0 = 0 ;
2675 PyObject * obj1 = 0 ;
2676 char *kwnames[] = {
2677 (char *) "self",(char *) "string", NULL
2678 };
2679
2680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2683 {
2684 arg2 = wxString_in_helper(obj1);
2685 if (arg2 == NULL) SWIG_fail;
2686 temp2 = True;
2687 }
2688 {
2689 PyThreadState* __tstate = wxPyBeginAllowThreads();
2690 (arg1)->SetStringSelection((wxString const &)*arg2);
2691
2692 wxPyEndAllowThreads(__tstate);
2693 if (PyErr_Occurred()) SWIG_fail;
2694 }
2695 Py_INCREF(Py_None); resultobj = Py_None;
2696 {
2697 if (temp2)
2698 delete arg2;
2699 }
2700 return resultobj;
2701 fail:
2702 {
2703 if (temp2)
2704 delete arg2;
2705 }
2706 return NULL;
2707 }
2708
2709
2710 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2711 PyObject *resultobj;
2712 wxChoice *arg1 = (wxChoice *) 0 ;
2713 int arg2 ;
2714 wxString *arg3 = 0 ;
2715 bool temp3 = False ;
2716 PyObject * obj0 = 0 ;
2717 PyObject * obj1 = 0 ;
2718 PyObject * obj2 = 0 ;
2719 char *kwnames[] = {
2720 (char *) "self",(char *) "n",(char *) "string", NULL
2721 };
2722
2723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2726 arg2 = (int) SWIG_AsInt(obj1);
2727 if (PyErr_Occurred()) SWIG_fail;
2728 {
2729 arg3 = wxString_in_helper(obj2);
2730 if (arg3 == NULL) SWIG_fail;
2731 temp3 = True;
2732 }
2733 {
2734 PyThreadState* __tstate = wxPyBeginAllowThreads();
2735 (arg1)->SetString(arg2,(wxString const &)*arg3);
2736
2737 wxPyEndAllowThreads(__tstate);
2738 if (PyErr_Occurred()) SWIG_fail;
2739 }
2740 Py_INCREF(Py_None); resultobj = Py_None;
2741 {
2742 if (temp3)
2743 delete arg3;
2744 }
2745 return resultobj;
2746 fail:
2747 {
2748 if (temp3)
2749 delete arg3;
2750 }
2751 return NULL;
2752 }
2753
2754
2755 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2756 PyObject *obj;
2757 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2758 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2759 Py_INCREF(obj);
2760 return Py_BuildValue((char *)"");
2761 }
2762 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2763 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2764 return 1;
2765 }
2766
2767
2768 static PyObject *_wrap_ComboBoxNameStr_get() {
2769 PyObject *pyobj;
2770
2771 {
2772 #if wxUSE_UNICODE
2773 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2774 #else
2775 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2776 #endif
2777 }
2778 return pyobj;
2779 }
2780
2781
2782 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2783 PyObject *resultobj;
2784 wxWindow *arg1 = (wxWindow *) 0 ;
2785 int arg2 ;
2786 wxString const &arg3_defvalue = wxPyEmptyString ;
2787 wxString *arg3 = (wxString *) &arg3_defvalue ;
2788 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2789 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2790 wxSize const &arg5_defvalue = wxDefaultSize ;
2791 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2792 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2793 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2794 long arg7 = (long) 0 ;
2795 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2796 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2797 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2798 wxString *arg9 = (wxString *) &arg9_defvalue ;
2799 wxComboBox *result;
2800 bool temp3 = False ;
2801 wxPoint temp4 ;
2802 wxSize temp5 ;
2803 bool temp6 = False ;
2804 bool temp9 = False ;
2805 PyObject * obj0 = 0 ;
2806 PyObject * obj1 = 0 ;
2807 PyObject * obj2 = 0 ;
2808 PyObject * obj3 = 0 ;
2809 PyObject * obj4 = 0 ;
2810 PyObject * obj5 = 0 ;
2811 PyObject * obj6 = 0 ;
2812 PyObject * obj7 = 0 ;
2813 PyObject * obj8 = 0 ;
2814 char *kwnames[] = {
2815 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2816 };
2817
2818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2821 arg2 = (int) SWIG_AsInt(obj1);
2822 if (PyErr_Occurred()) SWIG_fail;
2823 if (obj2) {
2824 {
2825 arg3 = wxString_in_helper(obj2);
2826 if (arg3 == NULL) SWIG_fail;
2827 temp3 = True;
2828 }
2829 }
2830 if (obj3) {
2831 {
2832 arg4 = &temp4;
2833 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2834 }
2835 }
2836 if (obj4) {
2837 {
2838 arg5 = &temp5;
2839 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2840 }
2841 }
2842 if (obj5) {
2843 {
2844 if (! PySequence_Check(obj5)) {
2845 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2846 SWIG_fail;
2847 }
2848 arg6 = new wxArrayString;
2849 temp6 = True;
2850 int i, len=PySequence_Length(obj5);
2851 for (i=0; i<len; i++) {
2852 PyObject* item = PySequence_GetItem(obj5, i);
2853 #if wxUSE_UNICODE
2854 PyObject* str = PyObject_Unicode(item);
2855 #else
2856 PyObject* str = PyObject_Str(item);
2857 #endif
2858 arg6->Add(Py2wxString(str));
2859 Py_DECREF(item);
2860 Py_DECREF(str);
2861 }
2862 }
2863 }
2864 if (obj6) {
2865 arg7 = (long) SWIG_AsLong(obj6);
2866 if (PyErr_Occurred()) SWIG_fail;
2867 }
2868 if (obj7) {
2869 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2870 SWIG_POINTER_EXCEPTION | 0)) == -1)
2871 SWIG_fail;
2872 if (arg8 == NULL) {
2873 PyErr_SetString(PyExc_TypeError,"null reference");
2874 SWIG_fail;
2875 }
2876 }
2877 if (obj8) {
2878 {
2879 arg9 = wxString_in_helper(obj8);
2880 if (arg9 == NULL) SWIG_fail;
2881 temp9 = True;
2882 }
2883 }
2884 {
2885 PyThreadState* __tstate = wxPyBeginAllowThreads();
2886 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);
2887
2888 wxPyEndAllowThreads(__tstate);
2889 if (PyErr_Occurred()) SWIG_fail;
2890 }
2891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2892 {
2893 if (temp3)
2894 delete arg3;
2895 }
2896 {
2897 if (temp6) delete arg6;
2898 }
2899 {
2900 if (temp9)
2901 delete arg9;
2902 }
2903 return resultobj;
2904 fail:
2905 {
2906 if (temp3)
2907 delete arg3;
2908 }
2909 {
2910 if (temp6) delete arg6;
2911 }
2912 {
2913 if (temp9)
2914 delete arg9;
2915 }
2916 return NULL;
2917 }
2918
2919
2920 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2921 PyObject *resultobj;
2922 wxComboBox *result;
2923 char *kwnames[] = {
2924 NULL
2925 };
2926
2927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2928 {
2929 PyThreadState* __tstate = wxPyBeginAllowThreads();
2930 result = (wxComboBox *)new wxComboBox();
2931
2932 wxPyEndAllowThreads(__tstate);
2933 if (PyErr_Occurred()) SWIG_fail;
2934 }
2935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2936 return resultobj;
2937 fail:
2938 return NULL;
2939 }
2940
2941
2942 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2943 PyObject *resultobj;
2944 wxComboBox *arg1 = (wxComboBox *) 0 ;
2945 wxWindow *arg2 = (wxWindow *) 0 ;
2946 int arg3 ;
2947 wxString const &arg4_defvalue = wxPyEmptyString ;
2948 wxString *arg4 = (wxString *) &arg4_defvalue ;
2949 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2950 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2951 wxSize const &arg6_defvalue = wxDefaultSize ;
2952 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2953 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
2954 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
2955 long arg8 = (long) 0 ;
2956 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2957 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2958 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2959 wxString *arg10 = (wxString *) &arg10_defvalue ;
2960 bool result;
2961 bool temp4 = False ;
2962 wxPoint temp5 ;
2963 wxSize temp6 ;
2964 bool temp7 = False ;
2965 bool temp10 = False ;
2966 PyObject * obj0 = 0 ;
2967 PyObject * obj1 = 0 ;
2968 PyObject * obj2 = 0 ;
2969 PyObject * obj3 = 0 ;
2970 PyObject * obj4 = 0 ;
2971 PyObject * obj5 = 0 ;
2972 PyObject * obj6 = 0 ;
2973 PyObject * obj7 = 0 ;
2974 PyObject * obj8 = 0 ;
2975 PyObject * obj9 = 0 ;
2976 char *kwnames[] = {
2977 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2978 };
2979
2980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
2982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2983 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2985 arg3 = (int) SWIG_AsInt(obj2);
2986 if (PyErr_Occurred()) SWIG_fail;
2987 if (obj3) {
2988 {
2989 arg4 = wxString_in_helper(obj3);
2990 if (arg4 == NULL) SWIG_fail;
2991 temp4 = True;
2992 }
2993 }
2994 if (obj4) {
2995 {
2996 arg5 = &temp5;
2997 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2998 }
2999 }
3000 if (obj5) {
3001 {
3002 arg6 = &temp6;
3003 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3004 }
3005 }
3006 if (obj6) {
3007 {
3008 if (! PySequence_Check(obj6)) {
3009 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3010 SWIG_fail;
3011 }
3012 arg7 = new wxArrayString;
3013 temp7 = True;
3014 int i, len=PySequence_Length(obj6);
3015 for (i=0; i<len; i++) {
3016 PyObject* item = PySequence_GetItem(obj6, i);
3017 #if wxUSE_UNICODE
3018 PyObject* str = PyObject_Unicode(item);
3019 #else
3020 PyObject* str = PyObject_Str(item);
3021 #endif
3022 arg7->Add(Py2wxString(str));
3023 Py_DECREF(item);
3024 Py_DECREF(str);
3025 }
3026 }
3027 }
3028 if (obj7) {
3029 arg8 = (long) SWIG_AsLong(obj7);
3030 if (PyErr_Occurred()) SWIG_fail;
3031 }
3032 if (obj8) {
3033 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3034 SWIG_POINTER_EXCEPTION | 0)) == -1)
3035 SWIG_fail;
3036 if (arg9 == NULL) {
3037 PyErr_SetString(PyExc_TypeError,"null reference");
3038 SWIG_fail;
3039 }
3040 }
3041 if (obj9) {
3042 {
3043 arg10 = wxString_in_helper(obj9);
3044 if (arg10 == NULL) SWIG_fail;
3045 temp10 = True;
3046 }
3047 }
3048 {
3049 PyThreadState* __tstate = wxPyBeginAllowThreads();
3050 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);
3051
3052 wxPyEndAllowThreads(__tstate);
3053 if (PyErr_Occurred()) SWIG_fail;
3054 }
3055 {
3056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3057 }
3058 {
3059 if (temp4)
3060 delete arg4;
3061 }
3062 {
3063 if (temp7) delete arg7;
3064 }
3065 {
3066 if (temp10)
3067 delete arg10;
3068 }
3069 return resultobj;
3070 fail:
3071 {
3072 if (temp4)
3073 delete arg4;
3074 }
3075 {
3076 if (temp7) delete arg7;
3077 }
3078 {
3079 if (temp10)
3080 delete arg10;
3081 }
3082 return NULL;
3083 }
3084
3085
3086 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3087 PyObject *resultobj;
3088 wxComboBox *arg1 = (wxComboBox *) 0 ;
3089 wxString result;
3090 PyObject * obj0 = 0 ;
3091 char *kwnames[] = {
3092 (char *) "self", NULL
3093 };
3094
3095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3098 {
3099 PyThreadState* __tstate = wxPyBeginAllowThreads();
3100 result = ((wxComboBox const *)arg1)->GetValue();
3101
3102 wxPyEndAllowThreads(__tstate);
3103 if (PyErr_Occurred()) SWIG_fail;
3104 }
3105 {
3106 #if wxUSE_UNICODE
3107 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3108 #else
3109 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3110 #endif
3111 }
3112 return resultobj;
3113 fail:
3114 return NULL;
3115 }
3116
3117
3118 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3119 PyObject *resultobj;
3120 wxComboBox *arg1 = (wxComboBox *) 0 ;
3121 wxString *arg2 = 0 ;
3122 bool temp2 = False ;
3123 PyObject * obj0 = 0 ;
3124 PyObject * obj1 = 0 ;
3125 char *kwnames[] = {
3126 (char *) "self",(char *) "value", NULL
3127 };
3128
3129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3132 {
3133 arg2 = wxString_in_helper(obj1);
3134 if (arg2 == NULL) SWIG_fail;
3135 temp2 = True;
3136 }
3137 {
3138 PyThreadState* __tstate = wxPyBeginAllowThreads();
3139 (arg1)->SetValue((wxString const &)*arg2);
3140
3141 wxPyEndAllowThreads(__tstate);
3142 if (PyErr_Occurred()) SWIG_fail;
3143 }
3144 Py_INCREF(Py_None); resultobj = Py_None;
3145 {
3146 if (temp2)
3147 delete arg2;
3148 }
3149 return resultobj;
3150 fail:
3151 {
3152 if (temp2)
3153 delete arg2;
3154 }
3155 return NULL;
3156 }
3157
3158
3159 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3160 PyObject *resultobj;
3161 wxComboBox *arg1 = (wxComboBox *) 0 ;
3162 PyObject * obj0 = 0 ;
3163 char *kwnames[] = {
3164 (char *) "self", NULL
3165 };
3166
3167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3170 {
3171 PyThreadState* __tstate = wxPyBeginAllowThreads();
3172 (arg1)->Copy();
3173
3174 wxPyEndAllowThreads(__tstate);
3175 if (PyErr_Occurred()) SWIG_fail;
3176 }
3177 Py_INCREF(Py_None); resultobj = Py_None;
3178 return resultobj;
3179 fail:
3180 return NULL;
3181 }
3182
3183
3184 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3185 PyObject *resultobj;
3186 wxComboBox *arg1 = (wxComboBox *) 0 ;
3187 PyObject * obj0 = 0 ;
3188 char *kwnames[] = {
3189 (char *) "self", NULL
3190 };
3191
3192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3195 {
3196 PyThreadState* __tstate = wxPyBeginAllowThreads();
3197 (arg1)->Cut();
3198
3199 wxPyEndAllowThreads(__tstate);
3200 if (PyErr_Occurred()) SWIG_fail;
3201 }
3202 Py_INCREF(Py_None); resultobj = Py_None;
3203 return resultobj;
3204 fail:
3205 return NULL;
3206 }
3207
3208
3209 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3210 PyObject *resultobj;
3211 wxComboBox *arg1 = (wxComboBox *) 0 ;
3212 PyObject * obj0 = 0 ;
3213 char *kwnames[] = {
3214 (char *) "self", NULL
3215 };
3216
3217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3220 {
3221 PyThreadState* __tstate = wxPyBeginAllowThreads();
3222 (arg1)->Paste();
3223
3224 wxPyEndAllowThreads(__tstate);
3225 if (PyErr_Occurred()) SWIG_fail;
3226 }
3227 Py_INCREF(Py_None); resultobj = Py_None;
3228 return resultobj;
3229 fail:
3230 return NULL;
3231 }
3232
3233
3234 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3235 PyObject *resultobj;
3236 wxComboBox *arg1 = (wxComboBox *) 0 ;
3237 long arg2 ;
3238 PyObject * obj0 = 0 ;
3239 PyObject * obj1 = 0 ;
3240 char *kwnames[] = {
3241 (char *) "self",(char *) "pos", NULL
3242 };
3243
3244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3247 arg2 = (long) SWIG_AsLong(obj1);
3248 if (PyErr_Occurred()) SWIG_fail;
3249 {
3250 PyThreadState* __tstate = wxPyBeginAllowThreads();
3251 (arg1)->SetInsertionPoint(arg2);
3252
3253 wxPyEndAllowThreads(__tstate);
3254 if (PyErr_Occurred()) SWIG_fail;
3255 }
3256 Py_INCREF(Py_None); resultobj = Py_None;
3257 return resultobj;
3258 fail:
3259 return NULL;
3260 }
3261
3262
3263 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3264 PyObject *resultobj;
3265 wxComboBox *arg1 = (wxComboBox *) 0 ;
3266 long result;
3267 PyObject * obj0 = 0 ;
3268 char *kwnames[] = {
3269 (char *) "self", NULL
3270 };
3271
3272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3275 {
3276 PyThreadState* __tstate = wxPyBeginAllowThreads();
3277 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3278
3279 wxPyEndAllowThreads(__tstate);
3280 if (PyErr_Occurred()) SWIG_fail;
3281 }
3282 resultobj = SWIG_FromLong((long)result);
3283 return resultobj;
3284 fail:
3285 return NULL;
3286 }
3287
3288
3289 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3290 PyObject *resultobj;
3291 wxComboBox *arg1 = (wxComboBox *) 0 ;
3292 long result;
3293 PyObject * obj0 = 0 ;
3294 char *kwnames[] = {
3295 (char *) "self", NULL
3296 };
3297
3298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3301 {
3302 PyThreadState* __tstate = wxPyBeginAllowThreads();
3303 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3304
3305 wxPyEndAllowThreads(__tstate);
3306 if (PyErr_Occurred()) SWIG_fail;
3307 }
3308 resultobj = SWIG_FromLong((long)result);
3309 return resultobj;
3310 fail:
3311 return NULL;
3312 }
3313
3314
3315 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3316 PyObject *resultobj;
3317 wxComboBox *arg1 = (wxComboBox *) 0 ;
3318 long arg2 ;
3319 long arg3 ;
3320 wxString *arg4 = 0 ;
3321 bool temp4 = False ;
3322 PyObject * obj0 = 0 ;
3323 PyObject * obj1 = 0 ;
3324 PyObject * obj2 = 0 ;
3325 PyObject * obj3 = 0 ;
3326 char *kwnames[] = {
3327 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3328 };
3329
3330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3333 arg2 = (long) SWIG_AsLong(obj1);
3334 if (PyErr_Occurred()) SWIG_fail;
3335 arg3 = (long) SWIG_AsLong(obj2);
3336 if (PyErr_Occurred()) SWIG_fail;
3337 {
3338 arg4 = wxString_in_helper(obj3);
3339 if (arg4 == NULL) SWIG_fail;
3340 temp4 = True;
3341 }
3342 {
3343 PyThreadState* __tstate = wxPyBeginAllowThreads();
3344 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3345
3346 wxPyEndAllowThreads(__tstate);
3347 if (PyErr_Occurred()) SWIG_fail;
3348 }
3349 Py_INCREF(Py_None); resultobj = Py_None;
3350 {
3351 if (temp4)
3352 delete arg4;
3353 }
3354 return resultobj;
3355 fail:
3356 {
3357 if (temp4)
3358 delete arg4;
3359 }
3360 return NULL;
3361 }
3362
3363
3364 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3365 PyObject *resultobj;
3366 wxComboBox *arg1 = (wxComboBox *) 0 ;
3367 int arg2 ;
3368 PyObject * obj0 = 0 ;
3369 PyObject * obj1 = 0 ;
3370 char *kwnames[] = {
3371 (char *) "self",(char *) "n", NULL
3372 };
3373
3374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3377 arg2 = (int) SWIG_AsInt(obj1);
3378 if (PyErr_Occurred()) SWIG_fail;
3379 {
3380 PyThreadState* __tstate = wxPyBeginAllowThreads();
3381 (arg1)->SetSelection(arg2);
3382
3383 wxPyEndAllowThreads(__tstate);
3384 if (PyErr_Occurred()) SWIG_fail;
3385 }
3386 Py_INCREF(Py_None); resultobj = Py_None;
3387 return resultobj;
3388 fail:
3389 return NULL;
3390 }
3391
3392
3393 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3394 PyObject *resultobj;
3395 wxComboBox *arg1 = (wxComboBox *) 0 ;
3396 long arg2 ;
3397 long arg3 ;
3398 PyObject * obj0 = 0 ;
3399 PyObject * obj1 = 0 ;
3400 PyObject * obj2 = 0 ;
3401 char *kwnames[] = {
3402 (char *) "self",(char *) "from",(char *) "to", NULL
3403 };
3404
3405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3408 arg2 = (long) SWIG_AsLong(obj1);
3409 if (PyErr_Occurred()) SWIG_fail;
3410 arg3 = (long) SWIG_AsLong(obj2);
3411 if (PyErr_Occurred()) SWIG_fail;
3412 {
3413 PyThreadState* __tstate = wxPyBeginAllowThreads();
3414 (arg1)->SetSelection(arg2,arg3);
3415
3416 wxPyEndAllowThreads(__tstate);
3417 if (PyErr_Occurred()) SWIG_fail;
3418 }
3419 Py_INCREF(Py_None); resultobj = Py_None;
3420 return resultobj;
3421 fail:
3422 return NULL;
3423 }
3424
3425
3426 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3427 PyObject *resultobj;
3428 wxComboBox *arg1 = (wxComboBox *) 0 ;
3429 bool arg2 ;
3430 PyObject * obj0 = 0 ;
3431 PyObject * obj1 = 0 ;
3432 char *kwnames[] = {
3433 (char *) "self",(char *) "editable", NULL
3434 };
3435
3436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3439 arg2 = (bool) SWIG_AsBool(obj1);
3440 if (PyErr_Occurred()) SWIG_fail;
3441 {
3442 PyThreadState* __tstate = wxPyBeginAllowThreads();
3443 (arg1)->SetEditable(arg2);
3444
3445 wxPyEndAllowThreads(__tstate);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 }
3448 Py_INCREF(Py_None); resultobj = Py_None;
3449 return resultobj;
3450 fail:
3451 return NULL;
3452 }
3453
3454
3455 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3456 PyObject *resultobj;
3457 wxComboBox *arg1 = (wxComboBox *) 0 ;
3458 PyObject * obj0 = 0 ;
3459 char *kwnames[] = {
3460 (char *) "self", NULL
3461 };
3462
3463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3466 {
3467 PyThreadState* __tstate = wxPyBeginAllowThreads();
3468 (arg1)->SetInsertionPointEnd();
3469
3470 wxPyEndAllowThreads(__tstate);
3471 if (PyErr_Occurred()) SWIG_fail;
3472 }
3473 Py_INCREF(Py_None); resultobj = Py_None;
3474 return resultobj;
3475 fail:
3476 return NULL;
3477 }
3478
3479
3480 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3481 PyObject *resultobj;
3482 wxComboBox *arg1 = (wxComboBox *) 0 ;
3483 long arg2 ;
3484 long arg3 ;
3485 PyObject * obj0 = 0 ;
3486 PyObject * obj1 = 0 ;
3487 PyObject * obj2 = 0 ;
3488 char *kwnames[] = {
3489 (char *) "self",(char *) "from",(char *) "to", NULL
3490 };
3491
3492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3495 arg2 = (long) SWIG_AsLong(obj1);
3496 if (PyErr_Occurred()) SWIG_fail;
3497 arg3 = (long) SWIG_AsLong(obj2);
3498 if (PyErr_Occurred()) SWIG_fail;
3499 {
3500 PyThreadState* __tstate = wxPyBeginAllowThreads();
3501 (arg1)->Remove(arg2,arg3);
3502
3503 wxPyEndAllowThreads(__tstate);
3504 if (PyErr_Occurred()) SWIG_fail;
3505 }
3506 Py_INCREF(Py_None); resultobj = Py_None;
3507 return resultobj;
3508 fail:
3509 return NULL;
3510 }
3511
3512
3513 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3514 PyObject *obj;
3515 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3516 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3517 Py_INCREF(obj);
3518 return Py_BuildValue((char *)"");
3519 }
3520 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3521 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3522 return 1;
3523 }
3524
3525
3526 static PyObject *_wrap_GaugeNameStr_get() {
3527 PyObject *pyobj;
3528
3529 {
3530 #if wxUSE_UNICODE
3531 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3532 #else
3533 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3534 #endif
3535 }
3536 return pyobj;
3537 }
3538
3539
3540 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3541 PyObject *resultobj;
3542 wxWindow *arg1 = (wxWindow *) 0 ;
3543 int arg2 ;
3544 int arg3 ;
3545 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3546 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3547 wxSize const &arg5_defvalue = wxDefaultSize ;
3548 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3549 long arg6 = (long) wxGA_HORIZONTAL ;
3550 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3551 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3552 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3553 wxString *arg8 = (wxString *) &arg8_defvalue ;
3554 wxGauge *result;
3555 wxPoint temp4 ;
3556 wxSize temp5 ;
3557 bool temp8 = False ;
3558 PyObject * obj0 = 0 ;
3559 PyObject * obj1 = 0 ;
3560 PyObject * obj2 = 0 ;
3561 PyObject * obj3 = 0 ;
3562 PyObject * obj4 = 0 ;
3563 PyObject * obj5 = 0 ;
3564 PyObject * obj6 = 0 ;
3565 PyObject * obj7 = 0 ;
3566 char *kwnames[] = {
3567 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3568 };
3569
3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3573 arg2 = (int) SWIG_AsInt(obj1);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 arg3 = (int) SWIG_AsInt(obj2);
3576 if (PyErr_Occurred()) SWIG_fail;
3577 if (obj3) {
3578 {
3579 arg4 = &temp4;
3580 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3581 }
3582 }
3583 if (obj4) {
3584 {
3585 arg5 = &temp5;
3586 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3587 }
3588 }
3589 if (obj5) {
3590 arg6 = (long) SWIG_AsLong(obj5);
3591 if (PyErr_Occurred()) SWIG_fail;
3592 }
3593 if (obj6) {
3594 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3595 SWIG_POINTER_EXCEPTION | 0)) == -1)
3596 SWIG_fail;
3597 if (arg7 == NULL) {
3598 PyErr_SetString(PyExc_TypeError,"null reference");
3599 SWIG_fail;
3600 }
3601 }
3602 if (obj7) {
3603 {
3604 arg8 = wxString_in_helper(obj7);
3605 if (arg8 == NULL) SWIG_fail;
3606 temp8 = True;
3607 }
3608 }
3609 {
3610 PyThreadState* __tstate = wxPyBeginAllowThreads();
3611 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3612
3613 wxPyEndAllowThreads(__tstate);
3614 if (PyErr_Occurred()) SWIG_fail;
3615 }
3616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3617 {
3618 if (temp8)
3619 delete arg8;
3620 }
3621 return resultobj;
3622 fail:
3623 {
3624 if (temp8)
3625 delete arg8;
3626 }
3627 return NULL;
3628 }
3629
3630
3631 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3632 PyObject *resultobj;
3633 wxGauge *result;
3634 char *kwnames[] = {
3635 NULL
3636 };
3637
3638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3639 {
3640 PyThreadState* __tstate = wxPyBeginAllowThreads();
3641 result = (wxGauge *)new wxGauge();
3642
3643 wxPyEndAllowThreads(__tstate);
3644 if (PyErr_Occurred()) SWIG_fail;
3645 }
3646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3647 return resultobj;
3648 fail:
3649 return NULL;
3650 }
3651
3652
3653 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3654 PyObject *resultobj;
3655 wxGauge *arg1 = (wxGauge *) 0 ;
3656 wxWindow *arg2 = (wxWindow *) 0 ;
3657 int arg3 ;
3658 int arg4 ;
3659 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3660 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3661 wxSize const &arg6_defvalue = wxDefaultSize ;
3662 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3663 long arg7 = (long) wxGA_HORIZONTAL ;
3664 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3665 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3666 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3667 wxString *arg9 = (wxString *) &arg9_defvalue ;
3668 bool result;
3669 wxPoint temp5 ;
3670 wxSize temp6 ;
3671 bool temp9 = False ;
3672 PyObject * obj0 = 0 ;
3673 PyObject * obj1 = 0 ;
3674 PyObject * obj2 = 0 ;
3675 PyObject * obj3 = 0 ;
3676 PyObject * obj4 = 0 ;
3677 PyObject * obj5 = 0 ;
3678 PyObject * obj6 = 0 ;
3679 PyObject * obj7 = 0 ;
3680 PyObject * obj8 = 0 ;
3681 char *kwnames[] = {
3682 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3683 };
3684
3685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3688 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3690 arg3 = (int) SWIG_AsInt(obj2);
3691 if (PyErr_Occurred()) SWIG_fail;
3692 arg4 = (int) SWIG_AsInt(obj3);
3693 if (PyErr_Occurred()) SWIG_fail;
3694 if (obj4) {
3695 {
3696 arg5 = &temp5;
3697 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3698 }
3699 }
3700 if (obj5) {
3701 {
3702 arg6 = &temp6;
3703 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3704 }
3705 }
3706 if (obj6) {
3707 arg7 = (long) SWIG_AsLong(obj6);
3708 if (PyErr_Occurred()) SWIG_fail;
3709 }
3710 if (obj7) {
3711 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3712 SWIG_POINTER_EXCEPTION | 0)) == -1)
3713 SWIG_fail;
3714 if (arg8 == NULL) {
3715 PyErr_SetString(PyExc_TypeError,"null reference");
3716 SWIG_fail;
3717 }
3718 }
3719 if (obj8) {
3720 {
3721 arg9 = wxString_in_helper(obj8);
3722 if (arg9 == NULL) SWIG_fail;
3723 temp9 = True;
3724 }
3725 }
3726 {
3727 PyThreadState* __tstate = wxPyBeginAllowThreads();
3728 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3729
3730 wxPyEndAllowThreads(__tstate);
3731 if (PyErr_Occurred()) SWIG_fail;
3732 }
3733 {
3734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3735 }
3736 {
3737 if (temp9)
3738 delete arg9;
3739 }
3740 return resultobj;
3741 fail:
3742 {
3743 if (temp9)
3744 delete arg9;
3745 }
3746 return NULL;
3747 }
3748
3749
3750 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3751 PyObject *resultobj;
3752 wxGauge *arg1 = (wxGauge *) 0 ;
3753 int arg2 ;
3754 PyObject * obj0 = 0 ;
3755 PyObject * obj1 = 0 ;
3756 char *kwnames[] = {
3757 (char *) "self",(char *) "range", NULL
3758 };
3759
3760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
3761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3763 arg2 = (int) SWIG_AsInt(obj1);
3764 if (PyErr_Occurred()) SWIG_fail;
3765 {
3766 PyThreadState* __tstate = wxPyBeginAllowThreads();
3767 (arg1)->SetRange(arg2);
3768
3769 wxPyEndAllowThreads(__tstate);
3770 if (PyErr_Occurred()) SWIG_fail;
3771 }
3772 Py_INCREF(Py_None); resultobj = Py_None;
3773 return resultobj;
3774 fail:
3775 return NULL;
3776 }
3777
3778
3779 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3780 PyObject *resultobj;
3781 wxGauge *arg1 = (wxGauge *) 0 ;
3782 int result;
3783 PyObject * obj0 = 0 ;
3784 char *kwnames[] = {
3785 (char *) "self", NULL
3786 };
3787
3788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3791 {
3792 PyThreadState* __tstate = wxPyBeginAllowThreads();
3793 result = (int)((wxGauge const *)arg1)->GetRange();
3794
3795 wxPyEndAllowThreads(__tstate);
3796 if (PyErr_Occurred()) SWIG_fail;
3797 }
3798 resultobj = SWIG_FromInt((int)result);
3799 return resultobj;
3800 fail:
3801 return NULL;
3802 }
3803
3804
3805 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3806 PyObject *resultobj;
3807 wxGauge *arg1 = (wxGauge *) 0 ;
3808 int arg2 ;
3809 PyObject * obj0 = 0 ;
3810 PyObject * obj1 = 0 ;
3811 char *kwnames[] = {
3812 (char *) "self",(char *) "pos", NULL
3813 };
3814
3815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
3816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3818 arg2 = (int) SWIG_AsInt(obj1);
3819 if (PyErr_Occurred()) SWIG_fail;
3820 {
3821 PyThreadState* __tstate = wxPyBeginAllowThreads();
3822 (arg1)->SetValue(arg2);
3823
3824 wxPyEndAllowThreads(__tstate);
3825 if (PyErr_Occurred()) SWIG_fail;
3826 }
3827 Py_INCREF(Py_None); resultobj = Py_None;
3828 return resultobj;
3829 fail:
3830 return NULL;
3831 }
3832
3833
3834 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3835 PyObject *resultobj;
3836 wxGauge *arg1 = (wxGauge *) 0 ;
3837 int result;
3838 PyObject * obj0 = 0 ;
3839 char *kwnames[] = {
3840 (char *) "self", NULL
3841 };
3842
3843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3846 {
3847 PyThreadState* __tstate = wxPyBeginAllowThreads();
3848 result = (int)((wxGauge const *)arg1)->GetValue();
3849
3850 wxPyEndAllowThreads(__tstate);
3851 if (PyErr_Occurred()) SWIG_fail;
3852 }
3853 resultobj = SWIG_FromInt((int)result);
3854 return resultobj;
3855 fail:
3856 return NULL;
3857 }
3858
3859
3860 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3861 PyObject *resultobj;
3862 wxGauge *arg1 = (wxGauge *) 0 ;
3863 bool result;
3864 PyObject * obj0 = 0 ;
3865 char *kwnames[] = {
3866 (char *) "self", NULL
3867 };
3868
3869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3872 {
3873 PyThreadState* __tstate = wxPyBeginAllowThreads();
3874 result = (bool)((wxGauge const *)arg1)->IsVertical();
3875
3876 wxPyEndAllowThreads(__tstate);
3877 if (PyErr_Occurred()) SWIG_fail;
3878 }
3879 {
3880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3881 }
3882 return resultobj;
3883 fail:
3884 return NULL;
3885 }
3886
3887
3888 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3889 PyObject *resultobj;
3890 wxGauge *arg1 = (wxGauge *) 0 ;
3891 int arg2 ;
3892 PyObject * obj0 = 0 ;
3893 PyObject * obj1 = 0 ;
3894 char *kwnames[] = {
3895 (char *) "self",(char *) "w", NULL
3896 };
3897
3898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
3899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3901 arg2 = (int) SWIG_AsInt(obj1);
3902 if (PyErr_Occurred()) SWIG_fail;
3903 {
3904 PyThreadState* __tstate = wxPyBeginAllowThreads();
3905 (arg1)->SetShadowWidth(arg2);
3906
3907 wxPyEndAllowThreads(__tstate);
3908 if (PyErr_Occurred()) SWIG_fail;
3909 }
3910 Py_INCREF(Py_None); resultobj = Py_None;
3911 return resultobj;
3912 fail:
3913 return NULL;
3914 }
3915
3916
3917 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3918 PyObject *resultobj;
3919 wxGauge *arg1 = (wxGauge *) 0 ;
3920 int result;
3921 PyObject * obj0 = 0 ;
3922 char *kwnames[] = {
3923 (char *) "self", NULL
3924 };
3925
3926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3929 {
3930 PyThreadState* __tstate = wxPyBeginAllowThreads();
3931 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3932
3933 wxPyEndAllowThreads(__tstate);
3934 if (PyErr_Occurred()) SWIG_fail;
3935 }
3936 resultobj = SWIG_FromInt((int)result);
3937 return resultobj;
3938 fail:
3939 return NULL;
3940 }
3941
3942
3943 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3944 PyObject *resultobj;
3945 wxGauge *arg1 = (wxGauge *) 0 ;
3946 int arg2 ;
3947 PyObject * obj0 = 0 ;
3948 PyObject * obj1 = 0 ;
3949 char *kwnames[] = {
3950 (char *) "self",(char *) "w", NULL
3951 };
3952
3953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
3954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3956 arg2 = (int) SWIG_AsInt(obj1);
3957 if (PyErr_Occurred()) SWIG_fail;
3958 {
3959 PyThreadState* __tstate = wxPyBeginAllowThreads();
3960 (arg1)->SetBezelFace(arg2);
3961
3962 wxPyEndAllowThreads(__tstate);
3963 if (PyErr_Occurred()) SWIG_fail;
3964 }
3965 Py_INCREF(Py_None); resultobj = Py_None;
3966 return resultobj;
3967 fail:
3968 return NULL;
3969 }
3970
3971
3972 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3973 PyObject *resultobj;
3974 wxGauge *arg1 = (wxGauge *) 0 ;
3975 int result;
3976 PyObject * obj0 = 0 ;
3977 char *kwnames[] = {
3978 (char *) "self", NULL
3979 };
3980
3981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3984 {
3985 PyThreadState* __tstate = wxPyBeginAllowThreads();
3986 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3987
3988 wxPyEndAllowThreads(__tstate);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 }
3991 resultobj = SWIG_FromInt((int)result);
3992 return resultobj;
3993 fail:
3994 return NULL;
3995 }
3996
3997
3998 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3999 PyObject *obj;
4000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4001 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4002 Py_INCREF(obj);
4003 return Py_BuildValue((char *)"");
4004 }
4005 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
4006 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4007 return 1;
4008 }
4009
4010
4011 static PyObject *_wrap_StaticBitmapNameStr_get() {
4012 PyObject *pyobj;
4013
4014 {
4015 #if wxUSE_UNICODE
4016 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4017 #else
4018 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4019 #endif
4020 }
4021 return pyobj;
4022 }
4023
4024
4025 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
4026 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4027 return 1;
4028 }
4029
4030
4031 static PyObject *_wrap_StaticBoxNameStr_get() {
4032 PyObject *pyobj;
4033
4034 {
4035 #if wxUSE_UNICODE
4036 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4037 #else
4038 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4039 #endif
4040 }
4041 return pyobj;
4042 }
4043
4044
4045 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
4046 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4047 return 1;
4048 }
4049
4050
4051 static PyObject *_wrap_StaticTextNameStr_get() {
4052 PyObject *pyobj;
4053
4054 {
4055 #if wxUSE_UNICODE
4056 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4057 #else
4058 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4059 #endif
4060 }
4061 return pyobj;
4062 }
4063
4064
4065 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4066 PyObject *resultobj;
4067 wxWindow *arg1 = (wxWindow *) 0 ;
4068 int arg2 ;
4069 wxString *arg3 = 0 ;
4070 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4071 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4072 wxSize const &arg5_defvalue = wxDefaultSize ;
4073 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4074 long arg6 = (long) 0 ;
4075 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4076 wxString *arg7 = (wxString *) &arg7_defvalue ;
4077 wxStaticBox *result;
4078 bool temp3 = False ;
4079 wxPoint temp4 ;
4080 wxSize temp5 ;
4081 bool temp7 = False ;
4082 PyObject * obj0 = 0 ;
4083 PyObject * obj1 = 0 ;
4084 PyObject * obj2 = 0 ;
4085 PyObject * obj3 = 0 ;
4086 PyObject * obj4 = 0 ;
4087 PyObject * obj5 = 0 ;
4088 PyObject * obj6 = 0 ;
4089 char *kwnames[] = {
4090 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4091 };
4092
4093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4096 arg2 = (int) SWIG_AsInt(obj1);
4097 if (PyErr_Occurred()) SWIG_fail;
4098 {
4099 arg3 = wxString_in_helper(obj2);
4100 if (arg3 == NULL) SWIG_fail;
4101 temp3 = True;
4102 }
4103 if (obj3) {
4104 {
4105 arg4 = &temp4;
4106 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4107 }
4108 }
4109 if (obj4) {
4110 {
4111 arg5 = &temp5;
4112 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4113 }
4114 }
4115 if (obj5) {
4116 arg6 = (long) SWIG_AsLong(obj5);
4117 if (PyErr_Occurred()) SWIG_fail;
4118 }
4119 if (obj6) {
4120 {
4121 arg7 = wxString_in_helper(obj6);
4122 if (arg7 == NULL) SWIG_fail;
4123 temp7 = True;
4124 }
4125 }
4126 {
4127 PyThreadState* __tstate = wxPyBeginAllowThreads();
4128 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4129
4130 wxPyEndAllowThreads(__tstate);
4131 if (PyErr_Occurred()) SWIG_fail;
4132 }
4133 {
4134 resultobj = wxPyMake_wxObject(result);
4135 }
4136 {
4137 if (temp3)
4138 delete arg3;
4139 }
4140 {
4141 if (temp7)
4142 delete arg7;
4143 }
4144 return resultobj;
4145 fail:
4146 {
4147 if (temp3)
4148 delete arg3;
4149 }
4150 {
4151 if (temp7)
4152 delete arg7;
4153 }
4154 return NULL;
4155 }
4156
4157
4158 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4159 PyObject *resultobj;
4160 wxStaticBox *result;
4161 char *kwnames[] = {
4162 NULL
4163 };
4164
4165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4166 {
4167 PyThreadState* __tstate = wxPyBeginAllowThreads();
4168 result = (wxStaticBox *)new wxStaticBox();
4169
4170 wxPyEndAllowThreads(__tstate);
4171 if (PyErr_Occurred()) SWIG_fail;
4172 }
4173 {
4174 resultobj = wxPyMake_wxObject(result);
4175 }
4176 return resultobj;
4177 fail:
4178 return NULL;
4179 }
4180
4181
4182 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4183 PyObject *resultobj;
4184 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4185 wxWindow *arg2 = (wxWindow *) 0 ;
4186 int arg3 ;
4187 wxString *arg4 = 0 ;
4188 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4189 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4190 wxSize const &arg6_defvalue = wxDefaultSize ;
4191 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4192 long arg7 = (long) 0 ;
4193 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4194 wxString *arg8 = (wxString *) &arg8_defvalue ;
4195 bool result;
4196 bool temp4 = False ;
4197 wxPoint temp5 ;
4198 wxSize temp6 ;
4199 bool temp8 = False ;
4200 PyObject * obj0 = 0 ;
4201 PyObject * obj1 = 0 ;
4202 PyObject * obj2 = 0 ;
4203 PyObject * obj3 = 0 ;
4204 PyObject * obj4 = 0 ;
4205 PyObject * obj5 = 0 ;
4206 PyObject * obj6 = 0 ;
4207 PyObject * obj7 = 0 ;
4208 char *kwnames[] = {
4209 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4210 };
4211
4212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4215 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4217 arg3 = (int) SWIG_AsInt(obj2);
4218 if (PyErr_Occurred()) SWIG_fail;
4219 {
4220 arg4 = wxString_in_helper(obj3);
4221 if (arg4 == NULL) SWIG_fail;
4222 temp4 = True;
4223 }
4224 if (obj4) {
4225 {
4226 arg5 = &temp5;
4227 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4228 }
4229 }
4230 if (obj5) {
4231 {
4232 arg6 = &temp6;
4233 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4234 }
4235 }
4236 if (obj6) {
4237 arg7 = (long) SWIG_AsLong(obj6);
4238 if (PyErr_Occurred()) SWIG_fail;
4239 }
4240 if (obj7) {
4241 {
4242 arg8 = wxString_in_helper(obj7);
4243 if (arg8 == NULL) SWIG_fail;
4244 temp8 = True;
4245 }
4246 }
4247 {
4248 PyThreadState* __tstate = wxPyBeginAllowThreads();
4249 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4250
4251 wxPyEndAllowThreads(__tstate);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 }
4254 {
4255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4256 }
4257 {
4258 if (temp4)
4259 delete arg4;
4260 }
4261 {
4262 if (temp8)
4263 delete arg8;
4264 }
4265 return resultobj;
4266 fail:
4267 {
4268 if (temp4)
4269 delete arg4;
4270 }
4271 {
4272 if (temp8)
4273 delete arg8;
4274 }
4275 return NULL;
4276 }
4277
4278
4279 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4280 PyObject *obj;
4281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4282 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4283 Py_INCREF(obj);
4284 return Py_BuildValue((char *)"");
4285 }
4286 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4287 PyObject *resultobj;
4288 wxWindow *arg1 = (wxWindow *) 0 ;
4289 int arg2 ;
4290 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4291 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4292 wxSize const &arg4_defvalue = wxDefaultSize ;
4293 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4294 long arg5 = (long) wxLI_HORIZONTAL ;
4295 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4296 wxString *arg6 = (wxString *) &arg6_defvalue ;
4297 wxStaticLine *result;
4298 wxPoint temp3 ;
4299 wxSize temp4 ;
4300 bool temp6 = False ;
4301 PyObject * obj0 = 0 ;
4302 PyObject * obj1 = 0 ;
4303 PyObject * obj2 = 0 ;
4304 PyObject * obj3 = 0 ;
4305 PyObject * obj4 = 0 ;
4306 PyObject * obj5 = 0 ;
4307 char *kwnames[] = {
4308 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4309 };
4310
4311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4314 arg2 = (int) SWIG_AsInt(obj1);
4315 if (PyErr_Occurred()) SWIG_fail;
4316 if (obj2) {
4317 {
4318 arg3 = &temp3;
4319 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4320 }
4321 }
4322 if (obj3) {
4323 {
4324 arg4 = &temp4;
4325 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4326 }
4327 }
4328 if (obj4) {
4329 arg5 = (long) SWIG_AsLong(obj4);
4330 if (PyErr_Occurred()) SWIG_fail;
4331 }
4332 if (obj5) {
4333 {
4334 arg6 = wxString_in_helper(obj5);
4335 if (arg6 == NULL) SWIG_fail;
4336 temp6 = True;
4337 }
4338 }
4339 {
4340 PyThreadState* __tstate = wxPyBeginAllowThreads();
4341 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4342
4343 wxPyEndAllowThreads(__tstate);
4344 if (PyErr_Occurred()) SWIG_fail;
4345 }
4346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4347 {
4348 if (temp6)
4349 delete arg6;
4350 }
4351 return resultobj;
4352 fail:
4353 {
4354 if (temp6)
4355 delete arg6;
4356 }
4357 return NULL;
4358 }
4359
4360
4361 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4362 PyObject *resultobj;
4363 wxStaticLine *result;
4364 char *kwnames[] = {
4365 NULL
4366 };
4367
4368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4369 {
4370 PyThreadState* __tstate = wxPyBeginAllowThreads();
4371 result = (wxStaticLine *)new wxStaticLine();
4372
4373 wxPyEndAllowThreads(__tstate);
4374 if (PyErr_Occurred()) SWIG_fail;
4375 }
4376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4377 return resultobj;
4378 fail:
4379 return NULL;
4380 }
4381
4382
4383 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4384 PyObject *resultobj;
4385 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4386 wxWindow *arg2 = (wxWindow *) 0 ;
4387 int arg3 ;
4388 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4389 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4390 wxSize const &arg5_defvalue = wxDefaultSize ;
4391 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4392 long arg6 = (long) wxLI_HORIZONTAL ;
4393 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4394 wxString *arg7 = (wxString *) &arg7_defvalue ;
4395 bool result;
4396 wxPoint temp4 ;
4397 wxSize temp5 ;
4398 bool temp7 = False ;
4399 PyObject * obj0 = 0 ;
4400 PyObject * obj1 = 0 ;
4401 PyObject * obj2 = 0 ;
4402 PyObject * obj3 = 0 ;
4403 PyObject * obj4 = 0 ;
4404 PyObject * obj5 = 0 ;
4405 PyObject * obj6 = 0 ;
4406 char *kwnames[] = {
4407 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4408 };
4409
4410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4415 arg3 = (int) SWIG_AsInt(obj2);
4416 if (PyErr_Occurred()) SWIG_fail;
4417 if (obj3) {
4418 {
4419 arg4 = &temp4;
4420 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4421 }
4422 }
4423 if (obj4) {
4424 {
4425 arg5 = &temp5;
4426 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4427 }
4428 }
4429 if (obj5) {
4430 arg6 = (long) SWIG_AsLong(obj5);
4431 if (PyErr_Occurred()) SWIG_fail;
4432 }
4433 if (obj6) {
4434 {
4435 arg7 = wxString_in_helper(obj6);
4436 if (arg7 == NULL) SWIG_fail;
4437 temp7 = True;
4438 }
4439 }
4440 {
4441 PyThreadState* __tstate = wxPyBeginAllowThreads();
4442 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4443
4444 wxPyEndAllowThreads(__tstate);
4445 if (PyErr_Occurred()) SWIG_fail;
4446 }
4447 {
4448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4449 }
4450 {
4451 if (temp7)
4452 delete arg7;
4453 }
4454 return resultobj;
4455 fail:
4456 {
4457 if (temp7)
4458 delete arg7;
4459 }
4460 return NULL;
4461 }
4462
4463
4464 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4465 PyObject *resultobj;
4466 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4467 bool result;
4468 PyObject * obj0 = 0 ;
4469 char *kwnames[] = {
4470 (char *) "self", NULL
4471 };
4472
4473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4476 {
4477 PyThreadState* __tstate = wxPyBeginAllowThreads();
4478 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4479
4480 wxPyEndAllowThreads(__tstate);
4481 if (PyErr_Occurred()) SWIG_fail;
4482 }
4483 {
4484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4485 }
4486 return resultobj;
4487 fail:
4488 return NULL;
4489 }
4490
4491
4492 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4493 PyObject *resultobj;
4494 int result;
4495 char *kwnames[] = {
4496 NULL
4497 };
4498
4499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4500 {
4501 PyThreadState* __tstate = wxPyBeginAllowThreads();
4502 result = (int)wxStaticLine::GetDefaultSize();
4503
4504 wxPyEndAllowThreads(__tstate);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 resultobj = SWIG_FromInt((int)result);
4508 return resultobj;
4509 fail:
4510 return NULL;
4511 }
4512
4513
4514 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4515 PyObject *obj;
4516 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4517 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4518 Py_INCREF(obj);
4519 return Py_BuildValue((char *)"");
4520 }
4521 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4522 PyObject *resultobj;
4523 wxWindow *arg1 = (wxWindow *) 0 ;
4524 int arg2 ;
4525 wxString *arg3 = 0 ;
4526 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4527 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4528 wxSize const &arg5_defvalue = wxDefaultSize ;
4529 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4530 long arg6 = (long) 0 ;
4531 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4532 wxString *arg7 = (wxString *) &arg7_defvalue ;
4533 wxStaticText *result;
4534 bool temp3 = False ;
4535 wxPoint temp4 ;
4536 wxSize temp5 ;
4537 bool temp7 = False ;
4538 PyObject * obj0 = 0 ;
4539 PyObject * obj1 = 0 ;
4540 PyObject * obj2 = 0 ;
4541 PyObject * obj3 = 0 ;
4542 PyObject * obj4 = 0 ;
4543 PyObject * obj5 = 0 ;
4544 PyObject * obj6 = 0 ;
4545 char *kwnames[] = {
4546 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4547 };
4548
4549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4552 arg2 = (int) SWIG_AsInt(obj1);
4553 if (PyErr_Occurred()) SWIG_fail;
4554 {
4555 arg3 = wxString_in_helper(obj2);
4556 if (arg3 == NULL) SWIG_fail;
4557 temp3 = True;
4558 }
4559 if (obj3) {
4560 {
4561 arg4 = &temp4;
4562 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4563 }
4564 }
4565 if (obj4) {
4566 {
4567 arg5 = &temp5;
4568 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4569 }
4570 }
4571 if (obj5) {
4572 arg6 = (long) SWIG_AsLong(obj5);
4573 if (PyErr_Occurred()) SWIG_fail;
4574 }
4575 if (obj6) {
4576 {
4577 arg7 = wxString_in_helper(obj6);
4578 if (arg7 == NULL) SWIG_fail;
4579 temp7 = True;
4580 }
4581 }
4582 {
4583 PyThreadState* __tstate = wxPyBeginAllowThreads();
4584 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4585
4586 wxPyEndAllowThreads(__tstate);
4587 if (PyErr_Occurred()) SWIG_fail;
4588 }
4589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4590 {
4591 if (temp3)
4592 delete arg3;
4593 }
4594 {
4595 if (temp7)
4596 delete arg7;
4597 }
4598 return resultobj;
4599 fail:
4600 {
4601 if (temp3)
4602 delete arg3;
4603 }
4604 {
4605 if (temp7)
4606 delete arg7;
4607 }
4608 return NULL;
4609 }
4610
4611
4612 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4613 PyObject *resultobj;
4614 wxStaticText *result;
4615 char *kwnames[] = {
4616 NULL
4617 };
4618
4619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4620 {
4621 PyThreadState* __tstate = wxPyBeginAllowThreads();
4622 result = (wxStaticText *)new wxStaticText();
4623
4624 wxPyEndAllowThreads(__tstate);
4625 if (PyErr_Occurred()) SWIG_fail;
4626 }
4627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4628 return resultobj;
4629 fail:
4630 return NULL;
4631 }
4632
4633
4634 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4635 PyObject *resultobj;
4636 wxStaticText *arg1 = (wxStaticText *) 0 ;
4637 wxWindow *arg2 = (wxWindow *) 0 ;
4638 int arg3 ;
4639 wxString *arg4 = 0 ;
4640 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4641 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4642 wxSize const &arg6_defvalue = wxDefaultSize ;
4643 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4644 long arg7 = (long) 0 ;
4645 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4646 wxString *arg8 = (wxString *) &arg8_defvalue ;
4647 bool result;
4648 bool temp4 = False ;
4649 wxPoint temp5 ;
4650 wxSize temp6 ;
4651 bool temp8 = False ;
4652 PyObject * obj0 = 0 ;
4653 PyObject * obj1 = 0 ;
4654 PyObject * obj2 = 0 ;
4655 PyObject * obj3 = 0 ;
4656 PyObject * obj4 = 0 ;
4657 PyObject * obj5 = 0 ;
4658 PyObject * obj6 = 0 ;
4659 PyObject * obj7 = 0 ;
4660 char *kwnames[] = {
4661 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4662 };
4663
4664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
4666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4667 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4669 arg3 = (int) SWIG_AsInt(obj2);
4670 if (PyErr_Occurred()) SWIG_fail;
4671 {
4672 arg4 = wxString_in_helper(obj3);
4673 if (arg4 == NULL) SWIG_fail;
4674 temp4 = True;
4675 }
4676 if (obj4) {
4677 {
4678 arg5 = &temp5;
4679 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4680 }
4681 }
4682 if (obj5) {
4683 {
4684 arg6 = &temp6;
4685 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4686 }
4687 }
4688 if (obj6) {
4689 arg7 = (long) SWIG_AsLong(obj6);
4690 if (PyErr_Occurred()) SWIG_fail;
4691 }
4692 if (obj7) {
4693 {
4694 arg8 = wxString_in_helper(obj7);
4695 if (arg8 == NULL) SWIG_fail;
4696 temp8 = True;
4697 }
4698 }
4699 {
4700 PyThreadState* __tstate = wxPyBeginAllowThreads();
4701 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4702
4703 wxPyEndAllowThreads(__tstate);
4704 if (PyErr_Occurred()) SWIG_fail;
4705 }
4706 {
4707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4708 }
4709 {
4710 if (temp4)
4711 delete arg4;
4712 }
4713 {
4714 if (temp8)
4715 delete arg8;
4716 }
4717 return resultobj;
4718 fail:
4719 {
4720 if (temp4)
4721 delete arg4;
4722 }
4723 {
4724 if (temp8)
4725 delete arg8;
4726 }
4727 return NULL;
4728 }
4729
4730
4731 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4732 PyObject *obj;
4733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4734 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4735 Py_INCREF(obj);
4736 return Py_BuildValue((char *)"");
4737 }
4738 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4739 PyObject *resultobj;
4740 wxWindow *arg1 = (wxWindow *) 0 ;
4741 int arg2 ;
4742 wxBitmap *arg3 = 0 ;
4743 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4744 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4745 wxSize const &arg5_defvalue = wxDefaultSize ;
4746 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4747 long arg6 = (long) 0 ;
4748 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4749 wxString *arg7 = (wxString *) &arg7_defvalue ;
4750 wxStaticBitmap *result;
4751 wxPoint temp4 ;
4752 wxSize temp5 ;
4753 bool temp7 = False ;
4754 PyObject * obj0 = 0 ;
4755 PyObject * obj1 = 0 ;
4756 PyObject * obj2 = 0 ;
4757 PyObject * obj3 = 0 ;
4758 PyObject * obj4 = 0 ;
4759 PyObject * obj5 = 0 ;
4760 PyObject * obj6 = 0 ;
4761 char *kwnames[] = {
4762 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4763 };
4764
4765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4768 arg2 = (int) SWIG_AsInt(obj1);
4769 if (PyErr_Occurred()) SWIG_fail;
4770 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
4771 SWIG_POINTER_EXCEPTION | 0)) == -1)
4772 SWIG_fail;
4773 if (arg3 == NULL) {
4774 PyErr_SetString(PyExc_TypeError,"null reference");
4775 SWIG_fail;
4776 }
4777 if (obj3) {
4778 {
4779 arg4 = &temp4;
4780 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4781 }
4782 }
4783 if (obj4) {
4784 {
4785 arg5 = &temp5;
4786 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4787 }
4788 }
4789 if (obj5) {
4790 arg6 = (long) SWIG_AsLong(obj5);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 }
4793 if (obj6) {
4794 {
4795 arg7 = wxString_in_helper(obj6);
4796 if (arg7 == NULL) SWIG_fail;
4797 temp7 = True;
4798 }
4799 }
4800 {
4801 PyThreadState* __tstate = wxPyBeginAllowThreads();
4802 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4803
4804 wxPyEndAllowThreads(__tstate);
4805 if (PyErr_Occurred()) SWIG_fail;
4806 }
4807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4808 {
4809 if (temp7)
4810 delete arg7;
4811 }
4812 return resultobj;
4813 fail:
4814 {
4815 if (temp7)
4816 delete arg7;
4817 }
4818 return NULL;
4819 }
4820
4821
4822 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4823 PyObject *resultobj;
4824 wxStaticBitmap *result;
4825 char *kwnames[] = {
4826 NULL
4827 };
4828
4829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4830 {
4831 PyThreadState* __tstate = wxPyBeginAllowThreads();
4832 result = (wxStaticBitmap *)new wxStaticBitmap();
4833
4834 wxPyEndAllowThreads(__tstate);
4835 if (PyErr_Occurred()) SWIG_fail;
4836 }
4837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4838 return resultobj;
4839 fail:
4840 return NULL;
4841 }
4842
4843
4844 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4845 PyObject *resultobj;
4846 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4847 wxWindow *arg2 = (wxWindow *) 0 ;
4848 int arg3 ;
4849 wxBitmap *arg4 = 0 ;
4850 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4851 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4852 wxSize const &arg6_defvalue = wxDefaultSize ;
4853 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4854 long arg7 = (long) 0 ;
4855 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4856 wxString *arg8 = (wxString *) &arg8_defvalue ;
4857 bool result;
4858 wxPoint temp5 ;
4859 wxSize temp6 ;
4860 bool temp8 = False ;
4861 PyObject * obj0 = 0 ;
4862 PyObject * obj1 = 0 ;
4863 PyObject * obj2 = 0 ;
4864 PyObject * obj3 = 0 ;
4865 PyObject * obj4 = 0 ;
4866 PyObject * obj5 = 0 ;
4867 PyObject * obj6 = 0 ;
4868 PyObject * obj7 = 0 ;
4869 char *kwnames[] = {
4870 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4871 };
4872
4873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4876 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4878 arg3 = (int) SWIG_AsInt(obj2);
4879 if (PyErr_Occurred()) SWIG_fail;
4880 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
4881 SWIG_POINTER_EXCEPTION | 0)) == -1)
4882 SWIG_fail;
4883 if (arg4 == NULL) {
4884 PyErr_SetString(PyExc_TypeError,"null reference");
4885 SWIG_fail;
4886 }
4887 if (obj4) {
4888 {
4889 arg5 = &temp5;
4890 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4891 }
4892 }
4893 if (obj5) {
4894 {
4895 arg6 = &temp6;
4896 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4897 }
4898 }
4899 if (obj6) {
4900 arg7 = (long) SWIG_AsLong(obj6);
4901 if (PyErr_Occurred()) SWIG_fail;
4902 }
4903 if (obj7) {
4904 {
4905 arg8 = wxString_in_helper(obj7);
4906 if (arg8 == NULL) SWIG_fail;
4907 temp8 = True;
4908 }
4909 }
4910 {
4911 PyThreadState* __tstate = wxPyBeginAllowThreads();
4912 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4913
4914 wxPyEndAllowThreads(__tstate);
4915 if (PyErr_Occurred()) SWIG_fail;
4916 }
4917 {
4918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4919 }
4920 {
4921 if (temp8)
4922 delete arg8;
4923 }
4924 return resultobj;
4925 fail:
4926 {
4927 if (temp8)
4928 delete arg8;
4929 }
4930 return NULL;
4931 }
4932
4933
4934 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4935 PyObject *resultobj;
4936 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4937 wxBitmap result;
4938 PyObject * obj0 = 0 ;
4939 char *kwnames[] = {
4940 (char *) "self", NULL
4941 };
4942
4943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4946 {
4947 PyThreadState* __tstate = wxPyBeginAllowThreads();
4948 result = (arg1)->GetBitmap();
4949
4950 wxPyEndAllowThreads(__tstate);
4951 if (PyErr_Occurred()) SWIG_fail;
4952 }
4953 {
4954 wxBitmap * resultptr;
4955 resultptr = new wxBitmap((wxBitmap &) result);
4956 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4957 }
4958 return resultobj;
4959 fail:
4960 return NULL;
4961 }
4962
4963
4964 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4965 PyObject *resultobj;
4966 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4967 wxBitmap *arg2 = 0 ;
4968 PyObject * obj0 = 0 ;
4969 PyObject * obj1 = 0 ;
4970 char *kwnames[] = {
4971 (char *) "self",(char *) "bitmap", NULL
4972 };
4973
4974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4977 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4978 SWIG_POINTER_EXCEPTION | 0)) == -1)
4979 SWIG_fail;
4980 if (arg2 == NULL) {
4981 PyErr_SetString(PyExc_TypeError,"null reference");
4982 SWIG_fail;
4983 }
4984 {
4985 PyThreadState* __tstate = wxPyBeginAllowThreads();
4986 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4987
4988 wxPyEndAllowThreads(__tstate);
4989 if (PyErr_Occurred()) SWIG_fail;
4990 }
4991 Py_INCREF(Py_None); resultobj = Py_None;
4992 return resultobj;
4993 fail:
4994 return NULL;
4995 }
4996
4997
4998 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4999 PyObject *resultobj;
5000 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5001 wxIcon *arg2 = 0 ;
5002 PyObject * obj0 = 0 ;
5003 PyObject * obj1 = 0 ;
5004 char *kwnames[] = {
5005 (char *) "self",(char *) "icon", NULL
5006 };
5007
5008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
5009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5012 SWIG_POINTER_EXCEPTION | 0)) == -1)
5013 SWIG_fail;
5014 if (arg2 == NULL) {
5015 PyErr_SetString(PyExc_TypeError,"null reference");
5016 SWIG_fail;
5017 }
5018 {
5019 PyThreadState* __tstate = wxPyBeginAllowThreads();
5020 (arg1)->SetIcon((wxIcon const &)*arg2);
5021
5022 wxPyEndAllowThreads(__tstate);
5023 if (PyErr_Occurred()) SWIG_fail;
5024 }
5025 Py_INCREF(Py_None); resultobj = Py_None;
5026 return resultobj;
5027 fail:
5028 return NULL;
5029 }
5030
5031
5032 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
5033 PyObject *obj;
5034 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5035 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5036 Py_INCREF(obj);
5037 return Py_BuildValue((char *)"");
5038 }
5039 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
5040 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5041 return 1;
5042 }
5043
5044
5045 static PyObject *_wrap_ListBoxNameStr_get() {
5046 PyObject *pyobj;
5047
5048 {
5049 #if wxUSE_UNICODE
5050 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5051 #else
5052 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5053 #endif
5054 }
5055 return pyobj;
5056 }
5057
5058
5059 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5060 PyObject *resultobj;
5061 wxWindow *arg1 = (wxWindow *) 0 ;
5062 int arg2 ;
5063 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5064 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5065 wxSize const &arg4_defvalue = wxDefaultSize ;
5066 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5067 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5068 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5069 long arg6 = (long) 0 ;
5070 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5071 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5072 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5073 wxString *arg8 = (wxString *) &arg8_defvalue ;
5074 wxListBox *result;
5075 wxPoint temp3 ;
5076 wxSize temp4 ;
5077 bool temp5 = False ;
5078 bool temp8 = False ;
5079 PyObject * obj0 = 0 ;
5080 PyObject * obj1 = 0 ;
5081 PyObject * obj2 = 0 ;
5082 PyObject * obj3 = 0 ;
5083 PyObject * obj4 = 0 ;
5084 PyObject * obj5 = 0 ;
5085 PyObject * obj6 = 0 ;
5086 PyObject * obj7 = 0 ;
5087 char *kwnames[] = {
5088 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5089 };
5090
5091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5094 arg2 = (int) SWIG_AsInt(obj1);
5095 if (PyErr_Occurred()) SWIG_fail;
5096 if (obj2) {
5097 {
5098 arg3 = &temp3;
5099 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5100 }
5101 }
5102 if (obj3) {
5103 {
5104 arg4 = &temp4;
5105 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5106 }
5107 }
5108 if (obj4) {
5109 {
5110 if (! PySequence_Check(obj4)) {
5111 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5112 SWIG_fail;
5113 }
5114 arg5 = new wxArrayString;
5115 temp5 = True;
5116 int i, len=PySequence_Length(obj4);
5117 for (i=0; i<len; i++) {
5118 PyObject* item = PySequence_GetItem(obj4, i);
5119 #if wxUSE_UNICODE
5120 PyObject* str = PyObject_Unicode(item);
5121 #else
5122 PyObject* str = PyObject_Str(item);
5123 #endif
5124 arg5->Add(Py2wxString(str));
5125 Py_DECREF(item);
5126 Py_DECREF(str);
5127 }
5128 }
5129 }
5130 if (obj5) {
5131 arg6 = (long) SWIG_AsLong(obj5);
5132 if (PyErr_Occurred()) SWIG_fail;
5133 }
5134 if (obj6) {
5135 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5136 SWIG_POINTER_EXCEPTION | 0)) == -1)
5137 SWIG_fail;
5138 if (arg7 == NULL) {
5139 PyErr_SetString(PyExc_TypeError,"null reference");
5140 SWIG_fail;
5141 }
5142 }
5143 if (obj7) {
5144 {
5145 arg8 = wxString_in_helper(obj7);
5146 if (arg8 == NULL) SWIG_fail;
5147 temp8 = True;
5148 }
5149 }
5150 {
5151 PyThreadState* __tstate = wxPyBeginAllowThreads();
5152 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5153
5154 wxPyEndAllowThreads(__tstate);
5155 if (PyErr_Occurred()) SWIG_fail;
5156 }
5157 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5158 {
5159 if (temp5) delete arg5;
5160 }
5161 {
5162 if (temp8)
5163 delete arg8;
5164 }
5165 return resultobj;
5166 fail:
5167 {
5168 if (temp5) delete arg5;
5169 }
5170 {
5171 if (temp8)
5172 delete arg8;
5173 }
5174 return NULL;
5175 }
5176
5177
5178 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5179 PyObject *resultobj;
5180 wxListBox *result;
5181 char *kwnames[] = {
5182 NULL
5183 };
5184
5185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5186 {
5187 PyThreadState* __tstate = wxPyBeginAllowThreads();
5188 result = (wxListBox *)new wxListBox();
5189
5190 wxPyEndAllowThreads(__tstate);
5191 if (PyErr_Occurred()) SWIG_fail;
5192 }
5193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5194 return resultobj;
5195 fail:
5196 return NULL;
5197 }
5198
5199
5200 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5201 PyObject *resultobj;
5202 wxListBox *arg1 = (wxListBox *) 0 ;
5203 wxWindow *arg2 = (wxWindow *) 0 ;
5204 int arg3 ;
5205 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5206 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5207 wxSize const &arg5_defvalue = wxDefaultSize ;
5208 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5209 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5210 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5211 long arg7 = (long) 0 ;
5212 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5213 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5214 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5215 wxString *arg9 = (wxString *) &arg9_defvalue ;
5216 bool result;
5217 wxPoint temp4 ;
5218 wxSize temp5 ;
5219 bool temp6 = False ;
5220 bool temp9 = False ;
5221 PyObject * obj0 = 0 ;
5222 PyObject * obj1 = 0 ;
5223 PyObject * obj2 = 0 ;
5224 PyObject * obj3 = 0 ;
5225 PyObject * obj4 = 0 ;
5226 PyObject * obj5 = 0 ;
5227 PyObject * obj6 = 0 ;
5228 PyObject * obj7 = 0 ;
5229 PyObject * obj8 = 0 ;
5230 char *kwnames[] = {
5231 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5232 };
5233
5234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5237 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5239 arg3 = (int) SWIG_AsInt(obj2);
5240 if (PyErr_Occurred()) SWIG_fail;
5241 if (obj3) {
5242 {
5243 arg4 = &temp4;
5244 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5245 }
5246 }
5247 if (obj4) {
5248 {
5249 arg5 = &temp5;
5250 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5251 }
5252 }
5253 if (obj5) {
5254 {
5255 if (! PySequence_Check(obj5)) {
5256 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5257 SWIG_fail;
5258 }
5259 arg6 = new wxArrayString;
5260 temp6 = True;
5261 int i, len=PySequence_Length(obj5);
5262 for (i=0; i<len; i++) {
5263 PyObject* item = PySequence_GetItem(obj5, i);
5264 #if wxUSE_UNICODE
5265 PyObject* str = PyObject_Unicode(item);
5266 #else
5267 PyObject* str = PyObject_Str(item);
5268 #endif
5269 arg6->Add(Py2wxString(str));
5270 Py_DECREF(item);
5271 Py_DECREF(str);
5272 }
5273 }
5274 }
5275 if (obj6) {
5276 arg7 = (long) SWIG_AsLong(obj6);
5277 if (PyErr_Occurred()) SWIG_fail;
5278 }
5279 if (obj7) {
5280 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5281 SWIG_POINTER_EXCEPTION | 0)) == -1)
5282 SWIG_fail;
5283 if (arg8 == NULL) {
5284 PyErr_SetString(PyExc_TypeError,"null reference");
5285 SWIG_fail;
5286 }
5287 }
5288 if (obj8) {
5289 {
5290 arg9 = wxString_in_helper(obj8);
5291 if (arg9 == NULL) SWIG_fail;
5292 temp9 = True;
5293 }
5294 }
5295 {
5296 PyThreadState* __tstate = wxPyBeginAllowThreads();
5297 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5298
5299 wxPyEndAllowThreads(__tstate);
5300 if (PyErr_Occurred()) SWIG_fail;
5301 }
5302 {
5303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5304 }
5305 {
5306 if (temp6) delete arg6;
5307 }
5308 {
5309 if (temp9)
5310 delete arg9;
5311 }
5312 return resultobj;
5313 fail:
5314 {
5315 if (temp6) delete arg6;
5316 }
5317 {
5318 if (temp9)
5319 delete arg9;
5320 }
5321 return NULL;
5322 }
5323
5324
5325 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5326 PyObject *resultobj;
5327 wxListBox *arg1 = (wxListBox *) 0 ;
5328 wxString *arg2 = 0 ;
5329 int arg3 ;
5330 PyObject *arg4 = (PyObject *) NULL ;
5331 bool temp2 = False ;
5332 PyObject * obj0 = 0 ;
5333 PyObject * obj1 = 0 ;
5334 PyObject * obj2 = 0 ;
5335 PyObject * obj3 = 0 ;
5336 char *kwnames[] = {
5337 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5338 };
5339
5340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5343 {
5344 arg2 = wxString_in_helper(obj1);
5345 if (arg2 == NULL) SWIG_fail;
5346 temp2 = True;
5347 }
5348 arg3 = (int) SWIG_AsInt(obj2);
5349 if (PyErr_Occurred()) SWIG_fail;
5350 if (obj3) {
5351 arg4 = obj3;
5352 }
5353 {
5354 PyThreadState* __tstate = wxPyBeginAllowThreads();
5355 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5356
5357 wxPyEndAllowThreads(__tstate);
5358 if (PyErr_Occurred()) SWIG_fail;
5359 }
5360 Py_INCREF(Py_None); resultobj = Py_None;
5361 {
5362 if (temp2)
5363 delete arg2;
5364 }
5365 return resultobj;
5366 fail:
5367 {
5368 if (temp2)
5369 delete arg2;
5370 }
5371 return NULL;
5372 }
5373
5374
5375 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5376 PyObject *resultobj;
5377 wxListBox *arg1 = (wxListBox *) 0 ;
5378 wxArrayString *arg2 = 0 ;
5379 int arg3 ;
5380 bool temp2 = False ;
5381 PyObject * obj0 = 0 ;
5382 PyObject * obj1 = 0 ;
5383 PyObject * obj2 = 0 ;
5384 char *kwnames[] = {
5385 (char *) "self",(char *) "items",(char *) "pos", NULL
5386 };
5387
5388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5391 {
5392 if (! PySequence_Check(obj1)) {
5393 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5394 SWIG_fail;
5395 }
5396 arg2 = new wxArrayString;
5397 temp2 = True;
5398 int i, len=PySequence_Length(obj1);
5399 for (i=0; i<len; i++) {
5400 PyObject* item = PySequence_GetItem(obj1, i);
5401 #if wxUSE_UNICODE
5402 PyObject* str = PyObject_Unicode(item);
5403 #else
5404 PyObject* str = PyObject_Str(item);
5405 #endif
5406 arg2->Add(Py2wxString(str));
5407 Py_DECREF(item);
5408 Py_DECREF(str);
5409 }
5410 }
5411 arg3 = (int) SWIG_AsInt(obj2);
5412 if (PyErr_Occurred()) SWIG_fail;
5413 {
5414 PyThreadState* __tstate = wxPyBeginAllowThreads();
5415 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5416
5417 wxPyEndAllowThreads(__tstate);
5418 if (PyErr_Occurred()) SWIG_fail;
5419 }
5420 Py_INCREF(Py_None); resultobj = Py_None;
5421 {
5422 if (temp2) delete arg2;
5423 }
5424 return resultobj;
5425 fail:
5426 {
5427 if (temp2) delete arg2;
5428 }
5429 return NULL;
5430 }
5431
5432
5433 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5434 PyObject *resultobj;
5435 wxListBox *arg1 = (wxListBox *) 0 ;
5436 wxArrayString *arg2 = 0 ;
5437 bool temp2 = False ;
5438 PyObject * obj0 = 0 ;
5439 PyObject * obj1 = 0 ;
5440 char *kwnames[] = {
5441 (char *) "self",(char *) "items", NULL
5442 };
5443
5444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5447 {
5448 if (! PySequence_Check(obj1)) {
5449 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5450 SWIG_fail;
5451 }
5452 arg2 = new wxArrayString;
5453 temp2 = True;
5454 int i, len=PySequence_Length(obj1);
5455 for (i=0; i<len; i++) {
5456 PyObject* item = PySequence_GetItem(obj1, i);
5457 #if wxUSE_UNICODE
5458 PyObject* str = PyObject_Unicode(item);
5459 #else
5460 PyObject* str = PyObject_Str(item);
5461 #endif
5462 arg2->Add(Py2wxString(str));
5463 Py_DECREF(item);
5464 Py_DECREF(str);
5465 }
5466 }
5467 {
5468 PyThreadState* __tstate = wxPyBeginAllowThreads();
5469 (arg1)->Set((wxArrayString const &)*arg2);
5470
5471 wxPyEndAllowThreads(__tstate);
5472 if (PyErr_Occurred()) SWIG_fail;
5473 }
5474 Py_INCREF(Py_None); resultobj = Py_None;
5475 {
5476 if (temp2) delete arg2;
5477 }
5478 return resultobj;
5479 fail:
5480 {
5481 if (temp2) delete arg2;
5482 }
5483 return NULL;
5484 }
5485
5486
5487 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5488 PyObject *resultobj;
5489 wxListBox *arg1 = (wxListBox *) 0 ;
5490 int arg2 ;
5491 bool result;
5492 PyObject * obj0 = 0 ;
5493 PyObject * obj1 = 0 ;
5494 char *kwnames[] = {
5495 (char *) "self",(char *) "n", NULL
5496 };
5497
5498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
5499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5501 arg2 = (int) SWIG_AsInt(obj1);
5502 if (PyErr_Occurred()) SWIG_fail;
5503 {
5504 PyThreadState* __tstate = wxPyBeginAllowThreads();
5505 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5506
5507 wxPyEndAllowThreads(__tstate);
5508 if (PyErr_Occurred()) SWIG_fail;
5509 }
5510 {
5511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5512 }
5513 return resultobj;
5514 fail:
5515 return NULL;
5516 }
5517
5518
5519 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5520 PyObject *resultobj;
5521 wxListBox *arg1 = (wxListBox *) 0 ;
5522 int arg2 ;
5523 bool arg3 = (bool) True ;
5524 PyObject * obj0 = 0 ;
5525 PyObject * obj1 = 0 ;
5526 PyObject * obj2 = 0 ;
5527 char *kwnames[] = {
5528 (char *) "self",(char *) "n",(char *) "select", NULL
5529 };
5530
5531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5534 arg2 = (int) SWIG_AsInt(obj1);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 if (obj2) {
5537 arg3 = (bool) SWIG_AsBool(obj2);
5538 if (PyErr_Occurred()) SWIG_fail;
5539 }
5540 {
5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
5542 (arg1)->SetSelection(arg2,arg3);
5543
5544 wxPyEndAllowThreads(__tstate);
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
5547 Py_INCREF(Py_None); resultobj = Py_None;
5548 return resultobj;
5549 fail:
5550 return NULL;
5551 }
5552
5553
5554 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5555 PyObject *resultobj;
5556 wxListBox *arg1 = (wxListBox *) 0 ;
5557 int arg2 ;
5558 PyObject * obj0 = 0 ;
5559 PyObject * obj1 = 0 ;
5560 char *kwnames[] = {
5561 (char *) "self",(char *) "n", NULL
5562 };
5563
5564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
5565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5567 arg2 = (int) SWIG_AsInt(obj1);
5568 if (PyErr_Occurred()) SWIG_fail;
5569 {
5570 PyThreadState* __tstate = wxPyBeginAllowThreads();
5571 (arg1)->Select(arg2);
5572
5573 wxPyEndAllowThreads(__tstate);
5574 if (PyErr_Occurred()) SWIG_fail;
5575 }
5576 Py_INCREF(Py_None); resultobj = Py_None;
5577 return resultobj;
5578 fail:
5579 return NULL;
5580 }
5581
5582
5583 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5584 PyObject *resultobj;
5585 wxListBox *arg1 = (wxListBox *) 0 ;
5586 int arg2 ;
5587 PyObject * obj0 = 0 ;
5588 PyObject * obj1 = 0 ;
5589 char *kwnames[] = {
5590 (char *) "self",(char *) "n", NULL
5591 };
5592
5593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
5594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5596 arg2 = (int) SWIG_AsInt(obj1);
5597 if (PyErr_Occurred()) SWIG_fail;
5598 {
5599 PyThreadState* __tstate = wxPyBeginAllowThreads();
5600 (arg1)->Deselect(arg2);
5601
5602 wxPyEndAllowThreads(__tstate);
5603 if (PyErr_Occurred()) SWIG_fail;
5604 }
5605 Py_INCREF(Py_None); resultobj = Py_None;
5606 return resultobj;
5607 fail:
5608 return NULL;
5609 }
5610
5611
5612 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5613 PyObject *resultobj;
5614 wxListBox *arg1 = (wxListBox *) 0 ;
5615 int arg2 = (int) -1 ;
5616 PyObject * obj0 = 0 ;
5617 PyObject * obj1 = 0 ;
5618 char *kwnames[] = {
5619 (char *) "self",(char *) "itemToLeaveSelected", NULL
5620 };
5621
5622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
5623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5625 if (obj1) {
5626 arg2 = (int) SWIG_AsInt(obj1);
5627 if (PyErr_Occurred()) SWIG_fail;
5628 }
5629 {
5630 PyThreadState* __tstate = wxPyBeginAllowThreads();
5631 (arg1)->DeselectAll(arg2);
5632
5633 wxPyEndAllowThreads(__tstate);
5634 if (PyErr_Occurred()) SWIG_fail;
5635 }
5636 Py_INCREF(Py_None); resultobj = Py_None;
5637 return resultobj;
5638 fail:
5639 return NULL;
5640 }
5641
5642
5643 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5644 PyObject *resultobj;
5645 wxListBox *arg1 = (wxListBox *) 0 ;
5646 wxString *arg2 = 0 ;
5647 bool arg3 = (bool) True ;
5648 bool result;
5649 bool temp2 = False ;
5650 PyObject * obj0 = 0 ;
5651 PyObject * obj1 = 0 ;
5652 PyObject * obj2 = 0 ;
5653 char *kwnames[] = {
5654 (char *) "self",(char *) "s",(char *) "select", NULL
5655 };
5656
5657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5660 {
5661 arg2 = wxString_in_helper(obj1);
5662 if (arg2 == NULL) SWIG_fail;
5663 temp2 = True;
5664 }
5665 if (obj2) {
5666 arg3 = (bool) SWIG_AsBool(obj2);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 }
5669 {
5670 PyThreadState* __tstate = wxPyBeginAllowThreads();
5671 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5672
5673 wxPyEndAllowThreads(__tstate);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 }
5676 {
5677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5678 }
5679 {
5680 if (temp2)
5681 delete arg2;
5682 }
5683 return resultobj;
5684 fail:
5685 {
5686 if (temp2)
5687 delete arg2;
5688 }
5689 return NULL;
5690 }
5691
5692
5693 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5694 PyObject *resultobj;
5695 wxListBox *arg1 = (wxListBox *) 0 ;
5696 PyObject *result;
5697 PyObject * obj0 = 0 ;
5698 char *kwnames[] = {
5699 (char *) "self", NULL
5700 };
5701
5702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5705 {
5706 PyThreadState* __tstate = wxPyBeginAllowThreads();
5707 result = (PyObject *)wxListBox_GetSelections(arg1);
5708
5709 wxPyEndAllowThreads(__tstate);
5710 if (PyErr_Occurred()) SWIG_fail;
5711 }
5712 resultobj = result;
5713 return resultobj;
5714 fail:
5715 return NULL;
5716 }
5717
5718
5719 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5720 PyObject *resultobj;
5721 wxListBox *arg1 = (wxListBox *) 0 ;
5722 int arg2 ;
5723 PyObject * obj0 = 0 ;
5724 PyObject * obj1 = 0 ;
5725 char *kwnames[] = {
5726 (char *) "self",(char *) "n", NULL
5727 };
5728
5729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
5730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5732 arg2 = (int) SWIG_AsInt(obj1);
5733 if (PyErr_Occurred()) SWIG_fail;
5734 {
5735 PyThreadState* __tstate = wxPyBeginAllowThreads();
5736 (arg1)->SetFirstItem(arg2);
5737
5738 wxPyEndAllowThreads(__tstate);
5739 if (PyErr_Occurred()) SWIG_fail;
5740 }
5741 Py_INCREF(Py_None); resultobj = Py_None;
5742 return resultobj;
5743 fail:
5744 return NULL;
5745 }
5746
5747
5748 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5749 PyObject *resultobj;
5750 wxListBox *arg1 = (wxListBox *) 0 ;
5751 wxString *arg2 = 0 ;
5752 bool temp2 = False ;
5753 PyObject * obj0 = 0 ;
5754 PyObject * obj1 = 0 ;
5755 char *kwnames[] = {
5756 (char *) "self",(char *) "s", NULL
5757 };
5758
5759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5762 {
5763 arg2 = wxString_in_helper(obj1);
5764 if (arg2 == NULL) SWIG_fail;
5765 temp2 = True;
5766 }
5767 {
5768 PyThreadState* __tstate = wxPyBeginAllowThreads();
5769 (arg1)->SetFirstItem((wxString const &)*arg2);
5770
5771 wxPyEndAllowThreads(__tstate);
5772 if (PyErr_Occurred()) SWIG_fail;
5773 }
5774 Py_INCREF(Py_None); resultobj = Py_None;
5775 {
5776 if (temp2)
5777 delete arg2;
5778 }
5779 return resultobj;
5780 fail:
5781 {
5782 if (temp2)
5783 delete arg2;
5784 }
5785 return NULL;
5786 }
5787
5788
5789 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5790 PyObject *resultobj;
5791 wxListBox *arg1 = (wxListBox *) 0 ;
5792 int arg2 ;
5793 PyObject * obj0 = 0 ;
5794 PyObject * obj1 = 0 ;
5795 char *kwnames[] = {
5796 (char *) "self",(char *) "n", NULL
5797 };
5798
5799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5802 arg2 = (int) SWIG_AsInt(obj1);
5803 if (PyErr_Occurred()) SWIG_fail;
5804 {
5805 PyThreadState* __tstate = wxPyBeginAllowThreads();
5806 (arg1)->EnsureVisible(arg2);
5807
5808 wxPyEndAllowThreads(__tstate);
5809 if (PyErr_Occurred()) SWIG_fail;
5810 }
5811 Py_INCREF(Py_None); resultobj = Py_None;
5812 return resultobj;
5813 fail:
5814 return NULL;
5815 }
5816
5817
5818 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5819 PyObject *resultobj;
5820 wxListBox *arg1 = (wxListBox *) 0 ;
5821 wxString *arg2 = 0 ;
5822 bool temp2 = False ;
5823 PyObject * obj0 = 0 ;
5824 PyObject * obj1 = 0 ;
5825 char *kwnames[] = {
5826 (char *) "self",(char *) "s", NULL
5827 };
5828
5829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5832 {
5833 arg2 = wxString_in_helper(obj1);
5834 if (arg2 == NULL) SWIG_fail;
5835 temp2 = True;
5836 }
5837 {
5838 PyThreadState* __tstate = wxPyBeginAllowThreads();
5839 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5840
5841 wxPyEndAllowThreads(__tstate);
5842 if (PyErr_Occurred()) SWIG_fail;
5843 }
5844 Py_INCREF(Py_None); resultobj = Py_None;
5845 {
5846 if (temp2)
5847 delete arg2;
5848 }
5849 return resultobj;
5850 fail:
5851 {
5852 if (temp2)
5853 delete arg2;
5854 }
5855 return NULL;
5856 }
5857
5858
5859 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5860 PyObject *resultobj;
5861 wxListBox *arg1 = (wxListBox *) 0 ;
5862 bool result;
5863 PyObject * obj0 = 0 ;
5864 char *kwnames[] = {
5865 (char *) "self", NULL
5866 };
5867
5868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5871 {
5872 PyThreadState* __tstate = wxPyBeginAllowThreads();
5873 result = (bool)((wxListBox const *)arg1)->IsSorted();
5874
5875 wxPyEndAllowThreads(__tstate);
5876 if (PyErr_Occurred()) SWIG_fail;
5877 }
5878 {
5879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5880 }
5881 return resultobj;
5882 fail:
5883 return NULL;
5884 }
5885
5886
5887 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5888 PyObject *resultobj;
5889 wxListBox *arg1 = (wxListBox *) 0 ;
5890 int arg2 ;
5891 wxColour *arg3 = 0 ;
5892 wxColour temp3 ;
5893 PyObject * obj0 = 0 ;
5894 PyObject * obj1 = 0 ;
5895 PyObject * obj2 = 0 ;
5896 char *kwnames[] = {
5897 (char *) "self",(char *) "item",(char *) "c", NULL
5898 };
5899
5900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5903 arg2 = (int) SWIG_AsInt(obj1);
5904 if (PyErr_Occurred()) SWIG_fail;
5905 {
5906 arg3 = &temp3;
5907 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5908 }
5909 {
5910 PyThreadState* __tstate = wxPyBeginAllowThreads();
5911 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
5912
5913 wxPyEndAllowThreads(__tstate);
5914 if (PyErr_Occurred()) SWIG_fail;
5915 }
5916 Py_INCREF(Py_None); resultobj = Py_None;
5917 return resultobj;
5918 fail:
5919 return NULL;
5920 }
5921
5922
5923 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5924 PyObject *resultobj;
5925 wxListBox *arg1 = (wxListBox *) 0 ;
5926 int arg2 ;
5927 wxColour *arg3 = 0 ;
5928 wxColour temp3 ;
5929 PyObject * obj0 = 0 ;
5930 PyObject * obj1 = 0 ;
5931 PyObject * obj2 = 0 ;
5932 char *kwnames[] = {
5933 (char *) "self",(char *) "item",(char *) "c", NULL
5934 };
5935
5936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5939 arg2 = (int) SWIG_AsInt(obj1);
5940 if (PyErr_Occurred()) SWIG_fail;
5941 {
5942 arg3 = &temp3;
5943 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5944 }
5945 {
5946 PyThreadState* __tstate = wxPyBeginAllowThreads();
5947 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
5948
5949 wxPyEndAllowThreads(__tstate);
5950 if (PyErr_Occurred()) SWIG_fail;
5951 }
5952 Py_INCREF(Py_None); resultobj = Py_None;
5953 return resultobj;
5954 fail:
5955 return NULL;
5956 }
5957
5958
5959 static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5960 PyObject *resultobj;
5961 wxListBox *arg1 = (wxListBox *) 0 ;
5962 int arg2 ;
5963 wxFont *arg3 = 0 ;
5964 PyObject * obj0 = 0 ;
5965 PyObject * obj1 = 0 ;
5966 PyObject * obj2 = 0 ;
5967 char *kwnames[] = {
5968 (char *) "self",(char *) "item",(char *) "f", NULL
5969 };
5970
5971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
5972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5974 arg2 = (int) SWIG_AsInt(obj1);
5975 if (PyErr_Occurred()) SWIG_fail;
5976 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
5977 SWIG_POINTER_EXCEPTION | 0)) == -1)
5978 SWIG_fail;
5979 if (arg3 == NULL) {
5980 PyErr_SetString(PyExc_TypeError,"null reference");
5981 SWIG_fail;
5982 }
5983 {
5984 PyThreadState* __tstate = wxPyBeginAllowThreads();
5985 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
5986
5987 wxPyEndAllowThreads(__tstate);
5988 if (PyErr_Occurred()) SWIG_fail;
5989 }
5990 Py_INCREF(Py_None); resultobj = Py_None;
5991 return resultobj;
5992 fail:
5993 return NULL;
5994 }
5995
5996
5997 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5998 PyObject *obj;
5999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6000 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6001 Py_INCREF(obj);
6002 return Py_BuildValue((char *)"");
6003 }
6004 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6005 PyObject *resultobj;
6006 wxWindow *arg1 = (wxWindow *) 0 ;
6007 int arg2 ;
6008 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6009 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6010 wxSize const &arg4_defvalue = wxDefaultSize ;
6011 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6012 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6013 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6014 long arg6 = (long) 0 ;
6015 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6016 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6017 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6018 wxString *arg8 = (wxString *) &arg8_defvalue ;
6019 wxCheckListBox *result;
6020 wxPoint temp3 ;
6021 wxSize temp4 ;
6022 bool temp5 = False ;
6023 bool temp8 = False ;
6024 PyObject * obj0 = 0 ;
6025 PyObject * obj1 = 0 ;
6026 PyObject * obj2 = 0 ;
6027 PyObject * obj3 = 0 ;
6028 PyObject * obj4 = 0 ;
6029 PyObject * obj5 = 0 ;
6030 PyObject * obj6 = 0 ;
6031 PyObject * obj7 = 0 ;
6032 char *kwnames[] = {
6033 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6034 };
6035
6036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6039 arg2 = (int) SWIG_AsInt(obj1);
6040 if (PyErr_Occurred()) SWIG_fail;
6041 if (obj2) {
6042 {
6043 arg3 = &temp3;
6044 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6045 }
6046 }
6047 if (obj3) {
6048 {
6049 arg4 = &temp4;
6050 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6051 }
6052 }
6053 if (obj4) {
6054 {
6055 if (! PySequence_Check(obj4)) {
6056 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6057 SWIG_fail;
6058 }
6059 arg5 = new wxArrayString;
6060 temp5 = True;
6061 int i, len=PySequence_Length(obj4);
6062 for (i=0; i<len; i++) {
6063 PyObject* item = PySequence_GetItem(obj4, i);
6064 #if wxUSE_UNICODE
6065 PyObject* str = PyObject_Unicode(item);
6066 #else
6067 PyObject* str = PyObject_Str(item);
6068 #endif
6069 arg5->Add(Py2wxString(str));
6070 Py_DECREF(item);
6071 Py_DECREF(str);
6072 }
6073 }
6074 }
6075 if (obj5) {
6076 arg6 = (long) SWIG_AsLong(obj5);
6077 if (PyErr_Occurred()) SWIG_fail;
6078 }
6079 if (obj6) {
6080 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6081 SWIG_POINTER_EXCEPTION | 0)) == -1)
6082 SWIG_fail;
6083 if (arg7 == NULL) {
6084 PyErr_SetString(PyExc_TypeError,"null reference");
6085 SWIG_fail;
6086 }
6087 }
6088 if (obj7) {
6089 {
6090 arg8 = wxString_in_helper(obj7);
6091 if (arg8 == NULL) SWIG_fail;
6092 temp8 = True;
6093 }
6094 }
6095 {
6096 PyThreadState* __tstate = wxPyBeginAllowThreads();
6097 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6098
6099 wxPyEndAllowThreads(__tstate);
6100 if (PyErr_Occurred()) SWIG_fail;
6101 }
6102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6103 {
6104 if (temp5) delete arg5;
6105 }
6106 {
6107 if (temp8)
6108 delete arg8;
6109 }
6110 return resultobj;
6111 fail:
6112 {
6113 if (temp5) delete arg5;
6114 }
6115 {
6116 if (temp8)
6117 delete arg8;
6118 }
6119 return NULL;
6120 }
6121
6122
6123 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6124 PyObject *resultobj;
6125 wxCheckListBox *result;
6126 char *kwnames[] = {
6127 NULL
6128 };
6129
6130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6131 {
6132 PyThreadState* __tstate = wxPyBeginAllowThreads();
6133 result = (wxCheckListBox *)new wxCheckListBox();
6134
6135 wxPyEndAllowThreads(__tstate);
6136 if (PyErr_Occurred()) SWIG_fail;
6137 }
6138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6139 return resultobj;
6140 fail:
6141 return NULL;
6142 }
6143
6144
6145 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6146 PyObject *resultobj;
6147 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6148 wxWindow *arg2 = (wxWindow *) 0 ;
6149 int arg3 ;
6150 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6151 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6152 wxSize const &arg5_defvalue = wxDefaultSize ;
6153 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6154 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6155 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6156 long arg7 = (long) 0 ;
6157 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6158 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6159 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6160 wxString *arg9 = (wxString *) &arg9_defvalue ;
6161 bool result;
6162 wxPoint temp4 ;
6163 wxSize temp5 ;
6164 bool temp6 = False ;
6165 bool temp9 = False ;
6166 PyObject * obj0 = 0 ;
6167 PyObject * obj1 = 0 ;
6168 PyObject * obj2 = 0 ;
6169 PyObject * obj3 = 0 ;
6170 PyObject * obj4 = 0 ;
6171 PyObject * obj5 = 0 ;
6172 PyObject * obj6 = 0 ;
6173 PyObject * obj7 = 0 ;
6174 PyObject * obj8 = 0 ;
6175 char *kwnames[] = {
6176 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6177 };
6178
6179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6182 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6184 arg3 = (int) SWIG_AsInt(obj2);
6185 if (PyErr_Occurred()) SWIG_fail;
6186 if (obj3) {
6187 {
6188 arg4 = &temp4;
6189 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6190 }
6191 }
6192 if (obj4) {
6193 {
6194 arg5 = &temp5;
6195 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6196 }
6197 }
6198 if (obj5) {
6199 {
6200 if (! PySequence_Check(obj5)) {
6201 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6202 SWIG_fail;
6203 }
6204 arg6 = new wxArrayString;
6205 temp6 = True;
6206 int i, len=PySequence_Length(obj5);
6207 for (i=0; i<len; i++) {
6208 PyObject* item = PySequence_GetItem(obj5, i);
6209 #if wxUSE_UNICODE
6210 PyObject* str = PyObject_Unicode(item);
6211 #else
6212 PyObject* str = PyObject_Str(item);
6213 #endif
6214 arg6->Add(Py2wxString(str));
6215 Py_DECREF(item);
6216 Py_DECREF(str);
6217 }
6218 }
6219 }
6220 if (obj6) {
6221 arg7 = (long) SWIG_AsLong(obj6);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
6224 if (obj7) {
6225 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6226 SWIG_POINTER_EXCEPTION | 0)) == -1)
6227 SWIG_fail;
6228 if (arg8 == NULL) {
6229 PyErr_SetString(PyExc_TypeError,"null reference");
6230 SWIG_fail;
6231 }
6232 }
6233 if (obj8) {
6234 {
6235 arg9 = wxString_in_helper(obj8);
6236 if (arg9 == NULL) SWIG_fail;
6237 temp9 = True;
6238 }
6239 }
6240 {
6241 PyThreadState* __tstate = wxPyBeginAllowThreads();
6242 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6243
6244 wxPyEndAllowThreads(__tstate);
6245 if (PyErr_Occurred()) SWIG_fail;
6246 }
6247 {
6248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6249 }
6250 {
6251 if (temp6) delete arg6;
6252 }
6253 {
6254 if (temp9)
6255 delete arg9;
6256 }
6257 return resultobj;
6258 fail:
6259 {
6260 if (temp6) delete arg6;
6261 }
6262 {
6263 if (temp9)
6264 delete arg9;
6265 }
6266 return NULL;
6267 }
6268
6269
6270 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6271 PyObject *resultobj;
6272 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6273 int arg2 ;
6274 bool result;
6275 PyObject * obj0 = 0 ;
6276 PyObject * obj1 = 0 ;
6277 char *kwnames[] = {
6278 (char *) "self",(char *) "index", NULL
6279 };
6280
6281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6284 arg2 = (int) SWIG_AsInt(obj1);
6285 if (PyErr_Occurred()) SWIG_fail;
6286 {
6287 PyThreadState* __tstate = wxPyBeginAllowThreads();
6288 result = (bool)(arg1)->IsChecked(arg2);
6289
6290 wxPyEndAllowThreads(__tstate);
6291 if (PyErr_Occurred()) SWIG_fail;
6292 }
6293 {
6294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6295 }
6296 return resultobj;
6297 fail:
6298 return NULL;
6299 }
6300
6301
6302 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6303 PyObject *resultobj;
6304 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6305 int arg2 ;
6306 int arg3 = (int) True ;
6307 PyObject * obj0 = 0 ;
6308 PyObject * obj1 = 0 ;
6309 PyObject * obj2 = 0 ;
6310 char *kwnames[] = {
6311 (char *) "self",(char *) "index",(char *) "check", NULL
6312 };
6313
6314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6317 arg2 = (int) SWIG_AsInt(obj1);
6318 if (PyErr_Occurred()) SWIG_fail;
6319 if (obj2) {
6320 arg3 = (int) SWIG_AsInt(obj2);
6321 if (PyErr_Occurred()) SWIG_fail;
6322 }
6323 {
6324 PyThreadState* __tstate = wxPyBeginAllowThreads();
6325 (arg1)->Check(arg2,arg3);
6326
6327 wxPyEndAllowThreads(__tstate);
6328 if (PyErr_Occurred()) SWIG_fail;
6329 }
6330 Py_INCREF(Py_None); resultobj = Py_None;
6331 return resultobj;
6332 fail:
6333 return NULL;
6334 }
6335
6336
6337 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6338 PyObject *resultobj;
6339 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6340 int result;
6341 PyObject * obj0 = 0 ;
6342 char *kwnames[] = {
6343 (char *) "self", NULL
6344 };
6345
6346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
6347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6349 {
6350 PyThreadState* __tstate = wxPyBeginAllowThreads();
6351 result = (int)(arg1)->GetItemHeight();
6352
6353 wxPyEndAllowThreads(__tstate);
6354 if (PyErr_Occurred()) SWIG_fail;
6355 }
6356 resultobj = SWIG_FromInt((int)result);
6357 return resultobj;
6358 fail:
6359 return NULL;
6360 }
6361
6362
6363 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6364 PyObject *resultobj;
6365 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6366 wxPoint *arg2 = 0 ;
6367 int result;
6368 wxPoint temp2 ;
6369 PyObject * obj0 = 0 ;
6370 PyObject * obj1 = 0 ;
6371 char *kwnames[] = {
6372 (char *) "self",(char *) "pt", NULL
6373 };
6374
6375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6378 {
6379 arg2 = &temp2;
6380 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6381 }
6382 {
6383 PyThreadState* __tstate = wxPyBeginAllowThreads();
6384 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6385
6386 wxPyEndAllowThreads(__tstate);
6387 if (PyErr_Occurred()) SWIG_fail;
6388 }
6389 resultobj = SWIG_FromInt((int)result);
6390 return resultobj;
6391 fail:
6392 return NULL;
6393 }
6394
6395
6396 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6397 PyObject *resultobj;
6398 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6399 int arg2 ;
6400 int arg3 ;
6401 int result;
6402 PyObject * obj0 = 0 ;
6403 PyObject * obj1 = 0 ;
6404 PyObject * obj2 = 0 ;
6405 char *kwnames[] = {
6406 (char *) "self",(char *) "x",(char *) "y", NULL
6407 };
6408
6409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6412 arg2 = (int) SWIG_AsInt(obj1);
6413 if (PyErr_Occurred()) SWIG_fail;
6414 arg3 = (int) SWIG_AsInt(obj2);
6415 if (PyErr_Occurred()) SWIG_fail;
6416 {
6417 PyThreadState* __tstate = wxPyBeginAllowThreads();
6418 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6419
6420 wxPyEndAllowThreads(__tstate);
6421 if (PyErr_Occurred()) SWIG_fail;
6422 }
6423 resultobj = SWIG_FromInt((int)result);
6424 return resultobj;
6425 fail:
6426 return NULL;
6427 }
6428
6429
6430 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6431 PyObject *obj;
6432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6433 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6434 Py_INCREF(obj);
6435 return Py_BuildValue((char *)"");
6436 }
6437 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6438 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6439 return 1;
6440 }
6441
6442
6443 static PyObject *_wrap_TextCtrlNameStr_get() {
6444 PyObject *pyobj;
6445
6446 {
6447 #if wxUSE_UNICODE
6448 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6449 #else
6450 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6451 #endif
6452 }
6453 return pyobj;
6454 }
6455
6456
6457 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6458 PyObject *resultobj;
6459 wxTextAttr *result;
6460
6461 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6462 {
6463 PyThreadState* __tstate = wxPyBeginAllowThreads();
6464 result = (wxTextAttr *)new wxTextAttr();
6465
6466 wxPyEndAllowThreads(__tstate);
6467 if (PyErr_Occurred()) SWIG_fail;
6468 }
6469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6470 return resultobj;
6471 fail:
6472 return NULL;
6473 }
6474
6475
6476 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
6477 PyObject *resultobj;
6478 wxColour *arg1 = 0 ;
6479 wxColour const &arg2_defvalue = wxNullColour ;
6480 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6481 wxFont const &arg3_defvalue = wxNullFont ;
6482 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6483 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6484 wxTextAttr *result;
6485 wxColour temp1 ;
6486 wxColour temp2 ;
6487 PyObject * obj0 = 0 ;
6488 PyObject * obj1 = 0 ;
6489 PyObject * obj2 = 0 ;
6490 PyObject * obj3 = 0 ;
6491
6492 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6493 {
6494 arg1 = &temp1;
6495 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6496 }
6497 if (obj1) {
6498 {
6499 arg2 = &temp2;
6500 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6501 }
6502 }
6503 if (obj2) {
6504 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6505 SWIG_POINTER_EXCEPTION | 0)) == -1)
6506 SWIG_fail;
6507 if (arg3 == NULL) {
6508 PyErr_SetString(PyExc_TypeError,"null reference");
6509 SWIG_fail;
6510 }
6511 }
6512 if (obj3) {
6513 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
6514 if (PyErr_Occurred()) SWIG_fail;
6515 }
6516 {
6517 PyThreadState* __tstate = wxPyBeginAllowThreads();
6518 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6519
6520 wxPyEndAllowThreads(__tstate);
6521 if (PyErr_Occurred()) SWIG_fail;
6522 }
6523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6524 return resultobj;
6525 fail:
6526 return NULL;
6527 }
6528
6529
6530 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6531 int argc;
6532 PyObject *argv[5];
6533 int ii;
6534
6535 argc = PyObject_Length(args);
6536 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6537 argv[ii] = PyTuple_GetItem(args,ii);
6538 }
6539 if (argc == 0) {
6540 return _wrap_new_TextAttr__SWIG_0(self,args);
6541 }
6542 if ((argc >= 1) && (argc <= 4)) {
6543 int _v;
6544 {
6545 _v = wxColour_typecheck(argv[0]);
6546 }
6547 if (_v) {
6548 if (argc <= 1) {
6549 return _wrap_new_TextAttr__SWIG_1(self,args);
6550 }
6551 {
6552 _v = wxColour_typecheck(argv[1]);
6553 }
6554 if (_v) {
6555 if (argc <= 2) {
6556 return _wrap_new_TextAttr__SWIG_1(self,args);
6557 }
6558 {
6559 void *ptr;
6560 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
6561 _v = 0;
6562 PyErr_Clear();
6563 } else {
6564 _v = 1;
6565 }
6566 }
6567 if (_v) {
6568 if (argc <= 3) {
6569 return _wrap_new_TextAttr__SWIG_1(self,args);
6570 }
6571 _v = SWIG_CheckInt(argv[3]);
6572 if (_v) {
6573 return _wrap_new_TextAttr__SWIG_1(self,args);
6574 }
6575 }
6576 }
6577 }
6578 }
6579
6580 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6581 return NULL;
6582 }
6583
6584
6585 static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6586 PyObject *resultobj;
6587 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6588 PyObject * obj0 = 0 ;
6589 char *kwnames[] = {
6590 (char *) "self", NULL
6591 };
6592
6593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
6594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6596 {
6597 PyThreadState* __tstate = wxPyBeginAllowThreads();
6598 delete arg1;
6599
6600 wxPyEndAllowThreads(__tstate);
6601 if (PyErr_Occurred()) SWIG_fail;
6602 }
6603 Py_INCREF(Py_None); resultobj = Py_None;
6604 return resultobj;
6605 fail:
6606 return NULL;
6607 }
6608
6609
6610 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
6611 PyObject *resultobj;
6612 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6613 PyObject * obj0 = 0 ;
6614 char *kwnames[] = {
6615 (char *) "self", NULL
6616 };
6617
6618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
6619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6621 {
6622 PyThreadState* __tstate = wxPyBeginAllowThreads();
6623 (arg1)->Init();
6624
6625 wxPyEndAllowThreads(__tstate);
6626 if (PyErr_Occurred()) SWIG_fail;
6627 }
6628 Py_INCREF(Py_None); resultobj = Py_None;
6629 return resultobj;
6630 fail:
6631 return NULL;
6632 }
6633
6634
6635 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6636 PyObject *resultobj;
6637 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6638 wxColour *arg2 = 0 ;
6639 wxColour temp2 ;
6640 PyObject * obj0 = 0 ;
6641 PyObject * obj1 = 0 ;
6642 char *kwnames[] = {
6643 (char *) "self",(char *) "colText", NULL
6644 };
6645
6646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
6647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6649 {
6650 arg2 = &temp2;
6651 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6652 }
6653 {
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 (arg1)->SetTextColour((wxColour const &)*arg2);
6656
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 Py_INCREF(Py_None); resultobj = Py_None;
6661 return resultobj;
6662 fail:
6663 return NULL;
6664 }
6665
6666
6667 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6668 PyObject *resultobj;
6669 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6670 wxColour *arg2 = 0 ;
6671 wxColour temp2 ;
6672 PyObject * obj0 = 0 ;
6673 PyObject * obj1 = 0 ;
6674 char *kwnames[] = {
6675 (char *) "self",(char *) "colBack", NULL
6676 };
6677
6678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6681 {
6682 arg2 = &temp2;
6683 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6684 }
6685 {
6686 PyThreadState* __tstate = wxPyBeginAllowThreads();
6687 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6688
6689 wxPyEndAllowThreads(__tstate);
6690 if (PyErr_Occurred()) SWIG_fail;
6691 }
6692 Py_INCREF(Py_None); resultobj = Py_None;
6693 return resultobj;
6694 fail:
6695 return NULL;
6696 }
6697
6698
6699 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6700 PyObject *resultobj;
6701 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6702 wxFont *arg2 = 0 ;
6703 long arg3 = (long) wxTEXT_ATTR_FONT ;
6704 PyObject * obj0 = 0 ;
6705 PyObject * obj1 = 0 ;
6706 PyObject * obj2 = 0 ;
6707 char *kwnames[] = {
6708 (char *) "self",(char *) "font",(char *) "flags", NULL
6709 };
6710
6711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6714 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
6715 SWIG_POINTER_EXCEPTION | 0)) == -1)
6716 SWIG_fail;
6717 if (arg2 == NULL) {
6718 PyErr_SetString(PyExc_TypeError,"null reference");
6719 SWIG_fail;
6720 }
6721 if (obj2) {
6722 arg3 = (long) SWIG_AsLong(obj2);
6723 if (PyErr_Occurred()) SWIG_fail;
6724 }
6725 {
6726 PyThreadState* __tstate = wxPyBeginAllowThreads();
6727 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6728
6729 wxPyEndAllowThreads(__tstate);
6730 if (PyErr_Occurred()) SWIG_fail;
6731 }
6732 Py_INCREF(Py_None); resultobj = Py_None;
6733 return resultobj;
6734 fail:
6735 return NULL;
6736 }
6737
6738
6739 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6740 PyObject *resultobj;
6741 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6742 int arg2 ;
6743 PyObject * obj0 = 0 ;
6744 PyObject * obj1 = 0 ;
6745 char *kwnames[] = {
6746 (char *) "self",(char *) "alignment", NULL
6747 };
6748
6749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
6750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6752 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
6753 if (PyErr_Occurred()) SWIG_fail;
6754 {
6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
6756 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6757
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 Py_INCREF(Py_None); resultobj = Py_None;
6762 return resultobj;
6763 fail:
6764 return NULL;
6765 }
6766
6767
6768 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6769 PyObject *resultobj;
6770 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6771 wxArrayInt *arg2 = 0 ;
6772 bool temp2 = False ;
6773 PyObject * obj0 = 0 ;
6774 PyObject * obj1 = 0 ;
6775 char *kwnames[] = {
6776 (char *) "self",(char *) "tabs", NULL
6777 };
6778
6779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6782 {
6783 if (! PySequence_Check(obj1)) {
6784 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6785 SWIG_fail;
6786 }
6787 arg2 = new wxArrayInt;
6788 temp2 = True;
6789 int i, len=PySequence_Length(obj1);
6790 for (i=0; i<len; i++) {
6791 PyObject* item = PySequence_GetItem(obj1, i);
6792 PyObject* number = PyNumber_Int(item);
6793 arg2->Add(PyInt_AS_LONG(number));
6794 Py_DECREF(item);
6795 Py_DECREF(number);
6796 }
6797 }
6798 {
6799 PyThreadState* __tstate = wxPyBeginAllowThreads();
6800 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6801
6802 wxPyEndAllowThreads(__tstate);
6803 if (PyErr_Occurred()) SWIG_fail;
6804 }
6805 Py_INCREF(Py_None); resultobj = Py_None;
6806 {
6807 if (temp2) delete arg2;
6808 }
6809 return resultobj;
6810 fail:
6811 {
6812 if (temp2) delete arg2;
6813 }
6814 return NULL;
6815 }
6816
6817
6818 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6819 PyObject *resultobj;
6820 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6821 int arg2 ;
6822 PyObject * obj0 = 0 ;
6823 PyObject * obj1 = 0 ;
6824 char *kwnames[] = {
6825 (char *) "self",(char *) "indent", NULL
6826 };
6827
6828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
6829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6831 arg2 = (int) SWIG_AsInt(obj1);
6832 if (PyErr_Occurred()) SWIG_fail;
6833 {
6834 PyThreadState* __tstate = wxPyBeginAllowThreads();
6835 (arg1)->SetLeftIndent(arg2);
6836
6837 wxPyEndAllowThreads(__tstate);
6838 if (PyErr_Occurred()) SWIG_fail;
6839 }
6840 Py_INCREF(Py_None); resultobj = Py_None;
6841 return resultobj;
6842 fail:
6843 return NULL;
6844 }
6845
6846
6847 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6848 PyObject *resultobj;
6849 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6850 int arg2 ;
6851 PyObject * obj0 = 0 ;
6852 PyObject * obj1 = 0 ;
6853 char *kwnames[] = {
6854 (char *) "self",(char *) "indent", NULL
6855 };
6856
6857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
6858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6860 arg2 = (int) SWIG_AsInt(obj1);
6861 if (PyErr_Occurred()) SWIG_fail;
6862 {
6863 PyThreadState* __tstate = wxPyBeginAllowThreads();
6864 (arg1)->SetRightIndent(arg2);
6865
6866 wxPyEndAllowThreads(__tstate);
6867 if (PyErr_Occurred()) SWIG_fail;
6868 }
6869 Py_INCREF(Py_None); resultobj = Py_None;
6870 return resultobj;
6871 fail:
6872 return NULL;
6873 }
6874
6875
6876 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6877 PyObject *resultobj;
6878 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6879 long arg2 ;
6880 PyObject * obj0 = 0 ;
6881 PyObject * obj1 = 0 ;
6882 char *kwnames[] = {
6883 (char *) "self",(char *) "flags", NULL
6884 };
6885
6886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
6887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6889 arg2 = (long) SWIG_AsLong(obj1);
6890 if (PyErr_Occurred()) SWIG_fail;
6891 {
6892 PyThreadState* __tstate = wxPyBeginAllowThreads();
6893 (arg1)->SetFlags(arg2);
6894
6895 wxPyEndAllowThreads(__tstate);
6896 if (PyErr_Occurred()) SWIG_fail;
6897 }
6898 Py_INCREF(Py_None); resultobj = Py_None;
6899 return resultobj;
6900 fail:
6901 return NULL;
6902 }
6903
6904
6905 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6906 PyObject *resultobj;
6907 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6908 bool result;
6909 PyObject * obj0 = 0 ;
6910 char *kwnames[] = {
6911 (char *) "self", NULL
6912 };
6913
6914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6917 {
6918 PyThreadState* __tstate = wxPyBeginAllowThreads();
6919 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6920
6921 wxPyEndAllowThreads(__tstate);
6922 if (PyErr_Occurred()) SWIG_fail;
6923 }
6924 {
6925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6926 }
6927 return resultobj;
6928 fail:
6929 return NULL;
6930 }
6931
6932
6933 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6934 PyObject *resultobj;
6935 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6936 bool result;
6937 PyObject * obj0 = 0 ;
6938 char *kwnames[] = {
6939 (char *) "self", NULL
6940 };
6941
6942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
6943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6945 {
6946 PyThreadState* __tstate = wxPyBeginAllowThreads();
6947 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6948
6949 wxPyEndAllowThreads(__tstate);
6950 if (PyErr_Occurred()) SWIG_fail;
6951 }
6952 {
6953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6954 }
6955 return resultobj;
6956 fail:
6957 return NULL;
6958 }
6959
6960
6961 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6962 PyObject *resultobj;
6963 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6964 bool result;
6965 PyObject * obj0 = 0 ;
6966 char *kwnames[] = {
6967 (char *) "self", NULL
6968 };
6969
6970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6973 {
6974 PyThreadState* __tstate = wxPyBeginAllowThreads();
6975 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6976
6977 wxPyEndAllowThreads(__tstate);
6978 if (PyErr_Occurred()) SWIG_fail;
6979 }
6980 {
6981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6982 }
6983 return resultobj;
6984 fail:
6985 return NULL;
6986 }
6987
6988
6989 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6990 PyObject *resultobj;
6991 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6992 bool result;
6993 PyObject * obj0 = 0 ;
6994 char *kwnames[] = {
6995 (char *) "self", NULL
6996 };
6997
6998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7001 {
7002 PyThreadState* __tstate = wxPyBeginAllowThreads();
7003 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7004
7005 wxPyEndAllowThreads(__tstate);
7006 if (PyErr_Occurred()) SWIG_fail;
7007 }
7008 {
7009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7010 }
7011 return resultobj;
7012 fail:
7013 return NULL;
7014 }
7015
7016
7017 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7018 PyObject *resultobj;
7019 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7020 bool result;
7021 PyObject * obj0 = 0 ;
7022 char *kwnames[] = {
7023 (char *) "self", NULL
7024 };
7025
7026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
7027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7029 {
7030 PyThreadState* __tstate = wxPyBeginAllowThreads();
7031 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7032
7033 wxPyEndAllowThreads(__tstate);
7034 if (PyErr_Occurred()) SWIG_fail;
7035 }
7036 {
7037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7038 }
7039 return resultobj;
7040 fail:
7041 return NULL;
7042 }
7043
7044
7045 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7046 PyObject *resultobj;
7047 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7048 bool result;
7049 PyObject * obj0 = 0 ;
7050 char *kwnames[] = {
7051 (char *) "self", NULL
7052 };
7053
7054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
7055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7057 {
7058 PyThreadState* __tstate = wxPyBeginAllowThreads();
7059 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7060
7061 wxPyEndAllowThreads(__tstate);
7062 if (PyErr_Occurred()) SWIG_fail;
7063 }
7064 {
7065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7066 }
7067 return resultobj;
7068 fail:
7069 return NULL;
7070 }
7071
7072
7073 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7074 PyObject *resultobj;
7075 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7076 bool result;
7077 PyObject * obj0 = 0 ;
7078 char *kwnames[] = {
7079 (char *) "self", NULL
7080 };
7081
7082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",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 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7088
7089 wxPyEndAllowThreads(__tstate);
7090 if (PyErr_Occurred()) SWIG_fail;
7091 }
7092 {
7093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7094 }
7095 return resultobj;
7096 fail:
7097 return NULL;
7098 }
7099
7100
7101 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
7102 PyObject *resultobj;
7103 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7104 long arg2 ;
7105 bool result;
7106 PyObject * obj0 = 0 ;
7107 PyObject * obj1 = 0 ;
7108 char *kwnames[] = {
7109 (char *) "self",(char *) "flag", NULL
7110 };
7111
7112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7115 arg2 = (long) SWIG_AsLong(obj1);
7116 if (PyErr_Occurred()) SWIG_fail;
7117 {
7118 PyThreadState* __tstate = wxPyBeginAllowThreads();
7119 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7120
7121 wxPyEndAllowThreads(__tstate);
7122 if (PyErr_Occurred()) SWIG_fail;
7123 }
7124 {
7125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7126 }
7127 return resultobj;
7128 fail:
7129 return NULL;
7130 }
7131
7132
7133 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7134 PyObject *resultobj;
7135 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7136 wxColour *result;
7137 PyObject * obj0 = 0 ;
7138 char *kwnames[] = {
7139 (char *) "self", NULL
7140 };
7141
7142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7145 {
7146 PyThreadState* __tstate = wxPyBeginAllowThreads();
7147 {
7148 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7149 result = (wxColour *) &_result_ref;
7150 }
7151
7152 wxPyEndAllowThreads(__tstate);
7153 if (PyErr_Occurred()) SWIG_fail;
7154 }
7155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7156 return resultobj;
7157 fail:
7158 return NULL;
7159 }
7160
7161
7162 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7163 PyObject *resultobj;
7164 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7165 wxColour *result;
7166 PyObject * obj0 = 0 ;
7167 char *kwnames[] = {
7168 (char *) "self", NULL
7169 };
7170
7171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 {
7177 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7178 result = (wxColour *) &_result_ref;
7179 }
7180
7181 wxPyEndAllowThreads(__tstate);
7182 if (PyErr_Occurred()) SWIG_fail;
7183 }
7184 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7185 return resultobj;
7186 fail:
7187 return NULL;
7188 }
7189
7190
7191 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7192 PyObject *resultobj;
7193 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7194 wxFont *result;
7195 PyObject * obj0 = 0 ;
7196 char *kwnames[] = {
7197 (char *) "self", NULL
7198 };
7199
7200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7203 {
7204 PyThreadState* __tstate = wxPyBeginAllowThreads();
7205 {
7206 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7207 result = (wxFont *) &_result_ref;
7208 }
7209
7210 wxPyEndAllowThreads(__tstate);
7211 if (PyErr_Occurred()) SWIG_fail;
7212 }
7213 {
7214 wxFont* resultptr = new wxFont(*result);
7215 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7216 }
7217 return resultobj;
7218 fail:
7219 return NULL;
7220 }
7221
7222
7223 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7224 PyObject *resultobj;
7225 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7226 int result;
7227 PyObject * obj0 = 0 ;
7228 char *kwnames[] = {
7229 (char *) "self", NULL
7230 };
7231
7232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",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 = (int)((wxTextAttr const *)arg1)->GetAlignment();
7238
7239 wxPyEndAllowThreads(__tstate);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 }
7242 resultobj = SWIG_FromInt((int)result);
7243 return resultobj;
7244 fail:
7245 return NULL;
7246 }
7247
7248
7249 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7250 PyObject *resultobj;
7251 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7252 wxArrayInt *result;
7253 PyObject * obj0 = 0 ;
7254 char *kwnames[] = {
7255 (char *) "self", NULL
7256 };
7257
7258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",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 {
7264 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7265 result = (wxArrayInt *) &_result_ref;
7266 }
7267
7268 wxPyEndAllowThreads(__tstate);
7269 if (PyErr_Occurred()) SWIG_fail;
7270 }
7271 {
7272 resultobj = PyList_New(0);
7273 size_t idx;
7274 for (idx = 0; idx < result->GetCount(); idx += 1) {
7275 PyObject* val = PyInt_FromLong( result->Item(idx) );
7276 PyList_Append(resultobj, val);
7277 Py_DECREF(val);
7278 }
7279 }
7280 return resultobj;
7281 fail:
7282 return NULL;
7283 }
7284
7285
7286 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7287 PyObject *resultobj;
7288 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7289 long result;
7290 PyObject * obj0 = 0 ;
7291 char *kwnames[] = {
7292 (char *) "self", NULL
7293 };
7294
7295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7298 {
7299 PyThreadState* __tstate = wxPyBeginAllowThreads();
7300 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7301
7302 wxPyEndAllowThreads(__tstate);
7303 if (PyErr_Occurred()) SWIG_fail;
7304 }
7305 resultobj = SWIG_FromLong((long)result);
7306 return resultobj;
7307 fail:
7308 return NULL;
7309 }
7310
7311
7312 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7313 PyObject *resultobj;
7314 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7315 long result;
7316 PyObject * obj0 = 0 ;
7317 char *kwnames[] = {
7318 (char *) "self", NULL
7319 };
7320
7321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7324 {
7325 PyThreadState* __tstate = wxPyBeginAllowThreads();
7326 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7327
7328 wxPyEndAllowThreads(__tstate);
7329 if (PyErr_Occurred()) SWIG_fail;
7330 }
7331 resultobj = SWIG_FromLong((long)result);
7332 return resultobj;
7333 fail:
7334 return NULL;
7335 }
7336
7337
7338 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7339 PyObject *resultobj;
7340 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7341 long result;
7342 PyObject * obj0 = 0 ;
7343 char *kwnames[] = {
7344 (char *) "self", NULL
7345 };
7346
7347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7350 {
7351 PyThreadState* __tstate = wxPyBeginAllowThreads();
7352 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7353
7354 wxPyEndAllowThreads(__tstate);
7355 if (PyErr_Occurred()) SWIG_fail;
7356 }
7357 resultobj = SWIG_FromLong((long)result);
7358 return resultobj;
7359 fail:
7360 return NULL;
7361 }
7362
7363
7364 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7365 PyObject *resultobj;
7366 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7367 bool result;
7368 PyObject * obj0 = 0 ;
7369 char *kwnames[] = {
7370 (char *) "self", NULL
7371 };
7372
7373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7376 {
7377 PyThreadState* __tstate = wxPyBeginAllowThreads();
7378 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7379
7380 wxPyEndAllowThreads(__tstate);
7381 if (PyErr_Occurred()) SWIG_fail;
7382 }
7383 {
7384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7385 }
7386 return resultobj;
7387 fail:
7388 return NULL;
7389 }
7390
7391
7392 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7393 PyObject *resultobj;
7394 wxTextAttr *arg1 = 0 ;
7395 wxTextAttr *arg2 = 0 ;
7396 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7397 wxTextAttr result;
7398 PyObject * obj0 = 0 ;
7399 PyObject * obj1 = 0 ;
7400 PyObject * obj2 = 0 ;
7401 char *kwnames[] = {
7402 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7403 };
7404
7405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7407 SWIG_POINTER_EXCEPTION | 0)) == -1)
7408 SWIG_fail;
7409 if (arg1 == NULL) {
7410 PyErr_SetString(PyExc_TypeError,"null reference");
7411 SWIG_fail;
7412 }
7413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7414 SWIG_POINTER_EXCEPTION | 0)) == -1)
7415 SWIG_fail;
7416 if (arg2 == NULL) {
7417 PyErr_SetString(PyExc_TypeError,"null reference");
7418 SWIG_fail;
7419 }
7420 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7422 {
7423 PyThreadState* __tstate = wxPyBeginAllowThreads();
7424 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7425
7426 wxPyEndAllowThreads(__tstate);
7427 if (PyErr_Occurred()) SWIG_fail;
7428 }
7429 {
7430 wxTextAttr * resultptr;
7431 resultptr = new wxTextAttr((wxTextAttr &) result);
7432 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
7433 }
7434 return resultobj;
7435 fail:
7436 return NULL;
7437 }
7438
7439
7440 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7441 PyObject *obj;
7442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7443 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7444 Py_INCREF(obj);
7445 return Py_BuildValue((char *)"");
7446 }
7447 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7448 PyObject *resultobj;
7449 wxWindow *arg1 = (wxWindow *) 0 ;
7450 int arg2 ;
7451 wxString const &arg3_defvalue = wxPyEmptyString ;
7452 wxString *arg3 = (wxString *) &arg3_defvalue ;
7453 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7454 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7455 wxSize const &arg5_defvalue = wxDefaultSize ;
7456 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7457 long arg6 = (long) 0 ;
7458 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7459 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7460 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7461 wxString *arg8 = (wxString *) &arg8_defvalue ;
7462 wxTextCtrl *result;
7463 bool temp3 = False ;
7464 wxPoint temp4 ;
7465 wxSize temp5 ;
7466 bool temp8 = False ;
7467 PyObject * obj0 = 0 ;
7468 PyObject * obj1 = 0 ;
7469 PyObject * obj2 = 0 ;
7470 PyObject * obj3 = 0 ;
7471 PyObject * obj4 = 0 ;
7472 PyObject * obj5 = 0 ;
7473 PyObject * obj6 = 0 ;
7474 PyObject * obj7 = 0 ;
7475 char *kwnames[] = {
7476 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7482 arg2 = (int) SWIG_AsInt(obj1);
7483 if (PyErr_Occurred()) SWIG_fail;
7484 if (obj2) {
7485 {
7486 arg3 = wxString_in_helper(obj2);
7487 if (arg3 == NULL) SWIG_fail;
7488 temp3 = True;
7489 }
7490 }
7491 if (obj3) {
7492 {
7493 arg4 = &temp4;
7494 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7495 }
7496 }
7497 if (obj4) {
7498 {
7499 arg5 = &temp5;
7500 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7501 }
7502 }
7503 if (obj5) {
7504 arg6 = (long) SWIG_AsLong(obj5);
7505 if (PyErr_Occurred()) SWIG_fail;
7506 }
7507 if (obj6) {
7508 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
7509 SWIG_POINTER_EXCEPTION | 0)) == -1)
7510 SWIG_fail;
7511 if (arg7 == NULL) {
7512 PyErr_SetString(PyExc_TypeError,"null reference");
7513 SWIG_fail;
7514 }
7515 }
7516 if (obj7) {
7517 {
7518 arg8 = wxString_in_helper(obj7);
7519 if (arg8 == NULL) SWIG_fail;
7520 temp8 = True;
7521 }
7522 }
7523 {
7524 PyThreadState* __tstate = wxPyBeginAllowThreads();
7525 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7526
7527 wxPyEndAllowThreads(__tstate);
7528 if (PyErr_Occurred()) SWIG_fail;
7529 }
7530 {
7531 resultobj = wxPyMake_wxObject(result);
7532 }
7533 {
7534 if (temp3)
7535 delete arg3;
7536 }
7537 {
7538 if (temp8)
7539 delete arg8;
7540 }
7541 return resultobj;
7542 fail:
7543 {
7544 if (temp3)
7545 delete arg3;
7546 }
7547 {
7548 if (temp8)
7549 delete arg8;
7550 }
7551 return NULL;
7552 }
7553
7554
7555 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7556 PyObject *resultobj;
7557 wxTextCtrl *result;
7558 char *kwnames[] = {
7559 NULL
7560 };
7561
7562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7563 {
7564 PyThreadState* __tstate = wxPyBeginAllowThreads();
7565 result = (wxTextCtrl *)new wxTextCtrl();
7566
7567 wxPyEndAllowThreads(__tstate);
7568 if (PyErr_Occurred()) SWIG_fail;
7569 }
7570 {
7571 resultobj = wxPyMake_wxObject(result);
7572 }
7573 return resultobj;
7574 fail:
7575 return NULL;
7576 }
7577
7578
7579 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7580 PyObject *resultobj;
7581 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7582 wxWindow *arg2 = (wxWindow *) 0 ;
7583 int arg3 ;
7584 wxString const &arg4_defvalue = wxPyEmptyString ;
7585 wxString *arg4 = (wxString *) &arg4_defvalue ;
7586 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7587 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7588 wxSize const &arg6_defvalue = wxDefaultSize ;
7589 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7590 long arg7 = (long) 0 ;
7591 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7592 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7593 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7594 wxString *arg9 = (wxString *) &arg9_defvalue ;
7595 bool result;
7596 bool temp4 = False ;
7597 wxPoint temp5 ;
7598 wxSize temp6 ;
7599 bool temp9 = False ;
7600 PyObject * obj0 = 0 ;
7601 PyObject * obj1 = 0 ;
7602 PyObject * obj2 = 0 ;
7603 PyObject * obj3 = 0 ;
7604 PyObject * obj4 = 0 ;
7605 PyObject * obj5 = 0 ;
7606 PyObject * obj6 = 0 ;
7607 PyObject * obj7 = 0 ;
7608 PyObject * obj8 = 0 ;
7609 char *kwnames[] = {
7610 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7611 };
7612
7613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7616 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7618 arg3 = (int) SWIG_AsInt(obj2);
7619 if (PyErr_Occurred()) SWIG_fail;
7620 if (obj3) {
7621 {
7622 arg4 = wxString_in_helper(obj3);
7623 if (arg4 == NULL) SWIG_fail;
7624 temp4 = True;
7625 }
7626 }
7627 if (obj4) {
7628 {
7629 arg5 = &temp5;
7630 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7631 }
7632 }
7633 if (obj5) {
7634 {
7635 arg6 = &temp6;
7636 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7637 }
7638 }
7639 if (obj6) {
7640 arg7 = (long) SWIG_AsLong(obj6);
7641 if (PyErr_Occurred()) SWIG_fail;
7642 }
7643 if (obj7) {
7644 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
7645 SWIG_POINTER_EXCEPTION | 0)) == -1)
7646 SWIG_fail;
7647 if (arg8 == NULL) {
7648 PyErr_SetString(PyExc_TypeError,"null reference");
7649 SWIG_fail;
7650 }
7651 }
7652 if (obj8) {
7653 {
7654 arg9 = wxString_in_helper(obj8);
7655 if (arg9 == NULL) SWIG_fail;
7656 temp9 = True;
7657 }
7658 }
7659 {
7660 PyThreadState* __tstate = wxPyBeginAllowThreads();
7661 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7662
7663 wxPyEndAllowThreads(__tstate);
7664 if (PyErr_Occurred()) SWIG_fail;
7665 }
7666 {
7667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7668 }
7669 {
7670 if (temp4)
7671 delete arg4;
7672 }
7673 {
7674 if (temp9)
7675 delete arg9;
7676 }
7677 return resultobj;
7678 fail:
7679 {
7680 if (temp4)
7681 delete arg4;
7682 }
7683 {
7684 if (temp9)
7685 delete arg9;
7686 }
7687 return NULL;
7688 }
7689
7690
7691 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7692 PyObject *resultobj;
7693 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7694 wxString result;
7695 PyObject * obj0 = 0 ;
7696 char *kwnames[] = {
7697 (char *) "self", NULL
7698 };
7699
7700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
7701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7703 {
7704 PyThreadState* __tstate = wxPyBeginAllowThreads();
7705 result = ((wxTextCtrl const *)arg1)->GetValue();
7706
7707 wxPyEndAllowThreads(__tstate);
7708 if (PyErr_Occurred()) SWIG_fail;
7709 }
7710 {
7711 #if wxUSE_UNICODE
7712 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7713 #else
7714 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7715 #endif
7716 }
7717 return resultobj;
7718 fail:
7719 return NULL;
7720 }
7721
7722
7723 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7724 PyObject *resultobj;
7725 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7726 wxString *arg2 = 0 ;
7727 bool temp2 = False ;
7728 PyObject * obj0 = 0 ;
7729 PyObject * obj1 = 0 ;
7730 char *kwnames[] = {
7731 (char *) "self",(char *) "value", NULL
7732 };
7733
7734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
7735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7737 {
7738 arg2 = wxString_in_helper(obj1);
7739 if (arg2 == NULL) SWIG_fail;
7740 temp2 = True;
7741 }
7742 {
7743 PyThreadState* __tstate = wxPyBeginAllowThreads();
7744 (arg1)->SetValue((wxString const &)*arg2);
7745
7746 wxPyEndAllowThreads(__tstate);
7747 if (PyErr_Occurred()) SWIG_fail;
7748 }
7749 Py_INCREF(Py_None); resultobj = Py_None;
7750 {
7751 if (temp2)
7752 delete arg2;
7753 }
7754 return resultobj;
7755 fail:
7756 {
7757 if (temp2)
7758 delete arg2;
7759 }
7760 return NULL;
7761 }
7762
7763
7764 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7765 PyObject *resultobj;
7766 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7767 long arg2 ;
7768 long arg3 ;
7769 wxString result;
7770 PyObject * obj0 = 0 ;
7771 PyObject * obj1 = 0 ;
7772 PyObject * obj2 = 0 ;
7773 char *kwnames[] = {
7774 (char *) "self",(char *) "from",(char *) "to", NULL
7775 };
7776
7777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7780 arg2 = (long) SWIG_AsLong(obj1);
7781 if (PyErr_Occurred()) SWIG_fail;
7782 arg3 = (long) SWIG_AsLong(obj2);
7783 if (PyErr_Occurred()) SWIG_fail;
7784 {
7785 PyThreadState* __tstate = wxPyBeginAllowThreads();
7786 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7787
7788 wxPyEndAllowThreads(__tstate);
7789 if (PyErr_Occurred()) SWIG_fail;
7790 }
7791 {
7792 #if wxUSE_UNICODE
7793 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7794 #else
7795 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7796 #endif
7797 }
7798 return resultobj;
7799 fail:
7800 return NULL;
7801 }
7802
7803
7804 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7805 PyObject *resultobj;
7806 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7807 long arg2 ;
7808 int result;
7809 PyObject * obj0 = 0 ;
7810 PyObject * obj1 = 0 ;
7811 char *kwnames[] = {
7812 (char *) "self",(char *) "lineNo", NULL
7813 };
7814
7815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
7816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7818 arg2 = (long) SWIG_AsLong(obj1);
7819 if (PyErr_Occurred()) SWIG_fail;
7820 {
7821 PyThreadState* __tstate = wxPyBeginAllowThreads();
7822 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7823
7824 wxPyEndAllowThreads(__tstate);
7825 if (PyErr_Occurred()) SWIG_fail;
7826 }
7827 resultobj = SWIG_FromInt((int)result);
7828 return resultobj;
7829 fail:
7830 return NULL;
7831 }
7832
7833
7834 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
7835 PyObject *resultobj;
7836 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7837 long arg2 ;
7838 wxString result;
7839 PyObject * obj0 = 0 ;
7840 PyObject * obj1 = 0 ;
7841 char *kwnames[] = {
7842 (char *) "self",(char *) "lineNo", NULL
7843 };
7844
7845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
7846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7848 arg2 = (long) SWIG_AsLong(obj1);
7849 if (PyErr_Occurred()) SWIG_fail;
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7852 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 {
7858 #if wxUSE_UNICODE
7859 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7860 #else
7861 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7862 #endif
7863 }
7864 return resultobj;
7865 fail:
7866 return NULL;
7867 }
7868
7869
7870 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7871 PyObject *resultobj;
7872 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7873 int result;
7874 PyObject * obj0 = 0 ;
7875 char *kwnames[] = {
7876 (char *) "self", NULL
7877 };
7878
7879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
7880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7882 {
7883 PyThreadState* __tstate = wxPyBeginAllowThreads();
7884 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7885
7886 wxPyEndAllowThreads(__tstate);
7887 if (PyErr_Occurred()) SWIG_fail;
7888 }
7889 resultobj = SWIG_FromInt((int)result);
7890 return resultobj;
7891 fail:
7892 return NULL;
7893 }
7894
7895
7896 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
7897 PyObject *resultobj;
7898 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7899 bool result;
7900 PyObject * obj0 = 0 ;
7901 char *kwnames[] = {
7902 (char *) "self", NULL
7903 };
7904
7905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
7906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7908 {
7909 PyThreadState* __tstate = wxPyBeginAllowThreads();
7910 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7911
7912 wxPyEndAllowThreads(__tstate);
7913 if (PyErr_Occurred()) SWIG_fail;
7914 }
7915 {
7916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7917 }
7918 return resultobj;
7919 fail:
7920 return NULL;
7921 }
7922
7923
7924 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7925 PyObject *resultobj;
7926 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7927 bool result;
7928 PyObject * obj0 = 0 ;
7929 char *kwnames[] = {
7930 (char *) "self", NULL
7931 };
7932
7933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
7934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7936 {
7937 PyThreadState* __tstate = wxPyBeginAllowThreads();
7938 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7939
7940 wxPyEndAllowThreads(__tstate);
7941 if (PyErr_Occurred()) SWIG_fail;
7942 }
7943 {
7944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7945 }
7946 return resultobj;
7947 fail:
7948 return NULL;
7949 }
7950
7951
7952 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7953 PyObject *resultobj;
7954 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7955 bool result;
7956 PyObject * obj0 = 0 ;
7957 char *kwnames[] = {
7958 (char *) "self", NULL
7959 };
7960
7961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
7962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7964 {
7965 PyThreadState* __tstate = wxPyBeginAllowThreads();
7966 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7967
7968 wxPyEndAllowThreads(__tstate);
7969 if (PyErr_Occurred()) SWIG_fail;
7970 }
7971 {
7972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7973 }
7974 return resultobj;
7975 fail:
7976 return NULL;
7977 }
7978
7979
7980 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7981 PyObject *resultobj;
7982 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7983 bool result;
7984 PyObject * obj0 = 0 ;
7985 char *kwnames[] = {
7986 (char *) "self", NULL
7987 };
7988
7989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
7990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7992 {
7993 PyThreadState* __tstate = wxPyBeginAllowThreads();
7994 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7995
7996 wxPyEndAllowThreads(__tstate);
7997 if (PyErr_Occurred()) SWIG_fail;
7998 }
7999 {
8000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8001 }
8002 return resultobj;
8003 fail:
8004 return NULL;
8005 }
8006
8007
8008 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8009 PyObject *resultobj;
8010 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8011 long *arg2 = (long *) 0 ;
8012 long *arg3 = (long *) 0 ;
8013 long temp2 ;
8014 long temp3 ;
8015 PyObject * obj0 = 0 ;
8016 char *kwnames[] = {
8017 (char *) "self", NULL
8018 };
8019
8020 arg2 = &temp2;
8021 arg3 = &temp3;
8022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
8023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8025 {
8026 PyThreadState* __tstate = wxPyBeginAllowThreads();
8027 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8028
8029 wxPyEndAllowThreads(__tstate);
8030 if (PyErr_Occurred()) SWIG_fail;
8031 }
8032 Py_INCREF(Py_None); resultobj = Py_None;
8033 {
8034 PyObject *o = PyInt_FromLong((long) (*arg2));
8035 resultobj = t_output_helper(resultobj,o);
8036 }
8037 {
8038 PyObject *o = PyInt_FromLong((long) (*arg3));
8039 resultobj = t_output_helper(resultobj,o);
8040 }
8041 return resultobj;
8042 fail:
8043 return NULL;
8044 }
8045
8046
8047 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8048 PyObject *resultobj;
8049 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8050 wxString result;
8051 PyObject * obj0 = 0 ;
8052 char *kwnames[] = {
8053 (char *) "self", NULL
8054 };
8055
8056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
8057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8059 {
8060 PyThreadState* __tstate = wxPyBeginAllowThreads();
8061 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8062
8063 wxPyEndAllowThreads(__tstate);
8064 if (PyErr_Occurred()) SWIG_fail;
8065 }
8066 {
8067 #if wxUSE_UNICODE
8068 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8069 #else
8070 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8071 #endif
8072 }
8073 return resultobj;
8074 fail:
8075 return NULL;
8076 }
8077
8078
8079 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8080 PyObject *resultobj;
8081 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8082 PyObject * obj0 = 0 ;
8083 char *kwnames[] = {
8084 (char *) "self", NULL
8085 };
8086
8087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
8088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8090 {
8091 PyThreadState* __tstate = wxPyBeginAllowThreads();
8092 (arg1)->Clear();
8093
8094 wxPyEndAllowThreads(__tstate);
8095 if (PyErr_Occurred()) SWIG_fail;
8096 }
8097 Py_INCREF(Py_None); resultobj = Py_None;
8098 return resultobj;
8099 fail:
8100 return NULL;
8101 }
8102
8103
8104 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8105 PyObject *resultobj;
8106 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8107 long arg2 ;
8108 long arg3 ;
8109 wxString *arg4 = 0 ;
8110 bool temp4 = False ;
8111 PyObject * obj0 = 0 ;
8112 PyObject * obj1 = 0 ;
8113 PyObject * obj2 = 0 ;
8114 PyObject * obj3 = 0 ;
8115 char *kwnames[] = {
8116 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8117 };
8118
8119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8122 arg2 = (long) SWIG_AsLong(obj1);
8123 if (PyErr_Occurred()) SWIG_fail;
8124 arg3 = (long) SWIG_AsLong(obj2);
8125 if (PyErr_Occurred()) SWIG_fail;
8126 {
8127 arg4 = wxString_in_helper(obj3);
8128 if (arg4 == NULL) SWIG_fail;
8129 temp4 = True;
8130 }
8131 {
8132 PyThreadState* __tstate = wxPyBeginAllowThreads();
8133 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8134
8135 wxPyEndAllowThreads(__tstate);
8136 if (PyErr_Occurred()) SWIG_fail;
8137 }
8138 Py_INCREF(Py_None); resultobj = Py_None;
8139 {
8140 if (temp4)
8141 delete arg4;
8142 }
8143 return resultobj;
8144 fail:
8145 {
8146 if (temp4)
8147 delete arg4;
8148 }
8149 return NULL;
8150 }
8151
8152
8153 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8154 PyObject *resultobj;
8155 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8156 long arg2 ;
8157 long arg3 ;
8158 PyObject * obj0 = 0 ;
8159 PyObject * obj1 = 0 ;
8160 PyObject * obj2 = 0 ;
8161 char *kwnames[] = {
8162 (char *) "self",(char *) "from",(char *) "to", NULL
8163 };
8164
8165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8168 arg2 = (long) SWIG_AsLong(obj1);
8169 if (PyErr_Occurred()) SWIG_fail;
8170 arg3 = (long) SWIG_AsLong(obj2);
8171 if (PyErr_Occurred()) SWIG_fail;
8172 {
8173 PyThreadState* __tstate = wxPyBeginAllowThreads();
8174 (arg1)->Remove(arg2,arg3);
8175
8176 wxPyEndAllowThreads(__tstate);
8177 if (PyErr_Occurred()) SWIG_fail;
8178 }
8179 Py_INCREF(Py_None); resultobj = Py_None;
8180 return resultobj;
8181 fail:
8182 return NULL;
8183 }
8184
8185
8186 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8187 PyObject *resultobj;
8188 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8189 wxString *arg2 = 0 ;
8190 bool result;
8191 bool temp2 = False ;
8192 PyObject * obj0 = 0 ;
8193 PyObject * obj1 = 0 ;
8194 char *kwnames[] = {
8195 (char *) "self",(char *) "file", NULL
8196 };
8197
8198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8201 {
8202 arg2 = wxString_in_helper(obj1);
8203 if (arg2 == NULL) SWIG_fail;
8204 temp2 = True;
8205 }
8206 {
8207 PyThreadState* __tstate = wxPyBeginAllowThreads();
8208 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8209
8210 wxPyEndAllowThreads(__tstate);
8211 if (PyErr_Occurred()) SWIG_fail;
8212 }
8213 {
8214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8215 }
8216 {
8217 if (temp2)
8218 delete arg2;
8219 }
8220 return resultobj;
8221 fail:
8222 {
8223 if (temp2)
8224 delete arg2;
8225 }
8226 return NULL;
8227 }
8228
8229
8230 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8231 PyObject *resultobj;
8232 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8233 wxString const &arg2_defvalue = wxPyEmptyString ;
8234 wxString *arg2 = (wxString *) &arg2_defvalue ;
8235 bool result;
8236 bool temp2 = False ;
8237 PyObject * obj0 = 0 ;
8238 PyObject * obj1 = 0 ;
8239 char *kwnames[] = {
8240 (char *) "self",(char *) "file", NULL
8241 };
8242
8243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8246 if (obj1) {
8247 {
8248 arg2 = wxString_in_helper(obj1);
8249 if (arg2 == NULL) SWIG_fail;
8250 temp2 = True;
8251 }
8252 }
8253 {
8254 PyThreadState* __tstate = wxPyBeginAllowThreads();
8255 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8256
8257 wxPyEndAllowThreads(__tstate);
8258 if (PyErr_Occurred()) SWIG_fail;
8259 }
8260 {
8261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8262 }
8263 {
8264 if (temp2)
8265 delete arg2;
8266 }
8267 return resultobj;
8268 fail:
8269 {
8270 if (temp2)
8271 delete arg2;
8272 }
8273 return NULL;
8274 }
8275
8276
8277 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8278 PyObject *resultobj;
8279 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8280 PyObject * obj0 = 0 ;
8281 char *kwnames[] = {
8282 (char *) "self", NULL
8283 };
8284
8285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8288 {
8289 PyThreadState* __tstate = wxPyBeginAllowThreads();
8290 (arg1)->MarkDirty();
8291
8292 wxPyEndAllowThreads(__tstate);
8293 if (PyErr_Occurred()) SWIG_fail;
8294 }
8295 Py_INCREF(Py_None); resultobj = Py_None;
8296 return resultobj;
8297 fail:
8298 return NULL;
8299 }
8300
8301
8302 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8303 PyObject *resultobj;
8304 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8305 PyObject * obj0 = 0 ;
8306 char *kwnames[] = {
8307 (char *) "self", NULL
8308 };
8309
8310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8313 {
8314 PyThreadState* __tstate = wxPyBeginAllowThreads();
8315 (arg1)->DiscardEdits();
8316
8317 wxPyEndAllowThreads(__tstate);
8318 if (PyErr_Occurred()) SWIG_fail;
8319 }
8320 Py_INCREF(Py_None); resultobj = Py_None;
8321 return resultobj;
8322 fail:
8323 return NULL;
8324 }
8325
8326
8327 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8328 PyObject *resultobj;
8329 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8330 unsigned long arg2 ;
8331 PyObject * obj0 = 0 ;
8332 PyObject * obj1 = 0 ;
8333 char *kwnames[] = {
8334 (char *) "self",(char *) "len", NULL
8335 };
8336
8337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8340 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8341 if (PyErr_Occurred()) SWIG_fail;
8342 {
8343 PyThreadState* __tstate = wxPyBeginAllowThreads();
8344 (arg1)->SetMaxLength(arg2);
8345
8346 wxPyEndAllowThreads(__tstate);
8347 if (PyErr_Occurred()) SWIG_fail;
8348 }
8349 Py_INCREF(Py_None); resultobj = Py_None;
8350 return resultobj;
8351 fail:
8352 return NULL;
8353 }
8354
8355
8356 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8357 PyObject *resultobj;
8358 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8359 wxString *arg2 = 0 ;
8360 bool temp2 = False ;
8361 PyObject * obj0 = 0 ;
8362 PyObject * obj1 = 0 ;
8363 char *kwnames[] = {
8364 (char *) "self",(char *) "text", NULL
8365 };
8366
8367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8370 {
8371 arg2 = wxString_in_helper(obj1);
8372 if (arg2 == NULL) SWIG_fail;
8373 temp2 = True;
8374 }
8375 {
8376 PyThreadState* __tstate = wxPyBeginAllowThreads();
8377 (arg1)->WriteText((wxString const &)*arg2);
8378
8379 wxPyEndAllowThreads(__tstate);
8380 if (PyErr_Occurred()) SWIG_fail;
8381 }
8382 Py_INCREF(Py_None); resultobj = Py_None;
8383 {
8384 if (temp2)
8385 delete arg2;
8386 }
8387 return resultobj;
8388 fail:
8389 {
8390 if (temp2)
8391 delete arg2;
8392 }
8393 return NULL;
8394 }
8395
8396
8397 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8398 PyObject *resultobj;
8399 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8400 wxString *arg2 = 0 ;
8401 bool temp2 = False ;
8402 PyObject * obj0 = 0 ;
8403 PyObject * obj1 = 0 ;
8404 char *kwnames[] = {
8405 (char *) "self",(char *) "text", NULL
8406 };
8407
8408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8411 {
8412 arg2 = wxString_in_helper(obj1);
8413 if (arg2 == NULL) SWIG_fail;
8414 temp2 = True;
8415 }
8416 {
8417 PyThreadState* __tstate = wxPyBeginAllowThreads();
8418 (arg1)->AppendText((wxString const &)*arg2);
8419
8420 wxPyEndAllowThreads(__tstate);
8421 if (PyErr_Occurred()) SWIG_fail;
8422 }
8423 Py_INCREF(Py_None); resultobj = Py_None;
8424 {
8425 if (temp2)
8426 delete arg2;
8427 }
8428 return resultobj;
8429 fail:
8430 {
8431 if (temp2)
8432 delete arg2;
8433 }
8434 return NULL;
8435 }
8436
8437
8438 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8439 PyObject *resultobj;
8440 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8441 wxKeyEvent *arg2 = 0 ;
8442 bool result;
8443 PyObject * obj0 = 0 ;
8444 PyObject * obj1 = 0 ;
8445 char *kwnames[] = {
8446 (char *) "self",(char *) "event", NULL
8447 };
8448
8449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8452 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8453 SWIG_POINTER_EXCEPTION | 0)) == -1)
8454 SWIG_fail;
8455 if (arg2 == NULL) {
8456 PyErr_SetString(PyExc_TypeError,"null reference");
8457 SWIG_fail;
8458 }
8459 {
8460 PyThreadState* __tstate = wxPyBeginAllowThreads();
8461 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8462
8463 wxPyEndAllowThreads(__tstate);
8464 if (PyErr_Occurred()) SWIG_fail;
8465 }
8466 {
8467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8468 }
8469 return resultobj;
8470 fail:
8471 return NULL;
8472 }
8473
8474
8475 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8476 PyObject *resultobj;
8477 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8478 long arg2 ;
8479 long arg3 ;
8480 wxTextAttr *arg4 = 0 ;
8481 bool result;
8482 PyObject * obj0 = 0 ;
8483 PyObject * obj1 = 0 ;
8484 PyObject * obj2 = 0 ;
8485 PyObject * obj3 = 0 ;
8486 char *kwnames[] = {
8487 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8488 };
8489
8490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8493 arg2 = (long) SWIG_AsLong(obj1);
8494 if (PyErr_Occurred()) SWIG_fail;
8495 arg3 = (long) SWIG_AsLong(obj2);
8496 if (PyErr_Occurred()) SWIG_fail;
8497 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
8498 SWIG_POINTER_EXCEPTION | 0)) == -1)
8499 SWIG_fail;
8500 if (arg4 == NULL) {
8501 PyErr_SetString(PyExc_TypeError,"null reference");
8502 SWIG_fail;
8503 }
8504 {
8505 PyThreadState* __tstate = wxPyBeginAllowThreads();
8506 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8507
8508 wxPyEndAllowThreads(__tstate);
8509 if (PyErr_Occurred()) SWIG_fail;
8510 }
8511 {
8512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8513 }
8514 return resultobj;
8515 fail:
8516 return NULL;
8517 }
8518
8519
8520 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8521 PyObject *resultobj;
8522 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8523 long arg2 ;
8524 wxTextAttr *arg3 = 0 ;
8525 bool result;
8526 PyObject * obj0 = 0 ;
8527 PyObject * obj1 = 0 ;
8528 PyObject * obj2 = 0 ;
8529 char *kwnames[] = {
8530 (char *) "self",(char *) "position",(char *) "style", NULL
8531 };
8532
8533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
8534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8536 arg2 = (long) SWIG_AsLong(obj1);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
8539 SWIG_POINTER_EXCEPTION | 0)) == -1)
8540 SWIG_fail;
8541 if (arg3 == NULL) {
8542 PyErr_SetString(PyExc_TypeError,"null reference");
8543 SWIG_fail;
8544 }
8545 {
8546 PyThreadState* __tstate = wxPyBeginAllowThreads();
8547 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8548
8549 wxPyEndAllowThreads(__tstate);
8550 if (PyErr_Occurred()) SWIG_fail;
8551 }
8552 {
8553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8554 }
8555 return resultobj;
8556 fail:
8557 return NULL;
8558 }
8559
8560
8561 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8562 PyObject *resultobj;
8563 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8564 wxTextAttr *arg2 = 0 ;
8565 bool result;
8566 PyObject * obj0 = 0 ;
8567 PyObject * obj1 = 0 ;
8568 char *kwnames[] = {
8569 (char *) "self",(char *) "style", NULL
8570 };
8571
8572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
8573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8575 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
8576 SWIG_POINTER_EXCEPTION | 0)) == -1)
8577 SWIG_fail;
8578 if (arg2 == NULL) {
8579 PyErr_SetString(PyExc_TypeError,"null reference");
8580 SWIG_fail;
8581 }
8582 {
8583 PyThreadState* __tstate = wxPyBeginAllowThreads();
8584 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8585
8586 wxPyEndAllowThreads(__tstate);
8587 if (PyErr_Occurred()) SWIG_fail;
8588 }
8589 {
8590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8591 }
8592 return resultobj;
8593 fail:
8594 return NULL;
8595 }
8596
8597
8598 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8599 PyObject *resultobj;
8600 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8601 wxTextAttr *result;
8602 PyObject * obj0 = 0 ;
8603 char *kwnames[] = {
8604 (char *) "self", NULL
8605 };
8606
8607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
8608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8610 {
8611 PyThreadState* __tstate = wxPyBeginAllowThreads();
8612 {
8613 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8614 result = (wxTextAttr *) &_result_ref;
8615 }
8616
8617 wxPyEndAllowThreads(__tstate);
8618 if (PyErr_Occurred()) SWIG_fail;
8619 }
8620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
8621 return resultobj;
8622 fail:
8623 return NULL;
8624 }
8625
8626
8627 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8628 PyObject *resultobj;
8629 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8630 long arg2 ;
8631 long arg3 ;
8632 long result;
8633 PyObject * obj0 = 0 ;
8634 PyObject * obj1 = 0 ;
8635 PyObject * obj2 = 0 ;
8636 char *kwnames[] = {
8637 (char *) "self",(char *) "x",(char *) "y", NULL
8638 };
8639
8640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8643 arg2 = (long) SWIG_AsLong(obj1);
8644 if (PyErr_Occurred()) SWIG_fail;
8645 arg3 = (long) SWIG_AsLong(obj2);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 {
8648 PyThreadState* __tstate = wxPyBeginAllowThreads();
8649 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8650
8651 wxPyEndAllowThreads(__tstate);
8652 if (PyErr_Occurred()) SWIG_fail;
8653 }
8654 resultobj = SWIG_FromLong((long)result);
8655 return resultobj;
8656 fail:
8657 return NULL;
8658 }
8659
8660
8661 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8662 PyObject *resultobj;
8663 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8664 long arg2 ;
8665 long *arg3 = (long *) 0 ;
8666 long *arg4 = (long *) 0 ;
8667 long temp3 ;
8668 long temp4 ;
8669 PyObject * obj0 = 0 ;
8670 PyObject * obj1 = 0 ;
8671 char *kwnames[] = {
8672 (char *) "self",(char *) "pos", NULL
8673 };
8674
8675 arg3 = &temp3;
8676 arg4 = &temp4;
8677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
8678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8680 arg2 = (long) SWIG_AsLong(obj1);
8681 if (PyErr_Occurred()) SWIG_fail;
8682 {
8683 PyThreadState* __tstate = wxPyBeginAllowThreads();
8684 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8685
8686 wxPyEndAllowThreads(__tstate);
8687 if (PyErr_Occurred()) SWIG_fail;
8688 }
8689 Py_INCREF(Py_None); resultobj = Py_None;
8690 {
8691 PyObject *o = PyInt_FromLong((long) (*arg3));
8692 resultobj = t_output_helper(resultobj,o);
8693 }
8694 {
8695 PyObject *o = PyInt_FromLong((long) (*arg4));
8696 resultobj = t_output_helper(resultobj,o);
8697 }
8698 return resultobj;
8699 fail:
8700 return NULL;
8701 }
8702
8703
8704 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8705 PyObject *resultobj;
8706 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8707 long arg2 ;
8708 PyObject * obj0 = 0 ;
8709 PyObject * obj1 = 0 ;
8710 char *kwnames[] = {
8711 (char *) "self",(char *) "pos", NULL
8712 };
8713
8714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
8715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8717 arg2 = (long) SWIG_AsLong(obj1);
8718 if (PyErr_Occurred()) SWIG_fail;
8719 {
8720 PyThreadState* __tstate = wxPyBeginAllowThreads();
8721 (arg1)->ShowPosition(arg2);
8722
8723 wxPyEndAllowThreads(__tstate);
8724 if (PyErr_Occurred()) SWIG_fail;
8725 }
8726 Py_INCREF(Py_None); resultobj = Py_None;
8727 return resultobj;
8728 fail:
8729 return NULL;
8730 }
8731
8732
8733 static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8734 PyObject *resultobj;
8735 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8736 wxPoint *arg2 = 0 ;
8737 long *arg3 = (long *) 0 ;
8738 long *arg4 = (long *) 0 ;
8739 int result;
8740 wxPoint temp2 ;
8741 long temp3 ;
8742 long temp4 ;
8743 PyObject * obj0 = 0 ;
8744 PyObject * obj1 = 0 ;
8745 char *kwnames[] = {
8746 (char *) "self",(char *) "pt", NULL
8747 };
8748
8749 arg3 = &temp3;
8750 arg4 = &temp4;
8751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
8752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8754 {
8755 arg2 = &temp2;
8756 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8757 }
8758 {
8759 PyThreadState* __tstate = wxPyBeginAllowThreads();
8760 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
8761
8762 wxPyEndAllowThreads(__tstate);
8763 if (PyErr_Occurred()) SWIG_fail;
8764 }
8765 resultobj = SWIG_FromInt((int)result);
8766 {
8767 PyObject *o = PyInt_FromLong((long) (*arg3));
8768 resultobj = t_output_helper(resultobj,o);
8769 }
8770 {
8771 PyObject *o = PyInt_FromLong((long) (*arg4));
8772 resultobj = t_output_helper(resultobj,o);
8773 }
8774 return resultobj;
8775 fail:
8776 return NULL;
8777 }
8778
8779
8780 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8781 PyObject *resultobj;
8782 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8783 PyObject * obj0 = 0 ;
8784 char *kwnames[] = {
8785 (char *) "self", NULL
8786 };
8787
8788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
8789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8791 {
8792 PyThreadState* __tstate = wxPyBeginAllowThreads();
8793 (arg1)->Copy();
8794
8795 wxPyEndAllowThreads(__tstate);
8796 if (PyErr_Occurred()) SWIG_fail;
8797 }
8798 Py_INCREF(Py_None); resultobj = Py_None;
8799 return resultobj;
8800 fail:
8801 return NULL;
8802 }
8803
8804
8805 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8806 PyObject *resultobj;
8807 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8808 PyObject * obj0 = 0 ;
8809 char *kwnames[] = {
8810 (char *) "self", NULL
8811 };
8812
8813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
8814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8816 {
8817 PyThreadState* __tstate = wxPyBeginAllowThreads();
8818 (arg1)->Cut();
8819
8820 wxPyEndAllowThreads(__tstate);
8821 if (PyErr_Occurred()) SWIG_fail;
8822 }
8823 Py_INCREF(Py_None); resultobj = Py_None;
8824 return resultobj;
8825 fail:
8826 return NULL;
8827 }
8828
8829
8830 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8831 PyObject *resultobj;
8832 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8833 PyObject * obj0 = 0 ;
8834 char *kwnames[] = {
8835 (char *) "self", NULL
8836 };
8837
8838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
8839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8841 {
8842 PyThreadState* __tstate = wxPyBeginAllowThreads();
8843 (arg1)->Paste();
8844
8845 wxPyEndAllowThreads(__tstate);
8846 if (PyErr_Occurred()) SWIG_fail;
8847 }
8848 Py_INCREF(Py_None); resultobj = Py_None;
8849 return resultobj;
8850 fail:
8851 return NULL;
8852 }
8853
8854
8855 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8856 PyObject *resultobj;
8857 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8858 bool result;
8859 PyObject * obj0 = 0 ;
8860 char *kwnames[] = {
8861 (char *) "self", NULL
8862 };
8863
8864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
8865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8867 {
8868 PyThreadState* __tstate = wxPyBeginAllowThreads();
8869 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8870
8871 wxPyEndAllowThreads(__tstate);
8872 if (PyErr_Occurred()) SWIG_fail;
8873 }
8874 {
8875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8876 }
8877 return resultobj;
8878 fail:
8879 return NULL;
8880 }
8881
8882
8883 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
8884 PyObject *resultobj;
8885 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8886 bool result;
8887 PyObject * obj0 = 0 ;
8888 char *kwnames[] = {
8889 (char *) "self", NULL
8890 };
8891
8892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
8893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8895 {
8896 PyThreadState* __tstate = wxPyBeginAllowThreads();
8897 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
8898
8899 wxPyEndAllowThreads(__tstate);
8900 if (PyErr_Occurred()) SWIG_fail;
8901 }
8902 {
8903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8904 }
8905 return resultobj;
8906 fail:
8907 return NULL;
8908 }
8909
8910
8911 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
8912 PyObject *resultobj;
8913 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8914 bool result;
8915 PyObject * obj0 = 0 ;
8916 char *kwnames[] = {
8917 (char *) "self", NULL
8918 };
8919
8920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
8921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8923 {
8924 PyThreadState* __tstate = wxPyBeginAllowThreads();
8925 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
8926
8927 wxPyEndAllowThreads(__tstate);
8928 if (PyErr_Occurred()) SWIG_fail;
8929 }
8930 {
8931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8932 }
8933 return resultobj;
8934 fail:
8935 return NULL;
8936 }
8937
8938
8939 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
8940 PyObject *resultobj;
8941 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8942 PyObject * obj0 = 0 ;
8943 char *kwnames[] = {
8944 (char *) "self", NULL
8945 };
8946
8947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
8948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8950 {
8951 PyThreadState* __tstate = wxPyBeginAllowThreads();
8952 (arg1)->Undo();
8953
8954 wxPyEndAllowThreads(__tstate);
8955 if (PyErr_Occurred()) SWIG_fail;
8956 }
8957 Py_INCREF(Py_None); resultobj = Py_None;
8958 return resultobj;
8959 fail:
8960 return NULL;
8961 }
8962
8963
8964 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
8965 PyObject *resultobj;
8966 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8967 PyObject * obj0 = 0 ;
8968 char *kwnames[] = {
8969 (char *) "self", NULL
8970 };
8971
8972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
8973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8975 {
8976 PyThreadState* __tstate = wxPyBeginAllowThreads();
8977 (arg1)->Redo();
8978
8979 wxPyEndAllowThreads(__tstate);
8980 if (PyErr_Occurred()) SWIG_fail;
8981 }
8982 Py_INCREF(Py_None); resultobj = Py_None;
8983 return resultobj;
8984 fail:
8985 return NULL;
8986 }
8987
8988
8989 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
8990 PyObject *resultobj;
8991 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8992 bool result;
8993 PyObject * obj0 = 0 ;
8994 char *kwnames[] = {
8995 (char *) "self", NULL
8996 };
8997
8998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
8999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9001 {
9002 PyThreadState* __tstate = wxPyBeginAllowThreads();
9003 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9004
9005 wxPyEndAllowThreads(__tstate);
9006 if (PyErr_Occurred()) SWIG_fail;
9007 }
9008 {
9009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9010 }
9011 return resultobj;
9012 fail:
9013 return NULL;
9014 }
9015
9016
9017 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
9018 PyObject *resultobj;
9019 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9020 bool result;
9021 PyObject * obj0 = 0 ;
9022 char *kwnames[] = {
9023 (char *) "self", NULL
9024 };
9025
9026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
9027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9029 {
9030 PyThreadState* __tstate = wxPyBeginAllowThreads();
9031 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9032
9033 wxPyEndAllowThreads(__tstate);
9034 if (PyErr_Occurred()) SWIG_fail;
9035 }
9036 {
9037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9038 }
9039 return resultobj;
9040 fail:
9041 return NULL;
9042 }
9043
9044
9045 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9046 PyObject *resultobj;
9047 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9048 long arg2 ;
9049 PyObject * obj0 = 0 ;
9050 PyObject * obj1 = 0 ;
9051 char *kwnames[] = {
9052 (char *) "self",(char *) "pos", NULL
9053 };
9054
9055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
9056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9058 arg2 = (long) SWIG_AsLong(obj1);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 {
9061 PyThreadState* __tstate = wxPyBeginAllowThreads();
9062 (arg1)->SetInsertionPoint(arg2);
9063
9064 wxPyEndAllowThreads(__tstate);
9065 if (PyErr_Occurred()) SWIG_fail;
9066 }
9067 Py_INCREF(Py_None); resultobj = Py_None;
9068 return resultobj;
9069 fail:
9070 return NULL;
9071 }
9072
9073
9074 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9075 PyObject *resultobj;
9076 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9077 PyObject * obj0 = 0 ;
9078 char *kwnames[] = {
9079 (char *) "self", NULL
9080 };
9081
9082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
9083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9085 {
9086 PyThreadState* __tstate = wxPyBeginAllowThreads();
9087 (arg1)->SetInsertionPointEnd();
9088
9089 wxPyEndAllowThreads(__tstate);
9090 if (PyErr_Occurred()) SWIG_fail;
9091 }
9092 Py_INCREF(Py_None); resultobj = Py_None;
9093 return resultobj;
9094 fail:
9095 return NULL;
9096 }
9097
9098
9099 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9100 PyObject *resultobj;
9101 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9102 long result;
9103 PyObject * obj0 = 0 ;
9104 char *kwnames[] = {
9105 (char *) "self", NULL
9106 };
9107
9108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
9109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9111 {
9112 PyThreadState* __tstate = wxPyBeginAllowThreads();
9113 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9114
9115 wxPyEndAllowThreads(__tstate);
9116 if (PyErr_Occurred()) SWIG_fail;
9117 }
9118 resultobj = SWIG_FromLong((long)result);
9119 return resultobj;
9120 fail:
9121 return NULL;
9122 }
9123
9124
9125 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9126 PyObject *resultobj;
9127 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9128 long result;
9129 PyObject * obj0 = 0 ;
9130 char *kwnames[] = {
9131 (char *) "self", NULL
9132 };
9133
9134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9137 {
9138 PyThreadState* __tstate = wxPyBeginAllowThreads();
9139 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9140
9141 wxPyEndAllowThreads(__tstate);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 }
9144 resultobj = SWIG_FromLong((long)result);
9145 return resultobj;
9146 fail:
9147 return NULL;
9148 }
9149
9150
9151 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9152 PyObject *resultobj;
9153 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9154 long arg2 ;
9155 long arg3 ;
9156 PyObject * obj0 = 0 ;
9157 PyObject * obj1 = 0 ;
9158 PyObject * obj2 = 0 ;
9159 char *kwnames[] = {
9160 (char *) "self",(char *) "from",(char *) "to", NULL
9161 };
9162
9163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9166 arg2 = (long) SWIG_AsLong(obj1);
9167 if (PyErr_Occurred()) SWIG_fail;
9168 arg3 = (long) SWIG_AsLong(obj2);
9169 if (PyErr_Occurred()) SWIG_fail;
9170 {
9171 PyThreadState* __tstate = wxPyBeginAllowThreads();
9172 (arg1)->SetSelection(arg2,arg3);
9173
9174 wxPyEndAllowThreads(__tstate);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 }
9177 Py_INCREF(Py_None); resultobj = Py_None;
9178 return resultobj;
9179 fail:
9180 return NULL;
9181 }
9182
9183
9184 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9185 PyObject *resultobj;
9186 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9187 PyObject * obj0 = 0 ;
9188 char *kwnames[] = {
9189 (char *) "self", NULL
9190 };
9191
9192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9195 {
9196 PyThreadState* __tstate = wxPyBeginAllowThreads();
9197 (arg1)->SelectAll();
9198
9199 wxPyEndAllowThreads(__tstate);
9200 if (PyErr_Occurred()) SWIG_fail;
9201 }
9202 Py_INCREF(Py_None); resultobj = Py_None;
9203 return resultobj;
9204 fail:
9205 return NULL;
9206 }
9207
9208
9209 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9210 PyObject *resultobj;
9211 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9212 bool arg2 ;
9213 PyObject * obj0 = 0 ;
9214 PyObject * obj1 = 0 ;
9215 char *kwnames[] = {
9216 (char *) "self",(char *) "editable", NULL
9217 };
9218
9219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9222 arg2 = (bool) SWIG_AsBool(obj1);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 {
9225 PyThreadState* __tstate = wxPyBeginAllowThreads();
9226 (arg1)->SetEditable(arg2);
9227
9228 wxPyEndAllowThreads(__tstate);
9229 if (PyErr_Occurred()) SWIG_fail;
9230 }
9231 Py_INCREF(Py_None); resultobj = Py_None;
9232 return resultobj;
9233 fail:
9234 return NULL;
9235 }
9236
9237
9238 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9239 PyObject *resultobj;
9240 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9241 wxString *arg2 = 0 ;
9242 bool temp2 = False ;
9243 PyObject * obj0 = 0 ;
9244 PyObject * obj1 = 0 ;
9245 char *kwnames[] = {
9246 (char *) "self",(char *) "text", NULL
9247 };
9248
9249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9252 {
9253 arg2 = wxString_in_helper(obj1);
9254 if (arg2 == NULL) SWIG_fail;
9255 temp2 = True;
9256 }
9257 {
9258 PyThreadState* __tstate = wxPyBeginAllowThreads();
9259 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9260
9261 wxPyEndAllowThreads(__tstate);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 }
9264 Py_INCREF(Py_None); resultobj = Py_None;
9265 {
9266 if (temp2)
9267 delete arg2;
9268 }
9269 return resultobj;
9270 fail:
9271 {
9272 if (temp2)
9273 delete arg2;
9274 }
9275 return NULL;
9276 }
9277
9278
9279 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9280 PyObject *resultobj;
9281 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9282 long arg2 ;
9283 long arg3 ;
9284 wxString result;
9285 PyObject * obj0 = 0 ;
9286 PyObject * obj1 = 0 ;
9287 PyObject * obj2 = 0 ;
9288 char *kwnames[] = {
9289 (char *) "self",(char *) "from",(char *) "to", NULL
9290 };
9291
9292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9295 arg2 = (long) SWIG_AsLong(obj1);
9296 if (PyErr_Occurred()) SWIG_fail;
9297 arg3 = (long) SWIG_AsLong(obj2);
9298 if (PyErr_Occurred()) SWIG_fail;
9299 {
9300 PyThreadState* __tstate = wxPyBeginAllowThreads();
9301 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9302
9303 wxPyEndAllowThreads(__tstate);
9304 if (PyErr_Occurred()) SWIG_fail;
9305 }
9306 {
9307 #if wxUSE_UNICODE
9308 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9309 #else
9310 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9311 #endif
9312 }
9313 return resultobj;
9314 fail:
9315 return NULL;
9316 }
9317
9318
9319 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9320 PyObject *obj;
9321 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9322 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9323 Py_INCREF(obj);
9324 return Py_BuildValue((char *)"");
9325 }
9326 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9327 PyObject *resultobj;
9328 int arg1 ;
9329 wxMouseEvent *arg2 = 0 ;
9330 long arg3 ;
9331 long arg4 ;
9332 wxTextUrlEvent *result;
9333 PyObject * obj0 = 0 ;
9334 PyObject * obj1 = 0 ;
9335 PyObject * obj2 = 0 ;
9336 PyObject * obj3 = 0 ;
9337 char *kwnames[] = {
9338 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9339 };
9340
9341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9342 arg1 = (int) SWIG_AsInt(obj0);
9343 if (PyErr_Occurred()) SWIG_fail;
9344 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9345 SWIG_POINTER_EXCEPTION | 0)) == -1)
9346 SWIG_fail;
9347 if (arg2 == NULL) {
9348 PyErr_SetString(PyExc_TypeError,"null reference");
9349 SWIG_fail;
9350 }
9351 arg3 = (long) SWIG_AsLong(obj2);
9352 if (PyErr_Occurred()) SWIG_fail;
9353 arg4 = (long) SWIG_AsLong(obj3);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 {
9356 PyThreadState* __tstate = wxPyBeginAllowThreads();
9357 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9358
9359 wxPyEndAllowThreads(__tstate);
9360 if (PyErr_Occurred()) SWIG_fail;
9361 }
9362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
9363 return resultobj;
9364 fail:
9365 return NULL;
9366 }
9367
9368
9369 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9370 PyObject *resultobj;
9371 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9372 wxMouseEvent *result;
9373 PyObject * obj0 = 0 ;
9374 char *kwnames[] = {
9375 (char *) "self", NULL
9376 };
9377
9378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9381 {
9382 PyThreadState* __tstate = wxPyBeginAllowThreads();
9383 {
9384 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9385 result = (wxMouseEvent *) &_result_ref;
9386 }
9387
9388 wxPyEndAllowThreads(__tstate);
9389 if (PyErr_Occurred()) SWIG_fail;
9390 }
9391 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
9392 return resultobj;
9393 fail:
9394 return NULL;
9395 }
9396
9397
9398 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9399 PyObject *resultobj;
9400 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9401 long result;
9402 PyObject * obj0 = 0 ;
9403 char *kwnames[] = {
9404 (char *) "self", NULL
9405 };
9406
9407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
9408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9410 {
9411 PyThreadState* __tstate = wxPyBeginAllowThreads();
9412 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9413
9414 wxPyEndAllowThreads(__tstate);
9415 if (PyErr_Occurred()) SWIG_fail;
9416 }
9417 resultobj = SWIG_FromLong((long)result);
9418 return resultobj;
9419 fail:
9420 return NULL;
9421 }
9422
9423
9424 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9425 PyObject *resultobj;
9426 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9427 long result;
9428 PyObject * obj0 = 0 ;
9429 char *kwnames[] = {
9430 (char *) "self", NULL
9431 };
9432
9433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9436 {
9437 PyThreadState* __tstate = wxPyBeginAllowThreads();
9438 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9439
9440 wxPyEndAllowThreads(__tstate);
9441 if (PyErr_Occurred()) SWIG_fail;
9442 }
9443 resultobj = SWIG_FromLong((long)result);
9444 return resultobj;
9445 fail:
9446 return NULL;
9447 }
9448
9449
9450 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
9451 PyObject *obj;
9452 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9453 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9454 Py_INCREF(obj);
9455 return Py_BuildValue((char *)"");
9456 }
9457 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
9458 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9459 return 1;
9460 }
9461
9462
9463 static PyObject *_wrap_ScrollBarNameStr_get() {
9464 PyObject *pyobj;
9465
9466 {
9467 #if wxUSE_UNICODE
9468 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9469 #else
9470 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9471 #endif
9472 }
9473 return pyobj;
9474 }
9475
9476
9477 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9478 PyObject *resultobj;
9479 wxWindow *arg1 = (wxWindow *) 0 ;
9480 int arg2 = (int) -1 ;
9481 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9482 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9483 wxSize const &arg4_defvalue = wxDefaultSize ;
9484 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9485 long arg5 = (long) wxSB_HORIZONTAL ;
9486 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9487 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9488 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9489 wxString *arg7 = (wxString *) &arg7_defvalue ;
9490 wxScrollBar *result;
9491 wxPoint temp3 ;
9492 wxSize temp4 ;
9493 bool temp7 = False ;
9494 PyObject * obj0 = 0 ;
9495 PyObject * obj1 = 0 ;
9496 PyObject * obj2 = 0 ;
9497 PyObject * obj3 = 0 ;
9498 PyObject * obj4 = 0 ;
9499 PyObject * obj5 = 0 ;
9500 PyObject * obj6 = 0 ;
9501 char *kwnames[] = {
9502 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9503 };
9504
9505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9508 if (obj1) {
9509 arg2 = (int) SWIG_AsInt(obj1);
9510 if (PyErr_Occurred()) SWIG_fail;
9511 }
9512 if (obj2) {
9513 {
9514 arg3 = &temp3;
9515 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9516 }
9517 }
9518 if (obj3) {
9519 {
9520 arg4 = &temp4;
9521 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9522 }
9523 }
9524 if (obj4) {
9525 arg5 = (long) SWIG_AsLong(obj4);
9526 if (PyErr_Occurred()) SWIG_fail;
9527 }
9528 if (obj5) {
9529 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
9530 SWIG_POINTER_EXCEPTION | 0)) == -1)
9531 SWIG_fail;
9532 if (arg6 == NULL) {
9533 PyErr_SetString(PyExc_TypeError,"null reference");
9534 SWIG_fail;
9535 }
9536 }
9537 if (obj6) {
9538 {
9539 arg7 = wxString_in_helper(obj6);
9540 if (arg7 == NULL) SWIG_fail;
9541 temp7 = True;
9542 }
9543 }
9544 {
9545 PyThreadState* __tstate = wxPyBeginAllowThreads();
9546 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9547
9548 wxPyEndAllowThreads(__tstate);
9549 if (PyErr_Occurred()) SWIG_fail;
9550 }
9551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9552 {
9553 if (temp7)
9554 delete arg7;
9555 }
9556 return resultobj;
9557 fail:
9558 {
9559 if (temp7)
9560 delete arg7;
9561 }
9562 return NULL;
9563 }
9564
9565
9566 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9567 PyObject *resultobj;
9568 wxScrollBar *result;
9569 char *kwnames[] = {
9570 NULL
9571 };
9572
9573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9574 {
9575 PyThreadState* __tstate = wxPyBeginAllowThreads();
9576 result = (wxScrollBar *)new wxScrollBar();
9577
9578 wxPyEndAllowThreads(__tstate);
9579 if (PyErr_Occurred()) SWIG_fail;
9580 }
9581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9582 return resultobj;
9583 fail:
9584 return NULL;
9585 }
9586
9587
9588 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9589 PyObject *resultobj;
9590 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9591 wxWindow *arg2 = (wxWindow *) 0 ;
9592 int arg3 = (int) -1 ;
9593 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9594 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9595 wxSize const &arg5_defvalue = wxDefaultSize ;
9596 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9597 long arg6 = (long) wxSB_HORIZONTAL ;
9598 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9599 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9600 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9601 wxString *arg8 = (wxString *) &arg8_defvalue ;
9602 bool result;
9603 wxPoint temp4 ;
9604 wxSize temp5 ;
9605 bool temp8 = False ;
9606 PyObject * obj0 = 0 ;
9607 PyObject * obj1 = 0 ;
9608 PyObject * obj2 = 0 ;
9609 PyObject * obj3 = 0 ;
9610 PyObject * obj4 = 0 ;
9611 PyObject * obj5 = 0 ;
9612 PyObject * obj6 = 0 ;
9613 PyObject * obj7 = 0 ;
9614 char *kwnames[] = {
9615 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9616 };
9617
9618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9621 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9623 if (obj2) {
9624 arg3 = (int) SWIG_AsInt(obj2);
9625 if (PyErr_Occurred()) SWIG_fail;
9626 }
9627 if (obj3) {
9628 {
9629 arg4 = &temp4;
9630 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9631 }
9632 }
9633 if (obj4) {
9634 {
9635 arg5 = &temp5;
9636 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9637 }
9638 }
9639 if (obj5) {
9640 arg6 = (long) SWIG_AsLong(obj5);
9641 if (PyErr_Occurred()) SWIG_fail;
9642 }
9643 if (obj6) {
9644 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
9645 SWIG_POINTER_EXCEPTION | 0)) == -1)
9646 SWIG_fail;
9647 if (arg7 == NULL) {
9648 PyErr_SetString(PyExc_TypeError,"null reference");
9649 SWIG_fail;
9650 }
9651 }
9652 if (obj7) {
9653 {
9654 arg8 = wxString_in_helper(obj7);
9655 if (arg8 == NULL) SWIG_fail;
9656 temp8 = True;
9657 }
9658 }
9659 {
9660 PyThreadState* __tstate = wxPyBeginAllowThreads();
9661 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9662
9663 wxPyEndAllowThreads(__tstate);
9664 if (PyErr_Occurred()) SWIG_fail;
9665 }
9666 {
9667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9668 }
9669 {
9670 if (temp8)
9671 delete arg8;
9672 }
9673 return resultobj;
9674 fail:
9675 {
9676 if (temp8)
9677 delete arg8;
9678 }
9679 return NULL;
9680 }
9681
9682
9683 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9684 PyObject *resultobj;
9685 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9686 int result;
9687 PyObject * obj0 = 0 ;
9688 char *kwnames[] = {
9689 (char *) "self", NULL
9690 };
9691
9692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
9693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9695 {
9696 PyThreadState* __tstate = wxPyBeginAllowThreads();
9697 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9698
9699 wxPyEndAllowThreads(__tstate);
9700 if (PyErr_Occurred()) SWIG_fail;
9701 }
9702 resultobj = SWIG_FromInt((int)result);
9703 return resultobj;
9704 fail:
9705 return NULL;
9706 }
9707
9708
9709 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9710 PyObject *resultobj;
9711 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9712 int result;
9713 PyObject * obj0 = 0 ;
9714 char *kwnames[] = {
9715 (char *) "self", NULL
9716 };
9717
9718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
9719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9721 {
9722 PyThreadState* __tstate = wxPyBeginAllowThreads();
9723 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9724
9725 wxPyEndAllowThreads(__tstate);
9726 if (PyErr_Occurred()) SWIG_fail;
9727 }
9728 resultobj = SWIG_FromInt((int)result);
9729 return resultobj;
9730 fail:
9731 return NULL;
9732 }
9733
9734
9735 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9736 PyObject *resultobj;
9737 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9738 int result;
9739 PyObject * obj0 = 0 ;
9740 char *kwnames[] = {
9741 (char *) "self", NULL
9742 };
9743
9744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
9745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9747 {
9748 PyThreadState* __tstate = wxPyBeginAllowThreads();
9749 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9750
9751 wxPyEndAllowThreads(__tstate);
9752 if (PyErr_Occurred()) SWIG_fail;
9753 }
9754 resultobj = SWIG_FromInt((int)result);
9755 return resultobj;
9756 fail:
9757 return NULL;
9758 }
9759
9760
9761 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9762 PyObject *resultobj;
9763 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9764 int result;
9765 PyObject * obj0 = 0 ;
9766 char *kwnames[] = {
9767 (char *) "self", NULL
9768 };
9769
9770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
9771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9773 {
9774 PyThreadState* __tstate = wxPyBeginAllowThreads();
9775 result = (int)((wxScrollBar const *)arg1)->GetRange();
9776
9777 wxPyEndAllowThreads(__tstate);
9778 if (PyErr_Occurred()) SWIG_fail;
9779 }
9780 resultobj = SWIG_FromInt((int)result);
9781 return resultobj;
9782 fail:
9783 return NULL;
9784 }
9785
9786
9787 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9788 PyObject *resultobj;
9789 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9790 bool result;
9791 PyObject * obj0 = 0 ;
9792 char *kwnames[] = {
9793 (char *) "self", NULL
9794 };
9795
9796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
9797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9799 {
9800 PyThreadState* __tstate = wxPyBeginAllowThreads();
9801 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9802
9803 wxPyEndAllowThreads(__tstate);
9804 if (PyErr_Occurred()) SWIG_fail;
9805 }
9806 {
9807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9808 }
9809 return resultobj;
9810 fail:
9811 return NULL;
9812 }
9813
9814
9815 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9816 PyObject *resultobj;
9817 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9818 int arg2 ;
9819 PyObject * obj0 = 0 ;
9820 PyObject * obj1 = 0 ;
9821 char *kwnames[] = {
9822 (char *) "self",(char *) "viewStart", NULL
9823 };
9824
9825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
9826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9828 arg2 = (int) SWIG_AsInt(obj1);
9829 if (PyErr_Occurred()) SWIG_fail;
9830 {
9831 PyThreadState* __tstate = wxPyBeginAllowThreads();
9832 (arg1)->SetThumbPosition(arg2);
9833
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) SWIG_fail;
9836 }
9837 Py_INCREF(Py_None); resultobj = Py_None;
9838 return resultobj;
9839 fail:
9840 return NULL;
9841 }
9842
9843
9844 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
9845 PyObject *resultobj;
9846 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9847 int arg2 ;
9848 int arg3 ;
9849 int arg4 ;
9850 int arg5 ;
9851 bool arg6 = (bool) True ;
9852 PyObject * obj0 = 0 ;
9853 PyObject * obj1 = 0 ;
9854 PyObject * obj2 = 0 ;
9855 PyObject * obj3 = 0 ;
9856 PyObject * obj4 = 0 ;
9857 PyObject * obj5 = 0 ;
9858 char *kwnames[] = {
9859 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9860 };
9861
9862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9865 arg2 = (int) SWIG_AsInt(obj1);
9866 if (PyErr_Occurred()) SWIG_fail;
9867 arg3 = (int) SWIG_AsInt(obj2);
9868 if (PyErr_Occurred()) SWIG_fail;
9869 arg4 = (int) SWIG_AsInt(obj3);
9870 if (PyErr_Occurred()) SWIG_fail;
9871 arg5 = (int) SWIG_AsInt(obj4);
9872 if (PyErr_Occurred()) SWIG_fail;
9873 if (obj5) {
9874 arg6 = (bool) SWIG_AsBool(obj5);
9875 if (PyErr_Occurred()) SWIG_fail;
9876 }
9877 {
9878 PyThreadState* __tstate = wxPyBeginAllowThreads();
9879 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
9880
9881 wxPyEndAllowThreads(__tstate);
9882 if (PyErr_Occurred()) SWIG_fail;
9883 }
9884 Py_INCREF(Py_None); resultobj = Py_None;
9885 return resultobj;
9886 fail:
9887 return NULL;
9888 }
9889
9890
9891 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
9892 PyObject *obj;
9893 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9894 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
9895 Py_INCREF(obj);
9896 return Py_BuildValue((char *)"");
9897 }
9898 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
9899 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
9900 return 1;
9901 }
9902
9903
9904 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
9905 PyObject *pyobj;
9906
9907 {
9908 #if wxUSE_UNICODE
9909 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9910 #else
9911 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9912 #endif
9913 }
9914 return pyobj;
9915 }
9916
9917
9918 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
9919 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
9920 return 1;
9921 }
9922
9923
9924 static PyObject *_wrap_SpinCtrlNameStr_get() {
9925 PyObject *pyobj;
9926
9927 {
9928 #if wxUSE_UNICODE
9929 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9930 #else
9931 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9932 #endif
9933 }
9934 return pyobj;
9935 }
9936
9937
9938 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9939 PyObject *resultobj;
9940 wxWindow *arg1 = (wxWindow *) 0 ;
9941 int arg2 = (int) -1 ;
9942 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9943 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9944 wxSize const &arg4_defvalue = wxDefaultSize ;
9945 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9946 long arg5 = (long) wxSP_HORIZONTAL ;
9947 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
9948 wxString *arg6 = (wxString *) &arg6_defvalue ;
9949 wxSpinButton *result;
9950 wxPoint temp3 ;
9951 wxSize temp4 ;
9952 bool temp6 = False ;
9953 PyObject * obj0 = 0 ;
9954 PyObject * obj1 = 0 ;
9955 PyObject * obj2 = 0 ;
9956 PyObject * obj3 = 0 ;
9957 PyObject * obj4 = 0 ;
9958 PyObject * obj5 = 0 ;
9959 char *kwnames[] = {
9960 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9961 };
9962
9963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9966 if (obj1) {
9967 arg2 = (int) SWIG_AsInt(obj1);
9968 if (PyErr_Occurred()) SWIG_fail;
9969 }
9970 if (obj2) {
9971 {
9972 arg3 = &temp3;
9973 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9974 }
9975 }
9976 if (obj3) {
9977 {
9978 arg4 = &temp4;
9979 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9980 }
9981 }
9982 if (obj4) {
9983 arg5 = (long) SWIG_AsLong(obj4);
9984 if (PyErr_Occurred()) SWIG_fail;
9985 }
9986 if (obj5) {
9987 {
9988 arg6 = wxString_in_helper(obj5);
9989 if (arg6 == NULL) SWIG_fail;
9990 temp6 = True;
9991 }
9992 }
9993 {
9994 PyThreadState* __tstate = wxPyBeginAllowThreads();
9995 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9996
9997 wxPyEndAllowThreads(__tstate);
9998 if (PyErr_Occurred()) SWIG_fail;
9999 }
10000 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10001 {
10002 if (temp6)
10003 delete arg6;
10004 }
10005 return resultobj;
10006 fail:
10007 {
10008 if (temp6)
10009 delete arg6;
10010 }
10011 return NULL;
10012 }
10013
10014
10015 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10016 PyObject *resultobj;
10017 wxSpinButton *result;
10018 char *kwnames[] = {
10019 NULL
10020 };
10021
10022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10023 {
10024 PyThreadState* __tstate = wxPyBeginAllowThreads();
10025 result = (wxSpinButton *)new wxSpinButton();
10026
10027 wxPyEndAllowThreads(__tstate);
10028 if (PyErr_Occurred()) SWIG_fail;
10029 }
10030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10031 return resultobj;
10032 fail:
10033 return NULL;
10034 }
10035
10036
10037 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10038 PyObject *resultobj;
10039 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10040 wxWindow *arg2 = (wxWindow *) 0 ;
10041 int arg3 = (int) -1 ;
10042 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10043 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10044 wxSize const &arg5_defvalue = wxDefaultSize ;
10045 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10046 long arg6 = (long) wxSP_HORIZONTAL ;
10047 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10048 wxString *arg7 = (wxString *) &arg7_defvalue ;
10049 bool result;
10050 wxPoint temp4 ;
10051 wxSize temp5 ;
10052 bool temp7 = False ;
10053 PyObject * obj0 = 0 ;
10054 PyObject * obj1 = 0 ;
10055 PyObject * obj2 = 0 ;
10056 PyObject * obj3 = 0 ;
10057 PyObject * obj4 = 0 ;
10058 PyObject * obj5 = 0 ;
10059 PyObject * obj6 = 0 ;
10060 char *kwnames[] = {
10061 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10062 };
10063
10064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10067 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10069 if (obj2) {
10070 arg3 = (int) SWIG_AsInt(obj2);
10071 if (PyErr_Occurred()) SWIG_fail;
10072 }
10073 if (obj3) {
10074 {
10075 arg4 = &temp4;
10076 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10077 }
10078 }
10079 if (obj4) {
10080 {
10081 arg5 = &temp5;
10082 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10083 }
10084 }
10085 if (obj5) {
10086 arg6 = (long) SWIG_AsLong(obj5);
10087 if (PyErr_Occurred()) SWIG_fail;
10088 }
10089 if (obj6) {
10090 {
10091 arg7 = wxString_in_helper(obj6);
10092 if (arg7 == NULL) SWIG_fail;
10093 temp7 = True;
10094 }
10095 }
10096 {
10097 PyThreadState* __tstate = wxPyBeginAllowThreads();
10098 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10099
10100 wxPyEndAllowThreads(__tstate);
10101 if (PyErr_Occurred()) SWIG_fail;
10102 }
10103 {
10104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10105 }
10106 {
10107 if (temp7)
10108 delete arg7;
10109 }
10110 return resultobj;
10111 fail:
10112 {
10113 if (temp7)
10114 delete arg7;
10115 }
10116 return NULL;
10117 }
10118
10119
10120 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10121 PyObject *resultobj;
10122 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10123 int result;
10124 PyObject * obj0 = 0 ;
10125 char *kwnames[] = {
10126 (char *) "self", NULL
10127 };
10128
10129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10132 {
10133 PyThreadState* __tstate = wxPyBeginAllowThreads();
10134 result = (int)((wxSpinButton const *)arg1)->GetValue();
10135
10136 wxPyEndAllowThreads(__tstate);
10137 if (PyErr_Occurred()) SWIG_fail;
10138 }
10139 resultobj = SWIG_FromInt((int)result);
10140 return resultobj;
10141 fail:
10142 return NULL;
10143 }
10144
10145
10146 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10147 PyObject *resultobj;
10148 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10149 int result;
10150 PyObject * obj0 = 0 ;
10151 char *kwnames[] = {
10152 (char *) "self", NULL
10153 };
10154
10155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10158 {
10159 PyThreadState* __tstate = wxPyBeginAllowThreads();
10160 result = (int)((wxSpinButton const *)arg1)->GetMin();
10161
10162 wxPyEndAllowThreads(__tstate);
10163 if (PyErr_Occurred()) SWIG_fail;
10164 }
10165 resultobj = SWIG_FromInt((int)result);
10166 return resultobj;
10167 fail:
10168 return NULL;
10169 }
10170
10171
10172 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10173 PyObject *resultobj;
10174 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10175 int result;
10176 PyObject * obj0 = 0 ;
10177 char *kwnames[] = {
10178 (char *) "self", NULL
10179 };
10180
10181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10184 {
10185 PyThreadState* __tstate = wxPyBeginAllowThreads();
10186 result = (int)((wxSpinButton const *)arg1)->GetMax();
10187
10188 wxPyEndAllowThreads(__tstate);
10189 if (PyErr_Occurred()) SWIG_fail;
10190 }
10191 resultobj = SWIG_FromInt((int)result);
10192 return resultobj;
10193 fail:
10194 return NULL;
10195 }
10196
10197
10198 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10199 PyObject *resultobj;
10200 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10201 int arg2 ;
10202 PyObject * obj0 = 0 ;
10203 PyObject * obj1 = 0 ;
10204 char *kwnames[] = {
10205 (char *) "self",(char *) "val", NULL
10206 };
10207
10208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10211 arg2 = (int) SWIG_AsInt(obj1);
10212 if (PyErr_Occurred()) SWIG_fail;
10213 {
10214 PyThreadState* __tstate = wxPyBeginAllowThreads();
10215 (arg1)->SetValue(arg2);
10216
10217 wxPyEndAllowThreads(__tstate);
10218 if (PyErr_Occurred()) SWIG_fail;
10219 }
10220 Py_INCREF(Py_None); resultobj = Py_None;
10221 return resultobj;
10222 fail:
10223 return NULL;
10224 }
10225
10226
10227 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10228 PyObject *resultobj;
10229 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10230 int arg2 ;
10231 PyObject * obj0 = 0 ;
10232 PyObject * obj1 = 0 ;
10233 char *kwnames[] = {
10234 (char *) "self",(char *) "minVal", NULL
10235 };
10236
10237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10240 arg2 = (int) SWIG_AsInt(obj1);
10241 if (PyErr_Occurred()) SWIG_fail;
10242 {
10243 PyThreadState* __tstate = wxPyBeginAllowThreads();
10244 (arg1)->SetMin(arg2);
10245
10246 wxPyEndAllowThreads(__tstate);
10247 if (PyErr_Occurred()) SWIG_fail;
10248 }
10249 Py_INCREF(Py_None); resultobj = Py_None;
10250 return resultobj;
10251 fail:
10252 return NULL;
10253 }
10254
10255
10256 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10257 PyObject *resultobj;
10258 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10259 int arg2 ;
10260 PyObject * obj0 = 0 ;
10261 PyObject * obj1 = 0 ;
10262 char *kwnames[] = {
10263 (char *) "self",(char *) "maxVal", NULL
10264 };
10265
10266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10269 arg2 = (int) SWIG_AsInt(obj1);
10270 if (PyErr_Occurred()) SWIG_fail;
10271 {
10272 PyThreadState* __tstate = wxPyBeginAllowThreads();
10273 (arg1)->SetMax(arg2);
10274
10275 wxPyEndAllowThreads(__tstate);
10276 if (PyErr_Occurred()) SWIG_fail;
10277 }
10278 Py_INCREF(Py_None); resultobj = Py_None;
10279 return resultobj;
10280 fail:
10281 return NULL;
10282 }
10283
10284
10285 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10286 PyObject *resultobj;
10287 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10288 int arg2 ;
10289 int arg3 ;
10290 PyObject * obj0 = 0 ;
10291 PyObject * obj1 = 0 ;
10292 PyObject * obj2 = 0 ;
10293 char *kwnames[] = {
10294 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10295 };
10296
10297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10300 arg2 = (int) SWIG_AsInt(obj1);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 arg3 = (int) SWIG_AsInt(obj2);
10303 if (PyErr_Occurred()) SWIG_fail;
10304 {
10305 PyThreadState* __tstate = wxPyBeginAllowThreads();
10306 (arg1)->SetRange(arg2,arg3);
10307
10308 wxPyEndAllowThreads(__tstate);
10309 if (PyErr_Occurred()) SWIG_fail;
10310 }
10311 Py_INCREF(Py_None); resultobj = Py_None;
10312 return resultobj;
10313 fail:
10314 return NULL;
10315 }
10316
10317
10318 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10319 PyObject *resultobj;
10320 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10321 bool result;
10322 PyObject * obj0 = 0 ;
10323 char *kwnames[] = {
10324 (char *) "self", NULL
10325 };
10326
10327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10330 {
10331 PyThreadState* __tstate = wxPyBeginAllowThreads();
10332 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10333
10334 wxPyEndAllowThreads(__tstate);
10335 if (PyErr_Occurred()) SWIG_fail;
10336 }
10337 {
10338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10339 }
10340 return resultobj;
10341 fail:
10342 return NULL;
10343 }
10344
10345
10346 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
10347 PyObject *obj;
10348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10349 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10350 Py_INCREF(obj);
10351 return Py_BuildValue((char *)"");
10352 }
10353 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10354 PyObject *resultobj;
10355 wxWindow *arg1 = (wxWindow *) 0 ;
10356 int arg2 = (int) -1 ;
10357 wxString const &arg3_defvalue = wxPyEmptyString ;
10358 wxString *arg3 = (wxString *) &arg3_defvalue ;
10359 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10360 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10361 wxSize const &arg5_defvalue = wxDefaultSize ;
10362 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10363 long arg6 = (long) wxSP_ARROW_KEYS ;
10364 int arg7 = (int) 0 ;
10365 int arg8 = (int) 100 ;
10366 int arg9 = (int) 0 ;
10367 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10368 wxString *arg10 = (wxString *) &arg10_defvalue ;
10369 wxSpinCtrl *result;
10370 bool temp3 = False ;
10371 wxPoint temp4 ;
10372 wxSize temp5 ;
10373 bool temp10 = False ;
10374 PyObject * obj0 = 0 ;
10375 PyObject * obj1 = 0 ;
10376 PyObject * obj2 = 0 ;
10377 PyObject * obj3 = 0 ;
10378 PyObject * obj4 = 0 ;
10379 PyObject * obj5 = 0 ;
10380 PyObject * obj6 = 0 ;
10381 PyObject * obj7 = 0 ;
10382 PyObject * obj8 = 0 ;
10383 PyObject * obj9 = 0 ;
10384 char *kwnames[] = {
10385 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10386 };
10387
10388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10391 if (obj1) {
10392 arg2 = (int) SWIG_AsInt(obj1);
10393 if (PyErr_Occurred()) SWIG_fail;
10394 }
10395 if (obj2) {
10396 {
10397 arg3 = wxString_in_helper(obj2);
10398 if (arg3 == NULL) SWIG_fail;
10399 temp3 = True;
10400 }
10401 }
10402 if (obj3) {
10403 {
10404 arg4 = &temp4;
10405 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10406 }
10407 }
10408 if (obj4) {
10409 {
10410 arg5 = &temp5;
10411 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10412 }
10413 }
10414 if (obj5) {
10415 arg6 = (long) SWIG_AsLong(obj5);
10416 if (PyErr_Occurred()) SWIG_fail;
10417 }
10418 if (obj6) {
10419 arg7 = (int) SWIG_AsInt(obj6);
10420 if (PyErr_Occurred()) SWIG_fail;
10421 }
10422 if (obj7) {
10423 arg8 = (int) SWIG_AsInt(obj7);
10424 if (PyErr_Occurred()) SWIG_fail;
10425 }
10426 if (obj8) {
10427 arg9 = (int) SWIG_AsInt(obj8);
10428 if (PyErr_Occurred()) SWIG_fail;
10429 }
10430 if (obj9) {
10431 {
10432 arg10 = wxString_in_helper(obj9);
10433 if (arg10 == NULL) SWIG_fail;
10434 temp10 = True;
10435 }
10436 }
10437 {
10438 PyThreadState* __tstate = wxPyBeginAllowThreads();
10439 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10440
10441 wxPyEndAllowThreads(__tstate);
10442 if (PyErr_Occurred()) SWIG_fail;
10443 }
10444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10445 {
10446 if (temp3)
10447 delete arg3;
10448 }
10449 {
10450 if (temp10)
10451 delete arg10;
10452 }
10453 return resultobj;
10454 fail:
10455 {
10456 if (temp3)
10457 delete arg3;
10458 }
10459 {
10460 if (temp10)
10461 delete arg10;
10462 }
10463 return NULL;
10464 }
10465
10466
10467 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10468 PyObject *resultobj;
10469 wxSpinCtrl *result;
10470 char *kwnames[] = {
10471 NULL
10472 };
10473
10474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10475 {
10476 PyThreadState* __tstate = wxPyBeginAllowThreads();
10477 result = (wxSpinCtrl *)new wxSpinCtrl();
10478
10479 wxPyEndAllowThreads(__tstate);
10480 if (PyErr_Occurred()) SWIG_fail;
10481 }
10482 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10483 return resultobj;
10484 fail:
10485 return NULL;
10486 }
10487
10488
10489 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10490 PyObject *resultobj;
10491 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10492 wxWindow *arg2 = (wxWindow *) 0 ;
10493 int arg3 = (int) -1 ;
10494 wxString const &arg4_defvalue = wxPyEmptyString ;
10495 wxString *arg4 = (wxString *) &arg4_defvalue ;
10496 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10497 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10498 wxSize const &arg6_defvalue = wxDefaultSize ;
10499 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10500 long arg7 = (long) wxSP_ARROW_KEYS ;
10501 int arg8 = (int) 0 ;
10502 int arg9 = (int) 100 ;
10503 int arg10 = (int) 0 ;
10504 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10505 wxString *arg11 = (wxString *) &arg11_defvalue ;
10506 bool result;
10507 bool temp4 = False ;
10508 wxPoint temp5 ;
10509 wxSize temp6 ;
10510 bool temp11 = False ;
10511 PyObject * obj0 = 0 ;
10512 PyObject * obj1 = 0 ;
10513 PyObject * obj2 = 0 ;
10514 PyObject * obj3 = 0 ;
10515 PyObject * obj4 = 0 ;
10516 PyObject * obj5 = 0 ;
10517 PyObject * obj6 = 0 ;
10518 PyObject * obj7 = 0 ;
10519 PyObject * obj8 = 0 ;
10520 PyObject * obj9 = 0 ;
10521 PyObject * obj10 = 0 ;
10522 char *kwnames[] = {
10523 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10524 };
10525
10526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10531 if (obj2) {
10532 arg3 = (int) SWIG_AsInt(obj2);
10533 if (PyErr_Occurred()) SWIG_fail;
10534 }
10535 if (obj3) {
10536 {
10537 arg4 = wxString_in_helper(obj3);
10538 if (arg4 == NULL) SWIG_fail;
10539 temp4 = True;
10540 }
10541 }
10542 if (obj4) {
10543 {
10544 arg5 = &temp5;
10545 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10546 }
10547 }
10548 if (obj5) {
10549 {
10550 arg6 = &temp6;
10551 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10552 }
10553 }
10554 if (obj6) {
10555 arg7 = (long) SWIG_AsLong(obj6);
10556 if (PyErr_Occurred()) SWIG_fail;
10557 }
10558 if (obj7) {
10559 arg8 = (int) SWIG_AsInt(obj7);
10560 if (PyErr_Occurred()) SWIG_fail;
10561 }
10562 if (obj8) {
10563 arg9 = (int) SWIG_AsInt(obj8);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 }
10566 if (obj9) {
10567 arg10 = (int) SWIG_AsInt(obj9);
10568 if (PyErr_Occurred()) SWIG_fail;
10569 }
10570 if (obj10) {
10571 {
10572 arg11 = wxString_in_helper(obj10);
10573 if (arg11 == NULL) SWIG_fail;
10574 temp11 = True;
10575 }
10576 }
10577 {
10578 PyThreadState* __tstate = wxPyBeginAllowThreads();
10579 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10580
10581 wxPyEndAllowThreads(__tstate);
10582 if (PyErr_Occurred()) SWIG_fail;
10583 }
10584 {
10585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10586 }
10587 {
10588 if (temp4)
10589 delete arg4;
10590 }
10591 {
10592 if (temp11)
10593 delete arg11;
10594 }
10595 return resultobj;
10596 fail:
10597 {
10598 if (temp4)
10599 delete arg4;
10600 }
10601 {
10602 if (temp11)
10603 delete arg11;
10604 }
10605 return NULL;
10606 }
10607
10608
10609 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10610 PyObject *resultobj;
10611 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10612 int result;
10613 PyObject * obj0 = 0 ;
10614 char *kwnames[] = {
10615 (char *) "self", NULL
10616 };
10617
10618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
10619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10621 {
10622 PyThreadState* __tstate = wxPyBeginAllowThreads();
10623 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10624
10625 wxPyEndAllowThreads(__tstate);
10626 if (PyErr_Occurred()) SWIG_fail;
10627 }
10628 resultobj = SWIG_FromInt((int)result);
10629 return resultobj;
10630 fail:
10631 return NULL;
10632 }
10633
10634
10635 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10636 PyObject *resultobj;
10637 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10638 int arg2 ;
10639 PyObject * obj0 = 0 ;
10640 PyObject * obj1 = 0 ;
10641 char *kwnames[] = {
10642 (char *) "self",(char *) "value", NULL
10643 };
10644
10645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10648 arg2 = (int) SWIG_AsInt(obj1);
10649 if (PyErr_Occurred()) SWIG_fail;
10650 {
10651 PyThreadState* __tstate = wxPyBeginAllowThreads();
10652 (arg1)->SetValue(arg2);
10653
10654 wxPyEndAllowThreads(__tstate);
10655 if (PyErr_Occurred()) SWIG_fail;
10656 }
10657 Py_INCREF(Py_None); resultobj = Py_None;
10658 return resultobj;
10659 fail:
10660 return NULL;
10661 }
10662
10663
10664 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
10665 PyObject *resultobj;
10666 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10667 wxString *arg2 = 0 ;
10668 bool temp2 = False ;
10669 PyObject * obj0 = 0 ;
10670 PyObject * obj1 = 0 ;
10671 char *kwnames[] = {
10672 (char *) "self",(char *) "text", NULL
10673 };
10674
10675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
10676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10678 {
10679 arg2 = wxString_in_helper(obj1);
10680 if (arg2 == NULL) SWIG_fail;
10681 temp2 = True;
10682 }
10683 {
10684 PyThreadState* __tstate = wxPyBeginAllowThreads();
10685 (arg1)->SetValue((wxString const &)*arg2);
10686
10687 wxPyEndAllowThreads(__tstate);
10688 if (PyErr_Occurred()) SWIG_fail;
10689 }
10690 Py_INCREF(Py_None); resultobj = Py_None;
10691 {
10692 if (temp2)
10693 delete arg2;
10694 }
10695 return resultobj;
10696 fail:
10697 {
10698 if (temp2)
10699 delete arg2;
10700 }
10701 return NULL;
10702 }
10703
10704
10705 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10706 PyObject *resultobj;
10707 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10708 int arg2 ;
10709 int arg3 ;
10710 PyObject * obj0 = 0 ;
10711 PyObject * obj1 = 0 ;
10712 PyObject * obj2 = 0 ;
10713 char *kwnames[] = {
10714 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10715 };
10716
10717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10720 arg2 = (int) SWIG_AsInt(obj1);
10721 if (PyErr_Occurred()) SWIG_fail;
10722 arg3 = (int) SWIG_AsInt(obj2);
10723 if (PyErr_Occurred()) SWIG_fail;
10724 {
10725 PyThreadState* __tstate = wxPyBeginAllowThreads();
10726 (arg1)->SetRange(arg2,arg3);
10727
10728 wxPyEndAllowThreads(__tstate);
10729 if (PyErr_Occurred()) SWIG_fail;
10730 }
10731 Py_INCREF(Py_None); resultobj = Py_None;
10732 return resultobj;
10733 fail:
10734 return NULL;
10735 }
10736
10737
10738 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10739 PyObject *resultobj;
10740 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10741 int result;
10742 PyObject * obj0 = 0 ;
10743 char *kwnames[] = {
10744 (char *) "self", NULL
10745 };
10746
10747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
10748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10750 {
10751 PyThreadState* __tstate = wxPyBeginAllowThreads();
10752 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10753
10754 wxPyEndAllowThreads(__tstate);
10755 if (PyErr_Occurred()) SWIG_fail;
10756 }
10757 resultobj = SWIG_FromInt((int)result);
10758 return resultobj;
10759 fail:
10760 return NULL;
10761 }
10762
10763
10764 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10765 PyObject *resultobj;
10766 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10767 int result;
10768 PyObject * obj0 = 0 ;
10769 char *kwnames[] = {
10770 (char *) "self", NULL
10771 };
10772
10773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
10774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10776 {
10777 PyThreadState* __tstate = wxPyBeginAllowThreads();
10778 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10779
10780 wxPyEndAllowThreads(__tstate);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 }
10783 resultobj = SWIG_FromInt((int)result);
10784 return resultobj;
10785 fail:
10786 return NULL;
10787 }
10788
10789
10790 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10791 PyObject *resultobj;
10792 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10793 long arg2 ;
10794 long arg3 ;
10795 PyObject * obj0 = 0 ;
10796 PyObject * obj1 = 0 ;
10797 PyObject * obj2 = 0 ;
10798 char *kwnames[] = {
10799 (char *) "self",(char *) "from",(char *) "to", NULL
10800 };
10801
10802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
10803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10805 arg2 = (long) SWIG_AsLong(obj1);
10806 if (PyErr_Occurred()) SWIG_fail;
10807 arg3 = (long) SWIG_AsLong(obj2);
10808 if (PyErr_Occurred()) SWIG_fail;
10809 {
10810 PyThreadState* __tstate = wxPyBeginAllowThreads();
10811 (arg1)->SetSelection(arg2,arg3);
10812
10813 wxPyEndAllowThreads(__tstate);
10814 if (PyErr_Occurred()) SWIG_fail;
10815 }
10816 Py_INCREF(Py_None); resultobj = Py_None;
10817 return resultobj;
10818 fail:
10819 return NULL;
10820 }
10821
10822
10823 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
10824 PyObject *obj;
10825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10826 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10827 Py_INCREF(obj);
10828 return Py_BuildValue((char *)"");
10829 }
10830 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10831 PyObject *resultobj;
10832 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10833 int arg2 = (int) 0 ;
10834 wxSpinEvent *result;
10835 PyObject * obj0 = 0 ;
10836 PyObject * obj1 = 0 ;
10837 char *kwnames[] = {
10838 (char *) "commandType",(char *) "winid", NULL
10839 };
10840
10841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10842 if (obj0) {
10843 arg1 = (wxEventType) SWIG_AsInt(obj0);
10844 if (PyErr_Occurred()) SWIG_fail;
10845 }
10846 if (obj1) {
10847 arg2 = (int) SWIG_AsInt(obj1);
10848 if (PyErr_Occurred()) SWIG_fail;
10849 }
10850 {
10851 PyThreadState* __tstate = wxPyBeginAllowThreads();
10852 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10853
10854 wxPyEndAllowThreads(__tstate);
10855 if (PyErr_Occurred()) SWIG_fail;
10856 }
10857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
10858 return resultobj;
10859 fail:
10860 return NULL;
10861 }
10862
10863
10864 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10865 PyObject *resultobj;
10866 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10867 int result;
10868 PyObject * obj0 = 0 ;
10869 char *kwnames[] = {
10870 (char *) "self", NULL
10871 };
10872
10873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
10874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10876 {
10877 PyThreadState* __tstate = wxPyBeginAllowThreads();
10878 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
10879
10880 wxPyEndAllowThreads(__tstate);
10881 if (PyErr_Occurred()) SWIG_fail;
10882 }
10883 resultobj = SWIG_FromInt((int)result);
10884 return resultobj;
10885 fail:
10886 return NULL;
10887 }
10888
10889
10890 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10891 PyObject *resultobj;
10892 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10893 int arg2 ;
10894 PyObject * obj0 = 0 ;
10895 PyObject * obj1 = 0 ;
10896 char *kwnames[] = {
10897 (char *) "self",(char *) "pos", NULL
10898 };
10899
10900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10903 arg2 = (int) SWIG_AsInt(obj1);
10904 if (PyErr_Occurred()) SWIG_fail;
10905 {
10906 PyThreadState* __tstate = wxPyBeginAllowThreads();
10907 (arg1)->SetPosition(arg2);
10908
10909 wxPyEndAllowThreads(__tstate);
10910 if (PyErr_Occurred()) SWIG_fail;
10911 }
10912 Py_INCREF(Py_None); resultobj = Py_None;
10913 return resultobj;
10914 fail:
10915 return NULL;
10916 }
10917
10918
10919 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
10920 PyObject *obj;
10921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10922 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
10923 Py_INCREF(obj);
10924 return Py_BuildValue((char *)"");
10925 }
10926 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
10927 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
10928 return 1;
10929 }
10930
10931
10932 static PyObject *_wrap_RadioBoxNameStr_get() {
10933 PyObject *pyobj;
10934
10935 {
10936 #if wxUSE_UNICODE
10937 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10938 #else
10939 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10940 #endif
10941 }
10942 return pyobj;
10943 }
10944
10945
10946 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
10947 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
10948 return 1;
10949 }
10950
10951
10952 static PyObject *_wrap_RadioButtonNameStr_get() {
10953 PyObject *pyobj;
10954
10955 {
10956 #if wxUSE_UNICODE
10957 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10958 #else
10959 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10960 #endif
10961 }
10962 return pyobj;
10963 }
10964
10965
10966 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10967 PyObject *resultobj;
10968 wxWindow *arg1 = (wxWindow *) 0 ;
10969 int arg2 ;
10970 wxString *arg3 = 0 ;
10971 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10972 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10973 wxSize const &arg5_defvalue = wxDefaultSize ;
10974 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10975 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10976 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10977 int arg7 = (int) 0 ;
10978 long arg8 = (long) wxRA_HORIZONTAL ;
10979 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10980 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10981 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
10982 wxString *arg10 = (wxString *) &arg10_defvalue ;
10983 wxRadioBox *result;
10984 bool temp3 = False ;
10985 wxPoint temp4 ;
10986 wxSize temp5 ;
10987 bool temp6 = False ;
10988 bool temp10 = False ;
10989 PyObject * obj0 = 0 ;
10990 PyObject * obj1 = 0 ;
10991 PyObject * obj2 = 0 ;
10992 PyObject * obj3 = 0 ;
10993 PyObject * obj4 = 0 ;
10994 PyObject * obj5 = 0 ;
10995 PyObject * obj6 = 0 ;
10996 PyObject * obj7 = 0 ;
10997 PyObject * obj8 = 0 ;
10998 PyObject * obj9 = 0 ;
10999 char *kwnames[] = {
11000 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11001 };
11002
11003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11006 arg2 = (int) SWIG_AsInt(obj1);
11007 if (PyErr_Occurred()) SWIG_fail;
11008 {
11009 arg3 = wxString_in_helper(obj2);
11010 if (arg3 == NULL) SWIG_fail;
11011 temp3 = True;
11012 }
11013 if (obj3) {
11014 {
11015 arg4 = &temp4;
11016 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11017 }
11018 }
11019 if (obj4) {
11020 {
11021 arg5 = &temp5;
11022 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11023 }
11024 }
11025 if (obj5) {
11026 {
11027 if (! PySequence_Check(obj5)) {
11028 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11029 SWIG_fail;
11030 }
11031 arg6 = new wxArrayString;
11032 temp6 = True;
11033 int i, len=PySequence_Length(obj5);
11034 for (i=0; i<len; i++) {
11035 PyObject* item = PySequence_GetItem(obj5, i);
11036 #if wxUSE_UNICODE
11037 PyObject* str = PyObject_Unicode(item);
11038 #else
11039 PyObject* str = PyObject_Str(item);
11040 #endif
11041 arg6->Add(Py2wxString(str));
11042 Py_DECREF(item);
11043 Py_DECREF(str);
11044 }
11045 }
11046 }
11047 if (obj6) {
11048 arg7 = (int) SWIG_AsInt(obj6);
11049 if (PyErr_Occurred()) SWIG_fail;
11050 }
11051 if (obj7) {
11052 arg8 = (long) SWIG_AsLong(obj7);
11053 if (PyErr_Occurred()) SWIG_fail;
11054 }
11055 if (obj8) {
11056 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11057 SWIG_POINTER_EXCEPTION | 0)) == -1)
11058 SWIG_fail;
11059 if (arg9 == NULL) {
11060 PyErr_SetString(PyExc_TypeError,"null reference");
11061 SWIG_fail;
11062 }
11063 }
11064 if (obj9) {
11065 {
11066 arg10 = wxString_in_helper(obj9);
11067 if (arg10 == NULL) SWIG_fail;
11068 temp10 = True;
11069 }
11070 }
11071 {
11072 PyThreadState* __tstate = wxPyBeginAllowThreads();
11073 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);
11074
11075 wxPyEndAllowThreads(__tstate);
11076 if (PyErr_Occurred()) SWIG_fail;
11077 }
11078 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11079 {
11080 if (temp3)
11081 delete arg3;
11082 }
11083 {
11084 if (temp6) delete arg6;
11085 }
11086 {
11087 if (temp10)
11088 delete arg10;
11089 }
11090 return resultobj;
11091 fail:
11092 {
11093 if (temp3)
11094 delete arg3;
11095 }
11096 {
11097 if (temp6) delete arg6;
11098 }
11099 {
11100 if (temp10)
11101 delete arg10;
11102 }
11103 return NULL;
11104 }
11105
11106
11107 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11108 PyObject *resultobj;
11109 wxRadioBox *result;
11110 char *kwnames[] = {
11111 NULL
11112 };
11113
11114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11115 {
11116 PyThreadState* __tstate = wxPyBeginAllowThreads();
11117 result = (wxRadioBox *)new wxRadioBox();
11118
11119 wxPyEndAllowThreads(__tstate);
11120 if (PyErr_Occurred()) SWIG_fail;
11121 }
11122 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11123 return resultobj;
11124 fail:
11125 return NULL;
11126 }
11127
11128
11129 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11130 PyObject *resultobj;
11131 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11132 wxWindow *arg2 = (wxWindow *) 0 ;
11133 int arg3 ;
11134 wxString *arg4 = 0 ;
11135 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11136 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11137 wxSize const &arg6_defvalue = wxDefaultSize ;
11138 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11139 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11140 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11141 int arg8 = (int) 0 ;
11142 long arg9 = (long) wxRA_HORIZONTAL ;
11143 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11144 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11145 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11146 wxString *arg11 = (wxString *) &arg11_defvalue ;
11147 bool result;
11148 bool temp4 = False ;
11149 wxPoint temp5 ;
11150 wxSize temp6 ;
11151 bool temp7 = False ;
11152 bool temp11 = False ;
11153 PyObject * obj0 = 0 ;
11154 PyObject * obj1 = 0 ;
11155 PyObject * obj2 = 0 ;
11156 PyObject * obj3 = 0 ;
11157 PyObject * obj4 = 0 ;
11158 PyObject * obj5 = 0 ;
11159 PyObject * obj6 = 0 ;
11160 PyObject * obj7 = 0 ;
11161 PyObject * obj8 = 0 ;
11162 PyObject * obj9 = 0 ;
11163 PyObject * obj10 = 0 ;
11164 char *kwnames[] = {
11165 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11166 };
11167
11168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11171 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11173 arg3 = (int) SWIG_AsInt(obj2);
11174 if (PyErr_Occurred()) SWIG_fail;
11175 {
11176 arg4 = wxString_in_helper(obj3);
11177 if (arg4 == NULL) SWIG_fail;
11178 temp4 = True;
11179 }
11180 if (obj4) {
11181 {
11182 arg5 = &temp5;
11183 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11184 }
11185 }
11186 if (obj5) {
11187 {
11188 arg6 = &temp6;
11189 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11190 }
11191 }
11192 if (obj6) {
11193 {
11194 if (! PySequence_Check(obj6)) {
11195 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11196 SWIG_fail;
11197 }
11198 arg7 = new wxArrayString;
11199 temp7 = True;
11200 int i, len=PySequence_Length(obj6);
11201 for (i=0; i<len; i++) {
11202 PyObject* item = PySequence_GetItem(obj6, i);
11203 #if wxUSE_UNICODE
11204 PyObject* str = PyObject_Unicode(item);
11205 #else
11206 PyObject* str = PyObject_Str(item);
11207 #endif
11208 arg7->Add(Py2wxString(str));
11209 Py_DECREF(item);
11210 Py_DECREF(str);
11211 }
11212 }
11213 }
11214 if (obj7) {
11215 arg8 = (int) SWIG_AsInt(obj7);
11216 if (PyErr_Occurred()) SWIG_fail;
11217 }
11218 if (obj8) {
11219 arg9 = (long) SWIG_AsLong(obj8);
11220 if (PyErr_Occurred()) SWIG_fail;
11221 }
11222 if (obj9) {
11223 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11224 SWIG_POINTER_EXCEPTION | 0)) == -1)
11225 SWIG_fail;
11226 if (arg10 == NULL) {
11227 PyErr_SetString(PyExc_TypeError,"null reference");
11228 SWIG_fail;
11229 }
11230 }
11231 if (obj10) {
11232 {
11233 arg11 = wxString_in_helper(obj10);
11234 if (arg11 == NULL) SWIG_fail;
11235 temp11 = True;
11236 }
11237 }
11238 {
11239 PyThreadState* __tstate = wxPyBeginAllowThreads();
11240 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);
11241
11242 wxPyEndAllowThreads(__tstate);
11243 if (PyErr_Occurred()) SWIG_fail;
11244 }
11245 {
11246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11247 }
11248 {
11249 if (temp4)
11250 delete arg4;
11251 }
11252 {
11253 if (temp7) delete arg7;
11254 }
11255 {
11256 if (temp11)
11257 delete arg11;
11258 }
11259 return resultobj;
11260 fail:
11261 {
11262 if (temp4)
11263 delete arg4;
11264 }
11265 {
11266 if (temp7) delete arg7;
11267 }
11268 {
11269 if (temp11)
11270 delete arg11;
11271 }
11272 return NULL;
11273 }
11274
11275
11276 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11277 PyObject *resultobj;
11278 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11279 int arg2 ;
11280 PyObject * obj0 = 0 ;
11281 PyObject * obj1 = 0 ;
11282 char *kwnames[] = {
11283 (char *) "self",(char *) "n", NULL
11284 };
11285
11286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11289 arg2 = (int) SWIG_AsInt(obj1);
11290 if (PyErr_Occurred()) SWIG_fail;
11291 {
11292 PyThreadState* __tstate = wxPyBeginAllowThreads();
11293 (arg1)->SetSelection(arg2);
11294
11295 wxPyEndAllowThreads(__tstate);
11296 if (PyErr_Occurred()) SWIG_fail;
11297 }
11298 Py_INCREF(Py_None); resultobj = Py_None;
11299 return resultobj;
11300 fail:
11301 return NULL;
11302 }
11303
11304
11305 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11306 PyObject *resultobj;
11307 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11308 int result;
11309 PyObject * obj0 = 0 ;
11310 char *kwnames[] = {
11311 (char *) "self", NULL
11312 };
11313
11314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
11315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11317 {
11318 PyThreadState* __tstate = wxPyBeginAllowThreads();
11319 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11320
11321 wxPyEndAllowThreads(__tstate);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
11324 resultobj = SWIG_FromInt((int)result);
11325 return resultobj;
11326 fail:
11327 return NULL;
11328 }
11329
11330
11331 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11332 PyObject *resultobj;
11333 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11334 wxString result;
11335 PyObject * obj0 = 0 ;
11336 char *kwnames[] = {
11337 (char *) "self", NULL
11338 };
11339
11340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
11341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11343 {
11344 PyThreadState* __tstate = wxPyBeginAllowThreads();
11345 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11346
11347 wxPyEndAllowThreads(__tstate);
11348 if (PyErr_Occurred()) SWIG_fail;
11349 }
11350 {
11351 #if wxUSE_UNICODE
11352 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11353 #else
11354 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11355 #endif
11356 }
11357 return resultobj;
11358 fail:
11359 return NULL;
11360 }
11361
11362
11363 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11364 PyObject *resultobj;
11365 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11366 wxString *arg2 = 0 ;
11367 bool result;
11368 bool temp2 = False ;
11369 PyObject * obj0 = 0 ;
11370 PyObject * obj1 = 0 ;
11371 char *kwnames[] = {
11372 (char *) "self",(char *) "s", NULL
11373 };
11374
11375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
11376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11378 {
11379 arg2 = wxString_in_helper(obj1);
11380 if (arg2 == NULL) SWIG_fail;
11381 temp2 = True;
11382 }
11383 {
11384 PyThreadState* __tstate = wxPyBeginAllowThreads();
11385 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11386
11387 wxPyEndAllowThreads(__tstate);
11388 if (PyErr_Occurred()) SWIG_fail;
11389 }
11390 {
11391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11392 }
11393 {
11394 if (temp2)
11395 delete arg2;
11396 }
11397 return resultobj;
11398 fail:
11399 {
11400 if (temp2)
11401 delete arg2;
11402 }
11403 return NULL;
11404 }
11405
11406
11407 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11408 PyObject *resultobj;
11409 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11410 int result;
11411 PyObject * obj0 = 0 ;
11412 char *kwnames[] = {
11413 (char *) "self", NULL
11414 };
11415
11416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
11417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11419 {
11420 PyThreadState* __tstate = wxPyBeginAllowThreads();
11421 result = (int)((wxRadioBox const *)arg1)->GetCount();
11422
11423 wxPyEndAllowThreads(__tstate);
11424 if (PyErr_Occurred()) SWIG_fail;
11425 }
11426 resultobj = SWIG_FromInt((int)result);
11427 return resultobj;
11428 fail:
11429 return NULL;
11430 }
11431
11432
11433 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11434 PyObject *resultobj;
11435 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11436 wxString *arg2 = 0 ;
11437 int result;
11438 bool temp2 = False ;
11439 PyObject * obj0 = 0 ;
11440 PyObject * obj1 = 0 ;
11441 char *kwnames[] = {
11442 (char *) "self",(char *) "s", NULL
11443 };
11444
11445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
11446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11448 {
11449 arg2 = wxString_in_helper(obj1);
11450 if (arg2 == NULL) SWIG_fail;
11451 temp2 = True;
11452 }
11453 {
11454 PyThreadState* __tstate = wxPyBeginAllowThreads();
11455 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11456
11457 wxPyEndAllowThreads(__tstate);
11458 if (PyErr_Occurred()) SWIG_fail;
11459 }
11460 resultobj = SWIG_FromInt((int)result);
11461 {
11462 if (temp2)
11463 delete arg2;
11464 }
11465 return resultobj;
11466 fail:
11467 {
11468 if (temp2)
11469 delete arg2;
11470 }
11471 return NULL;
11472 }
11473
11474
11475 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11476 PyObject *resultobj;
11477 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11478 int arg2 ;
11479 wxString result;
11480 PyObject * obj0 = 0 ;
11481 PyObject * obj1 = 0 ;
11482 char *kwnames[] = {
11483 (char *) "self",(char *) "n", NULL
11484 };
11485
11486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
11487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11489 arg2 = (int) SWIG_AsInt(obj1);
11490 if (PyErr_Occurred()) SWIG_fail;
11491 {
11492 PyThreadState* __tstate = wxPyBeginAllowThreads();
11493 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11494
11495 wxPyEndAllowThreads(__tstate);
11496 if (PyErr_Occurred()) SWIG_fail;
11497 }
11498 {
11499 #if wxUSE_UNICODE
11500 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11501 #else
11502 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11503 #endif
11504 }
11505 return resultobj;
11506 fail:
11507 return NULL;
11508 }
11509
11510
11511 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11512 PyObject *resultobj;
11513 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11514 int arg2 ;
11515 wxString *arg3 = 0 ;
11516 bool temp3 = False ;
11517 PyObject * obj0 = 0 ;
11518 PyObject * obj1 = 0 ;
11519 PyObject * obj2 = 0 ;
11520 char *kwnames[] = {
11521 (char *) "self",(char *) "n",(char *) "label", NULL
11522 };
11523
11524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11527 arg2 = (int) SWIG_AsInt(obj1);
11528 if (PyErr_Occurred()) SWIG_fail;
11529 {
11530 arg3 = wxString_in_helper(obj2);
11531 if (arg3 == NULL) SWIG_fail;
11532 temp3 = True;
11533 }
11534 {
11535 PyThreadState* __tstate = wxPyBeginAllowThreads();
11536 (arg1)->SetString(arg2,(wxString const &)*arg3);
11537
11538 wxPyEndAllowThreads(__tstate);
11539 if (PyErr_Occurred()) SWIG_fail;
11540 }
11541 Py_INCREF(Py_None); resultobj = Py_None;
11542 {
11543 if (temp3)
11544 delete arg3;
11545 }
11546 return resultobj;
11547 fail:
11548 {
11549 if (temp3)
11550 delete arg3;
11551 }
11552 return NULL;
11553 }
11554
11555
11556 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11557 PyObject *resultobj;
11558 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11559 int arg2 ;
11560 bool arg3 = (bool) True ;
11561 PyObject * obj0 = 0 ;
11562 PyObject * obj1 = 0 ;
11563 PyObject * obj2 = 0 ;
11564 char *kwnames[] = {
11565 (char *) "self",(char *) "n",(char *) "enable", NULL
11566 };
11567
11568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11571 arg2 = (int) SWIG_AsInt(obj1);
11572 if (PyErr_Occurred()) SWIG_fail;
11573 if (obj2) {
11574 arg3 = (bool) SWIG_AsBool(obj2);
11575 if (PyErr_Occurred()) SWIG_fail;
11576 }
11577 {
11578 PyThreadState* __tstate = wxPyBeginAllowThreads();
11579 (arg1)->Enable(arg2,arg3);
11580
11581 wxPyEndAllowThreads(__tstate);
11582 if (PyErr_Occurred()) SWIG_fail;
11583 }
11584 Py_INCREF(Py_None); resultobj = Py_None;
11585 return resultobj;
11586 fail:
11587 return NULL;
11588 }
11589
11590
11591 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11592 PyObject *resultobj;
11593 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11594 int arg2 ;
11595 bool arg3 = (bool) True ;
11596 PyObject * obj0 = 0 ;
11597 PyObject * obj1 = 0 ;
11598 PyObject * obj2 = 0 ;
11599 char *kwnames[] = {
11600 (char *) "self",(char *) "n",(char *) "show", NULL
11601 };
11602
11603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11606 arg2 = (int) SWIG_AsInt(obj1);
11607 if (PyErr_Occurred()) SWIG_fail;
11608 if (obj2) {
11609 arg3 = (bool) SWIG_AsBool(obj2);
11610 if (PyErr_Occurred()) SWIG_fail;
11611 }
11612 {
11613 PyThreadState* __tstate = wxPyBeginAllowThreads();
11614 (arg1)->Show(arg2,arg3);
11615
11616 wxPyEndAllowThreads(__tstate);
11617 if (PyErr_Occurred()) SWIG_fail;
11618 }
11619 Py_INCREF(Py_None); resultobj = Py_None;
11620 return resultobj;
11621 fail:
11622 return NULL;
11623 }
11624
11625
11626 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11627 PyObject *resultobj;
11628 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11629 int result;
11630 PyObject * obj0 = 0 ;
11631 char *kwnames[] = {
11632 (char *) "self", NULL
11633 };
11634
11635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
11636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11638 {
11639 PyThreadState* __tstate = wxPyBeginAllowThreads();
11640 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
11641
11642 wxPyEndAllowThreads(__tstate);
11643 if (PyErr_Occurred()) SWIG_fail;
11644 }
11645 resultobj = SWIG_FromInt((int)result);
11646 return resultobj;
11647 fail:
11648 return NULL;
11649 }
11650
11651
11652 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11653 PyObject *resultobj;
11654 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11655 int result;
11656 PyObject * obj0 = 0 ;
11657 char *kwnames[] = {
11658 (char *) "self", NULL
11659 };
11660
11661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
11662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11664 {
11665 PyThreadState* __tstate = wxPyBeginAllowThreads();
11666 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
11667
11668 wxPyEndAllowThreads(__tstate);
11669 if (PyErr_Occurred()) SWIG_fail;
11670 }
11671 resultobj = SWIG_FromInt((int)result);
11672 return resultobj;
11673 fail:
11674 return NULL;
11675 }
11676
11677
11678 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11679 PyObject *resultobj;
11680 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11681 int arg2 ;
11682 int arg3 ;
11683 long arg4 ;
11684 int result;
11685 PyObject * obj0 = 0 ;
11686 PyObject * obj1 = 0 ;
11687 PyObject * obj2 = 0 ;
11688 PyObject * obj3 = 0 ;
11689 char *kwnames[] = {
11690 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11691 };
11692
11693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11696 arg2 = (int) SWIG_AsInt(obj1);
11697 if (PyErr_Occurred()) SWIG_fail;
11698 arg3 = (wxDirection) SWIG_AsInt(obj2);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 arg4 = (long) SWIG_AsLong(obj3);
11701 if (PyErr_Occurred()) SWIG_fail;
11702 {
11703 PyThreadState* __tstate = wxPyBeginAllowThreads();
11704 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
11705
11706 wxPyEndAllowThreads(__tstate);
11707 if (PyErr_Occurred()) SWIG_fail;
11708 }
11709 resultobj = SWIG_FromInt((int)result);
11710 return resultobj;
11711 fail:
11712 return NULL;
11713 }
11714
11715
11716 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
11717 PyObject *obj;
11718 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11719 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11720 Py_INCREF(obj);
11721 return Py_BuildValue((char *)"");
11722 }
11723 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11724 PyObject *resultobj;
11725 wxWindow *arg1 = (wxWindow *) 0 ;
11726 int arg2 ;
11727 wxString *arg3 = 0 ;
11728 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11729 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11730 wxSize const &arg5_defvalue = wxDefaultSize ;
11731 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11732 long arg6 = (long) 0 ;
11733 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11734 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11735 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11736 wxString *arg8 = (wxString *) &arg8_defvalue ;
11737 wxRadioButton *result;
11738 bool temp3 = False ;
11739 wxPoint temp4 ;
11740 wxSize temp5 ;
11741 bool temp8 = False ;
11742 PyObject * obj0 = 0 ;
11743 PyObject * obj1 = 0 ;
11744 PyObject * obj2 = 0 ;
11745 PyObject * obj3 = 0 ;
11746 PyObject * obj4 = 0 ;
11747 PyObject * obj5 = 0 ;
11748 PyObject * obj6 = 0 ;
11749 PyObject * obj7 = 0 ;
11750 char *kwnames[] = {
11751 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11752 };
11753
11754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11757 arg2 = (int) SWIG_AsInt(obj1);
11758 if (PyErr_Occurred()) SWIG_fail;
11759 {
11760 arg3 = wxString_in_helper(obj2);
11761 if (arg3 == NULL) SWIG_fail;
11762 temp3 = True;
11763 }
11764 if (obj3) {
11765 {
11766 arg4 = &temp4;
11767 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11768 }
11769 }
11770 if (obj4) {
11771 {
11772 arg5 = &temp5;
11773 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11774 }
11775 }
11776 if (obj5) {
11777 arg6 = (long) SWIG_AsLong(obj5);
11778 if (PyErr_Occurred()) SWIG_fail;
11779 }
11780 if (obj6) {
11781 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
11782 SWIG_POINTER_EXCEPTION | 0)) == -1)
11783 SWIG_fail;
11784 if (arg7 == NULL) {
11785 PyErr_SetString(PyExc_TypeError,"null reference");
11786 SWIG_fail;
11787 }
11788 }
11789 if (obj7) {
11790 {
11791 arg8 = wxString_in_helper(obj7);
11792 if (arg8 == NULL) SWIG_fail;
11793 temp8 = True;
11794 }
11795 }
11796 {
11797 PyThreadState* __tstate = wxPyBeginAllowThreads();
11798 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11799
11800 wxPyEndAllowThreads(__tstate);
11801 if (PyErr_Occurred()) SWIG_fail;
11802 }
11803 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11804 {
11805 if (temp3)
11806 delete arg3;
11807 }
11808 {
11809 if (temp8)
11810 delete arg8;
11811 }
11812 return resultobj;
11813 fail:
11814 {
11815 if (temp3)
11816 delete arg3;
11817 }
11818 {
11819 if (temp8)
11820 delete arg8;
11821 }
11822 return NULL;
11823 }
11824
11825
11826 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11827 PyObject *resultobj;
11828 wxRadioButton *result;
11829 char *kwnames[] = {
11830 NULL
11831 };
11832
11833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11834 {
11835 PyThreadState* __tstate = wxPyBeginAllowThreads();
11836 result = (wxRadioButton *)new wxRadioButton();
11837
11838 wxPyEndAllowThreads(__tstate);
11839 if (PyErr_Occurred()) SWIG_fail;
11840 }
11841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11842 return resultobj;
11843 fail:
11844 return NULL;
11845 }
11846
11847
11848 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11849 PyObject *resultobj;
11850 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11851 wxWindow *arg2 = (wxWindow *) 0 ;
11852 int arg3 ;
11853 wxString *arg4 = 0 ;
11854 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11855 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11856 wxSize const &arg6_defvalue = wxDefaultSize ;
11857 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11858 long arg7 = (long) 0 ;
11859 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11860 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11861 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11862 wxString *arg9 = (wxString *) &arg9_defvalue ;
11863 bool result;
11864 bool temp4 = False ;
11865 wxPoint temp5 ;
11866 wxSize temp6 ;
11867 bool temp9 = False ;
11868 PyObject * obj0 = 0 ;
11869 PyObject * obj1 = 0 ;
11870 PyObject * obj2 = 0 ;
11871 PyObject * obj3 = 0 ;
11872 PyObject * obj4 = 0 ;
11873 PyObject * obj5 = 0 ;
11874 PyObject * obj6 = 0 ;
11875 PyObject * obj7 = 0 ;
11876 PyObject * obj8 = 0 ;
11877 char *kwnames[] = {
11878 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11879 };
11880
11881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
11882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11884 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11886 arg3 = (int) SWIG_AsInt(obj2);
11887 if (PyErr_Occurred()) SWIG_fail;
11888 {
11889 arg4 = wxString_in_helper(obj3);
11890 if (arg4 == NULL) SWIG_fail;
11891 temp4 = True;
11892 }
11893 if (obj4) {
11894 {
11895 arg5 = &temp5;
11896 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11897 }
11898 }
11899 if (obj5) {
11900 {
11901 arg6 = &temp6;
11902 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11903 }
11904 }
11905 if (obj6) {
11906 arg7 = (long) SWIG_AsLong(obj6);
11907 if (PyErr_Occurred()) SWIG_fail;
11908 }
11909 if (obj7) {
11910 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
11911 SWIG_POINTER_EXCEPTION | 0)) == -1)
11912 SWIG_fail;
11913 if (arg8 == NULL) {
11914 PyErr_SetString(PyExc_TypeError,"null reference");
11915 SWIG_fail;
11916 }
11917 }
11918 if (obj8) {
11919 {
11920 arg9 = wxString_in_helper(obj8);
11921 if (arg9 == NULL) SWIG_fail;
11922 temp9 = True;
11923 }
11924 }
11925 {
11926 PyThreadState* __tstate = wxPyBeginAllowThreads();
11927 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11928
11929 wxPyEndAllowThreads(__tstate);
11930 if (PyErr_Occurred()) SWIG_fail;
11931 }
11932 {
11933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11934 }
11935 {
11936 if (temp4)
11937 delete arg4;
11938 }
11939 {
11940 if (temp9)
11941 delete arg9;
11942 }
11943 return resultobj;
11944 fail:
11945 {
11946 if (temp4)
11947 delete arg4;
11948 }
11949 {
11950 if (temp9)
11951 delete arg9;
11952 }
11953 return NULL;
11954 }
11955
11956
11957 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11958 PyObject *resultobj;
11959 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11960 bool result;
11961 PyObject * obj0 = 0 ;
11962 char *kwnames[] = {
11963 (char *) "self", NULL
11964 };
11965
11966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
11967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11969 {
11970 PyThreadState* __tstate = wxPyBeginAllowThreads();
11971 result = (bool)(arg1)->GetValue();
11972
11973 wxPyEndAllowThreads(__tstate);
11974 if (PyErr_Occurred()) SWIG_fail;
11975 }
11976 {
11977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11978 }
11979 return resultobj;
11980 fail:
11981 return NULL;
11982 }
11983
11984
11985 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11986 PyObject *resultobj;
11987 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11988 bool arg2 ;
11989 PyObject * obj0 = 0 ;
11990 PyObject * obj1 = 0 ;
11991 char *kwnames[] = {
11992 (char *) "self",(char *) "value", NULL
11993 };
11994
11995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11998 arg2 = (bool) SWIG_AsBool(obj1);
11999 if (PyErr_Occurred()) SWIG_fail;
12000 {
12001 PyThreadState* __tstate = wxPyBeginAllowThreads();
12002 (arg1)->SetValue(arg2);
12003
12004 wxPyEndAllowThreads(__tstate);
12005 if (PyErr_Occurred()) SWIG_fail;
12006 }
12007 Py_INCREF(Py_None); resultobj = Py_None;
12008 return resultobj;
12009 fail:
12010 return NULL;
12011 }
12012
12013
12014 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
12015 PyObject *obj;
12016 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12017 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12018 Py_INCREF(obj);
12019 return Py_BuildValue((char *)"");
12020 }
12021 static int _wrap_SliderNameStr_set(PyObject *_val) {
12022 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12023 return 1;
12024 }
12025
12026
12027 static PyObject *_wrap_SliderNameStr_get() {
12028 PyObject *pyobj;
12029
12030 {
12031 #if wxUSE_UNICODE
12032 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12033 #else
12034 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12035 #endif
12036 }
12037 return pyobj;
12038 }
12039
12040
12041 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
12042 PyObject *resultobj;
12043 wxWindow *arg1 = (wxWindow *) 0 ;
12044 int arg2 ;
12045 int arg3 ;
12046 int arg4 ;
12047 int arg5 ;
12048 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12049 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12050 wxSize const &arg7_defvalue = wxDefaultSize ;
12051 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12052 long arg8 = (long) wxSL_HORIZONTAL ;
12053 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12054 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12055 wxString const &arg10_defvalue = wxPySliderNameStr ;
12056 wxString *arg10 = (wxString *) &arg10_defvalue ;
12057 wxSlider *result;
12058 wxPoint temp6 ;
12059 wxSize temp7 ;
12060 bool temp10 = False ;
12061 PyObject * obj0 = 0 ;
12062 PyObject * obj1 = 0 ;
12063 PyObject * obj2 = 0 ;
12064 PyObject * obj3 = 0 ;
12065 PyObject * obj4 = 0 ;
12066 PyObject * obj5 = 0 ;
12067 PyObject * obj6 = 0 ;
12068 PyObject * obj7 = 0 ;
12069 PyObject * obj8 = 0 ;
12070 PyObject * obj9 = 0 ;
12071 char *kwnames[] = {
12072 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12073 };
12074
12075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12078 arg2 = (int) SWIG_AsInt(obj1);
12079 if (PyErr_Occurred()) SWIG_fail;
12080 arg3 = (int) SWIG_AsInt(obj2);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 arg4 = (int) SWIG_AsInt(obj3);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 arg5 = (int) SWIG_AsInt(obj4);
12085 if (PyErr_Occurred()) SWIG_fail;
12086 if (obj5) {
12087 {
12088 arg6 = &temp6;
12089 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12090 }
12091 }
12092 if (obj6) {
12093 {
12094 arg7 = &temp7;
12095 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12096 }
12097 }
12098 if (obj7) {
12099 arg8 = (long) SWIG_AsLong(obj7);
12100 if (PyErr_Occurred()) SWIG_fail;
12101 }
12102 if (obj8) {
12103 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12104 SWIG_POINTER_EXCEPTION | 0)) == -1)
12105 SWIG_fail;
12106 if (arg9 == NULL) {
12107 PyErr_SetString(PyExc_TypeError,"null reference");
12108 SWIG_fail;
12109 }
12110 }
12111 if (obj9) {
12112 {
12113 arg10 = wxString_in_helper(obj9);
12114 if (arg10 == NULL) SWIG_fail;
12115 temp10 = True;
12116 }
12117 }
12118 {
12119 PyThreadState* __tstate = wxPyBeginAllowThreads();
12120 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12121
12122 wxPyEndAllowThreads(__tstate);
12123 if (PyErr_Occurred()) SWIG_fail;
12124 }
12125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12126 {
12127 if (temp10)
12128 delete arg10;
12129 }
12130 return resultobj;
12131 fail:
12132 {
12133 if (temp10)
12134 delete arg10;
12135 }
12136 return NULL;
12137 }
12138
12139
12140 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
12141 PyObject *resultobj;
12142 wxSlider *result;
12143 char *kwnames[] = {
12144 NULL
12145 };
12146
12147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12148 {
12149 PyThreadState* __tstate = wxPyBeginAllowThreads();
12150 result = (wxSlider *)new wxSlider();
12151
12152 wxPyEndAllowThreads(__tstate);
12153 if (PyErr_Occurred()) SWIG_fail;
12154 }
12155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12156 return resultobj;
12157 fail:
12158 return NULL;
12159 }
12160
12161
12162 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12163 PyObject *resultobj;
12164 wxSlider *arg1 = (wxSlider *) 0 ;
12165 wxWindow *arg2 = (wxWindow *) 0 ;
12166 int arg3 ;
12167 int arg4 ;
12168 int arg5 ;
12169 int arg6 ;
12170 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12171 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12172 wxSize const &arg8_defvalue = wxDefaultSize ;
12173 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
12174 long arg9 = (long) wxSL_HORIZONTAL ;
12175 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12176 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12177 wxString const &arg11_defvalue = wxPySliderNameStr ;
12178 wxString *arg11 = (wxString *) &arg11_defvalue ;
12179 bool result;
12180 wxPoint temp7 ;
12181 wxSize temp8 ;
12182 bool temp11 = False ;
12183 PyObject * obj0 = 0 ;
12184 PyObject * obj1 = 0 ;
12185 PyObject * obj2 = 0 ;
12186 PyObject * obj3 = 0 ;
12187 PyObject * obj4 = 0 ;
12188 PyObject * obj5 = 0 ;
12189 PyObject * obj6 = 0 ;
12190 PyObject * obj7 = 0 ;
12191 PyObject * obj8 = 0 ;
12192 PyObject * obj9 = 0 ;
12193 PyObject * obj10 = 0 ;
12194 char *kwnames[] = {
12195 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12196 };
12197
12198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12201 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12203 arg3 = (int) SWIG_AsInt(obj2);
12204 if (PyErr_Occurred()) SWIG_fail;
12205 arg4 = (int) SWIG_AsInt(obj3);
12206 if (PyErr_Occurred()) SWIG_fail;
12207 arg5 = (int) SWIG_AsInt(obj4);
12208 if (PyErr_Occurred()) SWIG_fail;
12209 arg6 = (int) SWIG_AsInt(obj5);
12210 if (PyErr_Occurred()) SWIG_fail;
12211 if (obj6) {
12212 {
12213 arg7 = &temp7;
12214 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12215 }
12216 }
12217 if (obj7) {
12218 {
12219 arg8 = &temp8;
12220 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12221 }
12222 }
12223 if (obj8) {
12224 arg9 = (long) SWIG_AsLong(obj8);
12225 if (PyErr_Occurred()) SWIG_fail;
12226 }
12227 if (obj9) {
12228 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12229 SWIG_POINTER_EXCEPTION | 0)) == -1)
12230 SWIG_fail;
12231 if (arg10 == NULL) {
12232 PyErr_SetString(PyExc_TypeError,"null reference");
12233 SWIG_fail;
12234 }
12235 }
12236 if (obj10) {
12237 {
12238 arg11 = wxString_in_helper(obj10);
12239 if (arg11 == NULL) SWIG_fail;
12240 temp11 = True;
12241 }
12242 }
12243 {
12244 PyThreadState* __tstate = wxPyBeginAllowThreads();
12245 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12246
12247 wxPyEndAllowThreads(__tstate);
12248 if (PyErr_Occurred()) SWIG_fail;
12249 }
12250 {
12251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12252 }
12253 {
12254 if (temp11)
12255 delete arg11;
12256 }
12257 return resultobj;
12258 fail:
12259 {
12260 if (temp11)
12261 delete arg11;
12262 }
12263 return NULL;
12264 }
12265
12266
12267 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12268 PyObject *resultobj;
12269 wxSlider *arg1 = (wxSlider *) 0 ;
12270 int result;
12271 PyObject * obj0 = 0 ;
12272 char *kwnames[] = {
12273 (char *) "self", NULL
12274 };
12275
12276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
12277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12279 {
12280 PyThreadState* __tstate = wxPyBeginAllowThreads();
12281 result = (int)((wxSlider const *)arg1)->GetValue();
12282
12283 wxPyEndAllowThreads(__tstate);
12284 if (PyErr_Occurred()) SWIG_fail;
12285 }
12286 resultobj = SWIG_FromInt((int)result);
12287 return resultobj;
12288 fail:
12289 return NULL;
12290 }
12291
12292
12293 static PyObject *_wrap_Slider_SetValue(PyObject *self, 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 *) "value", NULL
12301 };
12302
12303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",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)->SetValue(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_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12323 PyObject *resultobj;
12324 wxSlider *arg1 = (wxSlider *) 0 ;
12325 int arg2 ;
12326 int arg3 ;
12327 PyObject * obj0 = 0 ;
12328 PyObject * obj1 = 0 ;
12329 PyObject * obj2 = 0 ;
12330 char *kwnames[] = {
12331 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12332 };
12333
12334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12337 arg2 = (int) SWIG_AsInt(obj1);
12338 if (PyErr_Occurred()) SWIG_fail;
12339 arg3 = (int) SWIG_AsInt(obj2);
12340 if (PyErr_Occurred()) SWIG_fail;
12341 {
12342 PyThreadState* __tstate = wxPyBeginAllowThreads();
12343 (arg1)->SetRange(arg2,arg3);
12344
12345 wxPyEndAllowThreads(__tstate);
12346 if (PyErr_Occurred()) SWIG_fail;
12347 }
12348 Py_INCREF(Py_None); resultobj = Py_None;
12349 return resultobj;
12350 fail:
12351 return NULL;
12352 }
12353
12354
12355 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12356 PyObject *resultobj;
12357 wxSlider *arg1 = (wxSlider *) 0 ;
12358 int result;
12359 PyObject * obj0 = 0 ;
12360 char *kwnames[] = {
12361 (char *) "self", NULL
12362 };
12363
12364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
12365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12367 {
12368 PyThreadState* __tstate = wxPyBeginAllowThreads();
12369 result = (int)((wxSlider const *)arg1)->GetMin();
12370
12371 wxPyEndAllowThreads(__tstate);
12372 if (PyErr_Occurred()) SWIG_fail;
12373 }
12374 resultobj = SWIG_FromInt((int)result);
12375 return resultobj;
12376 fail:
12377 return NULL;
12378 }
12379
12380
12381 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12382 PyObject *resultobj;
12383 wxSlider *arg1 = (wxSlider *) 0 ;
12384 int result;
12385 PyObject * obj0 = 0 ;
12386 char *kwnames[] = {
12387 (char *) "self", NULL
12388 };
12389
12390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
12391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12393 {
12394 PyThreadState* __tstate = wxPyBeginAllowThreads();
12395 result = (int)((wxSlider const *)arg1)->GetMax();
12396
12397 wxPyEndAllowThreads(__tstate);
12398 if (PyErr_Occurred()) SWIG_fail;
12399 }
12400 resultobj = SWIG_FromInt((int)result);
12401 return resultobj;
12402 fail:
12403 return NULL;
12404 }
12405
12406
12407 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12408 PyObject *resultobj;
12409 wxSlider *arg1 = (wxSlider *) 0 ;
12410 int arg2 ;
12411 PyObject * obj0 = 0 ;
12412 PyObject * obj1 = 0 ;
12413 char *kwnames[] = {
12414 (char *) "self",(char *) "minValue", NULL
12415 };
12416
12417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
12418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12420 arg2 = (int) SWIG_AsInt(obj1);
12421 if (PyErr_Occurred()) SWIG_fail;
12422 {
12423 PyThreadState* __tstate = wxPyBeginAllowThreads();
12424 (arg1)->SetMin(arg2);
12425
12426 wxPyEndAllowThreads(__tstate);
12427 if (PyErr_Occurred()) SWIG_fail;
12428 }
12429 Py_INCREF(Py_None); resultobj = Py_None;
12430 return resultobj;
12431 fail:
12432 return NULL;
12433 }
12434
12435
12436 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12437 PyObject *resultobj;
12438 wxSlider *arg1 = (wxSlider *) 0 ;
12439 int arg2 ;
12440 PyObject * obj0 = 0 ;
12441 PyObject * obj1 = 0 ;
12442 char *kwnames[] = {
12443 (char *) "self",(char *) "maxValue", NULL
12444 };
12445
12446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
12447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12449 arg2 = (int) SWIG_AsInt(obj1);
12450 if (PyErr_Occurred()) SWIG_fail;
12451 {
12452 PyThreadState* __tstate = wxPyBeginAllowThreads();
12453 (arg1)->SetMax(arg2);
12454
12455 wxPyEndAllowThreads(__tstate);
12456 if (PyErr_Occurred()) SWIG_fail;
12457 }
12458 Py_INCREF(Py_None); resultobj = Py_None;
12459 return resultobj;
12460 fail:
12461 return NULL;
12462 }
12463
12464
12465 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12466 PyObject *resultobj;
12467 wxSlider *arg1 = (wxSlider *) 0 ;
12468 int arg2 ;
12469 PyObject * obj0 = 0 ;
12470 PyObject * obj1 = 0 ;
12471 char *kwnames[] = {
12472 (char *) "self",(char *) "lineSize", NULL
12473 };
12474
12475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
12476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12478 arg2 = (int) SWIG_AsInt(obj1);
12479 if (PyErr_Occurred()) SWIG_fail;
12480 {
12481 PyThreadState* __tstate = wxPyBeginAllowThreads();
12482 (arg1)->SetLineSize(arg2);
12483
12484 wxPyEndAllowThreads(__tstate);
12485 if (PyErr_Occurred()) SWIG_fail;
12486 }
12487 Py_INCREF(Py_None); resultobj = Py_None;
12488 return resultobj;
12489 fail:
12490 return NULL;
12491 }
12492
12493
12494 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12495 PyObject *resultobj;
12496 wxSlider *arg1 = (wxSlider *) 0 ;
12497 int arg2 ;
12498 PyObject * obj0 = 0 ;
12499 PyObject * obj1 = 0 ;
12500 char *kwnames[] = {
12501 (char *) "self",(char *) "pageSize", NULL
12502 };
12503
12504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
12505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12507 arg2 = (int) SWIG_AsInt(obj1);
12508 if (PyErr_Occurred()) SWIG_fail;
12509 {
12510 PyThreadState* __tstate = wxPyBeginAllowThreads();
12511 (arg1)->SetPageSize(arg2);
12512
12513 wxPyEndAllowThreads(__tstate);
12514 if (PyErr_Occurred()) SWIG_fail;
12515 }
12516 Py_INCREF(Py_None); resultobj = Py_None;
12517 return resultobj;
12518 fail:
12519 return NULL;
12520 }
12521
12522
12523 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12524 PyObject *resultobj;
12525 wxSlider *arg1 = (wxSlider *) 0 ;
12526 int result;
12527 PyObject * obj0 = 0 ;
12528 char *kwnames[] = {
12529 (char *) "self", NULL
12530 };
12531
12532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
12533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12535 {
12536 PyThreadState* __tstate = wxPyBeginAllowThreads();
12537 result = (int)((wxSlider const *)arg1)->GetLineSize();
12538
12539 wxPyEndAllowThreads(__tstate);
12540 if (PyErr_Occurred()) SWIG_fail;
12541 }
12542 resultobj = SWIG_FromInt((int)result);
12543 return resultobj;
12544 fail:
12545 return NULL;
12546 }
12547
12548
12549 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12550 PyObject *resultobj;
12551 wxSlider *arg1 = (wxSlider *) 0 ;
12552 int result;
12553 PyObject * obj0 = 0 ;
12554 char *kwnames[] = {
12555 (char *) "self", NULL
12556 };
12557
12558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
12559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12561 {
12562 PyThreadState* __tstate = wxPyBeginAllowThreads();
12563 result = (int)((wxSlider const *)arg1)->GetPageSize();
12564
12565 wxPyEndAllowThreads(__tstate);
12566 if (PyErr_Occurred()) SWIG_fail;
12567 }
12568 resultobj = SWIG_FromInt((int)result);
12569 return resultobj;
12570 fail:
12571 return NULL;
12572 }
12573
12574
12575 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12576 PyObject *resultobj;
12577 wxSlider *arg1 = (wxSlider *) 0 ;
12578 int arg2 ;
12579 PyObject * obj0 = 0 ;
12580 PyObject * obj1 = 0 ;
12581 char *kwnames[] = {
12582 (char *) "self",(char *) "lenPixels", NULL
12583 };
12584
12585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
12586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12588 arg2 = (int) SWIG_AsInt(obj1);
12589 if (PyErr_Occurred()) SWIG_fail;
12590 {
12591 PyThreadState* __tstate = wxPyBeginAllowThreads();
12592 (arg1)->SetThumbLength(arg2);
12593
12594 wxPyEndAllowThreads(__tstate);
12595 if (PyErr_Occurred()) SWIG_fail;
12596 }
12597 Py_INCREF(Py_None); resultobj = Py_None;
12598 return resultobj;
12599 fail:
12600 return NULL;
12601 }
12602
12603
12604 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12605 PyObject *resultobj;
12606 wxSlider *arg1 = (wxSlider *) 0 ;
12607 int result;
12608 PyObject * obj0 = 0 ;
12609 char *kwnames[] = {
12610 (char *) "self", NULL
12611 };
12612
12613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
12614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12616 {
12617 PyThreadState* __tstate = wxPyBeginAllowThreads();
12618 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12619
12620 wxPyEndAllowThreads(__tstate);
12621 if (PyErr_Occurred()) SWIG_fail;
12622 }
12623 resultobj = SWIG_FromInt((int)result);
12624 return resultobj;
12625 fail:
12626 return NULL;
12627 }
12628
12629
12630 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12631 PyObject *resultobj;
12632 wxSlider *arg1 = (wxSlider *) 0 ;
12633 int arg2 ;
12634 int arg3 = (int) 1 ;
12635 PyObject * obj0 = 0 ;
12636 PyObject * obj1 = 0 ;
12637 PyObject * obj2 = 0 ;
12638 char *kwnames[] = {
12639 (char *) "self",(char *) "n",(char *) "pos", NULL
12640 };
12641
12642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
12643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12645 arg2 = (int) SWIG_AsInt(obj1);
12646 if (PyErr_Occurred()) SWIG_fail;
12647 if (obj2) {
12648 arg3 = (int) SWIG_AsInt(obj2);
12649 if (PyErr_Occurred()) SWIG_fail;
12650 }
12651 {
12652 PyThreadState* __tstate = wxPyBeginAllowThreads();
12653 (arg1)->SetTickFreq(arg2,arg3);
12654
12655 wxPyEndAllowThreads(__tstate);
12656 if (PyErr_Occurred()) SWIG_fail;
12657 }
12658 Py_INCREF(Py_None); resultobj = Py_None;
12659 return resultobj;
12660 fail:
12661 return NULL;
12662 }
12663
12664
12665 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12666 PyObject *resultobj;
12667 wxSlider *arg1 = (wxSlider *) 0 ;
12668 int result;
12669 PyObject * obj0 = 0 ;
12670 char *kwnames[] = {
12671 (char *) "self", NULL
12672 };
12673
12674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
12675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12677 {
12678 PyThreadState* __tstate = wxPyBeginAllowThreads();
12679 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12680
12681 wxPyEndAllowThreads(__tstate);
12682 if (PyErr_Occurred()) SWIG_fail;
12683 }
12684 resultobj = SWIG_FromInt((int)result);
12685 return resultobj;
12686 fail:
12687 return NULL;
12688 }
12689
12690
12691 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
12692 PyObject *resultobj;
12693 wxSlider *arg1 = (wxSlider *) 0 ;
12694 PyObject * obj0 = 0 ;
12695 char *kwnames[] = {
12696 (char *) "self", NULL
12697 };
12698
12699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
12700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12702 {
12703 PyThreadState* __tstate = wxPyBeginAllowThreads();
12704 (arg1)->ClearTicks();
12705
12706 wxPyEndAllowThreads(__tstate);
12707 if (PyErr_Occurred()) SWIG_fail;
12708 }
12709 Py_INCREF(Py_None); resultobj = Py_None;
12710 return resultobj;
12711 fail:
12712 return NULL;
12713 }
12714
12715
12716 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
12717 PyObject *resultobj;
12718 wxSlider *arg1 = (wxSlider *) 0 ;
12719 int arg2 ;
12720 PyObject * obj0 = 0 ;
12721 PyObject * obj1 = 0 ;
12722 char *kwnames[] = {
12723 (char *) "self",(char *) "tickPos", NULL
12724 };
12725
12726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
12727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12729 arg2 = (int) SWIG_AsInt(obj1);
12730 if (PyErr_Occurred()) SWIG_fail;
12731 {
12732 PyThreadState* __tstate = wxPyBeginAllowThreads();
12733 (arg1)->SetTick(arg2);
12734
12735 wxPyEndAllowThreads(__tstate);
12736 if (PyErr_Occurred()) SWIG_fail;
12737 }
12738 Py_INCREF(Py_None); resultobj = Py_None;
12739 return resultobj;
12740 fail:
12741 return NULL;
12742 }
12743
12744
12745 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
12746 PyObject *resultobj;
12747 wxSlider *arg1 = (wxSlider *) 0 ;
12748 PyObject * obj0 = 0 ;
12749 char *kwnames[] = {
12750 (char *) "self", NULL
12751 };
12752
12753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
12754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12756 {
12757 PyThreadState* __tstate = wxPyBeginAllowThreads();
12758 (arg1)->ClearSel();
12759
12760 wxPyEndAllowThreads(__tstate);
12761 if (PyErr_Occurred()) SWIG_fail;
12762 }
12763 Py_INCREF(Py_None); resultobj = Py_None;
12764 return resultobj;
12765 fail:
12766 return NULL;
12767 }
12768
12769
12770 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
12771 PyObject *resultobj;
12772 wxSlider *arg1 = (wxSlider *) 0 ;
12773 int result;
12774 PyObject * obj0 = 0 ;
12775 char *kwnames[] = {
12776 (char *) "self", NULL
12777 };
12778
12779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
12780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12782 {
12783 PyThreadState* __tstate = wxPyBeginAllowThreads();
12784 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12785
12786 wxPyEndAllowThreads(__tstate);
12787 if (PyErr_Occurred()) SWIG_fail;
12788 }
12789 resultobj = SWIG_FromInt((int)result);
12790 return resultobj;
12791 fail:
12792 return NULL;
12793 }
12794
12795
12796 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
12797 PyObject *resultobj;
12798 wxSlider *arg1 = (wxSlider *) 0 ;
12799 int result;
12800 PyObject * obj0 = 0 ;
12801 char *kwnames[] = {
12802 (char *) "self", NULL
12803 };
12804
12805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
12806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12808 {
12809 PyThreadState* __tstate = wxPyBeginAllowThreads();
12810 result = (int)((wxSlider const *)arg1)->GetSelStart();
12811
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 resultobj = SWIG_FromInt((int)result);
12816 return resultobj;
12817 fail:
12818 return NULL;
12819 }
12820
12821
12822 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12823 PyObject *resultobj;
12824 wxSlider *arg1 = (wxSlider *) 0 ;
12825 int arg2 ;
12826 int arg3 ;
12827 PyObject * obj0 = 0 ;
12828 PyObject * obj1 = 0 ;
12829 PyObject * obj2 = 0 ;
12830 char *kwnames[] = {
12831 (char *) "self",(char *) "min",(char *) "max", NULL
12832 };
12833
12834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
12835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12837 arg2 = (int) SWIG_AsInt(obj1);
12838 if (PyErr_Occurred()) SWIG_fail;
12839 arg3 = (int) SWIG_AsInt(obj2);
12840 if (PyErr_Occurred()) SWIG_fail;
12841 {
12842 PyThreadState* __tstate = wxPyBeginAllowThreads();
12843 (arg1)->SetSelection(arg2,arg3);
12844
12845 wxPyEndAllowThreads(__tstate);
12846 if (PyErr_Occurred()) SWIG_fail;
12847 }
12848 Py_INCREF(Py_None); resultobj = Py_None;
12849 return resultobj;
12850 fail:
12851 return NULL;
12852 }
12853
12854
12855 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
12856 PyObject *obj;
12857 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12858 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12859 Py_INCREF(obj);
12860 return Py_BuildValue((char *)"");
12861 }
12862 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
12863 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12864 return 1;
12865 }
12866
12867
12868 static PyObject *_wrap_ToggleButtonNameStr_get() {
12869 PyObject *pyobj;
12870
12871 {
12872 #if wxUSE_UNICODE
12873 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12874 #else
12875 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12876 #endif
12877 }
12878 return pyobj;
12879 }
12880
12881
12882 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12883 PyObject *resultobj;
12884 wxWindow *arg1 = (wxWindow *) 0 ;
12885 int arg2 ;
12886 wxString *arg3 = 0 ;
12887 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12888 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12889 wxSize const &arg5_defvalue = wxDefaultSize ;
12890 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12891 long arg6 = (long) 0 ;
12892 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12893 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12894 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
12895 wxString *arg8 = (wxString *) &arg8_defvalue ;
12896 wxToggleButton *result;
12897 bool temp3 = False ;
12898 wxPoint temp4 ;
12899 wxSize temp5 ;
12900 bool temp8 = False ;
12901 PyObject * obj0 = 0 ;
12902 PyObject * obj1 = 0 ;
12903 PyObject * obj2 = 0 ;
12904 PyObject * obj3 = 0 ;
12905 PyObject * obj4 = 0 ;
12906 PyObject * obj5 = 0 ;
12907 PyObject * obj6 = 0 ;
12908 PyObject * obj7 = 0 ;
12909 char *kwnames[] = {
12910 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12911 };
12912
12913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12916 arg2 = (int) SWIG_AsInt(obj1);
12917 if (PyErr_Occurred()) SWIG_fail;
12918 {
12919 arg3 = wxString_in_helper(obj2);
12920 if (arg3 == NULL) SWIG_fail;
12921 temp3 = True;
12922 }
12923 if (obj3) {
12924 {
12925 arg4 = &temp4;
12926 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12927 }
12928 }
12929 if (obj4) {
12930 {
12931 arg5 = &temp5;
12932 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12933 }
12934 }
12935 if (obj5) {
12936 arg6 = (long) SWIG_AsLong(obj5);
12937 if (PyErr_Occurred()) SWIG_fail;
12938 }
12939 if (obj6) {
12940 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12941 SWIG_POINTER_EXCEPTION | 0)) == -1)
12942 SWIG_fail;
12943 if (arg7 == NULL) {
12944 PyErr_SetString(PyExc_TypeError,"null reference");
12945 SWIG_fail;
12946 }
12947 }
12948 if (obj7) {
12949 {
12950 arg8 = wxString_in_helper(obj7);
12951 if (arg8 == NULL) SWIG_fail;
12952 temp8 = True;
12953 }
12954 }
12955 {
12956 PyThreadState* __tstate = wxPyBeginAllowThreads();
12957 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12958
12959 wxPyEndAllowThreads(__tstate);
12960 if (PyErr_Occurred()) SWIG_fail;
12961 }
12962 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
12963 {
12964 if (temp3)
12965 delete arg3;
12966 }
12967 {
12968 if (temp8)
12969 delete arg8;
12970 }
12971 return resultobj;
12972 fail:
12973 {
12974 if (temp3)
12975 delete arg3;
12976 }
12977 {
12978 if (temp8)
12979 delete arg8;
12980 }
12981 return NULL;
12982 }
12983
12984
12985 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12986 PyObject *resultobj;
12987 wxToggleButton *result;
12988 char *kwnames[] = {
12989 NULL
12990 };
12991
12992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
12993 {
12994 PyThreadState* __tstate = wxPyBeginAllowThreads();
12995 result = (wxToggleButton *)new wxToggleButton();
12996
12997 wxPyEndAllowThreads(__tstate);
12998 if (PyErr_Occurred()) SWIG_fail;
12999 }
13000 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13001 return resultobj;
13002 fail:
13003 return NULL;
13004 }
13005
13006
13007 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13008 PyObject *resultobj;
13009 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13010 wxWindow *arg2 = (wxWindow *) 0 ;
13011 int arg3 ;
13012 wxString *arg4 = 0 ;
13013 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13014 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13015 wxSize const &arg6_defvalue = wxDefaultSize ;
13016 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13017 long arg7 = (long) 0 ;
13018 wxValidator const &arg8_defvalue = wxDefaultValidator ;
13019 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
13020 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
13021 wxString *arg9 = (wxString *) &arg9_defvalue ;
13022 bool result;
13023 bool temp4 = False ;
13024 wxPoint temp5 ;
13025 wxSize temp6 ;
13026 bool temp9 = False ;
13027 PyObject * obj0 = 0 ;
13028 PyObject * obj1 = 0 ;
13029 PyObject * obj2 = 0 ;
13030 PyObject * obj3 = 0 ;
13031 PyObject * obj4 = 0 ;
13032 PyObject * obj5 = 0 ;
13033 PyObject * obj6 = 0 ;
13034 PyObject * obj7 = 0 ;
13035 PyObject * obj8 = 0 ;
13036 char *kwnames[] = {
13037 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13038 };
13039
13040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
13041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13043 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13045 arg3 = (int) SWIG_AsInt(obj2);
13046 if (PyErr_Occurred()) SWIG_fail;
13047 {
13048 arg4 = wxString_in_helper(obj3);
13049 if (arg4 == NULL) SWIG_fail;
13050 temp4 = True;
13051 }
13052 if (obj4) {
13053 {
13054 arg5 = &temp5;
13055 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13056 }
13057 }
13058 if (obj5) {
13059 {
13060 arg6 = &temp6;
13061 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13062 }
13063 }
13064 if (obj6) {
13065 arg7 = (long) SWIG_AsLong(obj6);
13066 if (PyErr_Occurred()) SWIG_fail;
13067 }
13068 if (obj7) {
13069 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
13070 SWIG_POINTER_EXCEPTION | 0)) == -1)
13071 SWIG_fail;
13072 if (arg8 == NULL) {
13073 PyErr_SetString(PyExc_TypeError,"null reference");
13074 SWIG_fail;
13075 }
13076 }
13077 if (obj8) {
13078 {
13079 arg9 = wxString_in_helper(obj8);
13080 if (arg9 == NULL) SWIG_fail;
13081 temp9 = True;
13082 }
13083 }
13084 {
13085 PyThreadState* __tstate = wxPyBeginAllowThreads();
13086 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
13087
13088 wxPyEndAllowThreads(__tstate);
13089 if (PyErr_Occurred()) SWIG_fail;
13090 }
13091 {
13092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13093 }
13094 {
13095 if (temp4)
13096 delete arg4;
13097 }
13098 {
13099 if (temp9)
13100 delete arg9;
13101 }
13102 return resultobj;
13103 fail:
13104 {
13105 if (temp4)
13106 delete arg4;
13107 }
13108 {
13109 if (temp9)
13110 delete arg9;
13111 }
13112 return NULL;
13113 }
13114
13115
13116 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13117 PyObject *resultobj;
13118 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13119 bool arg2 ;
13120 PyObject * obj0 = 0 ;
13121 PyObject * obj1 = 0 ;
13122 char *kwnames[] = {
13123 (char *) "self",(char *) "value", NULL
13124 };
13125
13126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
13127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13129 arg2 = (bool) SWIG_AsBool(obj1);
13130 if (PyErr_Occurred()) SWIG_fail;
13131 {
13132 PyThreadState* __tstate = wxPyBeginAllowThreads();
13133 (arg1)->SetValue(arg2);
13134
13135 wxPyEndAllowThreads(__tstate);
13136 if (PyErr_Occurred()) SWIG_fail;
13137 }
13138 Py_INCREF(Py_None); resultobj = Py_None;
13139 return resultobj;
13140 fail:
13141 return NULL;
13142 }
13143
13144
13145 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13146 PyObject *resultobj;
13147 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13148 bool result;
13149 PyObject * obj0 = 0 ;
13150 char *kwnames[] = {
13151 (char *) "self", NULL
13152 };
13153
13154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
13155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13157 {
13158 PyThreadState* __tstate = wxPyBeginAllowThreads();
13159 result = (bool)((wxToggleButton const *)arg1)->GetValue();
13160
13161 wxPyEndAllowThreads(__tstate);
13162 if (PyErr_Occurred()) SWIG_fail;
13163 }
13164 {
13165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13166 }
13167 return resultobj;
13168 fail:
13169 return NULL;
13170 }
13171
13172
13173 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13174 PyObject *resultobj;
13175 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13176 wxString *arg2 = 0 ;
13177 bool temp2 = False ;
13178 PyObject * obj0 = 0 ;
13179 PyObject * obj1 = 0 ;
13180 char *kwnames[] = {
13181 (char *) "self",(char *) "label", NULL
13182 };
13183
13184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13187 {
13188 arg2 = wxString_in_helper(obj1);
13189 if (arg2 == NULL) SWIG_fail;
13190 temp2 = True;
13191 }
13192 {
13193 PyThreadState* __tstate = wxPyBeginAllowThreads();
13194 (arg1)->SetLabel((wxString const &)*arg2);
13195
13196 wxPyEndAllowThreads(__tstate);
13197 if (PyErr_Occurred()) SWIG_fail;
13198 }
13199 Py_INCREF(Py_None); resultobj = Py_None;
13200 {
13201 if (temp2)
13202 delete arg2;
13203 }
13204 return resultobj;
13205 fail:
13206 {
13207 if (temp2)
13208 delete arg2;
13209 }
13210 return NULL;
13211 }
13212
13213
13214 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
13215 PyObject *obj;
13216 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13217 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
13218 Py_INCREF(obj);
13219 return Py_BuildValue((char *)"");
13220 }
13221 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
13222 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
13223 return 1;
13224 }
13225
13226
13227 static PyObject *_wrap_NOTEBOOK_NAME_get() {
13228 PyObject *pyobj;
13229
13230 {
13231 #if wxUSE_UNICODE
13232 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13233 #else
13234 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13235 #endif
13236 }
13237 return pyobj;
13238 }
13239
13240
13241 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
13242 PyObject *resultobj;
13243 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13244 size_t result;
13245 PyObject * obj0 = 0 ;
13246 char *kwnames[] = {
13247 (char *) "self", NULL
13248 };
13249
13250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
13251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13253 {
13254 PyThreadState* __tstate = wxPyBeginAllowThreads();
13255 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
13256
13257 wxPyEndAllowThreads(__tstate);
13258 if (PyErr_Occurred()) SWIG_fail;
13259 }
13260 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
13261 return resultobj;
13262 fail:
13263 return NULL;
13264 }
13265
13266
13267 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13268 PyObject *resultobj;
13269 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13270 size_t arg2 ;
13271 wxWindow *result;
13272 PyObject * obj0 = 0 ;
13273 PyObject * obj1 = 0 ;
13274 char *kwnames[] = {
13275 (char *) "self",(char *) "n", NULL
13276 };
13277
13278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
13279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13281 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13282 if (PyErr_Occurred()) SWIG_fail;
13283 {
13284 PyThreadState* __tstate = wxPyBeginAllowThreads();
13285 result = (wxWindow *)(arg1)->GetPage(arg2);
13286
13287 wxPyEndAllowThreads(__tstate);
13288 if (PyErr_Occurred()) SWIG_fail;
13289 }
13290 {
13291 resultobj = wxPyMake_wxObject(result);
13292 }
13293 return resultobj;
13294 fail:
13295 return NULL;
13296 }
13297
13298
13299 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13300 PyObject *resultobj;
13301 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13302 int result;
13303 PyObject * obj0 = 0 ;
13304 char *kwnames[] = {
13305 (char *) "self", NULL
13306 };
13307
13308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
13309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13311 {
13312 PyThreadState* __tstate = wxPyBeginAllowThreads();
13313 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
13314
13315 wxPyEndAllowThreads(__tstate);
13316 if (PyErr_Occurred()) SWIG_fail;
13317 }
13318 resultobj = SWIG_FromInt((int)result);
13319 return resultobj;
13320 fail:
13321 return NULL;
13322 }
13323
13324
13325 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13326 PyObject *resultobj;
13327 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13328 size_t arg2 ;
13329 wxString *arg3 = 0 ;
13330 bool result;
13331 bool temp3 = False ;
13332 PyObject * obj0 = 0 ;
13333 PyObject * obj1 = 0 ;
13334 PyObject * obj2 = 0 ;
13335 char *kwnames[] = {
13336 (char *) "self",(char *) "n",(char *) "strText", NULL
13337 };
13338
13339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
13340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13342 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13343 if (PyErr_Occurred()) SWIG_fail;
13344 {
13345 arg3 = wxString_in_helper(obj2);
13346 if (arg3 == NULL) SWIG_fail;
13347 temp3 = True;
13348 }
13349 {
13350 PyThreadState* __tstate = wxPyBeginAllowThreads();
13351 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
13352
13353 wxPyEndAllowThreads(__tstate);
13354 if (PyErr_Occurred()) SWIG_fail;
13355 }
13356 {
13357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13358 }
13359 {
13360 if (temp3)
13361 delete arg3;
13362 }
13363 return resultobj;
13364 fail:
13365 {
13366 if (temp3)
13367 delete arg3;
13368 }
13369 return NULL;
13370 }
13371
13372
13373 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13374 PyObject *resultobj;
13375 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13376 size_t arg2 ;
13377 wxString result;
13378 PyObject * obj0 = 0 ;
13379 PyObject * obj1 = 0 ;
13380 char *kwnames[] = {
13381 (char *) "self",(char *) "n", NULL
13382 };
13383
13384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
13385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13387 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13388 if (PyErr_Occurred()) SWIG_fail;
13389 {
13390 PyThreadState* __tstate = wxPyBeginAllowThreads();
13391 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
13392
13393 wxPyEndAllowThreads(__tstate);
13394 if (PyErr_Occurred()) SWIG_fail;
13395 }
13396 {
13397 #if wxUSE_UNICODE
13398 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13399 #else
13400 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13401 #endif
13402 }
13403 return resultobj;
13404 fail:
13405 return NULL;
13406 }
13407
13408
13409 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13410 PyObject *resultobj;
13411 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13412 wxImageList *arg2 = (wxImageList *) 0 ;
13413 PyObject * obj0 = 0 ;
13414 PyObject * obj1 = 0 ;
13415 char *kwnames[] = {
13416 (char *) "self",(char *) "imageList", NULL
13417 };
13418
13419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
13420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13422 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13424 {
13425 PyThreadState* __tstate = wxPyBeginAllowThreads();
13426 (arg1)->SetImageList(arg2);
13427
13428 wxPyEndAllowThreads(__tstate);
13429 if (PyErr_Occurred()) SWIG_fail;
13430 }
13431 Py_INCREF(Py_None); resultobj = Py_None;
13432 return resultobj;
13433 fail:
13434 return NULL;
13435 }
13436
13437
13438 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13439 PyObject *resultobj;
13440 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13441 wxImageList *arg2 = (wxImageList *) 0 ;
13442 PyObject * obj0 = 0 ;
13443 PyObject * obj1 = 0 ;
13444 char *kwnames[] = {
13445 (char *) "self",(char *) "imageList", NULL
13446 };
13447
13448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
13449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13451 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13452 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
13453 {
13454 PyThreadState* __tstate = wxPyBeginAllowThreads();
13455 (arg1)->AssignImageList(arg2);
13456
13457 wxPyEndAllowThreads(__tstate);
13458 if (PyErr_Occurred()) SWIG_fail;
13459 }
13460 Py_INCREF(Py_None); resultobj = Py_None;
13461 return resultobj;
13462 fail:
13463 return NULL;
13464 }
13465
13466
13467 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13468 PyObject *resultobj;
13469 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13470 wxImageList *result;
13471 PyObject * obj0 = 0 ;
13472 char *kwnames[] = {
13473 (char *) "self", NULL
13474 };
13475
13476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
13477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13479 {
13480 PyThreadState* __tstate = wxPyBeginAllowThreads();
13481 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
13482
13483 wxPyEndAllowThreads(__tstate);
13484 if (PyErr_Occurred()) SWIG_fail;
13485 }
13486 {
13487 resultobj = wxPyMake_wxObject(result);
13488 }
13489 return resultobj;
13490 fail:
13491 return NULL;
13492 }
13493
13494
13495 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13496 PyObject *resultobj;
13497 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13498 size_t arg2 ;
13499 int result;
13500 PyObject * obj0 = 0 ;
13501 PyObject * obj1 = 0 ;
13502 char *kwnames[] = {
13503 (char *) "self",(char *) "n", NULL
13504 };
13505
13506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
13507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13509 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13510 if (PyErr_Occurred()) SWIG_fail;
13511 {
13512 PyThreadState* __tstate = wxPyBeginAllowThreads();
13513 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13514
13515 wxPyEndAllowThreads(__tstate);
13516 if (PyErr_Occurred()) SWIG_fail;
13517 }
13518 resultobj = SWIG_FromInt((int)result);
13519 return resultobj;
13520 fail:
13521 return NULL;
13522 }
13523
13524
13525 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13526 PyObject *resultobj;
13527 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13528 size_t arg2 ;
13529 int arg3 ;
13530 bool result;
13531 PyObject * obj0 = 0 ;
13532 PyObject * obj1 = 0 ;
13533 PyObject * obj2 = 0 ;
13534 char *kwnames[] = {
13535 (char *) "self",(char *) "n",(char *) "imageId", NULL
13536 };
13537
13538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
13539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13541 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13542 if (PyErr_Occurred()) SWIG_fail;
13543 arg3 = (int) SWIG_AsInt(obj2);
13544 if (PyErr_Occurred()) SWIG_fail;
13545 {
13546 PyThreadState* __tstate = wxPyBeginAllowThreads();
13547 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13548
13549 wxPyEndAllowThreads(__tstate);
13550 if (PyErr_Occurred()) SWIG_fail;
13551 }
13552 {
13553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13554 }
13555 return resultobj;
13556 fail:
13557 return NULL;
13558 }
13559
13560
13561 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13562 PyObject *resultobj;
13563 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13564 wxSize *arg2 = 0 ;
13565 wxSize temp2 ;
13566 PyObject * obj0 = 0 ;
13567 PyObject * obj1 = 0 ;
13568 char *kwnames[] = {
13569 (char *) "self",(char *) "size", NULL
13570 };
13571
13572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13575 {
13576 arg2 = &temp2;
13577 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13578 }
13579 {
13580 PyThreadState* __tstate = wxPyBeginAllowThreads();
13581 (arg1)->SetPageSize((wxSize const &)*arg2);
13582
13583 wxPyEndAllowThreads(__tstate);
13584 if (PyErr_Occurred()) SWIG_fail;
13585 }
13586 Py_INCREF(Py_None); resultobj = Py_None;
13587 return resultobj;
13588 fail:
13589 return NULL;
13590 }
13591
13592
13593 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13594 PyObject *resultobj;
13595 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13596 wxSize *arg2 = 0 ;
13597 wxSize result;
13598 wxSize temp2 ;
13599 PyObject * obj0 = 0 ;
13600 PyObject * obj1 = 0 ;
13601 char *kwnames[] = {
13602 (char *) "self",(char *) "sizePage", NULL
13603 };
13604
13605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13608 {
13609 arg2 = &temp2;
13610 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13611 }
13612 {
13613 PyThreadState* __tstate = wxPyBeginAllowThreads();
13614 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13615
13616 wxPyEndAllowThreads(__tstate);
13617 if (PyErr_Occurred()) SWIG_fail;
13618 }
13619 {
13620 wxSize * resultptr;
13621 resultptr = new wxSize((wxSize &) result);
13622 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
13623 }
13624 return resultobj;
13625 fail:
13626 return NULL;
13627 }
13628
13629
13630 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13631 PyObject *resultobj;
13632 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13633 size_t arg2 ;
13634 bool result;
13635 PyObject * obj0 = 0 ;
13636 PyObject * obj1 = 0 ;
13637 char *kwnames[] = {
13638 (char *) "self",(char *) "n", NULL
13639 };
13640
13641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
13642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13644 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13645 if (PyErr_Occurred()) SWIG_fail;
13646 {
13647 PyThreadState* __tstate = wxPyBeginAllowThreads();
13648 result = (bool)(arg1)->DeletePage(arg2);
13649
13650 wxPyEndAllowThreads(__tstate);
13651 if (PyErr_Occurred()) SWIG_fail;
13652 }
13653 {
13654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13655 }
13656 return resultobj;
13657 fail:
13658 return NULL;
13659 }
13660
13661
13662 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13663 PyObject *resultobj;
13664 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13665 size_t arg2 ;
13666 bool result;
13667 PyObject * obj0 = 0 ;
13668 PyObject * obj1 = 0 ;
13669 char *kwnames[] = {
13670 (char *) "self",(char *) "n", NULL
13671 };
13672
13673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
13674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13676 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13677 if (PyErr_Occurred()) SWIG_fail;
13678 {
13679 PyThreadState* __tstate = wxPyBeginAllowThreads();
13680 result = (bool)(arg1)->RemovePage(arg2);
13681
13682 wxPyEndAllowThreads(__tstate);
13683 if (PyErr_Occurred()) SWIG_fail;
13684 }
13685 {
13686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13687 }
13688 return resultobj;
13689 fail:
13690 return NULL;
13691 }
13692
13693
13694 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
13695 PyObject *resultobj;
13696 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13697 bool result;
13698 PyObject * obj0 = 0 ;
13699 char *kwnames[] = {
13700 (char *) "self", NULL
13701 };
13702
13703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
13704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13706 {
13707 PyThreadState* __tstate = wxPyBeginAllowThreads();
13708 result = (bool)(arg1)->DeleteAllPages();
13709
13710 wxPyEndAllowThreads(__tstate);
13711 if (PyErr_Occurred()) SWIG_fail;
13712 }
13713 {
13714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13715 }
13716 return resultobj;
13717 fail:
13718 return NULL;
13719 }
13720
13721
13722 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13723 PyObject *resultobj;
13724 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13725 wxWindow *arg2 = (wxWindow *) 0 ;
13726 wxString *arg3 = 0 ;
13727 bool arg4 = (bool) False ;
13728 int arg5 = (int) -1 ;
13729 bool result;
13730 bool temp3 = False ;
13731 PyObject * obj0 = 0 ;
13732 PyObject * obj1 = 0 ;
13733 PyObject * obj2 = 0 ;
13734 PyObject * obj3 = 0 ;
13735 PyObject * obj4 = 0 ;
13736 char *kwnames[] = {
13737 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13738 };
13739
13740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13743 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13745 {
13746 arg3 = wxString_in_helper(obj2);
13747 if (arg3 == NULL) SWIG_fail;
13748 temp3 = True;
13749 }
13750 if (obj3) {
13751 arg4 = (bool) SWIG_AsBool(obj3);
13752 if (PyErr_Occurred()) SWIG_fail;
13753 }
13754 if (obj4) {
13755 arg5 = (int) SWIG_AsInt(obj4);
13756 if (PyErr_Occurred()) SWIG_fail;
13757 }
13758 {
13759 PyThreadState* __tstate = wxPyBeginAllowThreads();
13760 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13761
13762 wxPyEndAllowThreads(__tstate);
13763 if (PyErr_Occurred()) SWIG_fail;
13764 }
13765 {
13766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13767 }
13768 {
13769 if (temp3)
13770 delete arg3;
13771 }
13772 return resultobj;
13773 fail:
13774 {
13775 if (temp3)
13776 delete arg3;
13777 }
13778 return NULL;
13779 }
13780
13781
13782 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13783 PyObject *resultobj;
13784 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13785 size_t arg2 ;
13786 wxWindow *arg3 = (wxWindow *) 0 ;
13787 wxString *arg4 = 0 ;
13788 bool arg5 = (bool) False ;
13789 int arg6 = (int) -1 ;
13790 bool result;
13791 bool temp4 = False ;
13792 PyObject * obj0 = 0 ;
13793 PyObject * obj1 = 0 ;
13794 PyObject * obj2 = 0 ;
13795 PyObject * obj3 = 0 ;
13796 PyObject * obj4 = 0 ;
13797 PyObject * obj5 = 0 ;
13798 char *kwnames[] = {
13799 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13800 };
13801
13802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13805 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13806 if (PyErr_Occurred()) SWIG_fail;
13807 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
13808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13809 {
13810 arg4 = wxString_in_helper(obj3);
13811 if (arg4 == NULL) SWIG_fail;
13812 temp4 = True;
13813 }
13814 if (obj4) {
13815 arg5 = (bool) SWIG_AsBool(obj4);
13816 if (PyErr_Occurred()) SWIG_fail;
13817 }
13818 if (obj5) {
13819 arg6 = (int) SWIG_AsInt(obj5);
13820 if (PyErr_Occurred()) SWIG_fail;
13821 }
13822 {
13823 PyThreadState* __tstate = wxPyBeginAllowThreads();
13824 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13825
13826 wxPyEndAllowThreads(__tstate);
13827 if (PyErr_Occurred()) SWIG_fail;
13828 }
13829 {
13830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13831 }
13832 {
13833 if (temp4)
13834 delete arg4;
13835 }
13836 return resultobj;
13837 fail:
13838 {
13839 if (temp4)
13840 delete arg4;
13841 }
13842 return NULL;
13843 }
13844
13845
13846 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13847 PyObject *resultobj;
13848 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13849 size_t arg2 ;
13850 int result;
13851 PyObject * obj0 = 0 ;
13852 PyObject * obj1 = 0 ;
13853 char *kwnames[] = {
13854 (char *) "self",(char *) "n", NULL
13855 };
13856
13857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13860 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13861 if (PyErr_Occurred()) SWIG_fail;
13862 {
13863 PyThreadState* __tstate = wxPyBeginAllowThreads();
13864 result = (int)(arg1)->SetSelection(arg2);
13865
13866 wxPyEndAllowThreads(__tstate);
13867 if (PyErr_Occurred()) SWIG_fail;
13868 }
13869 resultobj = SWIG_FromInt((int)result);
13870 return resultobj;
13871 fail:
13872 return NULL;
13873 }
13874
13875
13876 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13877 PyObject *resultobj;
13878 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13879 bool arg2 = (bool) True ;
13880 PyObject * obj0 = 0 ;
13881 PyObject * obj1 = 0 ;
13882 char *kwnames[] = {
13883 (char *) "self",(char *) "forward", NULL
13884 };
13885
13886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
13887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13889 if (obj1) {
13890 arg2 = (bool) SWIG_AsBool(obj1);
13891 if (PyErr_Occurred()) SWIG_fail;
13892 }
13893 {
13894 PyThreadState* __tstate = wxPyBeginAllowThreads();
13895 (arg1)->AdvanceSelection(arg2);
13896
13897 wxPyEndAllowThreads(__tstate);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 Py_INCREF(Py_None); resultobj = Py_None;
13901 return resultobj;
13902 fail:
13903 return NULL;
13904 }
13905
13906
13907 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
13908 PyObject *obj;
13909 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13910 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
13911 Py_INCREF(obj);
13912 return Py_BuildValue((char *)"");
13913 }
13914 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13915 PyObject *resultobj;
13916 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13917 int arg2 = (int) 0 ;
13918 int arg3 = (int) -1 ;
13919 int arg4 = (int) -1 ;
13920 wxBookCtrlEvent *result;
13921 PyObject * obj0 = 0 ;
13922 PyObject * obj1 = 0 ;
13923 PyObject * obj2 = 0 ;
13924 PyObject * obj3 = 0 ;
13925 char *kwnames[] = {
13926 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13927 };
13928
13929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13930 if (obj0) {
13931 arg1 = (wxEventType) SWIG_AsInt(obj0);
13932 if (PyErr_Occurred()) SWIG_fail;
13933 }
13934 if (obj1) {
13935 arg2 = (int) SWIG_AsInt(obj1);
13936 if (PyErr_Occurred()) SWIG_fail;
13937 }
13938 if (obj2) {
13939 arg3 = (int) SWIG_AsInt(obj2);
13940 if (PyErr_Occurred()) SWIG_fail;
13941 }
13942 if (obj3) {
13943 arg4 = (int) SWIG_AsInt(obj3);
13944 if (PyErr_Occurred()) SWIG_fail;
13945 }
13946 {
13947 PyThreadState* __tstate = wxPyBeginAllowThreads();
13948 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
13949
13950 wxPyEndAllowThreads(__tstate);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 }
13953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
13954 return resultobj;
13955 fail:
13956 return NULL;
13957 }
13958
13959
13960 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13961 PyObject *resultobj;
13962 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13963 int result;
13964 PyObject * obj0 = 0 ;
13965 char *kwnames[] = {
13966 (char *) "self", NULL
13967 };
13968
13969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
13970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13972 {
13973 PyThreadState* __tstate = wxPyBeginAllowThreads();
13974 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
13975
13976 wxPyEndAllowThreads(__tstate);
13977 if (PyErr_Occurred()) SWIG_fail;
13978 }
13979 resultobj = SWIG_FromInt((int)result);
13980 return resultobj;
13981 fail:
13982 return NULL;
13983 }
13984
13985
13986 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13987 PyObject *resultobj;
13988 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13989 int arg2 ;
13990 PyObject * obj0 = 0 ;
13991 PyObject * obj1 = 0 ;
13992 char *kwnames[] = {
13993 (char *) "self",(char *) "nSel", NULL
13994 };
13995
13996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13999 arg2 = (int) SWIG_AsInt(obj1);
14000 if (PyErr_Occurred()) SWIG_fail;
14001 {
14002 PyThreadState* __tstate = wxPyBeginAllowThreads();
14003 (arg1)->SetSelection(arg2);
14004
14005 wxPyEndAllowThreads(__tstate);
14006 if (PyErr_Occurred()) SWIG_fail;
14007 }
14008 Py_INCREF(Py_None); resultobj = Py_None;
14009 return resultobj;
14010 fail:
14011 return NULL;
14012 }
14013
14014
14015 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14016 PyObject *resultobj;
14017 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14018 int result;
14019 PyObject * obj0 = 0 ;
14020 char *kwnames[] = {
14021 (char *) "self", NULL
14022 };
14023
14024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
14025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14027 {
14028 PyThreadState* __tstate = wxPyBeginAllowThreads();
14029 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
14030
14031 wxPyEndAllowThreads(__tstate);
14032 if (PyErr_Occurred()) SWIG_fail;
14033 }
14034 resultobj = SWIG_FromInt((int)result);
14035 return resultobj;
14036 fail:
14037 return NULL;
14038 }
14039
14040
14041 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14042 PyObject *resultobj;
14043 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14044 int arg2 ;
14045 PyObject * obj0 = 0 ;
14046 PyObject * obj1 = 0 ;
14047 char *kwnames[] = {
14048 (char *) "self",(char *) "nOldSel", NULL
14049 };
14050
14051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
14052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14054 arg2 = (int) SWIG_AsInt(obj1);
14055 if (PyErr_Occurred()) SWIG_fail;
14056 {
14057 PyThreadState* __tstate = wxPyBeginAllowThreads();
14058 (arg1)->SetOldSelection(arg2);
14059
14060 wxPyEndAllowThreads(__tstate);
14061 if (PyErr_Occurred()) SWIG_fail;
14062 }
14063 Py_INCREF(Py_None); resultobj = Py_None;
14064 return resultobj;
14065 fail:
14066 return NULL;
14067 }
14068
14069
14070 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
14071 PyObject *obj;
14072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14073 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
14074 Py_INCREF(obj);
14075 return Py_BuildValue((char *)"");
14076 }
14077 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14078 PyObject *resultobj;
14079 wxWindow *arg1 = (wxWindow *) 0 ;
14080 int arg2 = (int) -1 ;
14081 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14082 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14083 wxSize const &arg4_defvalue = wxDefaultSize ;
14084 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14085 long arg5 = (long) 0 ;
14086 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
14087 wxString *arg6 = (wxString *) &arg6_defvalue ;
14088 wxNotebook *result;
14089 wxPoint temp3 ;
14090 wxSize temp4 ;
14091 bool temp6 = False ;
14092 PyObject * obj0 = 0 ;
14093 PyObject * obj1 = 0 ;
14094 PyObject * obj2 = 0 ;
14095 PyObject * obj3 = 0 ;
14096 PyObject * obj4 = 0 ;
14097 PyObject * obj5 = 0 ;
14098 char *kwnames[] = {
14099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14100 };
14101
14102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14105 if (obj1) {
14106 arg2 = (int) SWIG_AsInt(obj1);
14107 if (PyErr_Occurred()) SWIG_fail;
14108 }
14109 if (obj2) {
14110 {
14111 arg3 = &temp3;
14112 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14113 }
14114 }
14115 if (obj3) {
14116 {
14117 arg4 = &temp4;
14118 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14119 }
14120 }
14121 if (obj4) {
14122 arg5 = (long) SWIG_AsLong(obj4);
14123 if (PyErr_Occurred()) SWIG_fail;
14124 }
14125 if (obj5) {
14126 {
14127 arg6 = wxString_in_helper(obj5);
14128 if (arg6 == NULL) SWIG_fail;
14129 temp6 = True;
14130 }
14131 }
14132 {
14133 PyThreadState* __tstate = wxPyBeginAllowThreads();
14134 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14135
14136 wxPyEndAllowThreads(__tstate);
14137 if (PyErr_Occurred()) SWIG_fail;
14138 }
14139 {
14140 resultobj = wxPyMake_wxObject(result);
14141 }
14142 {
14143 if (temp6)
14144 delete arg6;
14145 }
14146 return resultobj;
14147 fail:
14148 {
14149 if (temp6)
14150 delete arg6;
14151 }
14152 return NULL;
14153 }
14154
14155
14156 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14157 PyObject *resultobj;
14158 wxNotebook *result;
14159 char *kwnames[] = {
14160 NULL
14161 };
14162
14163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
14164 {
14165 PyThreadState* __tstate = wxPyBeginAllowThreads();
14166 result = (wxNotebook *)new wxNotebook();
14167
14168 wxPyEndAllowThreads(__tstate);
14169 if (PyErr_Occurred()) SWIG_fail;
14170 }
14171 {
14172 resultobj = wxPyMake_wxObject(result);
14173 }
14174 return resultobj;
14175 fail:
14176 return NULL;
14177 }
14178
14179
14180 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14181 PyObject *resultobj;
14182 wxNotebook *arg1 = (wxNotebook *) 0 ;
14183 wxWindow *arg2 = (wxWindow *) 0 ;
14184 int arg3 ;
14185 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14186 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14187 wxSize const &arg5_defvalue = wxDefaultSize ;
14188 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14189 long arg6 = (long) 0 ;
14190 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
14191 wxString *arg7 = (wxString *) &arg7_defvalue ;
14192 bool result;
14193 wxPoint temp4 ;
14194 wxSize temp5 ;
14195 bool temp7 = False ;
14196 PyObject * obj0 = 0 ;
14197 PyObject * obj1 = 0 ;
14198 PyObject * obj2 = 0 ;
14199 PyObject * obj3 = 0 ;
14200 PyObject * obj4 = 0 ;
14201 PyObject * obj5 = 0 ;
14202 PyObject * obj6 = 0 ;
14203 char *kwnames[] = {
14204 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14205 };
14206
14207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14210 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14212 arg3 = (int) SWIG_AsInt(obj2);
14213 if (PyErr_Occurred()) SWIG_fail;
14214 if (obj3) {
14215 {
14216 arg4 = &temp4;
14217 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14218 }
14219 }
14220 if (obj4) {
14221 {
14222 arg5 = &temp5;
14223 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14224 }
14225 }
14226 if (obj5) {
14227 arg6 = (long) SWIG_AsLong(obj5);
14228 if (PyErr_Occurred()) SWIG_fail;
14229 }
14230 if (obj6) {
14231 {
14232 arg7 = wxString_in_helper(obj6);
14233 if (arg7 == NULL) SWIG_fail;
14234 temp7 = True;
14235 }
14236 }
14237 {
14238 PyThreadState* __tstate = wxPyBeginAllowThreads();
14239 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14240
14241 wxPyEndAllowThreads(__tstate);
14242 if (PyErr_Occurred()) SWIG_fail;
14243 }
14244 {
14245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14246 }
14247 {
14248 if (temp7)
14249 delete arg7;
14250 }
14251 return resultobj;
14252 fail:
14253 {
14254 if (temp7)
14255 delete arg7;
14256 }
14257 return NULL;
14258 }
14259
14260
14261 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14262 PyObject *resultobj;
14263 wxNotebook *arg1 = (wxNotebook *) 0 ;
14264 int result;
14265 PyObject * obj0 = 0 ;
14266 char *kwnames[] = {
14267 (char *) "self", NULL
14268 };
14269
14270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
14271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14273 {
14274 PyThreadState* __tstate = wxPyBeginAllowThreads();
14275 result = (int)((wxNotebook const *)arg1)->GetRowCount();
14276
14277 wxPyEndAllowThreads(__tstate);
14278 if (PyErr_Occurred()) SWIG_fail;
14279 }
14280 resultobj = SWIG_FromInt((int)result);
14281 return resultobj;
14282 fail:
14283 return NULL;
14284 }
14285
14286
14287 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
14288 PyObject *resultobj;
14289 wxNotebook *arg1 = (wxNotebook *) 0 ;
14290 wxSize *arg2 = 0 ;
14291 wxSize temp2 ;
14292 PyObject * obj0 = 0 ;
14293 PyObject * obj1 = 0 ;
14294 char *kwnames[] = {
14295 (char *) "self",(char *) "padding", NULL
14296 };
14297
14298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
14299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14301 {
14302 arg2 = &temp2;
14303 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14304 }
14305 {
14306 PyThreadState* __tstate = wxPyBeginAllowThreads();
14307 (arg1)->SetPadding((wxSize const &)*arg2);
14308
14309 wxPyEndAllowThreads(__tstate);
14310 if (PyErr_Occurred()) SWIG_fail;
14311 }
14312 Py_INCREF(Py_None); resultobj = Py_None;
14313 return resultobj;
14314 fail:
14315 return NULL;
14316 }
14317
14318
14319 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14320 PyObject *resultobj;
14321 wxNotebook *arg1 = (wxNotebook *) 0 ;
14322 wxSize *arg2 = 0 ;
14323 wxSize temp2 ;
14324 PyObject * obj0 = 0 ;
14325 PyObject * obj1 = 0 ;
14326 char *kwnames[] = {
14327 (char *) "self",(char *) "sz", NULL
14328 };
14329
14330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
14331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14333 {
14334 arg2 = &temp2;
14335 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14336 }
14337 {
14338 PyThreadState* __tstate = wxPyBeginAllowThreads();
14339 (arg1)->SetTabSize((wxSize const &)*arg2);
14340
14341 wxPyEndAllowThreads(__tstate);
14342 if (PyErr_Occurred()) SWIG_fail;
14343 }
14344 Py_INCREF(Py_None); resultobj = Py_None;
14345 return resultobj;
14346 fail:
14347 return NULL;
14348 }
14349
14350
14351 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
14352 PyObject *resultobj;
14353 wxNotebook *arg1 = (wxNotebook *) 0 ;
14354 wxPoint *arg2 = 0 ;
14355 long *arg3 = (long *) 0 ;
14356 int result;
14357 wxPoint temp2 ;
14358 long temp3 ;
14359 PyObject * obj0 = 0 ;
14360 PyObject * obj1 = 0 ;
14361 char *kwnames[] = {
14362 (char *) "self",(char *) "pt", NULL
14363 };
14364
14365 arg3 = &temp3;
14366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
14367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14369 {
14370 arg2 = &temp2;
14371 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14372 }
14373 {
14374 PyThreadState* __tstate = wxPyBeginAllowThreads();
14375 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
14376
14377 wxPyEndAllowThreads(__tstate);
14378 if (PyErr_Occurred()) SWIG_fail;
14379 }
14380 resultobj = SWIG_FromInt((int)result);
14381 {
14382 PyObject *o = PyInt_FromLong((long) (*arg3));
14383 resultobj = t_output_helper(resultobj,o);
14384 }
14385 return resultobj;
14386 fail:
14387 return NULL;
14388 }
14389
14390
14391 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14392 PyObject *resultobj;
14393 wxNotebook *arg1 = (wxNotebook *) 0 ;
14394 wxSize *arg2 = 0 ;
14395 wxSize result;
14396 wxSize temp2 ;
14397 PyObject * obj0 = 0 ;
14398 PyObject * obj1 = 0 ;
14399 char *kwnames[] = {
14400 (char *) "self",(char *) "sizePage", NULL
14401 };
14402
14403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14406 {
14407 arg2 = &temp2;
14408 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14409 }
14410 {
14411 PyThreadState* __tstate = wxPyBeginAllowThreads();
14412 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14413
14414 wxPyEndAllowThreads(__tstate);
14415 if (PyErr_Occurred()) SWIG_fail;
14416 }
14417 {
14418 wxSize * resultptr;
14419 resultptr = new wxSize((wxSize &) result);
14420 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14421 }
14422 return resultobj;
14423 fail:
14424 return NULL;
14425 }
14426
14427
14428 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
14429 PyObject *obj;
14430 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14431 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
14432 Py_INCREF(obj);
14433 return Py_BuildValue((char *)"");
14434 }
14435 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14436 PyObject *resultobj;
14437 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14438 int arg2 = (int) 0 ;
14439 int arg3 = (int) -1 ;
14440 int arg4 = (int) -1 ;
14441 wxNotebookEvent *result;
14442 PyObject * obj0 = 0 ;
14443 PyObject * obj1 = 0 ;
14444 PyObject * obj2 = 0 ;
14445 PyObject * obj3 = 0 ;
14446 char *kwnames[] = {
14447 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14448 };
14449
14450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14451 if (obj0) {
14452 arg1 = (wxEventType) SWIG_AsInt(obj0);
14453 if (PyErr_Occurred()) SWIG_fail;
14454 }
14455 if (obj1) {
14456 arg2 = (int) SWIG_AsInt(obj1);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 }
14459 if (obj2) {
14460 arg3 = (int) SWIG_AsInt(obj2);
14461 if (PyErr_Occurred()) SWIG_fail;
14462 }
14463 if (obj3) {
14464 arg4 = (int) SWIG_AsInt(obj3);
14465 if (PyErr_Occurred()) SWIG_fail;
14466 }
14467 {
14468 PyThreadState* __tstate = wxPyBeginAllowThreads();
14469 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
14470
14471 wxPyEndAllowThreads(__tstate);
14472 if (PyErr_Occurred()) SWIG_fail;
14473 }
14474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
14475 return resultobj;
14476 fail:
14477 return NULL;
14478 }
14479
14480
14481 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
14482 PyObject *obj;
14483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14484 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
14485 Py_INCREF(obj);
14486 return Py_BuildValue((char *)"");
14487 }
14488 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14489 PyObject *resultobj;
14490 wxWindow *arg1 = (wxWindow *) 0 ;
14491 int arg2 = (int) -1 ;
14492 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14493 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14494 wxSize const &arg4_defvalue = wxDefaultSize ;
14495 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14496 long arg5 = (long) 0 ;
14497 wxString const &arg6_defvalue = wxPyEmptyString ;
14498 wxString *arg6 = (wxString *) &arg6_defvalue ;
14499 wxListbook *result;
14500 wxPoint temp3 ;
14501 wxSize temp4 ;
14502 bool temp6 = False ;
14503 PyObject * obj0 = 0 ;
14504 PyObject * obj1 = 0 ;
14505 PyObject * obj2 = 0 ;
14506 PyObject * obj3 = 0 ;
14507 PyObject * obj4 = 0 ;
14508 PyObject * obj5 = 0 ;
14509 char *kwnames[] = {
14510 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14511 };
14512
14513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14516 if (obj1) {
14517 arg2 = (int) SWIG_AsInt(obj1);
14518 if (PyErr_Occurred()) SWIG_fail;
14519 }
14520 if (obj2) {
14521 {
14522 arg3 = &temp3;
14523 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14524 }
14525 }
14526 if (obj3) {
14527 {
14528 arg4 = &temp4;
14529 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14530 }
14531 }
14532 if (obj4) {
14533 arg5 = (long) SWIG_AsLong(obj4);
14534 if (PyErr_Occurred()) SWIG_fail;
14535 }
14536 if (obj5) {
14537 {
14538 arg6 = wxString_in_helper(obj5);
14539 if (arg6 == NULL) SWIG_fail;
14540 temp6 = True;
14541 }
14542 }
14543 {
14544 PyThreadState* __tstate = wxPyBeginAllowThreads();
14545 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14546
14547 wxPyEndAllowThreads(__tstate);
14548 if (PyErr_Occurred()) SWIG_fail;
14549 }
14550 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14551 {
14552 if (temp6)
14553 delete arg6;
14554 }
14555 return resultobj;
14556 fail:
14557 {
14558 if (temp6)
14559 delete arg6;
14560 }
14561 return NULL;
14562 }
14563
14564
14565 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14566 PyObject *resultobj;
14567 wxListbook *result;
14568 char *kwnames[] = {
14569 NULL
14570 };
14571
14572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14573 {
14574 PyThreadState* __tstate = wxPyBeginAllowThreads();
14575 result = (wxListbook *)new wxListbook();
14576
14577 wxPyEndAllowThreads(__tstate);
14578 if (PyErr_Occurred()) SWIG_fail;
14579 }
14580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14581 return resultobj;
14582 fail:
14583 return NULL;
14584 }
14585
14586
14587 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14588 PyObject *resultobj;
14589 wxListbook *arg1 = (wxListbook *) 0 ;
14590 wxWindow *arg2 = (wxWindow *) 0 ;
14591 int arg3 ;
14592 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14593 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14594 wxSize const &arg5_defvalue = wxDefaultSize ;
14595 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14596 long arg6 = (long) 0 ;
14597 wxString const &arg7_defvalue = wxPyEmptyString ;
14598 wxString *arg7 = (wxString *) &arg7_defvalue ;
14599 bool result;
14600 wxPoint temp4 ;
14601 wxSize temp5 ;
14602 bool temp7 = False ;
14603 PyObject * obj0 = 0 ;
14604 PyObject * obj1 = 0 ;
14605 PyObject * obj2 = 0 ;
14606 PyObject * obj3 = 0 ;
14607 PyObject * obj4 = 0 ;
14608 PyObject * obj5 = 0 ;
14609 PyObject * obj6 = 0 ;
14610 char *kwnames[] = {
14611 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14612 };
14613
14614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14617 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14619 arg3 = (int) SWIG_AsInt(obj2);
14620 if (PyErr_Occurred()) SWIG_fail;
14621 if (obj3) {
14622 {
14623 arg4 = &temp4;
14624 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14625 }
14626 }
14627 if (obj4) {
14628 {
14629 arg5 = &temp5;
14630 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14631 }
14632 }
14633 if (obj5) {
14634 arg6 = (long) SWIG_AsLong(obj5);
14635 if (PyErr_Occurred()) SWIG_fail;
14636 }
14637 if (obj6) {
14638 {
14639 arg7 = wxString_in_helper(obj6);
14640 if (arg7 == NULL) SWIG_fail;
14641 temp7 = True;
14642 }
14643 }
14644 {
14645 PyThreadState* __tstate = wxPyBeginAllowThreads();
14646 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14647
14648 wxPyEndAllowThreads(__tstate);
14649 if (PyErr_Occurred()) SWIG_fail;
14650 }
14651 {
14652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14653 }
14654 {
14655 if (temp7)
14656 delete arg7;
14657 }
14658 return resultobj;
14659 fail:
14660 {
14661 if (temp7)
14662 delete arg7;
14663 }
14664 return NULL;
14665 }
14666
14667
14668 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14669 PyObject *resultobj;
14670 wxListbook *arg1 = (wxListbook *) 0 ;
14671 bool result;
14672 PyObject * obj0 = 0 ;
14673 char *kwnames[] = {
14674 (char *) "self", NULL
14675 };
14676
14677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
14678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14680 {
14681 PyThreadState* __tstate = wxPyBeginAllowThreads();
14682 result = (bool)((wxListbook const *)arg1)->IsVertical();
14683
14684 wxPyEndAllowThreads(__tstate);
14685 if (PyErr_Occurred()) SWIG_fail;
14686 }
14687 {
14688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14689 }
14690 return resultobj;
14691 fail:
14692 return NULL;
14693 }
14694
14695
14696 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
14697 PyObject *obj;
14698 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14699 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14700 Py_INCREF(obj);
14701 return Py_BuildValue((char *)"");
14702 }
14703 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14704 PyObject *resultobj;
14705 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14706 int arg2 = (int) 0 ;
14707 int arg3 = (int) -1 ;
14708 int arg4 = (int) -1 ;
14709 wxListbookEvent *result;
14710 PyObject * obj0 = 0 ;
14711 PyObject * obj1 = 0 ;
14712 PyObject * obj2 = 0 ;
14713 PyObject * obj3 = 0 ;
14714 char *kwnames[] = {
14715 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14716 };
14717
14718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14719 if (obj0) {
14720 arg1 = (wxEventType) SWIG_AsInt(obj0);
14721 if (PyErr_Occurred()) SWIG_fail;
14722 }
14723 if (obj1) {
14724 arg2 = (int) SWIG_AsInt(obj1);
14725 if (PyErr_Occurred()) SWIG_fail;
14726 }
14727 if (obj2) {
14728 arg3 = (int) SWIG_AsInt(obj2);
14729 if (PyErr_Occurred()) SWIG_fail;
14730 }
14731 if (obj3) {
14732 arg4 = (int) SWIG_AsInt(obj3);
14733 if (PyErr_Occurred()) SWIG_fail;
14734 }
14735 {
14736 PyThreadState* __tstate = wxPyBeginAllowThreads();
14737 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14738
14739 wxPyEndAllowThreads(__tstate);
14740 if (PyErr_Occurred()) SWIG_fail;
14741 }
14742 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
14743 return resultobj;
14744 fail:
14745 return NULL;
14746 }
14747
14748
14749 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
14750 PyObject *obj;
14751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14752 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14753 Py_INCREF(obj);
14754 return Py_BuildValue((char *)"");
14755 }
14756 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14757 PyObject *resultobj;
14758 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14759 wxBookCtrlSizer *result;
14760 PyObject * obj0 = 0 ;
14761 char *kwnames[] = {
14762 (char *) "nb", NULL
14763 };
14764
14765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
14766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14768 {
14769 PyThreadState* __tstate = wxPyBeginAllowThreads();
14770 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14771
14772 wxPyEndAllowThreads(__tstate);
14773 if (PyErr_Occurred()) SWIG_fail;
14774 }
14775 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
14776 return resultobj;
14777 fail:
14778 return NULL;
14779 }
14780
14781
14782 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14783 PyObject *resultobj;
14784 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14785 PyObject * obj0 = 0 ;
14786 char *kwnames[] = {
14787 (char *) "self", NULL
14788 };
14789
14790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14793 {
14794 PyThreadState* __tstate = wxPyBeginAllowThreads();
14795 (arg1)->RecalcSizes();
14796
14797 wxPyEndAllowThreads(__tstate);
14798 if (PyErr_Occurred()) SWIG_fail;
14799 }
14800 Py_INCREF(Py_None); resultobj = Py_None;
14801 return resultobj;
14802 fail:
14803 return NULL;
14804 }
14805
14806
14807 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14808 PyObject *resultobj;
14809 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14810 wxSize result;
14811 PyObject * obj0 = 0 ;
14812 char *kwnames[] = {
14813 (char *) "self", NULL
14814 };
14815
14816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
14817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14819 {
14820 PyThreadState* __tstate = wxPyBeginAllowThreads();
14821 result = (arg1)->CalcMin();
14822
14823 wxPyEndAllowThreads(__tstate);
14824 if (PyErr_Occurred()) SWIG_fail;
14825 }
14826 {
14827 wxSize * resultptr;
14828 resultptr = new wxSize((wxSize &) result);
14829 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14830 }
14831 return resultobj;
14832 fail:
14833 return NULL;
14834 }
14835
14836
14837 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14838 PyObject *resultobj;
14839 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14840 wxBookCtrl *result;
14841 PyObject * obj0 = 0 ;
14842 char *kwnames[] = {
14843 (char *) "self", NULL
14844 };
14845
14846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
14847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14849 {
14850 PyThreadState* __tstate = wxPyBeginAllowThreads();
14851 result = (wxBookCtrl *)(arg1)->GetControl();
14852
14853 wxPyEndAllowThreads(__tstate);
14854 if (PyErr_Occurred()) SWIG_fail;
14855 }
14856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
14857 return resultobj;
14858 fail:
14859 return NULL;
14860 }
14861
14862
14863 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
14864 PyObject *obj;
14865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14866 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14867 Py_INCREF(obj);
14868 return Py_BuildValue((char *)"");
14869 }
14870 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14871 PyObject *resultobj;
14872 wxNotebook *arg1 = (wxNotebook *) 0 ;
14873 wxNotebookSizer *result;
14874 PyObject * obj0 = 0 ;
14875 char *kwnames[] = {
14876 (char *) "nb", NULL
14877 };
14878
14879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
14880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14882 {
14883 PyThreadState* __tstate = wxPyBeginAllowThreads();
14884 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
14885
14886 wxPyEndAllowThreads(__tstate);
14887 if (PyErr_Occurred()) SWIG_fail;
14888 }
14889 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
14890 return resultobj;
14891 fail:
14892 return NULL;
14893 }
14894
14895
14896 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14897 PyObject *resultobj;
14898 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14899 PyObject * obj0 = 0 ;
14900 char *kwnames[] = {
14901 (char *) "self", NULL
14902 };
14903
14904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14907 {
14908 PyThreadState* __tstate = wxPyBeginAllowThreads();
14909 (arg1)->RecalcSizes();
14910
14911 wxPyEndAllowThreads(__tstate);
14912 if (PyErr_Occurred()) SWIG_fail;
14913 }
14914 Py_INCREF(Py_None); resultobj = Py_None;
14915 return resultobj;
14916 fail:
14917 return NULL;
14918 }
14919
14920
14921 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14922 PyObject *resultobj;
14923 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14924 wxSize result;
14925 PyObject * obj0 = 0 ;
14926 char *kwnames[] = {
14927 (char *) "self", NULL
14928 };
14929
14930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
14931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14933 {
14934 PyThreadState* __tstate = wxPyBeginAllowThreads();
14935 result = (arg1)->CalcMin();
14936
14937 wxPyEndAllowThreads(__tstate);
14938 if (PyErr_Occurred()) SWIG_fail;
14939 }
14940 {
14941 wxSize * resultptr;
14942 resultptr = new wxSize((wxSize &) result);
14943 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14944 }
14945 return resultobj;
14946 fail:
14947 return NULL;
14948 }
14949
14950
14951 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14952 PyObject *resultobj;
14953 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14954 wxNotebook *result;
14955 PyObject * obj0 = 0 ;
14956 char *kwnames[] = {
14957 (char *) "self", NULL
14958 };
14959
14960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
14961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14963 {
14964 PyThreadState* __tstate = wxPyBeginAllowThreads();
14965 result = (wxNotebook *)(arg1)->GetNotebook();
14966
14967 wxPyEndAllowThreads(__tstate);
14968 if (PyErr_Occurred()) SWIG_fail;
14969 }
14970 {
14971 resultobj = wxPyMake_wxObject(result);
14972 }
14973 return resultobj;
14974 fail:
14975 return NULL;
14976 }
14977
14978
14979 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
14980 PyObject *obj;
14981 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14982 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
14983 Py_INCREF(obj);
14984 return Py_BuildValue((char *)"");
14985 }
14986 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
14987 PyObject *resultobj;
14988 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14989 int result;
14990 PyObject * obj0 = 0 ;
14991 char *kwnames[] = {
14992 (char *) "self", NULL
14993 };
14994
14995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
14996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14998 {
14999 PyThreadState* __tstate = wxPyBeginAllowThreads();
15000 result = (int)(arg1)->GetId();
15001
15002 wxPyEndAllowThreads(__tstate);
15003 if (PyErr_Occurred()) SWIG_fail;
15004 }
15005 resultobj = SWIG_FromInt((int)result);
15006 return resultobj;
15007 fail:
15008 return NULL;
15009 }
15010
15011
15012 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15013 PyObject *resultobj;
15014 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15015 wxControl *result;
15016 PyObject * obj0 = 0 ;
15017 char *kwnames[] = {
15018 (char *) "self", NULL
15019 };
15020
15021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
15022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15024 {
15025 PyThreadState* __tstate = wxPyBeginAllowThreads();
15026 result = (wxControl *)(arg1)->GetControl();
15027
15028 wxPyEndAllowThreads(__tstate);
15029 if (PyErr_Occurred()) SWIG_fail;
15030 }
15031 {
15032 resultobj = wxPyMake_wxObject(result);
15033 }
15034 return resultobj;
15035 fail:
15036 return NULL;
15037 }
15038
15039
15040 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15041 PyObject *resultobj;
15042 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15043 wxToolBarBase *result;
15044 PyObject * obj0 = 0 ;
15045 char *kwnames[] = {
15046 (char *) "self", NULL
15047 };
15048
15049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
15050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15052 {
15053 PyThreadState* __tstate = wxPyBeginAllowThreads();
15054 result = (wxToolBarBase *)(arg1)->GetToolBar();
15055
15056 wxPyEndAllowThreads(__tstate);
15057 if (PyErr_Occurred()) SWIG_fail;
15058 }
15059 {
15060 resultobj = wxPyMake_wxObject(result);
15061 }
15062 return resultobj;
15063 fail:
15064 return NULL;
15065 }
15066
15067
15068 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
15069 PyObject *resultobj;
15070 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15071 int result;
15072 PyObject * obj0 = 0 ;
15073 char *kwnames[] = {
15074 (char *) "self", NULL
15075 };
15076
15077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
15078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15080 {
15081 PyThreadState* __tstate = wxPyBeginAllowThreads();
15082 result = (int)(arg1)->IsButton();
15083
15084 wxPyEndAllowThreads(__tstate);
15085 if (PyErr_Occurred()) SWIG_fail;
15086 }
15087 resultobj = SWIG_FromInt((int)result);
15088 return resultobj;
15089 fail:
15090 return NULL;
15091 }
15092
15093
15094 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15095 PyObject *resultobj;
15096 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15097 int result;
15098 PyObject * obj0 = 0 ;
15099 char *kwnames[] = {
15100 (char *) "self", NULL
15101 };
15102
15103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
15104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15106 {
15107 PyThreadState* __tstate = wxPyBeginAllowThreads();
15108 result = (int)(arg1)->IsControl();
15109
15110 wxPyEndAllowThreads(__tstate);
15111 if (PyErr_Occurred()) SWIG_fail;
15112 }
15113 resultobj = SWIG_FromInt((int)result);
15114 return resultobj;
15115 fail:
15116 return NULL;
15117 }
15118
15119
15120 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
15121 PyObject *resultobj;
15122 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15123 int result;
15124 PyObject * obj0 = 0 ;
15125 char *kwnames[] = {
15126 (char *) "self", NULL
15127 };
15128
15129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
15130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15132 {
15133 PyThreadState* __tstate = wxPyBeginAllowThreads();
15134 result = (int)(arg1)->IsSeparator();
15135
15136 wxPyEndAllowThreads(__tstate);
15137 if (PyErr_Occurred()) SWIG_fail;
15138 }
15139 resultobj = SWIG_FromInt((int)result);
15140 return resultobj;
15141 fail:
15142 return NULL;
15143 }
15144
15145
15146 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15147 PyObject *resultobj;
15148 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15149 int result;
15150 PyObject * obj0 = 0 ;
15151 char *kwnames[] = {
15152 (char *) "self", NULL
15153 };
15154
15155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
15156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15158 {
15159 PyThreadState* __tstate = wxPyBeginAllowThreads();
15160 result = (int)(arg1)->GetStyle();
15161
15162 wxPyEndAllowThreads(__tstate);
15163 if (PyErr_Occurred()) SWIG_fail;
15164 }
15165 resultobj = SWIG_FromInt((int)result);
15166 return resultobj;
15167 fail:
15168 return NULL;
15169 }
15170
15171
15172 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
15173 PyObject *resultobj;
15174 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15175 int result;
15176 PyObject * obj0 = 0 ;
15177 char *kwnames[] = {
15178 (char *) "self", NULL
15179 };
15180
15181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
15182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15184 {
15185 PyThreadState* __tstate = wxPyBeginAllowThreads();
15186 result = (int)(arg1)->GetKind();
15187
15188 wxPyEndAllowThreads(__tstate);
15189 if (PyErr_Occurred()) SWIG_fail;
15190 }
15191 resultobj = SWIG_FromInt((int)result);
15192 return resultobj;
15193 fail:
15194 return NULL;
15195 }
15196
15197
15198 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15199 PyObject *resultobj;
15200 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15201 bool result;
15202 PyObject * obj0 = 0 ;
15203 char *kwnames[] = {
15204 (char *) "self", NULL
15205 };
15206
15207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
15208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15210 {
15211 PyThreadState* __tstate = wxPyBeginAllowThreads();
15212 result = (bool)(arg1)->IsEnabled();
15213
15214 wxPyEndAllowThreads(__tstate);
15215 if (PyErr_Occurred()) SWIG_fail;
15216 }
15217 {
15218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15219 }
15220 return resultobj;
15221 fail:
15222 return NULL;
15223 }
15224
15225
15226 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15227 PyObject *resultobj;
15228 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15229 bool result;
15230 PyObject * obj0 = 0 ;
15231 char *kwnames[] = {
15232 (char *) "self", NULL
15233 };
15234
15235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
15236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15238 {
15239 PyThreadState* __tstate = wxPyBeginAllowThreads();
15240 result = (bool)(arg1)->IsToggled();
15241
15242 wxPyEndAllowThreads(__tstate);
15243 if (PyErr_Occurred()) SWIG_fail;
15244 }
15245 {
15246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15247 }
15248 return resultobj;
15249 fail:
15250 return NULL;
15251 }
15252
15253
15254 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15255 PyObject *resultobj;
15256 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15257 bool result;
15258 PyObject * obj0 = 0 ;
15259 char *kwnames[] = {
15260 (char *) "self", NULL
15261 };
15262
15263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
15264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15266 {
15267 PyThreadState* __tstate = wxPyBeginAllowThreads();
15268 result = (bool)(arg1)->CanBeToggled();
15269
15270 wxPyEndAllowThreads(__tstate);
15271 if (PyErr_Occurred()) SWIG_fail;
15272 }
15273 {
15274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15275 }
15276 return resultobj;
15277 fail:
15278 return NULL;
15279 }
15280
15281
15282 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15283 PyObject *resultobj;
15284 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15285 wxBitmap *result;
15286 PyObject * obj0 = 0 ;
15287 char *kwnames[] = {
15288 (char *) "self", NULL
15289 };
15290
15291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
15292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15294 {
15295 PyThreadState* __tstate = wxPyBeginAllowThreads();
15296 {
15297 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
15298 result = (wxBitmap *) &_result_ref;
15299 }
15300
15301 wxPyEndAllowThreads(__tstate);
15302 if (PyErr_Occurred()) SWIG_fail;
15303 }
15304 {
15305 wxBitmap* resultptr = new wxBitmap(*result);
15306 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15307 }
15308 return resultobj;
15309 fail:
15310 return NULL;
15311 }
15312
15313
15314 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15315 PyObject *resultobj;
15316 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15317 wxBitmap *result;
15318 PyObject * obj0 = 0 ;
15319 char *kwnames[] = {
15320 (char *) "self", NULL
15321 };
15322
15323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
15324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15326 {
15327 PyThreadState* __tstate = wxPyBeginAllowThreads();
15328 {
15329 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
15330 result = (wxBitmap *) &_result_ref;
15331 }
15332
15333 wxPyEndAllowThreads(__tstate);
15334 if (PyErr_Occurred()) SWIG_fail;
15335 }
15336 {
15337 wxBitmap* resultptr = new wxBitmap(*result);
15338 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15339 }
15340 return resultobj;
15341 fail:
15342 return NULL;
15343 }
15344
15345
15346 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15347 PyObject *resultobj;
15348 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15349 wxBitmap result;
15350 PyObject * obj0 = 0 ;
15351 char *kwnames[] = {
15352 (char *) "self", NULL
15353 };
15354
15355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
15356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15358 {
15359 PyThreadState* __tstate = wxPyBeginAllowThreads();
15360 result = (arg1)->GetBitmap();
15361
15362 wxPyEndAllowThreads(__tstate);
15363 if (PyErr_Occurred()) SWIG_fail;
15364 }
15365 {
15366 wxBitmap * resultptr;
15367 resultptr = new wxBitmap((wxBitmap &) result);
15368 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15369 }
15370 return resultobj;
15371 fail:
15372 return NULL;
15373 }
15374
15375
15376 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15377 PyObject *resultobj;
15378 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15379 wxString result;
15380 PyObject * obj0 = 0 ;
15381 char *kwnames[] = {
15382 (char *) "self", NULL
15383 };
15384
15385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
15386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15388 {
15389 PyThreadState* __tstate = wxPyBeginAllowThreads();
15390 result = (arg1)->GetLabel();
15391
15392 wxPyEndAllowThreads(__tstate);
15393 if (PyErr_Occurred()) SWIG_fail;
15394 }
15395 {
15396 #if wxUSE_UNICODE
15397 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15398 #else
15399 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15400 #endif
15401 }
15402 return resultobj;
15403 fail:
15404 return NULL;
15405 }
15406
15407
15408 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15409 PyObject *resultobj;
15410 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15411 wxString result;
15412 PyObject * obj0 = 0 ;
15413 char *kwnames[] = {
15414 (char *) "self", NULL
15415 };
15416
15417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15420 {
15421 PyThreadState* __tstate = wxPyBeginAllowThreads();
15422 result = (arg1)->GetShortHelp();
15423
15424 wxPyEndAllowThreads(__tstate);
15425 if (PyErr_Occurred()) SWIG_fail;
15426 }
15427 {
15428 #if wxUSE_UNICODE
15429 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15430 #else
15431 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15432 #endif
15433 }
15434 return resultobj;
15435 fail:
15436 return NULL;
15437 }
15438
15439
15440 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15441 PyObject *resultobj;
15442 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15443 wxString result;
15444 PyObject * obj0 = 0 ;
15445 char *kwnames[] = {
15446 (char *) "self", NULL
15447 };
15448
15449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15452 {
15453 PyThreadState* __tstate = wxPyBeginAllowThreads();
15454 result = (arg1)->GetLongHelp();
15455
15456 wxPyEndAllowThreads(__tstate);
15457 if (PyErr_Occurred()) SWIG_fail;
15458 }
15459 {
15460 #if wxUSE_UNICODE
15461 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15462 #else
15463 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15464 #endif
15465 }
15466 return resultobj;
15467 fail:
15468 return NULL;
15469 }
15470
15471
15472 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
15473 PyObject *resultobj;
15474 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15475 bool arg2 ;
15476 bool result;
15477 PyObject * obj0 = 0 ;
15478 PyObject * obj1 = 0 ;
15479 char *kwnames[] = {
15480 (char *) "self",(char *) "enable", NULL
15481 };
15482
15483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15486 arg2 = (bool) SWIG_AsBool(obj1);
15487 if (PyErr_Occurred()) SWIG_fail;
15488 {
15489 PyThreadState* __tstate = wxPyBeginAllowThreads();
15490 result = (bool)(arg1)->Enable(arg2);
15491
15492 wxPyEndAllowThreads(__tstate);
15493 if (PyErr_Occurred()) SWIG_fail;
15494 }
15495 {
15496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15497 }
15498 return resultobj;
15499 fail:
15500 return NULL;
15501 }
15502
15503
15504 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15505 PyObject *resultobj;
15506 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15507 PyObject * obj0 = 0 ;
15508 char *kwnames[] = {
15509 (char *) "self", NULL
15510 };
15511
15512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
15513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15515 {
15516 PyThreadState* __tstate = wxPyBeginAllowThreads();
15517 (arg1)->Toggle();
15518
15519 wxPyEndAllowThreads(__tstate);
15520 if (PyErr_Occurred()) SWIG_fail;
15521 }
15522 Py_INCREF(Py_None); resultobj = Py_None;
15523 return resultobj;
15524 fail:
15525 return NULL;
15526 }
15527
15528
15529 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15530 PyObject *resultobj;
15531 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15532 bool arg2 ;
15533 bool result;
15534 PyObject * obj0 = 0 ;
15535 PyObject * obj1 = 0 ;
15536 char *kwnames[] = {
15537 (char *) "self",(char *) "toggle", NULL
15538 };
15539
15540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15543 arg2 = (bool) SWIG_AsBool(obj1);
15544 if (PyErr_Occurred()) SWIG_fail;
15545 {
15546 PyThreadState* __tstate = wxPyBeginAllowThreads();
15547 result = (bool)(arg1)->SetToggle(arg2);
15548
15549 wxPyEndAllowThreads(__tstate);
15550 if (PyErr_Occurred()) SWIG_fail;
15551 }
15552 {
15553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15554 }
15555 return resultobj;
15556 fail:
15557 return NULL;
15558 }
15559
15560
15561 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15562 PyObject *resultobj;
15563 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15564 wxString *arg2 = 0 ;
15565 bool result;
15566 bool temp2 = False ;
15567 PyObject * obj0 = 0 ;
15568 PyObject * obj1 = 0 ;
15569 char *kwnames[] = {
15570 (char *) "self",(char *) "help", NULL
15571 };
15572
15573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15576 {
15577 arg2 = wxString_in_helper(obj1);
15578 if (arg2 == NULL) SWIG_fail;
15579 temp2 = True;
15580 }
15581 {
15582 PyThreadState* __tstate = wxPyBeginAllowThreads();
15583 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15584
15585 wxPyEndAllowThreads(__tstate);
15586 if (PyErr_Occurred()) SWIG_fail;
15587 }
15588 {
15589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15590 }
15591 {
15592 if (temp2)
15593 delete arg2;
15594 }
15595 return resultobj;
15596 fail:
15597 {
15598 if (temp2)
15599 delete arg2;
15600 }
15601 return NULL;
15602 }
15603
15604
15605 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15606 PyObject *resultobj;
15607 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15608 wxString *arg2 = 0 ;
15609 bool result;
15610 bool temp2 = False ;
15611 PyObject * obj0 = 0 ;
15612 PyObject * obj1 = 0 ;
15613 char *kwnames[] = {
15614 (char *) "self",(char *) "help", NULL
15615 };
15616
15617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15620 {
15621 arg2 = wxString_in_helper(obj1);
15622 if (arg2 == NULL) SWIG_fail;
15623 temp2 = True;
15624 }
15625 {
15626 PyThreadState* __tstate = wxPyBeginAllowThreads();
15627 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15628
15629 wxPyEndAllowThreads(__tstate);
15630 if (PyErr_Occurred()) SWIG_fail;
15631 }
15632 {
15633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15634 }
15635 {
15636 if (temp2)
15637 delete arg2;
15638 }
15639 return resultobj;
15640 fail:
15641 {
15642 if (temp2)
15643 delete arg2;
15644 }
15645 return NULL;
15646 }
15647
15648
15649 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15650 PyObject *resultobj;
15651 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15652 wxBitmap *arg2 = 0 ;
15653 PyObject * obj0 = 0 ;
15654 PyObject * obj1 = 0 ;
15655 char *kwnames[] = {
15656 (char *) "self",(char *) "bmp", NULL
15657 };
15658
15659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15663 SWIG_POINTER_EXCEPTION | 0)) == -1)
15664 SWIG_fail;
15665 if (arg2 == NULL) {
15666 PyErr_SetString(PyExc_TypeError,"null reference");
15667 SWIG_fail;
15668 }
15669 {
15670 PyThreadState* __tstate = wxPyBeginAllowThreads();
15671 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15672
15673 wxPyEndAllowThreads(__tstate);
15674 if (PyErr_Occurred()) SWIG_fail;
15675 }
15676 Py_INCREF(Py_None); resultobj = Py_None;
15677 return resultobj;
15678 fail:
15679 return NULL;
15680 }
15681
15682
15683 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15684 PyObject *resultobj;
15685 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15686 wxBitmap *arg2 = 0 ;
15687 PyObject * obj0 = 0 ;
15688 PyObject * obj1 = 0 ;
15689 char *kwnames[] = {
15690 (char *) "self",(char *) "bmp", NULL
15691 };
15692
15693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15696 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15697 SWIG_POINTER_EXCEPTION | 0)) == -1)
15698 SWIG_fail;
15699 if (arg2 == NULL) {
15700 PyErr_SetString(PyExc_TypeError,"null reference");
15701 SWIG_fail;
15702 }
15703 {
15704 PyThreadState* __tstate = wxPyBeginAllowThreads();
15705 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15706
15707 wxPyEndAllowThreads(__tstate);
15708 if (PyErr_Occurred()) SWIG_fail;
15709 }
15710 Py_INCREF(Py_None); resultobj = Py_None;
15711 return resultobj;
15712 fail:
15713 return NULL;
15714 }
15715
15716
15717 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15718 PyObject *resultobj;
15719 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15720 wxString *arg2 = 0 ;
15721 bool temp2 = False ;
15722 PyObject * obj0 = 0 ;
15723 PyObject * obj1 = 0 ;
15724 char *kwnames[] = {
15725 (char *) "self",(char *) "label", NULL
15726 };
15727
15728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15731 {
15732 arg2 = wxString_in_helper(obj1);
15733 if (arg2 == NULL) SWIG_fail;
15734 temp2 = True;
15735 }
15736 {
15737 PyThreadState* __tstate = wxPyBeginAllowThreads();
15738 (arg1)->SetLabel((wxString const &)*arg2);
15739
15740 wxPyEndAllowThreads(__tstate);
15741 if (PyErr_Occurred()) SWIG_fail;
15742 }
15743 Py_INCREF(Py_None); resultobj = Py_None;
15744 {
15745 if (temp2)
15746 delete arg2;
15747 }
15748 return resultobj;
15749 fail:
15750 {
15751 if (temp2)
15752 delete arg2;
15753 }
15754 return NULL;
15755 }
15756
15757
15758 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
15759 PyObject *resultobj;
15760 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15761 PyObject * obj0 = 0 ;
15762 char *kwnames[] = {
15763 (char *) "self", NULL
15764 };
15765
15766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15769 {
15770 PyThreadState* __tstate = wxPyBeginAllowThreads();
15771 (arg1)->Detach();
15772
15773 wxPyEndAllowThreads(__tstate);
15774 if (PyErr_Occurred()) SWIG_fail;
15775 }
15776 Py_INCREF(Py_None); resultobj = Py_None;
15777 return resultobj;
15778 fail:
15779 return NULL;
15780 }
15781
15782
15783 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
15784 PyObject *resultobj;
15785 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15786 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15787 PyObject * obj0 = 0 ;
15788 PyObject * obj1 = 0 ;
15789 char *kwnames[] = {
15790 (char *) "self",(char *) "tbar", NULL
15791 };
15792
15793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15796 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
15797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15798 {
15799 PyThreadState* __tstate = wxPyBeginAllowThreads();
15800 (arg1)->Attach(arg2);
15801
15802 wxPyEndAllowThreads(__tstate);
15803 if (PyErr_Occurred()) SWIG_fail;
15804 }
15805 Py_INCREF(Py_None); resultobj = Py_None;
15806 return resultobj;
15807 fail:
15808 return NULL;
15809 }
15810
15811
15812 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15813 PyObject *resultobj;
15814 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15815 PyObject *result;
15816 PyObject * obj0 = 0 ;
15817 char *kwnames[] = {
15818 (char *) "self", NULL
15819 };
15820
15821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15824 {
15825 PyThreadState* __tstate = wxPyBeginAllowThreads();
15826 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15827
15828 wxPyEndAllowThreads(__tstate);
15829 if (PyErr_Occurred()) SWIG_fail;
15830 }
15831 resultobj = result;
15832 return resultobj;
15833 fail:
15834 return NULL;
15835 }
15836
15837
15838 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15839 PyObject *resultobj;
15840 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15841 PyObject *arg2 = (PyObject *) 0 ;
15842 PyObject * obj0 = 0 ;
15843 PyObject * obj1 = 0 ;
15844 char *kwnames[] = {
15845 (char *) "self",(char *) "clientData", NULL
15846 };
15847
15848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15851 arg2 = obj1;
15852 {
15853 PyThreadState* __tstate = wxPyBeginAllowThreads();
15854 wxToolBarToolBase_SetClientData(arg1,arg2);
15855
15856 wxPyEndAllowThreads(__tstate);
15857 if (PyErr_Occurred()) SWIG_fail;
15858 }
15859 Py_INCREF(Py_None); resultobj = Py_None;
15860 return resultobj;
15861 fail:
15862 return NULL;
15863 }
15864
15865
15866 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
15867 PyObject *obj;
15868 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15869 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15870 Py_INCREF(obj);
15871 return Py_BuildValue((char *)"");
15872 }
15873 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15874 PyObject *resultobj;
15875 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15876 int arg2 ;
15877 wxString *arg3 = 0 ;
15878 wxBitmap *arg4 = 0 ;
15879 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15880 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15881 int arg6 = (int) wxITEM_NORMAL ;
15882 wxString const &arg7_defvalue = wxPyEmptyString ;
15883 wxString *arg7 = (wxString *) &arg7_defvalue ;
15884 wxString const &arg8_defvalue = wxPyEmptyString ;
15885 wxString *arg8 = (wxString *) &arg8_defvalue ;
15886 PyObject *arg9 = (PyObject *) NULL ;
15887 wxToolBarToolBase *result;
15888 bool temp3 = False ;
15889 bool temp7 = False ;
15890 bool temp8 = False ;
15891 PyObject * obj0 = 0 ;
15892 PyObject * obj1 = 0 ;
15893 PyObject * obj2 = 0 ;
15894 PyObject * obj3 = 0 ;
15895 PyObject * obj4 = 0 ;
15896 PyObject * obj5 = 0 ;
15897 PyObject * obj6 = 0 ;
15898 PyObject * obj7 = 0 ;
15899 PyObject * obj8 = 0 ;
15900 char *kwnames[] = {
15901 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15902 };
15903
15904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15907 arg2 = (int) SWIG_AsInt(obj1);
15908 if (PyErr_Occurred()) SWIG_fail;
15909 {
15910 arg3 = wxString_in_helper(obj2);
15911 if (arg3 == NULL) SWIG_fail;
15912 temp3 = True;
15913 }
15914 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
15915 SWIG_POINTER_EXCEPTION | 0)) == -1)
15916 SWIG_fail;
15917 if (arg4 == NULL) {
15918 PyErr_SetString(PyExc_TypeError,"null reference");
15919 SWIG_fail;
15920 }
15921 if (obj4) {
15922 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
15923 SWIG_POINTER_EXCEPTION | 0)) == -1)
15924 SWIG_fail;
15925 if (arg5 == NULL) {
15926 PyErr_SetString(PyExc_TypeError,"null reference");
15927 SWIG_fail;
15928 }
15929 }
15930 if (obj5) {
15931 arg6 = (wxItemKind) SWIG_AsInt(obj5);
15932 if (PyErr_Occurred()) SWIG_fail;
15933 }
15934 if (obj6) {
15935 {
15936 arg7 = wxString_in_helper(obj6);
15937 if (arg7 == NULL) SWIG_fail;
15938 temp7 = True;
15939 }
15940 }
15941 if (obj7) {
15942 {
15943 arg8 = wxString_in_helper(obj7);
15944 if (arg8 == NULL) SWIG_fail;
15945 temp8 = True;
15946 }
15947 }
15948 if (obj8) {
15949 arg9 = obj8;
15950 }
15951 {
15952 PyThreadState* __tstate = wxPyBeginAllowThreads();
15953 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
15954
15955 wxPyEndAllowThreads(__tstate);
15956 if (PyErr_Occurred()) SWIG_fail;
15957 }
15958 {
15959 resultobj = wxPyMake_wxObject(result);
15960 }
15961 {
15962 if (temp3)
15963 delete arg3;
15964 }
15965 {
15966 if (temp7)
15967 delete arg7;
15968 }
15969 {
15970 if (temp8)
15971 delete arg8;
15972 }
15973 return resultobj;
15974 fail:
15975 {
15976 if (temp3)
15977 delete arg3;
15978 }
15979 {
15980 if (temp7)
15981 delete arg7;
15982 }
15983 {
15984 if (temp8)
15985 delete arg8;
15986 }
15987 return NULL;
15988 }
15989
15990
15991 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15992 PyObject *resultobj;
15993 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15994 size_t arg2 ;
15995 int arg3 ;
15996 wxString *arg4 = 0 ;
15997 wxBitmap *arg5 = 0 ;
15998 wxBitmap const &arg6_defvalue = wxNullBitmap ;
15999 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
16000 int arg7 = (int) wxITEM_NORMAL ;
16001 wxString const &arg8_defvalue = wxPyEmptyString ;
16002 wxString *arg8 = (wxString *) &arg8_defvalue ;
16003 wxString const &arg9_defvalue = wxPyEmptyString ;
16004 wxString *arg9 = (wxString *) &arg9_defvalue ;
16005 PyObject *arg10 = (PyObject *) NULL ;
16006 wxToolBarToolBase *result;
16007 bool temp4 = False ;
16008 bool temp8 = False ;
16009 bool temp9 = False ;
16010 PyObject * obj0 = 0 ;
16011 PyObject * obj1 = 0 ;
16012 PyObject * obj2 = 0 ;
16013 PyObject * obj3 = 0 ;
16014 PyObject * obj4 = 0 ;
16015 PyObject * obj5 = 0 ;
16016 PyObject * obj6 = 0 ;
16017 PyObject * obj7 = 0 ;
16018 PyObject * obj8 = 0 ;
16019 PyObject * obj9 = 0 ;
16020 char *kwnames[] = {
16021 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16022 };
16023
16024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
16025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16027 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16028 if (PyErr_Occurred()) SWIG_fail;
16029 arg3 = (int) SWIG_AsInt(obj2);
16030 if (PyErr_Occurred()) SWIG_fail;
16031 {
16032 arg4 = wxString_in_helper(obj3);
16033 if (arg4 == NULL) SWIG_fail;
16034 temp4 = True;
16035 }
16036 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16037 SWIG_POINTER_EXCEPTION | 0)) == -1)
16038 SWIG_fail;
16039 if (arg5 == NULL) {
16040 PyErr_SetString(PyExc_TypeError,"null reference");
16041 SWIG_fail;
16042 }
16043 if (obj5) {
16044 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
16045 SWIG_POINTER_EXCEPTION | 0)) == -1)
16046 SWIG_fail;
16047 if (arg6 == NULL) {
16048 PyErr_SetString(PyExc_TypeError,"null reference");
16049 SWIG_fail;
16050 }
16051 }
16052 if (obj6) {
16053 arg7 = (wxItemKind) SWIG_AsInt(obj6);
16054 if (PyErr_Occurred()) SWIG_fail;
16055 }
16056 if (obj7) {
16057 {
16058 arg8 = wxString_in_helper(obj7);
16059 if (arg8 == NULL) SWIG_fail;
16060 temp8 = True;
16061 }
16062 }
16063 if (obj8) {
16064 {
16065 arg9 = wxString_in_helper(obj8);
16066 if (arg9 == NULL) SWIG_fail;
16067 temp9 = True;
16068 }
16069 }
16070 if (obj9) {
16071 arg10 = obj9;
16072 }
16073 {
16074 PyThreadState* __tstate = wxPyBeginAllowThreads();
16075 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);
16076
16077 wxPyEndAllowThreads(__tstate);
16078 if (PyErr_Occurred()) SWIG_fail;
16079 }
16080 {
16081 resultobj = wxPyMake_wxObject(result);
16082 }
16083 {
16084 if (temp4)
16085 delete arg4;
16086 }
16087 {
16088 if (temp8)
16089 delete arg8;
16090 }
16091 {
16092 if (temp9)
16093 delete arg9;
16094 }
16095 return resultobj;
16096 fail:
16097 {
16098 if (temp4)
16099 delete arg4;
16100 }
16101 {
16102 if (temp8)
16103 delete arg8;
16104 }
16105 {
16106 if (temp9)
16107 delete arg9;
16108 }
16109 return NULL;
16110 }
16111
16112
16113 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16114 PyObject *resultobj;
16115 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16116 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
16117 wxToolBarToolBase *result;
16118 PyObject * obj0 = 0 ;
16119 PyObject * obj1 = 0 ;
16120 char *kwnames[] = {
16121 (char *) "self",(char *) "tool", NULL
16122 };
16123
16124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
16125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16127 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
16128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16129 {
16130 PyThreadState* __tstate = wxPyBeginAllowThreads();
16131 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
16132
16133 wxPyEndAllowThreads(__tstate);
16134 if (PyErr_Occurred()) SWIG_fail;
16135 }
16136 {
16137 resultobj = wxPyMake_wxObject(result);
16138 }
16139 return resultobj;
16140 fail:
16141 return NULL;
16142 }
16143
16144
16145 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16146 PyObject *resultobj;
16147 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16148 size_t arg2 ;
16149 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
16150 wxToolBarToolBase *result;
16151 PyObject * obj0 = 0 ;
16152 PyObject * obj1 = 0 ;
16153 PyObject * obj2 = 0 ;
16154 char *kwnames[] = {
16155 (char *) "self",(char *) "pos",(char *) "tool", NULL
16156 };
16157
16158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
16159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16161 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16162 if (PyErr_Occurred()) SWIG_fail;
16163 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
16164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16165 {
16166 PyThreadState* __tstate = wxPyBeginAllowThreads();
16167 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
16168
16169 wxPyEndAllowThreads(__tstate);
16170 if (PyErr_Occurred()) SWIG_fail;
16171 }
16172 {
16173 resultobj = wxPyMake_wxObject(result);
16174 }
16175 return resultobj;
16176 fail:
16177 return NULL;
16178 }
16179
16180
16181 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16182 PyObject *resultobj;
16183 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16184 wxControl *arg2 = (wxControl *) 0 ;
16185 wxToolBarToolBase *result;
16186 PyObject * obj0 = 0 ;
16187 PyObject * obj1 = 0 ;
16188 char *kwnames[] = {
16189 (char *) "self",(char *) "control", NULL
16190 };
16191
16192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
16193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16195 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
16196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16197 {
16198 PyThreadState* __tstate = wxPyBeginAllowThreads();
16199 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
16200
16201 wxPyEndAllowThreads(__tstate);
16202 if (PyErr_Occurred()) SWIG_fail;
16203 }
16204 {
16205 resultobj = wxPyMake_wxObject(result);
16206 }
16207 return resultobj;
16208 fail:
16209 return NULL;
16210 }
16211
16212
16213 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16214 PyObject *resultobj;
16215 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16216 size_t arg2 ;
16217 wxControl *arg3 = (wxControl *) 0 ;
16218 wxToolBarToolBase *result;
16219 PyObject * obj0 = 0 ;
16220 PyObject * obj1 = 0 ;
16221 PyObject * obj2 = 0 ;
16222 char *kwnames[] = {
16223 (char *) "self",(char *) "pos",(char *) "control", NULL
16224 };
16225
16226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
16227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16229 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16230 if (PyErr_Occurred()) SWIG_fail;
16231 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
16232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16233 {
16234 PyThreadState* __tstate = wxPyBeginAllowThreads();
16235 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
16236
16237 wxPyEndAllowThreads(__tstate);
16238 if (PyErr_Occurred()) SWIG_fail;
16239 }
16240 {
16241 resultobj = wxPyMake_wxObject(result);
16242 }
16243 return resultobj;
16244 fail:
16245 return NULL;
16246 }
16247
16248
16249 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16250 PyObject *resultobj;
16251 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16252 int arg2 ;
16253 wxControl *result;
16254 PyObject * obj0 = 0 ;
16255 PyObject * obj1 = 0 ;
16256 char *kwnames[] = {
16257 (char *) "self",(char *) "id", NULL
16258 };
16259
16260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
16261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16263 arg2 = (int) SWIG_AsInt(obj1);
16264 if (PyErr_Occurred()) SWIG_fail;
16265 {
16266 PyThreadState* __tstate = wxPyBeginAllowThreads();
16267 result = (wxControl *)(arg1)->FindControl(arg2);
16268
16269 wxPyEndAllowThreads(__tstate);
16270 if (PyErr_Occurred()) SWIG_fail;
16271 }
16272 {
16273 resultobj = wxPyMake_wxObject(result);
16274 }
16275 return resultobj;
16276 fail:
16277 return NULL;
16278 }
16279
16280
16281 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16282 PyObject *resultobj;
16283 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16284 wxToolBarToolBase *result;
16285 PyObject * obj0 = 0 ;
16286 char *kwnames[] = {
16287 (char *) "self", NULL
16288 };
16289
16290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
16291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16293 {
16294 PyThreadState* __tstate = wxPyBeginAllowThreads();
16295 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
16296
16297 wxPyEndAllowThreads(__tstate);
16298 if (PyErr_Occurred()) SWIG_fail;
16299 }
16300 {
16301 resultobj = wxPyMake_wxObject(result);
16302 }
16303 return resultobj;
16304 fail:
16305 return NULL;
16306 }
16307
16308
16309 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16310 PyObject *resultobj;
16311 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16312 size_t arg2 ;
16313 wxToolBarToolBase *result;
16314 PyObject * obj0 = 0 ;
16315 PyObject * obj1 = 0 ;
16316 char *kwnames[] = {
16317 (char *) "self",(char *) "pos", NULL
16318 };
16319
16320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
16321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16323 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16324 if (PyErr_Occurred()) SWIG_fail;
16325 {
16326 PyThreadState* __tstate = wxPyBeginAllowThreads();
16327 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
16328
16329 wxPyEndAllowThreads(__tstate);
16330 if (PyErr_Occurred()) SWIG_fail;
16331 }
16332 {
16333 resultobj = wxPyMake_wxObject(result);
16334 }
16335 return resultobj;
16336 fail:
16337 return NULL;
16338 }
16339
16340
16341 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16342 PyObject *resultobj;
16343 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16344 int arg2 ;
16345 wxToolBarToolBase *result;
16346 PyObject * obj0 = 0 ;
16347 PyObject * obj1 = 0 ;
16348 char *kwnames[] = {
16349 (char *) "self",(char *) "id", NULL
16350 };
16351
16352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
16353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16355 arg2 = (int) SWIG_AsInt(obj1);
16356 if (PyErr_Occurred()) SWIG_fail;
16357 {
16358 PyThreadState* __tstate = wxPyBeginAllowThreads();
16359 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
16360
16361 wxPyEndAllowThreads(__tstate);
16362 if (PyErr_Occurred()) SWIG_fail;
16363 }
16364 {
16365 resultobj = wxPyMake_wxObject(result);
16366 }
16367 return resultobj;
16368 fail:
16369 return NULL;
16370 }
16371
16372
16373 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16374 PyObject *resultobj;
16375 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16376 size_t arg2 ;
16377 bool result;
16378 PyObject * obj0 = 0 ;
16379 PyObject * obj1 = 0 ;
16380 char *kwnames[] = {
16381 (char *) "self",(char *) "pos", NULL
16382 };
16383
16384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
16385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16387 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16388 if (PyErr_Occurred()) SWIG_fail;
16389 {
16390 PyThreadState* __tstate = wxPyBeginAllowThreads();
16391 result = (bool)(arg1)->DeleteToolByPos(arg2);
16392
16393 wxPyEndAllowThreads(__tstate);
16394 if (PyErr_Occurred()) SWIG_fail;
16395 }
16396 {
16397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16398 }
16399 return resultobj;
16400 fail:
16401 return NULL;
16402 }
16403
16404
16405 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16406 PyObject *resultobj;
16407 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16408 int arg2 ;
16409 bool result;
16410 PyObject * obj0 = 0 ;
16411 PyObject * obj1 = 0 ;
16412 char *kwnames[] = {
16413 (char *) "self",(char *) "id", NULL
16414 };
16415
16416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
16417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16419 arg2 = (int) SWIG_AsInt(obj1);
16420 if (PyErr_Occurred()) SWIG_fail;
16421 {
16422 PyThreadState* __tstate = wxPyBeginAllowThreads();
16423 result = (bool)(arg1)->DeleteTool(arg2);
16424
16425 wxPyEndAllowThreads(__tstate);
16426 if (PyErr_Occurred()) SWIG_fail;
16427 }
16428 {
16429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16430 }
16431 return resultobj;
16432 fail:
16433 return NULL;
16434 }
16435
16436
16437 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
16438 PyObject *resultobj;
16439 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16440 PyObject * obj0 = 0 ;
16441 char *kwnames[] = {
16442 (char *) "self", NULL
16443 };
16444
16445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
16446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16448 {
16449 PyThreadState* __tstate = wxPyBeginAllowThreads();
16450 (arg1)->ClearTools();
16451
16452 wxPyEndAllowThreads(__tstate);
16453 if (PyErr_Occurred()) SWIG_fail;
16454 }
16455 Py_INCREF(Py_None); resultobj = Py_None;
16456 return resultobj;
16457 fail:
16458 return NULL;
16459 }
16460
16461
16462 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
16463 PyObject *resultobj;
16464 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16465 bool result;
16466 PyObject * obj0 = 0 ;
16467 char *kwnames[] = {
16468 (char *) "self", NULL
16469 };
16470
16471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
16472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16474 {
16475 PyThreadState* __tstate = wxPyBeginAllowThreads();
16476 result = (bool)(arg1)->Realize();
16477
16478 wxPyEndAllowThreads(__tstate);
16479 if (PyErr_Occurred()) SWIG_fail;
16480 }
16481 {
16482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16483 }
16484 return resultobj;
16485 fail:
16486 return NULL;
16487 }
16488
16489
16490 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16491 PyObject *resultobj;
16492 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16493 int arg2 ;
16494 bool arg3 ;
16495 PyObject * obj0 = 0 ;
16496 PyObject * obj1 = 0 ;
16497 PyObject * obj2 = 0 ;
16498 char *kwnames[] = {
16499 (char *) "self",(char *) "id",(char *) "enable", NULL
16500 };
16501
16502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16505 arg2 = (int) SWIG_AsInt(obj1);
16506 if (PyErr_Occurred()) SWIG_fail;
16507 arg3 = (bool) SWIG_AsBool(obj2);
16508 if (PyErr_Occurred()) SWIG_fail;
16509 {
16510 PyThreadState* __tstate = wxPyBeginAllowThreads();
16511 (arg1)->EnableTool(arg2,arg3);
16512
16513 wxPyEndAllowThreads(__tstate);
16514 if (PyErr_Occurred()) SWIG_fail;
16515 }
16516 Py_INCREF(Py_None); resultobj = Py_None;
16517 return resultobj;
16518 fail:
16519 return NULL;
16520 }
16521
16522
16523 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16524 PyObject *resultobj;
16525 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16526 int arg2 ;
16527 bool arg3 ;
16528 PyObject * obj0 = 0 ;
16529 PyObject * obj1 = 0 ;
16530 PyObject * obj2 = 0 ;
16531 char *kwnames[] = {
16532 (char *) "self",(char *) "id",(char *) "toggle", NULL
16533 };
16534
16535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16538 arg2 = (int) SWIG_AsInt(obj1);
16539 if (PyErr_Occurred()) SWIG_fail;
16540 arg3 = (bool) SWIG_AsBool(obj2);
16541 if (PyErr_Occurred()) SWIG_fail;
16542 {
16543 PyThreadState* __tstate = wxPyBeginAllowThreads();
16544 (arg1)->ToggleTool(arg2,arg3);
16545
16546 wxPyEndAllowThreads(__tstate);
16547 if (PyErr_Occurred()) SWIG_fail;
16548 }
16549 Py_INCREF(Py_None); resultobj = Py_None;
16550 return resultobj;
16551 fail:
16552 return NULL;
16553 }
16554
16555
16556 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16557 PyObject *resultobj;
16558 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16559 int arg2 ;
16560 bool arg3 ;
16561 PyObject * obj0 = 0 ;
16562 PyObject * obj1 = 0 ;
16563 PyObject * obj2 = 0 ;
16564 char *kwnames[] = {
16565 (char *) "self",(char *) "id",(char *) "toggle", NULL
16566 };
16567
16568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
16569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16571 arg2 = (int) SWIG_AsInt(obj1);
16572 if (PyErr_Occurred()) SWIG_fail;
16573 arg3 = (bool) SWIG_AsBool(obj2);
16574 if (PyErr_Occurred()) SWIG_fail;
16575 {
16576 PyThreadState* __tstate = wxPyBeginAllowThreads();
16577 (arg1)->SetToggle(arg2,arg3);
16578
16579 wxPyEndAllowThreads(__tstate);
16580 if (PyErr_Occurred()) SWIG_fail;
16581 }
16582 Py_INCREF(Py_None); resultobj = Py_None;
16583 return resultobj;
16584 fail:
16585 return NULL;
16586 }
16587
16588
16589 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16590 PyObject *resultobj;
16591 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16592 int arg2 ;
16593 PyObject *result;
16594 PyObject * obj0 = 0 ;
16595 PyObject * obj1 = 0 ;
16596 char *kwnames[] = {
16597 (char *) "self",(char *) "id", NULL
16598 };
16599
16600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
16601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16603 arg2 = (int) SWIG_AsInt(obj1);
16604 if (PyErr_Occurred()) SWIG_fail;
16605 {
16606 PyThreadState* __tstate = wxPyBeginAllowThreads();
16607 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16608
16609 wxPyEndAllowThreads(__tstate);
16610 if (PyErr_Occurred()) SWIG_fail;
16611 }
16612 resultobj = result;
16613 return resultobj;
16614 fail:
16615 return NULL;
16616 }
16617
16618
16619 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16620 PyObject *resultobj;
16621 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16622 int arg2 ;
16623 PyObject *arg3 = (PyObject *) 0 ;
16624 PyObject * obj0 = 0 ;
16625 PyObject * obj1 = 0 ;
16626 PyObject * obj2 = 0 ;
16627 char *kwnames[] = {
16628 (char *) "self",(char *) "id",(char *) "clientData", NULL
16629 };
16630
16631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
16632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16634 arg2 = (int) SWIG_AsInt(obj1);
16635 if (PyErr_Occurred()) SWIG_fail;
16636 arg3 = obj2;
16637 {
16638 PyThreadState* __tstate = wxPyBeginAllowThreads();
16639 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16640
16641 wxPyEndAllowThreads(__tstate);
16642 if (PyErr_Occurred()) SWIG_fail;
16643 }
16644 Py_INCREF(Py_None); resultobj = Py_None;
16645 return resultobj;
16646 fail:
16647 return NULL;
16648 }
16649
16650
16651 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16652 PyObject *resultobj;
16653 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16654 int arg2 ;
16655 int result;
16656 PyObject * obj0 = 0 ;
16657 PyObject * obj1 = 0 ;
16658 char *kwnames[] = {
16659 (char *) "self",(char *) "id", NULL
16660 };
16661
16662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
16663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16665 arg2 = (int) SWIG_AsInt(obj1);
16666 if (PyErr_Occurred()) SWIG_fail;
16667 {
16668 PyThreadState* __tstate = wxPyBeginAllowThreads();
16669 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16670
16671 wxPyEndAllowThreads(__tstate);
16672 if (PyErr_Occurred()) SWIG_fail;
16673 }
16674 resultobj = SWIG_FromInt((int)result);
16675 return resultobj;
16676 fail:
16677 return NULL;
16678 }
16679
16680
16681 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
16682 PyObject *resultobj;
16683 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16684 int arg2 ;
16685 bool result;
16686 PyObject * obj0 = 0 ;
16687 PyObject * obj1 = 0 ;
16688 char *kwnames[] = {
16689 (char *) "self",(char *) "id", NULL
16690 };
16691
16692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
16693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16695 arg2 = (int) SWIG_AsInt(obj1);
16696 if (PyErr_Occurred()) SWIG_fail;
16697 {
16698 PyThreadState* __tstate = wxPyBeginAllowThreads();
16699 result = (bool)(arg1)->GetToolState(arg2);
16700
16701 wxPyEndAllowThreads(__tstate);
16702 if (PyErr_Occurred()) SWIG_fail;
16703 }
16704 {
16705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16706 }
16707 return resultobj;
16708 fail:
16709 return NULL;
16710 }
16711
16712
16713 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16714 PyObject *resultobj;
16715 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16716 int arg2 ;
16717 bool result;
16718 PyObject * obj0 = 0 ;
16719 PyObject * obj1 = 0 ;
16720 char *kwnames[] = {
16721 (char *) "self",(char *) "id", NULL
16722 };
16723
16724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
16725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16727 arg2 = (int) SWIG_AsInt(obj1);
16728 if (PyErr_Occurred()) SWIG_fail;
16729 {
16730 PyThreadState* __tstate = wxPyBeginAllowThreads();
16731 result = (bool)(arg1)->GetToolEnabled(arg2);
16732
16733 wxPyEndAllowThreads(__tstate);
16734 if (PyErr_Occurred()) SWIG_fail;
16735 }
16736 {
16737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16738 }
16739 return resultobj;
16740 fail:
16741 return NULL;
16742 }
16743
16744
16745 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16746 PyObject *resultobj;
16747 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16748 int arg2 ;
16749 wxString *arg3 = 0 ;
16750 bool temp3 = False ;
16751 PyObject * obj0 = 0 ;
16752 PyObject * obj1 = 0 ;
16753 PyObject * obj2 = 0 ;
16754 char *kwnames[] = {
16755 (char *) "self",(char *) "id",(char *) "helpString", NULL
16756 };
16757
16758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16761 arg2 = (int) SWIG_AsInt(obj1);
16762 if (PyErr_Occurred()) SWIG_fail;
16763 {
16764 arg3 = wxString_in_helper(obj2);
16765 if (arg3 == NULL) SWIG_fail;
16766 temp3 = True;
16767 }
16768 {
16769 PyThreadState* __tstate = wxPyBeginAllowThreads();
16770 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16771
16772 wxPyEndAllowThreads(__tstate);
16773 if (PyErr_Occurred()) SWIG_fail;
16774 }
16775 Py_INCREF(Py_None); resultobj = Py_None;
16776 {
16777 if (temp3)
16778 delete arg3;
16779 }
16780 return resultobj;
16781 fail:
16782 {
16783 if (temp3)
16784 delete arg3;
16785 }
16786 return NULL;
16787 }
16788
16789
16790 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16791 PyObject *resultobj;
16792 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16793 int arg2 ;
16794 wxString result;
16795 PyObject * obj0 = 0 ;
16796 PyObject * obj1 = 0 ;
16797 char *kwnames[] = {
16798 (char *) "self",(char *) "id", NULL
16799 };
16800
16801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
16802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16804 arg2 = (int) SWIG_AsInt(obj1);
16805 if (PyErr_Occurred()) SWIG_fail;
16806 {
16807 PyThreadState* __tstate = wxPyBeginAllowThreads();
16808 result = (arg1)->GetToolShortHelp(arg2);
16809
16810 wxPyEndAllowThreads(__tstate);
16811 if (PyErr_Occurred()) SWIG_fail;
16812 }
16813 {
16814 #if wxUSE_UNICODE
16815 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16816 #else
16817 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16818 #endif
16819 }
16820 return resultobj;
16821 fail:
16822 return NULL;
16823 }
16824
16825
16826 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16827 PyObject *resultobj;
16828 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16829 int arg2 ;
16830 wxString *arg3 = 0 ;
16831 bool temp3 = False ;
16832 PyObject * obj0 = 0 ;
16833 PyObject * obj1 = 0 ;
16834 PyObject * obj2 = 0 ;
16835 char *kwnames[] = {
16836 (char *) "self",(char *) "id",(char *) "helpString", NULL
16837 };
16838
16839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16842 arg2 = (int) SWIG_AsInt(obj1);
16843 if (PyErr_Occurred()) SWIG_fail;
16844 {
16845 arg3 = wxString_in_helper(obj2);
16846 if (arg3 == NULL) SWIG_fail;
16847 temp3 = True;
16848 }
16849 {
16850 PyThreadState* __tstate = wxPyBeginAllowThreads();
16851 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16852
16853 wxPyEndAllowThreads(__tstate);
16854 if (PyErr_Occurred()) SWIG_fail;
16855 }
16856 Py_INCREF(Py_None); resultobj = Py_None;
16857 {
16858 if (temp3)
16859 delete arg3;
16860 }
16861 return resultobj;
16862 fail:
16863 {
16864 if (temp3)
16865 delete arg3;
16866 }
16867 return NULL;
16868 }
16869
16870
16871 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16872 PyObject *resultobj;
16873 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16874 int arg2 ;
16875 wxString result;
16876 PyObject * obj0 = 0 ;
16877 PyObject * obj1 = 0 ;
16878 char *kwnames[] = {
16879 (char *) "self",(char *) "id", NULL
16880 };
16881
16882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
16883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16885 arg2 = (int) SWIG_AsInt(obj1);
16886 if (PyErr_Occurred()) SWIG_fail;
16887 {
16888 PyThreadState* __tstate = wxPyBeginAllowThreads();
16889 result = (arg1)->GetToolLongHelp(arg2);
16890
16891 wxPyEndAllowThreads(__tstate);
16892 if (PyErr_Occurred()) SWIG_fail;
16893 }
16894 {
16895 #if wxUSE_UNICODE
16896 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16897 #else
16898 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16899 #endif
16900 }
16901 return resultobj;
16902 fail:
16903 return NULL;
16904 }
16905
16906
16907 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
16908 PyObject *resultobj;
16909 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16910 int arg2 ;
16911 int arg3 ;
16912 PyObject * obj0 = 0 ;
16913 PyObject * obj1 = 0 ;
16914 PyObject * obj2 = 0 ;
16915 char *kwnames[] = {
16916 (char *) "self",(char *) "x",(char *) "y", NULL
16917 };
16918
16919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
16920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16922 arg2 = (int) SWIG_AsInt(obj1);
16923 if (PyErr_Occurred()) SWIG_fail;
16924 arg3 = (int) SWIG_AsInt(obj2);
16925 if (PyErr_Occurred()) SWIG_fail;
16926 {
16927 PyThreadState* __tstate = wxPyBeginAllowThreads();
16928 (arg1)->SetMargins(arg2,arg3);
16929
16930 wxPyEndAllowThreads(__tstate);
16931 if (PyErr_Occurred()) SWIG_fail;
16932 }
16933 Py_INCREF(Py_None); resultobj = Py_None;
16934 return resultobj;
16935 fail:
16936 return NULL;
16937 }
16938
16939
16940 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16941 PyObject *resultobj;
16942 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16943 wxSize *arg2 = 0 ;
16944 wxSize temp2 ;
16945 PyObject * obj0 = 0 ;
16946 PyObject * obj1 = 0 ;
16947 char *kwnames[] = {
16948 (char *) "self",(char *) "size", NULL
16949 };
16950
16951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
16952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16954 {
16955 arg2 = &temp2;
16956 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16957 }
16958 {
16959 PyThreadState* __tstate = wxPyBeginAllowThreads();
16960 (arg1)->SetMargins((wxSize const &)*arg2);
16961
16962 wxPyEndAllowThreads(__tstate);
16963 if (PyErr_Occurred()) SWIG_fail;
16964 }
16965 Py_INCREF(Py_None); resultobj = Py_None;
16966 return resultobj;
16967 fail:
16968 return NULL;
16969 }
16970
16971
16972 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16973 PyObject *resultobj;
16974 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16975 int arg2 ;
16976 PyObject * obj0 = 0 ;
16977 PyObject * obj1 = 0 ;
16978 char *kwnames[] = {
16979 (char *) "self",(char *) "packing", NULL
16980 };
16981
16982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
16983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16985 arg2 = (int) SWIG_AsInt(obj1);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 {
16988 PyThreadState* __tstate = wxPyBeginAllowThreads();
16989 (arg1)->SetToolPacking(arg2);
16990
16991 wxPyEndAllowThreads(__tstate);
16992 if (PyErr_Occurred()) SWIG_fail;
16993 }
16994 Py_INCREF(Py_None); resultobj = Py_None;
16995 return resultobj;
16996 fail:
16997 return NULL;
16998 }
16999
17000
17001 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17002 PyObject *resultobj;
17003 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17004 int arg2 ;
17005 PyObject * obj0 = 0 ;
17006 PyObject * obj1 = 0 ;
17007 char *kwnames[] = {
17008 (char *) "self",(char *) "separation", NULL
17009 };
17010
17011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
17012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17014 arg2 = (int) SWIG_AsInt(obj1);
17015 if (PyErr_Occurred()) SWIG_fail;
17016 {
17017 PyThreadState* __tstate = wxPyBeginAllowThreads();
17018 (arg1)->SetToolSeparation(arg2);
17019
17020 wxPyEndAllowThreads(__tstate);
17021 if (PyErr_Occurred()) SWIG_fail;
17022 }
17023 Py_INCREF(Py_None); resultobj = Py_None;
17024 return resultobj;
17025 fail:
17026 return NULL;
17027 }
17028
17029
17030 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17031 PyObject *resultobj;
17032 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17033 wxSize result;
17034 PyObject * obj0 = 0 ;
17035 char *kwnames[] = {
17036 (char *) "self", NULL
17037 };
17038
17039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
17040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17042 {
17043 PyThreadState* __tstate = wxPyBeginAllowThreads();
17044 result = (arg1)->GetToolMargins();
17045
17046 wxPyEndAllowThreads(__tstate);
17047 if (PyErr_Occurred()) SWIG_fail;
17048 }
17049 {
17050 wxSize * resultptr;
17051 resultptr = new wxSize((wxSize &) result);
17052 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17053 }
17054 return resultobj;
17055 fail:
17056 return NULL;
17057 }
17058
17059
17060 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17061 PyObject *resultobj;
17062 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17063 wxSize result;
17064 PyObject * obj0 = 0 ;
17065 char *kwnames[] = {
17066 (char *) "self", NULL
17067 };
17068
17069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
17070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17072 {
17073 PyThreadState* __tstate = wxPyBeginAllowThreads();
17074 result = (arg1)->GetMargins();
17075
17076 wxPyEndAllowThreads(__tstate);
17077 if (PyErr_Occurred()) SWIG_fail;
17078 }
17079 {
17080 wxSize * resultptr;
17081 resultptr = new wxSize((wxSize &) result);
17082 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17083 }
17084 return resultobj;
17085 fail:
17086 return NULL;
17087 }
17088
17089
17090 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17091 PyObject *resultobj;
17092 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17093 int result;
17094 PyObject * obj0 = 0 ;
17095 char *kwnames[] = {
17096 (char *) "self", NULL
17097 };
17098
17099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
17100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17102 {
17103 PyThreadState* __tstate = wxPyBeginAllowThreads();
17104 result = (int)(arg1)->GetToolPacking();
17105
17106 wxPyEndAllowThreads(__tstate);
17107 if (PyErr_Occurred()) SWIG_fail;
17108 }
17109 resultobj = SWIG_FromInt((int)result);
17110 return resultobj;
17111 fail:
17112 return NULL;
17113 }
17114
17115
17116 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17117 PyObject *resultobj;
17118 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17119 int result;
17120 PyObject * obj0 = 0 ;
17121 char *kwnames[] = {
17122 (char *) "self", NULL
17123 };
17124
17125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
17126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17128 {
17129 PyThreadState* __tstate = wxPyBeginAllowThreads();
17130 result = (int)(arg1)->GetToolSeparation();
17131
17132 wxPyEndAllowThreads(__tstate);
17133 if (PyErr_Occurred()) SWIG_fail;
17134 }
17135 resultobj = SWIG_FromInt((int)result);
17136 return resultobj;
17137 fail:
17138 return NULL;
17139 }
17140
17141
17142 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
17143 PyObject *resultobj;
17144 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17145 int arg2 ;
17146 PyObject * obj0 = 0 ;
17147 PyObject * obj1 = 0 ;
17148 char *kwnames[] = {
17149 (char *) "self",(char *) "nRows", NULL
17150 };
17151
17152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
17153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17155 arg2 = (int) SWIG_AsInt(obj1);
17156 if (PyErr_Occurred()) SWIG_fail;
17157 {
17158 PyThreadState* __tstate = wxPyBeginAllowThreads();
17159 (arg1)->SetRows(arg2);
17160
17161 wxPyEndAllowThreads(__tstate);
17162 if (PyErr_Occurred()) SWIG_fail;
17163 }
17164 Py_INCREF(Py_None); resultobj = Py_None;
17165 return resultobj;
17166 fail:
17167 return NULL;
17168 }
17169
17170
17171 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17172 PyObject *resultobj;
17173 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17174 int arg2 ;
17175 int arg3 ;
17176 PyObject * obj0 = 0 ;
17177 PyObject * obj1 = 0 ;
17178 PyObject * obj2 = 0 ;
17179 char *kwnames[] = {
17180 (char *) "self",(char *) "rows",(char *) "cols", NULL
17181 };
17182
17183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
17184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17186 arg2 = (int) SWIG_AsInt(obj1);
17187 if (PyErr_Occurred()) SWIG_fail;
17188 arg3 = (int) SWIG_AsInt(obj2);
17189 if (PyErr_Occurred()) SWIG_fail;
17190 {
17191 PyThreadState* __tstate = wxPyBeginAllowThreads();
17192 (arg1)->SetMaxRowsCols(arg2,arg3);
17193
17194 wxPyEndAllowThreads(__tstate);
17195 if (PyErr_Occurred()) SWIG_fail;
17196 }
17197 Py_INCREF(Py_None); resultobj = Py_None;
17198 return resultobj;
17199 fail:
17200 return NULL;
17201 }
17202
17203
17204 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
17205 PyObject *resultobj;
17206 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17207 int result;
17208 PyObject * obj0 = 0 ;
17209 char *kwnames[] = {
17210 (char *) "self", NULL
17211 };
17212
17213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
17214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17216 {
17217 PyThreadState* __tstate = wxPyBeginAllowThreads();
17218 result = (int)(arg1)->GetMaxRows();
17219
17220 wxPyEndAllowThreads(__tstate);
17221 if (PyErr_Occurred()) SWIG_fail;
17222 }
17223 resultobj = SWIG_FromInt((int)result);
17224 return resultobj;
17225 fail:
17226 return NULL;
17227 }
17228
17229
17230 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17231 PyObject *resultobj;
17232 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17233 int result;
17234 PyObject * obj0 = 0 ;
17235 char *kwnames[] = {
17236 (char *) "self", NULL
17237 };
17238
17239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
17240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17242 {
17243 PyThreadState* __tstate = wxPyBeginAllowThreads();
17244 result = (int)(arg1)->GetMaxCols();
17245
17246 wxPyEndAllowThreads(__tstate);
17247 if (PyErr_Occurred()) SWIG_fail;
17248 }
17249 resultobj = SWIG_FromInt((int)result);
17250 return resultobj;
17251 fail:
17252 return NULL;
17253 }
17254
17255
17256 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17257 PyObject *resultobj;
17258 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17259 wxSize *arg2 = 0 ;
17260 wxSize temp2 ;
17261 PyObject * obj0 = 0 ;
17262 PyObject * obj1 = 0 ;
17263 char *kwnames[] = {
17264 (char *) "self",(char *) "size", NULL
17265 };
17266
17267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
17268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17270 {
17271 arg2 = &temp2;
17272 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17273 }
17274 {
17275 PyThreadState* __tstate = wxPyBeginAllowThreads();
17276 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
17277
17278 wxPyEndAllowThreads(__tstate);
17279 if (PyErr_Occurred()) SWIG_fail;
17280 }
17281 Py_INCREF(Py_None); resultobj = Py_None;
17282 return resultobj;
17283 fail:
17284 return NULL;
17285 }
17286
17287
17288 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17289 PyObject *resultobj;
17290 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17291 wxSize result;
17292 PyObject * obj0 = 0 ;
17293 char *kwnames[] = {
17294 (char *) "self", NULL
17295 };
17296
17297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
17298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17300 {
17301 PyThreadState* __tstate = wxPyBeginAllowThreads();
17302 result = (arg1)->GetToolBitmapSize();
17303
17304 wxPyEndAllowThreads(__tstate);
17305 if (PyErr_Occurred()) SWIG_fail;
17306 }
17307 {
17308 wxSize * resultptr;
17309 resultptr = new wxSize((wxSize &) result);
17310 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17311 }
17312 return resultobj;
17313 fail:
17314 return NULL;
17315 }
17316
17317
17318 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17319 PyObject *resultobj;
17320 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17321 wxSize result;
17322 PyObject * obj0 = 0 ;
17323 char *kwnames[] = {
17324 (char *) "self", NULL
17325 };
17326
17327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
17328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17330 {
17331 PyThreadState* __tstate = wxPyBeginAllowThreads();
17332 result = (arg1)->GetToolSize();
17333
17334 wxPyEndAllowThreads(__tstate);
17335 if (PyErr_Occurred()) SWIG_fail;
17336 }
17337 {
17338 wxSize * resultptr;
17339 resultptr = new wxSize((wxSize &) result);
17340 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17341 }
17342 return resultobj;
17343 fail:
17344 return NULL;
17345 }
17346
17347
17348 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17349 PyObject *resultobj;
17350 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17351 int arg2 ;
17352 int arg3 ;
17353 wxToolBarToolBase *result;
17354 PyObject * obj0 = 0 ;
17355 PyObject * obj1 = 0 ;
17356 PyObject * obj2 = 0 ;
17357 char *kwnames[] = {
17358 (char *) "self",(char *) "x",(char *) "y", NULL
17359 };
17360
17361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17364 arg2 = (int) SWIG_AsInt(obj1);
17365 if (PyErr_Occurred()) SWIG_fail;
17366 arg3 = (int) SWIG_AsInt(obj2);
17367 if (PyErr_Occurred()) SWIG_fail;
17368 {
17369 PyThreadState* __tstate = wxPyBeginAllowThreads();
17370 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17371
17372 wxPyEndAllowThreads(__tstate);
17373 if (PyErr_Occurred()) SWIG_fail;
17374 }
17375 {
17376 resultobj = wxPyMake_wxObject(result);
17377 }
17378 return resultobj;
17379 fail:
17380 return NULL;
17381 }
17382
17383
17384 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
17385 PyObject *resultobj;
17386 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17387 int arg2 ;
17388 wxToolBarToolBase *result;
17389 PyObject * obj0 = 0 ;
17390 PyObject * obj1 = 0 ;
17391 char *kwnames[] = {
17392 (char *) "self",(char *) "toolid", NULL
17393 };
17394
17395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
17396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17398 arg2 = (int) SWIG_AsInt(obj1);
17399 if (PyErr_Occurred()) SWIG_fail;
17400 {
17401 PyThreadState* __tstate = wxPyBeginAllowThreads();
17402 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
17403
17404 wxPyEndAllowThreads(__tstate);
17405 if (PyErr_Occurred()) SWIG_fail;
17406 }
17407 {
17408 resultobj = wxPyMake_wxObject(result);
17409 }
17410 return resultobj;
17411 fail:
17412 return NULL;
17413 }
17414
17415
17416 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
17417 PyObject *resultobj;
17418 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17419 bool result;
17420 PyObject * obj0 = 0 ;
17421 char *kwnames[] = {
17422 (char *) "self", NULL
17423 };
17424
17425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
17426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17428 {
17429 PyThreadState* __tstate = wxPyBeginAllowThreads();
17430 result = (bool)(arg1)->IsVertical();
17431
17432 wxPyEndAllowThreads(__tstate);
17433 if (PyErr_Occurred()) SWIG_fail;
17434 }
17435 {
17436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17437 }
17438 return resultobj;
17439 fail:
17440 return NULL;
17441 }
17442
17443
17444 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
17445 PyObject *obj;
17446 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17447 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
17448 Py_INCREF(obj);
17449 return Py_BuildValue((char *)"");
17450 }
17451 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17452 PyObject *resultobj;
17453 wxWindow *arg1 = (wxWindow *) 0 ;
17454 int arg2 ;
17455 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17456 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17457 wxSize const &arg4_defvalue = wxDefaultSize ;
17458 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17459 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17460 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
17461 wxString *arg6 = (wxString *) &arg6_defvalue ;
17462 wxToolBar *result;
17463 wxPoint temp3 ;
17464 wxSize temp4 ;
17465 bool temp6 = False ;
17466 PyObject * obj0 = 0 ;
17467 PyObject * obj1 = 0 ;
17468 PyObject * obj2 = 0 ;
17469 PyObject * obj3 = 0 ;
17470 PyObject * obj4 = 0 ;
17471 PyObject * obj5 = 0 ;
17472 char *kwnames[] = {
17473 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17474 };
17475
17476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17479 arg2 = (int) SWIG_AsInt(obj1);
17480 if (PyErr_Occurred()) SWIG_fail;
17481 if (obj2) {
17482 {
17483 arg3 = &temp3;
17484 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17485 }
17486 }
17487 if (obj3) {
17488 {
17489 arg4 = &temp4;
17490 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17491 }
17492 }
17493 if (obj4) {
17494 arg5 = (long) SWIG_AsLong(obj4);
17495 if (PyErr_Occurred()) SWIG_fail;
17496 }
17497 if (obj5) {
17498 {
17499 arg6 = wxString_in_helper(obj5);
17500 if (arg6 == NULL) SWIG_fail;
17501 temp6 = True;
17502 }
17503 }
17504 {
17505 PyThreadState* __tstate = wxPyBeginAllowThreads();
17506 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17507
17508 wxPyEndAllowThreads(__tstate);
17509 if (PyErr_Occurred()) SWIG_fail;
17510 }
17511 {
17512 resultobj = wxPyMake_wxObject(result);
17513 }
17514 {
17515 if (temp6)
17516 delete arg6;
17517 }
17518 return resultobj;
17519 fail:
17520 {
17521 if (temp6)
17522 delete arg6;
17523 }
17524 return NULL;
17525 }
17526
17527
17528 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17529 PyObject *resultobj;
17530 wxToolBar *result;
17531 char *kwnames[] = {
17532 NULL
17533 };
17534
17535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
17536 {
17537 PyThreadState* __tstate = wxPyBeginAllowThreads();
17538 result = (wxToolBar *)new wxToolBar();
17539
17540 wxPyEndAllowThreads(__tstate);
17541 if (PyErr_Occurred()) SWIG_fail;
17542 }
17543 {
17544 resultobj = wxPyMake_wxObject(result);
17545 }
17546 return resultobj;
17547 fail:
17548 return NULL;
17549 }
17550
17551
17552 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17553 PyObject *resultobj;
17554 wxToolBar *arg1 = (wxToolBar *) 0 ;
17555 wxWindow *arg2 = (wxWindow *) 0 ;
17556 int arg3 ;
17557 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17558 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17559 wxSize const &arg5_defvalue = wxDefaultSize ;
17560 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17561 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17562 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17563 wxString *arg7 = (wxString *) &arg7_defvalue ;
17564 bool result;
17565 wxPoint temp4 ;
17566 wxSize temp5 ;
17567 bool temp7 = False ;
17568 PyObject * obj0 = 0 ;
17569 PyObject * obj1 = 0 ;
17570 PyObject * obj2 = 0 ;
17571 PyObject * obj3 = 0 ;
17572 PyObject * obj4 = 0 ;
17573 PyObject * obj5 = 0 ;
17574 PyObject * obj6 = 0 ;
17575 char *kwnames[] = {
17576 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17577 };
17578
17579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17582 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17584 arg3 = (int) SWIG_AsInt(obj2);
17585 if (PyErr_Occurred()) SWIG_fail;
17586 if (obj3) {
17587 {
17588 arg4 = &temp4;
17589 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17590 }
17591 }
17592 if (obj4) {
17593 {
17594 arg5 = &temp5;
17595 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17596 }
17597 }
17598 if (obj5) {
17599 arg6 = (long) SWIG_AsLong(obj5);
17600 if (PyErr_Occurred()) SWIG_fail;
17601 }
17602 if (obj6) {
17603 {
17604 arg7 = wxString_in_helper(obj6);
17605 if (arg7 == NULL) SWIG_fail;
17606 temp7 = True;
17607 }
17608 }
17609 {
17610 PyThreadState* __tstate = wxPyBeginAllowThreads();
17611 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17612
17613 wxPyEndAllowThreads(__tstate);
17614 if (PyErr_Occurred()) SWIG_fail;
17615 }
17616 {
17617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17618 }
17619 {
17620 if (temp7)
17621 delete arg7;
17622 }
17623 return resultobj;
17624 fail:
17625 {
17626 if (temp7)
17627 delete arg7;
17628 }
17629 return NULL;
17630 }
17631
17632
17633 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17634 PyObject *resultobj;
17635 wxToolBar *arg1 = (wxToolBar *) 0 ;
17636 int arg2 ;
17637 int arg3 ;
17638 wxToolBarToolBase *result;
17639 PyObject * obj0 = 0 ;
17640 PyObject * obj1 = 0 ;
17641 PyObject * obj2 = 0 ;
17642 char *kwnames[] = {
17643 (char *) "self",(char *) "x",(char *) "y", NULL
17644 };
17645
17646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17649 arg2 = (int) SWIG_AsInt(obj1);
17650 if (PyErr_Occurred()) SWIG_fail;
17651 arg3 = (int) SWIG_AsInt(obj2);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 {
17654 PyThreadState* __tstate = wxPyBeginAllowThreads();
17655 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17656
17657 wxPyEndAllowThreads(__tstate);
17658 if (PyErr_Occurred()) SWIG_fail;
17659 }
17660 {
17661 resultobj = wxPyMake_wxObject(result);
17662 }
17663 return resultobj;
17664 fail:
17665 return NULL;
17666 }
17667
17668
17669 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
17670 PyObject *obj;
17671 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17672 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17673 Py_INCREF(obj);
17674 return Py_BuildValue((char *)"");
17675 }
17676 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
17677 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17678 return 1;
17679 }
17680
17681
17682 static PyObject *_wrap_ListCtrlNameStr_get() {
17683 PyObject *pyobj;
17684
17685 {
17686 #if wxUSE_UNICODE
17687 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17688 #else
17689 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17690 #endif
17691 }
17692 return pyobj;
17693 }
17694
17695
17696 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
17697 PyObject *resultobj;
17698 wxColour const &arg1_defvalue = wxNullColour ;
17699 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17700 wxColour const &arg2_defvalue = wxNullColour ;
17701 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17702 wxFont const &arg3_defvalue = wxNullFont ;
17703 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17704 wxListItemAttr *result;
17705 wxColour temp1 ;
17706 wxColour temp2 ;
17707 PyObject * obj0 = 0 ;
17708 PyObject * obj1 = 0 ;
17709 PyObject * obj2 = 0 ;
17710 char *kwnames[] = {
17711 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17712 };
17713
17714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17715 if (obj0) {
17716 {
17717 arg1 = &temp1;
17718 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17719 }
17720 }
17721 if (obj1) {
17722 {
17723 arg2 = &temp2;
17724 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17725 }
17726 }
17727 if (obj2) {
17728 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
17729 SWIG_POINTER_EXCEPTION | 0)) == -1)
17730 SWIG_fail;
17731 if (arg3 == NULL) {
17732 PyErr_SetString(PyExc_TypeError,"null reference");
17733 SWIG_fail;
17734 }
17735 }
17736 {
17737 PyThreadState* __tstate = wxPyBeginAllowThreads();
17738 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17739
17740 wxPyEndAllowThreads(__tstate);
17741 if (PyErr_Occurred()) SWIG_fail;
17742 }
17743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
17744 return resultobj;
17745 fail:
17746 return NULL;
17747 }
17748
17749
17750 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17751 PyObject *resultobj;
17752 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17753 wxColour *arg2 = 0 ;
17754 wxColour temp2 ;
17755 PyObject * obj0 = 0 ;
17756 PyObject * obj1 = 0 ;
17757 char *kwnames[] = {
17758 (char *) "self",(char *) "colText", NULL
17759 };
17760
17761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17764 {
17765 arg2 = &temp2;
17766 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17767 }
17768 {
17769 PyThreadState* __tstate = wxPyBeginAllowThreads();
17770 (arg1)->SetTextColour((wxColour const &)*arg2);
17771
17772 wxPyEndAllowThreads(__tstate);
17773 if (PyErr_Occurred()) SWIG_fail;
17774 }
17775 Py_INCREF(Py_None); resultobj = Py_None;
17776 return resultobj;
17777 fail:
17778 return NULL;
17779 }
17780
17781
17782 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17783 PyObject *resultobj;
17784 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17785 wxColour *arg2 = 0 ;
17786 wxColour temp2 ;
17787 PyObject * obj0 = 0 ;
17788 PyObject * obj1 = 0 ;
17789 char *kwnames[] = {
17790 (char *) "self",(char *) "colBack", NULL
17791 };
17792
17793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17796 {
17797 arg2 = &temp2;
17798 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17799 }
17800 {
17801 PyThreadState* __tstate = wxPyBeginAllowThreads();
17802 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17803
17804 wxPyEndAllowThreads(__tstate);
17805 if (PyErr_Occurred()) SWIG_fail;
17806 }
17807 Py_INCREF(Py_None); resultobj = Py_None;
17808 return resultobj;
17809 fail:
17810 return NULL;
17811 }
17812
17813
17814 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17815 PyObject *resultobj;
17816 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17817 wxFont *arg2 = 0 ;
17818 PyObject * obj0 = 0 ;
17819 PyObject * obj1 = 0 ;
17820 char *kwnames[] = {
17821 (char *) "self",(char *) "font", NULL
17822 };
17823
17824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
17825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17827 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17828 SWIG_POINTER_EXCEPTION | 0)) == -1)
17829 SWIG_fail;
17830 if (arg2 == NULL) {
17831 PyErr_SetString(PyExc_TypeError,"null reference");
17832 SWIG_fail;
17833 }
17834 {
17835 PyThreadState* __tstate = wxPyBeginAllowThreads();
17836 (arg1)->SetFont((wxFont const &)*arg2);
17837
17838 wxPyEndAllowThreads(__tstate);
17839 if (PyErr_Occurred()) SWIG_fail;
17840 }
17841 Py_INCREF(Py_None); resultobj = Py_None;
17842 return resultobj;
17843 fail:
17844 return NULL;
17845 }
17846
17847
17848 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17849 PyObject *resultobj;
17850 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17851 bool result;
17852 PyObject * obj0 = 0 ;
17853 char *kwnames[] = {
17854 (char *) "self", NULL
17855 };
17856
17857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
17858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17860 {
17861 PyThreadState* __tstate = wxPyBeginAllowThreads();
17862 result = (bool)(arg1)->HasTextColour();
17863
17864 wxPyEndAllowThreads(__tstate);
17865 if (PyErr_Occurred()) SWIG_fail;
17866 }
17867 {
17868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17869 }
17870 return resultobj;
17871 fail:
17872 return NULL;
17873 }
17874
17875
17876 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17877 PyObject *resultobj;
17878 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17879 bool result;
17880 PyObject * obj0 = 0 ;
17881 char *kwnames[] = {
17882 (char *) "self", NULL
17883 };
17884
17885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
17886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17888 {
17889 PyThreadState* __tstate = wxPyBeginAllowThreads();
17890 result = (bool)(arg1)->HasBackgroundColour();
17891
17892 wxPyEndAllowThreads(__tstate);
17893 if (PyErr_Occurred()) SWIG_fail;
17894 }
17895 {
17896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17897 }
17898 return resultobj;
17899 fail:
17900 return NULL;
17901 }
17902
17903
17904 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17905 PyObject *resultobj;
17906 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17907 bool result;
17908 PyObject * obj0 = 0 ;
17909 char *kwnames[] = {
17910 (char *) "self", NULL
17911 };
17912
17913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
17914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17916 {
17917 PyThreadState* __tstate = wxPyBeginAllowThreads();
17918 result = (bool)(arg1)->HasFont();
17919
17920 wxPyEndAllowThreads(__tstate);
17921 if (PyErr_Occurred()) SWIG_fail;
17922 }
17923 {
17924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17925 }
17926 return resultobj;
17927 fail:
17928 return NULL;
17929 }
17930
17931
17932 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17933 PyObject *resultobj;
17934 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17935 wxColour result;
17936 PyObject * obj0 = 0 ;
17937 char *kwnames[] = {
17938 (char *) "self", NULL
17939 };
17940
17941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
17942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17944 {
17945 PyThreadState* __tstate = wxPyBeginAllowThreads();
17946 result = (arg1)->GetTextColour();
17947
17948 wxPyEndAllowThreads(__tstate);
17949 if (PyErr_Occurred()) SWIG_fail;
17950 }
17951 {
17952 wxColour * resultptr;
17953 resultptr = new wxColour((wxColour &) result);
17954 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17955 }
17956 return resultobj;
17957 fail:
17958 return NULL;
17959 }
17960
17961
17962 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17963 PyObject *resultobj;
17964 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17965 wxColour result;
17966 PyObject * obj0 = 0 ;
17967 char *kwnames[] = {
17968 (char *) "self", NULL
17969 };
17970
17971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
17972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17974 {
17975 PyThreadState* __tstate = wxPyBeginAllowThreads();
17976 result = (arg1)->GetBackgroundColour();
17977
17978 wxPyEndAllowThreads(__tstate);
17979 if (PyErr_Occurred()) SWIG_fail;
17980 }
17981 {
17982 wxColour * resultptr;
17983 resultptr = new wxColour((wxColour &) result);
17984 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17985 }
17986 return resultobj;
17987 fail:
17988 return NULL;
17989 }
17990
17991
17992 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17993 PyObject *resultobj;
17994 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17995 wxFont result;
17996 PyObject * obj0 = 0 ;
17997 char *kwnames[] = {
17998 (char *) "self", NULL
17999 };
18000
18001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
18002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18004 {
18005 PyThreadState* __tstate = wxPyBeginAllowThreads();
18006 result = (arg1)->GetFont();
18007
18008 wxPyEndAllowThreads(__tstate);
18009 if (PyErr_Occurred()) SWIG_fail;
18010 }
18011 {
18012 wxFont * resultptr;
18013 resultptr = new wxFont((wxFont &) result);
18014 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
18015 }
18016 return resultobj;
18017 fail:
18018 return NULL;
18019 }
18020
18021
18022 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
18023 PyObject *resultobj;
18024 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18025 PyObject * obj0 = 0 ;
18026 char *kwnames[] = {
18027 (char *) "self", NULL
18028 };
18029
18030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
18031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18033 {
18034 PyThreadState* __tstate = wxPyBeginAllowThreads();
18035 wxListItemAttr_Destroy(arg1);
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 * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
18048 PyObject *obj;
18049 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18050 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
18051 Py_INCREF(obj);
18052 return Py_BuildValue((char *)"");
18053 }
18054 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18055 PyObject *resultobj;
18056 wxListItem *result;
18057 char *kwnames[] = {
18058 NULL
18059 };
18060
18061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
18062 {
18063 PyThreadState* __tstate = wxPyBeginAllowThreads();
18064 result = (wxListItem *)new wxListItem();
18065
18066 wxPyEndAllowThreads(__tstate);
18067 if (PyErr_Occurred()) SWIG_fail;
18068 }
18069 {
18070 resultobj = wxPyMake_wxObject(result);
18071 }
18072 return resultobj;
18073 fail:
18074 return NULL;
18075 }
18076
18077
18078 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18079 PyObject *resultobj;
18080 wxListItem *arg1 = (wxListItem *) 0 ;
18081 PyObject * obj0 = 0 ;
18082 char *kwnames[] = {
18083 (char *) "self", NULL
18084 };
18085
18086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
18087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18089 {
18090 PyThreadState* __tstate = wxPyBeginAllowThreads();
18091 delete arg1;
18092
18093 wxPyEndAllowThreads(__tstate);
18094 if (PyErr_Occurred()) SWIG_fail;
18095 }
18096 Py_INCREF(Py_None); resultobj = Py_None;
18097 return resultobj;
18098 fail:
18099 return NULL;
18100 }
18101
18102
18103 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
18104 PyObject *resultobj;
18105 wxListItem *arg1 = (wxListItem *) 0 ;
18106 PyObject * obj0 = 0 ;
18107 char *kwnames[] = {
18108 (char *) "self", NULL
18109 };
18110
18111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
18112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18114 {
18115 PyThreadState* __tstate = wxPyBeginAllowThreads();
18116 (arg1)->Clear();
18117
18118 wxPyEndAllowThreads(__tstate);
18119 if (PyErr_Occurred()) SWIG_fail;
18120 }
18121 Py_INCREF(Py_None); resultobj = Py_None;
18122 return resultobj;
18123 fail:
18124 return NULL;
18125 }
18126
18127
18128 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18129 PyObject *resultobj;
18130 wxListItem *arg1 = (wxListItem *) 0 ;
18131 PyObject * obj0 = 0 ;
18132 char *kwnames[] = {
18133 (char *) "self", NULL
18134 };
18135
18136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
18137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18139 {
18140 PyThreadState* __tstate = wxPyBeginAllowThreads();
18141 (arg1)->ClearAttributes();
18142
18143 wxPyEndAllowThreads(__tstate);
18144 if (PyErr_Occurred()) SWIG_fail;
18145 }
18146 Py_INCREF(Py_None); resultobj = Py_None;
18147 return resultobj;
18148 fail:
18149 return NULL;
18150 }
18151
18152
18153 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18154 PyObject *resultobj;
18155 wxListItem *arg1 = (wxListItem *) 0 ;
18156 long arg2 ;
18157 PyObject * obj0 = 0 ;
18158 PyObject * obj1 = 0 ;
18159 char *kwnames[] = {
18160 (char *) "self",(char *) "mask", NULL
18161 };
18162
18163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
18164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18166 arg2 = (long) SWIG_AsLong(obj1);
18167 if (PyErr_Occurred()) SWIG_fail;
18168 {
18169 PyThreadState* __tstate = wxPyBeginAllowThreads();
18170 (arg1)->SetMask(arg2);
18171
18172 wxPyEndAllowThreads(__tstate);
18173 if (PyErr_Occurred()) SWIG_fail;
18174 }
18175 Py_INCREF(Py_None); resultobj = Py_None;
18176 return resultobj;
18177 fail:
18178 return NULL;
18179 }
18180
18181
18182 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18183 PyObject *resultobj;
18184 wxListItem *arg1 = (wxListItem *) 0 ;
18185 long arg2 ;
18186 PyObject * obj0 = 0 ;
18187 PyObject * obj1 = 0 ;
18188 char *kwnames[] = {
18189 (char *) "self",(char *) "id", NULL
18190 };
18191
18192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
18193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18195 arg2 = (long) SWIG_AsLong(obj1);
18196 if (PyErr_Occurred()) SWIG_fail;
18197 {
18198 PyThreadState* __tstate = wxPyBeginAllowThreads();
18199 (arg1)->SetId(arg2);
18200
18201 wxPyEndAllowThreads(__tstate);
18202 if (PyErr_Occurred()) SWIG_fail;
18203 }
18204 Py_INCREF(Py_None); resultobj = Py_None;
18205 return resultobj;
18206 fail:
18207 return NULL;
18208 }
18209
18210
18211 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18212 PyObject *resultobj;
18213 wxListItem *arg1 = (wxListItem *) 0 ;
18214 int arg2 ;
18215 PyObject * obj0 = 0 ;
18216 PyObject * obj1 = 0 ;
18217 char *kwnames[] = {
18218 (char *) "self",(char *) "col", NULL
18219 };
18220
18221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
18222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18224 arg2 = (int) SWIG_AsInt(obj1);
18225 if (PyErr_Occurred()) SWIG_fail;
18226 {
18227 PyThreadState* __tstate = wxPyBeginAllowThreads();
18228 (arg1)->SetColumn(arg2);
18229
18230 wxPyEndAllowThreads(__tstate);
18231 if (PyErr_Occurred()) SWIG_fail;
18232 }
18233 Py_INCREF(Py_None); resultobj = Py_None;
18234 return resultobj;
18235 fail:
18236 return NULL;
18237 }
18238
18239
18240 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18241 PyObject *resultobj;
18242 wxListItem *arg1 = (wxListItem *) 0 ;
18243 long arg2 ;
18244 PyObject * obj0 = 0 ;
18245 PyObject * obj1 = 0 ;
18246 char *kwnames[] = {
18247 (char *) "self",(char *) "state", NULL
18248 };
18249
18250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
18251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18253 arg2 = (long) SWIG_AsLong(obj1);
18254 if (PyErr_Occurred()) SWIG_fail;
18255 {
18256 PyThreadState* __tstate = wxPyBeginAllowThreads();
18257 (arg1)->SetState(arg2);
18258
18259 wxPyEndAllowThreads(__tstate);
18260 if (PyErr_Occurred()) SWIG_fail;
18261 }
18262 Py_INCREF(Py_None); resultobj = Py_None;
18263 return resultobj;
18264 fail:
18265 return NULL;
18266 }
18267
18268
18269 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18270 PyObject *resultobj;
18271 wxListItem *arg1 = (wxListItem *) 0 ;
18272 long arg2 ;
18273 PyObject * obj0 = 0 ;
18274 PyObject * obj1 = 0 ;
18275 char *kwnames[] = {
18276 (char *) "self",(char *) "stateMask", NULL
18277 };
18278
18279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
18280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18282 arg2 = (long) SWIG_AsLong(obj1);
18283 if (PyErr_Occurred()) SWIG_fail;
18284 {
18285 PyThreadState* __tstate = wxPyBeginAllowThreads();
18286 (arg1)->SetStateMask(arg2);
18287
18288 wxPyEndAllowThreads(__tstate);
18289 if (PyErr_Occurred()) SWIG_fail;
18290 }
18291 Py_INCREF(Py_None); resultobj = Py_None;
18292 return resultobj;
18293 fail:
18294 return NULL;
18295 }
18296
18297
18298 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18299 PyObject *resultobj;
18300 wxListItem *arg1 = (wxListItem *) 0 ;
18301 wxString *arg2 = 0 ;
18302 bool temp2 = False ;
18303 PyObject * obj0 = 0 ;
18304 PyObject * obj1 = 0 ;
18305 char *kwnames[] = {
18306 (char *) "self",(char *) "text", NULL
18307 };
18308
18309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
18310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18312 {
18313 arg2 = wxString_in_helper(obj1);
18314 if (arg2 == NULL) SWIG_fail;
18315 temp2 = True;
18316 }
18317 {
18318 PyThreadState* __tstate = wxPyBeginAllowThreads();
18319 (arg1)->SetText((wxString const &)*arg2);
18320
18321 wxPyEndAllowThreads(__tstate);
18322 if (PyErr_Occurred()) SWIG_fail;
18323 }
18324 Py_INCREF(Py_None); resultobj = Py_None;
18325 {
18326 if (temp2)
18327 delete arg2;
18328 }
18329 return resultobj;
18330 fail:
18331 {
18332 if (temp2)
18333 delete arg2;
18334 }
18335 return NULL;
18336 }
18337
18338
18339 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18340 PyObject *resultobj;
18341 wxListItem *arg1 = (wxListItem *) 0 ;
18342 int arg2 ;
18343 PyObject * obj0 = 0 ;
18344 PyObject * obj1 = 0 ;
18345 char *kwnames[] = {
18346 (char *) "self",(char *) "image", NULL
18347 };
18348
18349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
18350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18352 arg2 = (int) SWIG_AsInt(obj1);
18353 if (PyErr_Occurred()) SWIG_fail;
18354 {
18355 PyThreadState* __tstate = wxPyBeginAllowThreads();
18356 (arg1)->SetImage(arg2);
18357
18358 wxPyEndAllowThreads(__tstate);
18359 if (PyErr_Occurred()) SWIG_fail;
18360 }
18361 Py_INCREF(Py_None); resultobj = Py_None;
18362 return resultobj;
18363 fail:
18364 return NULL;
18365 }
18366
18367
18368 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18369 PyObject *resultobj;
18370 wxListItem *arg1 = (wxListItem *) 0 ;
18371 long arg2 ;
18372 PyObject * obj0 = 0 ;
18373 PyObject * obj1 = 0 ;
18374 char *kwnames[] = {
18375 (char *) "self",(char *) "data", NULL
18376 };
18377
18378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
18379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18381 arg2 = (long) SWIG_AsLong(obj1);
18382 if (PyErr_Occurred()) SWIG_fail;
18383 {
18384 PyThreadState* __tstate = wxPyBeginAllowThreads();
18385 (arg1)->SetData(arg2);
18386
18387 wxPyEndAllowThreads(__tstate);
18388 if (PyErr_Occurred()) SWIG_fail;
18389 }
18390 Py_INCREF(Py_None); resultobj = Py_None;
18391 return resultobj;
18392 fail:
18393 return NULL;
18394 }
18395
18396
18397 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18398 PyObject *resultobj;
18399 wxListItem *arg1 = (wxListItem *) 0 ;
18400 int arg2 ;
18401 PyObject * obj0 = 0 ;
18402 PyObject * obj1 = 0 ;
18403 char *kwnames[] = {
18404 (char *) "self",(char *) "width", NULL
18405 };
18406
18407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
18408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18410 arg2 = (int) SWIG_AsInt(obj1);
18411 if (PyErr_Occurred()) SWIG_fail;
18412 {
18413 PyThreadState* __tstate = wxPyBeginAllowThreads();
18414 (arg1)->SetWidth(arg2);
18415
18416 wxPyEndAllowThreads(__tstate);
18417 if (PyErr_Occurred()) SWIG_fail;
18418 }
18419 Py_INCREF(Py_None); resultobj = Py_None;
18420 return resultobj;
18421 fail:
18422 return NULL;
18423 }
18424
18425
18426 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18427 PyObject *resultobj;
18428 wxListItem *arg1 = (wxListItem *) 0 ;
18429 int arg2 ;
18430 PyObject * obj0 = 0 ;
18431 PyObject * obj1 = 0 ;
18432 char *kwnames[] = {
18433 (char *) "self",(char *) "align", NULL
18434 };
18435
18436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
18437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18439 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
18440 if (PyErr_Occurred()) SWIG_fail;
18441 {
18442 PyThreadState* __tstate = wxPyBeginAllowThreads();
18443 (arg1)->SetAlign((wxListColumnFormat )arg2);
18444
18445 wxPyEndAllowThreads(__tstate);
18446 if (PyErr_Occurred()) SWIG_fail;
18447 }
18448 Py_INCREF(Py_None); resultobj = Py_None;
18449 return resultobj;
18450 fail:
18451 return NULL;
18452 }
18453
18454
18455 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18456 PyObject *resultobj;
18457 wxListItem *arg1 = (wxListItem *) 0 ;
18458 wxColour *arg2 = 0 ;
18459 wxColour temp2 ;
18460 PyObject * obj0 = 0 ;
18461 PyObject * obj1 = 0 ;
18462 char *kwnames[] = {
18463 (char *) "self",(char *) "colText", NULL
18464 };
18465
18466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18469 {
18470 arg2 = &temp2;
18471 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18472 }
18473 {
18474 PyThreadState* __tstate = wxPyBeginAllowThreads();
18475 (arg1)->SetTextColour((wxColour const &)*arg2);
18476
18477 wxPyEndAllowThreads(__tstate);
18478 if (PyErr_Occurred()) SWIG_fail;
18479 }
18480 Py_INCREF(Py_None); resultobj = Py_None;
18481 return resultobj;
18482 fail:
18483 return NULL;
18484 }
18485
18486
18487 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18488 PyObject *resultobj;
18489 wxListItem *arg1 = (wxListItem *) 0 ;
18490 wxColour *arg2 = 0 ;
18491 wxColour temp2 ;
18492 PyObject * obj0 = 0 ;
18493 PyObject * obj1 = 0 ;
18494 char *kwnames[] = {
18495 (char *) "self",(char *) "colBack", NULL
18496 };
18497
18498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18501 {
18502 arg2 = &temp2;
18503 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18504 }
18505 {
18506 PyThreadState* __tstate = wxPyBeginAllowThreads();
18507 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18508
18509 wxPyEndAllowThreads(__tstate);
18510 if (PyErr_Occurred()) SWIG_fail;
18511 }
18512 Py_INCREF(Py_None); resultobj = Py_None;
18513 return resultobj;
18514 fail:
18515 return NULL;
18516 }
18517
18518
18519 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18520 PyObject *resultobj;
18521 wxListItem *arg1 = (wxListItem *) 0 ;
18522 wxFont *arg2 = 0 ;
18523 PyObject * obj0 = 0 ;
18524 PyObject * obj1 = 0 ;
18525 char *kwnames[] = {
18526 (char *) "self",(char *) "font", NULL
18527 };
18528
18529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
18530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18532 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18533 SWIG_POINTER_EXCEPTION | 0)) == -1)
18534 SWIG_fail;
18535 if (arg2 == NULL) {
18536 PyErr_SetString(PyExc_TypeError,"null reference");
18537 SWIG_fail;
18538 }
18539 {
18540 PyThreadState* __tstate = wxPyBeginAllowThreads();
18541 (arg1)->SetFont((wxFont const &)*arg2);
18542
18543 wxPyEndAllowThreads(__tstate);
18544 if (PyErr_Occurred()) SWIG_fail;
18545 }
18546 Py_INCREF(Py_None); resultobj = Py_None;
18547 return resultobj;
18548 fail:
18549 return NULL;
18550 }
18551
18552
18553 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18554 PyObject *resultobj;
18555 wxListItem *arg1 = (wxListItem *) 0 ;
18556 long result;
18557 PyObject * obj0 = 0 ;
18558 char *kwnames[] = {
18559 (char *) "self", NULL
18560 };
18561
18562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
18563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18565 {
18566 PyThreadState* __tstate = wxPyBeginAllowThreads();
18567 result = (long)(arg1)->GetMask();
18568
18569 wxPyEndAllowThreads(__tstate);
18570 if (PyErr_Occurred()) SWIG_fail;
18571 }
18572 resultobj = SWIG_FromLong((long)result);
18573 return resultobj;
18574 fail:
18575 return NULL;
18576 }
18577
18578
18579 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18580 PyObject *resultobj;
18581 wxListItem *arg1 = (wxListItem *) 0 ;
18582 long result;
18583 PyObject * obj0 = 0 ;
18584 char *kwnames[] = {
18585 (char *) "self", NULL
18586 };
18587
18588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
18589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18591 {
18592 PyThreadState* __tstate = wxPyBeginAllowThreads();
18593 result = (long)(arg1)->GetId();
18594
18595 wxPyEndAllowThreads(__tstate);
18596 if (PyErr_Occurred()) SWIG_fail;
18597 }
18598 resultobj = SWIG_FromLong((long)result);
18599 return resultobj;
18600 fail:
18601 return NULL;
18602 }
18603
18604
18605 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18606 PyObject *resultobj;
18607 wxListItem *arg1 = (wxListItem *) 0 ;
18608 int result;
18609 PyObject * obj0 = 0 ;
18610 char *kwnames[] = {
18611 (char *) "self", NULL
18612 };
18613
18614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
18615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18617 {
18618 PyThreadState* __tstate = wxPyBeginAllowThreads();
18619 result = (int)(arg1)->GetColumn();
18620
18621 wxPyEndAllowThreads(__tstate);
18622 if (PyErr_Occurred()) SWIG_fail;
18623 }
18624 resultobj = SWIG_FromInt((int)result);
18625 return resultobj;
18626 fail:
18627 return NULL;
18628 }
18629
18630
18631 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18632 PyObject *resultobj;
18633 wxListItem *arg1 = (wxListItem *) 0 ;
18634 long result;
18635 PyObject * obj0 = 0 ;
18636 char *kwnames[] = {
18637 (char *) "self", NULL
18638 };
18639
18640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
18641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18643 {
18644 PyThreadState* __tstate = wxPyBeginAllowThreads();
18645 result = (long)(arg1)->GetState();
18646
18647 wxPyEndAllowThreads(__tstate);
18648 if (PyErr_Occurred()) SWIG_fail;
18649 }
18650 resultobj = SWIG_FromLong((long)result);
18651 return resultobj;
18652 fail:
18653 return NULL;
18654 }
18655
18656
18657 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18658 PyObject *resultobj;
18659 wxListItem *arg1 = (wxListItem *) 0 ;
18660 wxString *result;
18661 PyObject * obj0 = 0 ;
18662 char *kwnames[] = {
18663 (char *) "self", NULL
18664 };
18665
18666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
18667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18669 {
18670 PyThreadState* __tstate = wxPyBeginAllowThreads();
18671 {
18672 wxString const &_result_ref = (arg1)->GetText();
18673 result = (wxString *) &_result_ref;
18674 }
18675
18676 wxPyEndAllowThreads(__tstate);
18677 if (PyErr_Occurred()) SWIG_fail;
18678 }
18679 {
18680 #if wxUSE_UNICODE
18681 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18682 #else
18683 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18684 #endif
18685 }
18686 return resultobj;
18687 fail:
18688 return NULL;
18689 }
18690
18691
18692 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18693 PyObject *resultobj;
18694 wxListItem *arg1 = (wxListItem *) 0 ;
18695 int result;
18696 PyObject * obj0 = 0 ;
18697 char *kwnames[] = {
18698 (char *) "self", NULL
18699 };
18700
18701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
18702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18704 {
18705 PyThreadState* __tstate = wxPyBeginAllowThreads();
18706 result = (int)(arg1)->GetImage();
18707
18708 wxPyEndAllowThreads(__tstate);
18709 if (PyErr_Occurred()) SWIG_fail;
18710 }
18711 resultobj = SWIG_FromInt((int)result);
18712 return resultobj;
18713 fail:
18714 return NULL;
18715 }
18716
18717
18718 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18719 PyObject *resultobj;
18720 wxListItem *arg1 = (wxListItem *) 0 ;
18721 long result;
18722 PyObject * obj0 = 0 ;
18723 char *kwnames[] = {
18724 (char *) "self", NULL
18725 };
18726
18727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
18728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18730 {
18731 PyThreadState* __tstate = wxPyBeginAllowThreads();
18732 result = (long)(arg1)->GetData();
18733
18734 wxPyEndAllowThreads(__tstate);
18735 if (PyErr_Occurred()) SWIG_fail;
18736 }
18737 resultobj = SWIG_FromLong((long)result);
18738 return resultobj;
18739 fail:
18740 return NULL;
18741 }
18742
18743
18744 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18745 PyObject *resultobj;
18746 wxListItem *arg1 = (wxListItem *) 0 ;
18747 int result;
18748 PyObject * obj0 = 0 ;
18749 char *kwnames[] = {
18750 (char *) "self", NULL
18751 };
18752
18753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
18754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18756 {
18757 PyThreadState* __tstate = wxPyBeginAllowThreads();
18758 result = (int)(arg1)->GetWidth();
18759
18760 wxPyEndAllowThreads(__tstate);
18761 if (PyErr_Occurred()) SWIG_fail;
18762 }
18763 resultobj = SWIG_FromInt((int)result);
18764 return resultobj;
18765 fail:
18766 return NULL;
18767 }
18768
18769
18770 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18771 PyObject *resultobj;
18772 wxListItem *arg1 = (wxListItem *) 0 ;
18773 int result;
18774 PyObject * obj0 = 0 ;
18775 char *kwnames[] = {
18776 (char *) "self", NULL
18777 };
18778
18779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
18780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18782 {
18783 PyThreadState* __tstate = wxPyBeginAllowThreads();
18784 result = (int)(arg1)->GetAlign();
18785
18786 wxPyEndAllowThreads(__tstate);
18787 if (PyErr_Occurred()) SWIG_fail;
18788 }
18789 resultobj = SWIG_FromInt((int)result);
18790 return resultobj;
18791 fail:
18792 return NULL;
18793 }
18794
18795
18796 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18797 PyObject *resultobj;
18798 wxListItem *arg1 = (wxListItem *) 0 ;
18799 wxListItemAttr *result;
18800 PyObject * obj0 = 0 ;
18801 char *kwnames[] = {
18802 (char *) "self", NULL
18803 };
18804
18805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
18806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18808 {
18809 PyThreadState* __tstate = wxPyBeginAllowThreads();
18810 result = (wxListItemAttr *)(arg1)->GetAttributes();
18811
18812 wxPyEndAllowThreads(__tstate);
18813 if (PyErr_Occurred()) SWIG_fail;
18814 }
18815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
18816 return resultobj;
18817 fail:
18818 return NULL;
18819 }
18820
18821
18822 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18823 PyObject *resultobj;
18824 wxListItem *arg1 = (wxListItem *) 0 ;
18825 bool result;
18826 PyObject * obj0 = 0 ;
18827 char *kwnames[] = {
18828 (char *) "self", NULL
18829 };
18830
18831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
18832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18834 {
18835 PyThreadState* __tstate = wxPyBeginAllowThreads();
18836 result = (bool)(arg1)->HasAttributes();
18837
18838 wxPyEndAllowThreads(__tstate);
18839 if (PyErr_Occurred()) SWIG_fail;
18840 }
18841 {
18842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18843 }
18844 return resultobj;
18845 fail:
18846 return NULL;
18847 }
18848
18849
18850 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18851 PyObject *resultobj;
18852 wxListItem *arg1 = (wxListItem *) 0 ;
18853 wxColour result;
18854 PyObject * obj0 = 0 ;
18855 char *kwnames[] = {
18856 (char *) "self", NULL
18857 };
18858
18859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
18860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18862 {
18863 PyThreadState* __tstate = wxPyBeginAllowThreads();
18864 result = ((wxListItem const *)arg1)->GetTextColour();
18865
18866 wxPyEndAllowThreads(__tstate);
18867 if (PyErr_Occurred()) SWIG_fail;
18868 }
18869 {
18870 wxColour * resultptr;
18871 resultptr = new wxColour((wxColour &) result);
18872 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18873 }
18874 return resultobj;
18875 fail:
18876 return NULL;
18877 }
18878
18879
18880 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18881 PyObject *resultobj;
18882 wxListItem *arg1 = (wxListItem *) 0 ;
18883 wxColour result;
18884 PyObject * obj0 = 0 ;
18885 char *kwnames[] = {
18886 (char *) "self", NULL
18887 };
18888
18889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
18890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18892 {
18893 PyThreadState* __tstate = wxPyBeginAllowThreads();
18894 result = ((wxListItem const *)arg1)->GetBackgroundColour();
18895
18896 wxPyEndAllowThreads(__tstate);
18897 if (PyErr_Occurred()) SWIG_fail;
18898 }
18899 {
18900 wxColour * resultptr;
18901 resultptr = new wxColour((wxColour &) result);
18902 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18903 }
18904 return resultobj;
18905 fail:
18906 return NULL;
18907 }
18908
18909
18910 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18911 PyObject *resultobj;
18912 wxListItem *arg1 = (wxListItem *) 0 ;
18913 wxFont result;
18914 PyObject * obj0 = 0 ;
18915 char *kwnames[] = {
18916 (char *) "self", NULL
18917 };
18918
18919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
18920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18922 {
18923 PyThreadState* __tstate = wxPyBeginAllowThreads();
18924 result = ((wxListItem const *)arg1)->GetFont();
18925
18926 wxPyEndAllowThreads(__tstate);
18927 if (PyErr_Occurred()) SWIG_fail;
18928 }
18929 {
18930 wxFont * resultptr;
18931 resultptr = new wxFont((wxFont &) result);
18932 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
18933 }
18934 return resultobj;
18935 fail:
18936 return NULL;
18937 }
18938
18939
18940 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18941 PyObject *resultobj;
18942 wxListItem *arg1 = (wxListItem *) 0 ;
18943 long arg2 ;
18944 PyObject * obj0 = 0 ;
18945 PyObject * obj1 = 0 ;
18946 char *kwnames[] = {
18947 (char *) "self",(char *) "m_mask", NULL
18948 };
18949
18950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
18951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18953 arg2 = (long) SWIG_AsLong(obj1);
18954 if (PyErr_Occurred()) SWIG_fail;
18955 if (arg1) (arg1)->m_mask = arg2;
18956
18957 Py_INCREF(Py_None); resultobj = Py_None;
18958 return resultobj;
18959 fail:
18960 return NULL;
18961 }
18962
18963
18964 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18965 PyObject *resultobj;
18966 wxListItem *arg1 = (wxListItem *) 0 ;
18967 long result;
18968 PyObject * obj0 = 0 ;
18969 char *kwnames[] = {
18970 (char *) "self", NULL
18971 };
18972
18973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
18974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18976 result = (long) ((arg1)->m_mask);
18977
18978 resultobj = SWIG_FromLong((long)result);
18979 return resultobj;
18980 fail:
18981 return NULL;
18982 }
18983
18984
18985 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18986 PyObject *resultobj;
18987 wxListItem *arg1 = (wxListItem *) 0 ;
18988 long arg2 ;
18989 PyObject * obj0 = 0 ;
18990 PyObject * obj1 = 0 ;
18991 char *kwnames[] = {
18992 (char *) "self",(char *) "m_itemId", NULL
18993 };
18994
18995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
18996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18998 arg2 = (long) SWIG_AsLong(obj1);
18999 if (PyErr_Occurred()) SWIG_fail;
19000 if (arg1) (arg1)->m_itemId = arg2;
19001
19002 Py_INCREF(Py_None); resultobj = Py_None;
19003 return resultobj;
19004 fail:
19005 return NULL;
19006 }
19007
19008
19009 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19010 PyObject *resultobj;
19011 wxListItem *arg1 = (wxListItem *) 0 ;
19012 long result;
19013 PyObject * obj0 = 0 ;
19014 char *kwnames[] = {
19015 (char *) "self", NULL
19016 };
19017
19018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
19019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19021 result = (long) ((arg1)->m_itemId);
19022
19023 resultobj = SWIG_FromLong((long)result);
19024 return resultobj;
19025 fail:
19026 return NULL;
19027 }
19028
19029
19030 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19031 PyObject *resultobj;
19032 wxListItem *arg1 = (wxListItem *) 0 ;
19033 int arg2 ;
19034 PyObject * obj0 = 0 ;
19035 PyObject * obj1 = 0 ;
19036 char *kwnames[] = {
19037 (char *) "self",(char *) "m_col", NULL
19038 };
19039
19040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19043 arg2 = (int) SWIG_AsInt(obj1);
19044 if (PyErr_Occurred()) SWIG_fail;
19045 if (arg1) (arg1)->m_col = arg2;
19046
19047 Py_INCREF(Py_None); resultobj = Py_None;
19048 return resultobj;
19049 fail:
19050 return NULL;
19051 }
19052
19053
19054 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19055 PyObject *resultobj;
19056 wxListItem *arg1 = (wxListItem *) 0 ;
19057 int result;
19058 PyObject * obj0 = 0 ;
19059 char *kwnames[] = {
19060 (char *) "self", NULL
19061 };
19062
19063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
19064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19066 result = (int) ((arg1)->m_col);
19067
19068 resultobj = SWIG_FromInt((int)result);
19069 return resultobj;
19070 fail:
19071 return NULL;
19072 }
19073
19074
19075 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19076 PyObject *resultobj;
19077 wxListItem *arg1 = (wxListItem *) 0 ;
19078 long arg2 ;
19079 PyObject * obj0 = 0 ;
19080 PyObject * obj1 = 0 ;
19081 char *kwnames[] = {
19082 (char *) "self",(char *) "m_state", NULL
19083 };
19084
19085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
19086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19088 arg2 = (long) SWIG_AsLong(obj1);
19089 if (PyErr_Occurred()) SWIG_fail;
19090 if (arg1) (arg1)->m_state = arg2;
19091
19092 Py_INCREF(Py_None); resultobj = Py_None;
19093 return resultobj;
19094 fail:
19095 return NULL;
19096 }
19097
19098
19099 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19100 PyObject *resultobj;
19101 wxListItem *arg1 = (wxListItem *) 0 ;
19102 long result;
19103 PyObject * obj0 = 0 ;
19104 char *kwnames[] = {
19105 (char *) "self", NULL
19106 };
19107
19108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
19109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19111 result = (long) ((arg1)->m_state);
19112
19113 resultobj = SWIG_FromLong((long)result);
19114 return resultobj;
19115 fail:
19116 return NULL;
19117 }
19118
19119
19120 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19121 PyObject *resultobj;
19122 wxListItem *arg1 = (wxListItem *) 0 ;
19123 long arg2 ;
19124 PyObject * obj0 = 0 ;
19125 PyObject * obj1 = 0 ;
19126 char *kwnames[] = {
19127 (char *) "self",(char *) "m_stateMask", NULL
19128 };
19129
19130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
19131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19133 arg2 = (long) SWIG_AsLong(obj1);
19134 if (PyErr_Occurred()) SWIG_fail;
19135 if (arg1) (arg1)->m_stateMask = arg2;
19136
19137 Py_INCREF(Py_None); resultobj = Py_None;
19138 return resultobj;
19139 fail:
19140 return NULL;
19141 }
19142
19143
19144 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19145 PyObject *resultobj;
19146 wxListItem *arg1 = (wxListItem *) 0 ;
19147 long result;
19148 PyObject * obj0 = 0 ;
19149 char *kwnames[] = {
19150 (char *) "self", NULL
19151 };
19152
19153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
19154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19156 result = (long) ((arg1)->m_stateMask);
19157
19158 resultobj = SWIG_FromLong((long)result);
19159 return resultobj;
19160 fail:
19161 return NULL;
19162 }
19163
19164
19165 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19166 PyObject *resultobj;
19167 wxListItem *arg1 = (wxListItem *) 0 ;
19168 wxString *arg2 = (wxString *) 0 ;
19169 bool temp2 = False ;
19170 PyObject * obj0 = 0 ;
19171 PyObject * obj1 = 0 ;
19172 char *kwnames[] = {
19173 (char *) "self",(char *) "m_text", NULL
19174 };
19175
19176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
19177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19179 {
19180 arg2 = wxString_in_helper(obj1);
19181 if (arg2 == NULL) SWIG_fail;
19182 temp2 = True;
19183 }
19184 if (arg1) (arg1)->m_text = *arg2;
19185
19186 Py_INCREF(Py_None); resultobj = Py_None;
19187 {
19188 if (temp2)
19189 delete arg2;
19190 }
19191 return resultobj;
19192 fail:
19193 {
19194 if (temp2)
19195 delete arg2;
19196 }
19197 return NULL;
19198 }
19199
19200
19201 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19202 PyObject *resultobj;
19203 wxListItem *arg1 = (wxListItem *) 0 ;
19204 wxString *result;
19205 PyObject * obj0 = 0 ;
19206 char *kwnames[] = {
19207 (char *) "self", NULL
19208 };
19209
19210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
19211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19213 result = (wxString *)& ((arg1)->m_text);
19214
19215 {
19216 #if wxUSE_UNICODE
19217 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19218 #else
19219 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19220 #endif
19221 }
19222 return resultobj;
19223 fail:
19224 return NULL;
19225 }
19226
19227
19228 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19229 PyObject *resultobj;
19230 wxListItem *arg1 = (wxListItem *) 0 ;
19231 int arg2 ;
19232 PyObject * obj0 = 0 ;
19233 PyObject * obj1 = 0 ;
19234 char *kwnames[] = {
19235 (char *) "self",(char *) "m_image", NULL
19236 };
19237
19238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
19239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19241 arg2 = (int) SWIG_AsInt(obj1);
19242 if (PyErr_Occurred()) SWIG_fail;
19243 if (arg1) (arg1)->m_image = arg2;
19244
19245 Py_INCREF(Py_None); resultobj = Py_None;
19246 return resultobj;
19247 fail:
19248 return NULL;
19249 }
19250
19251
19252 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19253 PyObject *resultobj;
19254 wxListItem *arg1 = (wxListItem *) 0 ;
19255 int result;
19256 PyObject * obj0 = 0 ;
19257 char *kwnames[] = {
19258 (char *) "self", NULL
19259 };
19260
19261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
19262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19264 result = (int) ((arg1)->m_image);
19265
19266 resultobj = SWIG_FromInt((int)result);
19267 return resultobj;
19268 fail:
19269 return NULL;
19270 }
19271
19272
19273 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19274 PyObject *resultobj;
19275 wxListItem *arg1 = (wxListItem *) 0 ;
19276 long arg2 ;
19277 PyObject * obj0 = 0 ;
19278 PyObject * obj1 = 0 ;
19279 char *kwnames[] = {
19280 (char *) "self",(char *) "m_data", NULL
19281 };
19282
19283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
19284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19286 arg2 = (long) SWIG_AsLong(obj1);
19287 if (PyErr_Occurred()) SWIG_fail;
19288 if (arg1) (arg1)->m_data = arg2;
19289
19290 Py_INCREF(Py_None); resultobj = Py_None;
19291 return resultobj;
19292 fail:
19293 return NULL;
19294 }
19295
19296
19297 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19298 PyObject *resultobj;
19299 wxListItem *arg1 = (wxListItem *) 0 ;
19300 long result;
19301 PyObject * obj0 = 0 ;
19302 char *kwnames[] = {
19303 (char *) "self", NULL
19304 };
19305
19306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
19307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19309 result = (long) ((arg1)->m_data);
19310
19311 resultobj = SWIG_FromLong((long)result);
19312 return resultobj;
19313 fail:
19314 return NULL;
19315 }
19316
19317
19318 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19319 PyObject *resultobj;
19320 wxListItem *arg1 = (wxListItem *) 0 ;
19321 int arg2 ;
19322 PyObject * obj0 = 0 ;
19323 PyObject * obj1 = 0 ;
19324 char *kwnames[] = {
19325 (char *) "self",(char *) "m_format", NULL
19326 };
19327
19328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
19329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19331 arg2 = (int) SWIG_AsInt(obj1);
19332 if (PyErr_Occurred()) SWIG_fail;
19333 if (arg1) (arg1)->m_format = arg2;
19334
19335 Py_INCREF(Py_None); resultobj = Py_None;
19336 return resultobj;
19337 fail:
19338 return NULL;
19339 }
19340
19341
19342 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19343 PyObject *resultobj;
19344 wxListItem *arg1 = (wxListItem *) 0 ;
19345 int result;
19346 PyObject * obj0 = 0 ;
19347 char *kwnames[] = {
19348 (char *) "self", NULL
19349 };
19350
19351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
19352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19354 result = (int) ((arg1)->m_format);
19355
19356 resultobj = SWIG_FromInt((int)result);
19357 return resultobj;
19358 fail:
19359 return NULL;
19360 }
19361
19362
19363 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19364 PyObject *resultobj;
19365 wxListItem *arg1 = (wxListItem *) 0 ;
19366 int arg2 ;
19367 PyObject * obj0 = 0 ;
19368 PyObject * obj1 = 0 ;
19369 char *kwnames[] = {
19370 (char *) "self",(char *) "m_width", NULL
19371 };
19372
19373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
19374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19376 arg2 = (int) SWIG_AsInt(obj1);
19377 if (PyErr_Occurred()) SWIG_fail;
19378 if (arg1) (arg1)->m_width = arg2;
19379
19380 Py_INCREF(Py_None); resultobj = Py_None;
19381 return resultobj;
19382 fail:
19383 return NULL;
19384 }
19385
19386
19387 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19388 PyObject *resultobj;
19389 wxListItem *arg1 = (wxListItem *) 0 ;
19390 int result;
19391 PyObject * obj0 = 0 ;
19392 char *kwnames[] = {
19393 (char *) "self", NULL
19394 };
19395
19396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
19397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19399 result = (int) ((arg1)->m_width);
19400
19401 resultobj = SWIG_FromInt((int)result);
19402 return resultobj;
19403 fail:
19404 return NULL;
19405 }
19406
19407
19408 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
19409 PyObject *obj;
19410 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19411 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
19412 Py_INCREF(obj);
19413 return Py_BuildValue((char *)"");
19414 }
19415 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19416 PyObject *resultobj;
19417 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19418 int arg2 = (int) 0 ;
19419 wxListEvent *result;
19420 PyObject * obj0 = 0 ;
19421 PyObject * obj1 = 0 ;
19422 char *kwnames[] = {
19423 (char *) "commandType",(char *) "id", NULL
19424 };
19425
19426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
19427 if (obj0) {
19428 arg1 = (wxEventType) SWIG_AsInt(obj0);
19429 if (PyErr_Occurred()) SWIG_fail;
19430 }
19431 if (obj1) {
19432 arg2 = (int) SWIG_AsInt(obj1);
19433 if (PyErr_Occurred()) SWIG_fail;
19434 }
19435 {
19436 PyThreadState* __tstate = wxPyBeginAllowThreads();
19437 result = (wxListEvent *)new wxListEvent(arg1,arg2);
19438
19439 wxPyEndAllowThreads(__tstate);
19440 if (PyErr_Occurred()) SWIG_fail;
19441 }
19442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
19443 return resultobj;
19444 fail:
19445 return NULL;
19446 }
19447
19448
19449 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19450 PyObject *resultobj;
19451 wxListEvent *arg1 = (wxListEvent *) 0 ;
19452 int arg2 ;
19453 PyObject * obj0 = 0 ;
19454 PyObject * obj1 = 0 ;
19455 char *kwnames[] = {
19456 (char *) "self",(char *) "m_code", NULL
19457 };
19458
19459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
19460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19462 arg2 = (int) SWIG_AsInt(obj1);
19463 if (PyErr_Occurred()) SWIG_fail;
19464 if (arg1) (arg1)->m_code = arg2;
19465
19466 Py_INCREF(Py_None); resultobj = Py_None;
19467 return resultobj;
19468 fail:
19469 return NULL;
19470 }
19471
19472
19473 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19474 PyObject *resultobj;
19475 wxListEvent *arg1 = (wxListEvent *) 0 ;
19476 int result;
19477 PyObject * obj0 = 0 ;
19478 char *kwnames[] = {
19479 (char *) "self", NULL
19480 };
19481
19482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
19483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19485 result = (int) ((arg1)->m_code);
19486
19487 resultobj = SWIG_FromInt((int)result);
19488 return resultobj;
19489 fail:
19490 return NULL;
19491 }
19492
19493
19494 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19495 PyObject *resultobj;
19496 wxListEvent *arg1 = (wxListEvent *) 0 ;
19497 long arg2 ;
19498 PyObject * obj0 = 0 ;
19499 PyObject * obj1 = 0 ;
19500 char *kwnames[] = {
19501 (char *) "self",(char *) "m_oldItemIndex", NULL
19502 };
19503
19504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19507 arg2 = (long) SWIG_AsLong(obj1);
19508 if (PyErr_Occurred()) SWIG_fail;
19509 if (arg1) (arg1)->m_oldItemIndex = arg2;
19510
19511 Py_INCREF(Py_None); resultobj = Py_None;
19512 return resultobj;
19513 fail:
19514 return NULL;
19515 }
19516
19517
19518 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19519 PyObject *resultobj;
19520 wxListEvent *arg1 = (wxListEvent *) 0 ;
19521 long result;
19522 PyObject * obj0 = 0 ;
19523 char *kwnames[] = {
19524 (char *) "self", NULL
19525 };
19526
19527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
19528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19530 result = (long) ((arg1)->m_oldItemIndex);
19531
19532 resultobj = SWIG_FromLong((long)result);
19533 return resultobj;
19534 fail:
19535 return NULL;
19536 }
19537
19538
19539 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19540 PyObject *resultobj;
19541 wxListEvent *arg1 = (wxListEvent *) 0 ;
19542 long arg2 ;
19543 PyObject * obj0 = 0 ;
19544 PyObject * obj1 = 0 ;
19545 char *kwnames[] = {
19546 (char *) "self",(char *) "m_itemIndex", NULL
19547 };
19548
19549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19552 arg2 = (long) SWIG_AsLong(obj1);
19553 if (PyErr_Occurred()) SWIG_fail;
19554 if (arg1) (arg1)->m_itemIndex = arg2;
19555
19556 Py_INCREF(Py_None); resultobj = Py_None;
19557 return resultobj;
19558 fail:
19559 return NULL;
19560 }
19561
19562
19563 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19564 PyObject *resultobj;
19565 wxListEvent *arg1 = (wxListEvent *) 0 ;
19566 long result;
19567 PyObject * obj0 = 0 ;
19568 char *kwnames[] = {
19569 (char *) "self", NULL
19570 };
19571
19572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
19573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19575 result = (long) ((arg1)->m_itemIndex);
19576
19577 resultobj = SWIG_FromLong((long)result);
19578 return resultobj;
19579 fail:
19580 return NULL;
19581 }
19582
19583
19584 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19585 PyObject *resultobj;
19586 wxListEvent *arg1 = (wxListEvent *) 0 ;
19587 int arg2 ;
19588 PyObject * obj0 = 0 ;
19589 PyObject * obj1 = 0 ;
19590 char *kwnames[] = {
19591 (char *) "self",(char *) "m_col", NULL
19592 };
19593
19594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19597 arg2 = (int) SWIG_AsInt(obj1);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 if (arg1) (arg1)->m_col = arg2;
19600
19601 Py_INCREF(Py_None); resultobj = Py_None;
19602 return resultobj;
19603 fail:
19604 return NULL;
19605 }
19606
19607
19608 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19609 PyObject *resultobj;
19610 wxListEvent *arg1 = (wxListEvent *) 0 ;
19611 int result;
19612 PyObject * obj0 = 0 ;
19613 char *kwnames[] = {
19614 (char *) "self", NULL
19615 };
19616
19617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
19618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19620 result = (int) ((arg1)->m_col);
19621
19622 resultobj = SWIG_FromInt((int)result);
19623 return resultobj;
19624 fail:
19625 return NULL;
19626 }
19627
19628
19629 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19630 PyObject *resultobj;
19631 wxListEvent *arg1 = (wxListEvent *) 0 ;
19632 wxPoint *arg2 = (wxPoint *) 0 ;
19633 PyObject * obj0 = 0 ;
19634 PyObject * obj1 = 0 ;
19635 char *kwnames[] = {
19636 (char *) "self",(char *) "m_pointDrag", NULL
19637 };
19638
19639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
19640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19642 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
19643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19644 if (arg1) (arg1)->m_pointDrag = *arg2;
19645
19646 Py_INCREF(Py_None); resultobj = Py_None;
19647 return resultobj;
19648 fail:
19649 return NULL;
19650 }
19651
19652
19653 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19654 PyObject *resultobj;
19655 wxListEvent *arg1 = (wxListEvent *) 0 ;
19656 wxPoint *result;
19657 PyObject * obj0 = 0 ;
19658 char *kwnames[] = {
19659 (char *) "self", NULL
19660 };
19661
19662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
19663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19665 result = (wxPoint *)& ((arg1)->m_pointDrag);
19666
19667 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
19668 return resultobj;
19669 fail:
19670 return NULL;
19671 }
19672
19673
19674 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19675 PyObject *resultobj;
19676 wxListEvent *arg1 = (wxListEvent *) 0 ;
19677 wxListItem *result;
19678 PyObject * obj0 = 0 ;
19679 char *kwnames[] = {
19680 (char *) "self", NULL
19681 };
19682
19683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
19684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19686 result = (wxListItem *)& ((arg1)->m_item);
19687
19688 {
19689 resultobj = wxPyMake_wxObject(result);
19690 }
19691 return resultobj;
19692 fail:
19693 return NULL;
19694 }
19695
19696
19697 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
19698 PyObject *resultobj;
19699 wxListEvent *arg1 = (wxListEvent *) 0 ;
19700 int result;
19701 PyObject * obj0 = 0 ;
19702 char *kwnames[] = {
19703 (char *) "self", NULL
19704 };
19705
19706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
19707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19709 {
19710 PyThreadState* __tstate = wxPyBeginAllowThreads();
19711 result = (int)(arg1)->GetKeyCode();
19712
19713 wxPyEndAllowThreads(__tstate);
19714 if (PyErr_Occurred()) SWIG_fail;
19715 }
19716 resultobj = SWIG_FromInt((int)result);
19717 return resultobj;
19718 fail:
19719 return NULL;
19720 }
19721
19722
19723 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
19724 PyObject *resultobj;
19725 wxListEvent *arg1 = (wxListEvent *) 0 ;
19726 long result;
19727 PyObject * obj0 = 0 ;
19728 char *kwnames[] = {
19729 (char *) "self", NULL
19730 };
19731
19732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
19733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19735 {
19736 PyThreadState* __tstate = wxPyBeginAllowThreads();
19737 result = (long)(arg1)->GetIndex();
19738
19739 wxPyEndAllowThreads(__tstate);
19740 if (PyErr_Occurred()) SWIG_fail;
19741 }
19742 resultobj = SWIG_FromLong((long)result);
19743 return resultobj;
19744 fail:
19745 return NULL;
19746 }
19747
19748
19749 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19750 PyObject *resultobj;
19751 wxListEvent *arg1 = (wxListEvent *) 0 ;
19752 int result;
19753 PyObject * obj0 = 0 ;
19754 char *kwnames[] = {
19755 (char *) "self", NULL
19756 };
19757
19758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
19759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19761 {
19762 PyThreadState* __tstate = wxPyBeginAllowThreads();
19763 result = (int)(arg1)->GetColumn();
19764
19765 wxPyEndAllowThreads(__tstate);
19766 if (PyErr_Occurred()) SWIG_fail;
19767 }
19768 resultobj = SWIG_FromInt((int)result);
19769 return resultobj;
19770 fail:
19771 return NULL;
19772 }
19773
19774
19775 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19776 PyObject *resultobj;
19777 wxListEvent *arg1 = (wxListEvent *) 0 ;
19778 wxPoint result;
19779 PyObject * obj0 = 0 ;
19780 char *kwnames[] = {
19781 (char *) "self", NULL
19782 };
19783
19784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
19785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19787 {
19788 PyThreadState* __tstate = wxPyBeginAllowThreads();
19789 result = (arg1)->GetPoint();
19790
19791 wxPyEndAllowThreads(__tstate);
19792 if (PyErr_Occurred()) SWIG_fail;
19793 }
19794 {
19795 wxPoint * resultptr;
19796 resultptr = new wxPoint((wxPoint &) result);
19797 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19798 }
19799 return resultobj;
19800 fail:
19801 return NULL;
19802 }
19803
19804
19805 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19806 PyObject *resultobj;
19807 wxListEvent *arg1 = (wxListEvent *) 0 ;
19808 wxString *result;
19809 PyObject * obj0 = 0 ;
19810 char *kwnames[] = {
19811 (char *) "self", NULL
19812 };
19813
19814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
19815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19817 {
19818 PyThreadState* __tstate = wxPyBeginAllowThreads();
19819 {
19820 wxString const &_result_ref = (arg1)->GetLabel();
19821 result = (wxString *) &_result_ref;
19822 }
19823
19824 wxPyEndAllowThreads(__tstate);
19825 if (PyErr_Occurred()) SWIG_fail;
19826 }
19827 {
19828 #if wxUSE_UNICODE
19829 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19830 #else
19831 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19832 #endif
19833 }
19834 return resultobj;
19835 fail:
19836 return NULL;
19837 }
19838
19839
19840 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19841 PyObject *resultobj;
19842 wxListEvent *arg1 = (wxListEvent *) 0 ;
19843 wxString *result;
19844 PyObject * obj0 = 0 ;
19845 char *kwnames[] = {
19846 (char *) "self", NULL
19847 };
19848
19849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
19850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19852 {
19853 PyThreadState* __tstate = wxPyBeginAllowThreads();
19854 {
19855 wxString const &_result_ref = (arg1)->GetText();
19856 result = (wxString *) &_result_ref;
19857 }
19858
19859 wxPyEndAllowThreads(__tstate);
19860 if (PyErr_Occurred()) SWIG_fail;
19861 }
19862 {
19863 #if wxUSE_UNICODE
19864 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19865 #else
19866 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19867 #endif
19868 }
19869 return resultobj;
19870 fail:
19871 return NULL;
19872 }
19873
19874
19875 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19876 PyObject *resultobj;
19877 wxListEvent *arg1 = (wxListEvent *) 0 ;
19878 int result;
19879 PyObject * obj0 = 0 ;
19880 char *kwnames[] = {
19881 (char *) "self", NULL
19882 };
19883
19884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
19885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19887 {
19888 PyThreadState* __tstate = wxPyBeginAllowThreads();
19889 result = (int)(arg1)->GetImage();
19890
19891 wxPyEndAllowThreads(__tstate);
19892 if (PyErr_Occurred()) SWIG_fail;
19893 }
19894 resultobj = SWIG_FromInt((int)result);
19895 return resultobj;
19896 fail:
19897 return NULL;
19898 }
19899
19900
19901 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19902 PyObject *resultobj;
19903 wxListEvent *arg1 = (wxListEvent *) 0 ;
19904 long result;
19905 PyObject * obj0 = 0 ;
19906 char *kwnames[] = {
19907 (char *) "self", NULL
19908 };
19909
19910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
19911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19913 {
19914 PyThreadState* __tstate = wxPyBeginAllowThreads();
19915 result = (long)(arg1)->GetData();
19916
19917 wxPyEndAllowThreads(__tstate);
19918 if (PyErr_Occurred()) SWIG_fail;
19919 }
19920 resultobj = SWIG_FromLong((long)result);
19921 return resultobj;
19922 fail:
19923 return NULL;
19924 }
19925
19926
19927 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19928 PyObject *resultobj;
19929 wxListEvent *arg1 = (wxListEvent *) 0 ;
19930 long result;
19931 PyObject * obj0 = 0 ;
19932 char *kwnames[] = {
19933 (char *) "self", NULL
19934 };
19935
19936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
19937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19939 {
19940 PyThreadState* __tstate = wxPyBeginAllowThreads();
19941 result = (long)(arg1)->GetMask();
19942
19943 wxPyEndAllowThreads(__tstate);
19944 if (PyErr_Occurred()) SWIG_fail;
19945 }
19946 resultobj = SWIG_FromLong((long)result);
19947 return resultobj;
19948 fail:
19949 return NULL;
19950 }
19951
19952
19953 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19954 PyObject *resultobj;
19955 wxListEvent *arg1 = (wxListEvent *) 0 ;
19956 wxListItem *result;
19957 PyObject * obj0 = 0 ;
19958 char *kwnames[] = {
19959 (char *) "self", NULL
19960 };
19961
19962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
19963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19965 {
19966 PyThreadState* __tstate = wxPyBeginAllowThreads();
19967 {
19968 wxListItem const &_result_ref = (arg1)->GetItem();
19969 result = (wxListItem *) &_result_ref;
19970 }
19971
19972 wxPyEndAllowThreads(__tstate);
19973 if (PyErr_Occurred()) SWIG_fail;
19974 }
19975 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
19976 return resultobj;
19977 fail:
19978 return NULL;
19979 }
19980
19981
19982 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
19983 PyObject *resultobj;
19984 wxListEvent *arg1 = (wxListEvent *) 0 ;
19985 long result;
19986 PyObject * obj0 = 0 ;
19987 char *kwnames[] = {
19988 (char *) "self", NULL
19989 };
19990
19991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
19992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19994 {
19995 PyThreadState* __tstate = wxPyBeginAllowThreads();
19996 result = (long)(arg1)->GetCacheFrom();
19997
19998 wxPyEndAllowThreads(__tstate);
19999 if (PyErr_Occurred()) SWIG_fail;
20000 }
20001 resultobj = SWIG_FromLong((long)result);
20002 return resultobj;
20003 fail:
20004 return NULL;
20005 }
20006
20007
20008 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20009 PyObject *resultobj;
20010 wxListEvent *arg1 = (wxListEvent *) 0 ;
20011 long result;
20012 PyObject * obj0 = 0 ;
20013 char *kwnames[] = {
20014 (char *) "self", NULL
20015 };
20016
20017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
20018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20020 {
20021 PyThreadState* __tstate = wxPyBeginAllowThreads();
20022 result = (long)(arg1)->GetCacheTo();
20023
20024 wxPyEndAllowThreads(__tstate);
20025 if (PyErr_Occurred()) SWIG_fail;
20026 }
20027 resultobj = SWIG_FromLong((long)result);
20028 return resultobj;
20029 fail:
20030 return NULL;
20031 }
20032
20033
20034 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20035 PyObject *resultobj;
20036 wxListEvent *arg1 = (wxListEvent *) 0 ;
20037 bool result;
20038 PyObject * obj0 = 0 ;
20039 char *kwnames[] = {
20040 (char *) "self", NULL
20041 };
20042
20043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20046 {
20047 PyThreadState* __tstate = wxPyBeginAllowThreads();
20048 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
20049
20050 wxPyEndAllowThreads(__tstate);
20051 if (PyErr_Occurred()) SWIG_fail;
20052 }
20053 {
20054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20055 }
20056 return resultobj;
20057 fail:
20058 return NULL;
20059 }
20060
20061
20062 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20063 PyObject *resultobj;
20064 wxListEvent *arg1 = (wxListEvent *) 0 ;
20065 bool arg2 ;
20066 PyObject * obj0 = 0 ;
20067 PyObject * obj1 = 0 ;
20068 char *kwnames[] = {
20069 (char *) "self",(char *) "editCancelled", NULL
20070 };
20071
20072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20075 arg2 = (bool) SWIG_AsBool(obj1);
20076 if (PyErr_Occurred()) SWIG_fail;
20077 {
20078 PyThreadState* __tstate = wxPyBeginAllowThreads();
20079 (arg1)->SetEditCanceled(arg2);
20080
20081 wxPyEndAllowThreads(__tstate);
20082 if (PyErr_Occurred()) SWIG_fail;
20083 }
20084 Py_INCREF(Py_None); resultobj = Py_None;
20085 return resultobj;
20086 fail:
20087 return NULL;
20088 }
20089
20090
20091 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
20092 PyObject *obj;
20093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20094 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
20095 Py_INCREF(obj);
20096 return Py_BuildValue((char *)"");
20097 }
20098 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20099 PyObject *resultobj;
20100 wxWindow *arg1 = (wxWindow *) 0 ;
20101 int arg2 = (int) -1 ;
20102 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20103 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20104 wxSize const &arg4_defvalue = wxDefaultSize ;
20105 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20106 long arg5 = (long) wxLC_ICON ;
20107 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20108 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20109 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
20110 wxString *arg7 = (wxString *) &arg7_defvalue ;
20111 wxPyListCtrl *result;
20112 wxPoint temp3 ;
20113 wxSize temp4 ;
20114 bool temp7 = False ;
20115 PyObject * obj0 = 0 ;
20116 PyObject * obj1 = 0 ;
20117 PyObject * obj2 = 0 ;
20118 PyObject * obj3 = 0 ;
20119 PyObject * obj4 = 0 ;
20120 PyObject * obj5 = 0 ;
20121 PyObject * obj6 = 0 ;
20122 char *kwnames[] = {
20123 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20124 };
20125
20126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20129 if (obj1) {
20130 arg2 = (int) SWIG_AsInt(obj1);
20131 if (PyErr_Occurred()) SWIG_fail;
20132 }
20133 if (obj2) {
20134 {
20135 arg3 = &temp3;
20136 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20137 }
20138 }
20139 if (obj3) {
20140 {
20141 arg4 = &temp4;
20142 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20143 }
20144 }
20145 if (obj4) {
20146 arg5 = (long) SWIG_AsLong(obj4);
20147 if (PyErr_Occurred()) SWIG_fail;
20148 }
20149 if (obj5) {
20150 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
20151 SWIG_POINTER_EXCEPTION | 0)) == -1)
20152 SWIG_fail;
20153 if (arg6 == NULL) {
20154 PyErr_SetString(PyExc_TypeError,"null reference");
20155 SWIG_fail;
20156 }
20157 }
20158 if (obj6) {
20159 {
20160 arg7 = wxString_in_helper(obj6);
20161 if (arg7 == NULL) SWIG_fail;
20162 temp7 = True;
20163 }
20164 }
20165 {
20166 PyThreadState* __tstate = wxPyBeginAllowThreads();
20167 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20168
20169 wxPyEndAllowThreads(__tstate);
20170 if (PyErr_Occurred()) SWIG_fail;
20171 }
20172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
20173 {
20174 if (temp7)
20175 delete arg7;
20176 }
20177 return resultobj;
20178 fail:
20179 {
20180 if (temp7)
20181 delete arg7;
20182 }
20183 return NULL;
20184 }
20185
20186
20187 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20188 PyObject *resultobj;
20189 wxPyListCtrl *result;
20190 char *kwnames[] = {
20191 NULL
20192 };
20193
20194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
20195 {
20196 PyThreadState* __tstate = wxPyBeginAllowThreads();
20197 result = (wxPyListCtrl *)new wxPyListCtrl();
20198
20199 wxPyEndAllowThreads(__tstate);
20200 if (PyErr_Occurred()) SWIG_fail;
20201 }
20202 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
20203 return resultobj;
20204 fail:
20205 return NULL;
20206 }
20207
20208
20209 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20210 PyObject *resultobj;
20211 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20212 wxWindow *arg2 = (wxWindow *) 0 ;
20213 int arg3 = (int) -1 ;
20214 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20215 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20216 wxSize const &arg5_defvalue = wxDefaultSize ;
20217 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20218 long arg6 = (long) wxLC_ICON ;
20219 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20220 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20221 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
20222 wxString *arg8 = (wxString *) &arg8_defvalue ;
20223 bool result;
20224 wxPoint temp4 ;
20225 wxSize temp5 ;
20226 bool temp8 = False ;
20227 PyObject * obj0 = 0 ;
20228 PyObject * obj1 = 0 ;
20229 PyObject * obj2 = 0 ;
20230 PyObject * obj3 = 0 ;
20231 PyObject * obj4 = 0 ;
20232 PyObject * obj5 = 0 ;
20233 PyObject * obj6 = 0 ;
20234 PyObject * obj7 = 0 ;
20235 char *kwnames[] = {
20236 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20237 };
20238
20239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
20240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20242 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20244 if (obj2) {
20245 arg3 = (int) SWIG_AsInt(obj2);
20246 if (PyErr_Occurred()) SWIG_fail;
20247 }
20248 if (obj3) {
20249 {
20250 arg4 = &temp4;
20251 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20252 }
20253 }
20254 if (obj4) {
20255 {
20256 arg5 = &temp5;
20257 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20258 }
20259 }
20260 if (obj5) {
20261 arg6 = (long) SWIG_AsLong(obj5);
20262 if (PyErr_Occurred()) SWIG_fail;
20263 }
20264 if (obj6) {
20265 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
20266 SWIG_POINTER_EXCEPTION | 0)) == -1)
20267 SWIG_fail;
20268 if (arg7 == NULL) {
20269 PyErr_SetString(PyExc_TypeError,"null reference");
20270 SWIG_fail;
20271 }
20272 }
20273 if (obj7) {
20274 {
20275 arg8 = wxString_in_helper(obj7);
20276 if (arg8 == NULL) SWIG_fail;
20277 temp8 = True;
20278 }
20279 }
20280 {
20281 PyThreadState* __tstate = wxPyBeginAllowThreads();
20282 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20283
20284 wxPyEndAllowThreads(__tstate);
20285 if (PyErr_Occurred()) SWIG_fail;
20286 }
20287 {
20288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20289 }
20290 {
20291 if (temp8)
20292 delete arg8;
20293 }
20294 return resultobj;
20295 fail:
20296 {
20297 if (temp8)
20298 delete arg8;
20299 }
20300 return NULL;
20301 }
20302
20303
20304 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20305 PyObject *resultobj;
20306 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20307 PyObject *arg2 = (PyObject *) 0 ;
20308 PyObject *arg3 = (PyObject *) 0 ;
20309 PyObject * obj0 = 0 ;
20310 PyObject * obj1 = 0 ;
20311 PyObject * obj2 = 0 ;
20312 char *kwnames[] = {
20313 (char *) "self",(char *) "self",(char *) "_class", NULL
20314 };
20315
20316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20319 arg2 = obj1;
20320 arg3 = obj2;
20321 {
20322 PyThreadState* __tstate = wxPyBeginAllowThreads();
20323 (arg1)->_setCallbackInfo(arg2,arg3);
20324
20325 wxPyEndAllowThreads(__tstate);
20326 if (PyErr_Occurred()) SWIG_fail;
20327 }
20328 Py_INCREF(Py_None); resultobj = Py_None;
20329 return resultobj;
20330 fail:
20331 return NULL;
20332 }
20333
20334
20335 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20336 PyObject *resultobj;
20337 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20338 wxColour *arg2 = 0 ;
20339 bool result;
20340 wxColour temp2 ;
20341 PyObject * obj0 = 0 ;
20342 PyObject * obj1 = 0 ;
20343 char *kwnames[] = {
20344 (char *) "self",(char *) "col", NULL
20345 };
20346
20347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
20348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20350 {
20351 arg2 = &temp2;
20352 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20353 }
20354 {
20355 PyThreadState* __tstate = wxPyBeginAllowThreads();
20356 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
20357
20358 wxPyEndAllowThreads(__tstate);
20359 if (PyErr_Occurred()) SWIG_fail;
20360 }
20361 {
20362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20363 }
20364 return resultobj;
20365 fail:
20366 return NULL;
20367 }
20368
20369
20370 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20371 PyObject *resultobj;
20372 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20373 wxColour *arg2 = 0 ;
20374 bool result;
20375 wxColour temp2 ;
20376 PyObject * obj0 = 0 ;
20377 PyObject * obj1 = 0 ;
20378 char *kwnames[] = {
20379 (char *) "self",(char *) "col", NULL
20380 };
20381
20382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
20383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20385 {
20386 arg2 = &temp2;
20387 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20388 }
20389 {
20390 PyThreadState* __tstate = wxPyBeginAllowThreads();
20391 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
20392
20393 wxPyEndAllowThreads(__tstate);
20394 if (PyErr_Occurred()) SWIG_fail;
20395 }
20396 {
20397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20398 }
20399 return resultobj;
20400 fail:
20401 return NULL;
20402 }
20403
20404
20405 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20406 PyObject *resultobj;
20407 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20408 int arg2 ;
20409 wxListItem *result;
20410 PyObject * obj0 = 0 ;
20411 PyObject * obj1 = 0 ;
20412 char *kwnames[] = {
20413 (char *) "self",(char *) "col", NULL
20414 };
20415
20416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
20417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20419 arg2 = (int) SWIG_AsInt(obj1);
20420 if (PyErr_Occurred()) SWIG_fail;
20421 {
20422 PyThreadState* __tstate = wxPyBeginAllowThreads();
20423 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
20424
20425 wxPyEndAllowThreads(__tstate);
20426 if (PyErr_Occurred()) SWIG_fail;
20427 }
20428 {
20429 resultobj = wxPyMake_wxObject(result);
20430 }
20431 return resultobj;
20432 fail:
20433 return NULL;
20434 }
20435
20436
20437 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20438 PyObject *resultobj;
20439 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20440 int arg2 ;
20441 wxListItem *arg3 = 0 ;
20442 bool result;
20443 PyObject * obj0 = 0 ;
20444 PyObject * obj1 = 0 ;
20445 PyObject * obj2 = 0 ;
20446 char *kwnames[] = {
20447 (char *) "self",(char *) "col",(char *) "item", NULL
20448 };
20449
20450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
20451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20453 arg2 = (int) SWIG_AsInt(obj1);
20454 if (PyErr_Occurred()) SWIG_fail;
20455 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
20456 SWIG_POINTER_EXCEPTION | 0)) == -1)
20457 SWIG_fail;
20458 if (arg3 == NULL) {
20459 PyErr_SetString(PyExc_TypeError,"null reference");
20460 SWIG_fail;
20461 }
20462 {
20463 PyThreadState* __tstate = wxPyBeginAllowThreads();
20464 result = (bool)(arg1)->SetColumn(arg2,*arg3);
20465
20466 wxPyEndAllowThreads(__tstate);
20467 if (PyErr_Occurred()) SWIG_fail;
20468 }
20469 {
20470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20471 }
20472 return resultobj;
20473 fail:
20474 return NULL;
20475 }
20476
20477
20478 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20479 PyObject *resultobj;
20480 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20481 int arg2 ;
20482 int result;
20483 PyObject * obj0 = 0 ;
20484 PyObject * obj1 = 0 ;
20485 char *kwnames[] = {
20486 (char *) "self",(char *) "col", NULL
20487 };
20488
20489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
20490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20492 arg2 = (int) SWIG_AsInt(obj1);
20493 if (PyErr_Occurred()) SWIG_fail;
20494 {
20495 PyThreadState* __tstate = wxPyBeginAllowThreads();
20496 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
20497
20498 wxPyEndAllowThreads(__tstate);
20499 if (PyErr_Occurred()) SWIG_fail;
20500 }
20501 resultobj = SWIG_FromInt((int)result);
20502 return resultobj;
20503 fail:
20504 return NULL;
20505 }
20506
20507
20508 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20509 PyObject *resultobj;
20510 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20511 int arg2 ;
20512 int arg3 ;
20513 bool result;
20514 PyObject * obj0 = 0 ;
20515 PyObject * obj1 = 0 ;
20516 PyObject * obj2 = 0 ;
20517 char *kwnames[] = {
20518 (char *) "self",(char *) "col",(char *) "width", NULL
20519 };
20520
20521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20524 arg2 = (int) SWIG_AsInt(obj1);
20525 if (PyErr_Occurred()) SWIG_fail;
20526 arg3 = (int) SWIG_AsInt(obj2);
20527 if (PyErr_Occurred()) SWIG_fail;
20528 {
20529 PyThreadState* __tstate = wxPyBeginAllowThreads();
20530 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
20531
20532 wxPyEndAllowThreads(__tstate);
20533 if (PyErr_Occurred()) SWIG_fail;
20534 }
20535 {
20536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20537 }
20538 return resultobj;
20539 fail:
20540 return NULL;
20541 }
20542
20543
20544 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20545 PyObject *resultobj;
20546 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20547 int result;
20548 PyObject * obj0 = 0 ;
20549 char *kwnames[] = {
20550 (char *) "self", NULL
20551 };
20552
20553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
20554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20556 {
20557 PyThreadState* __tstate = wxPyBeginAllowThreads();
20558 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
20559
20560 wxPyEndAllowThreads(__tstate);
20561 if (PyErr_Occurred()) SWIG_fail;
20562 }
20563 resultobj = SWIG_FromInt((int)result);
20564 return resultobj;
20565 fail:
20566 return NULL;
20567 }
20568
20569
20570 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20571 PyObject *resultobj;
20572 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20573 wxRect result;
20574 PyObject * obj0 = 0 ;
20575 char *kwnames[] = {
20576 (char *) "self", NULL
20577 };
20578
20579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
20580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20582 {
20583 PyThreadState* __tstate = wxPyBeginAllowThreads();
20584 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
20585
20586 wxPyEndAllowThreads(__tstate);
20587 if (PyErr_Occurred()) SWIG_fail;
20588 }
20589 {
20590 wxRect * resultptr;
20591 resultptr = new wxRect((wxRect &) result);
20592 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
20593 }
20594 return resultobj;
20595 fail:
20596 return NULL;
20597 }
20598
20599
20600 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20601 PyObject *resultobj;
20602 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20603 long arg2 ;
20604 int arg3 = (int) 0 ;
20605 wxListItem *result;
20606 PyObject * obj0 = 0 ;
20607 PyObject * obj1 = 0 ;
20608 PyObject * obj2 = 0 ;
20609 char *kwnames[] = {
20610 (char *) "self",(char *) "itemId",(char *) "col", NULL
20611 };
20612
20613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
20614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20616 arg2 = (long) SWIG_AsLong(obj1);
20617 if (PyErr_Occurred()) SWIG_fail;
20618 if (obj2) {
20619 arg3 = (int) SWIG_AsInt(obj2);
20620 if (PyErr_Occurred()) SWIG_fail;
20621 }
20622 {
20623 PyThreadState* __tstate = wxPyBeginAllowThreads();
20624 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20625
20626 wxPyEndAllowThreads(__tstate);
20627 if (PyErr_Occurred()) SWIG_fail;
20628 }
20629 {
20630 resultobj = wxPyMake_wxObject(result);
20631 }
20632 return resultobj;
20633 fail:
20634 return NULL;
20635 }
20636
20637
20638 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20639 PyObject *resultobj;
20640 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20641 wxListItem *arg2 = 0 ;
20642 bool result;
20643 PyObject * obj0 = 0 ;
20644 PyObject * obj1 = 0 ;
20645 char *kwnames[] = {
20646 (char *) "self",(char *) "info", NULL
20647 };
20648
20649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
20650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20652 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
20653 SWIG_POINTER_EXCEPTION | 0)) == -1)
20654 SWIG_fail;
20655 if (arg2 == NULL) {
20656 PyErr_SetString(PyExc_TypeError,"null reference");
20657 SWIG_fail;
20658 }
20659 {
20660 PyThreadState* __tstate = wxPyBeginAllowThreads();
20661 result = (bool)(arg1)->SetItem(*arg2);
20662
20663 wxPyEndAllowThreads(__tstate);
20664 if (PyErr_Occurred()) SWIG_fail;
20665 }
20666 {
20667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20668 }
20669 return resultobj;
20670 fail:
20671 return NULL;
20672 }
20673
20674
20675 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20676 PyObject *resultobj;
20677 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20678 long arg2 ;
20679 int arg3 ;
20680 wxString *arg4 = 0 ;
20681 int arg5 = (int) -1 ;
20682 long result;
20683 bool temp4 = False ;
20684 PyObject * obj0 = 0 ;
20685 PyObject * obj1 = 0 ;
20686 PyObject * obj2 = 0 ;
20687 PyObject * obj3 = 0 ;
20688 PyObject * obj4 = 0 ;
20689 char *kwnames[] = {
20690 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20691 };
20692
20693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20696 arg2 = (long) SWIG_AsLong(obj1);
20697 if (PyErr_Occurred()) SWIG_fail;
20698 arg3 = (int) SWIG_AsInt(obj2);
20699 if (PyErr_Occurred()) SWIG_fail;
20700 {
20701 arg4 = wxString_in_helper(obj3);
20702 if (arg4 == NULL) SWIG_fail;
20703 temp4 = True;
20704 }
20705 if (obj4) {
20706 arg5 = (int) SWIG_AsInt(obj4);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 }
20709 {
20710 PyThreadState* __tstate = wxPyBeginAllowThreads();
20711 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20712
20713 wxPyEndAllowThreads(__tstate);
20714 if (PyErr_Occurred()) SWIG_fail;
20715 }
20716 resultobj = SWIG_FromLong((long)result);
20717 {
20718 if (temp4)
20719 delete arg4;
20720 }
20721 return resultobj;
20722 fail:
20723 {
20724 if (temp4)
20725 delete arg4;
20726 }
20727 return NULL;
20728 }
20729
20730
20731 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20732 PyObject *resultobj;
20733 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20734 long arg2 ;
20735 long arg3 ;
20736 int result;
20737 PyObject * obj0 = 0 ;
20738 PyObject * obj1 = 0 ;
20739 PyObject * obj2 = 0 ;
20740 char *kwnames[] = {
20741 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20742 };
20743
20744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
20745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20747 arg2 = (long) SWIG_AsLong(obj1);
20748 if (PyErr_Occurred()) SWIG_fail;
20749 arg3 = (long) SWIG_AsLong(obj2);
20750 if (PyErr_Occurred()) SWIG_fail;
20751 {
20752 PyThreadState* __tstate = wxPyBeginAllowThreads();
20753 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20754
20755 wxPyEndAllowThreads(__tstate);
20756 if (PyErr_Occurred()) SWIG_fail;
20757 }
20758 resultobj = SWIG_FromInt((int)result);
20759 return resultobj;
20760 fail:
20761 return NULL;
20762 }
20763
20764
20765 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20766 PyObject *resultobj;
20767 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20768 long arg2 ;
20769 long arg3 ;
20770 long arg4 ;
20771 bool result;
20772 PyObject * obj0 = 0 ;
20773 PyObject * obj1 = 0 ;
20774 PyObject * obj2 = 0 ;
20775 PyObject * obj3 = 0 ;
20776 char *kwnames[] = {
20777 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20778 };
20779
20780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20783 arg2 = (long) SWIG_AsLong(obj1);
20784 if (PyErr_Occurred()) SWIG_fail;
20785 arg3 = (long) SWIG_AsLong(obj2);
20786 if (PyErr_Occurred()) SWIG_fail;
20787 arg4 = (long) SWIG_AsLong(obj3);
20788 if (PyErr_Occurred()) SWIG_fail;
20789 {
20790 PyThreadState* __tstate = wxPyBeginAllowThreads();
20791 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20792
20793 wxPyEndAllowThreads(__tstate);
20794 if (PyErr_Occurred()) SWIG_fail;
20795 }
20796 {
20797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20798 }
20799 return resultobj;
20800 fail:
20801 return NULL;
20802 }
20803
20804
20805 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20806 PyObject *resultobj;
20807 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20808 long arg2 ;
20809 int arg3 ;
20810 int arg4 ;
20811 bool result;
20812 PyObject * obj0 = 0 ;
20813 PyObject * obj1 = 0 ;
20814 PyObject * obj2 = 0 ;
20815 PyObject * obj3 = 0 ;
20816 char *kwnames[] = {
20817 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20818 };
20819
20820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20823 arg2 = (long) SWIG_AsLong(obj1);
20824 if (PyErr_Occurred()) SWIG_fail;
20825 arg3 = (int) SWIG_AsInt(obj2);
20826 if (PyErr_Occurred()) SWIG_fail;
20827 arg4 = (int) SWIG_AsInt(obj3);
20828 if (PyErr_Occurred()) SWIG_fail;
20829 {
20830 PyThreadState* __tstate = wxPyBeginAllowThreads();
20831 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20832
20833 wxPyEndAllowThreads(__tstate);
20834 if (PyErr_Occurred()) SWIG_fail;
20835 }
20836 {
20837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20838 }
20839 return resultobj;
20840 fail:
20841 return NULL;
20842 }
20843
20844
20845 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20846 PyObject *resultobj;
20847 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20848 long arg2 ;
20849 wxString result;
20850 PyObject * obj0 = 0 ;
20851 PyObject * obj1 = 0 ;
20852 char *kwnames[] = {
20853 (char *) "self",(char *) "item", NULL
20854 };
20855
20856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20859 arg2 = (long) SWIG_AsLong(obj1);
20860 if (PyErr_Occurred()) SWIG_fail;
20861 {
20862 PyThreadState* __tstate = wxPyBeginAllowThreads();
20863 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20864
20865 wxPyEndAllowThreads(__tstate);
20866 if (PyErr_Occurred()) SWIG_fail;
20867 }
20868 {
20869 #if wxUSE_UNICODE
20870 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20871 #else
20872 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20873 #endif
20874 }
20875 return resultobj;
20876 fail:
20877 return NULL;
20878 }
20879
20880
20881 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20882 PyObject *resultobj;
20883 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20884 long arg2 ;
20885 wxString *arg3 = 0 ;
20886 bool temp3 = False ;
20887 PyObject * obj0 = 0 ;
20888 PyObject * obj1 = 0 ;
20889 PyObject * obj2 = 0 ;
20890 char *kwnames[] = {
20891 (char *) "self",(char *) "item",(char *) "str", NULL
20892 };
20893
20894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
20895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20897 arg2 = (long) SWIG_AsLong(obj1);
20898 if (PyErr_Occurred()) SWIG_fail;
20899 {
20900 arg3 = wxString_in_helper(obj2);
20901 if (arg3 == NULL) SWIG_fail;
20902 temp3 = True;
20903 }
20904 {
20905 PyThreadState* __tstate = wxPyBeginAllowThreads();
20906 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
20907
20908 wxPyEndAllowThreads(__tstate);
20909 if (PyErr_Occurred()) SWIG_fail;
20910 }
20911 Py_INCREF(Py_None); resultobj = Py_None;
20912 {
20913 if (temp3)
20914 delete arg3;
20915 }
20916 return resultobj;
20917 fail:
20918 {
20919 if (temp3)
20920 delete arg3;
20921 }
20922 return NULL;
20923 }
20924
20925
20926 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20927 PyObject *resultobj;
20928 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20929 long arg2 ;
20930 long result;
20931 PyObject * obj0 = 0 ;
20932 PyObject * obj1 = 0 ;
20933 char *kwnames[] = {
20934 (char *) "self",(char *) "item", NULL
20935 };
20936
20937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20940 arg2 = (long) SWIG_AsLong(obj1);
20941 if (PyErr_Occurred()) SWIG_fail;
20942 {
20943 PyThreadState* __tstate = wxPyBeginAllowThreads();
20944 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
20945
20946 wxPyEndAllowThreads(__tstate);
20947 if (PyErr_Occurred()) SWIG_fail;
20948 }
20949 resultobj = SWIG_FromLong((long)result);
20950 return resultobj;
20951 fail:
20952 return NULL;
20953 }
20954
20955
20956 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20957 PyObject *resultobj;
20958 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20959 long arg2 ;
20960 long arg3 ;
20961 bool result;
20962 PyObject * obj0 = 0 ;
20963 PyObject * obj1 = 0 ;
20964 PyObject * obj2 = 0 ;
20965 char *kwnames[] = {
20966 (char *) "self",(char *) "item",(char *) "data", NULL
20967 };
20968
20969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20972 arg2 = (long) SWIG_AsLong(obj1);
20973 if (PyErr_Occurred()) SWIG_fail;
20974 arg3 = (long) SWIG_AsLong(obj2);
20975 if (PyErr_Occurred()) SWIG_fail;
20976 {
20977 PyThreadState* __tstate = wxPyBeginAllowThreads();
20978 result = (bool)(arg1)->SetItemData(arg2,arg3);
20979
20980 wxPyEndAllowThreads(__tstate);
20981 if (PyErr_Occurred()) SWIG_fail;
20982 }
20983 {
20984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20985 }
20986 return resultobj;
20987 fail:
20988 return NULL;
20989 }
20990
20991
20992 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20993 PyObject *resultobj;
20994 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20995 long arg2 ;
20996 wxPoint result;
20997 PyObject * obj0 = 0 ;
20998 PyObject * obj1 = 0 ;
20999 char *kwnames[] = {
21000 (char *) "self",(char *) "item", NULL
21001 };
21002
21003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
21004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21006 arg2 = (long) SWIG_AsLong(obj1);
21007 if (PyErr_Occurred()) SWIG_fail;
21008 {
21009 PyThreadState* __tstate = wxPyBeginAllowThreads();
21010 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
21011
21012 wxPyEndAllowThreads(__tstate);
21013 if (PyErr_Occurred()) SWIG_fail;
21014 }
21015 {
21016 wxPoint * resultptr;
21017 resultptr = new wxPoint((wxPoint &) result);
21018 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
21019 }
21020 return resultobj;
21021 fail:
21022 return NULL;
21023 }
21024
21025
21026 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21027 PyObject *resultobj;
21028 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21029 long arg2 ;
21030 int arg3 = (int) wxLIST_RECT_BOUNDS ;
21031 wxRect result;
21032 PyObject * obj0 = 0 ;
21033 PyObject * obj1 = 0 ;
21034 PyObject * obj2 = 0 ;
21035 char *kwnames[] = {
21036 (char *) "self",(char *) "item",(char *) "code", NULL
21037 };
21038
21039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
21040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21042 arg2 = (long) SWIG_AsLong(obj1);
21043 if (PyErr_Occurred()) SWIG_fail;
21044 if (obj2) {
21045 arg3 = (int) SWIG_AsInt(obj2);
21046 if (PyErr_Occurred()) SWIG_fail;
21047 }
21048 {
21049 PyThreadState* __tstate = wxPyBeginAllowThreads();
21050 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
21051
21052 wxPyEndAllowThreads(__tstate);
21053 if (PyErr_Occurred()) SWIG_fail;
21054 }
21055 {
21056 wxRect * resultptr;
21057 resultptr = new wxRect((wxRect &) result);
21058 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
21059 }
21060 return resultobj;
21061 fail:
21062 return NULL;
21063 }
21064
21065
21066 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21067 PyObject *resultobj;
21068 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21069 long arg2 ;
21070 wxPoint *arg3 = 0 ;
21071 bool result;
21072 wxPoint temp3 ;
21073 PyObject * obj0 = 0 ;
21074 PyObject * obj1 = 0 ;
21075 PyObject * obj2 = 0 ;
21076 char *kwnames[] = {
21077 (char *) "self",(char *) "item",(char *) "pos", NULL
21078 };
21079
21080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
21081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21083 arg2 = (long) SWIG_AsLong(obj1);
21084 if (PyErr_Occurred()) SWIG_fail;
21085 {
21086 arg3 = &temp3;
21087 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21088 }
21089 {
21090 PyThreadState* __tstate = wxPyBeginAllowThreads();
21091 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
21092
21093 wxPyEndAllowThreads(__tstate);
21094 if (PyErr_Occurred()) SWIG_fail;
21095 }
21096 {
21097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21098 }
21099 return resultobj;
21100 fail:
21101 return NULL;
21102 }
21103
21104
21105 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21106 PyObject *resultobj;
21107 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21108 int result;
21109 PyObject * obj0 = 0 ;
21110 char *kwnames[] = {
21111 (char *) "self", NULL
21112 };
21113
21114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
21115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21117 {
21118 PyThreadState* __tstate = wxPyBeginAllowThreads();
21119 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
21120
21121 wxPyEndAllowThreads(__tstate);
21122 if (PyErr_Occurred()) SWIG_fail;
21123 }
21124 resultobj = SWIG_FromInt((int)result);
21125 return resultobj;
21126 fail:
21127 return NULL;
21128 }
21129
21130
21131 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21132 PyObject *resultobj;
21133 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21134 int result;
21135 PyObject * obj0 = 0 ;
21136 char *kwnames[] = {
21137 (char *) "self", NULL
21138 };
21139
21140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
21141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21143 {
21144 PyThreadState* __tstate = wxPyBeginAllowThreads();
21145 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
21146
21147 wxPyEndAllowThreads(__tstate);
21148 if (PyErr_Occurred()) SWIG_fail;
21149 }
21150 resultobj = SWIG_FromInt((int)result);
21151 return resultobj;
21152 fail:
21153 return NULL;
21154 }
21155
21156
21157 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21158 PyObject *resultobj;
21159 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21160 wxSize result;
21161 PyObject * obj0 = 0 ;
21162 char *kwnames[] = {
21163 (char *) "self", NULL
21164 };
21165
21166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
21167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21169 {
21170 PyThreadState* __tstate = wxPyBeginAllowThreads();
21171 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
21172
21173 wxPyEndAllowThreads(__tstate);
21174 if (PyErr_Occurred()) SWIG_fail;
21175 }
21176 {
21177 wxSize * resultptr;
21178 resultptr = new wxSize((wxSize &) result);
21179 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21180 }
21181 return resultobj;
21182 fail:
21183 return NULL;
21184 }
21185
21186
21187 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21188 PyObject *resultobj;
21189 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21190 int arg2 ;
21191 bool arg3 = (bool) False ;
21192 PyObject * obj0 = 0 ;
21193 PyObject * obj1 = 0 ;
21194 PyObject * obj2 = 0 ;
21195 char *kwnames[] = {
21196 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
21197 };
21198
21199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
21200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21202 arg2 = (int) SWIG_AsInt(obj1);
21203 if (PyErr_Occurred()) SWIG_fail;
21204 if (obj2) {
21205 arg3 = (bool) SWIG_AsBool(obj2);
21206 if (PyErr_Occurred()) SWIG_fail;
21207 }
21208 {
21209 PyThreadState* __tstate = wxPyBeginAllowThreads();
21210 (arg1)->SetItemSpacing(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_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21223 PyObject *resultobj;
21224 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21225 int result;
21226 PyObject * obj0 = 0 ;
21227 char *kwnames[] = {
21228 (char *) "self", NULL
21229 };
21230
21231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
21232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21234 {
21235 PyThreadState* __tstate = wxPyBeginAllowThreads();
21236 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
21237
21238 wxPyEndAllowThreads(__tstate);
21239 if (PyErr_Occurred()) SWIG_fail;
21240 }
21241 resultobj = SWIG_FromInt((int)result);
21242 return resultobj;
21243 fail:
21244 return NULL;
21245 }
21246
21247
21248 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21249 PyObject *resultobj;
21250 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21251 wxColour result;
21252 PyObject * obj0 = 0 ;
21253 char *kwnames[] = {
21254 (char *) "self", NULL
21255 };
21256
21257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
21258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21260 {
21261 PyThreadState* __tstate = wxPyBeginAllowThreads();
21262 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
21263
21264 wxPyEndAllowThreads(__tstate);
21265 if (PyErr_Occurred()) SWIG_fail;
21266 }
21267 {
21268 wxColour * resultptr;
21269 resultptr = new wxColour((wxColour &) result);
21270 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21271 }
21272 return resultobj;
21273 fail:
21274 return NULL;
21275 }
21276
21277
21278 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21279 PyObject *resultobj;
21280 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21281 wxColour *arg2 = 0 ;
21282 wxColour temp2 ;
21283 PyObject * obj0 = 0 ;
21284 PyObject * obj1 = 0 ;
21285 char *kwnames[] = {
21286 (char *) "self",(char *) "col", NULL
21287 };
21288
21289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21292 {
21293 arg2 = &temp2;
21294 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21295 }
21296 {
21297 PyThreadState* __tstate = wxPyBeginAllowThreads();
21298 (arg1)->SetTextColour((wxColour const &)*arg2);
21299
21300 wxPyEndAllowThreads(__tstate);
21301 if (PyErr_Occurred()) SWIG_fail;
21302 }
21303 Py_INCREF(Py_None); resultobj = Py_None;
21304 return resultobj;
21305 fail:
21306 return NULL;
21307 }
21308
21309
21310 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21311 PyObject *resultobj;
21312 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21313 long result;
21314 PyObject * obj0 = 0 ;
21315 char *kwnames[] = {
21316 (char *) "self", NULL
21317 };
21318
21319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
21320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21322 {
21323 PyThreadState* __tstate = wxPyBeginAllowThreads();
21324 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
21325
21326 wxPyEndAllowThreads(__tstate);
21327 if (PyErr_Occurred()) SWIG_fail;
21328 }
21329 resultobj = SWIG_FromLong((long)result);
21330 return resultobj;
21331 fail:
21332 return NULL;
21333 }
21334
21335
21336 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
21337 PyObject *resultobj;
21338 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21339 long arg2 ;
21340 bool arg3 = (bool) True ;
21341 PyObject * obj0 = 0 ;
21342 PyObject * obj1 = 0 ;
21343 PyObject * obj2 = 0 ;
21344 char *kwnames[] = {
21345 (char *) "self",(char *) "style",(char *) "add", NULL
21346 };
21347
21348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
21349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21351 arg2 = (long) SWIG_AsLong(obj1);
21352 if (PyErr_Occurred()) SWIG_fail;
21353 if (obj2) {
21354 arg3 = (bool) SWIG_AsBool(obj2);
21355 if (PyErr_Occurred()) SWIG_fail;
21356 }
21357 {
21358 PyThreadState* __tstate = wxPyBeginAllowThreads();
21359 (arg1)->SetSingleStyle(arg2,arg3);
21360
21361 wxPyEndAllowThreads(__tstate);
21362 if (PyErr_Occurred()) SWIG_fail;
21363 }
21364 Py_INCREF(Py_None); resultobj = Py_None;
21365 return resultobj;
21366 fail:
21367 return NULL;
21368 }
21369
21370
21371 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
21372 PyObject *resultobj;
21373 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21374 long arg2 ;
21375 PyObject * obj0 = 0 ;
21376 PyObject * obj1 = 0 ;
21377 char *kwnames[] = {
21378 (char *) "self",(char *) "style", NULL
21379 };
21380
21381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
21382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21384 arg2 = (long) SWIG_AsLong(obj1);
21385 if (PyErr_Occurred()) SWIG_fail;
21386 {
21387 PyThreadState* __tstate = wxPyBeginAllowThreads();
21388 (arg1)->SetWindowStyleFlag(arg2);
21389
21390 wxPyEndAllowThreads(__tstate);
21391 if (PyErr_Occurred()) SWIG_fail;
21392 }
21393 Py_INCREF(Py_None); resultobj = Py_None;
21394 return resultobj;
21395 fail:
21396 return NULL;
21397 }
21398
21399
21400 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21401 PyObject *resultobj;
21402 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21403 long arg2 ;
21404 int arg3 = (int) wxLIST_NEXT_ALL ;
21405 int arg4 = (int) wxLIST_STATE_DONTCARE ;
21406 long result;
21407 PyObject * obj0 = 0 ;
21408 PyObject * obj1 = 0 ;
21409 PyObject * obj2 = 0 ;
21410 PyObject * obj3 = 0 ;
21411 char *kwnames[] = {
21412 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21413 };
21414
21415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21418 arg2 = (long) SWIG_AsLong(obj1);
21419 if (PyErr_Occurred()) SWIG_fail;
21420 if (obj2) {
21421 arg3 = (int) SWIG_AsInt(obj2);
21422 if (PyErr_Occurred()) SWIG_fail;
21423 }
21424 if (obj3) {
21425 arg4 = (int) SWIG_AsInt(obj3);
21426 if (PyErr_Occurred()) SWIG_fail;
21427 }
21428 {
21429 PyThreadState* __tstate = wxPyBeginAllowThreads();
21430 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
21431
21432 wxPyEndAllowThreads(__tstate);
21433 if (PyErr_Occurred()) SWIG_fail;
21434 }
21435 resultobj = SWIG_FromLong((long)result);
21436 return resultobj;
21437 fail:
21438 return NULL;
21439 }
21440
21441
21442 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21443 PyObject *resultobj;
21444 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21445 int arg2 ;
21446 wxImageList *result;
21447 PyObject * obj0 = 0 ;
21448 PyObject * obj1 = 0 ;
21449 char *kwnames[] = {
21450 (char *) "self",(char *) "which", NULL
21451 };
21452
21453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
21454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21456 arg2 = (int) SWIG_AsInt(obj1);
21457 if (PyErr_Occurred()) SWIG_fail;
21458 {
21459 PyThreadState* __tstate = wxPyBeginAllowThreads();
21460 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
21461
21462 wxPyEndAllowThreads(__tstate);
21463 if (PyErr_Occurred()) SWIG_fail;
21464 }
21465 {
21466 resultobj = wxPyMake_wxObject(result);
21467 }
21468 return resultobj;
21469 fail:
21470 return NULL;
21471 }
21472
21473
21474 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21475 PyObject *resultobj;
21476 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21477 wxImageList *arg2 = (wxImageList *) 0 ;
21478 int arg3 ;
21479 PyObject * obj0 = 0 ;
21480 PyObject * obj1 = 0 ;
21481 PyObject * obj2 = 0 ;
21482 char *kwnames[] = {
21483 (char *) "self",(char *) "imageList",(char *) "which", NULL
21484 };
21485
21486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21489 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21491 arg3 = (int) SWIG_AsInt(obj2);
21492 if (PyErr_Occurred()) SWIG_fail;
21493 {
21494 PyThreadState* __tstate = wxPyBeginAllowThreads();
21495 (arg1)->SetImageList(arg2,arg3);
21496
21497 wxPyEndAllowThreads(__tstate);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 }
21500 Py_INCREF(Py_None); resultobj = Py_None;
21501 return resultobj;
21502 fail:
21503 return NULL;
21504 }
21505
21506
21507 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21508 PyObject *resultobj;
21509 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21510 wxImageList *arg2 = (wxImageList *) 0 ;
21511 int arg3 ;
21512 PyObject * obj0 = 0 ;
21513 PyObject * obj1 = 0 ;
21514 PyObject * obj2 = 0 ;
21515 char *kwnames[] = {
21516 (char *) "self",(char *) "imageList",(char *) "which", NULL
21517 };
21518
21519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21523 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
21524 arg3 = (int) SWIG_AsInt(obj2);
21525 if (PyErr_Occurred()) SWIG_fail;
21526 {
21527 PyThreadState* __tstate = wxPyBeginAllowThreads();
21528 (arg1)->AssignImageList(arg2,arg3);
21529
21530 wxPyEndAllowThreads(__tstate);
21531 if (PyErr_Occurred()) SWIG_fail;
21532 }
21533 Py_INCREF(Py_None); resultobj = Py_None;
21534 return resultobj;
21535 fail:
21536 return NULL;
21537 }
21538
21539
21540 static PyObject *_wrap_ListCtrl_InReportView(PyObject *self, PyObject *args, PyObject *kwargs) {
21541 PyObject *resultobj;
21542 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21543 bool result;
21544 PyObject * obj0 = 0 ;
21545 char *kwnames[] = {
21546 (char *) "self", NULL
21547 };
21548
21549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
21550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21552 {
21553 PyThreadState* __tstate = wxPyBeginAllowThreads();
21554 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
21555
21556 wxPyEndAllowThreads(__tstate);
21557 if (PyErr_Occurred()) SWIG_fail;
21558 }
21559 {
21560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21561 }
21562 return resultobj;
21563 fail:
21564 return NULL;
21565 }
21566
21567
21568 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
21569 PyObject *resultobj;
21570 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21571 bool result;
21572 PyObject * obj0 = 0 ;
21573 char *kwnames[] = {
21574 (char *) "self", NULL
21575 };
21576
21577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
21578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21580 {
21581 PyThreadState* __tstate = wxPyBeginAllowThreads();
21582 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
21583
21584 wxPyEndAllowThreads(__tstate);
21585 if (PyErr_Occurred()) SWIG_fail;
21586 }
21587 {
21588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21589 }
21590 return resultobj;
21591 fail:
21592 return NULL;
21593 }
21594
21595
21596 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21597 PyObject *resultobj;
21598 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21599 long arg2 ;
21600 PyObject * obj0 = 0 ;
21601 PyObject * obj1 = 0 ;
21602 char *kwnames[] = {
21603 (char *) "self",(char *) "item", NULL
21604 };
21605
21606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
21607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21609 arg2 = (long) SWIG_AsLong(obj1);
21610 if (PyErr_Occurred()) SWIG_fail;
21611 {
21612 PyThreadState* __tstate = wxPyBeginAllowThreads();
21613 (arg1)->RefreshItem(arg2);
21614
21615 wxPyEndAllowThreads(__tstate);
21616 if (PyErr_Occurred()) SWIG_fail;
21617 }
21618 Py_INCREF(Py_None); resultobj = Py_None;
21619 return resultobj;
21620 fail:
21621 return NULL;
21622 }
21623
21624
21625 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21626 PyObject *resultobj;
21627 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21628 long arg2 ;
21629 long arg3 ;
21630 PyObject * obj0 = 0 ;
21631 PyObject * obj1 = 0 ;
21632 PyObject * obj2 = 0 ;
21633 char *kwnames[] = {
21634 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21635 };
21636
21637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
21638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21640 arg2 = (long) SWIG_AsLong(obj1);
21641 if (PyErr_Occurred()) SWIG_fail;
21642 arg3 = (long) SWIG_AsLong(obj2);
21643 if (PyErr_Occurred()) SWIG_fail;
21644 {
21645 PyThreadState* __tstate = wxPyBeginAllowThreads();
21646 (arg1)->RefreshItems(arg2,arg3);
21647
21648 wxPyEndAllowThreads(__tstate);
21649 if (PyErr_Occurred()) SWIG_fail;
21650 }
21651 Py_INCREF(Py_None); resultobj = Py_None;
21652 return resultobj;
21653 fail:
21654 return NULL;
21655 }
21656
21657
21658 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
21659 PyObject *resultobj;
21660 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21661 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21662 bool result;
21663 PyObject * obj0 = 0 ;
21664 PyObject * obj1 = 0 ;
21665 char *kwnames[] = {
21666 (char *) "self",(char *) "flag", NULL
21667 };
21668
21669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
21670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21672 if (obj1) {
21673 arg2 = (int) SWIG_AsInt(obj1);
21674 if (PyErr_Occurred()) SWIG_fail;
21675 }
21676 {
21677 PyThreadState* __tstate = wxPyBeginAllowThreads();
21678 result = (bool)(arg1)->Arrange(arg2);
21679
21680 wxPyEndAllowThreads(__tstate);
21681 if (PyErr_Occurred()) SWIG_fail;
21682 }
21683 {
21684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21685 }
21686 return resultobj;
21687 fail:
21688 return NULL;
21689 }
21690
21691
21692 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21693 PyObject *resultobj;
21694 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21695 long arg2 ;
21696 bool result;
21697 PyObject * obj0 = 0 ;
21698 PyObject * obj1 = 0 ;
21699 char *kwnames[] = {
21700 (char *) "self",(char *) "item", NULL
21701 };
21702
21703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
21704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21706 arg2 = (long) SWIG_AsLong(obj1);
21707 if (PyErr_Occurred()) SWIG_fail;
21708 {
21709 PyThreadState* __tstate = wxPyBeginAllowThreads();
21710 result = (bool)(arg1)->DeleteItem(arg2);
21711
21712 wxPyEndAllowThreads(__tstate);
21713 if (PyErr_Occurred()) SWIG_fail;
21714 }
21715 {
21716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21717 }
21718 return resultobj;
21719 fail:
21720 return NULL;
21721 }
21722
21723
21724 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21725 PyObject *resultobj;
21726 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21727 bool result;
21728 PyObject * obj0 = 0 ;
21729 char *kwnames[] = {
21730 (char *) "self", NULL
21731 };
21732
21733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
21734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21736 {
21737 PyThreadState* __tstate = wxPyBeginAllowThreads();
21738 result = (bool)(arg1)->DeleteAllItems();
21739
21740 wxPyEndAllowThreads(__tstate);
21741 if (PyErr_Occurred()) SWIG_fail;
21742 }
21743 {
21744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21745 }
21746 return resultobj;
21747 fail:
21748 return NULL;
21749 }
21750
21751
21752 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21753 PyObject *resultobj;
21754 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21755 int arg2 ;
21756 bool result;
21757 PyObject * obj0 = 0 ;
21758 PyObject * obj1 = 0 ;
21759 char *kwnames[] = {
21760 (char *) "self",(char *) "col", NULL
21761 };
21762
21763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
21764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21766 arg2 = (int) SWIG_AsInt(obj1);
21767 if (PyErr_Occurred()) SWIG_fail;
21768 {
21769 PyThreadState* __tstate = wxPyBeginAllowThreads();
21770 result = (bool)(arg1)->DeleteColumn(arg2);
21771
21772 wxPyEndAllowThreads(__tstate);
21773 if (PyErr_Occurred()) SWIG_fail;
21774 }
21775 {
21776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21777 }
21778 return resultobj;
21779 fail:
21780 return NULL;
21781 }
21782
21783
21784 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
21785 PyObject *resultobj;
21786 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21787 bool result;
21788 PyObject * obj0 = 0 ;
21789 char *kwnames[] = {
21790 (char *) "self", NULL
21791 };
21792
21793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
21794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21796 {
21797 PyThreadState* __tstate = wxPyBeginAllowThreads();
21798 result = (bool)(arg1)->DeleteAllColumns();
21799
21800 wxPyEndAllowThreads(__tstate);
21801 if (PyErr_Occurred()) SWIG_fail;
21802 }
21803 {
21804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21805 }
21806 return resultobj;
21807 fail:
21808 return NULL;
21809 }
21810
21811
21812 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
21813 PyObject *resultobj;
21814 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21815 PyObject * obj0 = 0 ;
21816 char *kwnames[] = {
21817 (char *) "self", NULL
21818 };
21819
21820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
21821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21823 {
21824 PyThreadState* __tstate = wxPyBeginAllowThreads();
21825 (arg1)->ClearAll();
21826
21827 wxPyEndAllowThreads(__tstate);
21828 if (PyErr_Occurred()) SWIG_fail;
21829 }
21830 Py_INCREF(Py_None); resultobj = Py_None;
21831 return resultobj;
21832 fail:
21833 return NULL;
21834 }
21835
21836
21837 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21838 PyObject *resultobj;
21839 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21840 long arg2 ;
21841 PyObject * obj0 = 0 ;
21842 PyObject * obj1 = 0 ;
21843 char *kwnames[] = {
21844 (char *) "self",(char *) "item", NULL
21845 };
21846
21847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
21848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21850 arg2 = (long) SWIG_AsLong(obj1);
21851 if (PyErr_Occurred()) SWIG_fail;
21852 {
21853 PyThreadState* __tstate = wxPyBeginAllowThreads();
21854 (arg1)->EditLabel(arg2);
21855
21856 wxPyEndAllowThreads(__tstate);
21857 if (PyErr_Occurred()) SWIG_fail;
21858 }
21859 Py_INCREF(Py_None); resultobj = Py_None;
21860 return resultobj;
21861 fail:
21862 return NULL;
21863 }
21864
21865
21866 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21867 PyObject *resultobj;
21868 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21869 long arg2 ;
21870 bool result;
21871 PyObject * obj0 = 0 ;
21872 PyObject * obj1 = 0 ;
21873 char *kwnames[] = {
21874 (char *) "self",(char *) "item", NULL
21875 };
21876
21877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
21878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21880 arg2 = (long) SWIG_AsLong(obj1);
21881 if (PyErr_Occurred()) SWIG_fail;
21882 {
21883 PyThreadState* __tstate = wxPyBeginAllowThreads();
21884 result = (bool)(arg1)->EnsureVisible(arg2);
21885
21886 wxPyEndAllowThreads(__tstate);
21887 if (PyErr_Occurred()) SWIG_fail;
21888 }
21889 {
21890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21891 }
21892 return resultobj;
21893 fail:
21894 return NULL;
21895 }
21896
21897
21898 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21899 PyObject *resultobj;
21900 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21901 long arg2 ;
21902 wxString *arg3 = 0 ;
21903 bool arg4 = (bool) False ;
21904 long result;
21905 bool temp3 = False ;
21906 PyObject * obj0 = 0 ;
21907 PyObject * obj1 = 0 ;
21908 PyObject * obj2 = 0 ;
21909 PyObject * obj3 = 0 ;
21910 char *kwnames[] = {
21911 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21912 };
21913
21914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21917 arg2 = (long) SWIG_AsLong(obj1);
21918 if (PyErr_Occurred()) SWIG_fail;
21919 {
21920 arg3 = wxString_in_helper(obj2);
21921 if (arg3 == NULL) SWIG_fail;
21922 temp3 = True;
21923 }
21924 if (obj3) {
21925 arg4 = (bool) SWIG_AsBool(obj3);
21926 if (PyErr_Occurred()) SWIG_fail;
21927 }
21928 {
21929 PyThreadState* __tstate = wxPyBeginAllowThreads();
21930 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
21931
21932 wxPyEndAllowThreads(__tstate);
21933 if (PyErr_Occurred()) SWIG_fail;
21934 }
21935 resultobj = SWIG_FromLong((long)result);
21936 {
21937 if (temp3)
21938 delete arg3;
21939 }
21940 return resultobj;
21941 fail:
21942 {
21943 if (temp3)
21944 delete arg3;
21945 }
21946 return NULL;
21947 }
21948
21949
21950 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21951 PyObject *resultobj;
21952 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21953 long arg2 ;
21954 long arg3 ;
21955 long result;
21956 PyObject * obj0 = 0 ;
21957 PyObject * obj1 = 0 ;
21958 PyObject * obj2 = 0 ;
21959 char *kwnames[] = {
21960 (char *) "self",(char *) "start",(char *) "data", NULL
21961 };
21962
21963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21966 arg2 = (long) SWIG_AsLong(obj1);
21967 if (PyErr_Occurred()) SWIG_fail;
21968 arg3 = (long) SWIG_AsLong(obj2);
21969 if (PyErr_Occurred()) SWIG_fail;
21970 {
21971 PyThreadState* __tstate = wxPyBeginAllowThreads();
21972 result = (long)(arg1)->FindItem(arg2,arg3);
21973
21974 wxPyEndAllowThreads(__tstate);
21975 if (PyErr_Occurred()) SWIG_fail;
21976 }
21977 resultobj = SWIG_FromLong((long)result);
21978 return resultobj;
21979 fail:
21980 return NULL;
21981 }
21982
21983
21984 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
21985 PyObject *resultobj;
21986 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21987 long arg2 ;
21988 wxPoint *arg3 = 0 ;
21989 int arg4 ;
21990 long result;
21991 wxPoint temp3 ;
21992 PyObject * obj0 = 0 ;
21993 PyObject * obj1 = 0 ;
21994 PyObject * obj2 = 0 ;
21995 PyObject * obj3 = 0 ;
21996 char *kwnames[] = {
21997 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21998 };
21999
22000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22003 arg2 = (long) SWIG_AsLong(obj1);
22004 if (PyErr_Occurred()) SWIG_fail;
22005 {
22006 arg3 = &temp3;
22007 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22008 }
22009 arg4 = (int) SWIG_AsInt(obj3);
22010 if (PyErr_Occurred()) SWIG_fail;
22011 {
22012 PyThreadState* __tstate = wxPyBeginAllowThreads();
22013 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
22014
22015 wxPyEndAllowThreads(__tstate);
22016 if (PyErr_Occurred()) SWIG_fail;
22017 }
22018 resultobj = SWIG_FromLong((long)result);
22019 return resultobj;
22020 fail:
22021 return NULL;
22022 }
22023
22024
22025 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22026 PyObject *resultobj;
22027 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22028 wxPoint *arg2 = 0 ;
22029 int *arg3 = 0 ;
22030 long result;
22031 wxPoint temp2 ;
22032 int temp3 ;
22033 PyObject * obj0 = 0 ;
22034 PyObject * obj1 = 0 ;
22035 char *kwnames[] = {
22036 (char *) "self",(char *) "point", NULL
22037 };
22038
22039 arg3 = &temp3;
22040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
22041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22043 {
22044 arg2 = &temp2;
22045 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22046 }
22047 {
22048 PyThreadState* __tstate = wxPyBeginAllowThreads();
22049 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22050
22051 wxPyEndAllowThreads(__tstate);
22052 if (PyErr_Occurred()) SWIG_fail;
22053 }
22054 resultobj = SWIG_FromLong((long)result);
22055 {
22056 PyObject *o = PyInt_FromLong((long) (*arg3));
22057 resultobj = t_output_helper(resultobj,o);
22058 }
22059 return resultobj;
22060 fail:
22061 return NULL;
22062 }
22063
22064
22065 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22066 PyObject *resultobj;
22067 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22068 wxListItem *arg2 = 0 ;
22069 long result;
22070 PyObject * obj0 = 0 ;
22071 PyObject * obj1 = 0 ;
22072 char *kwnames[] = {
22073 (char *) "self",(char *) "info", NULL
22074 };
22075
22076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
22077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22079 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
22080 SWIG_POINTER_EXCEPTION | 0)) == -1)
22081 SWIG_fail;
22082 if (arg2 == NULL) {
22083 PyErr_SetString(PyExc_TypeError,"null reference");
22084 SWIG_fail;
22085 }
22086 {
22087 PyThreadState* __tstate = wxPyBeginAllowThreads();
22088 result = (long)(arg1)->InsertItem(*arg2);
22089
22090 wxPyEndAllowThreads(__tstate);
22091 if (PyErr_Occurred()) SWIG_fail;
22092 }
22093 resultobj = SWIG_FromLong((long)result);
22094 return resultobj;
22095 fail:
22096 return NULL;
22097 }
22098
22099
22100 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22101 PyObject *resultobj;
22102 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22103 long arg2 ;
22104 wxString *arg3 = 0 ;
22105 long result;
22106 bool temp3 = False ;
22107 PyObject * obj0 = 0 ;
22108 PyObject * obj1 = 0 ;
22109 PyObject * obj2 = 0 ;
22110 char *kwnames[] = {
22111 (char *) "self",(char *) "index",(char *) "label", NULL
22112 };
22113
22114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
22115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22117 arg2 = (long) SWIG_AsLong(obj1);
22118 if (PyErr_Occurred()) SWIG_fail;
22119 {
22120 arg3 = wxString_in_helper(obj2);
22121 if (arg3 == NULL) SWIG_fail;
22122 temp3 = True;
22123 }
22124 {
22125 PyThreadState* __tstate = wxPyBeginAllowThreads();
22126 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
22127
22128 wxPyEndAllowThreads(__tstate);
22129 if (PyErr_Occurred()) SWIG_fail;
22130 }
22131 resultobj = SWIG_FromLong((long)result);
22132 {
22133 if (temp3)
22134 delete arg3;
22135 }
22136 return resultobj;
22137 fail:
22138 {
22139 if (temp3)
22140 delete arg3;
22141 }
22142 return NULL;
22143 }
22144
22145
22146 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22147 PyObject *resultobj;
22148 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22149 long arg2 ;
22150 int arg3 ;
22151 long result;
22152 PyObject * obj0 = 0 ;
22153 PyObject * obj1 = 0 ;
22154 PyObject * obj2 = 0 ;
22155 char *kwnames[] = {
22156 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22157 };
22158
22159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
22160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22162 arg2 = (long) SWIG_AsLong(obj1);
22163 if (PyErr_Occurred()) SWIG_fail;
22164 arg3 = (int) SWIG_AsInt(obj2);
22165 if (PyErr_Occurred()) SWIG_fail;
22166 {
22167 PyThreadState* __tstate = wxPyBeginAllowThreads();
22168 result = (long)(arg1)->InsertItem(arg2,arg3);
22169
22170 wxPyEndAllowThreads(__tstate);
22171 if (PyErr_Occurred()) SWIG_fail;
22172 }
22173 resultobj = SWIG_FromLong((long)result);
22174 return resultobj;
22175 fail:
22176 return NULL;
22177 }
22178
22179
22180 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22181 PyObject *resultobj;
22182 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22183 long arg2 ;
22184 wxString *arg3 = 0 ;
22185 int arg4 ;
22186 long result;
22187 bool temp3 = False ;
22188 PyObject * obj0 = 0 ;
22189 PyObject * obj1 = 0 ;
22190 PyObject * obj2 = 0 ;
22191 PyObject * obj3 = 0 ;
22192 char *kwnames[] = {
22193 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22194 };
22195
22196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22199 arg2 = (long) SWIG_AsLong(obj1);
22200 if (PyErr_Occurred()) SWIG_fail;
22201 {
22202 arg3 = wxString_in_helper(obj2);
22203 if (arg3 == NULL) SWIG_fail;
22204 temp3 = True;
22205 }
22206 arg4 = (int) SWIG_AsInt(obj3);
22207 if (PyErr_Occurred()) SWIG_fail;
22208 {
22209 PyThreadState* __tstate = wxPyBeginAllowThreads();
22210 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
22211
22212 wxPyEndAllowThreads(__tstate);
22213 if (PyErr_Occurred()) SWIG_fail;
22214 }
22215 resultobj = SWIG_FromLong((long)result);
22216 {
22217 if (temp3)
22218 delete arg3;
22219 }
22220 return resultobj;
22221 fail:
22222 {
22223 if (temp3)
22224 delete arg3;
22225 }
22226 return NULL;
22227 }
22228
22229
22230 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22231 PyObject *resultobj;
22232 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22233 long arg2 ;
22234 wxListItem *arg3 = 0 ;
22235 long result;
22236 PyObject * obj0 = 0 ;
22237 PyObject * obj1 = 0 ;
22238 PyObject * obj2 = 0 ;
22239 char *kwnames[] = {
22240 (char *) "self",(char *) "col",(char *) "info", NULL
22241 };
22242
22243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22246 arg2 = (long) SWIG_AsLong(obj1);
22247 if (PyErr_Occurred()) SWIG_fail;
22248 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
22249 SWIG_POINTER_EXCEPTION | 0)) == -1)
22250 SWIG_fail;
22251 if (arg3 == NULL) {
22252 PyErr_SetString(PyExc_TypeError,"null reference");
22253 SWIG_fail;
22254 }
22255 {
22256 PyThreadState* __tstate = wxPyBeginAllowThreads();
22257 result = (long)(arg1)->InsertColumn(arg2,*arg3);
22258
22259 wxPyEndAllowThreads(__tstate);
22260 if (PyErr_Occurred()) SWIG_fail;
22261 }
22262 resultobj = SWIG_FromLong((long)result);
22263 return resultobj;
22264 fail:
22265 return NULL;
22266 }
22267
22268
22269 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22270 PyObject *resultobj;
22271 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22272 long arg2 ;
22273 wxString *arg3 = 0 ;
22274 int arg4 = (int) wxLIST_FORMAT_LEFT ;
22275 int arg5 = (int) -1 ;
22276 long result;
22277 bool temp3 = False ;
22278 PyObject * obj0 = 0 ;
22279 PyObject * obj1 = 0 ;
22280 PyObject * obj2 = 0 ;
22281 PyObject * obj3 = 0 ;
22282 PyObject * obj4 = 0 ;
22283 char *kwnames[] = {
22284 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22285 };
22286
22287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22290 arg2 = (long) SWIG_AsLong(obj1);
22291 if (PyErr_Occurred()) SWIG_fail;
22292 {
22293 arg3 = wxString_in_helper(obj2);
22294 if (arg3 == NULL) SWIG_fail;
22295 temp3 = True;
22296 }
22297 if (obj3) {
22298 arg4 = (int) SWIG_AsInt(obj3);
22299 if (PyErr_Occurred()) SWIG_fail;
22300 }
22301 if (obj4) {
22302 arg5 = (int) SWIG_AsInt(obj4);
22303 if (PyErr_Occurred()) SWIG_fail;
22304 }
22305 {
22306 PyThreadState* __tstate = wxPyBeginAllowThreads();
22307 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
22308
22309 wxPyEndAllowThreads(__tstate);
22310 if (PyErr_Occurred()) SWIG_fail;
22311 }
22312 resultobj = SWIG_FromLong((long)result);
22313 {
22314 if (temp3)
22315 delete arg3;
22316 }
22317 return resultobj;
22318 fail:
22319 {
22320 if (temp3)
22321 delete arg3;
22322 }
22323 return NULL;
22324 }
22325
22326
22327 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22328 PyObject *resultobj;
22329 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22330 long arg2 ;
22331 PyObject * obj0 = 0 ;
22332 PyObject * obj1 = 0 ;
22333 char *kwnames[] = {
22334 (char *) "self",(char *) "count", NULL
22335 };
22336
22337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
22338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22340 arg2 = (long) SWIG_AsLong(obj1);
22341 if (PyErr_Occurred()) SWIG_fail;
22342 {
22343 PyThreadState* __tstate = wxPyBeginAllowThreads();
22344 (arg1)->SetItemCount(arg2);
22345
22346 wxPyEndAllowThreads(__tstate);
22347 if (PyErr_Occurred()) SWIG_fail;
22348 }
22349 Py_INCREF(Py_None); resultobj = Py_None;
22350 return resultobj;
22351 fail:
22352 return NULL;
22353 }
22354
22355
22356 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
22357 PyObject *resultobj;
22358 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22359 int arg2 ;
22360 int arg3 ;
22361 bool result;
22362 PyObject * obj0 = 0 ;
22363 PyObject * obj1 = 0 ;
22364 PyObject * obj2 = 0 ;
22365 char *kwnames[] = {
22366 (char *) "self",(char *) "dx",(char *) "dy", NULL
22367 };
22368
22369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22372 arg2 = (int) SWIG_AsInt(obj1);
22373 if (PyErr_Occurred()) SWIG_fail;
22374 arg3 = (int) SWIG_AsInt(obj2);
22375 if (PyErr_Occurred()) SWIG_fail;
22376 {
22377 PyThreadState* __tstate = wxPyBeginAllowThreads();
22378 result = (bool)(arg1)->ScrollList(arg2,arg3);
22379
22380 wxPyEndAllowThreads(__tstate);
22381 if (PyErr_Occurred()) SWIG_fail;
22382 }
22383 {
22384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22385 }
22386 return resultobj;
22387 fail:
22388 return NULL;
22389 }
22390
22391
22392 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22393 PyObject *resultobj;
22394 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22395 long arg2 ;
22396 wxColour *arg3 = 0 ;
22397 wxColour temp3 ;
22398 PyObject * obj0 = 0 ;
22399 PyObject * obj1 = 0 ;
22400 PyObject * obj2 = 0 ;
22401 char *kwnames[] = {
22402 (char *) "self",(char *) "item",(char *) "col", NULL
22403 };
22404
22405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22408 arg2 = (long) SWIG_AsLong(obj1);
22409 if (PyErr_Occurred()) SWIG_fail;
22410 {
22411 arg3 = &temp3;
22412 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22413 }
22414 {
22415 PyThreadState* __tstate = wxPyBeginAllowThreads();
22416 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
22417
22418 wxPyEndAllowThreads(__tstate);
22419 if (PyErr_Occurred()) SWIG_fail;
22420 }
22421 Py_INCREF(Py_None); resultobj = Py_None;
22422 return resultobj;
22423 fail:
22424 return NULL;
22425 }
22426
22427
22428 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22429 PyObject *resultobj;
22430 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22431 long arg2 ;
22432 wxColour result;
22433 PyObject * obj0 = 0 ;
22434 PyObject * obj1 = 0 ;
22435 char *kwnames[] = {
22436 (char *) "self",(char *) "item", NULL
22437 };
22438
22439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
22440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22442 arg2 = (long) SWIG_AsLong(obj1);
22443 if (PyErr_Occurred()) SWIG_fail;
22444 {
22445 PyThreadState* __tstate = wxPyBeginAllowThreads();
22446 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
22447
22448 wxPyEndAllowThreads(__tstate);
22449 if (PyErr_Occurred()) SWIG_fail;
22450 }
22451 {
22452 wxColour * resultptr;
22453 resultptr = new wxColour((wxColour &) result);
22454 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22455 }
22456 return resultobj;
22457 fail:
22458 return NULL;
22459 }
22460
22461
22462 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22463 PyObject *resultobj;
22464 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22465 long arg2 ;
22466 wxColour *arg3 = 0 ;
22467 wxColour temp3 ;
22468 PyObject * obj0 = 0 ;
22469 PyObject * obj1 = 0 ;
22470 PyObject * obj2 = 0 ;
22471 char *kwnames[] = {
22472 (char *) "self",(char *) "item",(char *) "col", NULL
22473 };
22474
22475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22478 arg2 = (long) SWIG_AsLong(obj1);
22479 if (PyErr_Occurred()) SWIG_fail;
22480 {
22481 arg3 = &temp3;
22482 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22483 }
22484 {
22485 PyThreadState* __tstate = wxPyBeginAllowThreads();
22486 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
22487
22488 wxPyEndAllowThreads(__tstate);
22489 if (PyErr_Occurred()) SWIG_fail;
22490 }
22491 Py_INCREF(Py_None); resultobj = Py_None;
22492 return resultobj;
22493 fail:
22494 return NULL;
22495 }
22496
22497
22498 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22499 PyObject *resultobj;
22500 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22501 long arg2 ;
22502 wxColour result;
22503 PyObject * obj0 = 0 ;
22504 PyObject * obj1 = 0 ;
22505 char *kwnames[] = {
22506 (char *) "self",(char *) "item", NULL
22507 };
22508
22509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22512 arg2 = (long) SWIG_AsLong(obj1);
22513 if (PyErr_Occurred()) SWIG_fail;
22514 {
22515 PyThreadState* __tstate = wxPyBeginAllowThreads();
22516 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
22517
22518 wxPyEndAllowThreads(__tstate);
22519 if (PyErr_Occurred()) SWIG_fail;
22520 }
22521 {
22522 wxColour * resultptr;
22523 resultptr = new wxColour((wxColour &) result);
22524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22525 }
22526 return resultobj;
22527 fail:
22528 return NULL;
22529 }
22530
22531
22532 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22533 PyObject *resultobj;
22534 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22535 PyObject *arg2 = (PyObject *) 0 ;
22536 bool result;
22537 PyObject * obj0 = 0 ;
22538 PyObject * obj1 = 0 ;
22539 char *kwnames[] = {
22540 (char *) "self",(char *) "func", NULL
22541 };
22542
22543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
22544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22546 arg2 = obj1;
22547 {
22548 PyThreadState* __tstate = wxPyBeginAllowThreads();
22549 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
22550
22551 wxPyEndAllowThreads(__tstate);
22552 if (PyErr_Occurred()) SWIG_fail;
22553 }
22554 {
22555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22556 }
22557 return resultobj;
22558 fail:
22559 return NULL;
22560 }
22561
22562
22563 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
22564 PyObject *resultobj;
22565 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22566 wxWindow *result;
22567 PyObject * obj0 = 0 ;
22568 char *kwnames[] = {
22569 (char *) "self", NULL
22570 };
22571
22572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
22573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22575 {
22576 PyThreadState* __tstate = wxPyBeginAllowThreads();
22577 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
22578
22579 wxPyEndAllowThreads(__tstate);
22580 if (PyErr_Occurred()) SWIG_fail;
22581 }
22582 {
22583 resultobj = wxPyMake_wxObject(result);
22584 }
22585 return resultobj;
22586 fail:
22587 return NULL;
22588 }
22589
22590
22591 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
22592 PyObject *obj;
22593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22594 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
22595 Py_INCREF(obj);
22596 return Py_BuildValue((char *)"");
22597 }
22598 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22599 PyObject *resultobj;
22600 wxWindow *arg1 = (wxWindow *) 0 ;
22601 int arg2 = (int) -1 ;
22602 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22603 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22604 wxSize const &arg4_defvalue = wxDefaultSize ;
22605 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22606 long arg5 = (long) wxLC_REPORT ;
22607 wxValidator const &arg6_defvalue = wxDefaultValidator ;
22608 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
22609 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
22610 wxString *arg7 = (wxString *) &arg7_defvalue ;
22611 wxListView *result;
22612 wxPoint temp3 ;
22613 wxSize temp4 ;
22614 bool temp7 = False ;
22615 PyObject * obj0 = 0 ;
22616 PyObject * obj1 = 0 ;
22617 PyObject * obj2 = 0 ;
22618 PyObject * obj3 = 0 ;
22619 PyObject * obj4 = 0 ;
22620 PyObject * obj5 = 0 ;
22621 PyObject * obj6 = 0 ;
22622 char *kwnames[] = {
22623 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22624 };
22625
22626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22629 if (obj1) {
22630 arg2 = (int) SWIG_AsInt(obj1);
22631 if (PyErr_Occurred()) SWIG_fail;
22632 }
22633 if (obj2) {
22634 {
22635 arg3 = &temp3;
22636 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22637 }
22638 }
22639 if (obj3) {
22640 {
22641 arg4 = &temp4;
22642 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22643 }
22644 }
22645 if (obj4) {
22646 arg5 = (long) SWIG_AsLong(obj4);
22647 if (PyErr_Occurred()) SWIG_fail;
22648 }
22649 if (obj5) {
22650 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
22651 SWIG_POINTER_EXCEPTION | 0)) == -1)
22652 SWIG_fail;
22653 if (arg6 == NULL) {
22654 PyErr_SetString(PyExc_TypeError,"null reference");
22655 SWIG_fail;
22656 }
22657 }
22658 if (obj6) {
22659 {
22660 arg7 = wxString_in_helper(obj6);
22661 if (arg7 == NULL) SWIG_fail;
22662 temp7 = True;
22663 }
22664 }
22665 {
22666 PyThreadState* __tstate = wxPyBeginAllowThreads();
22667 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22668
22669 wxPyEndAllowThreads(__tstate);
22670 if (PyErr_Occurred()) SWIG_fail;
22671 }
22672 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22673 {
22674 if (temp7)
22675 delete arg7;
22676 }
22677 return resultobj;
22678 fail:
22679 {
22680 if (temp7)
22681 delete arg7;
22682 }
22683 return NULL;
22684 }
22685
22686
22687 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22688 PyObject *resultobj;
22689 wxListView *result;
22690 char *kwnames[] = {
22691 NULL
22692 };
22693
22694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22695 {
22696 PyThreadState* __tstate = wxPyBeginAllowThreads();
22697 result = (wxListView *)new wxListView();
22698
22699 wxPyEndAllowThreads(__tstate);
22700 if (PyErr_Occurred()) SWIG_fail;
22701 }
22702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22703 return resultobj;
22704 fail:
22705 return NULL;
22706 }
22707
22708
22709 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22710 PyObject *resultobj;
22711 wxListView *arg1 = (wxListView *) 0 ;
22712 wxWindow *arg2 = (wxWindow *) 0 ;
22713 int arg3 = (int) -1 ;
22714 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22715 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22716 wxSize const &arg5_defvalue = wxDefaultSize ;
22717 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22718 long arg6 = (long) wxLC_REPORT ;
22719 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22720 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22721 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22722 wxString *arg8 = (wxString *) &arg8_defvalue ;
22723 bool result;
22724 wxPoint temp4 ;
22725 wxSize temp5 ;
22726 bool temp8 = False ;
22727 PyObject * obj0 = 0 ;
22728 PyObject * obj1 = 0 ;
22729 PyObject * obj2 = 0 ;
22730 PyObject * obj3 = 0 ;
22731 PyObject * obj4 = 0 ;
22732 PyObject * obj5 = 0 ;
22733 PyObject * obj6 = 0 ;
22734 PyObject * obj7 = 0 ;
22735 char *kwnames[] = {
22736 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22737 };
22738
22739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
22740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22742 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22744 if (obj2) {
22745 arg3 = (int) SWIG_AsInt(obj2);
22746 if (PyErr_Occurred()) SWIG_fail;
22747 }
22748 if (obj3) {
22749 {
22750 arg4 = &temp4;
22751 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22752 }
22753 }
22754 if (obj4) {
22755 {
22756 arg5 = &temp5;
22757 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22758 }
22759 }
22760 if (obj5) {
22761 arg6 = (long) SWIG_AsLong(obj5);
22762 if (PyErr_Occurred()) SWIG_fail;
22763 }
22764 if (obj6) {
22765 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
22766 SWIG_POINTER_EXCEPTION | 0)) == -1)
22767 SWIG_fail;
22768 if (arg7 == NULL) {
22769 PyErr_SetString(PyExc_TypeError,"null reference");
22770 SWIG_fail;
22771 }
22772 }
22773 if (obj7) {
22774 {
22775 arg8 = wxString_in_helper(obj7);
22776 if (arg8 == NULL) SWIG_fail;
22777 temp8 = True;
22778 }
22779 }
22780 {
22781 PyThreadState* __tstate = wxPyBeginAllowThreads();
22782 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22783
22784 wxPyEndAllowThreads(__tstate);
22785 if (PyErr_Occurred()) SWIG_fail;
22786 }
22787 {
22788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22789 }
22790 {
22791 if (temp8)
22792 delete arg8;
22793 }
22794 return resultobj;
22795 fail:
22796 {
22797 if (temp8)
22798 delete arg8;
22799 }
22800 return NULL;
22801 }
22802
22803
22804 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
22805 PyObject *resultobj;
22806 wxListView *arg1 = (wxListView *) 0 ;
22807 long arg2 ;
22808 bool arg3 = (bool) True ;
22809 PyObject * obj0 = 0 ;
22810 PyObject * obj1 = 0 ;
22811 PyObject * obj2 = 0 ;
22812 char *kwnames[] = {
22813 (char *) "self",(char *) "n",(char *) "on", NULL
22814 };
22815
22816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
22817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22819 arg2 = (long) SWIG_AsLong(obj1);
22820 if (PyErr_Occurred()) SWIG_fail;
22821 if (obj2) {
22822 arg3 = (bool) SWIG_AsBool(obj2);
22823 if (PyErr_Occurred()) SWIG_fail;
22824 }
22825 {
22826 PyThreadState* __tstate = wxPyBeginAllowThreads();
22827 (arg1)->Select(arg2,arg3);
22828
22829 wxPyEndAllowThreads(__tstate);
22830 if (PyErr_Occurred()) SWIG_fail;
22831 }
22832 Py_INCREF(Py_None); resultobj = Py_None;
22833 return resultobj;
22834 fail:
22835 return NULL;
22836 }
22837
22838
22839 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
22840 PyObject *resultobj;
22841 wxListView *arg1 = (wxListView *) 0 ;
22842 long arg2 ;
22843 PyObject * obj0 = 0 ;
22844 PyObject * obj1 = 0 ;
22845 char *kwnames[] = {
22846 (char *) "self",(char *) "index", NULL
22847 };
22848
22849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
22850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22852 arg2 = (long) SWIG_AsLong(obj1);
22853 if (PyErr_Occurred()) SWIG_fail;
22854 {
22855 PyThreadState* __tstate = wxPyBeginAllowThreads();
22856 (arg1)->Focus(arg2);
22857
22858 wxPyEndAllowThreads(__tstate);
22859 if (PyErr_Occurred()) SWIG_fail;
22860 }
22861 Py_INCREF(Py_None); resultobj = Py_None;
22862 return resultobj;
22863 fail:
22864 return NULL;
22865 }
22866
22867
22868 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22869 PyObject *resultobj;
22870 wxListView *arg1 = (wxListView *) 0 ;
22871 long result;
22872 PyObject * obj0 = 0 ;
22873 char *kwnames[] = {
22874 (char *) "self", NULL
22875 };
22876
22877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
22878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22880 {
22881 PyThreadState* __tstate = wxPyBeginAllowThreads();
22882 result = (long)((wxListView const *)arg1)->GetFocusedItem();
22883
22884 wxPyEndAllowThreads(__tstate);
22885 if (PyErr_Occurred()) SWIG_fail;
22886 }
22887 resultobj = SWIG_FromLong((long)result);
22888 return resultobj;
22889 fail:
22890 return NULL;
22891 }
22892
22893
22894 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22895 PyObject *resultobj;
22896 wxListView *arg1 = (wxListView *) 0 ;
22897 long arg2 ;
22898 long result;
22899 PyObject * obj0 = 0 ;
22900 PyObject * obj1 = 0 ;
22901 char *kwnames[] = {
22902 (char *) "self",(char *) "item", NULL
22903 };
22904
22905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
22906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22908 arg2 = (long) SWIG_AsLong(obj1);
22909 if (PyErr_Occurred()) SWIG_fail;
22910 {
22911 PyThreadState* __tstate = wxPyBeginAllowThreads();
22912 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
22913
22914 wxPyEndAllowThreads(__tstate);
22915 if (PyErr_Occurred()) SWIG_fail;
22916 }
22917 resultobj = SWIG_FromLong((long)result);
22918 return resultobj;
22919 fail:
22920 return NULL;
22921 }
22922
22923
22924 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22925 PyObject *resultobj;
22926 wxListView *arg1 = (wxListView *) 0 ;
22927 long result;
22928 PyObject * obj0 = 0 ;
22929 char *kwnames[] = {
22930 (char *) "self", NULL
22931 };
22932
22933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
22934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22936 {
22937 PyThreadState* __tstate = wxPyBeginAllowThreads();
22938 result = (long)((wxListView const *)arg1)->GetFirstSelected();
22939
22940 wxPyEndAllowThreads(__tstate);
22941 if (PyErr_Occurred()) SWIG_fail;
22942 }
22943 resultobj = SWIG_FromLong((long)result);
22944 return resultobj;
22945 fail:
22946 return NULL;
22947 }
22948
22949
22950 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22951 PyObject *resultobj;
22952 wxListView *arg1 = (wxListView *) 0 ;
22953 long arg2 ;
22954 bool result;
22955 PyObject * obj0 = 0 ;
22956 PyObject * obj1 = 0 ;
22957 char *kwnames[] = {
22958 (char *) "self",(char *) "index", NULL
22959 };
22960
22961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22964 arg2 = (long) SWIG_AsLong(obj1);
22965 if (PyErr_Occurred()) SWIG_fail;
22966 {
22967 PyThreadState* __tstate = wxPyBeginAllowThreads();
22968 result = (bool)(arg1)->IsSelected(arg2);
22969
22970 wxPyEndAllowThreads(__tstate);
22971 if (PyErr_Occurred()) SWIG_fail;
22972 }
22973 {
22974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22975 }
22976 return resultobj;
22977 fail:
22978 return NULL;
22979 }
22980
22981
22982 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22983 PyObject *resultobj;
22984 wxListView *arg1 = (wxListView *) 0 ;
22985 int arg2 ;
22986 int arg3 ;
22987 PyObject * obj0 = 0 ;
22988 PyObject * obj1 = 0 ;
22989 PyObject * obj2 = 0 ;
22990 char *kwnames[] = {
22991 (char *) "self",(char *) "col",(char *) "image", NULL
22992 };
22993
22994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22997 arg2 = (int) SWIG_AsInt(obj1);
22998 if (PyErr_Occurred()) SWIG_fail;
22999 arg3 = (int) SWIG_AsInt(obj2);
23000 if (PyErr_Occurred()) SWIG_fail;
23001 {
23002 PyThreadState* __tstate = wxPyBeginAllowThreads();
23003 (arg1)->SetColumnImage(arg2,arg3);
23004
23005 wxPyEndAllowThreads(__tstate);
23006 if (PyErr_Occurred()) SWIG_fail;
23007 }
23008 Py_INCREF(Py_None); resultobj = Py_None;
23009 return resultobj;
23010 fail:
23011 return NULL;
23012 }
23013
23014
23015 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23016 PyObject *resultobj;
23017 wxListView *arg1 = (wxListView *) 0 ;
23018 int arg2 ;
23019 PyObject * obj0 = 0 ;
23020 PyObject * obj1 = 0 ;
23021 char *kwnames[] = {
23022 (char *) "self",(char *) "col", NULL
23023 };
23024
23025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
23026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23028 arg2 = (int) SWIG_AsInt(obj1);
23029 if (PyErr_Occurred()) SWIG_fail;
23030 {
23031 PyThreadState* __tstate = wxPyBeginAllowThreads();
23032 (arg1)->ClearColumnImage(arg2);
23033
23034 wxPyEndAllowThreads(__tstate);
23035 if (PyErr_Occurred()) SWIG_fail;
23036 }
23037 Py_INCREF(Py_None); resultobj = Py_None;
23038 return resultobj;
23039 fail:
23040 return NULL;
23041 }
23042
23043
23044 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
23045 PyObject *obj;
23046 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23047 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
23048 Py_INCREF(obj);
23049 return Py_BuildValue((char *)"");
23050 }
23051 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
23052 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
23053 return 1;
23054 }
23055
23056
23057 static PyObject *_wrap_TreeCtrlNameStr_get() {
23058 PyObject *pyobj;
23059
23060 {
23061 #if wxUSE_UNICODE
23062 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
23063 #else
23064 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
23065 #endif
23066 }
23067 return pyobj;
23068 }
23069
23070
23071 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
23072 PyObject *resultobj;
23073 wxTreeItemId *result;
23074 char *kwnames[] = {
23075 NULL
23076 };
23077
23078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
23079 {
23080 PyThreadState* __tstate = wxPyBeginAllowThreads();
23081 result = (wxTreeItemId *)new wxTreeItemId();
23082
23083 wxPyEndAllowThreads(__tstate);
23084 if (PyErr_Occurred()) SWIG_fail;
23085 }
23086 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
23087 return resultobj;
23088 fail:
23089 return NULL;
23090 }
23091
23092
23093 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
23094 PyObject *resultobj;
23095 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23096 PyObject * obj0 = 0 ;
23097 char *kwnames[] = {
23098 (char *) "self", NULL
23099 };
23100
23101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
23102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23104 {
23105 PyThreadState* __tstate = wxPyBeginAllowThreads();
23106 delete arg1;
23107
23108 wxPyEndAllowThreads(__tstate);
23109 if (PyErr_Occurred()) SWIG_fail;
23110 }
23111 Py_INCREF(Py_None); resultobj = Py_None;
23112 return resultobj;
23113 fail:
23114 return NULL;
23115 }
23116
23117
23118 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23119 PyObject *resultobj;
23120 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23121 bool result;
23122 PyObject * obj0 = 0 ;
23123 char *kwnames[] = {
23124 (char *) "self", NULL
23125 };
23126
23127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
23128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23130 {
23131 PyThreadState* __tstate = wxPyBeginAllowThreads();
23132 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
23133
23134 wxPyEndAllowThreads(__tstate);
23135 if (PyErr_Occurred()) SWIG_fail;
23136 }
23137 {
23138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23139 }
23140 return resultobj;
23141 fail:
23142 return NULL;
23143 }
23144
23145
23146 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23147 PyObject *resultobj;
23148 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23149 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
23150 bool result;
23151 PyObject * obj0 = 0 ;
23152 PyObject * obj1 = 0 ;
23153 char *kwnames[] = {
23154 (char *) "self",(char *) "other", NULL
23155 };
23156
23157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
23158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23160 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23162 {
23163 PyThreadState* __tstate = wxPyBeginAllowThreads();
23164 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
23165
23166 wxPyEndAllowThreads(__tstate);
23167 if (PyErr_Occurred()) SWIG_fail;
23168 }
23169 {
23170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23171 }
23172 return resultobj;
23173 fail:
23174 return NULL;
23175 }
23176
23177
23178 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23179 PyObject *resultobj;
23180 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23181 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
23182 bool result;
23183 PyObject * obj0 = 0 ;
23184 PyObject * obj1 = 0 ;
23185 char *kwnames[] = {
23186 (char *) "self",(char *) "other", NULL
23187 };
23188
23189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
23190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23192 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23194 {
23195 PyThreadState* __tstate = wxPyBeginAllowThreads();
23196 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
23197
23198 wxPyEndAllowThreads(__tstate);
23199 if (PyErr_Occurred()) SWIG_fail;
23200 }
23201 {
23202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23203 }
23204 return resultobj;
23205 fail:
23206 return NULL;
23207 }
23208
23209
23210 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
23211 PyObject *resultobj;
23212 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23213 void *arg2 = (void *) 0 ;
23214 PyObject * obj0 = 0 ;
23215 PyObject * obj1 = 0 ;
23216 char *kwnames[] = {
23217 (char *) "self",(char *) "m_pItem", NULL
23218 };
23219
23220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
23221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23223 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
23224 if (arg1) (arg1)->m_pItem = arg2;
23225
23226 Py_INCREF(Py_None); resultobj = Py_None;
23227 return resultobj;
23228 fail:
23229 return NULL;
23230 }
23231
23232
23233 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
23234 PyObject *resultobj;
23235 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23236 void *result;
23237 PyObject * obj0 = 0 ;
23238 char *kwnames[] = {
23239 (char *) "self", NULL
23240 };
23241
23242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
23243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23245 result = (void *) ((arg1)->m_pItem);
23246
23247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
23248 return resultobj;
23249 fail:
23250 return NULL;
23251 }
23252
23253
23254 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
23255 PyObject *obj;
23256 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23257 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
23258 Py_INCREF(obj);
23259 return Py_BuildValue((char *)"");
23260 }
23261 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
23262 PyObject *resultobj;
23263 PyObject *arg1 = (PyObject *) NULL ;
23264 wxPyTreeItemData *result;
23265 PyObject * obj0 = 0 ;
23266 char *kwnames[] = {
23267 (char *) "obj", NULL
23268 };
23269
23270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
23271 if (obj0) {
23272 arg1 = obj0;
23273 }
23274 {
23275 PyThreadState* __tstate = wxPyBeginAllowThreads();
23276 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
23277
23278 wxPyEndAllowThreads(__tstate);
23279 if (PyErr_Occurred()) SWIG_fail;
23280 }
23281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
23282 return resultobj;
23283 fail:
23284 return NULL;
23285 }
23286
23287
23288 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23289 PyObject *resultobj;
23290 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23291 PyObject *result;
23292 PyObject * obj0 = 0 ;
23293 char *kwnames[] = {
23294 (char *) "self", NULL
23295 };
23296
23297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
23298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23300 {
23301 PyThreadState* __tstate = wxPyBeginAllowThreads();
23302 result = (PyObject *)(arg1)->GetData();
23303
23304 wxPyEndAllowThreads(__tstate);
23305 if (PyErr_Occurred()) SWIG_fail;
23306 }
23307 resultobj = result;
23308 return resultobj;
23309 fail:
23310 return NULL;
23311 }
23312
23313
23314 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23315 PyObject *resultobj;
23316 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23317 PyObject *arg2 = (PyObject *) 0 ;
23318 PyObject * obj0 = 0 ;
23319 PyObject * obj1 = 0 ;
23320 char *kwnames[] = {
23321 (char *) "self",(char *) "obj", NULL
23322 };
23323
23324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
23325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23327 arg2 = obj1;
23328 {
23329 PyThreadState* __tstate = wxPyBeginAllowThreads();
23330 (arg1)->SetData(arg2);
23331
23332 wxPyEndAllowThreads(__tstate);
23333 if (PyErr_Occurred()) SWIG_fail;
23334 }
23335 Py_INCREF(Py_None); resultobj = Py_None;
23336 return resultobj;
23337 fail:
23338 return NULL;
23339 }
23340
23341
23342 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23343 PyObject *resultobj;
23344 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23345 wxTreeItemId *result;
23346 PyObject * obj0 = 0 ;
23347 char *kwnames[] = {
23348 (char *) "self", NULL
23349 };
23350
23351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
23352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23354 {
23355 PyThreadState* __tstate = wxPyBeginAllowThreads();
23356 {
23357 wxTreeItemId const &_result_ref = (arg1)->GetId();
23358 result = (wxTreeItemId *) &_result_ref;
23359 }
23360
23361 wxPyEndAllowThreads(__tstate);
23362 if (PyErr_Occurred()) SWIG_fail;
23363 }
23364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
23365 return resultobj;
23366 fail:
23367 return NULL;
23368 }
23369
23370
23371 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23372 PyObject *resultobj;
23373 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23374 wxTreeItemId *arg2 = 0 ;
23375 PyObject * obj0 = 0 ;
23376 PyObject * obj1 = 0 ;
23377 char *kwnames[] = {
23378 (char *) "self",(char *) "id", NULL
23379 };
23380
23381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
23382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23384 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23385 SWIG_POINTER_EXCEPTION | 0)) == -1)
23386 SWIG_fail;
23387 if (arg2 == NULL) {
23388 PyErr_SetString(PyExc_TypeError,"null reference");
23389 SWIG_fail;
23390 }
23391 {
23392 PyThreadState* __tstate = wxPyBeginAllowThreads();
23393 (arg1)->SetId((wxTreeItemId const &)*arg2);
23394
23395 wxPyEndAllowThreads(__tstate);
23396 if (PyErr_Occurred()) SWIG_fail;
23397 }
23398 Py_INCREF(Py_None); resultobj = Py_None;
23399 return resultobj;
23400 fail:
23401 return NULL;
23402 }
23403
23404
23405 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
23406 PyObject *resultobj;
23407 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23408 PyObject * obj0 = 0 ;
23409 char *kwnames[] = {
23410 (char *) "self", NULL
23411 };
23412
23413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
23414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23416 {
23417 PyThreadState* __tstate = wxPyBeginAllowThreads();
23418 wxPyTreeItemData_Destroy(arg1);
23419
23420 wxPyEndAllowThreads(__tstate);
23421 if (PyErr_Occurred()) SWIG_fail;
23422 }
23423 Py_INCREF(Py_None); resultobj = Py_None;
23424 return resultobj;
23425 fail:
23426 return NULL;
23427 }
23428
23429
23430 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
23431 PyObject *obj;
23432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23433 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
23434 Py_INCREF(obj);
23435 return Py_BuildValue((char *)"");
23436 }
23437 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23438 PyObject *resultobj;
23439 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23440 int arg2 = (int) 0 ;
23441 wxTreeEvent *result;
23442 PyObject * obj0 = 0 ;
23443 PyObject * obj1 = 0 ;
23444 char *kwnames[] = {
23445 (char *) "commandType",(char *) "id", NULL
23446 };
23447
23448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
23449 if (obj0) {
23450 arg1 = (wxEventType) SWIG_AsInt(obj0);
23451 if (PyErr_Occurred()) SWIG_fail;
23452 }
23453 if (obj1) {
23454 arg2 = (int) SWIG_AsInt(obj1);
23455 if (PyErr_Occurred()) SWIG_fail;
23456 }
23457 {
23458 PyThreadState* __tstate = wxPyBeginAllowThreads();
23459 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
23460
23461 wxPyEndAllowThreads(__tstate);
23462 if (PyErr_Occurred()) SWIG_fail;
23463 }
23464 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
23465 return resultobj;
23466 fail:
23467 return NULL;
23468 }
23469
23470
23471 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23472 PyObject *resultobj;
23473 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23474 wxTreeItemId result;
23475 PyObject * obj0 = 0 ;
23476 char *kwnames[] = {
23477 (char *) "self", NULL
23478 };
23479
23480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
23481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23483 {
23484 PyThreadState* __tstate = wxPyBeginAllowThreads();
23485 result = ((wxTreeEvent const *)arg1)->GetItem();
23486
23487 wxPyEndAllowThreads(__tstate);
23488 if (PyErr_Occurred()) SWIG_fail;
23489 }
23490 {
23491 wxTreeItemId * resultptr;
23492 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23493 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23494 }
23495 return resultobj;
23496 fail:
23497 return NULL;
23498 }
23499
23500
23501 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23502 PyObject *resultobj;
23503 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23504 wxTreeItemId *arg2 = 0 ;
23505 PyObject * obj0 = 0 ;
23506 PyObject * obj1 = 0 ;
23507 char *kwnames[] = {
23508 (char *) "self",(char *) "item", NULL
23509 };
23510
23511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
23512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23514 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23515 SWIG_POINTER_EXCEPTION | 0)) == -1)
23516 SWIG_fail;
23517 if (arg2 == NULL) {
23518 PyErr_SetString(PyExc_TypeError,"null reference");
23519 SWIG_fail;
23520 }
23521 {
23522 PyThreadState* __tstate = wxPyBeginAllowThreads();
23523 (arg1)->SetItem((wxTreeItemId const &)*arg2);
23524
23525 wxPyEndAllowThreads(__tstate);
23526 if (PyErr_Occurred()) SWIG_fail;
23527 }
23528 Py_INCREF(Py_None); resultobj = Py_None;
23529 return resultobj;
23530 fail:
23531 return NULL;
23532 }
23533
23534
23535 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23536 PyObject *resultobj;
23537 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23538 wxTreeItemId result;
23539 PyObject * obj0 = 0 ;
23540 char *kwnames[] = {
23541 (char *) "self", NULL
23542 };
23543
23544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
23545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23547 {
23548 PyThreadState* __tstate = wxPyBeginAllowThreads();
23549 result = ((wxTreeEvent const *)arg1)->GetOldItem();
23550
23551 wxPyEndAllowThreads(__tstate);
23552 if (PyErr_Occurred()) SWIG_fail;
23553 }
23554 {
23555 wxTreeItemId * resultptr;
23556 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23557 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23558 }
23559 return resultobj;
23560 fail:
23561 return NULL;
23562 }
23563
23564
23565 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23566 PyObject *resultobj;
23567 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23568 wxTreeItemId *arg2 = 0 ;
23569 PyObject * obj0 = 0 ;
23570 PyObject * obj1 = 0 ;
23571 char *kwnames[] = {
23572 (char *) "self",(char *) "item", NULL
23573 };
23574
23575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
23576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23579 SWIG_POINTER_EXCEPTION | 0)) == -1)
23580 SWIG_fail;
23581 if (arg2 == NULL) {
23582 PyErr_SetString(PyExc_TypeError,"null reference");
23583 SWIG_fail;
23584 }
23585 {
23586 PyThreadState* __tstate = wxPyBeginAllowThreads();
23587 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
23588
23589 wxPyEndAllowThreads(__tstate);
23590 if (PyErr_Occurred()) SWIG_fail;
23591 }
23592 Py_INCREF(Py_None); resultobj = Py_None;
23593 return resultobj;
23594 fail:
23595 return NULL;
23596 }
23597
23598
23599 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23600 PyObject *resultobj;
23601 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23602 wxPoint result;
23603 PyObject * obj0 = 0 ;
23604 char *kwnames[] = {
23605 (char *) "self", NULL
23606 };
23607
23608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
23609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23611 {
23612 PyThreadState* __tstate = wxPyBeginAllowThreads();
23613 result = ((wxTreeEvent const *)arg1)->GetPoint();
23614
23615 wxPyEndAllowThreads(__tstate);
23616 if (PyErr_Occurred()) SWIG_fail;
23617 }
23618 {
23619 wxPoint * resultptr;
23620 resultptr = new wxPoint((wxPoint &) result);
23621 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23622 }
23623 return resultobj;
23624 fail:
23625 return NULL;
23626 }
23627
23628
23629 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23630 PyObject *resultobj;
23631 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23632 wxPoint *arg2 = 0 ;
23633 wxPoint temp2 ;
23634 PyObject * obj0 = 0 ;
23635 PyObject * obj1 = 0 ;
23636 char *kwnames[] = {
23637 (char *) "self",(char *) "pt", NULL
23638 };
23639
23640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
23641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23643 {
23644 arg2 = &temp2;
23645 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23646 }
23647 {
23648 PyThreadState* __tstate = wxPyBeginAllowThreads();
23649 (arg1)->SetPoint((wxPoint const &)*arg2);
23650
23651 wxPyEndAllowThreads(__tstate);
23652 if (PyErr_Occurred()) SWIG_fail;
23653 }
23654 Py_INCREF(Py_None); resultobj = Py_None;
23655 return resultobj;
23656 fail:
23657 return NULL;
23658 }
23659
23660
23661 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23662 PyObject *resultobj;
23663 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23664 wxKeyEvent *result;
23665 PyObject * obj0 = 0 ;
23666 char *kwnames[] = {
23667 (char *) "self", NULL
23668 };
23669
23670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
23671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23673 {
23674 PyThreadState* __tstate = wxPyBeginAllowThreads();
23675 {
23676 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23677 result = (wxKeyEvent *) &_result_ref;
23678 }
23679
23680 wxPyEndAllowThreads(__tstate);
23681 if (PyErr_Occurred()) SWIG_fail;
23682 }
23683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
23684 return resultobj;
23685 fail:
23686 return NULL;
23687 }
23688
23689
23690 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
23691 PyObject *resultobj;
23692 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23693 int result;
23694 PyObject * obj0 = 0 ;
23695 char *kwnames[] = {
23696 (char *) "self", NULL
23697 };
23698
23699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23702 {
23703 PyThreadState* __tstate = wxPyBeginAllowThreads();
23704 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23705
23706 wxPyEndAllowThreads(__tstate);
23707 if (PyErr_Occurred()) SWIG_fail;
23708 }
23709 resultobj = SWIG_FromInt((int)result);
23710 return resultobj;
23711 fail:
23712 return NULL;
23713 }
23714
23715
23716 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23717 PyObject *resultobj;
23718 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23719 wxKeyEvent *arg2 = 0 ;
23720 PyObject * obj0 = 0 ;
23721 PyObject * obj1 = 0 ;
23722 char *kwnames[] = {
23723 (char *) "self",(char *) "evt", NULL
23724 };
23725
23726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
23727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23729 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
23730 SWIG_POINTER_EXCEPTION | 0)) == -1)
23731 SWIG_fail;
23732 if (arg2 == NULL) {
23733 PyErr_SetString(PyExc_TypeError,"null reference");
23734 SWIG_fail;
23735 }
23736 {
23737 PyThreadState* __tstate = wxPyBeginAllowThreads();
23738 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23739
23740 wxPyEndAllowThreads(__tstate);
23741 if (PyErr_Occurred()) SWIG_fail;
23742 }
23743 Py_INCREF(Py_None); resultobj = Py_None;
23744 return resultobj;
23745 fail:
23746 return NULL;
23747 }
23748
23749
23750 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23751 PyObject *resultobj;
23752 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23753 wxString *result;
23754 PyObject * obj0 = 0 ;
23755 char *kwnames[] = {
23756 (char *) "self", NULL
23757 };
23758
23759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
23760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23762 {
23763 PyThreadState* __tstate = wxPyBeginAllowThreads();
23764 {
23765 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23766 result = (wxString *) &_result_ref;
23767 }
23768
23769 wxPyEndAllowThreads(__tstate);
23770 if (PyErr_Occurred()) SWIG_fail;
23771 }
23772 {
23773 #if wxUSE_UNICODE
23774 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23775 #else
23776 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23777 #endif
23778 }
23779 return resultobj;
23780 fail:
23781 return NULL;
23782 }
23783
23784
23785 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23786 PyObject *resultobj;
23787 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23788 wxString *arg2 = 0 ;
23789 bool temp2 = False ;
23790 PyObject * obj0 = 0 ;
23791 PyObject * obj1 = 0 ;
23792 char *kwnames[] = {
23793 (char *) "self",(char *) "label", NULL
23794 };
23795
23796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
23797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23799 {
23800 arg2 = wxString_in_helper(obj1);
23801 if (arg2 == NULL) SWIG_fail;
23802 temp2 = True;
23803 }
23804 {
23805 PyThreadState* __tstate = wxPyBeginAllowThreads();
23806 (arg1)->SetLabel((wxString const &)*arg2);
23807
23808 wxPyEndAllowThreads(__tstate);
23809 if (PyErr_Occurred()) SWIG_fail;
23810 }
23811 Py_INCREF(Py_None); resultobj = Py_None;
23812 {
23813 if (temp2)
23814 delete arg2;
23815 }
23816 return resultobj;
23817 fail:
23818 {
23819 if (temp2)
23820 delete arg2;
23821 }
23822 return NULL;
23823 }
23824
23825
23826 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
23827 PyObject *resultobj;
23828 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23829 bool result;
23830 PyObject * obj0 = 0 ;
23831 char *kwnames[] = {
23832 (char *) "self", NULL
23833 };
23834
23835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23838 {
23839 PyThreadState* __tstate = wxPyBeginAllowThreads();
23840 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23841
23842 wxPyEndAllowThreads(__tstate);
23843 if (PyErr_Occurred()) SWIG_fail;
23844 }
23845 {
23846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23847 }
23848 return resultobj;
23849 fail:
23850 return NULL;
23851 }
23852
23853
23854 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
23855 PyObject *resultobj;
23856 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23857 bool arg2 ;
23858 PyObject * obj0 = 0 ;
23859 PyObject * obj1 = 0 ;
23860 char *kwnames[] = {
23861 (char *) "self",(char *) "editCancelled", NULL
23862 };
23863
23864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23867 arg2 = (bool) SWIG_AsBool(obj1);
23868 if (PyErr_Occurred()) SWIG_fail;
23869 {
23870 PyThreadState* __tstate = wxPyBeginAllowThreads();
23871 (arg1)->SetEditCanceled(arg2);
23872
23873 wxPyEndAllowThreads(__tstate);
23874 if (PyErr_Occurred()) SWIG_fail;
23875 }
23876 Py_INCREF(Py_None); resultobj = Py_None;
23877 return resultobj;
23878 fail:
23879 return NULL;
23880 }
23881
23882
23883 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23884 PyObject *resultobj;
23885 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23886 wxString *arg2 = 0 ;
23887 bool temp2 = False ;
23888 PyObject * obj0 = 0 ;
23889 PyObject * obj1 = 0 ;
23890 char *kwnames[] = {
23891 (char *) "self",(char *) "toolTip", NULL
23892 };
23893
23894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23897 {
23898 arg2 = wxString_in_helper(obj1);
23899 if (arg2 == NULL) SWIG_fail;
23900 temp2 = True;
23901 }
23902 {
23903 PyThreadState* __tstate = wxPyBeginAllowThreads();
23904 (arg1)->SetToolTip((wxString const &)*arg2);
23905
23906 wxPyEndAllowThreads(__tstate);
23907 if (PyErr_Occurred()) SWIG_fail;
23908 }
23909 Py_INCREF(Py_None); resultobj = Py_None;
23910 {
23911 if (temp2)
23912 delete arg2;
23913 }
23914 return resultobj;
23915 fail:
23916 {
23917 if (temp2)
23918 delete arg2;
23919 }
23920 return NULL;
23921 }
23922
23923
23924 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
23925 PyObject *obj;
23926 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23927 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
23928 Py_INCREF(obj);
23929 return Py_BuildValue((char *)"");
23930 }
23931 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23932 PyObject *resultobj;
23933 wxWindow *arg1 = (wxWindow *) 0 ;
23934 int arg2 = (int) -1 ;
23935 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23936 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23937 wxSize const &arg4_defvalue = wxDefaultSize ;
23938 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23939 long arg5 = (long) wxTR_DEFAULT_STYLE ;
23940 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23941 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23942 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
23943 wxString *arg7 = (wxString *) &arg7_defvalue ;
23944 wxPyTreeCtrl *result;
23945 wxPoint temp3 ;
23946 wxSize temp4 ;
23947 bool temp7 = False ;
23948 PyObject * obj0 = 0 ;
23949 PyObject * obj1 = 0 ;
23950 PyObject * obj2 = 0 ;
23951 PyObject * obj3 = 0 ;
23952 PyObject * obj4 = 0 ;
23953 PyObject * obj5 = 0 ;
23954 PyObject * obj6 = 0 ;
23955 char *kwnames[] = {
23956 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23957 };
23958
23959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23962 if (obj1) {
23963 arg2 = (int) SWIG_AsInt(obj1);
23964 if (PyErr_Occurred()) SWIG_fail;
23965 }
23966 if (obj2) {
23967 {
23968 arg3 = &temp3;
23969 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23970 }
23971 }
23972 if (obj3) {
23973 {
23974 arg4 = &temp4;
23975 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23976 }
23977 }
23978 if (obj4) {
23979 arg5 = (long) SWIG_AsLong(obj4);
23980 if (PyErr_Occurred()) SWIG_fail;
23981 }
23982 if (obj5) {
23983 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
23984 SWIG_POINTER_EXCEPTION | 0)) == -1)
23985 SWIG_fail;
23986 if (arg6 == NULL) {
23987 PyErr_SetString(PyExc_TypeError,"null reference");
23988 SWIG_fail;
23989 }
23990 }
23991 if (obj6) {
23992 {
23993 arg7 = wxString_in_helper(obj6);
23994 if (arg7 == NULL) SWIG_fail;
23995 temp7 = True;
23996 }
23997 }
23998 {
23999 PyThreadState* __tstate = wxPyBeginAllowThreads();
24000 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24001
24002 wxPyEndAllowThreads(__tstate);
24003 if (PyErr_Occurred()) SWIG_fail;
24004 }
24005 {
24006 resultobj = wxPyMake_wxObject(result);
24007 }
24008 {
24009 if (temp7)
24010 delete arg7;
24011 }
24012 return resultobj;
24013 fail:
24014 {
24015 if (temp7)
24016 delete arg7;
24017 }
24018 return NULL;
24019 }
24020
24021
24022 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24023 PyObject *resultobj;
24024 wxPyTreeCtrl *result;
24025 char *kwnames[] = {
24026 NULL
24027 };
24028
24029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
24030 {
24031 PyThreadState* __tstate = wxPyBeginAllowThreads();
24032 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
24033
24034 wxPyEndAllowThreads(__tstate);
24035 if (PyErr_Occurred()) SWIG_fail;
24036 }
24037 {
24038 resultobj = wxPyMake_wxObject(result);
24039 }
24040 return resultobj;
24041 fail:
24042 return NULL;
24043 }
24044
24045
24046 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24047 PyObject *resultobj;
24048 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24049 wxWindow *arg2 = (wxWindow *) 0 ;
24050 int arg3 = (int) -1 ;
24051 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24052 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24053 wxSize const &arg5_defvalue = wxDefaultSize ;
24054 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24055 long arg6 = (long) wxTR_DEFAULT_STYLE ;
24056 wxValidator const &arg7_defvalue = wxDefaultValidator ;
24057 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
24058 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
24059 wxString *arg8 = (wxString *) &arg8_defvalue ;
24060 bool result;
24061 wxPoint temp4 ;
24062 wxSize temp5 ;
24063 bool temp8 = False ;
24064 PyObject * obj0 = 0 ;
24065 PyObject * obj1 = 0 ;
24066 PyObject * obj2 = 0 ;
24067 PyObject * obj3 = 0 ;
24068 PyObject * obj4 = 0 ;
24069 PyObject * obj5 = 0 ;
24070 PyObject * obj6 = 0 ;
24071 PyObject * obj7 = 0 ;
24072 char *kwnames[] = {
24073 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24074 };
24075
24076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
24077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24079 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24081 if (obj2) {
24082 arg3 = (int) SWIG_AsInt(obj2);
24083 if (PyErr_Occurred()) SWIG_fail;
24084 }
24085 if (obj3) {
24086 {
24087 arg4 = &temp4;
24088 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24089 }
24090 }
24091 if (obj4) {
24092 {
24093 arg5 = &temp5;
24094 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24095 }
24096 }
24097 if (obj5) {
24098 arg6 = (long) SWIG_AsLong(obj5);
24099 if (PyErr_Occurred()) SWIG_fail;
24100 }
24101 if (obj6) {
24102 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
24103 SWIG_POINTER_EXCEPTION | 0)) == -1)
24104 SWIG_fail;
24105 if (arg7 == NULL) {
24106 PyErr_SetString(PyExc_TypeError,"null reference");
24107 SWIG_fail;
24108 }
24109 }
24110 if (obj7) {
24111 {
24112 arg8 = wxString_in_helper(obj7);
24113 if (arg8 == NULL) SWIG_fail;
24114 temp8 = True;
24115 }
24116 }
24117 {
24118 PyThreadState* __tstate = wxPyBeginAllowThreads();
24119 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24120
24121 wxPyEndAllowThreads(__tstate);
24122 if (PyErr_Occurred()) SWIG_fail;
24123 }
24124 {
24125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24126 }
24127 {
24128 if (temp8)
24129 delete arg8;
24130 }
24131 return resultobj;
24132 fail:
24133 {
24134 if (temp8)
24135 delete arg8;
24136 }
24137 return NULL;
24138 }
24139
24140
24141 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24142 PyObject *resultobj;
24143 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24144 PyObject *arg2 = (PyObject *) 0 ;
24145 PyObject *arg3 = (PyObject *) 0 ;
24146 PyObject * obj0 = 0 ;
24147 PyObject * obj1 = 0 ;
24148 PyObject * obj2 = 0 ;
24149 char *kwnames[] = {
24150 (char *) "self",(char *) "self",(char *) "_class", NULL
24151 };
24152
24153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24156 arg2 = obj1;
24157 arg3 = obj2;
24158 {
24159 PyThreadState* __tstate = wxPyBeginAllowThreads();
24160 (arg1)->_setCallbackInfo(arg2,arg3);
24161
24162 wxPyEndAllowThreads(__tstate);
24163 if (PyErr_Occurred()) SWIG_fail;
24164 }
24165 Py_INCREF(Py_None); resultobj = Py_None;
24166 return resultobj;
24167 fail:
24168 return NULL;
24169 }
24170
24171
24172 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24173 PyObject *resultobj;
24174 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24175 size_t result;
24176 PyObject * obj0 = 0 ;
24177 char *kwnames[] = {
24178 (char *) "self", NULL
24179 };
24180
24181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
24182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24184 {
24185 PyThreadState* __tstate = wxPyBeginAllowThreads();
24186 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
24187
24188 wxPyEndAllowThreads(__tstate);
24189 if (PyErr_Occurred()) SWIG_fail;
24190 }
24191 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24192 return resultobj;
24193 fail:
24194 return NULL;
24195 }
24196
24197
24198 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
24199 PyObject *resultobj;
24200 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24201 unsigned int result;
24202 PyObject * obj0 = 0 ;
24203 char *kwnames[] = {
24204 (char *) "self", NULL
24205 };
24206
24207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
24208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24210 {
24211 PyThreadState* __tstate = wxPyBeginAllowThreads();
24212 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
24213
24214 wxPyEndAllowThreads(__tstate);
24215 if (PyErr_Occurred()) SWIG_fail;
24216 }
24217 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
24218 return resultobj;
24219 fail:
24220 return NULL;
24221 }
24222
24223
24224 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
24225 PyObject *resultobj;
24226 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24227 unsigned int arg2 ;
24228 PyObject * obj0 = 0 ;
24229 PyObject * obj1 = 0 ;
24230 char *kwnames[] = {
24231 (char *) "self",(char *) "indent", NULL
24232 };
24233
24234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
24235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24237 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24238 if (PyErr_Occurred()) SWIG_fail;
24239 {
24240 PyThreadState* __tstate = wxPyBeginAllowThreads();
24241 (arg1)->SetIndent(arg2);
24242
24243 wxPyEndAllowThreads(__tstate);
24244 if (PyErr_Occurred()) SWIG_fail;
24245 }
24246 Py_INCREF(Py_None); resultobj = Py_None;
24247 return resultobj;
24248 fail:
24249 return NULL;
24250 }
24251
24252
24253 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24254 PyObject *resultobj;
24255 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24256 unsigned int result;
24257 PyObject * obj0 = 0 ;
24258 char *kwnames[] = {
24259 (char *) "self", NULL
24260 };
24261
24262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
24263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24265 {
24266 PyThreadState* __tstate = wxPyBeginAllowThreads();
24267 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
24268
24269 wxPyEndAllowThreads(__tstate);
24270 if (PyErr_Occurred()) SWIG_fail;
24271 }
24272 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
24273 return resultobj;
24274 fail:
24275 return NULL;
24276 }
24277
24278
24279 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24280 PyObject *resultobj;
24281 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24282 unsigned int arg2 ;
24283 PyObject * obj0 = 0 ;
24284 PyObject * obj1 = 0 ;
24285 char *kwnames[] = {
24286 (char *) "self",(char *) "spacing", NULL
24287 };
24288
24289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
24290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24292 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24293 if (PyErr_Occurred()) SWIG_fail;
24294 {
24295 PyThreadState* __tstate = wxPyBeginAllowThreads();
24296 (arg1)->SetSpacing(arg2);
24297
24298 wxPyEndAllowThreads(__tstate);
24299 if (PyErr_Occurred()) SWIG_fail;
24300 }
24301 Py_INCREF(Py_None); resultobj = Py_None;
24302 return resultobj;
24303 fail:
24304 return NULL;
24305 }
24306
24307
24308 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24309 PyObject *resultobj;
24310 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24311 wxImageList *result;
24312 PyObject * obj0 = 0 ;
24313 char *kwnames[] = {
24314 (char *) "self", NULL
24315 };
24316
24317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
24318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24320 {
24321 PyThreadState* __tstate = wxPyBeginAllowThreads();
24322 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
24323
24324 wxPyEndAllowThreads(__tstate);
24325 if (PyErr_Occurred()) SWIG_fail;
24326 }
24327 {
24328 resultobj = wxPyMake_wxObject(result);
24329 }
24330 return resultobj;
24331 fail:
24332 return NULL;
24333 }
24334
24335
24336 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24337 PyObject *resultobj;
24338 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24339 wxImageList *result;
24340 PyObject * obj0 = 0 ;
24341 char *kwnames[] = {
24342 (char *) "self", NULL
24343 };
24344
24345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
24346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24348 {
24349 PyThreadState* __tstate = wxPyBeginAllowThreads();
24350 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
24351
24352 wxPyEndAllowThreads(__tstate);
24353 if (PyErr_Occurred()) SWIG_fail;
24354 }
24355 {
24356 resultobj = wxPyMake_wxObject(result);
24357 }
24358 return resultobj;
24359 fail:
24360 return NULL;
24361 }
24362
24363
24364 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24365 PyObject *resultobj;
24366 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24367 wxImageList *arg2 = (wxImageList *) 0 ;
24368 PyObject * obj0 = 0 ;
24369 PyObject * obj1 = 0 ;
24370 char *kwnames[] = {
24371 (char *) "self",(char *) "imageList", NULL
24372 };
24373
24374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
24375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24377 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24379 {
24380 PyThreadState* __tstate = wxPyBeginAllowThreads();
24381 (arg1)->SetImageList(arg2);
24382
24383 wxPyEndAllowThreads(__tstate);
24384 if (PyErr_Occurred()) SWIG_fail;
24385 }
24386 Py_INCREF(Py_None); resultobj = Py_None;
24387 return resultobj;
24388 fail:
24389 return NULL;
24390 }
24391
24392
24393 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24394 PyObject *resultobj;
24395 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24396 wxImageList *arg2 = (wxImageList *) 0 ;
24397 PyObject * obj0 = 0 ;
24398 PyObject * obj1 = 0 ;
24399 char *kwnames[] = {
24400 (char *) "self",(char *) "imageList", NULL
24401 };
24402
24403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
24404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24406 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24408 {
24409 PyThreadState* __tstate = wxPyBeginAllowThreads();
24410 (arg1)->SetStateImageList(arg2);
24411
24412 wxPyEndAllowThreads(__tstate);
24413 if (PyErr_Occurred()) SWIG_fail;
24414 }
24415 Py_INCREF(Py_None); resultobj = Py_None;
24416 return resultobj;
24417 fail:
24418 return NULL;
24419 }
24420
24421
24422 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24423 PyObject *resultobj;
24424 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24425 wxImageList *arg2 = (wxImageList *) 0 ;
24426 PyObject * obj0 = 0 ;
24427 PyObject * obj1 = 0 ;
24428 char *kwnames[] = {
24429 (char *) "self",(char *) "imageList", NULL
24430 };
24431
24432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
24433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24435 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24436 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24437 {
24438 PyThreadState* __tstate = wxPyBeginAllowThreads();
24439 (arg1)->AssignImageList(arg2);
24440
24441 wxPyEndAllowThreads(__tstate);
24442 if (PyErr_Occurred()) SWIG_fail;
24443 }
24444 Py_INCREF(Py_None); resultobj = Py_None;
24445 return resultobj;
24446 fail:
24447 return NULL;
24448 }
24449
24450
24451 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24452 PyObject *resultobj;
24453 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24454 wxImageList *arg2 = (wxImageList *) 0 ;
24455 PyObject * obj0 = 0 ;
24456 PyObject * obj1 = 0 ;
24457 char *kwnames[] = {
24458 (char *) "self",(char *) "imageList", NULL
24459 };
24460
24461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
24462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24464 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24465 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24466 {
24467 PyThreadState* __tstate = wxPyBeginAllowThreads();
24468 (arg1)->AssignStateImageList(arg2);
24469
24470 wxPyEndAllowThreads(__tstate);
24471 if (PyErr_Occurred()) SWIG_fail;
24472 }
24473 Py_INCREF(Py_None); resultobj = Py_None;
24474 return resultobj;
24475 fail:
24476 return NULL;
24477 }
24478
24479
24480 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24481 PyObject *resultobj;
24482 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24483 wxTreeItemId *arg2 = 0 ;
24484 wxString result;
24485 PyObject * obj0 = 0 ;
24486 PyObject * obj1 = 0 ;
24487 char *kwnames[] = {
24488 (char *) "self",(char *) "item", NULL
24489 };
24490
24491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24494 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24495 SWIG_POINTER_EXCEPTION | 0)) == -1)
24496 SWIG_fail;
24497 if (arg2 == NULL) {
24498 PyErr_SetString(PyExc_TypeError,"null reference");
24499 SWIG_fail;
24500 }
24501 {
24502 PyThreadState* __tstate = wxPyBeginAllowThreads();
24503 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
24504
24505 wxPyEndAllowThreads(__tstate);
24506 if (PyErr_Occurred()) SWIG_fail;
24507 }
24508 {
24509 #if wxUSE_UNICODE
24510 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24511 #else
24512 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24513 #endif
24514 }
24515 return resultobj;
24516 fail:
24517 return NULL;
24518 }
24519
24520
24521 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24522 PyObject *resultobj;
24523 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24524 wxTreeItemId *arg2 = 0 ;
24525 int arg3 = (int) wxTreeItemIcon_Normal ;
24526 int result;
24527 PyObject * obj0 = 0 ;
24528 PyObject * obj1 = 0 ;
24529 PyObject * obj2 = 0 ;
24530 char *kwnames[] = {
24531 (char *) "self",(char *) "item",(char *) "which", NULL
24532 };
24533
24534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24537 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24538 SWIG_POINTER_EXCEPTION | 0)) == -1)
24539 SWIG_fail;
24540 if (arg2 == NULL) {
24541 PyErr_SetString(PyExc_TypeError,"null reference");
24542 SWIG_fail;
24543 }
24544 if (obj2) {
24545 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
24546 if (PyErr_Occurred()) SWIG_fail;
24547 }
24548 {
24549 PyThreadState* __tstate = wxPyBeginAllowThreads();
24550 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
24551
24552 wxPyEndAllowThreads(__tstate);
24553 if (PyErr_Occurred()) SWIG_fail;
24554 }
24555 resultobj = SWIG_FromInt((int)result);
24556 return resultobj;
24557 fail:
24558 return NULL;
24559 }
24560
24561
24562 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24563 PyObject *resultobj;
24564 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24565 wxTreeItemId *arg2 = 0 ;
24566 wxPyTreeItemData *result;
24567 PyObject * obj0 = 0 ;
24568 PyObject * obj1 = 0 ;
24569 char *kwnames[] = {
24570 (char *) "self",(char *) "item", NULL
24571 };
24572
24573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24576 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24577 SWIG_POINTER_EXCEPTION | 0)) == -1)
24578 SWIG_fail;
24579 if (arg2 == NULL) {
24580 PyErr_SetString(PyExc_TypeError,"null reference");
24581 SWIG_fail;
24582 }
24583 {
24584 PyThreadState* __tstate = wxPyBeginAllowThreads();
24585 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
24586
24587 wxPyEndAllowThreads(__tstate);
24588 if (PyErr_Occurred()) SWIG_fail;
24589 }
24590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
24591 return resultobj;
24592 fail:
24593 return NULL;
24594 }
24595
24596
24597 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24598 PyObject *resultobj;
24599 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24600 wxTreeItemId *arg2 = 0 ;
24601 PyObject *result;
24602 PyObject * obj0 = 0 ;
24603 PyObject * obj1 = 0 ;
24604 char *kwnames[] = {
24605 (char *) "self",(char *) "item", NULL
24606 };
24607
24608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
24609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24611 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24612 SWIG_POINTER_EXCEPTION | 0)) == -1)
24613 SWIG_fail;
24614 if (arg2 == NULL) {
24615 PyErr_SetString(PyExc_TypeError,"null reference");
24616 SWIG_fail;
24617 }
24618 {
24619 PyThreadState* __tstate = wxPyBeginAllowThreads();
24620 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
24621
24622 wxPyEndAllowThreads(__tstate);
24623 if (PyErr_Occurred()) SWIG_fail;
24624 }
24625 resultobj = result;
24626 return resultobj;
24627 fail:
24628 return NULL;
24629 }
24630
24631
24632 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24633 PyObject *resultobj;
24634 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24635 wxTreeItemId *arg2 = 0 ;
24636 wxColour result;
24637 PyObject * obj0 = 0 ;
24638 PyObject * obj1 = 0 ;
24639 char *kwnames[] = {
24640 (char *) "self",(char *) "item", NULL
24641 };
24642
24643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
24644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24646 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24647 SWIG_POINTER_EXCEPTION | 0)) == -1)
24648 SWIG_fail;
24649 if (arg2 == NULL) {
24650 PyErr_SetString(PyExc_TypeError,"null reference");
24651 SWIG_fail;
24652 }
24653 {
24654 PyThreadState* __tstate = wxPyBeginAllowThreads();
24655 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
24656
24657 wxPyEndAllowThreads(__tstate);
24658 if (PyErr_Occurred()) SWIG_fail;
24659 }
24660 {
24661 wxColour * resultptr;
24662 resultptr = new wxColour((wxColour &) result);
24663 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24664 }
24665 return resultobj;
24666 fail:
24667 return NULL;
24668 }
24669
24670
24671 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24672 PyObject *resultobj;
24673 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24674 wxTreeItemId *arg2 = 0 ;
24675 wxColour result;
24676 PyObject * obj0 = 0 ;
24677 PyObject * obj1 = 0 ;
24678 char *kwnames[] = {
24679 (char *) "self",(char *) "item", NULL
24680 };
24681
24682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24686 SWIG_POINTER_EXCEPTION | 0)) == -1)
24687 SWIG_fail;
24688 if (arg2 == NULL) {
24689 PyErr_SetString(PyExc_TypeError,"null reference");
24690 SWIG_fail;
24691 }
24692 {
24693 PyThreadState* __tstate = wxPyBeginAllowThreads();
24694 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24695
24696 wxPyEndAllowThreads(__tstate);
24697 if (PyErr_Occurred()) SWIG_fail;
24698 }
24699 {
24700 wxColour * resultptr;
24701 resultptr = new wxColour((wxColour &) result);
24702 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24703 }
24704 return resultobj;
24705 fail:
24706 return NULL;
24707 }
24708
24709
24710 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24711 PyObject *resultobj;
24712 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24713 wxTreeItemId *arg2 = 0 ;
24714 wxFont result;
24715 PyObject * obj0 = 0 ;
24716 PyObject * obj1 = 0 ;
24717 char *kwnames[] = {
24718 (char *) "self",(char *) "item", NULL
24719 };
24720
24721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
24722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24724 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24725 SWIG_POINTER_EXCEPTION | 0)) == -1)
24726 SWIG_fail;
24727 if (arg2 == NULL) {
24728 PyErr_SetString(PyExc_TypeError,"null reference");
24729 SWIG_fail;
24730 }
24731 {
24732 PyThreadState* __tstate = wxPyBeginAllowThreads();
24733 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24734
24735 wxPyEndAllowThreads(__tstate);
24736 if (PyErr_Occurred()) SWIG_fail;
24737 }
24738 {
24739 wxFont * resultptr;
24740 resultptr = new wxFont((wxFont &) result);
24741 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
24742 }
24743 return resultobj;
24744 fail:
24745 return NULL;
24746 }
24747
24748
24749 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24750 PyObject *resultobj;
24751 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24752 wxTreeItemId *arg2 = 0 ;
24753 wxString *arg3 = 0 ;
24754 bool temp3 = False ;
24755 PyObject * obj0 = 0 ;
24756 PyObject * obj1 = 0 ;
24757 PyObject * obj2 = 0 ;
24758 char *kwnames[] = {
24759 (char *) "self",(char *) "item",(char *) "text", NULL
24760 };
24761
24762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24765 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24766 SWIG_POINTER_EXCEPTION | 0)) == -1)
24767 SWIG_fail;
24768 if (arg2 == NULL) {
24769 PyErr_SetString(PyExc_TypeError,"null reference");
24770 SWIG_fail;
24771 }
24772 {
24773 arg3 = wxString_in_helper(obj2);
24774 if (arg3 == NULL) SWIG_fail;
24775 temp3 = True;
24776 }
24777 {
24778 PyThreadState* __tstate = wxPyBeginAllowThreads();
24779 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24780
24781 wxPyEndAllowThreads(__tstate);
24782 if (PyErr_Occurred()) SWIG_fail;
24783 }
24784 Py_INCREF(Py_None); resultobj = Py_None;
24785 {
24786 if (temp3)
24787 delete arg3;
24788 }
24789 return resultobj;
24790 fail:
24791 {
24792 if (temp3)
24793 delete arg3;
24794 }
24795 return NULL;
24796 }
24797
24798
24799 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24800 PyObject *resultobj;
24801 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24802 wxTreeItemId *arg2 = 0 ;
24803 int arg3 ;
24804 int arg4 = (int) wxTreeItemIcon_Normal ;
24805 PyObject * obj0 = 0 ;
24806 PyObject * obj1 = 0 ;
24807 PyObject * obj2 = 0 ;
24808 PyObject * obj3 = 0 ;
24809 char *kwnames[] = {
24810 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24811 };
24812
24813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24816 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24817 SWIG_POINTER_EXCEPTION | 0)) == -1)
24818 SWIG_fail;
24819 if (arg2 == NULL) {
24820 PyErr_SetString(PyExc_TypeError,"null reference");
24821 SWIG_fail;
24822 }
24823 arg3 = (int) SWIG_AsInt(obj2);
24824 if (PyErr_Occurred()) SWIG_fail;
24825 if (obj3) {
24826 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
24827 if (PyErr_Occurred()) SWIG_fail;
24828 }
24829 {
24830 PyThreadState* __tstate = wxPyBeginAllowThreads();
24831 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
24832
24833 wxPyEndAllowThreads(__tstate);
24834 if (PyErr_Occurred()) SWIG_fail;
24835 }
24836 Py_INCREF(Py_None); resultobj = Py_None;
24837 return resultobj;
24838 fail:
24839 return NULL;
24840 }
24841
24842
24843 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24844 PyObject *resultobj;
24845 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24846 wxTreeItemId *arg2 = 0 ;
24847 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
24848 PyObject * obj0 = 0 ;
24849 PyObject * obj1 = 0 ;
24850 PyObject * obj2 = 0 ;
24851 char *kwnames[] = {
24852 (char *) "self",(char *) "item",(char *) "data", NULL
24853 };
24854
24855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24858 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24859 SWIG_POINTER_EXCEPTION | 0)) == -1)
24860 SWIG_fail;
24861 if (arg2 == NULL) {
24862 PyErr_SetString(PyExc_TypeError,"null reference");
24863 SWIG_fail;
24864 }
24865 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
24866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24867 {
24868 PyThreadState* __tstate = wxPyBeginAllowThreads();
24869 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
24870
24871 wxPyEndAllowThreads(__tstate);
24872 if (PyErr_Occurred()) SWIG_fail;
24873 }
24874 Py_INCREF(Py_None); resultobj = Py_None;
24875 return resultobj;
24876 fail:
24877 return NULL;
24878 }
24879
24880
24881 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24882 PyObject *resultobj;
24883 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24884 wxTreeItemId *arg2 = 0 ;
24885 PyObject *arg3 = (PyObject *) 0 ;
24886 PyObject * obj0 = 0 ;
24887 PyObject * obj1 = 0 ;
24888 PyObject * obj2 = 0 ;
24889 char *kwnames[] = {
24890 (char *) "self",(char *) "item",(char *) "obj", NULL
24891 };
24892
24893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24896 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24897 SWIG_POINTER_EXCEPTION | 0)) == -1)
24898 SWIG_fail;
24899 if (arg2 == NULL) {
24900 PyErr_SetString(PyExc_TypeError,"null reference");
24901 SWIG_fail;
24902 }
24903 arg3 = obj2;
24904 {
24905 PyThreadState* __tstate = wxPyBeginAllowThreads();
24906 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
24907
24908 wxPyEndAllowThreads(__tstate);
24909 if (PyErr_Occurred()) SWIG_fail;
24910 }
24911 Py_INCREF(Py_None); resultobj = Py_None;
24912 return resultobj;
24913 fail:
24914 return NULL;
24915 }
24916
24917
24918 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24919 PyObject *resultobj;
24920 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24921 wxTreeItemId *arg2 = 0 ;
24922 bool arg3 = (bool) True ;
24923 PyObject * obj0 = 0 ;
24924 PyObject * obj1 = 0 ;
24925 PyObject * obj2 = 0 ;
24926 char *kwnames[] = {
24927 (char *) "self",(char *) "item",(char *) "has", NULL
24928 };
24929
24930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
24931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24933 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24934 SWIG_POINTER_EXCEPTION | 0)) == -1)
24935 SWIG_fail;
24936 if (arg2 == NULL) {
24937 PyErr_SetString(PyExc_TypeError,"null reference");
24938 SWIG_fail;
24939 }
24940 if (obj2) {
24941 arg3 = (bool) SWIG_AsBool(obj2);
24942 if (PyErr_Occurred()) SWIG_fail;
24943 }
24944 {
24945 PyThreadState* __tstate = wxPyBeginAllowThreads();
24946 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
24947
24948 wxPyEndAllowThreads(__tstate);
24949 if (PyErr_Occurred()) SWIG_fail;
24950 }
24951 Py_INCREF(Py_None); resultobj = Py_None;
24952 return resultobj;
24953 fail:
24954 return NULL;
24955 }
24956
24957
24958 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
24959 PyObject *resultobj;
24960 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24961 wxTreeItemId *arg2 = 0 ;
24962 bool arg3 = (bool) True ;
24963 PyObject * obj0 = 0 ;
24964 PyObject * obj1 = 0 ;
24965 PyObject * obj2 = 0 ;
24966 char *kwnames[] = {
24967 (char *) "self",(char *) "item",(char *) "bold", NULL
24968 };
24969
24970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) 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 if (obj2) {
24981 arg3 = (bool) SWIG_AsBool(obj2);
24982 if (PyErr_Occurred()) SWIG_fail;
24983 }
24984 {
24985 PyThreadState* __tstate = wxPyBeginAllowThreads();
24986 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
24987
24988 wxPyEndAllowThreads(__tstate);
24989 if (PyErr_Occurred()) SWIG_fail;
24990 }
24991 Py_INCREF(Py_None); resultobj = Py_None;
24992 return resultobj;
24993 fail:
24994 return NULL;
24995 }
24996
24997
24998 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24999 PyObject *resultobj;
25000 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25001 wxTreeItemId *arg2 = 0 ;
25002 wxColour *arg3 = 0 ;
25003 wxColour temp3 ;
25004 PyObject * obj0 = 0 ;
25005 PyObject * obj1 = 0 ;
25006 PyObject * obj2 = 0 ;
25007 char *kwnames[] = {
25008 (char *) "self",(char *) "item",(char *) "col", NULL
25009 };
25010
25011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
25012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25014 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25015 SWIG_POINTER_EXCEPTION | 0)) == -1)
25016 SWIG_fail;
25017 if (arg2 == NULL) {
25018 PyErr_SetString(PyExc_TypeError,"null reference");
25019 SWIG_fail;
25020 }
25021 {
25022 arg3 = &temp3;
25023 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
25024 }
25025 {
25026 PyThreadState* __tstate = wxPyBeginAllowThreads();
25027 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
25028
25029 wxPyEndAllowThreads(__tstate);
25030 if (PyErr_Occurred()) SWIG_fail;
25031 }
25032 Py_INCREF(Py_None); resultobj = Py_None;
25033 return resultobj;
25034 fail:
25035 return NULL;
25036 }
25037
25038
25039 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25040 PyObject *resultobj;
25041 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25042 wxTreeItemId *arg2 = 0 ;
25043 wxColour *arg3 = 0 ;
25044 wxColour temp3 ;
25045 PyObject * obj0 = 0 ;
25046 PyObject * obj1 = 0 ;
25047 PyObject * obj2 = 0 ;
25048 char *kwnames[] = {
25049 (char *) "self",(char *) "item",(char *) "col", NULL
25050 };
25051
25052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
25053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25055 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25056 SWIG_POINTER_EXCEPTION | 0)) == -1)
25057 SWIG_fail;
25058 if (arg2 == NULL) {
25059 PyErr_SetString(PyExc_TypeError,"null reference");
25060 SWIG_fail;
25061 }
25062 {
25063 arg3 = &temp3;
25064 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
25065 }
25066 {
25067 PyThreadState* __tstate = wxPyBeginAllowThreads();
25068 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
25069
25070 wxPyEndAllowThreads(__tstate);
25071 if (PyErr_Occurred()) SWIG_fail;
25072 }
25073 Py_INCREF(Py_None); resultobj = Py_None;
25074 return resultobj;
25075 fail:
25076 return NULL;
25077 }
25078
25079
25080 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25081 PyObject *resultobj;
25082 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25083 wxTreeItemId *arg2 = 0 ;
25084 wxFont *arg3 = 0 ;
25085 PyObject * obj0 = 0 ;
25086 PyObject * obj1 = 0 ;
25087 PyObject * obj2 = 0 ;
25088 char *kwnames[] = {
25089 (char *) "self",(char *) "item",(char *) "font", NULL
25090 };
25091
25092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
25093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25095 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25096 SWIG_POINTER_EXCEPTION | 0)) == -1)
25097 SWIG_fail;
25098 if (arg2 == NULL) {
25099 PyErr_SetString(PyExc_TypeError,"null reference");
25100 SWIG_fail;
25101 }
25102 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
25103 SWIG_POINTER_EXCEPTION | 0)) == -1)
25104 SWIG_fail;
25105 if (arg3 == NULL) {
25106 PyErr_SetString(PyExc_TypeError,"null reference");
25107 SWIG_fail;
25108 }
25109 {
25110 PyThreadState* __tstate = wxPyBeginAllowThreads();
25111 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
25112
25113 wxPyEndAllowThreads(__tstate);
25114 if (PyErr_Occurred()) SWIG_fail;
25115 }
25116 Py_INCREF(Py_None); resultobj = Py_None;
25117 return resultobj;
25118 fail:
25119 return NULL;
25120 }
25121
25122
25123 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25124 PyObject *resultobj;
25125 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25126 wxTreeItemId *arg2 = 0 ;
25127 bool result;
25128 PyObject * obj0 = 0 ;
25129 PyObject * obj1 = 0 ;
25130 char *kwnames[] = {
25131 (char *) "self",(char *) "item", NULL
25132 };
25133
25134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
25135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25137 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25138 SWIG_POINTER_EXCEPTION | 0)) == -1)
25139 SWIG_fail;
25140 if (arg2 == NULL) {
25141 PyErr_SetString(PyExc_TypeError,"null reference");
25142 SWIG_fail;
25143 }
25144 {
25145 PyThreadState* __tstate = wxPyBeginAllowThreads();
25146 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
25147
25148 wxPyEndAllowThreads(__tstate);
25149 if (PyErr_Occurred()) SWIG_fail;
25150 }
25151 {
25152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25153 }
25154 return resultobj;
25155 fail:
25156 return NULL;
25157 }
25158
25159
25160 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25161 PyObject *resultobj;
25162 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25163 wxTreeItemId *arg2 = 0 ;
25164 bool result;
25165 PyObject * obj0 = 0 ;
25166 PyObject * obj1 = 0 ;
25167 char *kwnames[] = {
25168 (char *) "self",(char *) "item", NULL
25169 };
25170
25171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
25172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25174 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25175 SWIG_POINTER_EXCEPTION | 0)) == -1)
25176 SWIG_fail;
25177 if (arg2 == NULL) {
25178 PyErr_SetString(PyExc_TypeError,"null reference");
25179 SWIG_fail;
25180 }
25181 {
25182 PyThreadState* __tstate = wxPyBeginAllowThreads();
25183 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
25184
25185 wxPyEndAllowThreads(__tstate);
25186 if (PyErr_Occurred()) SWIG_fail;
25187 }
25188 {
25189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25190 }
25191 return resultobj;
25192 fail:
25193 return NULL;
25194 }
25195
25196
25197 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
25198 PyObject *resultobj;
25199 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25200 wxTreeItemId *arg2 = 0 ;
25201 bool result;
25202 PyObject * obj0 = 0 ;
25203 PyObject * obj1 = 0 ;
25204 char *kwnames[] = {
25205 (char *) "self",(char *) "item", NULL
25206 };
25207
25208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
25209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25211 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25212 SWIG_POINTER_EXCEPTION | 0)) == -1)
25213 SWIG_fail;
25214 if (arg2 == NULL) {
25215 PyErr_SetString(PyExc_TypeError,"null reference");
25216 SWIG_fail;
25217 }
25218 {
25219 PyThreadState* __tstate = wxPyBeginAllowThreads();
25220 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
25221
25222 wxPyEndAllowThreads(__tstate);
25223 if (PyErr_Occurred()) SWIG_fail;
25224 }
25225 {
25226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25227 }
25228 return resultobj;
25229 fail:
25230 return NULL;
25231 }
25232
25233
25234 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
25235 PyObject *resultobj;
25236 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25237 wxTreeItemId *arg2 = 0 ;
25238 bool result;
25239 PyObject * obj0 = 0 ;
25240 PyObject * obj1 = 0 ;
25241 char *kwnames[] = {
25242 (char *) "self",(char *) "item", NULL
25243 };
25244
25245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
25246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25248 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25249 SWIG_POINTER_EXCEPTION | 0)) == -1)
25250 SWIG_fail;
25251 if (arg2 == NULL) {
25252 PyErr_SetString(PyExc_TypeError,"null reference");
25253 SWIG_fail;
25254 }
25255 {
25256 PyThreadState* __tstate = wxPyBeginAllowThreads();
25257 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
25258
25259 wxPyEndAllowThreads(__tstate);
25260 if (PyErr_Occurred()) SWIG_fail;
25261 }
25262 {
25263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25264 }
25265 return resultobj;
25266 fail:
25267 return NULL;
25268 }
25269
25270
25271 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
25272 PyObject *resultobj;
25273 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25274 wxTreeItemId *arg2 = 0 ;
25275 bool result;
25276 PyObject * obj0 = 0 ;
25277 PyObject * obj1 = 0 ;
25278 char *kwnames[] = {
25279 (char *) "self",(char *) "item", NULL
25280 };
25281
25282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
25283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25285 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25286 SWIG_POINTER_EXCEPTION | 0)) == -1)
25287 SWIG_fail;
25288 if (arg2 == NULL) {
25289 PyErr_SetString(PyExc_TypeError,"null reference");
25290 SWIG_fail;
25291 }
25292 {
25293 PyThreadState* __tstate = wxPyBeginAllowThreads();
25294 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
25295
25296 wxPyEndAllowThreads(__tstate);
25297 if (PyErr_Occurred()) SWIG_fail;
25298 }
25299 {
25300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25301 }
25302 return resultobj;
25303 fail:
25304 return NULL;
25305 }
25306
25307
25308 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25309 PyObject *resultobj;
25310 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25311 wxTreeItemId *arg2 = 0 ;
25312 bool arg3 = (bool) True ;
25313 size_t result;
25314 PyObject * obj0 = 0 ;
25315 PyObject * obj1 = 0 ;
25316 PyObject * obj2 = 0 ;
25317 char *kwnames[] = {
25318 (char *) "self",(char *) "item",(char *) "recursively", NULL
25319 };
25320
25321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
25322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25324 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25325 SWIG_POINTER_EXCEPTION | 0)) == -1)
25326 SWIG_fail;
25327 if (arg2 == NULL) {
25328 PyErr_SetString(PyExc_TypeError,"null reference");
25329 SWIG_fail;
25330 }
25331 if (obj2) {
25332 arg3 = (bool) SWIG_AsBool(obj2);
25333 if (PyErr_Occurred()) SWIG_fail;
25334 }
25335 {
25336 PyThreadState* __tstate = wxPyBeginAllowThreads();
25337 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
25338
25339 wxPyEndAllowThreads(__tstate);
25340 if (PyErr_Occurred()) SWIG_fail;
25341 }
25342 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25343 return resultobj;
25344 fail:
25345 return NULL;
25346 }
25347
25348
25349 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25350 PyObject *resultobj;
25351 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25352 wxTreeItemId result;
25353 PyObject * obj0 = 0 ;
25354 char *kwnames[] = {
25355 (char *) "self", NULL
25356 };
25357
25358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
25359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25361 {
25362 PyThreadState* __tstate = wxPyBeginAllowThreads();
25363 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
25364
25365 wxPyEndAllowThreads(__tstate);
25366 if (PyErr_Occurred()) SWIG_fail;
25367 }
25368 {
25369 wxTreeItemId * resultptr;
25370 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25371 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25372 }
25373 return resultobj;
25374 fail:
25375 return NULL;
25376 }
25377
25378
25379 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
25380 PyObject *resultobj;
25381 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25382 wxTreeItemId result;
25383 PyObject * obj0 = 0 ;
25384 char *kwnames[] = {
25385 (char *) "self", NULL
25386 };
25387
25388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
25389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25391 {
25392 PyThreadState* __tstate = wxPyBeginAllowThreads();
25393 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
25394
25395 wxPyEndAllowThreads(__tstate);
25396 if (PyErr_Occurred()) SWIG_fail;
25397 }
25398 {
25399 wxTreeItemId * resultptr;
25400 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25401 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25402 }
25403 return resultobj;
25404 fail:
25405 return NULL;
25406 }
25407
25408
25409 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
25410 PyObject *resultobj;
25411 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25412 PyObject *result;
25413 PyObject * obj0 = 0 ;
25414 char *kwnames[] = {
25415 (char *) "self", NULL
25416 };
25417
25418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
25419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25421 {
25422 PyThreadState* __tstate = wxPyBeginAllowThreads();
25423 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
25424
25425 wxPyEndAllowThreads(__tstate);
25426 if (PyErr_Occurred()) SWIG_fail;
25427 }
25428 resultobj = result;
25429 return resultobj;
25430 fail:
25431 return NULL;
25432 }
25433
25434
25435 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
25436 PyObject *resultobj;
25437 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25438 wxTreeItemId *arg2 = 0 ;
25439 wxTreeItemId result;
25440 PyObject * obj0 = 0 ;
25441 PyObject * obj1 = 0 ;
25442 char *kwnames[] = {
25443 (char *) "self",(char *) "item", NULL
25444 };
25445
25446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
25447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25449 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25450 SWIG_POINTER_EXCEPTION | 0)) == -1)
25451 SWIG_fail;
25452 if (arg2 == NULL) {
25453 PyErr_SetString(PyExc_TypeError,"null reference");
25454 SWIG_fail;
25455 }
25456 {
25457 PyThreadState* __tstate = wxPyBeginAllowThreads();
25458 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
25459
25460 wxPyEndAllowThreads(__tstate);
25461 if (PyErr_Occurred()) SWIG_fail;
25462 }
25463 {
25464 wxTreeItemId * resultptr;
25465 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25466 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25467 }
25468 return resultobj;
25469 fail:
25470 return NULL;
25471 }
25472
25473
25474 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25475 PyObject *resultobj;
25476 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25477 wxTreeItemId *arg2 = 0 ;
25478 PyObject *result;
25479 PyObject * obj0 = 0 ;
25480 PyObject * obj1 = 0 ;
25481 char *kwnames[] = {
25482 (char *) "self",(char *) "item", NULL
25483 };
25484
25485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
25486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25488 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25489 SWIG_POINTER_EXCEPTION | 0)) == -1)
25490 SWIG_fail;
25491 if (arg2 == NULL) {
25492 PyErr_SetString(PyExc_TypeError,"null reference");
25493 SWIG_fail;
25494 }
25495 {
25496 PyThreadState* __tstate = wxPyBeginAllowThreads();
25497 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
25498
25499 wxPyEndAllowThreads(__tstate);
25500 if (PyErr_Occurred()) SWIG_fail;
25501 }
25502 resultobj = result;
25503 return resultobj;
25504 fail:
25505 return NULL;
25506 }
25507
25508
25509 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25510 PyObject *resultobj;
25511 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25512 wxTreeItemId *arg2 = 0 ;
25513 void *arg3 = (void *) 0 ;
25514 PyObject *result;
25515 PyObject * obj0 = 0 ;
25516 PyObject * obj1 = 0 ;
25517 PyObject * obj2 = 0 ;
25518 char *kwnames[] = {
25519 (char *) "self",(char *) "item",(char *) "cookie", NULL
25520 };
25521
25522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
25523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25526 SWIG_POINTER_EXCEPTION | 0)) == -1)
25527 SWIG_fail;
25528 if (arg2 == NULL) {
25529 PyErr_SetString(PyExc_TypeError,"null reference");
25530 SWIG_fail;
25531 }
25532 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25533 {
25534 PyThreadState* __tstate = wxPyBeginAllowThreads();
25535 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
25536
25537 wxPyEndAllowThreads(__tstate);
25538 if (PyErr_Occurred()) SWIG_fail;
25539 }
25540 resultobj = result;
25541 return resultobj;
25542 fail:
25543 return NULL;
25544 }
25545
25546
25547 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25548 PyObject *resultobj;
25549 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25550 wxTreeItemId *arg2 = 0 ;
25551 wxTreeItemId result;
25552 PyObject * obj0 = 0 ;
25553 PyObject * obj1 = 0 ;
25554 char *kwnames[] = {
25555 (char *) "self",(char *) "item", NULL
25556 };
25557
25558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
25559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25561 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25562 SWIG_POINTER_EXCEPTION | 0)) == -1)
25563 SWIG_fail;
25564 if (arg2 == NULL) {
25565 PyErr_SetString(PyExc_TypeError,"null reference");
25566 SWIG_fail;
25567 }
25568 {
25569 PyThreadState* __tstate = wxPyBeginAllowThreads();
25570 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
25571
25572 wxPyEndAllowThreads(__tstate);
25573 if (PyErr_Occurred()) SWIG_fail;
25574 }
25575 {
25576 wxTreeItemId * resultptr;
25577 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25578 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25579 }
25580 return resultobj;
25581 fail:
25582 return NULL;
25583 }
25584
25585
25586 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25587 PyObject *resultobj;
25588 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25589 wxTreeItemId *arg2 = 0 ;
25590 wxTreeItemId result;
25591 PyObject * obj0 = 0 ;
25592 PyObject * obj1 = 0 ;
25593 char *kwnames[] = {
25594 (char *) "self",(char *) "item", NULL
25595 };
25596
25597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
25598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25600 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25601 SWIG_POINTER_EXCEPTION | 0)) == -1)
25602 SWIG_fail;
25603 if (arg2 == NULL) {
25604 PyErr_SetString(PyExc_TypeError,"null reference");
25605 SWIG_fail;
25606 }
25607 {
25608 PyThreadState* __tstate = wxPyBeginAllowThreads();
25609 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
25610
25611 wxPyEndAllowThreads(__tstate);
25612 if (PyErr_Occurred()) SWIG_fail;
25613 }
25614 {
25615 wxTreeItemId * resultptr;
25616 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25617 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25618 }
25619 return resultobj;
25620 fail:
25621 return NULL;
25622 }
25623
25624
25625 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25626 PyObject *resultobj;
25627 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25628 wxTreeItemId *arg2 = 0 ;
25629 wxTreeItemId result;
25630 PyObject * obj0 = 0 ;
25631 PyObject * obj1 = 0 ;
25632 char *kwnames[] = {
25633 (char *) "self",(char *) "item", NULL
25634 };
25635
25636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
25637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25639 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25640 SWIG_POINTER_EXCEPTION | 0)) == -1)
25641 SWIG_fail;
25642 if (arg2 == NULL) {
25643 PyErr_SetString(PyExc_TypeError,"null reference");
25644 SWIG_fail;
25645 }
25646 {
25647 PyThreadState* __tstate = wxPyBeginAllowThreads();
25648 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
25649
25650 wxPyEndAllowThreads(__tstate);
25651 if (PyErr_Occurred()) SWIG_fail;
25652 }
25653 {
25654 wxTreeItemId * resultptr;
25655 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25656 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25657 }
25658 return resultobj;
25659 fail:
25660 return NULL;
25661 }
25662
25663
25664 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25665 PyObject *resultobj;
25666 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25667 wxTreeItemId result;
25668 PyObject * obj0 = 0 ;
25669 char *kwnames[] = {
25670 (char *) "self", NULL
25671 };
25672
25673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
25674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25676 {
25677 PyThreadState* __tstate = wxPyBeginAllowThreads();
25678 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
25679
25680 wxPyEndAllowThreads(__tstate);
25681 if (PyErr_Occurred()) SWIG_fail;
25682 }
25683 {
25684 wxTreeItemId * resultptr;
25685 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25686 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25687 }
25688 return resultobj;
25689 fail:
25690 return NULL;
25691 }
25692
25693
25694 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25695 PyObject *resultobj;
25696 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25697 wxTreeItemId *arg2 = 0 ;
25698 wxTreeItemId result;
25699 PyObject * obj0 = 0 ;
25700 PyObject * obj1 = 0 ;
25701 char *kwnames[] = {
25702 (char *) "self",(char *) "item", NULL
25703 };
25704
25705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
25706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25708 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25709 SWIG_POINTER_EXCEPTION | 0)) == -1)
25710 SWIG_fail;
25711 if (arg2 == NULL) {
25712 PyErr_SetString(PyExc_TypeError,"null reference");
25713 SWIG_fail;
25714 }
25715 {
25716 PyThreadState* __tstate = wxPyBeginAllowThreads();
25717 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
25718
25719 wxPyEndAllowThreads(__tstate);
25720 if (PyErr_Occurred()) SWIG_fail;
25721 }
25722 {
25723 wxTreeItemId * resultptr;
25724 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25725 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25726 }
25727 return resultobj;
25728 fail:
25729 return NULL;
25730 }
25731
25732
25733 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25734 PyObject *resultobj;
25735 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25736 wxTreeItemId *arg2 = 0 ;
25737 wxTreeItemId result;
25738 PyObject * obj0 = 0 ;
25739 PyObject * obj1 = 0 ;
25740 char *kwnames[] = {
25741 (char *) "self",(char *) "item", NULL
25742 };
25743
25744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
25745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25747 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25748 SWIG_POINTER_EXCEPTION | 0)) == -1)
25749 SWIG_fail;
25750 if (arg2 == NULL) {
25751 PyErr_SetString(PyExc_TypeError,"null reference");
25752 SWIG_fail;
25753 }
25754 {
25755 PyThreadState* __tstate = wxPyBeginAllowThreads();
25756 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
25757
25758 wxPyEndAllowThreads(__tstate);
25759 if (PyErr_Occurred()) SWIG_fail;
25760 }
25761 {
25762 wxTreeItemId * resultptr;
25763 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25764 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25765 }
25766 return resultobj;
25767 fail:
25768 return NULL;
25769 }
25770
25771
25772 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
25773 PyObject *resultobj;
25774 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25775 wxString *arg2 = 0 ;
25776 int arg3 = (int) -1 ;
25777 int arg4 = (int) -1 ;
25778 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
25779 wxTreeItemId result;
25780 bool temp2 = False ;
25781 PyObject * obj0 = 0 ;
25782 PyObject * obj1 = 0 ;
25783 PyObject * obj2 = 0 ;
25784 PyObject * obj3 = 0 ;
25785 PyObject * obj4 = 0 ;
25786 char *kwnames[] = {
25787 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25788 };
25789
25790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25793 {
25794 arg2 = wxString_in_helper(obj1);
25795 if (arg2 == NULL) SWIG_fail;
25796 temp2 = True;
25797 }
25798 if (obj2) {
25799 arg3 = (int) SWIG_AsInt(obj2);
25800 if (PyErr_Occurred()) SWIG_fail;
25801 }
25802 if (obj3) {
25803 arg4 = (int) SWIG_AsInt(obj3);
25804 if (PyErr_Occurred()) SWIG_fail;
25805 }
25806 if (obj4) {
25807 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
25808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25809 }
25810 {
25811 PyThreadState* __tstate = wxPyBeginAllowThreads();
25812 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
25813
25814 wxPyEndAllowThreads(__tstate);
25815 if (PyErr_Occurred()) SWIG_fail;
25816 }
25817 {
25818 wxTreeItemId * resultptr;
25819 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25820 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25821 }
25822 {
25823 if (temp2)
25824 delete arg2;
25825 }
25826 return resultobj;
25827 fail:
25828 {
25829 if (temp2)
25830 delete arg2;
25831 }
25832 return NULL;
25833 }
25834
25835
25836 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25837 PyObject *resultobj;
25838 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25839 wxTreeItemId *arg2 = 0 ;
25840 wxString *arg3 = 0 ;
25841 int arg4 = (int) -1 ;
25842 int arg5 = (int) -1 ;
25843 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25844 wxTreeItemId result;
25845 bool temp3 = False ;
25846 PyObject * obj0 = 0 ;
25847 PyObject * obj1 = 0 ;
25848 PyObject * obj2 = 0 ;
25849 PyObject * obj3 = 0 ;
25850 PyObject * obj4 = 0 ;
25851 PyObject * obj5 = 0 ;
25852 char *kwnames[] = {
25853 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25854 };
25855
25856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25859 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25860 SWIG_POINTER_EXCEPTION | 0)) == -1)
25861 SWIG_fail;
25862 if (arg2 == NULL) {
25863 PyErr_SetString(PyExc_TypeError,"null reference");
25864 SWIG_fail;
25865 }
25866 {
25867 arg3 = wxString_in_helper(obj2);
25868 if (arg3 == NULL) SWIG_fail;
25869 temp3 = True;
25870 }
25871 if (obj3) {
25872 arg4 = (int) SWIG_AsInt(obj3);
25873 if (PyErr_Occurred()) SWIG_fail;
25874 }
25875 if (obj4) {
25876 arg5 = (int) SWIG_AsInt(obj4);
25877 if (PyErr_Occurred()) SWIG_fail;
25878 }
25879 if (obj5) {
25880 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
25881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25882 }
25883 {
25884 PyThreadState* __tstate = wxPyBeginAllowThreads();
25885 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25886
25887 wxPyEndAllowThreads(__tstate);
25888 if (PyErr_Occurred()) SWIG_fail;
25889 }
25890 {
25891 wxTreeItemId * resultptr;
25892 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25893 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25894 }
25895 {
25896 if (temp3)
25897 delete arg3;
25898 }
25899 return resultobj;
25900 fail:
25901 {
25902 if (temp3)
25903 delete arg3;
25904 }
25905 return NULL;
25906 }
25907
25908
25909 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25910 PyObject *resultobj;
25911 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25912 wxTreeItemId *arg2 = 0 ;
25913 wxTreeItemId *arg3 = 0 ;
25914 wxString *arg4 = 0 ;
25915 int arg5 = (int) -1 ;
25916 int arg6 = (int) -1 ;
25917 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25918 wxTreeItemId result;
25919 bool temp4 = False ;
25920 PyObject * obj0 = 0 ;
25921 PyObject * obj1 = 0 ;
25922 PyObject * obj2 = 0 ;
25923 PyObject * obj3 = 0 ;
25924 PyObject * obj4 = 0 ;
25925 PyObject * obj5 = 0 ;
25926 PyObject * obj6 = 0 ;
25927 char *kwnames[] = {
25928 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25929 };
25930
25931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25934 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25935 SWIG_POINTER_EXCEPTION | 0)) == -1)
25936 SWIG_fail;
25937 if (arg2 == NULL) {
25938 PyErr_SetString(PyExc_TypeError,"null reference");
25939 SWIG_fail;
25940 }
25941 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
25942 SWIG_POINTER_EXCEPTION | 0)) == -1)
25943 SWIG_fail;
25944 if (arg3 == NULL) {
25945 PyErr_SetString(PyExc_TypeError,"null reference");
25946 SWIG_fail;
25947 }
25948 {
25949 arg4 = wxString_in_helper(obj3);
25950 if (arg4 == NULL) SWIG_fail;
25951 temp4 = True;
25952 }
25953 if (obj4) {
25954 arg5 = (int) SWIG_AsInt(obj4);
25955 if (PyErr_Occurred()) SWIG_fail;
25956 }
25957 if (obj5) {
25958 arg6 = (int) SWIG_AsInt(obj5);
25959 if (PyErr_Occurred()) SWIG_fail;
25960 }
25961 if (obj6) {
25962 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
25963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25964 }
25965 {
25966 PyThreadState* __tstate = wxPyBeginAllowThreads();
25967 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25968
25969 wxPyEndAllowThreads(__tstate);
25970 if (PyErr_Occurred()) SWIG_fail;
25971 }
25972 {
25973 wxTreeItemId * resultptr;
25974 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25975 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25976 }
25977 {
25978 if (temp4)
25979 delete arg4;
25980 }
25981 return resultobj;
25982 fail:
25983 {
25984 if (temp4)
25985 delete arg4;
25986 }
25987 return NULL;
25988 }
25989
25990
25991 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
25992 PyObject *resultobj;
25993 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25994 wxTreeItemId *arg2 = 0 ;
25995 size_t arg3 ;
25996 wxString *arg4 = 0 ;
25997 int arg5 = (int) -1 ;
25998 int arg6 = (int) -1 ;
25999 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26000 wxTreeItemId result;
26001 bool temp4 = False ;
26002 PyObject * obj0 = 0 ;
26003 PyObject * obj1 = 0 ;
26004 PyObject * obj2 = 0 ;
26005 PyObject * obj3 = 0 ;
26006 PyObject * obj4 = 0 ;
26007 PyObject * obj5 = 0 ;
26008 PyObject * obj6 = 0 ;
26009 char *kwnames[] = {
26010 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26011 };
26012
26013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26016 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26017 SWIG_POINTER_EXCEPTION | 0)) == -1)
26018 SWIG_fail;
26019 if (arg2 == NULL) {
26020 PyErr_SetString(PyExc_TypeError,"null reference");
26021 SWIG_fail;
26022 }
26023 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
26024 if (PyErr_Occurred()) SWIG_fail;
26025 {
26026 arg4 = wxString_in_helper(obj3);
26027 if (arg4 == NULL) SWIG_fail;
26028 temp4 = True;
26029 }
26030 if (obj4) {
26031 arg5 = (int) SWIG_AsInt(obj4);
26032 if (PyErr_Occurred()) SWIG_fail;
26033 }
26034 if (obj5) {
26035 arg6 = (int) SWIG_AsInt(obj5);
26036 if (PyErr_Occurred()) SWIG_fail;
26037 }
26038 if (obj6) {
26039 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
26040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26041 }
26042 {
26043 PyThreadState* __tstate = wxPyBeginAllowThreads();
26044 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
26045
26046 wxPyEndAllowThreads(__tstate);
26047 if (PyErr_Occurred()) SWIG_fail;
26048 }
26049 {
26050 wxTreeItemId * resultptr;
26051 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26052 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26053 }
26054 {
26055 if (temp4)
26056 delete arg4;
26057 }
26058 return resultobj;
26059 fail:
26060 {
26061 if (temp4)
26062 delete arg4;
26063 }
26064 return NULL;
26065 }
26066
26067
26068 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26069 PyObject *resultobj;
26070 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26071 wxTreeItemId *arg2 = 0 ;
26072 wxString *arg3 = 0 ;
26073 int arg4 = (int) -1 ;
26074 int arg5 = (int) -1 ;
26075 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
26076 wxTreeItemId result;
26077 bool temp3 = False ;
26078 PyObject * obj0 = 0 ;
26079 PyObject * obj1 = 0 ;
26080 PyObject * obj2 = 0 ;
26081 PyObject * obj3 = 0 ;
26082 PyObject * obj4 = 0 ;
26083 PyObject * obj5 = 0 ;
26084 char *kwnames[] = {
26085 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26086 };
26087
26088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
26089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26091 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26092 SWIG_POINTER_EXCEPTION | 0)) == -1)
26093 SWIG_fail;
26094 if (arg2 == NULL) {
26095 PyErr_SetString(PyExc_TypeError,"null reference");
26096 SWIG_fail;
26097 }
26098 {
26099 arg3 = wxString_in_helper(obj2);
26100 if (arg3 == NULL) SWIG_fail;
26101 temp3 = True;
26102 }
26103 if (obj3) {
26104 arg4 = (int) SWIG_AsInt(obj3);
26105 if (PyErr_Occurred()) SWIG_fail;
26106 }
26107 if (obj4) {
26108 arg5 = (int) SWIG_AsInt(obj4);
26109 if (PyErr_Occurred()) SWIG_fail;
26110 }
26111 if (obj5) {
26112 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
26113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26114 }
26115 {
26116 PyThreadState* __tstate = wxPyBeginAllowThreads();
26117 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
26118
26119 wxPyEndAllowThreads(__tstate);
26120 if (PyErr_Occurred()) SWIG_fail;
26121 }
26122 {
26123 wxTreeItemId * resultptr;
26124 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26125 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26126 }
26127 {
26128 if (temp3)
26129 delete arg3;
26130 }
26131 return resultobj;
26132 fail:
26133 {
26134 if (temp3)
26135 delete arg3;
26136 }
26137 return NULL;
26138 }
26139
26140
26141 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
26142 PyObject *resultobj;
26143 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26144 wxTreeItemId *arg2 = 0 ;
26145 PyObject * obj0 = 0 ;
26146 PyObject * obj1 = 0 ;
26147 char *kwnames[] = {
26148 (char *) "self",(char *) "item", NULL
26149 };
26150
26151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
26152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26154 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26155 SWIG_POINTER_EXCEPTION | 0)) == -1)
26156 SWIG_fail;
26157 if (arg2 == NULL) {
26158 PyErr_SetString(PyExc_TypeError,"null reference");
26159 SWIG_fail;
26160 }
26161 {
26162 PyThreadState* __tstate = wxPyBeginAllowThreads();
26163 (arg1)->Delete((wxTreeItemId const &)*arg2);
26164
26165 wxPyEndAllowThreads(__tstate);
26166 if (PyErr_Occurred()) SWIG_fail;
26167 }
26168 Py_INCREF(Py_None); resultobj = Py_None;
26169 return resultobj;
26170 fail:
26171 return NULL;
26172 }
26173
26174
26175 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26176 PyObject *resultobj;
26177 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26178 wxTreeItemId *arg2 = 0 ;
26179 PyObject * obj0 = 0 ;
26180 PyObject * obj1 = 0 ;
26181 char *kwnames[] = {
26182 (char *) "self",(char *) "item", NULL
26183 };
26184
26185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
26186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26188 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26189 SWIG_POINTER_EXCEPTION | 0)) == -1)
26190 SWIG_fail;
26191 if (arg2 == NULL) {
26192 PyErr_SetString(PyExc_TypeError,"null reference");
26193 SWIG_fail;
26194 }
26195 {
26196 PyThreadState* __tstate = wxPyBeginAllowThreads();
26197 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
26198
26199 wxPyEndAllowThreads(__tstate);
26200 if (PyErr_Occurred()) SWIG_fail;
26201 }
26202 Py_INCREF(Py_None); resultobj = Py_None;
26203 return resultobj;
26204 fail:
26205 return NULL;
26206 }
26207
26208
26209 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
26210 PyObject *resultobj;
26211 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26212 PyObject * obj0 = 0 ;
26213 char *kwnames[] = {
26214 (char *) "self", NULL
26215 };
26216
26217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
26218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26220 {
26221 PyThreadState* __tstate = wxPyBeginAllowThreads();
26222 (arg1)->DeleteAllItems();
26223
26224 wxPyEndAllowThreads(__tstate);
26225 if (PyErr_Occurred()) SWIG_fail;
26226 }
26227 Py_INCREF(Py_None); resultobj = Py_None;
26228 return resultobj;
26229 fail:
26230 return NULL;
26231 }
26232
26233
26234 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
26235 PyObject *resultobj;
26236 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26237 wxTreeItemId *arg2 = 0 ;
26238 PyObject * obj0 = 0 ;
26239 PyObject * obj1 = 0 ;
26240 char *kwnames[] = {
26241 (char *) "self",(char *) "item", NULL
26242 };
26243
26244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
26245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26247 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26248 SWIG_POINTER_EXCEPTION | 0)) == -1)
26249 SWIG_fail;
26250 if (arg2 == NULL) {
26251 PyErr_SetString(PyExc_TypeError,"null reference");
26252 SWIG_fail;
26253 }
26254 {
26255 PyThreadState* __tstate = wxPyBeginAllowThreads();
26256 (arg1)->Expand((wxTreeItemId const &)*arg2);
26257
26258 wxPyEndAllowThreads(__tstate);
26259 if (PyErr_Occurred()) SWIG_fail;
26260 }
26261 Py_INCREF(Py_None); resultobj = Py_None;
26262 return resultobj;
26263 fail:
26264 return NULL;
26265 }
26266
26267
26268 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
26269 PyObject *resultobj;
26270 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26271 wxTreeItemId *arg2 = 0 ;
26272 PyObject * obj0 = 0 ;
26273 PyObject * obj1 = 0 ;
26274 char *kwnames[] = {
26275 (char *) "self",(char *) "item", NULL
26276 };
26277
26278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
26279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26281 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26282 SWIG_POINTER_EXCEPTION | 0)) == -1)
26283 SWIG_fail;
26284 if (arg2 == NULL) {
26285 PyErr_SetString(PyExc_TypeError,"null reference");
26286 SWIG_fail;
26287 }
26288 {
26289 PyThreadState* __tstate = wxPyBeginAllowThreads();
26290 (arg1)->Collapse((wxTreeItemId const &)*arg2);
26291
26292 wxPyEndAllowThreads(__tstate);
26293 if (PyErr_Occurred()) SWIG_fail;
26294 }
26295 Py_INCREF(Py_None); resultobj = Py_None;
26296 return resultobj;
26297 fail:
26298 return NULL;
26299 }
26300
26301
26302 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
26303 PyObject *resultobj;
26304 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26305 wxTreeItemId *arg2 = 0 ;
26306 PyObject * obj0 = 0 ;
26307 PyObject * obj1 = 0 ;
26308 char *kwnames[] = {
26309 (char *) "self",(char *) "item", NULL
26310 };
26311
26312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
26313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26316 SWIG_POINTER_EXCEPTION | 0)) == -1)
26317 SWIG_fail;
26318 if (arg2 == NULL) {
26319 PyErr_SetString(PyExc_TypeError,"null reference");
26320 SWIG_fail;
26321 }
26322 {
26323 PyThreadState* __tstate = wxPyBeginAllowThreads();
26324 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
26325
26326 wxPyEndAllowThreads(__tstate);
26327 if (PyErr_Occurred()) SWIG_fail;
26328 }
26329 Py_INCREF(Py_None); resultobj = Py_None;
26330 return resultobj;
26331 fail:
26332 return NULL;
26333 }
26334
26335
26336 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
26337 PyObject *resultobj;
26338 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26339 wxTreeItemId *arg2 = 0 ;
26340 PyObject * obj0 = 0 ;
26341 PyObject * obj1 = 0 ;
26342 char *kwnames[] = {
26343 (char *) "self",(char *) "item", NULL
26344 };
26345
26346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
26347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26349 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26350 SWIG_POINTER_EXCEPTION | 0)) == -1)
26351 SWIG_fail;
26352 if (arg2 == NULL) {
26353 PyErr_SetString(PyExc_TypeError,"null reference");
26354 SWIG_fail;
26355 }
26356 {
26357 PyThreadState* __tstate = wxPyBeginAllowThreads();
26358 (arg1)->Toggle((wxTreeItemId const &)*arg2);
26359
26360 wxPyEndAllowThreads(__tstate);
26361 if (PyErr_Occurred()) SWIG_fail;
26362 }
26363 Py_INCREF(Py_None); resultobj = Py_None;
26364 return resultobj;
26365 fail:
26366 return NULL;
26367 }
26368
26369
26370 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
26371 PyObject *resultobj;
26372 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26373 PyObject * obj0 = 0 ;
26374 char *kwnames[] = {
26375 (char *) "self", NULL
26376 };
26377
26378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
26379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26381 {
26382 PyThreadState* __tstate = wxPyBeginAllowThreads();
26383 (arg1)->Unselect();
26384
26385 wxPyEndAllowThreads(__tstate);
26386 if (PyErr_Occurred()) SWIG_fail;
26387 }
26388 Py_INCREF(Py_None); resultobj = Py_None;
26389 return resultobj;
26390 fail:
26391 return NULL;
26392 }
26393
26394
26395 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26396 PyObject *resultobj;
26397 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26398 wxTreeItemId *arg2 = 0 ;
26399 PyObject * obj0 = 0 ;
26400 PyObject * obj1 = 0 ;
26401 char *kwnames[] = {
26402 (char *) "self",(char *) "item", NULL
26403 };
26404
26405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
26406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26408 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26409 SWIG_POINTER_EXCEPTION | 0)) == -1)
26410 SWIG_fail;
26411 if (arg2 == NULL) {
26412 PyErr_SetString(PyExc_TypeError,"null reference");
26413 SWIG_fail;
26414 }
26415 {
26416 PyThreadState* __tstate = wxPyBeginAllowThreads();
26417 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
26418
26419 wxPyEndAllowThreads(__tstate);
26420 if (PyErr_Occurred()) SWIG_fail;
26421 }
26422 Py_INCREF(Py_None); resultobj = Py_None;
26423 return resultobj;
26424 fail:
26425 return NULL;
26426 }
26427
26428
26429 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
26430 PyObject *resultobj;
26431 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26432 PyObject * obj0 = 0 ;
26433 char *kwnames[] = {
26434 (char *) "self", NULL
26435 };
26436
26437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
26438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26440 {
26441 PyThreadState* __tstate = wxPyBeginAllowThreads();
26442 (arg1)->UnselectAll();
26443
26444 wxPyEndAllowThreads(__tstate);
26445 if (PyErr_Occurred()) SWIG_fail;
26446 }
26447 Py_INCREF(Py_None); resultobj = Py_None;
26448 return resultobj;
26449 fail:
26450 return NULL;
26451 }
26452
26453
26454 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26455 PyObject *resultobj;
26456 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26457 wxTreeItemId *arg2 = 0 ;
26458 bool arg3 = (bool) True ;
26459 PyObject * obj0 = 0 ;
26460 PyObject * obj1 = 0 ;
26461 PyObject * obj2 = 0 ;
26462 char *kwnames[] = {
26463 (char *) "self",(char *) "item",(char *) "select", NULL
26464 };
26465
26466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26469 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26470 SWIG_POINTER_EXCEPTION | 0)) == -1)
26471 SWIG_fail;
26472 if (arg2 == NULL) {
26473 PyErr_SetString(PyExc_TypeError,"null reference");
26474 SWIG_fail;
26475 }
26476 if (obj2) {
26477 arg3 = (bool) SWIG_AsBool(obj2);
26478 if (PyErr_Occurred()) SWIG_fail;
26479 }
26480 {
26481 PyThreadState* __tstate = wxPyBeginAllowThreads();
26482 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
26483
26484 wxPyEndAllowThreads(__tstate);
26485 if (PyErr_Occurred()) SWIG_fail;
26486 }
26487 Py_INCREF(Py_None); resultobj = Py_None;
26488 return resultobj;
26489 fail:
26490 return NULL;
26491 }
26492
26493
26494 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26495 PyObject *resultobj;
26496 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26497 wxTreeItemId *arg2 = 0 ;
26498 PyObject * obj0 = 0 ;
26499 PyObject * obj1 = 0 ;
26500 char *kwnames[] = {
26501 (char *) "self",(char *) "item", NULL
26502 };
26503
26504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
26505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26507 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26508 SWIG_POINTER_EXCEPTION | 0)) == -1)
26509 SWIG_fail;
26510 if (arg2 == NULL) {
26511 PyErr_SetString(PyExc_TypeError,"null reference");
26512 SWIG_fail;
26513 }
26514 {
26515 PyThreadState* __tstate = wxPyBeginAllowThreads();
26516 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
26517
26518 wxPyEndAllowThreads(__tstate);
26519 if (PyErr_Occurred()) SWIG_fail;
26520 }
26521 Py_INCREF(Py_None); resultobj = Py_None;
26522 return resultobj;
26523 fail:
26524 return NULL;
26525 }
26526
26527
26528 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26529 PyObject *resultobj;
26530 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26531 wxTreeItemId *arg2 = 0 ;
26532 PyObject * obj0 = 0 ;
26533 PyObject * obj1 = 0 ;
26534 char *kwnames[] = {
26535 (char *) "self",(char *) "item", NULL
26536 };
26537
26538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
26539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26541 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26542 SWIG_POINTER_EXCEPTION | 0)) == -1)
26543 SWIG_fail;
26544 if (arg2 == NULL) {
26545 PyErr_SetString(PyExc_TypeError,"null reference");
26546 SWIG_fail;
26547 }
26548 {
26549 PyThreadState* __tstate = wxPyBeginAllowThreads();
26550 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
26551
26552 wxPyEndAllowThreads(__tstate);
26553 if (PyErr_Occurred()) SWIG_fail;
26554 }
26555 Py_INCREF(Py_None); resultobj = Py_None;
26556 return resultobj;
26557 fail:
26558 return NULL;
26559 }
26560
26561
26562 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26563 PyObject *resultobj;
26564 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26565 wxTreeItemId *arg2 = 0 ;
26566 PyObject * obj0 = 0 ;
26567 PyObject * obj1 = 0 ;
26568 char *kwnames[] = {
26569 (char *) "self",(char *) "item", NULL
26570 };
26571
26572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
26573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26575 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26576 SWIG_POINTER_EXCEPTION | 0)) == -1)
26577 SWIG_fail;
26578 if (arg2 == NULL) {
26579 PyErr_SetString(PyExc_TypeError,"null reference");
26580 SWIG_fail;
26581 }
26582 {
26583 PyThreadState* __tstate = wxPyBeginAllowThreads();
26584 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
26585
26586 wxPyEndAllowThreads(__tstate);
26587 if (PyErr_Occurred()) SWIG_fail;
26588 }
26589 Py_INCREF(Py_None); resultobj = Py_None;
26590 return resultobj;
26591 fail:
26592 return NULL;
26593 }
26594
26595
26596 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26597 PyObject *resultobj;
26598 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26599 wxTreeItemId *arg2 = 0 ;
26600 PyObject * obj0 = 0 ;
26601 PyObject * obj1 = 0 ;
26602 char *kwnames[] = {
26603 (char *) "self",(char *) "item", NULL
26604 };
26605
26606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
26607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26609 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26610 SWIG_POINTER_EXCEPTION | 0)) == -1)
26611 SWIG_fail;
26612 if (arg2 == NULL) {
26613 PyErr_SetString(PyExc_TypeError,"null reference");
26614 SWIG_fail;
26615 }
26616 {
26617 PyThreadState* __tstate = wxPyBeginAllowThreads();
26618 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
26619
26620 wxPyEndAllowThreads(__tstate);
26621 if (PyErr_Occurred()) SWIG_fail;
26622 }
26623 Py_INCREF(Py_None); resultobj = Py_None;
26624 return resultobj;
26625 fail:
26626 return NULL;
26627 }
26628
26629
26630 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
26631 PyObject *resultobj;
26632 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26633 wxTextCtrl *result;
26634 PyObject * obj0 = 0 ;
26635 char *kwnames[] = {
26636 (char *) "self", NULL
26637 };
26638
26639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
26640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26642 {
26643 PyThreadState* __tstate = wxPyBeginAllowThreads();
26644 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
26645
26646 wxPyEndAllowThreads(__tstate);
26647 if (PyErr_Occurred()) SWIG_fail;
26648 }
26649 {
26650 resultobj = wxPyMake_wxObject(result);
26651 }
26652 return resultobj;
26653 fail:
26654 return NULL;
26655 }
26656
26657
26658 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26659 PyObject *resultobj;
26660 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26661 wxTreeItemId *arg2 = 0 ;
26662 PyObject * obj0 = 0 ;
26663 PyObject * obj1 = 0 ;
26664 char *kwnames[] = {
26665 (char *) "self",(char *) "item", NULL
26666 };
26667
26668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
26669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26671 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26672 SWIG_POINTER_EXCEPTION | 0)) == -1)
26673 SWIG_fail;
26674 if (arg2 == NULL) {
26675 PyErr_SetString(PyExc_TypeError,"null reference");
26676 SWIG_fail;
26677 }
26678 {
26679 PyThreadState* __tstate = wxPyBeginAllowThreads();
26680 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
26681
26682 wxPyEndAllowThreads(__tstate);
26683 if (PyErr_Occurred()) SWIG_fail;
26684 }
26685 Py_INCREF(Py_None); resultobj = Py_None;
26686 return resultobj;
26687 fail:
26688 return NULL;
26689 }
26690
26691
26692 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26693 PyObject *resultobj;
26694 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26695 wxPoint *arg2 = 0 ;
26696 int *arg3 = 0 ;
26697 wxTreeItemId result;
26698 wxPoint temp2 ;
26699 int temp3 ;
26700 PyObject * obj0 = 0 ;
26701 PyObject * obj1 = 0 ;
26702 char *kwnames[] = {
26703 (char *) "self",(char *) "point", NULL
26704 };
26705
26706 arg3 = &temp3;
26707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
26708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26710 {
26711 arg2 = &temp2;
26712 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26713 }
26714 {
26715 PyThreadState* __tstate = wxPyBeginAllowThreads();
26716 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
26717
26718 wxPyEndAllowThreads(__tstate);
26719 if (PyErr_Occurred()) SWIG_fail;
26720 }
26721 {
26722 wxTreeItemId * resultptr;
26723 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26725 }
26726 {
26727 PyObject *o = PyInt_FromLong((long) (*arg3));
26728 resultobj = t_output_helper(resultobj,o);
26729 }
26730 return resultobj;
26731 fail:
26732 return NULL;
26733 }
26734
26735
26736 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26737 PyObject *resultobj;
26738 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26739 wxTreeItemId *arg2 = 0 ;
26740 bool arg3 = (bool) False ;
26741 PyObject *result;
26742 PyObject * obj0 = 0 ;
26743 PyObject * obj1 = 0 ;
26744 PyObject * obj2 = 0 ;
26745 char *kwnames[] = {
26746 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26747 };
26748
26749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
26750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26752 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26753 SWIG_POINTER_EXCEPTION | 0)) == -1)
26754 SWIG_fail;
26755 if (arg2 == NULL) {
26756 PyErr_SetString(PyExc_TypeError,"null reference");
26757 SWIG_fail;
26758 }
26759 if (obj2) {
26760 arg3 = (bool) SWIG_AsBool(obj2);
26761 if (PyErr_Occurred()) SWIG_fail;
26762 }
26763 {
26764 PyThreadState* __tstate = wxPyBeginAllowThreads();
26765 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
26766
26767 wxPyEndAllowThreads(__tstate);
26768 if (PyErr_Occurred()) SWIG_fail;
26769 }
26770 resultobj = result;
26771 return resultobj;
26772 fail:
26773 return NULL;
26774 }
26775
26776
26777 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
26778 PyObject *obj;
26779 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26780 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
26781 Py_INCREF(obj);
26782 return Py_BuildValue((char *)"");
26783 }
26784 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
26785 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
26786 return 1;
26787 }
26788
26789
26790 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
26791 PyObject *pyobj;
26792
26793 {
26794 #if wxUSE_UNICODE
26795 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26796 #else
26797 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26798 #endif
26799 }
26800 return pyobj;
26801 }
26802
26803
26804 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26805 PyObject *resultobj;
26806 wxWindow *arg1 = (wxWindow *) 0 ;
26807 int arg2 = (int) (int)-1 ;
26808 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
26809 wxString *arg3 = (wxString *) &arg3_defvalue ;
26810 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26811 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26812 wxSize const &arg5_defvalue = wxDefaultSize ;
26813 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26814 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26815 wxString const &arg7_defvalue = wxPyEmptyString ;
26816 wxString *arg7 = (wxString *) &arg7_defvalue ;
26817 int arg8 = (int) 0 ;
26818 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
26819 wxString *arg9 = (wxString *) &arg9_defvalue ;
26820 wxGenericDirCtrl *result;
26821 bool temp3 = False ;
26822 wxPoint temp4 ;
26823 wxSize temp5 ;
26824 bool temp7 = False ;
26825 bool temp9 = False ;
26826 PyObject * obj0 = 0 ;
26827 PyObject * obj1 = 0 ;
26828 PyObject * obj2 = 0 ;
26829 PyObject * obj3 = 0 ;
26830 PyObject * obj4 = 0 ;
26831 PyObject * obj5 = 0 ;
26832 PyObject * obj6 = 0 ;
26833 PyObject * obj7 = 0 ;
26834 PyObject * obj8 = 0 ;
26835 char *kwnames[] = {
26836 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26837 };
26838
26839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
26840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26842 if (obj1) {
26843 arg2 = (int const) SWIG_AsInt(obj1);
26844 if (PyErr_Occurred()) SWIG_fail;
26845 }
26846 if (obj2) {
26847 {
26848 arg3 = wxString_in_helper(obj2);
26849 if (arg3 == NULL) SWIG_fail;
26850 temp3 = True;
26851 }
26852 }
26853 if (obj3) {
26854 {
26855 arg4 = &temp4;
26856 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26857 }
26858 }
26859 if (obj4) {
26860 {
26861 arg5 = &temp5;
26862 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26863 }
26864 }
26865 if (obj5) {
26866 arg6 = (long) SWIG_AsLong(obj5);
26867 if (PyErr_Occurred()) SWIG_fail;
26868 }
26869 if (obj6) {
26870 {
26871 arg7 = wxString_in_helper(obj6);
26872 if (arg7 == NULL) SWIG_fail;
26873 temp7 = True;
26874 }
26875 }
26876 if (obj7) {
26877 arg8 = (int) SWIG_AsInt(obj7);
26878 if (PyErr_Occurred()) SWIG_fail;
26879 }
26880 if (obj8) {
26881 {
26882 arg9 = wxString_in_helper(obj8);
26883 if (arg9 == NULL) SWIG_fail;
26884 temp9 = True;
26885 }
26886 }
26887 {
26888 PyThreadState* __tstate = wxPyBeginAllowThreads();
26889 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
26890
26891 wxPyEndAllowThreads(__tstate);
26892 if (PyErr_Occurred()) SWIG_fail;
26893 }
26894 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
26895 {
26896 if (temp3)
26897 delete arg3;
26898 }
26899 {
26900 if (temp7)
26901 delete arg7;
26902 }
26903 {
26904 if (temp9)
26905 delete arg9;
26906 }
26907 return resultobj;
26908 fail:
26909 {
26910 if (temp3)
26911 delete arg3;
26912 }
26913 {
26914 if (temp7)
26915 delete arg7;
26916 }
26917 {
26918 if (temp9)
26919 delete arg9;
26920 }
26921 return NULL;
26922 }
26923
26924
26925 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26926 PyObject *resultobj;
26927 wxGenericDirCtrl *result;
26928 char *kwnames[] = {
26929 NULL
26930 };
26931
26932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
26933 {
26934 PyThreadState* __tstate = wxPyBeginAllowThreads();
26935 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
26936
26937 wxPyEndAllowThreads(__tstate);
26938 if (PyErr_Occurred()) SWIG_fail;
26939 }
26940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
26941 return resultobj;
26942 fail:
26943 return NULL;
26944 }
26945
26946
26947 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
26948 PyObject *resultobj;
26949 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26950 wxWindow *arg2 = (wxWindow *) 0 ;
26951 int arg3 = (int) (int)-1 ;
26952 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
26953 wxString *arg4 = (wxString *) &arg4_defvalue ;
26954 wxPoint const &arg5_defvalue = wxDefaultPosition ;
26955 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
26956 wxSize const &arg6_defvalue = wxDefaultSize ;
26957 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
26958 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26959 wxString const &arg8_defvalue = wxPyEmptyString ;
26960 wxString *arg8 = (wxString *) &arg8_defvalue ;
26961 int arg9 = (int) 0 ;
26962 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
26963 wxString *arg10 = (wxString *) &arg10_defvalue ;
26964 bool result;
26965 bool temp4 = False ;
26966 wxPoint temp5 ;
26967 wxSize temp6 ;
26968 bool temp8 = False ;
26969 bool temp10 = False ;
26970 PyObject * obj0 = 0 ;
26971 PyObject * obj1 = 0 ;
26972 PyObject * obj2 = 0 ;
26973 PyObject * obj3 = 0 ;
26974 PyObject * obj4 = 0 ;
26975 PyObject * obj5 = 0 ;
26976 PyObject * obj6 = 0 ;
26977 PyObject * obj7 = 0 ;
26978 PyObject * obj8 = 0 ;
26979 PyObject * obj9 = 0 ;
26980 char *kwnames[] = {
26981 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26982 };
26983
26984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
26985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
26988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26989 if (obj2) {
26990 arg3 = (int const) SWIG_AsInt(obj2);
26991 if (PyErr_Occurred()) SWIG_fail;
26992 }
26993 if (obj3) {
26994 {
26995 arg4 = wxString_in_helper(obj3);
26996 if (arg4 == NULL) SWIG_fail;
26997 temp4 = True;
26998 }
26999 }
27000 if (obj4) {
27001 {
27002 arg5 = &temp5;
27003 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
27004 }
27005 }
27006 if (obj5) {
27007 {
27008 arg6 = &temp6;
27009 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
27010 }
27011 }
27012 if (obj6) {
27013 arg7 = (long) SWIG_AsLong(obj6);
27014 if (PyErr_Occurred()) SWIG_fail;
27015 }
27016 if (obj7) {
27017 {
27018 arg8 = wxString_in_helper(obj7);
27019 if (arg8 == NULL) SWIG_fail;
27020 temp8 = True;
27021 }
27022 }
27023 if (obj8) {
27024 arg9 = (int) SWIG_AsInt(obj8);
27025 if (PyErr_Occurred()) SWIG_fail;
27026 }
27027 if (obj9) {
27028 {
27029 arg10 = wxString_in_helper(obj9);
27030 if (arg10 == NULL) SWIG_fail;
27031 temp10 = True;
27032 }
27033 }
27034 {
27035 PyThreadState* __tstate = wxPyBeginAllowThreads();
27036 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
27037
27038 wxPyEndAllowThreads(__tstate);
27039 if (PyErr_Occurred()) SWIG_fail;
27040 }
27041 {
27042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27043 }
27044 {
27045 if (temp4)
27046 delete arg4;
27047 }
27048 {
27049 if (temp8)
27050 delete arg8;
27051 }
27052 {
27053 if (temp10)
27054 delete arg10;
27055 }
27056 return resultobj;
27057 fail:
27058 {
27059 if (temp4)
27060 delete arg4;
27061 }
27062 {
27063 if (temp8)
27064 delete arg8;
27065 }
27066 {
27067 if (temp10)
27068 delete arg10;
27069 }
27070 return NULL;
27071 }
27072
27073
27074 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27075 PyObject *resultobj;
27076 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27077 wxString *arg2 = 0 ;
27078 bool result;
27079 bool temp2 = False ;
27080 PyObject * obj0 = 0 ;
27081 PyObject * obj1 = 0 ;
27082 char *kwnames[] = {
27083 (char *) "self",(char *) "path", NULL
27084 };
27085
27086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
27087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27089 {
27090 arg2 = wxString_in_helper(obj1);
27091 if (arg2 == NULL) SWIG_fail;
27092 temp2 = True;
27093 }
27094 {
27095 PyThreadState* __tstate = wxPyBeginAllowThreads();
27096 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
27097
27098 wxPyEndAllowThreads(__tstate);
27099 if (PyErr_Occurred()) SWIG_fail;
27100 }
27101 {
27102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27103 }
27104 {
27105 if (temp2)
27106 delete arg2;
27107 }
27108 return resultobj;
27109 fail:
27110 {
27111 if (temp2)
27112 delete arg2;
27113 }
27114 return NULL;
27115 }
27116
27117
27118 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27119 PyObject *resultobj;
27120 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27121 wxString result;
27122 PyObject * obj0 = 0 ;
27123 char *kwnames[] = {
27124 (char *) "self", NULL
27125 };
27126
27127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
27128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27130 {
27131 PyThreadState* __tstate = wxPyBeginAllowThreads();
27132 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
27133
27134 wxPyEndAllowThreads(__tstate);
27135 if (PyErr_Occurred()) SWIG_fail;
27136 }
27137 {
27138 #if wxUSE_UNICODE
27139 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27140 #else
27141 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27142 #endif
27143 }
27144 return resultobj;
27145 fail:
27146 return NULL;
27147 }
27148
27149
27150 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27151 PyObject *resultobj;
27152 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27153 wxString *arg2 = 0 ;
27154 bool temp2 = False ;
27155 PyObject * obj0 = 0 ;
27156 PyObject * obj1 = 0 ;
27157 char *kwnames[] = {
27158 (char *) "self",(char *) "path", NULL
27159 };
27160
27161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
27162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27164 {
27165 arg2 = wxString_in_helper(obj1);
27166 if (arg2 == NULL) SWIG_fail;
27167 temp2 = True;
27168 }
27169 {
27170 PyThreadState* __tstate = wxPyBeginAllowThreads();
27171 (arg1)->SetDefaultPath((wxString const &)*arg2);
27172
27173 wxPyEndAllowThreads(__tstate);
27174 if (PyErr_Occurred()) SWIG_fail;
27175 }
27176 Py_INCREF(Py_None); resultobj = Py_None;
27177 {
27178 if (temp2)
27179 delete arg2;
27180 }
27181 return resultobj;
27182 fail:
27183 {
27184 if (temp2)
27185 delete arg2;
27186 }
27187 return NULL;
27188 }
27189
27190
27191 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27192 PyObject *resultobj;
27193 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27194 wxString result;
27195 PyObject * obj0 = 0 ;
27196 char *kwnames[] = {
27197 (char *) "self", NULL
27198 };
27199
27200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
27201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27203 {
27204 PyThreadState* __tstate = wxPyBeginAllowThreads();
27205 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
27206
27207 wxPyEndAllowThreads(__tstate);
27208 if (PyErr_Occurred()) SWIG_fail;
27209 }
27210 {
27211 #if wxUSE_UNICODE
27212 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27213 #else
27214 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27215 #endif
27216 }
27217 return resultobj;
27218 fail:
27219 return NULL;
27220 }
27221
27222
27223 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
27224 PyObject *resultobj;
27225 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27226 wxString result;
27227 PyObject * obj0 = 0 ;
27228 char *kwnames[] = {
27229 (char *) "self", NULL
27230 };
27231
27232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
27233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27235 {
27236 PyThreadState* __tstate = wxPyBeginAllowThreads();
27237 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
27238
27239 wxPyEndAllowThreads(__tstate);
27240 if (PyErr_Occurred()) SWIG_fail;
27241 }
27242 {
27243 #if wxUSE_UNICODE
27244 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27245 #else
27246 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27247 #endif
27248 }
27249 return resultobj;
27250 fail:
27251 return NULL;
27252 }
27253
27254
27255 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27256 PyObject *resultobj;
27257 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27258 wxString *arg2 = 0 ;
27259 bool temp2 = False ;
27260 PyObject * obj0 = 0 ;
27261 PyObject * obj1 = 0 ;
27262 char *kwnames[] = {
27263 (char *) "self",(char *) "path", NULL
27264 };
27265
27266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
27267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27269 {
27270 arg2 = wxString_in_helper(obj1);
27271 if (arg2 == NULL) SWIG_fail;
27272 temp2 = True;
27273 }
27274 {
27275 PyThreadState* __tstate = wxPyBeginAllowThreads();
27276 (arg1)->SetPath((wxString const &)*arg2);
27277
27278 wxPyEndAllowThreads(__tstate);
27279 if (PyErr_Occurred()) SWIG_fail;
27280 }
27281 Py_INCREF(Py_None); resultobj = Py_None;
27282 {
27283 if (temp2)
27284 delete arg2;
27285 }
27286 return resultobj;
27287 fail:
27288 {
27289 if (temp2)
27290 delete arg2;
27291 }
27292 return NULL;
27293 }
27294
27295
27296 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
27297 PyObject *resultobj;
27298 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27299 bool arg2 ;
27300 PyObject * obj0 = 0 ;
27301 PyObject * obj1 = 0 ;
27302 char *kwnames[] = {
27303 (char *) "self",(char *) "show", NULL
27304 };
27305
27306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
27307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27309 arg2 = (bool) SWIG_AsBool(obj1);
27310 if (PyErr_Occurred()) SWIG_fail;
27311 {
27312 PyThreadState* __tstate = wxPyBeginAllowThreads();
27313 (arg1)->ShowHidden(arg2);
27314
27315 wxPyEndAllowThreads(__tstate);
27316 if (PyErr_Occurred()) SWIG_fail;
27317 }
27318 Py_INCREF(Py_None); resultobj = Py_None;
27319 return resultobj;
27320 fail:
27321 return NULL;
27322 }
27323
27324
27325 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
27326 PyObject *resultobj;
27327 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27328 bool result;
27329 PyObject * obj0 = 0 ;
27330 char *kwnames[] = {
27331 (char *) "self", NULL
27332 };
27333
27334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
27335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27337 {
27338 PyThreadState* __tstate = wxPyBeginAllowThreads();
27339 result = (bool)(arg1)->GetShowHidden();
27340
27341 wxPyEndAllowThreads(__tstate);
27342 if (PyErr_Occurred()) SWIG_fail;
27343 }
27344 {
27345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27346 }
27347 return resultobj;
27348 fail:
27349 return NULL;
27350 }
27351
27352
27353 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
27354 PyObject *resultobj;
27355 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27356 wxString result;
27357 PyObject * obj0 = 0 ;
27358 char *kwnames[] = {
27359 (char *) "self", NULL
27360 };
27361
27362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
27363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27365 {
27366 PyThreadState* __tstate = wxPyBeginAllowThreads();
27367 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
27368
27369 wxPyEndAllowThreads(__tstate);
27370 if (PyErr_Occurred()) SWIG_fail;
27371 }
27372 {
27373 #if wxUSE_UNICODE
27374 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27375 #else
27376 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27377 #endif
27378 }
27379 return resultobj;
27380 fail:
27381 return NULL;
27382 }
27383
27384
27385 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
27386 PyObject *resultobj;
27387 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27388 wxString *arg2 = 0 ;
27389 bool temp2 = False ;
27390 PyObject * obj0 = 0 ;
27391 PyObject * obj1 = 0 ;
27392 char *kwnames[] = {
27393 (char *) "self",(char *) "filter", NULL
27394 };
27395
27396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
27397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27399 {
27400 arg2 = wxString_in_helper(obj1);
27401 if (arg2 == NULL) SWIG_fail;
27402 temp2 = True;
27403 }
27404 {
27405 PyThreadState* __tstate = wxPyBeginAllowThreads();
27406 (arg1)->SetFilter((wxString const &)*arg2);
27407
27408 wxPyEndAllowThreads(__tstate);
27409 if (PyErr_Occurred()) SWIG_fail;
27410 }
27411 Py_INCREF(Py_None); resultobj = Py_None;
27412 {
27413 if (temp2)
27414 delete arg2;
27415 }
27416 return resultobj;
27417 fail:
27418 {
27419 if (temp2)
27420 delete arg2;
27421 }
27422 return NULL;
27423 }
27424
27425
27426 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27427 PyObject *resultobj;
27428 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27429 int result;
27430 PyObject * obj0 = 0 ;
27431 char *kwnames[] = {
27432 (char *) "self", NULL
27433 };
27434
27435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
27436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27438 {
27439 PyThreadState* __tstate = wxPyBeginAllowThreads();
27440 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
27441
27442 wxPyEndAllowThreads(__tstate);
27443 if (PyErr_Occurred()) SWIG_fail;
27444 }
27445 resultobj = SWIG_FromInt((int)result);
27446 return resultobj;
27447 fail:
27448 return NULL;
27449 }
27450
27451
27452 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27453 PyObject *resultobj;
27454 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27455 int arg2 ;
27456 PyObject * obj0 = 0 ;
27457 PyObject * obj1 = 0 ;
27458 char *kwnames[] = {
27459 (char *) "self",(char *) "n", NULL
27460 };
27461
27462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
27463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27465 arg2 = (int) SWIG_AsInt(obj1);
27466 if (PyErr_Occurred()) SWIG_fail;
27467 {
27468 PyThreadState* __tstate = wxPyBeginAllowThreads();
27469 (arg1)->SetFilterIndex(arg2);
27470
27471 wxPyEndAllowThreads(__tstate);
27472 if (PyErr_Occurred()) SWIG_fail;
27473 }
27474 Py_INCREF(Py_None); resultobj = Py_None;
27475 return resultobj;
27476 fail:
27477 return NULL;
27478 }
27479
27480
27481 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
27482 PyObject *resultobj;
27483 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27484 wxTreeItemId result;
27485 PyObject * obj0 = 0 ;
27486 char *kwnames[] = {
27487 (char *) "self", NULL
27488 };
27489
27490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
27491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27493 {
27494 PyThreadState* __tstate = wxPyBeginAllowThreads();
27495 result = (arg1)->GetRootId();
27496
27497 wxPyEndAllowThreads(__tstate);
27498 if (PyErr_Occurred()) SWIG_fail;
27499 }
27500 {
27501 wxTreeItemId * resultptr;
27502 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27503 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27504 }
27505 return resultobj;
27506 fail:
27507 return NULL;
27508 }
27509
27510
27511 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27512 PyObject *resultobj;
27513 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27514 wxPyTreeCtrl *result;
27515 PyObject * obj0 = 0 ;
27516 char *kwnames[] = {
27517 (char *) "self", NULL
27518 };
27519
27520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
27521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27523 {
27524 PyThreadState* __tstate = wxPyBeginAllowThreads();
27525 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
27526
27527 wxPyEndAllowThreads(__tstate);
27528 if (PyErr_Occurred()) SWIG_fail;
27529 }
27530 {
27531 resultobj = wxPyMake_wxObject(result);
27532 }
27533 return resultobj;
27534 fail:
27535 return NULL;
27536 }
27537
27538
27539 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27540 PyObject *resultobj;
27541 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27542 wxDirFilterListCtrl *result;
27543 PyObject * obj0 = 0 ;
27544 char *kwnames[] = {
27545 (char *) "self", NULL
27546 };
27547
27548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
27549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27551 {
27552 PyThreadState* __tstate = wxPyBeginAllowThreads();
27553 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
27554
27555 wxPyEndAllowThreads(__tstate);
27556 if (PyErr_Occurred()) SWIG_fail;
27557 }
27558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
27559 return resultobj;
27560 fail:
27561 return NULL;
27562 }
27563
27564
27565 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27566 PyObject *resultobj;
27567 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27568 wxTreeItemId arg2 ;
27569 wxString *arg3 = 0 ;
27570 bool *arg4 = 0 ;
27571 wxTreeItemId result;
27572 wxTreeItemId *argp2 ;
27573 bool temp3 = False ;
27574 bool temp4 ;
27575 PyObject * obj0 = 0 ;
27576 PyObject * obj1 = 0 ;
27577 PyObject * obj2 = 0 ;
27578 char *kwnames[] = {
27579 (char *) "self",(char *) "parentId",(char *) "path", NULL
27580 };
27581
27582 arg4 = &temp4;
27583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
27584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27586 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
27587 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
27588 arg2 = *argp2;
27589 {
27590 arg3 = wxString_in_helper(obj2);
27591 if (arg3 == NULL) SWIG_fail;
27592 temp3 = True;
27593 }
27594 {
27595 PyThreadState* __tstate = wxPyBeginAllowThreads();
27596 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
27597
27598 wxPyEndAllowThreads(__tstate);
27599 if (PyErr_Occurred()) SWIG_fail;
27600 }
27601 {
27602 wxTreeItemId * resultptr;
27603 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27604 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27605 }
27606 {
27607 PyObject *o = PyInt_FromLong((long) (*arg4));
27608 resultobj = t_output_helper(resultobj,o);
27609 }
27610 {
27611 if (temp3)
27612 delete arg3;
27613 }
27614 return resultobj;
27615 fail:
27616 {
27617 if (temp3)
27618 delete arg3;
27619 }
27620 return NULL;
27621 }
27622
27623
27624 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
27625 PyObject *resultobj;
27626 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27627 PyObject * obj0 = 0 ;
27628 char *kwnames[] = {
27629 (char *) "self", NULL
27630 };
27631
27632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
27633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27635 {
27636 PyThreadState* __tstate = wxPyBeginAllowThreads();
27637 (arg1)->DoResize();
27638
27639 wxPyEndAllowThreads(__tstate);
27640 if (PyErr_Occurred()) SWIG_fail;
27641 }
27642 Py_INCREF(Py_None); resultobj = Py_None;
27643 return resultobj;
27644 fail:
27645 return NULL;
27646 }
27647
27648
27649 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
27650 PyObject *resultobj;
27651 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27652 PyObject * obj0 = 0 ;
27653 char *kwnames[] = {
27654 (char *) "self", NULL
27655 };
27656
27657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
27658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27660 {
27661 PyThreadState* __tstate = wxPyBeginAllowThreads();
27662 (arg1)->ReCreateTree();
27663
27664 wxPyEndAllowThreads(__tstate);
27665 if (PyErr_Occurred()) SWIG_fail;
27666 }
27667 Py_INCREF(Py_None); resultobj = Py_None;
27668 return resultobj;
27669 fail:
27670 return NULL;
27671 }
27672
27673
27674 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
27675 PyObject *obj;
27676 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27677 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
27678 Py_INCREF(obj);
27679 return Py_BuildValue((char *)"");
27680 }
27681 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27682 PyObject *resultobj;
27683 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27684 int arg2 = (int) (int)-1 ;
27685 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27686 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27687 wxSize const &arg4_defvalue = wxDefaultSize ;
27688 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27689 long arg5 = (long) 0 ;
27690 wxDirFilterListCtrl *result;
27691 wxPoint temp3 ;
27692 wxSize temp4 ;
27693 PyObject * obj0 = 0 ;
27694 PyObject * obj1 = 0 ;
27695 PyObject * obj2 = 0 ;
27696 PyObject * obj3 = 0 ;
27697 PyObject * obj4 = 0 ;
27698 char *kwnames[] = {
27699 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27700 };
27701
27702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27705 if (obj1) {
27706 arg2 = (int const) SWIG_AsInt(obj1);
27707 if (PyErr_Occurred()) SWIG_fail;
27708 }
27709 if (obj2) {
27710 {
27711 arg3 = &temp3;
27712 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27713 }
27714 }
27715 if (obj3) {
27716 {
27717 arg4 = &temp4;
27718 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27719 }
27720 }
27721 if (obj4) {
27722 arg5 = (long) SWIG_AsLong(obj4);
27723 if (PyErr_Occurred()) SWIG_fail;
27724 }
27725 {
27726 PyThreadState* __tstate = wxPyBeginAllowThreads();
27727 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
27728
27729 wxPyEndAllowThreads(__tstate);
27730 if (PyErr_Occurred()) SWIG_fail;
27731 }
27732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27733 return resultobj;
27734 fail:
27735 return NULL;
27736 }
27737
27738
27739 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27740 PyObject *resultobj;
27741 wxDirFilterListCtrl *result;
27742 char *kwnames[] = {
27743 NULL
27744 };
27745
27746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
27747 {
27748 PyThreadState* __tstate = wxPyBeginAllowThreads();
27749 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
27750
27751 wxPyEndAllowThreads(__tstate);
27752 if (PyErr_Occurred()) SWIG_fail;
27753 }
27754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27755 return resultobj;
27756 fail:
27757 return NULL;
27758 }
27759
27760
27761 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27762 PyObject *resultobj;
27763 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27764 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
27765 int arg3 = (int) (int)-1 ;
27766 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27767 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27768 wxSize const &arg5_defvalue = wxDefaultSize ;
27769 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27770 long arg6 = (long) 0 ;
27771 bool result;
27772 wxPoint temp4 ;
27773 wxSize temp5 ;
27774 PyObject * obj0 = 0 ;
27775 PyObject * obj1 = 0 ;
27776 PyObject * obj2 = 0 ;
27777 PyObject * obj3 = 0 ;
27778 PyObject * obj4 = 0 ;
27779 PyObject * obj5 = 0 ;
27780 char *kwnames[] = {
27781 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27782 };
27783
27784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27787 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
27788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27789 if (obj2) {
27790 arg3 = (int const) SWIG_AsInt(obj2);
27791 if (PyErr_Occurred()) SWIG_fail;
27792 }
27793 if (obj3) {
27794 {
27795 arg4 = &temp4;
27796 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27797 }
27798 }
27799 if (obj4) {
27800 {
27801 arg5 = &temp5;
27802 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27803 }
27804 }
27805 if (obj5) {
27806 arg6 = (long) SWIG_AsLong(obj5);
27807 if (PyErr_Occurred()) SWIG_fail;
27808 }
27809 {
27810 PyThreadState* __tstate = wxPyBeginAllowThreads();
27811 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
27812
27813 wxPyEndAllowThreads(__tstate);
27814 if (PyErr_Occurred()) SWIG_fail;
27815 }
27816 {
27817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27818 }
27819 return resultobj;
27820 fail:
27821 return NULL;
27822 }
27823
27824
27825 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
27826 PyObject *resultobj;
27827 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27828 wxString *arg2 = 0 ;
27829 int arg3 ;
27830 bool temp2 = False ;
27831 PyObject * obj0 = 0 ;
27832 PyObject * obj1 = 0 ;
27833 PyObject * obj2 = 0 ;
27834 char *kwnames[] = {
27835 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27836 };
27837
27838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
27839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27841 {
27842 arg2 = wxString_in_helper(obj1);
27843 if (arg2 == NULL) SWIG_fail;
27844 temp2 = True;
27845 }
27846 arg3 = (int) SWIG_AsInt(obj2);
27847 if (PyErr_Occurred()) SWIG_fail;
27848 {
27849 PyThreadState* __tstate = wxPyBeginAllowThreads();
27850 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
27851
27852 wxPyEndAllowThreads(__tstate);
27853 if (PyErr_Occurred()) SWIG_fail;
27854 }
27855 Py_INCREF(Py_None); resultobj = Py_None;
27856 {
27857 if (temp2)
27858 delete arg2;
27859 }
27860 return resultobj;
27861 fail:
27862 {
27863 if (temp2)
27864 delete arg2;
27865 }
27866 return NULL;
27867 }
27868
27869
27870 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
27871 PyObject *obj;
27872 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27873 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
27874 Py_INCREF(obj);
27875 return Py_BuildValue((char *)"");
27876 }
27877 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27878 PyObject *resultobj;
27879 wxWindow *arg1 = (wxWindow *) 0 ;
27880 int arg2 ;
27881 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27882 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27883 wxSize const &arg4_defvalue = wxDefaultSize ;
27884 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27885 long arg5 = (long) 0 ;
27886 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27887 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27888 wxString const &arg7_defvalue = wxPyControlNameStr ;
27889 wxString *arg7 = (wxString *) &arg7_defvalue ;
27890 wxPyControl *result;
27891 wxPoint temp3 ;
27892 wxSize temp4 ;
27893 bool temp7 = False ;
27894 PyObject * obj0 = 0 ;
27895 PyObject * obj1 = 0 ;
27896 PyObject * obj2 = 0 ;
27897 PyObject * obj3 = 0 ;
27898 PyObject * obj4 = 0 ;
27899 PyObject * obj5 = 0 ;
27900 PyObject * obj6 = 0 ;
27901 char *kwnames[] = {
27902 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27903 };
27904
27905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27908 arg2 = (int const) SWIG_AsInt(obj1);
27909 if (PyErr_Occurred()) SWIG_fail;
27910 if (obj2) {
27911 {
27912 arg3 = &temp3;
27913 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27914 }
27915 }
27916 if (obj3) {
27917 {
27918 arg4 = &temp4;
27919 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27920 }
27921 }
27922 if (obj4) {
27923 arg5 = (long) SWIG_AsLong(obj4);
27924 if (PyErr_Occurred()) SWIG_fail;
27925 }
27926 if (obj5) {
27927 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
27928 SWIG_POINTER_EXCEPTION | 0)) == -1)
27929 SWIG_fail;
27930 if (arg6 == NULL) {
27931 PyErr_SetString(PyExc_TypeError,"null reference");
27932 SWIG_fail;
27933 }
27934 }
27935 if (obj6) {
27936 {
27937 arg7 = wxString_in_helper(obj6);
27938 if (arg7 == NULL) SWIG_fail;
27939 temp7 = True;
27940 }
27941 }
27942 {
27943 PyThreadState* __tstate = wxPyBeginAllowThreads();
27944 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27945
27946 wxPyEndAllowThreads(__tstate);
27947 if (PyErr_Occurred()) SWIG_fail;
27948 }
27949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
27950 {
27951 if (temp7)
27952 delete arg7;
27953 }
27954 return resultobj;
27955 fail:
27956 {
27957 if (temp7)
27958 delete arg7;
27959 }
27960 return NULL;
27961 }
27962
27963
27964 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
27965 PyObject *resultobj;
27966 wxPyControl *arg1 = (wxPyControl *) 0 ;
27967 PyObject *arg2 = (PyObject *) 0 ;
27968 PyObject *arg3 = (PyObject *) 0 ;
27969 PyObject * obj0 = 0 ;
27970 PyObject * obj1 = 0 ;
27971 PyObject * obj2 = 0 ;
27972 char *kwnames[] = {
27973 (char *) "self",(char *) "self",(char *) "_class", NULL
27974 };
27975
27976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27979 arg2 = obj1;
27980 arg3 = obj2;
27981 {
27982 PyThreadState* __tstate = wxPyBeginAllowThreads();
27983 (arg1)->_setCallbackInfo(arg2,arg3);
27984
27985 wxPyEndAllowThreads(__tstate);
27986 if (PyErr_Occurred()) SWIG_fail;
27987 }
27988 Py_INCREF(Py_None); resultobj = Py_None;
27989 return resultobj;
27990 fail:
27991 return NULL;
27992 }
27993
27994
27995 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27996 PyObject *resultobj;
27997 wxPyControl *arg1 = (wxPyControl *) 0 ;
27998 int arg2 ;
27999 int arg3 ;
28000 int arg4 ;
28001 int arg5 ;
28002 PyObject * obj0 = 0 ;
28003 PyObject * obj1 = 0 ;
28004 PyObject * obj2 = 0 ;
28005 PyObject * obj3 = 0 ;
28006 PyObject * obj4 = 0 ;
28007 char *kwnames[] = {
28008 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28009 };
28010
28011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28014 arg2 = (int) SWIG_AsInt(obj1);
28015 if (PyErr_Occurred()) SWIG_fail;
28016 arg3 = (int) SWIG_AsInt(obj2);
28017 if (PyErr_Occurred()) SWIG_fail;
28018 arg4 = (int) SWIG_AsInt(obj3);
28019 if (PyErr_Occurred()) SWIG_fail;
28020 arg5 = (int) SWIG_AsInt(obj4);
28021 if (PyErr_Occurred()) SWIG_fail;
28022 {
28023 PyThreadState* __tstate = wxPyBeginAllowThreads();
28024 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
28025
28026 wxPyEndAllowThreads(__tstate);
28027 if (PyErr_Occurred()) SWIG_fail;
28028 }
28029 Py_INCREF(Py_None); resultobj = Py_None;
28030 return resultobj;
28031 fail:
28032 return NULL;
28033 }
28034
28035
28036 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28037 PyObject *resultobj;
28038 wxPyControl *arg1 = (wxPyControl *) 0 ;
28039 int arg2 ;
28040 int arg3 ;
28041 int arg4 ;
28042 int arg5 ;
28043 int arg6 = (int) wxSIZE_AUTO ;
28044 PyObject * obj0 = 0 ;
28045 PyObject * obj1 = 0 ;
28046 PyObject * obj2 = 0 ;
28047 PyObject * obj3 = 0 ;
28048 PyObject * obj4 = 0 ;
28049 PyObject * obj5 = 0 ;
28050 char *kwnames[] = {
28051 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28052 };
28053
28054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28057 arg2 = (int) SWIG_AsInt(obj1);
28058 if (PyErr_Occurred()) SWIG_fail;
28059 arg3 = (int) SWIG_AsInt(obj2);
28060 if (PyErr_Occurred()) SWIG_fail;
28061 arg4 = (int) SWIG_AsInt(obj3);
28062 if (PyErr_Occurred()) SWIG_fail;
28063 arg5 = (int) SWIG_AsInt(obj4);
28064 if (PyErr_Occurred()) SWIG_fail;
28065 if (obj5) {
28066 arg6 = (int) SWIG_AsInt(obj5);
28067 if (PyErr_Occurred()) SWIG_fail;
28068 }
28069 {
28070 PyThreadState* __tstate = wxPyBeginAllowThreads();
28071 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
28072
28073 wxPyEndAllowThreads(__tstate);
28074 if (PyErr_Occurred()) SWIG_fail;
28075 }
28076 Py_INCREF(Py_None); resultobj = Py_None;
28077 return resultobj;
28078 fail:
28079 return NULL;
28080 }
28081
28082
28083 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28084 PyObject *resultobj;
28085 wxPyControl *arg1 = (wxPyControl *) 0 ;
28086 int arg2 ;
28087 int arg3 ;
28088 PyObject * obj0 = 0 ;
28089 PyObject * obj1 = 0 ;
28090 PyObject * obj2 = 0 ;
28091 char *kwnames[] = {
28092 (char *) "self",(char *) "width",(char *) "height", NULL
28093 };
28094
28095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28098 arg2 = (int) SWIG_AsInt(obj1);
28099 if (PyErr_Occurred()) SWIG_fail;
28100 arg3 = (int) SWIG_AsInt(obj2);
28101 if (PyErr_Occurred()) SWIG_fail;
28102 {
28103 PyThreadState* __tstate = wxPyBeginAllowThreads();
28104 (arg1)->base_DoSetClientSize(arg2,arg3);
28105
28106 wxPyEndAllowThreads(__tstate);
28107 if (PyErr_Occurred()) SWIG_fail;
28108 }
28109 Py_INCREF(Py_None); resultobj = Py_None;
28110 return resultobj;
28111 fail:
28112 return NULL;
28113 }
28114
28115
28116 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28117 PyObject *resultobj;
28118 wxPyControl *arg1 = (wxPyControl *) 0 ;
28119 int arg2 ;
28120 int arg3 ;
28121 PyObject * obj0 = 0 ;
28122 PyObject * obj1 = 0 ;
28123 PyObject * obj2 = 0 ;
28124 char *kwnames[] = {
28125 (char *) "self",(char *) "x",(char *) "y", NULL
28126 };
28127
28128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28131 arg2 = (int) SWIG_AsInt(obj1);
28132 if (PyErr_Occurred()) SWIG_fail;
28133 arg3 = (int) SWIG_AsInt(obj2);
28134 if (PyErr_Occurred()) SWIG_fail;
28135 {
28136 PyThreadState* __tstate = wxPyBeginAllowThreads();
28137 (arg1)->base_DoSetVirtualSize(arg2,arg3);
28138
28139 wxPyEndAllowThreads(__tstate);
28140 if (PyErr_Occurred()) SWIG_fail;
28141 }
28142 Py_INCREF(Py_None); resultobj = Py_None;
28143 return resultobj;
28144 fail:
28145 return NULL;
28146 }
28147
28148
28149 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28150 PyObject *resultobj;
28151 wxPyControl *arg1 = (wxPyControl *) 0 ;
28152 int *arg2 = (int *) 0 ;
28153 int *arg3 = (int *) 0 ;
28154 int temp2 ;
28155 int temp3 ;
28156 PyObject * obj0 = 0 ;
28157 char *kwnames[] = {
28158 (char *) "self", NULL
28159 };
28160
28161 arg2 = &temp2;
28162 arg3 = &temp3;
28163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
28164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28166 {
28167 PyThreadState* __tstate = wxPyBeginAllowThreads();
28168 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
28169
28170 wxPyEndAllowThreads(__tstate);
28171 if (PyErr_Occurred()) SWIG_fail;
28172 }
28173 Py_INCREF(Py_None); resultobj = Py_None;
28174 {
28175 PyObject *o = PyInt_FromLong((long) (*arg2));
28176 resultobj = t_output_helper(resultobj,o);
28177 }
28178 {
28179 PyObject *o = PyInt_FromLong((long) (*arg3));
28180 resultobj = t_output_helper(resultobj,o);
28181 }
28182 return resultobj;
28183 fail:
28184 return NULL;
28185 }
28186
28187
28188 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28189 PyObject *resultobj;
28190 wxPyControl *arg1 = (wxPyControl *) 0 ;
28191 int *arg2 = (int *) 0 ;
28192 int *arg3 = (int *) 0 ;
28193 int temp2 ;
28194 int temp3 ;
28195 PyObject * obj0 = 0 ;
28196 char *kwnames[] = {
28197 (char *) "self", NULL
28198 };
28199
28200 arg2 = &temp2;
28201 arg3 = &temp3;
28202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
28203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28205 {
28206 PyThreadState* __tstate = wxPyBeginAllowThreads();
28207 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
28208
28209 wxPyEndAllowThreads(__tstate);
28210 if (PyErr_Occurred()) SWIG_fail;
28211 }
28212 Py_INCREF(Py_None); resultobj = Py_None;
28213 {
28214 PyObject *o = PyInt_FromLong((long) (*arg2));
28215 resultobj = t_output_helper(resultobj,o);
28216 }
28217 {
28218 PyObject *o = PyInt_FromLong((long) (*arg3));
28219 resultobj = t_output_helper(resultobj,o);
28220 }
28221 return resultobj;
28222 fail:
28223 return NULL;
28224 }
28225
28226
28227 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28228 PyObject *resultobj;
28229 wxPyControl *arg1 = (wxPyControl *) 0 ;
28230 int *arg2 = (int *) 0 ;
28231 int *arg3 = (int *) 0 ;
28232 int temp2 ;
28233 int temp3 ;
28234 PyObject * obj0 = 0 ;
28235 char *kwnames[] = {
28236 (char *) "self", NULL
28237 };
28238
28239 arg2 = &temp2;
28240 arg3 = &temp3;
28241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
28242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28244 {
28245 PyThreadState* __tstate = wxPyBeginAllowThreads();
28246 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
28247
28248 wxPyEndAllowThreads(__tstate);
28249 if (PyErr_Occurred()) SWIG_fail;
28250 }
28251 Py_INCREF(Py_None); resultobj = Py_None;
28252 {
28253 PyObject *o = PyInt_FromLong((long) (*arg2));
28254 resultobj = t_output_helper(resultobj,o);
28255 }
28256 {
28257 PyObject *o = PyInt_FromLong((long) (*arg3));
28258 resultobj = t_output_helper(resultobj,o);
28259 }
28260 return resultobj;
28261 fail:
28262 return NULL;
28263 }
28264
28265
28266 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28267 PyObject *resultobj;
28268 wxPyControl *arg1 = (wxPyControl *) 0 ;
28269 wxSize result;
28270 PyObject * obj0 = 0 ;
28271 char *kwnames[] = {
28272 (char *) "self", NULL
28273 };
28274
28275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
28276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28278 {
28279 PyThreadState* __tstate = wxPyBeginAllowThreads();
28280 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
28281
28282 wxPyEndAllowThreads(__tstate);
28283 if (PyErr_Occurred()) SWIG_fail;
28284 }
28285 {
28286 wxSize * resultptr;
28287 resultptr = new wxSize((wxSize &) result);
28288 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28289 }
28290 return resultobj;
28291 fail:
28292 return NULL;
28293 }
28294
28295
28296 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28297 PyObject *resultobj;
28298 wxPyControl *arg1 = (wxPyControl *) 0 ;
28299 wxSize result;
28300 PyObject * obj0 = 0 ;
28301 char *kwnames[] = {
28302 (char *) "self", NULL
28303 };
28304
28305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
28306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28308 {
28309 PyThreadState* __tstate = wxPyBeginAllowThreads();
28310 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
28311
28312 wxPyEndAllowThreads(__tstate);
28313 if (PyErr_Occurred()) SWIG_fail;
28314 }
28315 {
28316 wxSize * resultptr;
28317 resultptr = new wxSize((wxSize &) result);
28318 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28319 }
28320 return resultobj;
28321 fail:
28322 return NULL;
28323 }
28324
28325
28326 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
28327 PyObject *resultobj;
28328 wxPyControl *arg1 = (wxPyControl *) 0 ;
28329 PyObject * obj0 = 0 ;
28330 char *kwnames[] = {
28331 (char *) "self", NULL
28332 };
28333
28334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
28335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28337 {
28338 PyThreadState* __tstate = wxPyBeginAllowThreads();
28339 (arg1)->base_InitDialog();
28340
28341 wxPyEndAllowThreads(__tstate);
28342 if (PyErr_Occurred()) SWIG_fail;
28343 }
28344 Py_INCREF(Py_None); resultobj = Py_None;
28345 return resultobj;
28346 fail:
28347 return NULL;
28348 }
28349
28350
28351 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28352 PyObject *resultobj;
28353 wxPyControl *arg1 = (wxPyControl *) 0 ;
28354 bool result;
28355 PyObject * obj0 = 0 ;
28356 char *kwnames[] = {
28357 (char *) "self", NULL
28358 };
28359
28360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
28361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28363 {
28364 PyThreadState* __tstate = wxPyBeginAllowThreads();
28365 result = (bool)(arg1)->base_TransferDataToWindow();
28366
28367 wxPyEndAllowThreads(__tstate);
28368 if (PyErr_Occurred()) SWIG_fail;
28369 }
28370 {
28371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28372 }
28373 return resultobj;
28374 fail:
28375 return NULL;
28376 }
28377
28378
28379 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28380 PyObject *resultobj;
28381 wxPyControl *arg1 = (wxPyControl *) 0 ;
28382 bool result;
28383 PyObject * obj0 = 0 ;
28384 char *kwnames[] = {
28385 (char *) "self", NULL
28386 };
28387
28388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
28389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28391 {
28392 PyThreadState* __tstate = wxPyBeginAllowThreads();
28393 result = (bool)(arg1)->base_TransferDataFromWindow();
28394
28395 wxPyEndAllowThreads(__tstate);
28396 if (PyErr_Occurred()) SWIG_fail;
28397 }
28398 {
28399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28400 }
28401 return resultobj;
28402 fail:
28403 return NULL;
28404 }
28405
28406
28407 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
28408 PyObject *resultobj;
28409 wxPyControl *arg1 = (wxPyControl *) 0 ;
28410 bool result;
28411 PyObject * obj0 = 0 ;
28412 char *kwnames[] = {
28413 (char *) "self", NULL
28414 };
28415
28416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
28417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28419 {
28420 PyThreadState* __tstate = wxPyBeginAllowThreads();
28421 result = (bool)(arg1)->base_Validate();
28422
28423 wxPyEndAllowThreads(__tstate);
28424 if (PyErr_Occurred()) SWIG_fail;
28425 }
28426 {
28427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28428 }
28429 return resultobj;
28430 fail:
28431 return NULL;
28432 }
28433
28434
28435 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
28436 PyObject *resultobj;
28437 wxPyControl *arg1 = (wxPyControl *) 0 ;
28438 bool result;
28439 PyObject * obj0 = 0 ;
28440 char *kwnames[] = {
28441 (char *) "self", NULL
28442 };
28443
28444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
28445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28447 {
28448 PyThreadState* __tstate = wxPyBeginAllowThreads();
28449 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
28450
28451 wxPyEndAllowThreads(__tstate);
28452 if (PyErr_Occurred()) SWIG_fail;
28453 }
28454 {
28455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28456 }
28457 return resultobj;
28458 fail:
28459 return NULL;
28460 }
28461
28462
28463 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
28464 PyObject *resultobj;
28465 wxPyControl *arg1 = (wxPyControl *) 0 ;
28466 bool result;
28467 PyObject * obj0 = 0 ;
28468 char *kwnames[] = {
28469 (char *) "self", NULL
28470 };
28471
28472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
28473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28475 {
28476 PyThreadState* __tstate = wxPyBeginAllowThreads();
28477 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
28478
28479 wxPyEndAllowThreads(__tstate);
28480 if (PyErr_Occurred()) SWIG_fail;
28481 }
28482 {
28483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28484 }
28485 return resultobj;
28486 fail:
28487 return NULL;
28488 }
28489
28490
28491 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28492 PyObject *resultobj;
28493 wxPyControl *arg1 = (wxPyControl *) 0 ;
28494 wxSize result;
28495 PyObject * obj0 = 0 ;
28496 char *kwnames[] = {
28497 (char *) "self", NULL
28498 };
28499
28500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
28501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28503 {
28504 PyThreadState* __tstate = wxPyBeginAllowThreads();
28505 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
28506
28507 wxPyEndAllowThreads(__tstate);
28508 if (PyErr_Occurred()) SWIG_fail;
28509 }
28510 {
28511 wxSize * resultptr;
28512 resultptr = new wxSize((wxSize &) result);
28513 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28514 }
28515 return resultobj;
28516 fail:
28517 return NULL;
28518 }
28519
28520
28521 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28522 PyObject *resultobj;
28523 wxPyControl *arg1 = (wxPyControl *) 0 ;
28524 wxWindow *arg2 = (wxWindow *) 0 ;
28525 PyObject * obj0 = 0 ;
28526 PyObject * obj1 = 0 ;
28527 char *kwnames[] = {
28528 (char *) "self",(char *) "child", NULL
28529 };
28530
28531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
28532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28534 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28536 {
28537 PyThreadState* __tstate = wxPyBeginAllowThreads();
28538 (arg1)->base_AddChild(arg2);
28539
28540 wxPyEndAllowThreads(__tstate);
28541 if (PyErr_Occurred()) SWIG_fail;
28542 }
28543 Py_INCREF(Py_None); resultobj = Py_None;
28544 return resultobj;
28545 fail:
28546 return NULL;
28547 }
28548
28549
28550 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28551 PyObject *resultobj;
28552 wxPyControl *arg1 = (wxPyControl *) 0 ;
28553 wxWindow *arg2 = (wxWindow *) 0 ;
28554 PyObject * obj0 = 0 ;
28555 PyObject * obj1 = 0 ;
28556 char *kwnames[] = {
28557 (char *) "self",(char *) "child", NULL
28558 };
28559
28560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
28561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28563 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28565 {
28566 PyThreadState* __tstate = wxPyBeginAllowThreads();
28567 (arg1)->base_RemoveChild(arg2);
28568
28569 wxPyEndAllowThreads(__tstate);
28570 if (PyErr_Occurred()) SWIG_fail;
28571 }
28572 Py_INCREF(Py_None); resultobj = Py_None;
28573 return resultobj;
28574 fail:
28575 return NULL;
28576 }
28577
28578
28579 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
28580 PyObject *obj;
28581 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28582 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
28583 Py_INCREF(obj);
28584 return Py_BuildValue((char *)"");
28585 }
28586 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
28587 PyObject *resultobj;
28588 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28589 int arg2 = (int) 0 ;
28590 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28591 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28592 wxHelpEvent *result;
28593 wxPoint temp3 ;
28594 PyObject * obj0 = 0 ;
28595 PyObject * obj1 = 0 ;
28596 PyObject * obj2 = 0 ;
28597 char *kwnames[] = {
28598 (char *) "type",(char *) "winid",(char *) "pt", NULL
28599 };
28600
28601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
28602 if (obj0) {
28603 arg1 = (wxEventType) SWIG_AsInt(obj0);
28604 if (PyErr_Occurred()) SWIG_fail;
28605 }
28606 if (obj1) {
28607 arg2 = (int) SWIG_AsInt(obj1);
28608 if (PyErr_Occurred()) SWIG_fail;
28609 }
28610 if (obj2) {
28611 {
28612 arg3 = &temp3;
28613 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28614 }
28615 }
28616 {
28617 PyThreadState* __tstate = wxPyBeginAllowThreads();
28618 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
28619
28620 wxPyEndAllowThreads(__tstate);
28621 if (PyErr_Occurred()) SWIG_fail;
28622 }
28623 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
28624 return resultobj;
28625 fail:
28626 return NULL;
28627 }
28628
28629
28630 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28631 PyObject *resultobj;
28632 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28633 wxPoint result;
28634 PyObject * obj0 = 0 ;
28635 char *kwnames[] = {
28636 (char *) "self", NULL
28637 };
28638
28639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
28640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28642 {
28643 PyThreadState* __tstate = wxPyBeginAllowThreads();
28644 result = ((wxHelpEvent const *)arg1)->GetPosition();
28645
28646 wxPyEndAllowThreads(__tstate);
28647 if (PyErr_Occurred()) SWIG_fail;
28648 }
28649 {
28650 wxPoint * resultptr;
28651 resultptr = new wxPoint((wxPoint &) result);
28652 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28653 }
28654 return resultobj;
28655 fail:
28656 return NULL;
28657 }
28658
28659
28660 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28661 PyObject *resultobj;
28662 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28663 wxPoint *arg2 = 0 ;
28664 wxPoint temp2 ;
28665 PyObject * obj0 = 0 ;
28666 PyObject * obj1 = 0 ;
28667 char *kwnames[] = {
28668 (char *) "self",(char *) "pos", NULL
28669 };
28670
28671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
28672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28674 {
28675 arg2 = &temp2;
28676 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28677 }
28678 {
28679 PyThreadState* __tstate = wxPyBeginAllowThreads();
28680 (arg1)->SetPosition((wxPoint const &)*arg2);
28681
28682 wxPyEndAllowThreads(__tstate);
28683 if (PyErr_Occurred()) SWIG_fail;
28684 }
28685 Py_INCREF(Py_None); resultobj = Py_None;
28686 return resultobj;
28687 fail:
28688 return NULL;
28689 }
28690
28691
28692 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28693 PyObject *resultobj;
28694 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28695 wxString *result;
28696 PyObject * obj0 = 0 ;
28697 char *kwnames[] = {
28698 (char *) "self", NULL
28699 };
28700
28701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
28702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28704 {
28705 PyThreadState* __tstate = wxPyBeginAllowThreads();
28706 {
28707 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
28708 result = (wxString *) &_result_ref;
28709 }
28710
28711 wxPyEndAllowThreads(__tstate);
28712 if (PyErr_Occurred()) SWIG_fail;
28713 }
28714 {
28715 #if wxUSE_UNICODE
28716 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28717 #else
28718 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28719 #endif
28720 }
28721 return resultobj;
28722 fail:
28723 return NULL;
28724 }
28725
28726
28727 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28728 PyObject *resultobj;
28729 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28730 wxString *arg2 = 0 ;
28731 bool temp2 = False ;
28732 PyObject * obj0 = 0 ;
28733 PyObject * obj1 = 0 ;
28734 char *kwnames[] = {
28735 (char *) "self",(char *) "link", NULL
28736 };
28737
28738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
28739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28741 {
28742 arg2 = wxString_in_helper(obj1);
28743 if (arg2 == NULL) SWIG_fail;
28744 temp2 = True;
28745 }
28746 {
28747 PyThreadState* __tstate = wxPyBeginAllowThreads();
28748 (arg1)->SetLink((wxString const &)*arg2);
28749
28750 wxPyEndAllowThreads(__tstate);
28751 if (PyErr_Occurred()) SWIG_fail;
28752 }
28753 Py_INCREF(Py_None); resultobj = Py_None;
28754 {
28755 if (temp2)
28756 delete arg2;
28757 }
28758 return resultobj;
28759 fail:
28760 {
28761 if (temp2)
28762 delete arg2;
28763 }
28764 return NULL;
28765 }
28766
28767
28768 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28769 PyObject *resultobj;
28770 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28771 wxString *result;
28772 PyObject * obj0 = 0 ;
28773 char *kwnames[] = {
28774 (char *) "self", NULL
28775 };
28776
28777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
28778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28780 {
28781 PyThreadState* __tstate = wxPyBeginAllowThreads();
28782 {
28783 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
28784 result = (wxString *) &_result_ref;
28785 }
28786
28787 wxPyEndAllowThreads(__tstate);
28788 if (PyErr_Occurred()) SWIG_fail;
28789 }
28790 {
28791 #if wxUSE_UNICODE
28792 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28793 #else
28794 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28795 #endif
28796 }
28797 return resultobj;
28798 fail:
28799 return NULL;
28800 }
28801
28802
28803 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28804 PyObject *resultobj;
28805 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28806 wxString *arg2 = 0 ;
28807 bool temp2 = False ;
28808 PyObject * obj0 = 0 ;
28809 PyObject * obj1 = 0 ;
28810 char *kwnames[] = {
28811 (char *) "self",(char *) "target", NULL
28812 };
28813
28814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
28815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28817 {
28818 arg2 = wxString_in_helper(obj1);
28819 if (arg2 == NULL) SWIG_fail;
28820 temp2 = True;
28821 }
28822 {
28823 PyThreadState* __tstate = wxPyBeginAllowThreads();
28824 (arg1)->SetTarget((wxString const &)*arg2);
28825
28826 wxPyEndAllowThreads(__tstate);
28827 if (PyErr_Occurred()) SWIG_fail;
28828 }
28829 Py_INCREF(Py_None); resultobj = Py_None;
28830 {
28831 if (temp2)
28832 delete arg2;
28833 }
28834 return resultobj;
28835 fail:
28836 {
28837 if (temp2)
28838 delete arg2;
28839 }
28840 return NULL;
28841 }
28842
28843
28844 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
28845 PyObject *obj;
28846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28847 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
28848 Py_INCREF(obj);
28849 return Py_BuildValue((char *)"");
28850 }
28851 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28852 PyObject *resultobj;
28853 wxWindow *arg1 = (wxWindow *) NULL ;
28854 bool arg2 = (bool) True ;
28855 wxContextHelp *result;
28856 PyObject * obj0 = 0 ;
28857 PyObject * obj1 = 0 ;
28858 char *kwnames[] = {
28859 (char *) "window",(char *) "doNow", NULL
28860 };
28861
28862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
28863 if (obj0) {
28864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28866 }
28867 if (obj1) {
28868 arg2 = (bool) SWIG_AsBool(obj1);
28869 if (PyErr_Occurred()) SWIG_fail;
28870 }
28871 {
28872 PyThreadState* __tstate = wxPyBeginAllowThreads();
28873 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
28874
28875 wxPyEndAllowThreads(__tstate);
28876 if (PyErr_Occurred()) SWIG_fail;
28877 }
28878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
28879 return resultobj;
28880 fail:
28881 return NULL;
28882 }
28883
28884
28885 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28886 PyObject *resultobj;
28887 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28888 PyObject * obj0 = 0 ;
28889 char *kwnames[] = {
28890 (char *) "self", NULL
28891 };
28892
28893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
28894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28896 {
28897 PyThreadState* __tstate = wxPyBeginAllowThreads();
28898 delete arg1;
28899
28900 wxPyEndAllowThreads(__tstate);
28901 if (PyErr_Occurred()) SWIG_fail;
28902 }
28903 Py_INCREF(Py_None); resultobj = Py_None;
28904 return resultobj;
28905 fail:
28906 return NULL;
28907 }
28908
28909
28910 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28911 PyObject *resultobj;
28912 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28913 wxWindow *arg2 = (wxWindow *) NULL ;
28914 bool result;
28915 PyObject * obj0 = 0 ;
28916 PyObject * obj1 = 0 ;
28917 char *kwnames[] = {
28918 (char *) "self",(char *) "window", NULL
28919 };
28920
28921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
28922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28924 if (obj1) {
28925 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28927 }
28928 {
28929 PyThreadState* __tstate = wxPyBeginAllowThreads();
28930 result = (bool)(arg1)->BeginContextHelp(arg2);
28931
28932 wxPyEndAllowThreads(__tstate);
28933 if (PyErr_Occurred()) SWIG_fail;
28934 }
28935 {
28936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28937 }
28938 return resultobj;
28939 fail:
28940 return NULL;
28941 }
28942
28943
28944 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28945 PyObject *resultobj;
28946 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28947 bool result;
28948 PyObject * obj0 = 0 ;
28949 char *kwnames[] = {
28950 (char *) "self", NULL
28951 };
28952
28953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
28954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28956 {
28957 PyThreadState* __tstate = wxPyBeginAllowThreads();
28958 result = (bool)(arg1)->EndContextHelp();
28959
28960 wxPyEndAllowThreads(__tstate);
28961 if (PyErr_Occurred()) SWIG_fail;
28962 }
28963 {
28964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28965 }
28966 return resultobj;
28967 fail:
28968 return NULL;
28969 }
28970
28971
28972 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
28973 PyObject *obj;
28974 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28975 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
28976 Py_INCREF(obj);
28977 return Py_BuildValue((char *)"");
28978 }
28979 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
28980 PyObject *resultobj;
28981 wxWindow *arg1 = (wxWindow *) 0 ;
28982 int arg2 = (int) wxID_CONTEXT_HELP ;
28983 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28984 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28985 wxSize const &arg4_defvalue = wxDefaultSize ;
28986 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28987 long arg5 = (long) wxBU_AUTODRAW ;
28988 wxContextHelpButton *result;
28989 wxPoint temp3 ;
28990 wxSize temp4 ;
28991 PyObject * obj0 = 0 ;
28992 PyObject * obj1 = 0 ;
28993 PyObject * obj2 = 0 ;
28994 PyObject * obj3 = 0 ;
28995 PyObject * obj4 = 0 ;
28996 char *kwnames[] = {
28997 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28998 };
28999
29000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29003 if (obj1) {
29004 arg2 = (int) SWIG_AsInt(obj1);
29005 if (PyErr_Occurred()) SWIG_fail;
29006 }
29007 if (obj2) {
29008 {
29009 arg3 = &temp3;
29010 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29011 }
29012 }
29013 if (obj3) {
29014 {
29015 arg4 = &temp4;
29016 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29017 }
29018 }
29019 if (obj4) {
29020 arg5 = (long) SWIG_AsLong(obj4);
29021 if (PyErr_Occurred()) SWIG_fail;
29022 }
29023 {
29024 PyThreadState* __tstate = wxPyBeginAllowThreads();
29025 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
29026
29027 wxPyEndAllowThreads(__tstate);
29028 if (PyErr_Occurred()) SWIG_fail;
29029 }
29030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
29031 return resultobj;
29032 fail:
29033 return NULL;
29034 }
29035
29036
29037 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
29038 PyObject *obj;
29039 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29040 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
29041 Py_INCREF(obj);
29042 return Py_BuildValue((char *)"");
29043 }
29044 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
29045 PyObject *resultobj;
29046 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29047 wxHelpProvider *result;
29048 PyObject * obj0 = 0 ;
29049 char *kwnames[] = {
29050 (char *) "helpProvider", NULL
29051 };
29052
29053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
29054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29056 {
29057 PyThreadState* __tstate = wxPyBeginAllowThreads();
29058 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
29059
29060 wxPyEndAllowThreads(__tstate);
29061 if (PyErr_Occurred()) SWIG_fail;
29062 }
29063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
29064 return resultobj;
29065 fail:
29066 return NULL;
29067 }
29068
29069
29070 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
29071 PyObject *resultobj;
29072 wxHelpProvider *result;
29073 char *kwnames[] = {
29074 NULL
29075 };
29076
29077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
29078 {
29079 PyThreadState* __tstate = wxPyBeginAllowThreads();
29080 result = (wxHelpProvider *)wxHelpProvider::Get();
29081
29082 wxPyEndAllowThreads(__tstate);
29083 if (PyErr_Occurred()) SWIG_fail;
29084 }
29085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
29086 return resultobj;
29087 fail:
29088 return NULL;
29089 }
29090
29091
29092 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29093 PyObject *resultobj;
29094 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29095 wxWindow *arg2 = (wxWindow *) 0 ;
29096 wxString result;
29097 PyObject * obj0 = 0 ;
29098 PyObject * obj1 = 0 ;
29099 char *kwnames[] = {
29100 (char *) "self",(char *) "window", NULL
29101 };
29102
29103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
29104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29106 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29108 {
29109 PyThreadState* __tstate = wxPyBeginAllowThreads();
29110 result = (arg1)->GetHelp((wxWindow const *)arg2);
29111
29112 wxPyEndAllowThreads(__tstate);
29113 if (PyErr_Occurred()) SWIG_fail;
29114 }
29115 {
29116 #if wxUSE_UNICODE
29117 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29118 #else
29119 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29120 #endif
29121 }
29122 return resultobj;
29123 fail:
29124 return NULL;
29125 }
29126
29127
29128 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29129 PyObject *resultobj;
29130 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29131 wxWindow *arg2 = (wxWindow *) 0 ;
29132 bool result;
29133 PyObject * obj0 = 0 ;
29134 PyObject * obj1 = 0 ;
29135 char *kwnames[] = {
29136 (char *) "self",(char *) "window", NULL
29137 };
29138
29139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
29140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29142 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29144 {
29145 PyThreadState* __tstate = wxPyBeginAllowThreads();
29146 result = (bool)(arg1)->ShowHelp(arg2);
29147
29148 wxPyEndAllowThreads(__tstate);
29149 if (PyErr_Occurred()) SWIG_fail;
29150 }
29151 {
29152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29153 }
29154 return resultobj;
29155 fail:
29156 return NULL;
29157 }
29158
29159
29160 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29161 PyObject *resultobj;
29162 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29163 wxWindow *arg2 = (wxWindow *) 0 ;
29164 wxString *arg3 = 0 ;
29165 bool temp3 = False ;
29166 PyObject * obj0 = 0 ;
29167 PyObject * obj1 = 0 ;
29168 PyObject * obj2 = 0 ;
29169 char *kwnames[] = {
29170 (char *) "self",(char *) "window",(char *) "text", NULL
29171 };
29172
29173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
29174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29176 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29178 {
29179 arg3 = wxString_in_helper(obj2);
29180 if (arg3 == NULL) SWIG_fail;
29181 temp3 = True;
29182 }
29183 {
29184 PyThreadState* __tstate = wxPyBeginAllowThreads();
29185 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29186
29187 wxPyEndAllowThreads(__tstate);
29188 if (PyErr_Occurred()) SWIG_fail;
29189 }
29190 Py_INCREF(Py_None); resultobj = Py_None;
29191 {
29192 if (temp3)
29193 delete arg3;
29194 }
29195 return resultobj;
29196 fail:
29197 {
29198 if (temp3)
29199 delete arg3;
29200 }
29201 return NULL;
29202 }
29203
29204
29205 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
29206 PyObject *resultobj;
29207 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29208 int arg2 ;
29209 wxString *arg3 = 0 ;
29210 bool temp3 = False ;
29211 PyObject * obj0 = 0 ;
29212 PyObject * obj1 = 0 ;
29213 PyObject * obj2 = 0 ;
29214 char *kwnames[] = {
29215 (char *) "self",(char *) "id",(char *) "text", NULL
29216 };
29217
29218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
29219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29221 arg2 = (int) SWIG_AsInt(obj1);
29222 if (PyErr_Occurred()) SWIG_fail;
29223 {
29224 arg3 = wxString_in_helper(obj2);
29225 if (arg3 == NULL) SWIG_fail;
29226 temp3 = True;
29227 }
29228 {
29229 PyThreadState* __tstate = wxPyBeginAllowThreads();
29230 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29231
29232 wxPyEndAllowThreads(__tstate);
29233 if (PyErr_Occurred()) SWIG_fail;
29234 }
29235 Py_INCREF(Py_None); resultobj = Py_None;
29236 {
29237 if (temp3)
29238 delete arg3;
29239 }
29240 return resultobj;
29241 fail:
29242 {
29243 if (temp3)
29244 delete arg3;
29245 }
29246 return NULL;
29247 }
29248
29249
29250 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29251 PyObject *resultobj;
29252 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29253 wxWindow *arg2 = (wxWindow *) 0 ;
29254 PyObject * obj0 = 0 ;
29255 PyObject * obj1 = 0 ;
29256 char *kwnames[] = {
29257 (char *) "self",(char *) "window", NULL
29258 };
29259
29260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
29261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29263 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29265 {
29266 PyThreadState* __tstate = wxPyBeginAllowThreads();
29267 (arg1)->RemoveHelp(arg2);
29268
29269 wxPyEndAllowThreads(__tstate);
29270 if (PyErr_Occurred()) SWIG_fail;
29271 }
29272 Py_INCREF(Py_None); resultobj = Py_None;
29273 return resultobj;
29274 fail:
29275 return NULL;
29276 }
29277
29278
29279 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
29280 PyObject *resultobj;
29281 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29282 PyObject * obj0 = 0 ;
29283 char *kwnames[] = {
29284 (char *) "self", NULL
29285 };
29286
29287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
29288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29290 {
29291 PyThreadState* __tstate = wxPyBeginAllowThreads();
29292 wxHelpProvider_Destroy(arg1);
29293
29294 wxPyEndAllowThreads(__tstate);
29295 if (PyErr_Occurred()) SWIG_fail;
29296 }
29297 Py_INCREF(Py_None); resultobj = Py_None;
29298 return resultobj;
29299 fail:
29300 return NULL;
29301 }
29302
29303
29304 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
29305 PyObject *obj;
29306 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29307 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
29308 Py_INCREF(obj);
29309 return Py_BuildValue((char *)"");
29310 }
29311 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
29312 PyObject *resultobj;
29313 wxSimpleHelpProvider *result;
29314 char *kwnames[] = {
29315 NULL
29316 };
29317
29318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
29319 {
29320 PyThreadState* __tstate = wxPyBeginAllowThreads();
29321 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
29322
29323 wxPyEndAllowThreads(__tstate);
29324 if (PyErr_Occurred()) SWIG_fail;
29325 }
29326 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
29327 return resultobj;
29328 fail:
29329 return NULL;
29330 }
29331
29332
29333 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
29334 PyObject *obj;
29335 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29336 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
29337 Py_INCREF(obj);
29338 return Py_BuildValue((char *)"");
29339 }
29340 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29341 PyObject *resultobj;
29342 wxBitmap *arg1 = 0 ;
29343 wxCursor const &arg2_defvalue = wxNullCursor ;
29344 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29345 wxGenericDragImage *result;
29346 PyObject * obj0 = 0 ;
29347 PyObject * obj1 = 0 ;
29348 char *kwnames[] = {
29349 (char *) "image",(char *) "cursor", NULL
29350 };
29351
29352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
29353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
29354 SWIG_POINTER_EXCEPTION | 0)) == -1)
29355 SWIG_fail;
29356 if (arg1 == NULL) {
29357 PyErr_SetString(PyExc_TypeError,"null reference");
29358 SWIG_fail;
29359 }
29360 if (obj1) {
29361 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29362 SWIG_POINTER_EXCEPTION | 0)) == -1)
29363 SWIG_fail;
29364 if (arg2 == NULL) {
29365 PyErr_SetString(PyExc_TypeError,"null reference");
29366 SWIG_fail;
29367 }
29368 }
29369 {
29370 PyThreadState* __tstate = wxPyBeginAllowThreads();
29371 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
29372
29373 wxPyEndAllowThreads(__tstate);
29374 if (PyErr_Occurred()) SWIG_fail;
29375 }
29376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29377 return resultobj;
29378 fail:
29379 return NULL;
29380 }
29381
29382
29383 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
29384 PyObject *resultobj;
29385 wxIcon *arg1 = 0 ;
29386 wxCursor const &arg2_defvalue = wxNullCursor ;
29387 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29388 wxGenericDragImage *result;
29389 PyObject * obj0 = 0 ;
29390 PyObject * obj1 = 0 ;
29391 char *kwnames[] = {
29392 (char *) "image",(char *) "cursor", NULL
29393 };
29394
29395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
29396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
29397 SWIG_POINTER_EXCEPTION | 0)) == -1)
29398 SWIG_fail;
29399 if (arg1 == NULL) {
29400 PyErr_SetString(PyExc_TypeError,"null reference");
29401 SWIG_fail;
29402 }
29403 if (obj1) {
29404 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29405 SWIG_POINTER_EXCEPTION | 0)) == -1)
29406 SWIG_fail;
29407 if (arg2 == NULL) {
29408 PyErr_SetString(PyExc_TypeError,"null reference");
29409 SWIG_fail;
29410 }
29411 }
29412 {
29413 PyThreadState* __tstate = wxPyBeginAllowThreads();
29414 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
29415
29416 wxPyEndAllowThreads(__tstate);
29417 if (PyErr_Occurred()) SWIG_fail;
29418 }
29419 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29420 return resultobj;
29421 fail:
29422 return NULL;
29423 }
29424
29425
29426 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
29427 PyObject *resultobj;
29428 wxString *arg1 = 0 ;
29429 wxCursor const &arg2_defvalue = wxNullCursor ;
29430 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29431 wxGenericDragImage *result;
29432 bool temp1 = False ;
29433 PyObject * obj0 = 0 ;
29434 PyObject * obj1 = 0 ;
29435 char *kwnames[] = {
29436 (char *) "str",(char *) "cursor", NULL
29437 };
29438
29439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
29440 {
29441 arg1 = wxString_in_helper(obj0);
29442 if (arg1 == NULL) SWIG_fail;
29443 temp1 = True;
29444 }
29445 if (obj1) {
29446 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29447 SWIG_POINTER_EXCEPTION | 0)) == -1)
29448 SWIG_fail;
29449 if (arg2 == NULL) {
29450 PyErr_SetString(PyExc_TypeError,"null reference");
29451 SWIG_fail;
29452 }
29453 }
29454 {
29455 PyThreadState* __tstate = wxPyBeginAllowThreads();
29456 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
29457
29458 wxPyEndAllowThreads(__tstate);
29459 if (PyErr_Occurred()) SWIG_fail;
29460 }
29461 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29462 {
29463 if (temp1)
29464 delete arg1;
29465 }
29466 return resultobj;
29467 fail:
29468 {
29469 if (temp1)
29470 delete arg1;
29471 }
29472 return NULL;
29473 }
29474
29475
29476 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29477 PyObject *resultobj;
29478 wxPyTreeCtrl *arg1 = 0 ;
29479 wxTreeItemId *arg2 = 0 ;
29480 wxGenericDragImage *result;
29481 PyObject * obj0 = 0 ;
29482 PyObject * obj1 = 0 ;
29483 char *kwnames[] = {
29484 (char *) "treeCtrl",(char *) "id", NULL
29485 };
29486
29487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
29488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
29489 SWIG_POINTER_EXCEPTION | 0)) == -1)
29490 SWIG_fail;
29491 if (arg1 == NULL) {
29492 PyErr_SetString(PyExc_TypeError,"null reference");
29493 SWIG_fail;
29494 }
29495 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
29496 SWIG_POINTER_EXCEPTION | 0)) == -1)
29497 SWIG_fail;
29498 if (arg2 == NULL) {
29499 PyErr_SetString(PyExc_TypeError,"null reference");
29500 SWIG_fail;
29501 }
29502 {
29503 PyThreadState* __tstate = wxPyBeginAllowThreads();
29504 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
29505
29506 wxPyEndAllowThreads(__tstate);
29507 if (PyErr_Occurred()) SWIG_fail;
29508 }
29509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29510 return resultobj;
29511 fail:
29512 return NULL;
29513 }
29514
29515
29516 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29517 PyObject *resultobj;
29518 wxPyListCtrl *arg1 = 0 ;
29519 long arg2 ;
29520 wxGenericDragImage *result;
29521 PyObject * obj0 = 0 ;
29522 PyObject * obj1 = 0 ;
29523 char *kwnames[] = {
29524 (char *) "listCtrl",(char *) "id", NULL
29525 };
29526
29527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
29528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
29529 SWIG_POINTER_EXCEPTION | 0)) == -1)
29530 SWIG_fail;
29531 if (arg1 == NULL) {
29532 PyErr_SetString(PyExc_TypeError,"null reference");
29533 SWIG_fail;
29534 }
29535 arg2 = (long) SWIG_AsLong(obj1);
29536 if (PyErr_Occurred()) SWIG_fail;
29537 {
29538 PyThreadState* __tstate = wxPyBeginAllowThreads();
29539 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
29540
29541 wxPyEndAllowThreads(__tstate);
29542 if (PyErr_Occurred()) SWIG_fail;
29543 }
29544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29545 return resultobj;
29546 fail:
29547 return NULL;
29548 }
29549
29550
29551 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29552 PyObject *resultobj;
29553 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29554 PyObject * obj0 = 0 ;
29555 char *kwnames[] = {
29556 (char *) "self", NULL
29557 };
29558
29559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
29560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29562 {
29563 PyThreadState* __tstate = wxPyBeginAllowThreads();
29564 delete arg1;
29565
29566 wxPyEndAllowThreads(__tstate);
29567 if (PyErr_Occurred()) SWIG_fail;
29568 }
29569 Py_INCREF(Py_None); resultobj = Py_None;
29570 return resultobj;
29571 fail:
29572 return NULL;
29573 }
29574
29575
29576 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
29577 PyObject *resultobj;
29578 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29579 wxBitmap *arg2 = (wxBitmap *) 0 ;
29580 PyObject * obj0 = 0 ;
29581 PyObject * obj1 = 0 ;
29582 char *kwnames[] = {
29583 (char *) "self",(char *) "bitmap", NULL
29584 };
29585
29586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
29587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29589 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
29590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29591 {
29592 PyThreadState* __tstate = wxPyBeginAllowThreads();
29593 (arg1)->SetBackingBitmap(arg2);
29594
29595 wxPyEndAllowThreads(__tstate);
29596 if (PyErr_Occurred()) SWIG_fail;
29597 }
29598 Py_INCREF(Py_None); resultobj = Py_None;
29599 return resultobj;
29600 fail:
29601 return NULL;
29602 }
29603
29604
29605 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29606 PyObject *resultobj;
29607 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29608 wxPoint *arg2 = 0 ;
29609 wxWindow *arg3 = (wxWindow *) 0 ;
29610 bool arg4 = (bool) False ;
29611 wxRect *arg5 = (wxRect *) NULL ;
29612 bool result;
29613 wxPoint temp2 ;
29614 PyObject * obj0 = 0 ;
29615 PyObject * obj1 = 0 ;
29616 PyObject * obj2 = 0 ;
29617 PyObject * obj3 = 0 ;
29618 PyObject * obj4 = 0 ;
29619 char *kwnames[] = {
29620 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29621 };
29622
29623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29626 {
29627 arg2 = &temp2;
29628 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29629 }
29630 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29632 if (obj3) {
29633 arg4 = (bool) SWIG_AsBool(obj3);
29634 if (PyErr_Occurred()) SWIG_fail;
29635 }
29636 if (obj4) {
29637 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
29638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29639 }
29640 {
29641 PyThreadState* __tstate = wxPyBeginAllowThreads();
29642 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
29643
29644 wxPyEndAllowThreads(__tstate);
29645 if (PyErr_Occurred()) SWIG_fail;
29646 }
29647 {
29648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29649 }
29650 return resultobj;
29651 fail:
29652 return NULL;
29653 }
29654
29655
29656 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
29657 PyObject *resultobj;
29658 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29659 wxPoint *arg2 = 0 ;
29660 wxWindow *arg3 = (wxWindow *) 0 ;
29661 wxWindow *arg4 = (wxWindow *) 0 ;
29662 bool result;
29663 wxPoint temp2 ;
29664 PyObject * obj0 = 0 ;
29665 PyObject * obj1 = 0 ;
29666 PyObject * obj2 = 0 ;
29667 PyObject * obj3 = 0 ;
29668 char *kwnames[] = {
29669 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29670 };
29671
29672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29675 {
29676 arg2 = &temp2;
29677 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29678 }
29679 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29681 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
29682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29683 {
29684 PyThreadState* __tstate = wxPyBeginAllowThreads();
29685 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
29686
29687 wxPyEndAllowThreads(__tstate);
29688 if (PyErr_Occurred()) SWIG_fail;
29689 }
29690 {
29691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29692 }
29693 return resultobj;
29694 fail:
29695 return NULL;
29696 }
29697
29698
29699 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29700 PyObject *resultobj;
29701 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29702 bool result;
29703 PyObject * obj0 = 0 ;
29704 char *kwnames[] = {
29705 (char *) "self", NULL
29706 };
29707
29708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
29709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29711 {
29712 PyThreadState* __tstate = wxPyBeginAllowThreads();
29713 result = (bool)(arg1)->EndDrag();
29714
29715 wxPyEndAllowThreads(__tstate);
29716 if (PyErr_Occurred()) SWIG_fail;
29717 }
29718 {
29719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29720 }
29721 return resultobj;
29722 fail:
29723 return NULL;
29724 }
29725
29726
29727 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
29728 PyObject *resultobj;
29729 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29730 wxPoint *arg2 = 0 ;
29731 bool result;
29732 wxPoint temp2 ;
29733 PyObject * obj0 = 0 ;
29734 PyObject * obj1 = 0 ;
29735 char *kwnames[] = {
29736 (char *) "self",(char *) "pt", NULL
29737 };
29738
29739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
29740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29742 {
29743 arg2 = &temp2;
29744 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29745 }
29746 {
29747 PyThreadState* __tstate = wxPyBeginAllowThreads();
29748 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
29749
29750 wxPyEndAllowThreads(__tstate);
29751 if (PyErr_Occurred()) SWIG_fail;
29752 }
29753 {
29754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29755 }
29756 return resultobj;
29757 fail:
29758 return NULL;
29759 }
29760
29761
29762 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
29763 PyObject *resultobj;
29764 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29765 bool result;
29766 PyObject * obj0 = 0 ;
29767 char *kwnames[] = {
29768 (char *) "self", NULL
29769 };
29770
29771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
29772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29774 {
29775 PyThreadState* __tstate = wxPyBeginAllowThreads();
29776 result = (bool)(arg1)->Show();
29777
29778 wxPyEndAllowThreads(__tstate);
29779 if (PyErr_Occurred()) SWIG_fail;
29780 }
29781 {
29782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29783 }
29784 return resultobj;
29785 fail:
29786 return NULL;
29787 }
29788
29789
29790 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
29791 PyObject *resultobj;
29792 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29793 bool result;
29794 PyObject * obj0 = 0 ;
29795 char *kwnames[] = {
29796 (char *) "self", NULL
29797 };
29798
29799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
29800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29802 {
29803 PyThreadState* __tstate = wxPyBeginAllowThreads();
29804 result = (bool)(arg1)->Hide();
29805
29806 wxPyEndAllowThreads(__tstate);
29807 if (PyErr_Occurred()) SWIG_fail;
29808 }
29809 {
29810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29811 }
29812 return resultobj;
29813 fail:
29814 return NULL;
29815 }
29816
29817
29818 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
29819 PyObject *resultobj;
29820 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29821 wxPoint *arg2 = 0 ;
29822 wxRect result;
29823 wxPoint temp2 ;
29824 PyObject * obj0 = 0 ;
29825 PyObject * obj1 = 0 ;
29826 char *kwnames[] = {
29827 (char *) "self",(char *) "pos", NULL
29828 };
29829
29830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
29831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29833 {
29834 arg2 = &temp2;
29835 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29836 }
29837 {
29838 PyThreadState* __tstate = wxPyBeginAllowThreads();
29839 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
29840
29841 wxPyEndAllowThreads(__tstate);
29842 if (PyErr_Occurred()) SWIG_fail;
29843 }
29844 {
29845 wxRect * resultptr;
29846 resultptr = new wxRect((wxRect &) result);
29847 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
29848 }
29849 return resultobj;
29850 fail:
29851 return NULL;
29852 }
29853
29854
29855 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29856 PyObject *resultobj;
29857 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29858 wxDC *arg2 = 0 ;
29859 wxPoint *arg3 = 0 ;
29860 bool result;
29861 wxPoint temp3 ;
29862 PyObject * obj0 = 0 ;
29863 PyObject * obj1 = 0 ;
29864 PyObject * obj2 = 0 ;
29865 char *kwnames[] = {
29866 (char *) "self",(char *) "dc",(char *) "pos", NULL
29867 };
29868
29869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
29870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29872 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29873 SWIG_POINTER_EXCEPTION | 0)) == -1)
29874 SWIG_fail;
29875 if (arg2 == NULL) {
29876 PyErr_SetString(PyExc_TypeError,"null reference");
29877 SWIG_fail;
29878 }
29879 {
29880 arg3 = &temp3;
29881 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29882 }
29883 {
29884 PyThreadState* __tstate = wxPyBeginAllowThreads();
29885 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
29886
29887 wxPyEndAllowThreads(__tstate);
29888 if (PyErr_Occurred()) SWIG_fail;
29889 }
29890 {
29891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29892 }
29893 return resultobj;
29894 fail:
29895 return NULL;
29896 }
29897
29898
29899 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29900 PyObject *resultobj;
29901 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29902 wxDC *arg2 = 0 ;
29903 wxMemoryDC *arg3 = 0 ;
29904 wxRect *arg4 = 0 ;
29905 wxRect *arg5 = 0 ;
29906 bool result;
29907 wxRect temp4 ;
29908 wxRect temp5 ;
29909 PyObject * obj0 = 0 ;
29910 PyObject * obj1 = 0 ;
29911 PyObject * obj2 = 0 ;
29912 PyObject * obj3 = 0 ;
29913 PyObject * obj4 = 0 ;
29914 char *kwnames[] = {
29915 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29916 };
29917
29918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29921 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29922 SWIG_POINTER_EXCEPTION | 0)) == -1)
29923 SWIG_fail;
29924 if (arg2 == NULL) {
29925 PyErr_SetString(PyExc_TypeError,"null reference");
29926 SWIG_fail;
29927 }
29928 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
29929 SWIG_POINTER_EXCEPTION | 0)) == -1)
29930 SWIG_fail;
29931 if (arg3 == NULL) {
29932 PyErr_SetString(PyExc_TypeError,"null reference");
29933 SWIG_fail;
29934 }
29935 {
29936 arg4 = &temp4;
29937 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
29938 }
29939 {
29940 arg5 = &temp5;
29941 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
29942 }
29943 {
29944 PyThreadState* __tstate = wxPyBeginAllowThreads();
29945 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
29946
29947 wxPyEndAllowThreads(__tstate);
29948 if (PyErr_Occurred()) SWIG_fail;
29949 }
29950 {
29951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29952 }
29953 return resultobj;
29954 fail:
29955 return NULL;
29956 }
29957
29958
29959 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29960 PyObject *resultobj;
29961 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29962 wxPoint *arg2 = 0 ;
29963 wxPoint *arg3 = 0 ;
29964 bool arg4 ;
29965 bool arg5 ;
29966 bool result;
29967 wxPoint temp2 ;
29968 wxPoint temp3 ;
29969 PyObject * obj0 = 0 ;
29970 PyObject * obj1 = 0 ;
29971 PyObject * obj2 = 0 ;
29972 PyObject * obj3 = 0 ;
29973 PyObject * obj4 = 0 ;
29974 char *kwnames[] = {
29975 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29976 };
29977
29978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29981 {
29982 arg2 = &temp2;
29983 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29984 }
29985 {
29986 arg3 = &temp3;
29987 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29988 }
29989 arg4 = (bool) SWIG_AsBool(obj3);
29990 if (PyErr_Occurred()) SWIG_fail;
29991 arg5 = (bool) SWIG_AsBool(obj4);
29992 if (PyErr_Occurred()) SWIG_fail;
29993 {
29994 PyThreadState* __tstate = wxPyBeginAllowThreads();
29995 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
29996
29997 wxPyEndAllowThreads(__tstate);
29998 if (PyErr_Occurred()) SWIG_fail;
29999 }
30000 {
30001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30002 }
30003 return resultobj;
30004 fail:
30005 return NULL;
30006 }
30007
30008
30009 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
30010 PyObject *obj;
30011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30012 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
30013 Py_INCREF(obj);
30014 return Py_BuildValue((char *)"");
30015 }
30016 static PyMethodDef SwigMethods[] = {
30017 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
30018 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
30019 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
30020 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
30021 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
30022 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
30023 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
30024 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
30025 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
30026 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
30027 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
30028 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
30029 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
30030 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
30031 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
30032 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
30033 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
30034 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
30035 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
30036 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
30037 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
30038 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
30039 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
30040 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
30041 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
30042 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
30043 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
30044 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
30045 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
30046 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
30047 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
30048 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
30049 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
30050 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
30051 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
30052 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
30053 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30054 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
30055 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
30056 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
30057 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
30058 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
30059 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
30060 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
30061 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
30062 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
30063 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
30064 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30065 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30066 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
30067 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
30068 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30069 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
30070 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
30071 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
30072 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
30073 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
30074 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
30075 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
30076 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
30077 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
30078 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
30079 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
30080 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
30081 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
30082 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
30083 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
30084 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
30085 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
30086 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
30087 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
30088 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
30089 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
30090 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
30091 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
30092 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
30093 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
30094 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
30095 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
30096 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
30097 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
30098 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
30099 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
30100 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
30101 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
30102 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
30103 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
30104 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
30105 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
30106 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
30107 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
30108 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
30109 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
30110 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
30111 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
30112 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
30113 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
30114 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
30115 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30116 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
30117 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
30118 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
30119 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30120 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
30121 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
30122 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
30123 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30124 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
30125 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
30126 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
30127 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30128 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
30129 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
30130 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
30131 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
30132 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
30133 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
30134 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
30135 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
30136 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
30137 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
30138 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
30139 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
30140 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
30141 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
30142 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30143 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30144 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
30145 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
30146 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
30147 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
30148 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
30149 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
30150 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
30151 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30152 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
30153 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
30154 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
30155 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
30156 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
30157 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
30158 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30159 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30160 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
30161 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
30162 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
30163 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
30164 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
30165 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
30166 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
30167 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
30168 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
30169 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
30170 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
30171 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30172 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
30173 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
30174 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
30175 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
30176 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
30177 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
30178 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
30179 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
30180 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
30181 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
30182 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30183 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
30184 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
30185 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
30186 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
30187 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
30188 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
30189 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
30190 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
30191 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
30192 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
30193 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
30194 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
30195 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
30196 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
30197 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
30198 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
30199 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
30200 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
30201 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
30202 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30203 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
30204 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
30205 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
30206 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
30207 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
30208 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
30209 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
30210 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
30211 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
30212 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
30213 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30214 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
30215 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30216 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
30217 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30218 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
30219 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
30220 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
30221 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
30222 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
30223 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
30224 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
30225 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
30226 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
30227 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
30228 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
30229 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
30230 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
30231 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
30232 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
30233 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
30234 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
30235 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
30236 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
30237 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
30238 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
30239 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
30240 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
30241 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
30242 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30243 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
30244 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
30245 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30246 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
30247 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
30248 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
30249 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
30250 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
30251 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
30252 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
30253 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30254 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
30255 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
30256 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
30257 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
30258 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
30259 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
30260 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30261 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
30262 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
30263 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
30264 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
30265 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
30266 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
30267 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
30268 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
30269 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30270 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
30271 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
30272 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30273 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
30274 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
30275 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
30276 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
30277 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
30278 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
30279 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
30280 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
30281 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
30282 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
30283 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
30284 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
30285 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
30286 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30287 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30288 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
30289 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
30290 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
30291 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
30292 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
30293 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
30294 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
30295 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
30296 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
30297 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
30298 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
30299 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
30300 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
30301 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
30302 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
30303 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
30304 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
30305 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
30306 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
30307 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
30308 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
30309 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
30310 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
30311 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
30312 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
30313 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
30314 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
30315 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
30316 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
30317 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30318 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30319 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
30320 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
30321 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
30322 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
30323 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30324 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
30325 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
30326 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30327 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30328 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30329 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
30330 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
30331 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
30332 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
30333 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
30334 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
30335 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
30336 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
30337 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
30338 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30339 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
30340 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
30341 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
30342 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
30343 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
30344 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
30345 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
30346 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
30347 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
30348 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
30349 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
30350 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
30351 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
30352 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
30353 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
30354 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
30355 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
30356 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
30357 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
30358 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
30359 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
30360 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
30361 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
30362 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
30363 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
30364 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
30365 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
30366 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
30367 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
30368 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
30369 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
30370 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
30371 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
30372 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
30373 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
30374 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
30375 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
30376 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
30377 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
30378 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
30379 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
30380 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
30381 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
30382 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
30383 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
30384 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
30385 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
30386 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
30387 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
30388 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
30389 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
30390 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
30391 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
30392 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
30393 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
30394 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
30395 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
30396 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
30397 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
30398 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
30399 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
30400 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
30401 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
30402 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
30403 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
30404 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
30405 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
30406 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
30407 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
30408 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
30409 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
30410 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
30411 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
30412 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
30413 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
30414 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
30415 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
30416 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
30417 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
30418 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
30419 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
30420 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
30421 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
30422 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
30423 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
30424 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
30425 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
30426 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
30427 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
30428 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
30429 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
30430 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
30431 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
30432 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
30433 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
30434 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
30435 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
30436 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
30437 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
30438 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
30439 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
30440 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
30441 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
30442 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
30443 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
30444 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
30445 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
30446 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
30447 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
30448 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
30449 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
30450 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
30451 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
30452 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
30453 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
30454 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
30455 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
30456 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30457 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30458 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
30459 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
30460 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30461 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
30462 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30463 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30464 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
30465 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
30466 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
30467 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
30468 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
30469 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
30470 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
30471 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
30472 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
30473 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
30474 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
30475 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
30476 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
30477 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
30478 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
30479 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
30480 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
30481 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30482 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30483 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
30484 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
30485 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
30486 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
30487 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
30488 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
30489 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
30490 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
30491 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
30492 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
30493 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
30494 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
30495 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30496 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30497 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
30498 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
30499 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
30500 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
30501 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
30502 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
30503 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
30504 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
30505 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
30506 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
30507 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
30508 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
30509 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
30510 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
30511 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
30512 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
30513 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
30514 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
30515 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
30516 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
30517 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
30518 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
30519 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
30520 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
30521 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
30522 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
30523 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
30524 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
30525 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
30526 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
30527 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
30528 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
30529 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
30530 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
30531 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30532 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
30533 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
30534 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30535 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30536 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
30537 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
30538 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
30539 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
30540 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30541 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
30542 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
30543 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30544 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
30545 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
30546 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
30547 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
30548 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30549 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30550 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
30551 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30552 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
30553 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
30554 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30555 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30556 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
30557 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
30558 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
30559 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
30560 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
30561 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
30562 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
30563 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30564 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30565 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30566 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30567 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30568 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
30569 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
30570 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
30571 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
30572 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
30573 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
30574 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
30575 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
30576 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30577 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30578 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
30579 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
30580 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
30581 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
30582 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30583 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30584 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30585 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS },
30586 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
30587 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
30588 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
30589 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
30590 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
30591 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30592 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
30593 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
30594 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
30595 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
30596 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30597 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
30598 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
30599 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
30600 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30601 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30602 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
30603 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
30604 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
30605 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
30606 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
30607 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
30608 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
30609 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30610 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30611 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30612 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30613 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
30614 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
30615 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
30616 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
30617 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
30618 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
30619 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
30620 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
30621 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
30622 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
30623 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
30624 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
30625 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
30626 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
30627 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
30628 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30629 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30630 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
30631 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
30632 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
30633 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
30634 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
30635 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
30636 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
30637 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
30638 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
30639 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
30640 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
30641 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
30642 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
30643 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
30644 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30645 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
30646 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
30647 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
30648 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30649 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
30650 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30651 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30652 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30653 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30654 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
30655 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30656 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
30657 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
30658 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
30659 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
30660 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30661 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30662 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30663 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
30664 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
30665 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
30666 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
30667 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
30668 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30669 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
30670 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30671 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
30672 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30673 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
30674 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30675 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
30676 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30677 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
30678 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30679 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30680 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
30681 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30682 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30683 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30684 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
30685 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30686 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
30687 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30688 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30689 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
30690 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
30691 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30692 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
30693 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
30694 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
30695 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
30696 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
30697 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30698 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
30699 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
30700 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
30701 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
30702 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
30703 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
30704 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
30705 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
30706 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
30707 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
30708 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
30709 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
30710 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30711 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
30712 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
30713 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
30714 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
30715 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30716 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
30717 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
30718 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
30719 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
30720 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
30721 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
30722 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
30723 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
30724 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
30725 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30726 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
30727 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
30728 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
30729 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
30730 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30731 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
30732 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
30733 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
30734 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
30735 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30736 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
30737 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
30738 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
30739 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
30740 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
30741 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
30742 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
30743 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
30744 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
30745 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
30746 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
30747 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
30748 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
30749 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30750 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30751 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
30752 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
30753 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
30754 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
30755 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30756 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30757 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30758 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
30759 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
30760 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
30761 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30762 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
30763 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
30764 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
30765 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30766 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
30767 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
30768 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
30769 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30770 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
30771 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
30772 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
30773 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
30774 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
30775 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
30776 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
30777 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
30778 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
30779 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
30780 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
30781 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
30782 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
30783 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
30784 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
30785 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
30786 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
30787 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
30788 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
30789 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30790 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30791 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
30792 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
30793 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
30794 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
30795 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
30796 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
30797 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
30798 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
30799 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
30800 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
30801 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
30802 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS },
30803 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
30804 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
30805 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
30806 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
30807 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
30808 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
30809 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
30810 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
30811 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
30812 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
30813 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
30814 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
30815 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
30816 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
30817 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
30818 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
30819 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
30820 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
30821 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
30822 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
30823 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
30824 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
30825 { NULL, NULL }
30826 };
30827
30828
30829 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30830
30831 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
30832 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30833 }
30834 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
30835 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
30836 }
30837 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
30838 return (void *)((wxSizer *) ((wxBoxSizer *) x));
30839 }
30840 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
30841 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
30842 }
30843 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
30844 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30845 }
30846 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
30847 return (void *)((wxSizer *) ((wxGridSizer *) x));
30848 }
30849 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
30850 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
30851 }
30852 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
30853 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
30854 }
30855 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
30856 return (void *)((wxSizer *) ((wxPySizer *) x));
30857 }
30858 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
30859 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
30860 }
30861 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
30862 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
30863 }
30864 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
30865 return (void *)((wxEvent *) ((wxMenuEvent *) x));
30866 }
30867 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
30868 return (void *)((wxEvent *) ((wxCloseEvent *) x));
30869 }
30870 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
30871 return (void *)((wxEvent *) ((wxMouseEvent *) x));
30872 }
30873 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
30874 return (void *)((wxEvent *) ((wxEraseEvent *) x));
30875 }
30876 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
30877 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30878 }
30879 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
30880 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
30881 }
30882 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
30883 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
30884 }
30885 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
30886 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
30887 }
30888 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
30889 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
30890 }
30891 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
30892 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30893 }
30894 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
30895 return (void *)((wxEvent *) ((wxPyEvent *) x));
30896 }
30897 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
30898 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
30899 }
30900 static void *_p_wxListEventTo_p_wxEvent(void *x) {
30901 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30902 }
30903 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
30904 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30905 }
30906 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
30907 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30908 }
30909 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
30910 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
30911 }
30912 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
30913 return (void *)((wxEvent *) ((wxIdleEvent *) x));
30914 }
30915 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
30916 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
30917 }
30918 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
30919 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
30920 }
30921 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
30922 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
30923 }
30924 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
30925 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
30926 }
30927 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
30928 return (void *)((wxEvent *) ((wxActivateEvent *) x));
30929 }
30930 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
30931 return (void *)((wxEvent *) ((wxSizeEvent *) x));
30932 }
30933 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
30934 return (void *)((wxEvent *) ((wxMoveEvent *) x));
30935 }
30936 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
30937 return (void *)((wxEvent *) ((wxPaintEvent *) x));
30938 }
30939 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
30940 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
30941 }
30942 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
30943 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
30944 }
30945 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
30946 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
30947 }
30948 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
30949 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
30950 }
30951 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
30952 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30953 }
30954 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
30955 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
30956 }
30957 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
30958 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
30959 }
30960 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
30961 return (void *)((wxEvent *) ((wxFocusEvent *) x));
30962 }
30963 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
30964 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
30965 }
30966 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
30967 return (void *)((wxEvent *) ((wxShowEvent *) x));
30968 }
30969 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
30970 return (void *)((wxEvent *) ((wxCommandEvent *) x));
30971 }
30972 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
30973 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
30974 }
30975 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
30976 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30977 }
30978 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
30979 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
30980 }
30981 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
30982 return (void *)((wxEvent *) ((wxKeyEvent *) x));
30983 }
30984 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
30985 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
30986 }
30987 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
30988 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30989 }
30990 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
30991 return (void *)((wxItemContainer *) ((wxComboBox *) x));
30992 }
30993 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
30994 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30995 }
30996 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
30997 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
30998 }
30999 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
31000 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
31001 }
31002 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
31003 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
31004 }
31005 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
31006 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31007 }
31008 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
31009 return (void *)((wxPyListCtrl *) ((wxListView *) x));
31010 }
31011 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
31012 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31013 }
31014 static void *_p_wxListBoxTo_p_wxControl(void *x) {
31015 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
31016 }
31017 static void *_p_wxChoiceTo_p_wxControl(void *x) {
31018 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
31019 }
31020 static void *_p_wxToolBarTo_p_wxControl(void *x) {
31021 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
31022 }
31023 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
31024 return (void *)((wxControl *) ((wxStaticBitmap *) x));
31025 }
31026 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
31027 return (void *)((wxControl *) ((wxComboBox *) x));
31028 }
31029 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
31030 return (void *)((wxControl *) ((wxSpinCtrl *) x));
31031 }
31032 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
31033 return (void *)((wxControl *) ((wxStaticBox *) x));
31034 }
31035 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
31036 return (void *)((wxControl *) ((wxPyListCtrl *) x));
31037 }
31038 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
31039 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
31040 }
31041 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
31042 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31043 }
31044 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
31045 return (void *)((wxControl *) ((wxScrollBar *) x));
31046 }
31047 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
31048 return (void *)((wxControl *) ((wxBookCtrl *) x));
31049 }
31050 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
31051 return (void *)((wxControl *) ((wxRadioButton *) x));
31052 }
31053 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
31054 return (void *)((wxControl *) ((wxToggleButton *) x));
31055 }
31056 static void *_p_wxGaugeTo_p_wxControl(void *x) {
31057 return (void *)((wxControl *) ((wxGauge *) x));
31058 }
31059 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
31060 return (void *)((wxControl *) ((wxToolBarBase *) x));
31061 }
31062 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
31063 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
31064 }
31065 static void *_p_wxButtonTo_p_wxControl(void *x) {
31066 return (void *)((wxControl *) ((wxButton *) x));
31067 }
31068 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
31069 return (void *)((wxControl *) ((wxSpinButton *) x));
31070 }
31071 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
31072 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31073 }
31074 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
31075 return (void *)((wxControl *) ((wxControlWithItems *) x));
31076 }
31077 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
31078 return (void *)((wxControl *) ((wxRadioBox *) x));
31079 }
31080 static void *_p_wxNotebookTo_p_wxControl(void *x) {
31081 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
31082 }
31083 static void *_p_wxListbookTo_p_wxControl(void *x) {
31084 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
31085 }
31086 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
31087 return (void *)((wxControl *) ((wxCheckBox *) x));
31088 }
31089 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
31090 return (void *)((wxControl *) ((wxTextCtrl *) x));
31091 }
31092 static void *_p_wxListViewTo_p_wxControl(void *x) {
31093 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
31094 }
31095 static void *_p_wxSliderTo_p_wxControl(void *x) {
31096 return (void *)((wxControl *) ((wxSlider *) x));
31097 }
31098 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
31099 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
31100 }
31101 static void *_p_wxPyControlTo_p_wxControl(void *x) {
31102 return (void *)((wxControl *) ((wxPyControl *) x));
31103 }
31104 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
31105 return (void *)((wxControl *) ((wxStaticLine *) x));
31106 }
31107 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
31108 return (void *)((wxControl *) ((wxStaticText *) x));
31109 }
31110 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
31111 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
31112 }
31113 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
31114 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
31115 }
31116 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
31117 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
31118 }
31119 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
31120 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31121 }
31122 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
31123 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
31124 }
31125 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
31126 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
31127 }
31128 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
31129 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31130 }
31131 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
31132 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
31133 }
31134 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
31135 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31136 }
31137 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31138 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31139 }
31140 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31141 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31142 }
31143 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31144 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31145 }
31146 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
31147 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31148 }
31149 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31150 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31151 }
31152 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
31153 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
31154 }
31155 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
31156 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
31157 }
31158 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31159 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31160 }
31161 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31162 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31163 }
31164 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
31165 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31166 }
31167 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
31168 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31169 }
31170 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
31171 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
31172 }
31173 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
31174 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31175 }
31176 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
31177 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
31178 }
31179 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31180 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31181 }
31182 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
31183 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31184 }
31185 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
31186 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
31187 }
31188 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31189 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31190 }
31191 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
31192 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
31193 }
31194 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
31195 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
31196 }
31197 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
31198 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31199 }
31200 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
31201 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31202 }
31203 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
31204 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
31205 }
31206 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
31207 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
31208 }
31209 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
31210 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31211 }
31212 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
31213 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31214 }
31215 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
31216 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31217 }
31218 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
31219 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31220 }
31221 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
31222 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31223 }
31224 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
31225 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31226 }
31227 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
31228 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31229 }
31230 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
31231 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
31232 }
31233 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
31234 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
31235 }
31236 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
31237 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
31238 }
31239 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
31240 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
31241 }
31242 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
31243 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
31244 }
31245 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
31246 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31247 }
31248 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
31249 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31250 }
31251 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
31252 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31253 }
31254 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
31255 return (void *)((wxListBox *) ((wxCheckListBox *) x));
31256 }
31257 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
31258 return (void *)((wxBookCtrl *) ((wxListbook *) x));
31259 }
31260 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
31261 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
31262 }
31263 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
31264 return (void *)((wxButton *) ((wxBitmapButton *) x));
31265 }
31266 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
31267 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
31268 }
31269 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
31270 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
31271 }
31272 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
31273 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
31274 }
31275 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31276 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31277 }
31278 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31279 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31280 }
31281 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31282 return (void *)((wxObject *) ((wxSizerItem *) x));
31283 }
31284 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31285 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31286 }
31287 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31288 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31289 }
31290 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
31291 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
31292 }
31293 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
31294 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31295 }
31296 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31297 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31298 }
31299 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31300 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31301 }
31302 static void *_p_wxSizerTo_p_wxObject(void *x) {
31303 return (void *)((wxObject *) ((wxSizer *) x));
31304 }
31305 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31306 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31307 }
31308 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
31309 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
31310 }
31311 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
31312 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31313 }
31314 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31315 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31316 }
31317 static void *_p_wxEventTo_p_wxObject(void *x) {
31318 return (void *)((wxObject *) ((wxEvent *) x));
31319 }
31320 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31321 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31322 }
31323 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31324 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31325 }
31326 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31327 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31328 }
31329 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
31330 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31331 }
31332 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
31333 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31334 }
31335 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
31336 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31337 }
31338 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31339 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31340 }
31341 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31342 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31343 }
31344 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31345 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31346 }
31347 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31348 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31349 }
31350 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31351 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31352 }
31353 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31354 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31355 }
31356 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
31357 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
31358 }
31359 static void *_p_wxControlTo_p_wxObject(void *x) {
31360 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31361 }
31362 static void *_p_wxPyControlTo_p_wxObject(void *x) {
31363 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
31364 }
31365 static void *_p_wxGaugeTo_p_wxObject(void *x) {
31366 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
31367 }
31368 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
31369 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
31370 }
31371 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
31372 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
31373 }
31374 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
31375 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31376 }
31377 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31378 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31379 }
31380 static void *_p_wxChoiceTo_p_wxObject(void *x) {
31381 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31382 }
31383 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31384 return (void *)((wxObject *) ((wxFSFile *) x));
31385 }
31386 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31387 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31388 }
31389 static void *_p_wxListViewTo_p_wxObject(void *x) {
31390 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31391 }
31392 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
31393 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31394 }
31395 static void *_p_wxNotebookTo_p_wxObject(void *x) {
31396 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31397 }
31398 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31399 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31400 }
31401 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31402 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31403 }
31404 static void *_p_wxListbookTo_p_wxObject(void *x) {
31405 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31406 }
31407 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31408 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31409 }
31410 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
31411 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31412 }
31413 static void *_p_wxSliderTo_p_wxObject(void *x) {
31414 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
31415 }
31416 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31417 return (void *)((wxObject *) ((wxMenuItem *) x));
31418 }
31419 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31420 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31421 }
31422 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31423 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31424 }
31425 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31426 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31427 }
31428 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31429 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31430 }
31431 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31432 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31433 }
31434 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31435 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31436 }
31437 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31438 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31439 }
31440 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31441 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31442 }
31443 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
31444 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
31445 }
31446 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
31447 return (void *)((wxObject *) ((wxContextHelp *) x));
31448 }
31449 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31450 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31451 }
31452 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31453 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31454 }
31455 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31456 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31457 }
31458 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31459 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31460 }
31461 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31462 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31463 }
31464 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31465 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31466 }
31467 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31468 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31469 }
31470 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31471 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31472 }
31473 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31474 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31475 }
31476 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31477 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31478 }
31479 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31480 return (void *)((wxObject *) ((wxImageHandler *) x));
31481 }
31482 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31483 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31484 }
31485 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31486 return (void *)((wxObject *) ((wxEvtHandler *) x));
31487 }
31488 static void *_p_wxListEventTo_p_wxObject(void *x) {
31489 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
31490 }
31491 static void *_p_wxListBoxTo_p_wxObject(void *x) {
31492 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31493 }
31494 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
31495 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31496 }
31497 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
31498 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31499 }
31500 static void *_p_wxButtonTo_p_wxObject(void *x) {
31501 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
31502 }
31503 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
31504 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31505 }
31506 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
31507 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
31508 }
31509 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
31510 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31511 }
31512 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31513 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31514 }
31515 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
31516 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
31517 }
31518 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
31519 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
31520 }
31521 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
31522 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
31523 }
31524 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
31525 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
31526 }
31527 static void *_p_wxListItemTo_p_wxObject(void *x) {
31528 return (void *)((wxObject *) ((wxListItem *) x));
31529 }
31530 static void *_p_wxImageTo_p_wxObject(void *x) {
31531 return (void *)((wxObject *) ((wxImage *) x));
31532 }
31533 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
31534 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
31535 }
31536 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31537 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31538 }
31539 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
31540 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
31541 }
31542 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
31543 return (void *)((wxObject *) ((wxGenericDragImage *) x));
31544 }
31545 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
31546 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31547 }
31548 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
31549 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31550 }
31551 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
31552 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31553 }
31554 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31555 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31556 }
31557 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31558 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31559 }
31560 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31561 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31562 }
31563 static void *_p_wxWindowTo_p_wxObject(void *x) {
31564 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31565 }
31566 static void *_p_wxMenuTo_p_wxObject(void *x) {
31567 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31568 }
31569 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31571 }
31572 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31573 return (void *)((wxObject *) ((wxFileSystem *) x));
31574 }
31575 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31576 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31577 }
31578 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31579 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31580 }
31581 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31582 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31583 }
31584 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31585 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31586 }
31587 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31588 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31589 }
31590 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31591 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31592 }
31593 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
31594 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31595 }
31596 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31597 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31598 }
31599 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31600 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31601 }
31602 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
31603 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
31604 }
31605 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31606 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31607 }
31608 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31609 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31610 }
31611 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31612 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31613 }
31614 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31616 }
31617 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
31618 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
31619 }
31620 static void *_p_wxToolBarTo_p_wxObject(void *x) {
31621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31622 }
31623 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31624 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31625 }
31626 static void *_p_wxValidatorTo_p_wxObject(void *x) {
31627 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31628 }
31629 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
31630 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
31631 }
31632 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
31633 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
31634 }
31635 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31636 return (void *)((wxWindow *) ((wxMenuBar *) x));
31637 }
31638 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
31639 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31640 }
31641 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
31642 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
31643 }
31644 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
31645 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
31646 }
31647 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
31648 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
31649 }
31650 static void *_p_wxControlTo_p_wxWindow(void *x) {
31651 return (void *)((wxWindow *) ((wxControl *) x));
31652 }
31653 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
31654 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
31655 }
31656 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
31657 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31658 }
31659 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
31660 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
31661 }
31662 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
31663 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
31664 }
31665 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
31666 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
31667 }
31668 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
31669 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
31670 }
31671 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
31672 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
31673 }
31674 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
31675 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
31676 }
31677 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
31678 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
31679 }
31680 static void *_p_wxListbookTo_p_wxWindow(void *x) {
31681 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31682 }
31683 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
31684 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
31685 }
31686 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
31687 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
31688 }
31689 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
31690 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
31691 }
31692 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
31693 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31694 }
31695 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
31696 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31697 }
31698 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
31699 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31700 }
31701 static void *_p_wxListViewTo_p_wxWindow(void *x) {
31702 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31703 }
31704 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
31705 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31706 }
31707 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
31708 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
31709 }
31710 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
31711 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
31712 }
31713 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
31714 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
31715 }
31716 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
31717 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
31718 }
31719 static void *_p_wxSliderTo_p_wxWindow(void *x) {
31720 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
31721 }
31722 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
31723 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
31724 }
31725 static void *_p_wxButtonTo_p_wxWindow(void *x) {
31726 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
31727 }
31728 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
31729 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
31730 }
31731 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
31732 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31733 }
31734 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
31735 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
31736 }
31737 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
31738 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31739 }
31740 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
31741 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31742 }
31743 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
31744 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
31745 }
31746 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
31747 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
31748 }
31749 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
31750 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
31751 }
31752 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
31753 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
31754 }
31755 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
31756 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
31757 }
31758 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
31759 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31760 }
31761 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
31762 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31763 }
31764 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
31765 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
31766 }
31767 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
31768 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
31769 }
31770 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
31771 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
31772 }
31773 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
31774 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
31775 }
31776 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
31777 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
31778 }
31779 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
31780 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
31781 }
31782 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
31783 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
31784 }
31785 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
31786 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
31787 }
31788 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
31789 return (void *)((wxControlWithItems *) ((wxChoice *) x));
31790 }
31791 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
31792 return (void *)((wxControlWithItems *) ((wxListBox *) x));
31793 }
31794 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
31795 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
31796 }
31797 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
31798 return (void *)((wxValidator *) ((wxPyValidator *) x));
31799 }
31800 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}};
31801 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}};
31802 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}};
31803 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}};
31804 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}};
31805 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}};
31806 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}};
31807 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}};
31808 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}};
31809 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}};
31810 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}};
31811 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}};
31812 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}};
31813 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}};
31814 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}};
31815 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}};
31816 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}};
31817 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}};
31818 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}};
31819 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}};
31820 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}};
31821 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}};
31822 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}};
31823 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}};
31824 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}};
31825 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}};
31826 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}};
31827 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}};
31828 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}};
31829 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}};
31830 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}};
31831 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}};
31832 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}};
31833 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}};
31834 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}};
31835 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}};
31836 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}};
31837 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}};
31838 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}};
31839 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}};
31840 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}};
31841 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}};
31842 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}};
31843 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}};
31844 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}};
31845 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}};
31846 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}};
31847 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}};
31848 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}};
31849 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}};
31850 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}};
31851 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}};
31852 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}};
31853 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}};
31854 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}};
31855 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}};
31856 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}};
31857 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}};
31858 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}};
31859 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}};
31860 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}};
31861 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}};
31862 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}};
31863 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}};
31864 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}};
31865 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}};
31866 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}};
31867 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}};
31868 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}};
31869 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}};
31870 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}};
31871 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}};
31872 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}};
31873 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}};
31874 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}};
31875 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}};
31876 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}};
31877 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}};
31878 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}};
31879 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}};
31880 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}};
31881 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}};
31882 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}};
31883 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}};
31884
31885 static swig_type_info *swig_types_initial[] = {
31886 _swigt__p_wxTextUrlEvent,
31887 _swigt__p_wxBookCtrlEvent,
31888 _swigt__p_wxSizer,
31889 _swigt__p_wxCheckBox,
31890 _swigt__p_wxPyTreeCtrl,
31891 _swigt__p_wxEvent,
31892 _swigt__p_wxGenericDirCtrl,
31893 _swigt__p_bool,
31894 _swigt__p_wxPyTreeItemData,
31895 _swigt__p_wxItemContainer,
31896 _swigt__p_wxDirFilterListCtrl,
31897 _swigt__p_wxPyListCtrl,
31898 _swigt__p_wxStaticLine,
31899 _swigt__p_wxControl,
31900 _swigt__p_wxPyControl,
31901 _swigt__p_wxGauge,
31902 _swigt__p_wxToolBarBase,
31903 _swigt__p_wxFont,
31904 _swigt__p_wxToggleButton,
31905 _swigt__p_wxRadioButton,
31906 _swigt__p_wxChoice,
31907 _swigt__p_wxMemoryDC,
31908 _swigt__p_wxListItemAttr,
31909 _swigt__p_void,
31910 _swigt__p_int,
31911 _swigt__p_wxSize,
31912 _swigt__p_wxDC,
31913 _swigt__p_wxListView,
31914 _swigt__p_wxIcon,
31915 _swigt__p_wxTextCtrl,
31916 _swigt__p_wxNotebook,
31917 _swigt__p_wxNotifyEvent,
31918 _swigt__p_wxArrayString,
31919 _swigt__p_wxListbook,
31920 _swigt__p_wxStaticBitmap,
31921 _swigt__p_wxSlider,
31922 _swigt__p_wxStaticBox,
31923 _swigt__p_wxArrayInt,
31924 _swigt__p_wxContextHelp,
31925 _swigt__p_long,
31926 _swigt__p_wxEvtHandler,
31927 _swigt__p_wxListEvent,
31928 _swigt__p_wxListBox,
31929 _swigt__p_wxCheckListBox,
31930 _swigt__p_wxBookCtrl,
31931 _swigt__p_wxSpinButton,
31932 _swigt__p_wxButton,
31933 _swigt__p_wxBitmapButton,
31934 _swigt__p_wxRect,
31935 _swigt__p_wxContextHelpButton,
31936 _swigt__p_wxRadioBox,
31937 _swigt__p_wxScrollBar,
31938 _swigt__p_char,
31939 _swigt__p_wxTreeItemId,
31940 _swigt__p_wxComboBox,
31941 _swigt__p_wxHelpEvent,
31942 _swigt__p_wxListItem,
31943 _swigt__p_wxNotebookSizer,
31944 _swigt__p_wxSpinEvent,
31945 _swigt__p_wxGenericDragImage,
31946 _swigt__p_wxSpinCtrl,
31947 _swigt__p_wxImageList,
31948 _swigt__p_wxHelpProvider,
31949 _swigt__p_wxTextAttr,
31950 _swigt__p_wxSimpleHelpProvider,
31951 _swigt__p_wxPoint,
31952 _swigt__p_wxListbookEvent,
31953 _swigt__p_wxNotebookEvent,
31954 _swigt__p_wxObject,
31955 _swigt__p_wxCursor,
31956 _swigt__p_wxKeyEvent,
31957 _swigt__p_wxWindow,
31958 _swigt__p_wxString,
31959 _swigt__p_wxBitmap,
31960 _swigt__p_wxTreeEvent,
31961 _swigt__p_wxMouseEvent,
31962 _swigt__p_wxCommandEvent,
31963 _swigt__p_wxStaticText,
31964 _swigt__p_wxControlWithItems,
31965 _swigt__p_wxToolBarToolBase,
31966 _swigt__p_wxColour,
31967 _swigt__p_wxToolBar,
31968 _swigt__p_wxBookCtrlSizer,
31969 _swigt__p_wxValidator,
31970 0
31971 };
31972
31973
31974 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31975
31976 static swig_const_info swig_const_table[] = {
31977 {0}};
31978
31979 #ifdef __cplusplus
31980 }
31981 #endif
31982
31983 #ifdef __cplusplus
31984 extern "C"
31985 #endif
31986 SWIGEXPORT(void) SWIG_init(void) {
31987 static PyObject *SWIG_globals = 0;
31988 static int typeinit = 0;
31989 PyObject *m, *d;
31990 int i;
31991 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
31992 m = Py_InitModule((char *) SWIG_name, SwigMethods);
31993 d = PyModule_GetDict(m);
31994
31995 if (!typeinit) {
31996 for (i = 0; swig_types_initial[i]; i++) {
31997 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
31998 }
31999 typeinit = 1;
32000 }
32001 SWIG_InstallConstants(d,swig_const_table);
32002
32003 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
32004 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
32005 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
32006 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
32007 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
32008 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
32009 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
32010 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
32011 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
32012 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
32013 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
32014 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
32015 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
32016 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
32017 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
32018 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
32019 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
32020 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
32021 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
32022 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
32023 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
32024 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
32025 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
32026 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
32027 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
32028 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
32029 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
32030 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
32031 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
32032 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
32033 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
32034 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
32035 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
32036 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
32037 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
32038 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
32039 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
32040 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
32041 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
32042 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
32043 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
32044 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
32045 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
32046 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
32047 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
32048 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
32049 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
32050 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
32051 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
32052 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
32053 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
32054 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
32055 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
32056 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
32057 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
32058 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
32059 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
32060 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
32061 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
32062 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
32063 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
32064 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
32065 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
32066 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
32067 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
32068 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
32069 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
32070 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
32071 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
32072 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
32073 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
32074 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
32075 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
32076 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
32077 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
32078 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
32079 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
32080 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
32081 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
32082 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
32083 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
32084 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
32085 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
32086 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
32087 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
32088 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
32089 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
32090 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
32091 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
32092 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
32093 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
32094 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
32095 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
32096 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
32097 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
32098 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
32099 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
32100 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
32101 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
32102 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
32103 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
32104 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
32105 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
32106 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
32107 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
32108 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
32109 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
32110 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
32111 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
32112 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
32113 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
32114 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
32115 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
32116 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
32117 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
32118 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
32119 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
32120 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
32121 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
32122 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
32123 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
32124 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
32125 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
32126 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
32127 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
32128 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
32129 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
32130 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
32131 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
32132 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
32133 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
32134 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
32135 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
32136 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
32137 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
32138 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
32139 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
32140 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
32141 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
32142 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
32143 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
32144 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
32145 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
32146 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
32147 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
32148 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
32149 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
32150 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
32151 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
32152 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
32153 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
32154 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
32155 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
32156 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
32157 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
32158 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
32159 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
32160 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
32161 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
32162 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
32163 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
32164 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
32165 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
32166 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
32167 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
32168 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
32169 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
32170 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
32171 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
32172 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
32173 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
32174 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
32175 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
32176 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
32177 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
32178 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
32179 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
32180 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
32181 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
32182 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
32183 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
32184 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
32185 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
32186 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
32187 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
32188 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
32189 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
32190 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
32191 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
32192 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
32193 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
32194 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
32195 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
32196 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
32197 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
32198 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
32199 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
32200 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
32201 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
32202 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
32203 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
32204 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
32205 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
32206 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
32207 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
32208 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
32209 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
32210 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
32211 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
32212 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
32213 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
32214
32215 // Map renamed classes back to their common name for OOR
32216 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32217
32218 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
32219 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
32220 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
32221 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
32222 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
32223 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
32224 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
32225 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
32226 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
32227 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
32228 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
32229 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
32230 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
32231 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
32232 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
32233 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
32234 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
32235 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
32236 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
32237 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
32238 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
32239 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
32240 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
32241 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
32242 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
32243 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
32244 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
32245 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
32246 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
32247 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
32248 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
32249 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
32250 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
32251 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
32252 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
32253 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
32254 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
32255 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
32256 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
32257 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
32258 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
32259 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
32260 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
32261 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
32262 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
32263 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
32264 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
32265 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
32266 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
32267 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
32268 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
32269 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
32270 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
32271 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
32272 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
32273 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
32274
32275 // Map renamed classes back to their common name for OOR
32276 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32277 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32278
32279 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
32280 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
32281 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
32282 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
32283 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
32284 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
32285 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
32286 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
32287 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
32288 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
32289
32290 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
32291
32292 }
32293