]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/controls_wrap.cpp
reSWIGged
[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 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();
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 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();
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 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();
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 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();
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 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();
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 wxPyBeginBlockThreads();
919 wxRect* r = new wxRect(rect);
920 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
921 wxPyEndBlockThreads();
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 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1243 {
1244 if (temp4)
1245 delete arg4;
1246 }
1247 {
1248 if (temp9)
1249 delete arg9;
1250 }
1251 return resultobj;
1252 fail:
1253 {
1254 if (temp4)
1255 delete arg4;
1256 }
1257 {
1258 if (temp9)
1259 delete arg9;
1260 }
1261 return NULL;
1262 }
1263
1264
1265 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1266 PyObject *resultobj;
1267 wxButton *arg1 = (wxButton *) 0 ;
1268 PyObject * obj0 = 0 ;
1269 char *kwnames[] = {
1270 (char *) "self", NULL
1271 };
1272
1273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1276 {
1277 PyThreadState* __tstate = wxPyBeginAllowThreads();
1278 (arg1)->SetDefault();
1279
1280 wxPyEndAllowThreads(__tstate);
1281 if (PyErr_Occurred()) SWIG_fail;
1282 }
1283 Py_INCREF(Py_None); resultobj = Py_None;
1284 return resultobj;
1285 fail:
1286 return NULL;
1287 }
1288
1289
1290 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1291 PyObject *resultobj;
1292 wxSize result;
1293 char *kwnames[] = {
1294 NULL
1295 };
1296
1297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1298 {
1299 PyThreadState* __tstate = wxPyBeginAllowThreads();
1300 result = wxButton::GetDefaultSize();
1301
1302 wxPyEndAllowThreads(__tstate);
1303 if (PyErr_Occurred()) SWIG_fail;
1304 }
1305 {
1306 wxSize * resultptr;
1307 resultptr = new wxSize((wxSize &) result);
1308 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1309 }
1310 return resultobj;
1311 fail:
1312 return NULL;
1313 }
1314
1315
1316 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1317 PyObject *obj;
1318 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1319 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1320 Py_INCREF(obj);
1321 return Py_BuildValue((char *)"");
1322 }
1323 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1324 PyObject *resultobj;
1325 wxWindow *arg1 = (wxWindow *) 0 ;
1326 int arg2 ;
1327 wxBitmap *arg3 = 0 ;
1328 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1329 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1330 wxSize const &arg5_defvalue = wxDefaultSize ;
1331 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1332 long arg6 = (long) wxBU_AUTODRAW ;
1333 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1334 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1335 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1336 wxString *arg8 = (wxString *) &arg8_defvalue ;
1337 wxBitmapButton *result;
1338 wxPoint temp4 ;
1339 wxSize temp5 ;
1340 bool temp8 = False ;
1341 PyObject * obj0 = 0 ;
1342 PyObject * obj1 = 0 ;
1343 PyObject * obj2 = 0 ;
1344 PyObject * obj3 = 0 ;
1345 PyObject * obj4 = 0 ;
1346 PyObject * obj5 = 0 ;
1347 PyObject * obj6 = 0 ;
1348 PyObject * obj7 = 0 ;
1349 char *kwnames[] = {
1350 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1351 };
1352
1353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1356 arg2 = (int) SWIG_AsInt(obj1);
1357 if (PyErr_Occurred()) SWIG_fail;
1358 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1359 SWIG_POINTER_EXCEPTION | 0)) == -1)
1360 SWIG_fail;
1361 if (arg3 == NULL) {
1362 PyErr_SetString(PyExc_TypeError,"null reference");
1363 SWIG_fail;
1364 }
1365 if (obj3) {
1366 {
1367 arg4 = &temp4;
1368 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1369 }
1370 }
1371 if (obj4) {
1372 {
1373 arg5 = &temp5;
1374 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1375 }
1376 }
1377 if (obj5) {
1378 arg6 = (long) SWIG_AsLong(obj5);
1379 if (PyErr_Occurred()) SWIG_fail;
1380 }
1381 if (obj6) {
1382 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1383 SWIG_POINTER_EXCEPTION | 0)) == -1)
1384 SWIG_fail;
1385 if (arg7 == NULL) {
1386 PyErr_SetString(PyExc_TypeError,"null reference");
1387 SWIG_fail;
1388 }
1389 }
1390 if (obj7) {
1391 {
1392 arg8 = wxString_in_helper(obj7);
1393 if (arg8 == NULL) SWIG_fail;
1394 temp8 = True;
1395 }
1396 }
1397 {
1398 PyThreadState* __tstate = wxPyBeginAllowThreads();
1399 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1400
1401 wxPyEndAllowThreads(__tstate);
1402 if (PyErr_Occurred()) SWIG_fail;
1403 }
1404 {
1405 resultobj = wxPyMake_wxObject(result);
1406 }
1407 {
1408 if (temp8)
1409 delete arg8;
1410 }
1411 return resultobj;
1412 fail:
1413 {
1414 if (temp8)
1415 delete arg8;
1416 }
1417 return NULL;
1418 }
1419
1420
1421 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1422 PyObject *resultobj;
1423 wxBitmapButton *result;
1424 char *kwnames[] = {
1425 NULL
1426 };
1427
1428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1429 {
1430 PyThreadState* __tstate = wxPyBeginAllowThreads();
1431 result = (wxBitmapButton *)new wxBitmapButton();
1432
1433 wxPyEndAllowThreads(__tstate);
1434 if (PyErr_Occurred()) SWIG_fail;
1435 }
1436 {
1437 resultobj = wxPyMake_wxObject(result);
1438 }
1439 return resultobj;
1440 fail:
1441 return NULL;
1442 }
1443
1444
1445 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1446 PyObject *resultobj;
1447 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1448 wxWindow *arg2 = (wxWindow *) 0 ;
1449 int arg3 ;
1450 wxBitmap *arg4 = 0 ;
1451 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1452 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1453 wxSize const &arg6_defvalue = wxDefaultSize ;
1454 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1455 long arg7 = (long) wxBU_AUTODRAW ;
1456 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1457 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1458 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1459 wxString *arg9 = (wxString *) &arg9_defvalue ;
1460 bool result;
1461 wxPoint temp5 ;
1462 wxSize temp6 ;
1463 bool temp9 = False ;
1464 PyObject * obj0 = 0 ;
1465 PyObject * obj1 = 0 ;
1466 PyObject * obj2 = 0 ;
1467 PyObject * obj3 = 0 ;
1468 PyObject * obj4 = 0 ;
1469 PyObject * obj5 = 0 ;
1470 PyObject * obj6 = 0 ;
1471 PyObject * obj7 = 0 ;
1472 PyObject * obj8 = 0 ;
1473 char *kwnames[] = {
1474 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1475 };
1476
1477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1480 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1482 arg3 = (int) SWIG_AsInt(obj2);
1483 if (PyErr_Occurred()) SWIG_fail;
1484 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1485 SWIG_POINTER_EXCEPTION | 0)) == -1)
1486 SWIG_fail;
1487 if (arg4 == NULL) {
1488 PyErr_SetString(PyExc_TypeError,"null reference");
1489 SWIG_fail;
1490 }
1491 if (obj4) {
1492 {
1493 arg5 = &temp5;
1494 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1495 }
1496 }
1497 if (obj5) {
1498 {
1499 arg6 = &temp6;
1500 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1501 }
1502 }
1503 if (obj6) {
1504 arg7 = (long) SWIG_AsLong(obj6);
1505 if (PyErr_Occurred()) SWIG_fail;
1506 }
1507 if (obj7) {
1508 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1509 SWIG_POINTER_EXCEPTION | 0)) == -1)
1510 SWIG_fail;
1511 if (arg8 == NULL) {
1512 PyErr_SetString(PyExc_TypeError,"null reference");
1513 SWIG_fail;
1514 }
1515 }
1516 if (obj8) {
1517 {
1518 arg9 = wxString_in_helper(obj8);
1519 if (arg9 == NULL) SWIG_fail;
1520 temp9 = True;
1521 }
1522 }
1523 {
1524 PyThreadState* __tstate = wxPyBeginAllowThreads();
1525 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1526
1527 wxPyEndAllowThreads(__tstate);
1528 if (PyErr_Occurred()) SWIG_fail;
1529 }
1530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1531 {
1532 if (temp9)
1533 delete arg9;
1534 }
1535 return resultobj;
1536 fail:
1537 {
1538 if (temp9)
1539 delete arg9;
1540 }
1541 return NULL;
1542 }
1543
1544
1545 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1546 PyObject *resultobj;
1547 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1548 wxBitmap result;
1549 PyObject * obj0 = 0 ;
1550 char *kwnames[] = {
1551 (char *) "self", NULL
1552 };
1553
1554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1557 {
1558 PyThreadState* __tstate = wxPyBeginAllowThreads();
1559 result = (arg1)->GetBitmapLabel();
1560
1561 wxPyEndAllowThreads(__tstate);
1562 if (PyErr_Occurred()) SWIG_fail;
1563 }
1564 {
1565 wxBitmap * resultptr;
1566 resultptr = new wxBitmap((wxBitmap &) result);
1567 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1568 }
1569 return resultobj;
1570 fail:
1571 return NULL;
1572 }
1573
1574
1575 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1576 PyObject *resultobj;
1577 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1578 wxBitmap result;
1579 PyObject * obj0 = 0 ;
1580 char *kwnames[] = {
1581 (char *) "self", NULL
1582 };
1583
1584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1587 {
1588 PyThreadState* __tstate = wxPyBeginAllowThreads();
1589 result = (arg1)->GetBitmapDisabled();
1590
1591 wxPyEndAllowThreads(__tstate);
1592 if (PyErr_Occurred()) SWIG_fail;
1593 }
1594 {
1595 wxBitmap * resultptr;
1596 resultptr = new wxBitmap((wxBitmap &) result);
1597 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1598 }
1599 return resultobj;
1600 fail:
1601 return NULL;
1602 }
1603
1604
1605 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1606 PyObject *resultobj;
1607 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1608 wxBitmap result;
1609 PyObject * obj0 = 0 ;
1610 char *kwnames[] = {
1611 (char *) "self", NULL
1612 };
1613
1614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1617 {
1618 PyThreadState* __tstate = wxPyBeginAllowThreads();
1619 result = (arg1)->GetBitmapFocus();
1620
1621 wxPyEndAllowThreads(__tstate);
1622 if (PyErr_Occurred()) SWIG_fail;
1623 }
1624 {
1625 wxBitmap * resultptr;
1626 resultptr = new wxBitmap((wxBitmap &) result);
1627 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1628 }
1629 return resultobj;
1630 fail:
1631 return NULL;
1632 }
1633
1634
1635 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1636 PyObject *resultobj;
1637 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1638 wxBitmap result;
1639 PyObject * obj0 = 0 ;
1640 char *kwnames[] = {
1641 (char *) "self", NULL
1642 };
1643
1644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1647 {
1648 PyThreadState* __tstate = wxPyBeginAllowThreads();
1649 result = (arg1)->GetBitmapSelected();
1650
1651 wxPyEndAllowThreads(__tstate);
1652 if (PyErr_Occurred()) SWIG_fail;
1653 }
1654 {
1655 wxBitmap * resultptr;
1656 resultptr = new wxBitmap((wxBitmap &) result);
1657 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1658 }
1659 return resultobj;
1660 fail:
1661 return NULL;
1662 }
1663
1664
1665 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1666 PyObject *resultobj;
1667 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1668 wxBitmap *arg2 = 0 ;
1669 PyObject * obj0 = 0 ;
1670 PyObject * obj1 = 0 ;
1671 char *kwnames[] = {
1672 (char *) "self",(char *) "bitmap", NULL
1673 };
1674
1675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1678 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1679 SWIG_POINTER_EXCEPTION | 0)) == -1)
1680 SWIG_fail;
1681 if (arg2 == NULL) {
1682 PyErr_SetString(PyExc_TypeError,"null reference");
1683 SWIG_fail;
1684 }
1685 {
1686 PyThreadState* __tstate = wxPyBeginAllowThreads();
1687 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1688
1689 wxPyEndAllowThreads(__tstate);
1690 if (PyErr_Occurred()) SWIG_fail;
1691 }
1692 Py_INCREF(Py_None); resultobj = Py_None;
1693 return resultobj;
1694 fail:
1695 return NULL;
1696 }
1697
1698
1699 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1700 PyObject *resultobj;
1701 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1702 wxBitmap *arg2 = 0 ;
1703 PyObject * obj0 = 0 ;
1704 PyObject * obj1 = 0 ;
1705 char *kwnames[] = {
1706 (char *) "self",(char *) "bitmap", NULL
1707 };
1708
1709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1712 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1713 SWIG_POINTER_EXCEPTION | 0)) == -1)
1714 SWIG_fail;
1715 if (arg2 == NULL) {
1716 PyErr_SetString(PyExc_TypeError,"null reference");
1717 SWIG_fail;
1718 }
1719 {
1720 PyThreadState* __tstate = wxPyBeginAllowThreads();
1721 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1722
1723 wxPyEndAllowThreads(__tstate);
1724 if (PyErr_Occurred()) SWIG_fail;
1725 }
1726 Py_INCREF(Py_None); resultobj = Py_None;
1727 return resultobj;
1728 fail:
1729 return NULL;
1730 }
1731
1732
1733 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1734 PyObject *resultobj;
1735 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1736 wxBitmap *arg2 = 0 ;
1737 PyObject * obj0 = 0 ;
1738 PyObject * obj1 = 0 ;
1739 char *kwnames[] = {
1740 (char *) "self",(char *) "bitmap", NULL
1741 };
1742
1743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1746 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1747 SWIG_POINTER_EXCEPTION | 0)) == -1)
1748 SWIG_fail;
1749 if (arg2 == NULL) {
1750 PyErr_SetString(PyExc_TypeError,"null reference");
1751 SWIG_fail;
1752 }
1753 {
1754 PyThreadState* __tstate = wxPyBeginAllowThreads();
1755 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1756
1757 wxPyEndAllowThreads(__tstate);
1758 if (PyErr_Occurred()) SWIG_fail;
1759 }
1760 Py_INCREF(Py_None); resultobj = Py_None;
1761 return resultobj;
1762 fail:
1763 return NULL;
1764 }
1765
1766
1767 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1768 PyObject *resultobj;
1769 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1770 wxBitmap *arg2 = 0 ;
1771 PyObject * obj0 = 0 ;
1772 PyObject * obj1 = 0 ;
1773 char *kwnames[] = {
1774 (char *) "self",(char *) "bitmap", NULL
1775 };
1776
1777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1780 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1781 SWIG_POINTER_EXCEPTION | 0)) == -1)
1782 SWIG_fail;
1783 if (arg2 == NULL) {
1784 PyErr_SetString(PyExc_TypeError,"null reference");
1785 SWIG_fail;
1786 }
1787 {
1788 PyThreadState* __tstate = wxPyBeginAllowThreads();
1789 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1790
1791 wxPyEndAllowThreads(__tstate);
1792 if (PyErr_Occurred()) SWIG_fail;
1793 }
1794 Py_INCREF(Py_None); resultobj = Py_None;
1795 return resultobj;
1796 fail:
1797 return NULL;
1798 }
1799
1800
1801 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1802 PyObject *resultobj;
1803 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1804 int arg2 ;
1805 int arg3 ;
1806 PyObject * obj0 = 0 ;
1807 PyObject * obj1 = 0 ;
1808 PyObject * obj2 = 0 ;
1809 char *kwnames[] = {
1810 (char *) "self",(char *) "x",(char *) "y", NULL
1811 };
1812
1813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1816 arg2 = (int) SWIG_AsInt(obj1);
1817 if (PyErr_Occurred()) SWIG_fail;
1818 arg3 = (int) SWIG_AsInt(obj2);
1819 if (PyErr_Occurred()) SWIG_fail;
1820 {
1821 PyThreadState* __tstate = wxPyBeginAllowThreads();
1822 (arg1)->SetMargins(arg2,arg3);
1823
1824 wxPyEndAllowThreads(__tstate);
1825 if (PyErr_Occurred()) SWIG_fail;
1826 }
1827 Py_INCREF(Py_None); resultobj = Py_None;
1828 return resultobj;
1829 fail:
1830 return NULL;
1831 }
1832
1833
1834 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1835 PyObject *resultobj;
1836 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1837 int result;
1838 PyObject * obj0 = 0 ;
1839 char *kwnames[] = {
1840 (char *) "self", NULL
1841 };
1842
1843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1846 {
1847 PyThreadState* __tstate = wxPyBeginAllowThreads();
1848 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1849
1850 wxPyEndAllowThreads(__tstate);
1851 if (PyErr_Occurred()) SWIG_fail;
1852 }
1853 resultobj = SWIG_FromInt((int)result);
1854 return resultobj;
1855 fail:
1856 return NULL;
1857 }
1858
1859
1860 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1861 PyObject *resultobj;
1862 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1863 int result;
1864 PyObject * obj0 = 0 ;
1865 char *kwnames[] = {
1866 (char *) "self", NULL
1867 };
1868
1869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1872 {
1873 PyThreadState* __tstate = wxPyBeginAllowThreads();
1874 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1875
1876 wxPyEndAllowThreads(__tstate);
1877 if (PyErr_Occurred()) SWIG_fail;
1878 }
1879 resultobj = SWIG_FromInt((int)result);
1880 return resultobj;
1881 fail:
1882 return NULL;
1883 }
1884
1885
1886 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1887 PyObject *obj;
1888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1889 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1890 Py_INCREF(obj);
1891 return Py_BuildValue((char *)"");
1892 }
1893 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1894 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1895 return 1;
1896 }
1897
1898
1899 static PyObject *_wrap_CheckBoxNameStr_get() {
1900 PyObject *pyobj;
1901
1902 {
1903 #if wxUSE_UNICODE
1904 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1905 #else
1906 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1907 #endif
1908 }
1909 return pyobj;
1910 }
1911
1912
1913 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1914 PyObject *resultobj;
1915 wxWindow *arg1 = (wxWindow *) 0 ;
1916 int arg2 ;
1917 wxString *arg3 = 0 ;
1918 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1919 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1920 wxSize const &arg5_defvalue = wxDefaultSize ;
1921 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1922 long arg6 = (long) 0 ;
1923 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1924 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1925 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1926 wxString *arg8 = (wxString *) &arg8_defvalue ;
1927 wxCheckBox *result;
1928 bool temp3 = False ;
1929 wxPoint temp4 ;
1930 wxSize temp5 ;
1931 bool temp8 = False ;
1932 PyObject * obj0 = 0 ;
1933 PyObject * obj1 = 0 ;
1934 PyObject * obj2 = 0 ;
1935 PyObject * obj3 = 0 ;
1936 PyObject * obj4 = 0 ;
1937 PyObject * obj5 = 0 ;
1938 PyObject * obj6 = 0 ;
1939 PyObject * obj7 = 0 ;
1940 char *kwnames[] = {
1941 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1942 };
1943
1944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1947 arg2 = (int) SWIG_AsInt(obj1);
1948 if (PyErr_Occurred()) SWIG_fail;
1949 {
1950 arg3 = wxString_in_helper(obj2);
1951 if (arg3 == NULL) SWIG_fail;
1952 temp3 = True;
1953 }
1954 if (obj3) {
1955 {
1956 arg4 = &temp4;
1957 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1958 }
1959 }
1960 if (obj4) {
1961 {
1962 arg5 = &temp5;
1963 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1964 }
1965 }
1966 if (obj5) {
1967 arg6 = (long) SWIG_AsLong(obj5);
1968 if (PyErr_Occurred()) SWIG_fail;
1969 }
1970 if (obj6) {
1971 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1972 SWIG_POINTER_EXCEPTION | 0)) == -1)
1973 SWIG_fail;
1974 if (arg7 == NULL) {
1975 PyErr_SetString(PyExc_TypeError,"null reference");
1976 SWIG_fail;
1977 }
1978 }
1979 if (obj7) {
1980 {
1981 arg8 = wxString_in_helper(obj7);
1982 if (arg8 == NULL) SWIG_fail;
1983 temp8 = True;
1984 }
1985 }
1986 {
1987 PyThreadState* __tstate = wxPyBeginAllowThreads();
1988 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1989
1990 wxPyEndAllowThreads(__tstate);
1991 if (PyErr_Occurred()) SWIG_fail;
1992 }
1993 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
1994 {
1995 if (temp3)
1996 delete arg3;
1997 }
1998 {
1999 if (temp8)
2000 delete arg8;
2001 }
2002 return resultobj;
2003 fail:
2004 {
2005 if (temp3)
2006 delete arg3;
2007 }
2008 {
2009 if (temp8)
2010 delete arg8;
2011 }
2012 return NULL;
2013 }
2014
2015
2016 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2017 PyObject *resultobj;
2018 wxCheckBox *result;
2019 char *kwnames[] = {
2020 NULL
2021 };
2022
2023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2024 {
2025 PyThreadState* __tstate = wxPyBeginAllowThreads();
2026 result = (wxCheckBox *)new wxCheckBox();
2027
2028 wxPyEndAllowThreads(__tstate);
2029 if (PyErr_Occurred()) SWIG_fail;
2030 }
2031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2032 return resultobj;
2033 fail:
2034 return NULL;
2035 }
2036
2037
2038 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2039 PyObject *resultobj;
2040 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2041 wxWindow *arg2 = (wxWindow *) 0 ;
2042 int arg3 ;
2043 wxString *arg4 = 0 ;
2044 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2045 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2046 wxSize const &arg6_defvalue = wxDefaultSize ;
2047 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2048 long arg7 = (long) 0 ;
2049 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2050 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2051 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2052 wxString *arg9 = (wxString *) &arg9_defvalue ;
2053 bool result;
2054 bool temp4 = False ;
2055 wxPoint temp5 ;
2056 wxSize temp6 ;
2057 bool temp9 = False ;
2058 PyObject * obj0 = 0 ;
2059 PyObject * obj1 = 0 ;
2060 PyObject * obj2 = 0 ;
2061 PyObject * obj3 = 0 ;
2062 PyObject * obj4 = 0 ;
2063 PyObject * obj5 = 0 ;
2064 PyObject * obj6 = 0 ;
2065 PyObject * obj7 = 0 ;
2066 PyObject * obj8 = 0 ;
2067 char *kwnames[] = {
2068 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2069 };
2070
2071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2074 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2076 arg3 = (int) SWIG_AsInt(obj2);
2077 if (PyErr_Occurred()) SWIG_fail;
2078 {
2079 arg4 = wxString_in_helper(obj3);
2080 if (arg4 == NULL) SWIG_fail;
2081 temp4 = True;
2082 }
2083 if (obj4) {
2084 {
2085 arg5 = &temp5;
2086 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2087 }
2088 }
2089 if (obj5) {
2090 {
2091 arg6 = &temp6;
2092 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2093 }
2094 }
2095 if (obj6) {
2096 arg7 = (long) SWIG_AsLong(obj6);
2097 if (PyErr_Occurred()) SWIG_fail;
2098 }
2099 if (obj7) {
2100 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2101 SWIG_POINTER_EXCEPTION | 0)) == -1)
2102 SWIG_fail;
2103 if (arg8 == NULL) {
2104 PyErr_SetString(PyExc_TypeError,"null reference");
2105 SWIG_fail;
2106 }
2107 }
2108 if (obj8) {
2109 {
2110 arg9 = wxString_in_helper(obj8);
2111 if (arg9 == NULL) SWIG_fail;
2112 temp9 = True;
2113 }
2114 }
2115 {
2116 PyThreadState* __tstate = wxPyBeginAllowThreads();
2117 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2118
2119 wxPyEndAllowThreads(__tstate);
2120 if (PyErr_Occurred()) SWIG_fail;
2121 }
2122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2123 {
2124 if (temp4)
2125 delete arg4;
2126 }
2127 {
2128 if (temp9)
2129 delete arg9;
2130 }
2131 return resultobj;
2132 fail:
2133 {
2134 if (temp4)
2135 delete arg4;
2136 }
2137 {
2138 if (temp9)
2139 delete arg9;
2140 }
2141 return NULL;
2142 }
2143
2144
2145 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2146 PyObject *resultobj;
2147 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2148 bool result;
2149 PyObject * obj0 = 0 ;
2150 char *kwnames[] = {
2151 (char *) "self", NULL
2152 };
2153
2154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2157 {
2158 PyThreadState* __tstate = wxPyBeginAllowThreads();
2159 result = (bool)(arg1)->GetValue();
2160
2161 wxPyEndAllowThreads(__tstate);
2162 if (PyErr_Occurred()) SWIG_fail;
2163 }
2164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2165 return resultobj;
2166 fail:
2167 return NULL;
2168 }
2169
2170
2171 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2172 PyObject *resultobj;
2173 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2174 bool result;
2175 PyObject * obj0 = 0 ;
2176 char *kwnames[] = {
2177 (char *) "self", NULL
2178 };
2179
2180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2183 {
2184 PyThreadState* __tstate = wxPyBeginAllowThreads();
2185 result = (bool)(arg1)->IsChecked();
2186
2187 wxPyEndAllowThreads(__tstate);
2188 if (PyErr_Occurred()) SWIG_fail;
2189 }
2190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2191 return resultobj;
2192 fail:
2193 return NULL;
2194 }
2195
2196
2197 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2198 PyObject *resultobj;
2199 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2200 bool arg2 ;
2201 PyObject * obj0 = 0 ;
2202 PyObject * obj1 = 0 ;
2203 char *kwnames[] = {
2204 (char *) "self",(char *) "state", NULL
2205 };
2206
2207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2210 arg2 = (bool const) SWIG_AsBool(obj1);
2211 if (PyErr_Occurred()) SWIG_fail;
2212 {
2213 PyThreadState* __tstate = wxPyBeginAllowThreads();
2214 (arg1)->SetValue(arg2);
2215
2216 wxPyEndAllowThreads(__tstate);
2217 if (PyErr_Occurred()) SWIG_fail;
2218 }
2219 Py_INCREF(Py_None); resultobj = Py_None;
2220 return resultobj;
2221 fail:
2222 return NULL;
2223 }
2224
2225
2226 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2227 PyObject *resultobj;
2228 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2229 int result;
2230 PyObject * obj0 = 0 ;
2231 char *kwnames[] = {
2232 (char *) "self", NULL
2233 };
2234
2235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2238 {
2239 PyThreadState* __tstate = wxPyBeginAllowThreads();
2240 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2241
2242 wxPyEndAllowThreads(__tstate);
2243 if (PyErr_Occurred()) SWIG_fail;
2244 }
2245 resultobj = SWIG_FromInt((int)result);
2246 return resultobj;
2247 fail:
2248 return NULL;
2249 }
2250
2251
2252 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2253 PyObject *resultobj;
2254 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2255 int arg2 ;
2256 PyObject * obj0 = 0 ;
2257 PyObject * obj1 = 0 ;
2258 char *kwnames[] = {
2259 (char *) "self",(char *) "state", NULL
2260 };
2261
2262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2265 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2266 if (PyErr_Occurred()) SWIG_fail;
2267 {
2268 PyThreadState* __tstate = wxPyBeginAllowThreads();
2269 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2270
2271 wxPyEndAllowThreads(__tstate);
2272 if (PyErr_Occurred()) SWIG_fail;
2273 }
2274 Py_INCREF(Py_None); resultobj = Py_None;
2275 return resultobj;
2276 fail:
2277 return NULL;
2278 }
2279
2280
2281 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2282 PyObject *resultobj;
2283 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2284 bool result;
2285 PyObject * obj0 = 0 ;
2286 char *kwnames[] = {
2287 (char *) "self", NULL
2288 };
2289
2290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2293 {
2294 PyThreadState* __tstate = wxPyBeginAllowThreads();
2295 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2296
2297 wxPyEndAllowThreads(__tstate);
2298 if (PyErr_Occurred()) SWIG_fail;
2299 }
2300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2301 return resultobj;
2302 fail:
2303 return NULL;
2304 }
2305
2306
2307 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2308 PyObject *resultobj;
2309 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2310 bool result;
2311 PyObject * obj0 = 0 ;
2312 char *kwnames[] = {
2313 (char *) "self", NULL
2314 };
2315
2316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2319 {
2320 PyThreadState* __tstate = wxPyBeginAllowThreads();
2321 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2322
2323 wxPyEndAllowThreads(__tstate);
2324 if (PyErr_Occurred()) SWIG_fail;
2325 }
2326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2327 return resultobj;
2328 fail:
2329 return NULL;
2330 }
2331
2332
2333 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2334 PyObject *obj;
2335 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2336 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2337 Py_INCREF(obj);
2338 return Py_BuildValue((char *)"");
2339 }
2340 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2341 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2342 return 1;
2343 }
2344
2345
2346 static PyObject *_wrap_ChoiceNameStr_get() {
2347 PyObject *pyobj;
2348
2349 {
2350 #if wxUSE_UNICODE
2351 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2352 #else
2353 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2354 #endif
2355 }
2356 return pyobj;
2357 }
2358
2359
2360 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2361 PyObject *resultobj;
2362 wxWindow *arg1 = (wxWindow *) 0 ;
2363 int arg2 ;
2364 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2365 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2366 wxSize const &arg4_defvalue = wxDefaultSize ;
2367 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2368 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2369 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2370 long arg6 = (long) 0 ;
2371 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2372 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2373 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2374 wxString *arg8 = (wxString *) &arg8_defvalue ;
2375 wxChoice *result;
2376 wxPoint temp3 ;
2377 wxSize temp4 ;
2378 bool temp5 = False ;
2379 bool temp8 = False ;
2380 PyObject * obj0 = 0 ;
2381 PyObject * obj1 = 0 ;
2382 PyObject * obj2 = 0 ;
2383 PyObject * obj3 = 0 ;
2384 PyObject * obj4 = 0 ;
2385 PyObject * obj5 = 0 ;
2386 PyObject * obj6 = 0 ;
2387 PyObject * obj7 = 0 ;
2388 char *kwnames[] = {
2389 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2390 };
2391
2392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2395 arg2 = (int) SWIG_AsInt(obj1);
2396 if (PyErr_Occurred()) SWIG_fail;
2397 if (obj2) {
2398 {
2399 arg3 = &temp3;
2400 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2401 }
2402 }
2403 if (obj3) {
2404 {
2405 arg4 = &temp4;
2406 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2407 }
2408 }
2409 if (obj4) {
2410 {
2411 if (! PySequence_Check(obj4)) {
2412 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2413 SWIG_fail;
2414 }
2415 arg5 = new wxArrayString;
2416 temp5 = True;
2417 int i, len=PySequence_Length(obj4);
2418 for (i=0; i<len; i++) {
2419 PyObject* item = PySequence_GetItem(obj4, i);
2420 #if wxUSE_UNICODE
2421 PyObject* str = PyObject_Unicode(item);
2422 #else
2423 PyObject* str = PyObject_Str(item);
2424 #endif
2425 arg5->Add(Py2wxString(str));
2426 Py_DECREF(item);
2427 Py_DECREF(str);
2428 }
2429 }
2430 }
2431 if (obj5) {
2432 arg6 = (long) SWIG_AsLong(obj5);
2433 if (PyErr_Occurred()) SWIG_fail;
2434 }
2435 if (obj6) {
2436 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2437 SWIG_POINTER_EXCEPTION | 0)) == -1)
2438 SWIG_fail;
2439 if (arg7 == NULL) {
2440 PyErr_SetString(PyExc_TypeError,"null reference");
2441 SWIG_fail;
2442 }
2443 }
2444 if (obj7) {
2445 {
2446 arg8 = wxString_in_helper(obj7);
2447 if (arg8 == NULL) SWIG_fail;
2448 temp8 = True;
2449 }
2450 }
2451 {
2452 PyThreadState* __tstate = wxPyBeginAllowThreads();
2453 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2454
2455 wxPyEndAllowThreads(__tstate);
2456 if (PyErr_Occurred()) SWIG_fail;
2457 }
2458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2459 {
2460 if (temp5) delete arg5;
2461 }
2462 {
2463 if (temp8)
2464 delete arg8;
2465 }
2466 return resultobj;
2467 fail:
2468 {
2469 if (temp5) delete arg5;
2470 }
2471 {
2472 if (temp8)
2473 delete arg8;
2474 }
2475 return NULL;
2476 }
2477
2478
2479 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2480 PyObject *resultobj;
2481 wxChoice *result;
2482 char *kwnames[] = {
2483 NULL
2484 };
2485
2486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2487 {
2488 PyThreadState* __tstate = wxPyBeginAllowThreads();
2489 result = (wxChoice *)new wxChoice();
2490
2491 wxPyEndAllowThreads(__tstate);
2492 if (PyErr_Occurred()) SWIG_fail;
2493 }
2494 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2495 return resultobj;
2496 fail:
2497 return NULL;
2498 }
2499
2500
2501 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2502 PyObject *resultobj;
2503 wxChoice *arg1 = (wxChoice *) 0 ;
2504 wxWindow *arg2 = (wxWindow *) 0 ;
2505 int arg3 ;
2506 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2507 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2508 wxSize const &arg5_defvalue = wxDefaultSize ;
2509 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2510 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2511 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2512 long arg7 = (long) 0 ;
2513 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2514 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2515 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2516 wxString *arg9 = (wxString *) &arg9_defvalue ;
2517 bool result;
2518 wxPoint temp4 ;
2519 wxSize temp5 ;
2520 bool temp6 = False ;
2521 bool temp9 = False ;
2522 PyObject * obj0 = 0 ;
2523 PyObject * obj1 = 0 ;
2524 PyObject * obj2 = 0 ;
2525 PyObject * obj3 = 0 ;
2526 PyObject * obj4 = 0 ;
2527 PyObject * obj5 = 0 ;
2528 PyObject * obj6 = 0 ;
2529 PyObject * obj7 = 0 ;
2530 PyObject * obj8 = 0 ;
2531 char *kwnames[] = {
2532 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2533 };
2534
2535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2538 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2540 arg3 = (int) SWIG_AsInt(obj2);
2541 if (PyErr_Occurred()) SWIG_fail;
2542 if (obj3) {
2543 {
2544 arg4 = &temp4;
2545 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2546 }
2547 }
2548 if (obj4) {
2549 {
2550 arg5 = &temp5;
2551 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2552 }
2553 }
2554 if (obj5) {
2555 {
2556 if (! PySequence_Check(obj5)) {
2557 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2558 SWIG_fail;
2559 }
2560 arg6 = new wxArrayString;
2561 temp6 = True;
2562 int i, len=PySequence_Length(obj5);
2563 for (i=0; i<len; i++) {
2564 PyObject* item = PySequence_GetItem(obj5, i);
2565 #if wxUSE_UNICODE
2566 PyObject* str = PyObject_Unicode(item);
2567 #else
2568 PyObject* str = PyObject_Str(item);
2569 #endif
2570 arg6->Add(Py2wxString(str));
2571 Py_DECREF(item);
2572 Py_DECREF(str);
2573 }
2574 }
2575 }
2576 if (obj6) {
2577 arg7 = (long) SWIG_AsLong(obj6);
2578 if (PyErr_Occurred()) SWIG_fail;
2579 }
2580 if (obj7) {
2581 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2582 SWIG_POINTER_EXCEPTION | 0)) == -1)
2583 SWIG_fail;
2584 if (arg8 == NULL) {
2585 PyErr_SetString(PyExc_TypeError,"null reference");
2586 SWIG_fail;
2587 }
2588 }
2589 if (obj8) {
2590 {
2591 arg9 = wxString_in_helper(obj8);
2592 if (arg9 == NULL) SWIG_fail;
2593 temp9 = True;
2594 }
2595 }
2596 {
2597 PyThreadState* __tstate = wxPyBeginAllowThreads();
2598 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2599
2600 wxPyEndAllowThreads(__tstate);
2601 if (PyErr_Occurred()) SWIG_fail;
2602 }
2603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2604 {
2605 if (temp6) delete arg6;
2606 }
2607 {
2608 if (temp9)
2609 delete arg9;
2610 }
2611 return resultobj;
2612 fail:
2613 {
2614 if (temp6) delete arg6;
2615 }
2616 {
2617 if (temp9)
2618 delete arg9;
2619 }
2620 return NULL;
2621 }
2622
2623
2624 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2625 PyObject *resultobj;
2626 wxChoice *arg1 = (wxChoice *) 0 ;
2627 int arg2 ;
2628 PyObject * obj0 = 0 ;
2629 PyObject * obj1 = 0 ;
2630 char *kwnames[] = {
2631 (char *) "self",(char *) "n", NULL
2632 };
2633
2634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2637 arg2 = (int const) SWIG_AsInt(obj1);
2638 if (PyErr_Occurred()) SWIG_fail;
2639 {
2640 PyThreadState* __tstate = wxPyBeginAllowThreads();
2641 (arg1)->SetSelection(arg2);
2642
2643 wxPyEndAllowThreads(__tstate);
2644 if (PyErr_Occurred()) SWIG_fail;
2645 }
2646 Py_INCREF(Py_None); resultobj = Py_None;
2647 return resultobj;
2648 fail:
2649 return NULL;
2650 }
2651
2652
2653 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2654 PyObject *resultobj;
2655 wxChoice *arg1 = (wxChoice *) 0 ;
2656 wxString *arg2 = 0 ;
2657 bool temp2 = False ;
2658 PyObject * obj0 = 0 ;
2659 PyObject * obj1 = 0 ;
2660 char *kwnames[] = {
2661 (char *) "self",(char *) "string", NULL
2662 };
2663
2664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2667 {
2668 arg2 = wxString_in_helper(obj1);
2669 if (arg2 == NULL) SWIG_fail;
2670 temp2 = True;
2671 }
2672 {
2673 PyThreadState* __tstate = wxPyBeginAllowThreads();
2674 (arg1)->SetStringSelection((wxString const &)*arg2);
2675
2676 wxPyEndAllowThreads(__tstate);
2677 if (PyErr_Occurred()) SWIG_fail;
2678 }
2679 Py_INCREF(Py_None); resultobj = Py_None;
2680 {
2681 if (temp2)
2682 delete arg2;
2683 }
2684 return resultobj;
2685 fail:
2686 {
2687 if (temp2)
2688 delete arg2;
2689 }
2690 return NULL;
2691 }
2692
2693
2694 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2695 PyObject *resultobj;
2696 wxChoice *arg1 = (wxChoice *) 0 ;
2697 int arg2 ;
2698 wxString *arg3 = 0 ;
2699 bool temp3 = False ;
2700 PyObject * obj0 = 0 ;
2701 PyObject * obj1 = 0 ;
2702 PyObject * obj2 = 0 ;
2703 char *kwnames[] = {
2704 (char *) "self",(char *) "n",(char *) "string", NULL
2705 };
2706
2707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2710 arg2 = (int) SWIG_AsInt(obj1);
2711 if (PyErr_Occurred()) SWIG_fail;
2712 {
2713 arg3 = wxString_in_helper(obj2);
2714 if (arg3 == NULL) SWIG_fail;
2715 temp3 = True;
2716 }
2717 {
2718 PyThreadState* __tstate = wxPyBeginAllowThreads();
2719 (arg1)->SetString(arg2,(wxString const &)*arg3);
2720
2721 wxPyEndAllowThreads(__tstate);
2722 if (PyErr_Occurred()) SWIG_fail;
2723 }
2724 Py_INCREF(Py_None); resultobj = Py_None;
2725 {
2726 if (temp3)
2727 delete arg3;
2728 }
2729 return resultobj;
2730 fail:
2731 {
2732 if (temp3)
2733 delete arg3;
2734 }
2735 return NULL;
2736 }
2737
2738
2739 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2740 PyObject *obj;
2741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2742 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2743 Py_INCREF(obj);
2744 return Py_BuildValue((char *)"");
2745 }
2746 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2747 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2748 return 1;
2749 }
2750
2751
2752 static PyObject *_wrap_ComboBoxNameStr_get() {
2753 PyObject *pyobj;
2754
2755 {
2756 #if wxUSE_UNICODE
2757 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2758 #else
2759 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2760 #endif
2761 }
2762 return pyobj;
2763 }
2764
2765
2766 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2767 PyObject *resultobj;
2768 wxWindow *arg1 = (wxWindow *) 0 ;
2769 int arg2 ;
2770 wxString const &arg3_defvalue = wxPyEmptyString ;
2771 wxString *arg3 = (wxString *) &arg3_defvalue ;
2772 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2773 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2774 wxSize const &arg5_defvalue = wxDefaultSize ;
2775 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2776 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2777 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2778 long arg7 = (long) 0 ;
2779 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2780 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2781 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2782 wxString *arg9 = (wxString *) &arg9_defvalue ;
2783 wxComboBox *result;
2784 bool temp3 = False ;
2785 wxPoint temp4 ;
2786 wxSize temp5 ;
2787 bool temp6 = False ;
2788 bool temp9 = False ;
2789 PyObject * obj0 = 0 ;
2790 PyObject * obj1 = 0 ;
2791 PyObject * obj2 = 0 ;
2792 PyObject * obj3 = 0 ;
2793 PyObject * obj4 = 0 ;
2794 PyObject * obj5 = 0 ;
2795 PyObject * obj6 = 0 ;
2796 PyObject * obj7 = 0 ;
2797 PyObject * obj8 = 0 ;
2798 char *kwnames[] = {
2799 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2800 };
2801
2802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2805 arg2 = (int) SWIG_AsInt(obj1);
2806 if (PyErr_Occurred()) SWIG_fail;
2807 if (obj2) {
2808 {
2809 arg3 = wxString_in_helper(obj2);
2810 if (arg3 == NULL) SWIG_fail;
2811 temp3 = True;
2812 }
2813 }
2814 if (obj3) {
2815 {
2816 arg4 = &temp4;
2817 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2818 }
2819 }
2820 if (obj4) {
2821 {
2822 arg5 = &temp5;
2823 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2824 }
2825 }
2826 if (obj5) {
2827 {
2828 if (! PySequence_Check(obj5)) {
2829 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2830 SWIG_fail;
2831 }
2832 arg6 = new wxArrayString;
2833 temp6 = True;
2834 int i, len=PySequence_Length(obj5);
2835 for (i=0; i<len; i++) {
2836 PyObject* item = PySequence_GetItem(obj5, i);
2837 #if wxUSE_UNICODE
2838 PyObject* str = PyObject_Unicode(item);
2839 #else
2840 PyObject* str = PyObject_Str(item);
2841 #endif
2842 arg6->Add(Py2wxString(str));
2843 Py_DECREF(item);
2844 Py_DECREF(str);
2845 }
2846 }
2847 }
2848 if (obj6) {
2849 arg7 = (long) SWIG_AsLong(obj6);
2850 if (PyErr_Occurred()) SWIG_fail;
2851 }
2852 if (obj7) {
2853 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2854 SWIG_POINTER_EXCEPTION | 0)) == -1)
2855 SWIG_fail;
2856 if (arg8 == NULL) {
2857 PyErr_SetString(PyExc_TypeError,"null reference");
2858 SWIG_fail;
2859 }
2860 }
2861 if (obj8) {
2862 {
2863 arg9 = wxString_in_helper(obj8);
2864 if (arg9 == NULL) SWIG_fail;
2865 temp9 = True;
2866 }
2867 }
2868 {
2869 PyThreadState* __tstate = wxPyBeginAllowThreads();
2870 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);
2871
2872 wxPyEndAllowThreads(__tstate);
2873 if (PyErr_Occurred()) SWIG_fail;
2874 }
2875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2876 {
2877 if (temp3)
2878 delete arg3;
2879 }
2880 {
2881 if (temp6) delete arg6;
2882 }
2883 {
2884 if (temp9)
2885 delete arg9;
2886 }
2887 return resultobj;
2888 fail:
2889 {
2890 if (temp3)
2891 delete arg3;
2892 }
2893 {
2894 if (temp6) delete arg6;
2895 }
2896 {
2897 if (temp9)
2898 delete arg9;
2899 }
2900 return NULL;
2901 }
2902
2903
2904 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2905 PyObject *resultobj;
2906 wxComboBox *result;
2907 char *kwnames[] = {
2908 NULL
2909 };
2910
2911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2912 {
2913 PyThreadState* __tstate = wxPyBeginAllowThreads();
2914 result = (wxComboBox *)new wxComboBox();
2915
2916 wxPyEndAllowThreads(__tstate);
2917 if (PyErr_Occurred()) SWIG_fail;
2918 }
2919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2920 return resultobj;
2921 fail:
2922 return NULL;
2923 }
2924
2925
2926 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2927 PyObject *resultobj;
2928 wxComboBox *arg1 = (wxComboBox *) 0 ;
2929 wxWindow *arg2 = (wxWindow *) 0 ;
2930 int arg3 ;
2931 wxString const &arg4_defvalue = wxPyEmptyString ;
2932 wxString *arg4 = (wxString *) &arg4_defvalue ;
2933 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2934 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2935 wxSize const &arg6_defvalue = wxDefaultSize ;
2936 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2937 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
2938 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
2939 long arg8 = (long) 0 ;
2940 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2941 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2942 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2943 wxString *arg10 = (wxString *) &arg10_defvalue ;
2944 bool result;
2945 bool temp4 = False ;
2946 wxPoint temp5 ;
2947 wxSize temp6 ;
2948 bool temp7 = False ;
2949 bool temp10 = False ;
2950 PyObject * obj0 = 0 ;
2951 PyObject * obj1 = 0 ;
2952 PyObject * obj2 = 0 ;
2953 PyObject * obj3 = 0 ;
2954 PyObject * obj4 = 0 ;
2955 PyObject * obj5 = 0 ;
2956 PyObject * obj6 = 0 ;
2957 PyObject * obj7 = 0 ;
2958 PyObject * obj8 = 0 ;
2959 PyObject * obj9 = 0 ;
2960 char *kwnames[] = {
2961 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2962 };
2963
2964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
2966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2967 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2969 arg3 = (int) SWIG_AsInt(obj2);
2970 if (PyErr_Occurred()) SWIG_fail;
2971 if (obj3) {
2972 {
2973 arg4 = wxString_in_helper(obj3);
2974 if (arg4 == NULL) SWIG_fail;
2975 temp4 = True;
2976 }
2977 }
2978 if (obj4) {
2979 {
2980 arg5 = &temp5;
2981 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2982 }
2983 }
2984 if (obj5) {
2985 {
2986 arg6 = &temp6;
2987 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2988 }
2989 }
2990 if (obj6) {
2991 {
2992 if (! PySequence_Check(obj6)) {
2993 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2994 SWIG_fail;
2995 }
2996 arg7 = new wxArrayString;
2997 temp7 = True;
2998 int i, len=PySequence_Length(obj6);
2999 for (i=0; i<len; i++) {
3000 PyObject* item = PySequence_GetItem(obj6, i);
3001 #if wxUSE_UNICODE
3002 PyObject* str = PyObject_Unicode(item);
3003 #else
3004 PyObject* str = PyObject_Str(item);
3005 #endif
3006 arg7->Add(Py2wxString(str));
3007 Py_DECREF(item);
3008 Py_DECREF(str);
3009 }
3010 }
3011 }
3012 if (obj7) {
3013 arg8 = (long) SWIG_AsLong(obj7);
3014 if (PyErr_Occurred()) SWIG_fail;
3015 }
3016 if (obj8) {
3017 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3018 SWIG_POINTER_EXCEPTION | 0)) == -1)
3019 SWIG_fail;
3020 if (arg9 == NULL) {
3021 PyErr_SetString(PyExc_TypeError,"null reference");
3022 SWIG_fail;
3023 }
3024 }
3025 if (obj9) {
3026 {
3027 arg10 = wxString_in_helper(obj9);
3028 if (arg10 == NULL) SWIG_fail;
3029 temp10 = True;
3030 }
3031 }
3032 {
3033 PyThreadState* __tstate = wxPyBeginAllowThreads();
3034 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);
3035
3036 wxPyEndAllowThreads(__tstate);
3037 if (PyErr_Occurred()) SWIG_fail;
3038 }
3039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3040 {
3041 if (temp4)
3042 delete arg4;
3043 }
3044 {
3045 if (temp7) delete arg7;
3046 }
3047 {
3048 if (temp10)
3049 delete arg10;
3050 }
3051 return resultobj;
3052 fail:
3053 {
3054 if (temp4)
3055 delete arg4;
3056 }
3057 {
3058 if (temp7) delete arg7;
3059 }
3060 {
3061 if (temp10)
3062 delete arg10;
3063 }
3064 return NULL;
3065 }
3066
3067
3068 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3069 PyObject *resultobj;
3070 wxComboBox *arg1 = (wxComboBox *) 0 ;
3071 wxString result;
3072 PyObject * obj0 = 0 ;
3073 char *kwnames[] = {
3074 (char *) "self", NULL
3075 };
3076
3077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3080 {
3081 PyThreadState* __tstate = wxPyBeginAllowThreads();
3082 result = ((wxComboBox const *)arg1)->GetValue();
3083
3084 wxPyEndAllowThreads(__tstate);
3085 if (PyErr_Occurred()) SWIG_fail;
3086 }
3087 {
3088 #if wxUSE_UNICODE
3089 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3090 #else
3091 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3092 #endif
3093 }
3094 return resultobj;
3095 fail:
3096 return NULL;
3097 }
3098
3099
3100 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3101 PyObject *resultobj;
3102 wxComboBox *arg1 = (wxComboBox *) 0 ;
3103 wxString *arg2 = 0 ;
3104 bool temp2 = False ;
3105 PyObject * obj0 = 0 ;
3106 PyObject * obj1 = 0 ;
3107 char *kwnames[] = {
3108 (char *) "self",(char *) "value", NULL
3109 };
3110
3111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3114 {
3115 arg2 = wxString_in_helper(obj1);
3116 if (arg2 == NULL) SWIG_fail;
3117 temp2 = True;
3118 }
3119 {
3120 PyThreadState* __tstate = wxPyBeginAllowThreads();
3121 (arg1)->SetValue((wxString const &)*arg2);
3122
3123 wxPyEndAllowThreads(__tstate);
3124 if (PyErr_Occurred()) SWIG_fail;
3125 }
3126 Py_INCREF(Py_None); resultobj = Py_None;
3127 {
3128 if (temp2)
3129 delete arg2;
3130 }
3131 return resultobj;
3132 fail:
3133 {
3134 if (temp2)
3135 delete arg2;
3136 }
3137 return NULL;
3138 }
3139
3140
3141 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3142 PyObject *resultobj;
3143 wxComboBox *arg1 = (wxComboBox *) 0 ;
3144 PyObject * obj0 = 0 ;
3145 char *kwnames[] = {
3146 (char *) "self", NULL
3147 };
3148
3149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3152 {
3153 PyThreadState* __tstate = wxPyBeginAllowThreads();
3154 (arg1)->Copy();
3155
3156 wxPyEndAllowThreads(__tstate);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 }
3159 Py_INCREF(Py_None); resultobj = Py_None;
3160 return resultobj;
3161 fail:
3162 return NULL;
3163 }
3164
3165
3166 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3167 PyObject *resultobj;
3168 wxComboBox *arg1 = (wxComboBox *) 0 ;
3169 PyObject * obj0 = 0 ;
3170 char *kwnames[] = {
3171 (char *) "self", NULL
3172 };
3173
3174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3177 {
3178 PyThreadState* __tstate = wxPyBeginAllowThreads();
3179 (arg1)->Cut();
3180
3181 wxPyEndAllowThreads(__tstate);
3182 if (PyErr_Occurred()) SWIG_fail;
3183 }
3184 Py_INCREF(Py_None); resultobj = Py_None;
3185 return resultobj;
3186 fail:
3187 return NULL;
3188 }
3189
3190
3191 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3192 PyObject *resultobj;
3193 wxComboBox *arg1 = (wxComboBox *) 0 ;
3194 PyObject * obj0 = 0 ;
3195 char *kwnames[] = {
3196 (char *) "self", NULL
3197 };
3198
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3202 {
3203 PyThreadState* __tstate = wxPyBeginAllowThreads();
3204 (arg1)->Paste();
3205
3206 wxPyEndAllowThreads(__tstate);
3207 if (PyErr_Occurred()) SWIG_fail;
3208 }
3209 Py_INCREF(Py_None); resultobj = Py_None;
3210 return resultobj;
3211 fail:
3212 return NULL;
3213 }
3214
3215
3216 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3217 PyObject *resultobj;
3218 wxComboBox *arg1 = (wxComboBox *) 0 ;
3219 long arg2 ;
3220 PyObject * obj0 = 0 ;
3221 PyObject * obj1 = 0 ;
3222 char *kwnames[] = {
3223 (char *) "self",(char *) "pos", NULL
3224 };
3225
3226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3229 arg2 = (long) SWIG_AsLong(obj1);
3230 if (PyErr_Occurred()) SWIG_fail;
3231 {
3232 PyThreadState* __tstate = wxPyBeginAllowThreads();
3233 (arg1)->SetInsertionPoint(arg2);
3234
3235 wxPyEndAllowThreads(__tstate);
3236 if (PyErr_Occurred()) SWIG_fail;
3237 }
3238 Py_INCREF(Py_None); resultobj = Py_None;
3239 return resultobj;
3240 fail:
3241 return NULL;
3242 }
3243
3244
3245 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3246 PyObject *resultobj;
3247 wxComboBox *arg1 = (wxComboBox *) 0 ;
3248 long result;
3249 PyObject * obj0 = 0 ;
3250 char *kwnames[] = {
3251 (char *) "self", NULL
3252 };
3253
3254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3257 {
3258 PyThreadState* __tstate = wxPyBeginAllowThreads();
3259 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3260
3261 wxPyEndAllowThreads(__tstate);
3262 if (PyErr_Occurred()) SWIG_fail;
3263 }
3264 resultobj = SWIG_FromLong((long)result);
3265 return resultobj;
3266 fail:
3267 return NULL;
3268 }
3269
3270
3271 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3272 PyObject *resultobj;
3273 wxComboBox *arg1 = (wxComboBox *) 0 ;
3274 long result;
3275 PyObject * obj0 = 0 ;
3276 char *kwnames[] = {
3277 (char *) "self", NULL
3278 };
3279
3280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3283 {
3284 PyThreadState* __tstate = wxPyBeginAllowThreads();
3285 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3286
3287 wxPyEndAllowThreads(__tstate);
3288 if (PyErr_Occurred()) SWIG_fail;
3289 }
3290 resultobj = SWIG_FromLong((long)result);
3291 return resultobj;
3292 fail:
3293 return NULL;
3294 }
3295
3296
3297 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3298 PyObject *resultobj;
3299 wxComboBox *arg1 = (wxComboBox *) 0 ;
3300 long arg2 ;
3301 long arg3 ;
3302 wxString *arg4 = 0 ;
3303 bool temp4 = False ;
3304 PyObject * obj0 = 0 ;
3305 PyObject * obj1 = 0 ;
3306 PyObject * obj2 = 0 ;
3307 PyObject * obj3 = 0 ;
3308 char *kwnames[] = {
3309 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3310 };
3311
3312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3315 arg2 = (long) SWIG_AsLong(obj1);
3316 if (PyErr_Occurred()) SWIG_fail;
3317 arg3 = (long) SWIG_AsLong(obj2);
3318 if (PyErr_Occurred()) SWIG_fail;
3319 {
3320 arg4 = wxString_in_helper(obj3);
3321 if (arg4 == NULL) SWIG_fail;
3322 temp4 = True;
3323 }
3324 {
3325 PyThreadState* __tstate = wxPyBeginAllowThreads();
3326 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3327
3328 wxPyEndAllowThreads(__tstate);
3329 if (PyErr_Occurred()) SWIG_fail;
3330 }
3331 Py_INCREF(Py_None); resultobj = Py_None;
3332 {
3333 if (temp4)
3334 delete arg4;
3335 }
3336 return resultobj;
3337 fail:
3338 {
3339 if (temp4)
3340 delete arg4;
3341 }
3342 return NULL;
3343 }
3344
3345
3346 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3347 PyObject *resultobj;
3348 wxComboBox *arg1 = (wxComboBox *) 0 ;
3349 int arg2 ;
3350 PyObject * obj0 = 0 ;
3351 PyObject * obj1 = 0 ;
3352 char *kwnames[] = {
3353 (char *) "self",(char *) "n", NULL
3354 };
3355
3356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3359 arg2 = (int) SWIG_AsInt(obj1);
3360 if (PyErr_Occurred()) SWIG_fail;
3361 {
3362 PyThreadState* __tstate = wxPyBeginAllowThreads();
3363 (arg1)->SetSelection(arg2);
3364
3365 wxPyEndAllowThreads(__tstate);
3366 if (PyErr_Occurred()) SWIG_fail;
3367 }
3368 Py_INCREF(Py_None); resultobj = Py_None;
3369 return resultobj;
3370 fail:
3371 return NULL;
3372 }
3373
3374
3375 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3376 PyObject *resultobj;
3377 wxComboBox *arg1 = (wxComboBox *) 0 ;
3378 long arg2 ;
3379 long arg3 ;
3380 PyObject * obj0 = 0 ;
3381 PyObject * obj1 = 0 ;
3382 PyObject * obj2 = 0 ;
3383 char *kwnames[] = {
3384 (char *) "self",(char *) "from",(char *) "to", NULL
3385 };
3386
3387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3390 arg2 = (long) SWIG_AsLong(obj1);
3391 if (PyErr_Occurred()) SWIG_fail;
3392 arg3 = (long) SWIG_AsLong(obj2);
3393 if (PyErr_Occurred()) SWIG_fail;
3394 {
3395 PyThreadState* __tstate = wxPyBeginAllowThreads();
3396 (arg1)->SetSelection(arg2,arg3);
3397
3398 wxPyEndAllowThreads(__tstate);
3399 if (PyErr_Occurred()) SWIG_fail;
3400 }
3401 Py_INCREF(Py_None); resultobj = Py_None;
3402 return resultobj;
3403 fail:
3404 return NULL;
3405 }
3406
3407
3408 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3409 PyObject *resultobj;
3410 wxComboBox *arg1 = (wxComboBox *) 0 ;
3411 bool arg2 ;
3412 PyObject * obj0 = 0 ;
3413 PyObject * obj1 = 0 ;
3414 char *kwnames[] = {
3415 (char *) "self",(char *) "editable", NULL
3416 };
3417
3418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3421 arg2 = (bool) SWIG_AsBool(obj1);
3422 if (PyErr_Occurred()) SWIG_fail;
3423 {
3424 PyThreadState* __tstate = wxPyBeginAllowThreads();
3425 (arg1)->SetEditable(arg2);
3426
3427 wxPyEndAllowThreads(__tstate);
3428 if (PyErr_Occurred()) SWIG_fail;
3429 }
3430 Py_INCREF(Py_None); resultobj = Py_None;
3431 return resultobj;
3432 fail:
3433 return NULL;
3434 }
3435
3436
3437 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3438 PyObject *resultobj;
3439 wxComboBox *arg1 = (wxComboBox *) 0 ;
3440 PyObject * obj0 = 0 ;
3441 char *kwnames[] = {
3442 (char *) "self", NULL
3443 };
3444
3445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3448 {
3449 PyThreadState* __tstate = wxPyBeginAllowThreads();
3450 (arg1)->SetInsertionPointEnd();
3451
3452 wxPyEndAllowThreads(__tstate);
3453 if (PyErr_Occurred()) SWIG_fail;
3454 }
3455 Py_INCREF(Py_None); resultobj = Py_None;
3456 return resultobj;
3457 fail:
3458 return NULL;
3459 }
3460
3461
3462 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3463 PyObject *resultobj;
3464 wxComboBox *arg1 = (wxComboBox *) 0 ;
3465 long arg2 ;
3466 long arg3 ;
3467 PyObject * obj0 = 0 ;
3468 PyObject * obj1 = 0 ;
3469 PyObject * obj2 = 0 ;
3470 char *kwnames[] = {
3471 (char *) "self",(char *) "from",(char *) "to", NULL
3472 };
3473
3474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3477 arg2 = (long) SWIG_AsLong(obj1);
3478 if (PyErr_Occurred()) SWIG_fail;
3479 arg3 = (long) SWIG_AsLong(obj2);
3480 if (PyErr_Occurred()) SWIG_fail;
3481 {
3482 PyThreadState* __tstate = wxPyBeginAllowThreads();
3483 (arg1)->Remove(arg2,arg3);
3484
3485 wxPyEndAllowThreads(__tstate);
3486 if (PyErr_Occurred()) SWIG_fail;
3487 }
3488 Py_INCREF(Py_None); resultobj = Py_None;
3489 return resultobj;
3490 fail:
3491 return NULL;
3492 }
3493
3494
3495 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3496 PyObject *obj;
3497 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3498 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3499 Py_INCREF(obj);
3500 return Py_BuildValue((char *)"");
3501 }
3502 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3503 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3504 return 1;
3505 }
3506
3507
3508 static PyObject *_wrap_GaugeNameStr_get() {
3509 PyObject *pyobj;
3510
3511 {
3512 #if wxUSE_UNICODE
3513 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3514 #else
3515 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3516 #endif
3517 }
3518 return pyobj;
3519 }
3520
3521
3522 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3523 PyObject *resultobj;
3524 wxWindow *arg1 = (wxWindow *) 0 ;
3525 int arg2 ;
3526 int arg3 ;
3527 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3528 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3529 wxSize const &arg5_defvalue = wxDefaultSize ;
3530 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3531 long arg6 = (long) wxGA_HORIZONTAL ;
3532 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3533 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3534 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3535 wxString *arg8 = (wxString *) &arg8_defvalue ;
3536 wxGauge *result;
3537 wxPoint temp4 ;
3538 wxSize temp5 ;
3539 bool temp8 = False ;
3540 PyObject * obj0 = 0 ;
3541 PyObject * obj1 = 0 ;
3542 PyObject * obj2 = 0 ;
3543 PyObject * obj3 = 0 ;
3544 PyObject * obj4 = 0 ;
3545 PyObject * obj5 = 0 ;
3546 PyObject * obj6 = 0 ;
3547 PyObject * obj7 = 0 ;
3548 char *kwnames[] = {
3549 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3550 };
3551
3552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3555 arg2 = (int) SWIG_AsInt(obj1);
3556 if (PyErr_Occurred()) SWIG_fail;
3557 arg3 = (int) SWIG_AsInt(obj2);
3558 if (PyErr_Occurred()) SWIG_fail;
3559 if (obj3) {
3560 {
3561 arg4 = &temp4;
3562 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3563 }
3564 }
3565 if (obj4) {
3566 {
3567 arg5 = &temp5;
3568 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3569 }
3570 }
3571 if (obj5) {
3572 arg6 = (long) SWIG_AsLong(obj5);
3573 if (PyErr_Occurred()) SWIG_fail;
3574 }
3575 if (obj6) {
3576 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3577 SWIG_POINTER_EXCEPTION | 0)) == -1)
3578 SWIG_fail;
3579 if (arg7 == NULL) {
3580 PyErr_SetString(PyExc_TypeError,"null reference");
3581 SWIG_fail;
3582 }
3583 }
3584 if (obj7) {
3585 {
3586 arg8 = wxString_in_helper(obj7);
3587 if (arg8 == NULL) SWIG_fail;
3588 temp8 = True;
3589 }
3590 }
3591 {
3592 PyThreadState* __tstate = wxPyBeginAllowThreads();
3593 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3594
3595 wxPyEndAllowThreads(__tstate);
3596 if (PyErr_Occurred()) SWIG_fail;
3597 }
3598 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3599 {
3600 if (temp8)
3601 delete arg8;
3602 }
3603 return resultobj;
3604 fail:
3605 {
3606 if (temp8)
3607 delete arg8;
3608 }
3609 return NULL;
3610 }
3611
3612
3613 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3614 PyObject *resultobj;
3615 wxGauge *result;
3616 char *kwnames[] = {
3617 NULL
3618 };
3619
3620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3621 {
3622 PyThreadState* __tstate = wxPyBeginAllowThreads();
3623 result = (wxGauge *)new wxGauge();
3624
3625 wxPyEndAllowThreads(__tstate);
3626 if (PyErr_Occurred()) SWIG_fail;
3627 }
3628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3629 return resultobj;
3630 fail:
3631 return NULL;
3632 }
3633
3634
3635 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3636 PyObject *resultobj;
3637 wxGauge *arg1 = (wxGauge *) 0 ;
3638 wxWindow *arg2 = (wxWindow *) 0 ;
3639 int arg3 ;
3640 int arg4 ;
3641 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3642 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3643 wxSize const &arg6_defvalue = wxDefaultSize ;
3644 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3645 long arg7 = (long) wxGA_HORIZONTAL ;
3646 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3647 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3648 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3649 wxString *arg9 = (wxString *) &arg9_defvalue ;
3650 bool result;
3651 wxPoint temp5 ;
3652 wxSize temp6 ;
3653 bool temp9 = False ;
3654 PyObject * obj0 = 0 ;
3655 PyObject * obj1 = 0 ;
3656 PyObject * obj2 = 0 ;
3657 PyObject * obj3 = 0 ;
3658 PyObject * obj4 = 0 ;
3659 PyObject * obj5 = 0 ;
3660 PyObject * obj6 = 0 ;
3661 PyObject * obj7 = 0 ;
3662 PyObject * obj8 = 0 ;
3663 char *kwnames[] = {
3664 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3665 };
3666
3667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3670 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3672 arg3 = (int) SWIG_AsInt(obj2);
3673 if (PyErr_Occurred()) SWIG_fail;
3674 arg4 = (int) SWIG_AsInt(obj3);
3675 if (PyErr_Occurred()) SWIG_fail;
3676 if (obj4) {
3677 {
3678 arg5 = &temp5;
3679 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3680 }
3681 }
3682 if (obj5) {
3683 {
3684 arg6 = &temp6;
3685 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3686 }
3687 }
3688 if (obj6) {
3689 arg7 = (long) SWIG_AsLong(obj6);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 if (obj7) {
3693 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3694 SWIG_POINTER_EXCEPTION | 0)) == -1)
3695 SWIG_fail;
3696 if (arg8 == NULL) {
3697 PyErr_SetString(PyExc_TypeError,"null reference");
3698 SWIG_fail;
3699 }
3700 }
3701 if (obj8) {
3702 {
3703 arg9 = wxString_in_helper(obj8);
3704 if (arg9 == NULL) SWIG_fail;
3705 temp9 = True;
3706 }
3707 }
3708 {
3709 PyThreadState* __tstate = wxPyBeginAllowThreads();
3710 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3711
3712 wxPyEndAllowThreads(__tstate);
3713 if (PyErr_Occurred()) SWIG_fail;
3714 }
3715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3716 {
3717 if (temp9)
3718 delete arg9;
3719 }
3720 return resultobj;
3721 fail:
3722 {
3723 if (temp9)
3724 delete arg9;
3725 }
3726 return NULL;
3727 }
3728
3729
3730 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3731 PyObject *resultobj;
3732 wxGauge *arg1 = (wxGauge *) 0 ;
3733 int arg2 ;
3734 PyObject * obj0 = 0 ;
3735 PyObject * obj1 = 0 ;
3736 char *kwnames[] = {
3737 (char *) "self",(char *) "range", NULL
3738 };
3739
3740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
3741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3743 arg2 = (int) SWIG_AsInt(obj1);
3744 if (PyErr_Occurred()) SWIG_fail;
3745 {
3746 PyThreadState* __tstate = wxPyBeginAllowThreads();
3747 (arg1)->SetRange(arg2);
3748
3749 wxPyEndAllowThreads(__tstate);
3750 if (PyErr_Occurred()) SWIG_fail;
3751 }
3752 Py_INCREF(Py_None); resultobj = Py_None;
3753 return resultobj;
3754 fail:
3755 return NULL;
3756 }
3757
3758
3759 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3760 PyObject *resultobj;
3761 wxGauge *arg1 = (wxGauge *) 0 ;
3762 int result;
3763 PyObject * obj0 = 0 ;
3764 char *kwnames[] = {
3765 (char *) "self", NULL
3766 };
3767
3768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3771 {
3772 PyThreadState* __tstate = wxPyBeginAllowThreads();
3773 result = (int)((wxGauge const *)arg1)->GetRange();
3774
3775 wxPyEndAllowThreads(__tstate);
3776 if (PyErr_Occurred()) SWIG_fail;
3777 }
3778 resultobj = SWIG_FromInt((int)result);
3779 return resultobj;
3780 fail:
3781 return NULL;
3782 }
3783
3784
3785 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3786 PyObject *resultobj;
3787 wxGauge *arg1 = (wxGauge *) 0 ;
3788 int arg2 ;
3789 PyObject * obj0 = 0 ;
3790 PyObject * obj1 = 0 ;
3791 char *kwnames[] = {
3792 (char *) "self",(char *) "pos", NULL
3793 };
3794
3795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
3796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3798 arg2 = (int) SWIG_AsInt(obj1);
3799 if (PyErr_Occurred()) SWIG_fail;
3800 {
3801 PyThreadState* __tstate = wxPyBeginAllowThreads();
3802 (arg1)->SetValue(arg2);
3803
3804 wxPyEndAllowThreads(__tstate);
3805 if (PyErr_Occurred()) SWIG_fail;
3806 }
3807 Py_INCREF(Py_None); resultobj = Py_None;
3808 return resultobj;
3809 fail:
3810 return NULL;
3811 }
3812
3813
3814 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3815 PyObject *resultobj;
3816 wxGauge *arg1 = (wxGauge *) 0 ;
3817 int result;
3818 PyObject * obj0 = 0 ;
3819 char *kwnames[] = {
3820 (char *) "self", NULL
3821 };
3822
3823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3826 {
3827 PyThreadState* __tstate = wxPyBeginAllowThreads();
3828 result = (int)((wxGauge const *)arg1)->GetValue();
3829
3830 wxPyEndAllowThreads(__tstate);
3831 if (PyErr_Occurred()) SWIG_fail;
3832 }
3833 resultobj = SWIG_FromInt((int)result);
3834 return resultobj;
3835 fail:
3836 return NULL;
3837 }
3838
3839
3840 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3841 PyObject *resultobj;
3842 wxGauge *arg1 = (wxGauge *) 0 ;
3843 bool result;
3844 PyObject * obj0 = 0 ;
3845 char *kwnames[] = {
3846 (char *) "self", NULL
3847 };
3848
3849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3852 {
3853 PyThreadState* __tstate = wxPyBeginAllowThreads();
3854 result = (bool)((wxGauge const *)arg1)->IsVertical();
3855
3856 wxPyEndAllowThreads(__tstate);
3857 if (PyErr_Occurred()) SWIG_fail;
3858 }
3859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3860 return resultobj;
3861 fail:
3862 return NULL;
3863 }
3864
3865
3866 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3867 PyObject *resultobj;
3868 wxGauge *arg1 = (wxGauge *) 0 ;
3869 int arg2 ;
3870 PyObject * obj0 = 0 ;
3871 PyObject * obj1 = 0 ;
3872 char *kwnames[] = {
3873 (char *) "self",(char *) "w", NULL
3874 };
3875
3876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
3877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3879 arg2 = (int) SWIG_AsInt(obj1);
3880 if (PyErr_Occurred()) SWIG_fail;
3881 {
3882 PyThreadState* __tstate = wxPyBeginAllowThreads();
3883 (arg1)->SetShadowWidth(arg2);
3884
3885 wxPyEndAllowThreads(__tstate);
3886 if (PyErr_Occurred()) SWIG_fail;
3887 }
3888 Py_INCREF(Py_None); resultobj = Py_None;
3889 return resultobj;
3890 fail:
3891 return NULL;
3892 }
3893
3894
3895 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3896 PyObject *resultobj;
3897 wxGauge *arg1 = (wxGauge *) 0 ;
3898 int result;
3899 PyObject * obj0 = 0 ;
3900 char *kwnames[] = {
3901 (char *) "self", NULL
3902 };
3903
3904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3907 {
3908 PyThreadState* __tstate = wxPyBeginAllowThreads();
3909 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3910
3911 wxPyEndAllowThreads(__tstate);
3912 if (PyErr_Occurred()) SWIG_fail;
3913 }
3914 resultobj = SWIG_FromInt((int)result);
3915 return resultobj;
3916 fail:
3917 return NULL;
3918 }
3919
3920
3921 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3922 PyObject *resultobj;
3923 wxGauge *arg1 = (wxGauge *) 0 ;
3924 int arg2 ;
3925 PyObject * obj0 = 0 ;
3926 PyObject * obj1 = 0 ;
3927 char *kwnames[] = {
3928 (char *) "self",(char *) "w", NULL
3929 };
3930
3931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
3932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3934 arg2 = (int) SWIG_AsInt(obj1);
3935 if (PyErr_Occurred()) SWIG_fail;
3936 {
3937 PyThreadState* __tstate = wxPyBeginAllowThreads();
3938 (arg1)->SetBezelFace(arg2);
3939
3940 wxPyEndAllowThreads(__tstate);
3941 if (PyErr_Occurred()) SWIG_fail;
3942 }
3943 Py_INCREF(Py_None); resultobj = Py_None;
3944 return resultobj;
3945 fail:
3946 return NULL;
3947 }
3948
3949
3950 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3951 PyObject *resultobj;
3952 wxGauge *arg1 = (wxGauge *) 0 ;
3953 int result;
3954 PyObject * obj0 = 0 ;
3955 char *kwnames[] = {
3956 (char *) "self", NULL
3957 };
3958
3959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3962 {
3963 PyThreadState* __tstate = wxPyBeginAllowThreads();
3964 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3965
3966 wxPyEndAllowThreads(__tstate);
3967 if (PyErr_Occurred()) SWIG_fail;
3968 }
3969 resultobj = SWIG_FromInt((int)result);
3970 return resultobj;
3971 fail:
3972 return NULL;
3973 }
3974
3975
3976 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3977 PyObject *obj;
3978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3979 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3980 Py_INCREF(obj);
3981 return Py_BuildValue((char *)"");
3982 }
3983 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
3984 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3985 return 1;
3986 }
3987
3988
3989 static PyObject *_wrap_StaticBitmapNameStr_get() {
3990 PyObject *pyobj;
3991
3992 {
3993 #if wxUSE_UNICODE
3994 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3995 #else
3996 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3997 #endif
3998 }
3999 return pyobj;
4000 }
4001
4002
4003 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
4004 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4005 return 1;
4006 }
4007
4008
4009 static PyObject *_wrap_StaticBoxNameStr_get() {
4010 PyObject *pyobj;
4011
4012 {
4013 #if wxUSE_UNICODE
4014 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4015 #else
4016 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4017 #endif
4018 }
4019 return pyobj;
4020 }
4021
4022
4023 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
4024 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4025 return 1;
4026 }
4027
4028
4029 static PyObject *_wrap_StaticTextNameStr_get() {
4030 PyObject *pyobj;
4031
4032 {
4033 #if wxUSE_UNICODE
4034 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4035 #else
4036 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4037 #endif
4038 }
4039 return pyobj;
4040 }
4041
4042
4043 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4044 PyObject *resultobj;
4045 wxWindow *arg1 = (wxWindow *) 0 ;
4046 int arg2 ;
4047 wxString *arg3 = 0 ;
4048 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4049 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4050 wxSize const &arg5_defvalue = wxDefaultSize ;
4051 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4052 long arg6 = (long) 0 ;
4053 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4054 wxString *arg7 = (wxString *) &arg7_defvalue ;
4055 wxStaticBox *result;
4056 bool temp3 = False ;
4057 wxPoint temp4 ;
4058 wxSize temp5 ;
4059 bool temp7 = False ;
4060 PyObject * obj0 = 0 ;
4061 PyObject * obj1 = 0 ;
4062 PyObject * obj2 = 0 ;
4063 PyObject * obj3 = 0 ;
4064 PyObject * obj4 = 0 ;
4065 PyObject * obj5 = 0 ;
4066 PyObject * obj6 = 0 ;
4067 char *kwnames[] = {
4068 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4069 };
4070
4071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4074 arg2 = (int) SWIG_AsInt(obj1);
4075 if (PyErr_Occurred()) SWIG_fail;
4076 {
4077 arg3 = wxString_in_helper(obj2);
4078 if (arg3 == NULL) SWIG_fail;
4079 temp3 = True;
4080 }
4081 if (obj3) {
4082 {
4083 arg4 = &temp4;
4084 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4085 }
4086 }
4087 if (obj4) {
4088 {
4089 arg5 = &temp5;
4090 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4091 }
4092 }
4093 if (obj5) {
4094 arg6 = (long) SWIG_AsLong(obj5);
4095 if (PyErr_Occurred()) SWIG_fail;
4096 }
4097 if (obj6) {
4098 {
4099 arg7 = wxString_in_helper(obj6);
4100 if (arg7 == NULL) SWIG_fail;
4101 temp7 = True;
4102 }
4103 }
4104 {
4105 PyThreadState* __tstate = wxPyBeginAllowThreads();
4106 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4107
4108 wxPyEndAllowThreads(__tstate);
4109 if (PyErr_Occurred()) SWIG_fail;
4110 }
4111 {
4112 resultobj = wxPyMake_wxObject(result);
4113 }
4114 {
4115 if (temp3)
4116 delete arg3;
4117 }
4118 {
4119 if (temp7)
4120 delete arg7;
4121 }
4122 return resultobj;
4123 fail:
4124 {
4125 if (temp3)
4126 delete arg3;
4127 }
4128 {
4129 if (temp7)
4130 delete arg7;
4131 }
4132 return NULL;
4133 }
4134
4135
4136 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4137 PyObject *resultobj;
4138 wxStaticBox *result;
4139 char *kwnames[] = {
4140 NULL
4141 };
4142
4143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4144 {
4145 PyThreadState* __tstate = wxPyBeginAllowThreads();
4146 result = (wxStaticBox *)new wxStaticBox();
4147
4148 wxPyEndAllowThreads(__tstate);
4149 if (PyErr_Occurred()) SWIG_fail;
4150 }
4151 {
4152 resultobj = wxPyMake_wxObject(result);
4153 }
4154 return resultobj;
4155 fail:
4156 return NULL;
4157 }
4158
4159
4160 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4161 PyObject *resultobj;
4162 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4163 wxWindow *arg2 = (wxWindow *) 0 ;
4164 int arg3 ;
4165 wxString *arg4 = 0 ;
4166 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4167 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4168 wxSize const &arg6_defvalue = wxDefaultSize ;
4169 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4170 long arg7 = (long) 0 ;
4171 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4172 wxString *arg8 = (wxString *) &arg8_defvalue ;
4173 bool result;
4174 bool temp4 = False ;
4175 wxPoint temp5 ;
4176 wxSize temp6 ;
4177 bool temp8 = False ;
4178 PyObject * obj0 = 0 ;
4179 PyObject * obj1 = 0 ;
4180 PyObject * obj2 = 0 ;
4181 PyObject * obj3 = 0 ;
4182 PyObject * obj4 = 0 ;
4183 PyObject * obj5 = 0 ;
4184 PyObject * obj6 = 0 ;
4185 PyObject * obj7 = 0 ;
4186 char *kwnames[] = {
4187 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4188 };
4189
4190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4193 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4195 arg3 = (int) SWIG_AsInt(obj2);
4196 if (PyErr_Occurred()) SWIG_fail;
4197 {
4198 arg4 = wxString_in_helper(obj3);
4199 if (arg4 == NULL) SWIG_fail;
4200 temp4 = True;
4201 }
4202 if (obj4) {
4203 {
4204 arg5 = &temp5;
4205 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4206 }
4207 }
4208 if (obj5) {
4209 {
4210 arg6 = &temp6;
4211 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4212 }
4213 }
4214 if (obj6) {
4215 arg7 = (long) SWIG_AsLong(obj6);
4216 if (PyErr_Occurred()) SWIG_fail;
4217 }
4218 if (obj7) {
4219 {
4220 arg8 = wxString_in_helper(obj7);
4221 if (arg8 == NULL) SWIG_fail;
4222 temp8 = True;
4223 }
4224 }
4225 {
4226 PyThreadState* __tstate = wxPyBeginAllowThreads();
4227 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4228
4229 wxPyEndAllowThreads(__tstate);
4230 if (PyErr_Occurred()) SWIG_fail;
4231 }
4232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4233 {
4234 if (temp4)
4235 delete arg4;
4236 }
4237 {
4238 if (temp8)
4239 delete arg8;
4240 }
4241 return resultobj;
4242 fail:
4243 {
4244 if (temp4)
4245 delete arg4;
4246 }
4247 {
4248 if (temp8)
4249 delete arg8;
4250 }
4251 return NULL;
4252 }
4253
4254
4255 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4256 PyObject *obj;
4257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4258 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4259 Py_INCREF(obj);
4260 return Py_BuildValue((char *)"");
4261 }
4262 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4263 PyObject *resultobj;
4264 wxWindow *arg1 = (wxWindow *) 0 ;
4265 int arg2 ;
4266 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4267 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4268 wxSize const &arg4_defvalue = wxDefaultSize ;
4269 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4270 long arg5 = (long) wxLI_HORIZONTAL ;
4271 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4272 wxString *arg6 = (wxString *) &arg6_defvalue ;
4273 wxStaticLine *result;
4274 wxPoint temp3 ;
4275 wxSize temp4 ;
4276 bool temp6 = False ;
4277 PyObject * obj0 = 0 ;
4278 PyObject * obj1 = 0 ;
4279 PyObject * obj2 = 0 ;
4280 PyObject * obj3 = 0 ;
4281 PyObject * obj4 = 0 ;
4282 PyObject * obj5 = 0 ;
4283 char *kwnames[] = {
4284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4285 };
4286
4287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4290 arg2 = (int) SWIG_AsInt(obj1);
4291 if (PyErr_Occurred()) SWIG_fail;
4292 if (obj2) {
4293 {
4294 arg3 = &temp3;
4295 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4296 }
4297 }
4298 if (obj3) {
4299 {
4300 arg4 = &temp4;
4301 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4302 }
4303 }
4304 if (obj4) {
4305 arg5 = (long) SWIG_AsLong(obj4);
4306 if (PyErr_Occurred()) SWIG_fail;
4307 }
4308 if (obj5) {
4309 {
4310 arg6 = wxString_in_helper(obj5);
4311 if (arg6 == NULL) SWIG_fail;
4312 temp6 = True;
4313 }
4314 }
4315 {
4316 PyThreadState* __tstate = wxPyBeginAllowThreads();
4317 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4318
4319 wxPyEndAllowThreads(__tstate);
4320 if (PyErr_Occurred()) SWIG_fail;
4321 }
4322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4323 {
4324 if (temp6)
4325 delete arg6;
4326 }
4327 return resultobj;
4328 fail:
4329 {
4330 if (temp6)
4331 delete arg6;
4332 }
4333 return NULL;
4334 }
4335
4336
4337 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4338 PyObject *resultobj;
4339 wxStaticLine *result;
4340 char *kwnames[] = {
4341 NULL
4342 };
4343
4344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4345 {
4346 PyThreadState* __tstate = wxPyBeginAllowThreads();
4347 result = (wxStaticLine *)new wxStaticLine();
4348
4349 wxPyEndAllowThreads(__tstate);
4350 if (PyErr_Occurred()) SWIG_fail;
4351 }
4352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4353 return resultobj;
4354 fail:
4355 return NULL;
4356 }
4357
4358
4359 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4360 PyObject *resultobj;
4361 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4362 wxWindow *arg2 = (wxWindow *) 0 ;
4363 int arg3 ;
4364 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4365 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4366 wxSize const &arg5_defvalue = wxDefaultSize ;
4367 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4368 long arg6 = (long) wxLI_HORIZONTAL ;
4369 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4370 wxString *arg7 = (wxString *) &arg7_defvalue ;
4371 bool result;
4372 wxPoint temp4 ;
4373 wxSize temp5 ;
4374 bool temp7 = False ;
4375 PyObject * obj0 = 0 ;
4376 PyObject * obj1 = 0 ;
4377 PyObject * obj2 = 0 ;
4378 PyObject * obj3 = 0 ;
4379 PyObject * obj4 = 0 ;
4380 PyObject * obj5 = 0 ;
4381 PyObject * obj6 = 0 ;
4382 char *kwnames[] = {
4383 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4384 };
4385
4386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4389 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4391 arg3 = (int) SWIG_AsInt(obj2);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 if (obj3) {
4394 {
4395 arg4 = &temp4;
4396 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4397 }
4398 }
4399 if (obj4) {
4400 {
4401 arg5 = &temp5;
4402 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4403 }
4404 }
4405 if (obj5) {
4406 arg6 = (long) SWIG_AsLong(obj5);
4407 if (PyErr_Occurred()) SWIG_fail;
4408 }
4409 if (obj6) {
4410 {
4411 arg7 = wxString_in_helper(obj6);
4412 if (arg7 == NULL) SWIG_fail;
4413 temp7 = True;
4414 }
4415 }
4416 {
4417 PyThreadState* __tstate = wxPyBeginAllowThreads();
4418 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4419
4420 wxPyEndAllowThreads(__tstate);
4421 if (PyErr_Occurred()) SWIG_fail;
4422 }
4423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4424 {
4425 if (temp7)
4426 delete arg7;
4427 }
4428 return resultobj;
4429 fail:
4430 {
4431 if (temp7)
4432 delete arg7;
4433 }
4434 return NULL;
4435 }
4436
4437
4438 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4439 PyObject *resultobj;
4440 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4441 bool result;
4442 PyObject * obj0 = 0 ;
4443 char *kwnames[] = {
4444 (char *) "self", NULL
4445 };
4446
4447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4450 {
4451 PyThreadState* __tstate = wxPyBeginAllowThreads();
4452 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4453
4454 wxPyEndAllowThreads(__tstate);
4455 if (PyErr_Occurred()) SWIG_fail;
4456 }
4457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4458 return resultobj;
4459 fail:
4460 return NULL;
4461 }
4462
4463
4464 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4465 PyObject *resultobj;
4466 int result;
4467 char *kwnames[] = {
4468 NULL
4469 };
4470
4471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4472 {
4473 PyThreadState* __tstate = wxPyBeginAllowThreads();
4474 result = (int)wxStaticLine::GetDefaultSize();
4475
4476 wxPyEndAllowThreads(__tstate);
4477 if (PyErr_Occurred()) SWIG_fail;
4478 }
4479 resultobj = SWIG_FromInt((int)result);
4480 return resultobj;
4481 fail:
4482 return NULL;
4483 }
4484
4485
4486 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4487 PyObject *obj;
4488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4489 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4490 Py_INCREF(obj);
4491 return Py_BuildValue((char *)"");
4492 }
4493 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4494 PyObject *resultobj;
4495 wxWindow *arg1 = (wxWindow *) 0 ;
4496 int arg2 ;
4497 wxString *arg3 = 0 ;
4498 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4499 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4500 wxSize const &arg5_defvalue = wxDefaultSize ;
4501 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4502 long arg6 = (long) 0 ;
4503 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4504 wxString *arg7 = (wxString *) &arg7_defvalue ;
4505 wxStaticText *result;
4506 bool temp3 = False ;
4507 wxPoint temp4 ;
4508 wxSize temp5 ;
4509 bool temp7 = False ;
4510 PyObject * obj0 = 0 ;
4511 PyObject * obj1 = 0 ;
4512 PyObject * obj2 = 0 ;
4513 PyObject * obj3 = 0 ;
4514 PyObject * obj4 = 0 ;
4515 PyObject * obj5 = 0 ;
4516 PyObject * obj6 = 0 ;
4517 char *kwnames[] = {
4518 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4519 };
4520
4521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4524 arg2 = (int) SWIG_AsInt(obj1);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 {
4527 arg3 = wxString_in_helper(obj2);
4528 if (arg3 == NULL) SWIG_fail;
4529 temp3 = True;
4530 }
4531 if (obj3) {
4532 {
4533 arg4 = &temp4;
4534 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4535 }
4536 }
4537 if (obj4) {
4538 {
4539 arg5 = &temp5;
4540 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4541 }
4542 }
4543 if (obj5) {
4544 arg6 = (long) SWIG_AsLong(obj5);
4545 if (PyErr_Occurred()) SWIG_fail;
4546 }
4547 if (obj6) {
4548 {
4549 arg7 = wxString_in_helper(obj6);
4550 if (arg7 == NULL) SWIG_fail;
4551 temp7 = True;
4552 }
4553 }
4554 {
4555 PyThreadState* __tstate = wxPyBeginAllowThreads();
4556 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4557
4558 wxPyEndAllowThreads(__tstate);
4559 if (PyErr_Occurred()) SWIG_fail;
4560 }
4561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4562 {
4563 if (temp3)
4564 delete arg3;
4565 }
4566 {
4567 if (temp7)
4568 delete arg7;
4569 }
4570 return resultobj;
4571 fail:
4572 {
4573 if (temp3)
4574 delete arg3;
4575 }
4576 {
4577 if (temp7)
4578 delete arg7;
4579 }
4580 return NULL;
4581 }
4582
4583
4584 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4585 PyObject *resultobj;
4586 wxStaticText *result;
4587 char *kwnames[] = {
4588 NULL
4589 };
4590
4591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4592 {
4593 PyThreadState* __tstate = wxPyBeginAllowThreads();
4594 result = (wxStaticText *)new wxStaticText();
4595
4596 wxPyEndAllowThreads(__tstate);
4597 if (PyErr_Occurred()) SWIG_fail;
4598 }
4599 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4600 return resultobj;
4601 fail:
4602 return NULL;
4603 }
4604
4605
4606 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4607 PyObject *resultobj;
4608 wxStaticText *arg1 = (wxStaticText *) 0 ;
4609 wxWindow *arg2 = (wxWindow *) 0 ;
4610 int arg3 ;
4611 wxString *arg4 = 0 ;
4612 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4613 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4614 wxSize const &arg6_defvalue = wxDefaultSize ;
4615 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4616 long arg7 = (long) 0 ;
4617 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4618 wxString *arg8 = (wxString *) &arg8_defvalue ;
4619 bool result;
4620 bool temp4 = False ;
4621 wxPoint temp5 ;
4622 wxSize temp6 ;
4623 bool temp8 = False ;
4624 PyObject * obj0 = 0 ;
4625 PyObject * obj1 = 0 ;
4626 PyObject * obj2 = 0 ;
4627 PyObject * obj3 = 0 ;
4628 PyObject * obj4 = 0 ;
4629 PyObject * obj5 = 0 ;
4630 PyObject * obj6 = 0 ;
4631 PyObject * obj7 = 0 ;
4632 char *kwnames[] = {
4633 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4634 };
4635
4636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
4638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4639 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4641 arg3 = (int) SWIG_AsInt(obj2);
4642 if (PyErr_Occurred()) SWIG_fail;
4643 {
4644 arg4 = wxString_in_helper(obj3);
4645 if (arg4 == NULL) SWIG_fail;
4646 temp4 = True;
4647 }
4648 if (obj4) {
4649 {
4650 arg5 = &temp5;
4651 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4652 }
4653 }
4654 if (obj5) {
4655 {
4656 arg6 = &temp6;
4657 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4658 }
4659 }
4660 if (obj6) {
4661 arg7 = (long) SWIG_AsLong(obj6);
4662 if (PyErr_Occurred()) SWIG_fail;
4663 }
4664 if (obj7) {
4665 {
4666 arg8 = wxString_in_helper(obj7);
4667 if (arg8 == NULL) SWIG_fail;
4668 temp8 = True;
4669 }
4670 }
4671 {
4672 PyThreadState* __tstate = wxPyBeginAllowThreads();
4673 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4674
4675 wxPyEndAllowThreads(__tstate);
4676 if (PyErr_Occurred()) SWIG_fail;
4677 }
4678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4679 {
4680 if (temp4)
4681 delete arg4;
4682 }
4683 {
4684 if (temp8)
4685 delete arg8;
4686 }
4687 return resultobj;
4688 fail:
4689 {
4690 if (temp4)
4691 delete arg4;
4692 }
4693 {
4694 if (temp8)
4695 delete arg8;
4696 }
4697 return NULL;
4698 }
4699
4700
4701 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4702 PyObject *obj;
4703 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4704 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4705 Py_INCREF(obj);
4706 return Py_BuildValue((char *)"");
4707 }
4708 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4709 PyObject *resultobj;
4710 wxWindow *arg1 = (wxWindow *) 0 ;
4711 int arg2 ;
4712 wxBitmap *arg3 = 0 ;
4713 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4714 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4715 wxSize const &arg5_defvalue = wxDefaultSize ;
4716 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4717 long arg6 = (long) 0 ;
4718 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4719 wxString *arg7 = (wxString *) &arg7_defvalue ;
4720 wxStaticBitmap *result;
4721 wxPoint temp4 ;
4722 wxSize temp5 ;
4723 bool temp7 = False ;
4724 PyObject * obj0 = 0 ;
4725 PyObject * obj1 = 0 ;
4726 PyObject * obj2 = 0 ;
4727 PyObject * obj3 = 0 ;
4728 PyObject * obj4 = 0 ;
4729 PyObject * obj5 = 0 ;
4730 PyObject * obj6 = 0 ;
4731 char *kwnames[] = {
4732 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4733 };
4734
4735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4738 arg2 = (int) SWIG_AsInt(obj1);
4739 if (PyErr_Occurred()) SWIG_fail;
4740 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
4741 SWIG_POINTER_EXCEPTION | 0)) == -1)
4742 SWIG_fail;
4743 if (arg3 == NULL) {
4744 PyErr_SetString(PyExc_TypeError,"null reference");
4745 SWIG_fail;
4746 }
4747 if (obj3) {
4748 {
4749 arg4 = &temp4;
4750 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4751 }
4752 }
4753 if (obj4) {
4754 {
4755 arg5 = &temp5;
4756 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4757 }
4758 }
4759 if (obj5) {
4760 arg6 = (long) SWIG_AsLong(obj5);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 if (obj6) {
4764 {
4765 arg7 = wxString_in_helper(obj6);
4766 if (arg7 == NULL) SWIG_fail;
4767 temp7 = True;
4768 }
4769 }
4770 {
4771 PyThreadState* __tstate = wxPyBeginAllowThreads();
4772 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4773
4774 wxPyEndAllowThreads(__tstate);
4775 if (PyErr_Occurred()) SWIG_fail;
4776 }
4777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4778 {
4779 if (temp7)
4780 delete arg7;
4781 }
4782 return resultobj;
4783 fail:
4784 {
4785 if (temp7)
4786 delete arg7;
4787 }
4788 return NULL;
4789 }
4790
4791
4792 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4793 PyObject *resultobj;
4794 wxStaticBitmap *result;
4795 char *kwnames[] = {
4796 NULL
4797 };
4798
4799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4800 {
4801 PyThreadState* __tstate = wxPyBeginAllowThreads();
4802 result = (wxStaticBitmap *)new wxStaticBitmap();
4803
4804 wxPyEndAllowThreads(__tstate);
4805 if (PyErr_Occurred()) SWIG_fail;
4806 }
4807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4808 return resultobj;
4809 fail:
4810 return NULL;
4811 }
4812
4813
4814 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4815 PyObject *resultobj;
4816 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4817 wxWindow *arg2 = (wxWindow *) 0 ;
4818 int arg3 ;
4819 wxBitmap *arg4 = 0 ;
4820 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4821 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4822 wxSize const &arg6_defvalue = wxDefaultSize ;
4823 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4824 long arg7 = (long) 0 ;
4825 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4826 wxString *arg8 = (wxString *) &arg8_defvalue ;
4827 bool result;
4828 wxPoint temp5 ;
4829 wxSize temp6 ;
4830 bool temp8 = False ;
4831 PyObject * obj0 = 0 ;
4832 PyObject * obj1 = 0 ;
4833 PyObject * obj2 = 0 ;
4834 PyObject * obj3 = 0 ;
4835 PyObject * obj4 = 0 ;
4836 PyObject * obj5 = 0 ;
4837 PyObject * obj6 = 0 ;
4838 PyObject * obj7 = 0 ;
4839 char *kwnames[] = {
4840 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4841 };
4842
4843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4846 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4848 arg3 = (int) SWIG_AsInt(obj2);
4849 if (PyErr_Occurred()) SWIG_fail;
4850 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
4851 SWIG_POINTER_EXCEPTION | 0)) == -1)
4852 SWIG_fail;
4853 if (arg4 == NULL) {
4854 PyErr_SetString(PyExc_TypeError,"null reference");
4855 SWIG_fail;
4856 }
4857 if (obj4) {
4858 {
4859 arg5 = &temp5;
4860 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4861 }
4862 }
4863 if (obj5) {
4864 {
4865 arg6 = &temp6;
4866 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4867 }
4868 }
4869 if (obj6) {
4870 arg7 = (long) SWIG_AsLong(obj6);
4871 if (PyErr_Occurred()) SWIG_fail;
4872 }
4873 if (obj7) {
4874 {
4875 arg8 = wxString_in_helper(obj7);
4876 if (arg8 == NULL) SWIG_fail;
4877 temp8 = True;
4878 }
4879 }
4880 {
4881 PyThreadState* __tstate = wxPyBeginAllowThreads();
4882 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4883
4884 wxPyEndAllowThreads(__tstate);
4885 if (PyErr_Occurred()) SWIG_fail;
4886 }
4887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4888 {
4889 if (temp8)
4890 delete arg8;
4891 }
4892 return resultobj;
4893 fail:
4894 {
4895 if (temp8)
4896 delete arg8;
4897 }
4898 return NULL;
4899 }
4900
4901
4902 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4903 PyObject *resultobj;
4904 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4905 wxBitmap result;
4906 PyObject * obj0 = 0 ;
4907 char *kwnames[] = {
4908 (char *) "self", NULL
4909 };
4910
4911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4914 {
4915 PyThreadState* __tstate = wxPyBeginAllowThreads();
4916 result = (arg1)->GetBitmap();
4917
4918 wxPyEndAllowThreads(__tstate);
4919 if (PyErr_Occurred()) SWIG_fail;
4920 }
4921 {
4922 wxBitmap * resultptr;
4923 resultptr = new wxBitmap((wxBitmap &) result);
4924 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4925 }
4926 return resultobj;
4927 fail:
4928 return NULL;
4929 }
4930
4931
4932 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4933 PyObject *resultobj;
4934 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4935 wxBitmap *arg2 = 0 ;
4936 PyObject * obj0 = 0 ;
4937 PyObject * obj1 = 0 ;
4938 char *kwnames[] = {
4939 (char *) "self",(char *) "bitmap", NULL
4940 };
4941
4942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4945 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4946 SWIG_POINTER_EXCEPTION | 0)) == -1)
4947 SWIG_fail;
4948 if (arg2 == NULL) {
4949 PyErr_SetString(PyExc_TypeError,"null reference");
4950 SWIG_fail;
4951 }
4952 {
4953 PyThreadState* __tstate = wxPyBeginAllowThreads();
4954 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4955
4956 wxPyEndAllowThreads(__tstate);
4957 if (PyErr_Occurred()) SWIG_fail;
4958 }
4959 Py_INCREF(Py_None); resultobj = Py_None;
4960 return resultobj;
4961 fail:
4962 return NULL;
4963 }
4964
4965
4966 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4967 PyObject *resultobj;
4968 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4969 wxIcon *arg2 = 0 ;
4970 PyObject * obj0 = 0 ;
4971 PyObject * obj1 = 0 ;
4972 char *kwnames[] = {
4973 (char *) "self",(char *) "icon", NULL
4974 };
4975
4976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4979 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
4980 SWIG_POINTER_EXCEPTION | 0)) == -1)
4981 SWIG_fail;
4982 if (arg2 == NULL) {
4983 PyErr_SetString(PyExc_TypeError,"null reference");
4984 SWIG_fail;
4985 }
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 (arg1)->SetIcon((wxIcon const &)*arg2);
4989
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 Py_INCREF(Py_None); resultobj = Py_None;
4994 return resultobj;
4995 fail:
4996 return NULL;
4997 }
4998
4999
5000 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
5001 PyObject *obj;
5002 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5003 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5004 Py_INCREF(obj);
5005 return Py_BuildValue((char *)"");
5006 }
5007 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
5008 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5009 return 1;
5010 }
5011
5012
5013 static PyObject *_wrap_ListBoxNameStr_get() {
5014 PyObject *pyobj;
5015
5016 {
5017 #if wxUSE_UNICODE
5018 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5019 #else
5020 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5021 #endif
5022 }
5023 return pyobj;
5024 }
5025
5026
5027 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5028 PyObject *resultobj;
5029 wxWindow *arg1 = (wxWindow *) 0 ;
5030 int arg2 ;
5031 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5032 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5033 wxSize const &arg4_defvalue = wxDefaultSize ;
5034 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5035 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5036 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5037 long arg6 = (long) 0 ;
5038 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5039 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5040 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5041 wxString *arg8 = (wxString *) &arg8_defvalue ;
5042 wxListBox *result;
5043 wxPoint temp3 ;
5044 wxSize temp4 ;
5045 bool temp5 = False ;
5046 bool temp8 = False ;
5047 PyObject * obj0 = 0 ;
5048 PyObject * obj1 = 0 ;
5049 PyObject * obj2 = 0 ;
5050 PyObject * obj3 = 0 ;
5051 PyObject * obj4 = 0 ;
5052 PyObject * obj5 = 0 ;
5053 PyObject * obj6 = 0 ;
5054 PyObject * obj7 = 0 ;
5055 char *kwnames[] = {
5056 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5057 };
5058
5059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5062 arg2 = (int) SWIG_AsInt(obj1);
5063 if (PyErr_Occurred()) SWIG_fail;
5064 if (obj2) {
5065 {
5066 arg3 = &temp3;
5067 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5068 }
5069 }
5070 if (obj3) {
5071 {
5072 arg4 = &temp4;
5073 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5074 }
5075 }
5076 if (obj4) {
5077 {
5078 if (! PySequence_Check(obj4)) {
5079 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5080 SWIG_fail;
5081 }
5082 arg5 = new wxArrayString;
5083 temp5 = True;
5084 int i, len=PySequence_Length(obj4);
5085 for (i=0; i<len; i++) {
5086 PyObject* item = PySequence_GetItem(obj4, i);
5087 #if wxUSE_UNICODE
5088 PyObject* str = PyObject_Unicode(item);
5089 #else
5090 PyObject* str = PyObject_Str(item);
5091 #endif
5092 arg5->Add(Py2wxString(str));
5093 Py_DECREF(item);
5094 Py_DECREF(str);
5095 }
5096 }
5097 }
5098 if (obj5) {
5099 arg6 = (long) SWIG_AsLong(obj5);
5100 if (PyErr_Occurred()) SWIG_fail;
5101 }
5102 if (obj6) {
5103 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5104 SWIG_POINTER_EXCEPTION | 0)) == -1)
5105 SWIG_fail;
5106 if (arg7 == NULL) {
5107 PyErr_SetString(PyExc_TypeError,"null reference");
5108 SWIG_fail;
5109 }
5110 }
5111 if (obj7) {
5112 {
5113 arg8 = wxString_in_helper(obj7);
5114 if (arg8 == NULL) SWIG_fail;
5115 temp8 = True;
5116 }
5117 }
5118 {
5119 PyThreadState* __tstate = wxPyBeginAllowThreads();
5120 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5121
5122 wxPyEndAllowThreads(__tstate);
5123 if (PyErr_Occurred()) SWIG_fail;
5124 }
5125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5126 {
5127 if (temp5) delete arg5;
5128 }
5129 {
5130 if (temp8)
5131 delete arg8;
5132 }
5133 return resultobj;
5134 fail:
5135 {
5136 if (temp5) delete arg5;
5137 }
5138 {
5139 if (temp8)
5140 delete arg8;
5141 }
5142 return NULL;
5143 }
5144
5145
5146 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5147 PyObject *resultobj;
5148 wxListBox *result;
5149 char *kwnames[] = {
5150 NULL
5151 };
5152
5153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5154 {
5155 PyThreadState* __tstate = wxPyBeginAllowThreads();
5156 result = (wxListBox *)new wxListBox();
5157
5158 wxPyEndAllowThreads(__tstate);
5159 if (PyErr_Occurred()) SWIG_fail;
5160 }
5161 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5162 return resultobj;
5163 fail:
5164 return NULL;
5165 }
5166
5167
5168 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5169 PyObject *resultobj;
5170 wxListBox *arg1 = (wxListBox *) 0 ;
5171 wxWindow *arg2 = (wxWindow *) 0 ;
5172 int arg3 ;
5173 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5174 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5175 wxSize const &arg5_defvalue = wxDefaultSize ;
5176 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5177 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5178 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5179 long arg7 = (long) 0 ;
5180 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5181 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5182 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5183 wxString *arg9 = (wxString *) &arg9_defvalue ;
5184 bool result;
5185 wxPoint temp4 ;
5186 wxSize temp5 ;
5187 bool temp6 = False ;
5188 bool temp9 = False ;
5189 PyObject * obj0 = 0 ;
5190 PyObject * obj1 = 0 ;
5191 PyObject * obj2 = 0 ;
5192 PyObject * obj3 = 0 ;
5193 PyObject * obj4 = 0 ;
5194 PyObject * obj5 = 0 ;
5195 PyObject * obj6 = 0 ;
5196 PyObject * obj7 = 0 ;
5197 PyObject * obj8 = 0 ;
5198 char *kwnames[] = {
5199 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5200 };
5201
5202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5207 arg3 = (int) SWIG_AsInt(obj2);
5208 if (PyErr_Occurred()) SWIG_fail;
5209 if (obj3) {
5210 {
5211 arg4 = &temp4;
5212 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5213 }
5214 }
5215 if (obj4) {
5216 {
5217 arg5 = &temp5;
5218 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5219 }
5220 }
5221 if (obj5) {
5222 {
5223 if (! PySequence_Check(obj5)) {
5224 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5225 SWIG_fail;
5226 }
5227 arg6 = new wxArrayString;
5228 temp6 = True;
5229 int i, len=PySequence_Length(obj5);
5230 for (i=0; i<len; i++) {
5231 PyObject* item = PySequence_GetItem(obj5, i);
5232 #if wxUSE_UNICODE
5233 PyObject* str = PyObject_Unicode(item);
5234 #else
5235 PyObject* str = PyObject_Str(item);
5236 #endif
5237 arg6->Add(Py2wxString(str));
5238 Py_DECREF(item);
5239 Py_DECREF(str);
5240 }
5241 }
5242 }
5243 if (obj6) {
5244 arg7 = (long) SWIG_AsLong(obj6);
5245 if (PyErr_Occurred()) SWIG_fail;
5246 }
5247 if (obj7) {
5248 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5249 SWIG_POINTER_EXCEPTION | 0)) == -1)
5250 SWIG_fail;
5251 if (arg8 == NULL) {
5252 PyErr_SetString(PyExc_TypeError,"null reference");
5253 SWIG_fail;
5254 }
5255 }
5256 if (obj8) {
5257 {
5258 arg9 = wxString_in_helper(obj8);
5259 if (arg9 == NULL) SWIG_fail;
5260 temp9 = True;
5261 }
5262 }
5263 {
5264 PyThreadState* __tstate = wxPyBeginAllowThreads();
5265 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5266
5267 wxPyEndAllowThreads(__tstate);
5268 if (PyErr_Occurred()) SWIG_fail;
5269 }
5270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5271 {
5272 if (temp6) delete arg6;
5273 }
5274 {
5275 if (temp9)
5276 delete arg9;
5277 }
5278 return resultobj;
5279 fail:
5280 {
5281 if (temp6) delete arg6;
5282 }
5283 {
5284 if (temp9)
5285 delete arg9;
5286 }
5287 return NULL;
5288 }
5289
5290
5291 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5292 PyObject *resultobj;
5293 wxListBox *arg1 = (wxListBox *) 0 ;
5294 wxString *arg2 = 0 ;
5295 int arg3 ;
5296 PyObject *arg4 = (PyObject *) NULL ;
5297 bool temp2 = False ;
5298 PyObject * obj0 = 0 ;
5299 PyObject * obj1 = 0 ;
5300 PyObject * obj2 = 0 ;
5301 PyObject * obj3 = 0 ;
5302 char *kwnames[] = {
5303 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5304 };
5305
5306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5309 {
5310 arg2 = wxString_in_helper(obj1);
5311 if (arg2 == NULL) SWIG_fail;
5312 temp2 = True;
5313 }
5314 arg3 = (int) SWIG_AsInt(obj2);
5315 if (PyErr_Occurred()) SWIG_fail;
5316 if (obj3) {
5317 arg4 = obj3;
5318 }
5319 {
5320 PyThreadState* __tstate = wxPyBeginAllowThreads();
5321 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5322
5323 wxPyEndAllowThreads(__tstate);
5324 if (PyErr_Occurred()) SWIG_fail;
5325 }
5326 Py_INCREF(Py_None); resultobj = Py_None;
5327 {
5328 if (temp2)
5329 delete arg2;
5330 }
5331 return resultobj;
5332 fail:
5333 {
5334 if (temp2)
5335 delete arg2;
5336 }
5337 return NULL;
5338 }
5339
5340
5341 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5342 PyObject *resultobj;
5343 wxListBox *arg1 = (wxListBox *) 0 ;
5344 wxArrayString *arg2 = 0 ;
5345 int arg3 ;
5346 bool temp2 = False ;
5347 PyObject * obj0 = 0 ;
5348 PyObject * obj1 = 0 ;
5349 PyObject * obj2 = 0 ;
5350 char *kwnames[] = {
5351 (char *) "self",(char *) "items",(char *) "pos", NULL
5352 };
5353
5354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5357 {
5358 if (! PySequence_Check(obj1)) {
5359 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5360 SWIG_fail;
5361 }
5362 arg2 = new wxArrayString;
5363 temp2 = True;
5364 int i, len=PySequence_Length(obj1);
5365 for (i=0; i<len; i++) {
5366 PyObject* item = PySequence_GetItem(obj1, i);
5367 #if wxUSE_UNICODE
5368 PyObject* str = PyObject_Unicode(item);
5369 #else
5370 PyObject* str = PyObject_Str(item);
5371 #endif
5372 arg2->Add(Py2wxString(str));
5373 Py_DECREF(item);
5374 Py_DECREF(str);
5375 }
5376 }
5377 arg3 = (int) SWIG_AsInt(obj2);
5378 if (PyErr_Occurred()) SWIG_fail;
5379 {
5380 PyThreadState* __tstate = wxPyBeginAllowThreads();
5381 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5382
5383 wxPyEndAllowThreads(__tstate);
5384 if (PyErr_Occurred()) SWIG_fail;
5385 }
5386 Py_INCREF(Py_None); resultobj = Py_None;
5387 {
5388 if (temp2) delete arg2;
5389 }
5390 return resultobj;
5391 fail:
5392 {
5393 if (temp2) delete arg2;
5394 }
5395 return NULL;
5396 }
5397
5398
5399 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5400 PyObject *resultobj;
5401 wxListBox *arg1 = (wxListBox *) 0 ;
5402 wxArrayString *arg2 = 0 ;
5403 bool temp2 = False ;
5404 PyObject * obj0 = 0 ;
5405 PyObject * obj1 = 0 ;
5406 char *kwnames[] = {
5407 (char *) "self",(char *) "items", NULL
5408 };
5409
5410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5413 {
5414 if (! PySequence_Check(obj1)) {
5415 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5416 SWIG_fail;
5417 }
5418 arg2 = new wxArrayString;
5419 temp2 = True;
5420 int i, len=PySequence_Length(obj1);
5421 for (i=0; i<len; i++) {
5422 PyObject* item = PySequence_GetItem(obj1, i);
5423 #if wxUSE_UNICODE
5424 PyObject* str = PyObject_Unicode(item);
5425 #else
5426 PyObject* str = PyObject_Str(item);
5427 #endif
5428 arg2->Add(Py2wxString(str));
5429 Py_DECREF(item);
5430 Py_DECREF(str);
5431 }
5432 }
5433 {
5434 PyThreadState* __tstate = wxPyBeginAllowThreads();
5435 (arg1)->Set((wxArrayString const &)*arg2);
5436
5437 wxPyEndAllowThreads(__tstate);
5438 if (PyErr_Occurred()) SWIG_fail;
5439 }
5440 Py_INCREF(Py_None); resultobj = Py_None;
5441 {
5442 if (temp2) delete arg2;
5443 }
5444 return resultobj;
5445 fail:
5446 {
5447 if (temp2) delete arg2;
5448 }
5449 return NULL;
5450 }
5451
5452
5453 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5454 PyObject *resultobj;
5455 wxListBox *arg1 = (wxListBox *) 0 ;
5456 int arg2 ;
5457 bool result;
5458 PyObject * obj0 = 0 ;
5459 PyObject * obj1 = 0 ;
5460 char *kwnames[] = {
5461 (char *) "self",(char *) "n", NULL
5462 };
5463
5464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
5465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5467 arg2 = (int) SWIG_AsInt(obj1);
5468 if (PyErr_Occurred()) SWIG_fail;
5469 {
5470 PyThreadState* __tstate = wxPyBeginAllowThreads();
5471 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5472
5473 wxPyEndAllowThreads(__tstate);
5474 if (PyErr_Occurred()) SWIG_fail;
5475 }
5476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5477 return resultobj;
5478 fail:
5479 return NULL;
5480 }
5481
5482
5483 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5484 PyObject *resultobj;
5485 wxListBox *arg1 = (wxListBox *) 0 ;
5486 int arg2 ;
5487 bool arg3 = (bool) True ;
5488 PyObject * obj0 = 0 ;
5489 PyObject * obj1 = 0 ;
5490 PyObject * obj2 = 0 ;
5491 char *kwnames[] = {
5492 (char *) "self",(char *) "n",(char *) "select", NULL
5493 };
5494
5495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5498 arg2 = (int) SWIG_AsInt(obj1);
5499 if (PyErr_Occurred()) SWIG_fail;
5500 if (obj2) {
5501 arg3 = (bool) SWIG_AsBool(obj2);
5502 if (PyErr_Occurred()) SWIG_fail;
5503 }
5504 {
5505 PyThreadState* __tstate = wxPyBeginAllowThreads();
5506 (arg1)->SetSelection(arg2,arg3);
5507
5508 wxPyEndAllowThreads(__tstate);
5509 if (PyErr_Occurred()) SWIG_fail;
5510 }
5511 Py_INCREF(Py_None); resultobj = Py_None;
5512 return resultobj;
5513 fail:
5514 return NULL;
5515 }
5516
5517
5518 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5519 PyObject *resultobj;
5520 wxListBox *arg1 = (wxListBox *) 0 ;
5521 int arg2 ;
5522 PyObject * obj0 = 0 ;
5523 PyObject * obj1 = 0 ;
5524 char *kwnames[] = {
5525 (char *) "self",(char *) "n", NULL
5526 };
5527
5528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
5529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5531 arg2 = (int) SWIG_AsInt(obj1);
5532 if (PyErr_Occurred()) SWIG_fail;
5533 {
5534 PyThreadState* __tstate = wxPyBeginAllowThreads();
5535 (arg1)->Select(arg2);
5536
5537 wxPyEndAllowThreads(__tstate);
5538 if (PyErr_Occurred()) SWIG_fail;
5539 }
5540 Py_INCREF(Py_None); resultobj = Py_None;
5541 return resultobj;
5542 fail:
5543 return NULL;
5544 }
5545
5546
5547 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5548 PyObject *resultobj;
5549 wxListBox *arg1 = (wxListBox *) 0 ;
5550 int arg2 ;
5551 PyObject * obj0 = 0 ;
5552 PyObject * obj1 = 0 ;
5553 char *kwnames[] = {
5554 (char *) "self",(char *) "n", NULL
5555 };
5556
5557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
5558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5560 arg2 = (int) SWIG_AsInt(obj1);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 {
5563 PyThreadState* __tstate = wxPyBeginAllowThreads();
5564 (arg1)->Deselect(arg2);
5565
5566 wxPyEndAllowThreads(__tstate);
5567 if (PyErr_Occurred()) SWIG_fail;
5568 }
5569 Py_INCREF(Py_None); resultobj = Py_None;
5570 return resultobj;
5571 fail:
5572 return NULL;
5573 }
5574
5575
5576 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5577 PyObject *resultobj;
5578 wxListBox *arg1 = (wxListBox *) 0 ;
5579 int arg2 = (int) -1 ;
5580 PyObject * obj0 = 0 ;
5581 PyObject * obj1 = 0 ;
5582 char *kwnames[] = {
5583 (char *) "self",(char *) "itemToLeaveSelected", NULL
5584 };
5585
5586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
5587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5589 if (obj1) {
5590 arg2 = (int) SWIG_AsInt(obj1);
5591 if (PyErr_Occurred()) SWIG_fail;
5592 }
5593 {
5594 PyThreadState* __tstate = wxPyBeginAllowThreads();
5595 (arg1)->DeselectAll(arg2);
5596
5597 wxPyEndAllowThreads(__tstate);
5598 if (PyErr_Occurred()) SWIG_fail;
5599 }
5600 Py_INCREF(Py_None); resultobj = Py_None;
5601 return resultobj;
5602 fail:
5603 return NULL;
5604 }
5605
5606
5607 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5608 PyObject *resultobj;
5609 wxListBox *arg1 = (wxListBox *) 0 ;
5610 wxString *arg2 = 0 ;
5611 bool arg3 = (bool) True ;
5612 bool result;
5613 bool temp2 = False ;
5614 PyObject * obj0 = 0 ;
5615 PyObject * obj1 = 0 ;
5616 PyObject * obj2 = 0 ;
5617 char *kwnames[] = {
5618 (char *) "self",(char *) "s",(char *) "select", NULL
5619 };
5620
5621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5624 {
5625 arg2 = wxString_in_helper(obj1);
5626 if (arg2 == NULL) SWIG_fail;
5627 temp2 = True;
5628 }
5629 if (obj2) {
5630 arg3 = (bool) SWIG_AsBool(obj2);
5631 if (PyErr_Occurred()) SWIG_fail;
5632 }
5633 {
5634 PyThreadState* __tstate = wxPyBeginAllowThreads();
5635 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5636
5637 wxPyEndAllowThreads(__tstate);
5638 if (PyErr_Occurred()) SWIG_fail;
5639 }
5640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5641 {
5642 if (temp2)
5643 delete arg2;
5644 }
5645 return resultobj;
5646 fail:
5647 {
5648 if (temp2)
5649 delete arg2;
5650 }
5651 return NULL;
5652 }
5653
5654
5655 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5656 PyObject *resultobj;
5657 wxListBox *arg1 = (wxListBox *) 0 ;
5658 PyObject *result;
5659 PyObject * obj0 = 0 ;
5660 char *kwnames[] = {
5661 (char *) "self", NULL
5662 };
5663
5664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5667 {
5668 PyThreadState* __tstate = wxPyBeginAllowThreads();
5669 result = (PyObject *)wxListBox_GetSelections(arg1);
5670
5671 wxPyEndAllowThreads(__tstate);
5672 if (PyErr_Occurred()) SWIG_fail;
5673 }
5674 resultobj = result;
5675 return resultobj;
5676 fail:
5677 return NULL;
5678 }
5679
5680
5681 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5682 PyObject *resultobj;
5683 wxListBox *arg1 = (wxListBox *) 0 ;
5684 int arg2 ;
5685 PyObject * obj0 = 0 ;
5686 PyObject * obj1 = 0 ;
5687 char *kwnames[] = {
5688 (char *) "self",(char *) "n", NULL
5689 };
5690
5691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
5692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5694 arg2 = (int) SWIG_AsInt(obj1);
5695 if (PyErr_Occurred()) SWIG_fail;
5696 {
5697 PyThreadState* __tstate = wxPyBeginAllowThreads();
5698 (arg1)->SetFirstItem(arg2);
5699
5700 wxPyEndAllowThreads(__tstate);
5701 if (PyErr_Occurred()) SWIG_fail;
5702 }
5703 Py_INCREF(Py_None); resultobj = Py_None;
5704 return resultobj;
5705 fail:
5706 return NULL;
5707 }
5708
5709
5710 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5711 PyObject *resultobj;
5712 wxListBox *arg1 = (wxListBox *) 0 ;
5713 wxString *arg2 = 0 ;
5714 bool temp2 = False ;
5715 PyObject * obj0 = 0 ;
5716 PyObject * obj1 = 0 ;
5717 char *kwnames[] = {
5718 (char *) "self",(char *) "s", NULL
5719 };
5720
5721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5724 {
5725 arg2 = wxString_in_helper(obj1);
5726 if (arg2 == NULL) SWIG_fail;
5727 temp2 = True;
5728 }
5729 {
5730 PyThreadState* __tstate = wxPyBeginAllowThreads();
5731 (arg1)->SetFirstItem((wxString const &)*arg2);
5732
5733 wxPyEndAllowThreads(__tstate);
5734 if (PyErr_Occurred()) SWIG_fail;
5735 }
5736 Py_INCREF(Py_None); resultobj = Py_None;
5737 {
5738 if (temp2)
5739 delete arg2;
5740 }
5741 return resultobj;
5742 fail:
5743 {
5744 if (temp2)
5745 delete arg2;
5746 }
5747 return NULL;
5748 }
5749
5750
5751 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5752 PyObject *resultobj;
5753 wxListBox *arg1 = (wxListBox *) 0 ;
5754 int arg2 ;
5755 PyObject * obj0 = 0 ;
5756 PyObject * obj1 = 0 ;
5757 char *kwnames[] = {
5758 (char *) "self",(char *) "n", NULL
5759 };
5760
5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5764 arg2 = (int) SWIG_AsInt(obj1);
5765 if (PyErr_Occurred()) SWIG_fail;
5766 {
5767 PyThreadState* __tstate = wxPyBeginAllowThreads();
5768 (arg1)->EnsureVisible(arg2);
5769
5770 wxPyEndAllowThreads(__tstate);
5771 if (PyErr_Occurred()) SWIG_fail;
5772 }
5773 Py_INCREF(Py_None); resultobj = Py_None;
5774 return resultobj;
5775 fail:
5776 return NULL;
5777 }
5778
5779
5780 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5781 PyObject *resultobj;
5782 wxListBox *arg1 = (wxListBox *) 0 ;
5783 wxString *arg2 = 0 ;
5784 bool temp2 = False ;
5785 PyObject * obj0 = 0 ;
5786 PyObject * obj1 = 0 ;
5787 char *kwnames[] = {
5788 (char *) "self",(char *) "s", NULL
5789 };
5790
5791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5794 {
5795 arg2 = wxString_in_helper(obj1);
5796 if (arg2 == NULL) SWIG_fail;
5797 temp2 = True;
5798 }
5799 {
5800 PyThreadState* __tstate = wxPyBeginAllowThreads();
5801 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5802
5803 wxPyEndAllowThreads(__tstate);
5804 if (PyErr_Occurred()) SWIG_fail;
5805 }
5806 Py_INCREF(Py_None); resultobj = Py_None;
5807 {
5808 if (temp2)
5809 delete arg2;
5810 }
5811 return resultobj;
5812 fail:
5813 {
5814 if (temp2)
5815 delete arg2;
5816 }
5817 return NULL;
5818 }
5819
5820
5821 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5822 PyObject *resultobj;
5823 wxListBox *arg1 = (wxListBox *) 0 ;
5824 bool result;
5825 PyObject * obj0 = 0 ;
5826 char *kwnames[] = {
5827 (char *) "self", NULL
5828 };
5829
5830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5833 {
5834 PyThreadState* __tstate = wxPyBeginAllowThreads();
5835 result = (bool)((wxListBox const *)arg1)->IsSorted();
5836
5837 wxPyEndAllowThreads(__tstate);
5838 if (PyErr_Occurred()) SWIG_fail;
5839 }
5840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5841 return resultobj;
5842 fail:
5843 return NULL;
5844 }
5845
5846
5847 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5848 PyObject *resultobj;
5849 wxListBox *arg1 = (wxListBox *) 0 ;
5850 int arg2 ;
5851 wxColour *arg3 = 0 ;
5852 wxColour temp3 ;
5853 PyObject * obj0 = 0 ;
5854 PyObject * obj1 = 0 ;
5855 PyObject * obj2 = 0 ;
5856 char *kwnames[] = {
5857 (char *) "self",(char *) "item",(char *) "c", NULL
5858 };
5859
5860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5863 arg2 = (int) SWIG_AsInt(obj1);
5864 if (PyErr_Occurred()) SWIG_fail;
5865 {
5866 arg3 = &temp3;
5867 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5868 }
5869 {
5870 PyThreadState* __tstate = wxPyBeginAllowThreads();
5871 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
5872
5873 wxPyEndAllowThreads(__tstate);
5874 if (PyErr_Occurred()) SWIG_fail;
5875 }
5876 Py_INCREF(Py_None); resultobj = Py_None;
5877 return resultobj;
5878 fail:
5879 return NULL;
5880 }
5881
5882
5883 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5884 PyObject *resultobj;
5885 wxListBox *arg1 = (wxListBox *) 0 ;
5886 int arg2 ;
5887 wxColour *arg3 = 0 ;
5888 wxColour temp3 ;
5889 PyObject * obj0 = 0 ;
5890 PyObject * obj1 = 0 ;
5891 PyObject * obj2 = 0 ;
5892 char *kwnames[] = {
5893 (char *) "self",(char *) "item",(char *) "c", NULL
5894 };
5895
5896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5899 arg2 = (int) SWIG_AsInt(obj1);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 {
5902 arg3 = &temp3;
5903 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5904 }
5905 {
5906 PyThreadState* __tstate = wxPyBeginAllowThreads();
5907 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
5908
5909 wxPyEndAllowThreads(__tstate);
5910 if (PyErr_Occurred()) SWIG_fail;
5911 }
5912 Py_INCREF(Py_None); resultobj = Py_None;
5913 return resultobj;
5914 fail:
5915 return NULL;
5916 }
5917
5918
5919 static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5920 PyObject *resultobj;
5921 wxListBox *arg1 = (wxListBox *) 0 ;
5922 int arg2 ;
5923 wxFont *arg3 = 0 ;
5924 PyObject * obj0 = 0 ;
5925 PyObject * obj1 = 0 ;
5926 PyObject * obj2 = 0 ;
5927 char *kwnames[] = {
5928 (char *) "self",(char *) "item",(char *) "f", NULL
5929 };
5930
5931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
5932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5934 arg2 = (int) SWIG_AsInt(obj1);
5935 if (PyErr_Occurred()) SWIG_fail;
5936 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
5937 SWIG_POINTER_EXCEPTION | 0)) == -1)
5938 SWIG_fail;
5939 if (arg3 == NULL) {
5940 PyErr_SetString(PyExc_TypeError,"null reference");
5941 SWIG_fail;
5942 }
5943 {
5944 PyThreadState* __tstate = wxPyBeginAllowThreads();
5945 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
5946
5947 wxPyEndAllowThreads(__tstate);
5948 if (PyErr_Occurred()) SWIG_fail;
5949 }
5950 Py_INCREF(Py_None); resultobj = Py_None;
5951 return resultobj;
5952 fail:
5953 return NULL;
5954 }
5955
5956
5957 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5958 PyObject *obj;
5959 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5960 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5961 Py_INCREF(obj);
5962 return Py_BuildValue((char *)"");
5963 }
5964 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5965 PyObject *resultobj;
5966 wxWindow *arg1 = (wxWindow *) 0 ;
5967 int arg2 ;
5968 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5969 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5970 wxSize const &arg4_defvalue = wxDefaultSize ;
5971 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5972 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5973 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5974 long arg6 = (long) 0 ;
5975 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5976 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5977 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5978 wxString *arg8 = (wxString *) &arg8_defvalue ;
5979 wxCheckListBox *result;
5980 wxPoint temp3 ;
5981 wxSize temp4 ;
5982 bool temp5 = False ;
5983 bool temp8 = False ;
5984 PyObject * obj0 = 0 ;
5985 PyObject * obj1 = 0 ;
5986 PyObject * obj2 = 0 ;
5987 PyObject * obj3 = 0 ;
5988 PyObject * obj4 = 0 ;
5989 PyObject * obj5 = 0 ;
5990 PyObject * obj6 = 0 ;
5991 PyObject * obj7 = 0 ;
5992 char *kwnames[] = {
5993 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5994 };
5995
5996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5999 arg2 = (int) SWIG_AsInt(obj1);
6000 if (PyErr_Occurred()) SWIG_fail;
6001 if (obj2) {
6002 {
6003 arg3 = &temp3;
6004 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6005 }
6006 }
6007 if (obj3) {
6008 {
6009 arg4 = &temp4;
6010 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6011 }
6012 }
6013 if (obj4) {
6014 {
6015 if (! PySequence_Check(obj4)) {
6016 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6017 SWIG_fail;
6018 }
6019 arg5 = new wxArrayString;
6020 temp5 = True;
6021 int i, len=PySequence_Length(obj4);
6022 for (i=0; i<len; i++) {
6023 PyObject* item = PySequence_GetItem(obj4, i);
6024 #if wxUSE_UNICODE
6025 PyObject* str = PyObject_Unicode(item);
6026 #else
6027 PyObject* str = PyObject_Str(item);
6028 #endif
6029 arg5->Add(Py2wxString(str));
6030 Py_DECREF(item);
6031 Py_DECREF(str);
6032 }
6033 }
6034 }
6035 if (obj5) {
6036 arg6 = (long) SWIG_AsLong(obj5);
6037 if (PyErr_Occurred()) SWIG_fail;
6038 }
6039 if (obj6) {
6040 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6041 SWIG_POINTER_EXCEPTION | 0)) == -1)
6042 SWIG_fail;
6043 if (arg7 == NULL) {
6044 PyErr_SetString(PyExc_TypeError,"null reference");
6045 SWIG_fail;
6046 }
6047 }
6048 if (obj7) {
6049 {
6050 arg8 = wxString_in_helper(obj7);
6051 if (arg8 == NULL) SWIG_fail;
6052 temp8 = True;
6053 }
6054 }
6055 {
6056 PyThreadState* __tstate = wxPyBeginAllowThreads();
6057 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6058
6059 wxPyEndAllowThreads(__tstate);
6060 if (PyErr_Occurred()) SWIG_fail;
6061 }
6062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6063 {
6064 if (temp5) delete arg5;
6065 }
6066 {
6067 if (temp8)
6068 delete arg8;
6069 }
6070 return resultobj;
6071 fail:
6072 {
6073 if (temp5) delete arg5;
6074 }
6075 {
6076 if (temp8)
6077 delete arg8;
6078 }
6079 return NULL;
6080 }
6081
6082
6083 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6084 PyObject *resultobj;
6085 wxCheckListBox *result;
6086 char *kwnames[] = {
6087 NULL
6088 };
6089
6090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6091 {
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 result = (wxCheckListBox *)new wxCheckListBox();
6094
6095 wxPyEndAllowThreads(__tstate);
6096 if (PyErr_Occurred()) SWIG_fail;
6097 }
6098 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6099 return resultobj;
6100 fail:
6101 return NULL;
6102 }
6103
6104
6105 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6106 PyObject *resultobj;
6107 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6108 wxWindow *arg2 = (wxWindow *) 0 ;
6109 int arg3 ;
6110 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6111 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6112 wxSize const &arg5_defvalue = wxDefaultSize ;
6113 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6114 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6115 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6116 long arg7 = (long) 0 ;
6117 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6118 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6119 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6120 wxString *arg9 = (wxString *) &arg9_defvalue ;
6121 bool result;
6122 wxPoint temp4 ;
6123 wxSize temp5 ;
6124 bool temp6 = False ;
6125 bool temp9 = False ;
6126 PyObject * obj0 = 0 ;
6127 PyObject * obj1 = 0 ;
6128 PyObject * obj2 = 0 ;
6129 PyObject * obj3 = 0 ;
6130 PyObject * obj4 = 0 ;
6131 PyObject * obj5 = 0 ;
6132 PyObject * obj6 = 0 ;
6133 PyObject * obj7 = 0 ;
6134 PyObject * obj8 = 0 ;
6135 char *kwnames[] = {
6136 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6137 };
6138
6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6142 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6144 arg3 = (int) SWIG_AsInt(obj2);
6145 if (PyErr_Occurred()) SWIG_fail;
6146 if (obj3) {
6147 {
6148 arg4 = &temp4;
6149 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6150 }
6151 }
6152 if (obj4) {
6153 {
6154 arg5 = &temp5;
6155 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6156 }
6157 }
6158 if (obj5) {
6159 {
6160 if (! PySequence_Check(obj5)) {
6161 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6162 SWIG_fail;
6163 }
6164 arg6 = new wxArrayString;
6165 temp6 = True;
6166 int i, len=PySequence_Length(obj5);
6167 for (i=0; i<len; i++) {
6168 PyObject* item = PySequence_GetItem(obj5, i);
6169 #if wxUSE_UNICODE
6170 PyObject* str = PyObject_Unicode(item);
6171 #else
6172 PyObject* str = PyObject_Str(item);
6173 #endif
6174 arg6->Add(Py2wxString(str));
6175 Py_DECREF(item);
6176 Py_DECREF(str);
6177 }
6178 }
6179 }
6180 if (obj6) {
6181 arg7 = (long) SWIG_AsLong(obj6);
6182 if (PyErr_Occurred()) SWIG_fail;
6183 }
6184 if (obj7) {
6185 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6186 SWIG_POINTER_EXCEPTION | 0)) == -1)
6187 SWIG_fail;
6188 if (arg8 == NULL) {
6189 PyErr_SetString(PyExc_TypeError,"null reference");
6190 SWIG_fail;
6191 }
6192 }
6193 if (obj8) {
6194 {
6195 arg9 = wxString_in_helper(obj8);
6196 if (arg9 == NULL) SWIG_fail;
6197 temp9 = True;
6198 }
6199 }
6200 {
6201 PyThreadState* __tstate = wxPyBeginAllowThreads();
6202 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6203
6204 wxPyEndAllowThreads(__tstate);
6205 if (PyErr_Occurred()) SWIG_fail;
6206 }
6207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6208 {
6209 if (temp6) delete arg6;
6210 }
6211 {
6212 if (temp9)
6213 delete arg9;
6214 }
6215 return resultobj;
6216 fail:
6217 {
6218 if (temp6) delete arg6;
6219 }
6220 {
6221 if (temp9)
6222 delete arg9;
6223 }
6224 return NULL;
6225 }
6226
6227
6228 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6229 PyObject *resultobj;
6230 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6231 int arg2 ;
6232 bool result;
6233 PyObject * obj0 = 0 ;
6234 PyObject * obj1 = 0 ;
6235 char *kwnames[] = {
6236 (char *) "self",(char *) "index", NULL
6237 };
6238
6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6242 arg2 = (int) SWIG_AsInt(obj1);
6243 if (PyErr_Occurred()) SWIG_fail;
6244 {
6245 PyThreadState* __tstate = wxPyBeginAllowThreads();
6246 result = (bool)(arg1)->IsChecked(arg2);
6247
6248 wxPyEndAllowThreads(__tstate);
6249 if (PyErr_Occurred()) SWIG_fail;
6250 }
6251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6252 return resultobj;
6253 fail:
6254 return NULL;
6255 }
6256
6257
6258 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6259 PyObject *resultobj;
6260 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6261 int arg2 ;
6262 int arg3 = (int) True ;
6263 PyObject * obj0 = 0 ;
6264 PyObject * obj1 = 0 ;
6265 PyObject * obj2 = 0 ;
6266 char *kwnames[] = {
6267 (char *) "self",(char *) "index",(char *) "check", NULL
6268 };
6269
6270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6273 arg2 = (int) SWIG_AsInt(obj1);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 if (obj2) {
6276 arg3 = (int) SWIG_AsInt(obj2);
6277 if (PyErr_Occurred()) SWIG_fail;
6278 }
6279 {
6280 PyThreadState* __tstate = wxPyBeginAllowThreads();
6281 (arg1)->Check(arg2,arg3);
6282
6283 wxPyEndAllowThreads(__tstate);
6284 if (PyErr_Occurred()) SWIG_fail;
6285 }
6286 Py_INCREF(Py_None); resultobj = Py_None;
6287 return resultobj;
6288 fail:
6289 return NULL;
6290 }
6291
6292
6293 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6294 PyObject *resultobj;
6295 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6296 int result;
6297 PyObject * obj0 = 0 ;
6298 char *kwnames[] = {
6299 (char *) "self", NULL
6300 };
6301
6302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
6303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6305 {
6306 PyThreadState* __tstate = wxPyBeginAllowThreads();
6307 result = (int)(arg1)->GetItemHeight();
6308
6309 wxPyEndAllowThreads(__tstate);
6310 if (PyErr_Occurred()) SWIG_fail;
6311 }
6312 resultobj = SWIG_FromInt((int)result);
6313 return resultobj;
6314 fail:
6315 return NULL;
6316 }
6317
6318
6319 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6320 PyObject *resultobj;
6321 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6322 wxPoint *arg2 = 0 ;
6323 int result;
6324 wxPoint temp2 ;
6325 PyObject * obj0 = 0 ;
6326 PyObject * obj1 = 0 ;
6327 char *kwnames[] = {
6328 (char *) "self",(char *) "pt", NULL
6329 };
6330
6331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6334 {
6335 arg2 = &temp2;
6336 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6337 }
6338 {
6339 PyThreadState* __tstate = wxPyBeginAllowThreads();
6340 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6341
6342 wxPyEndAllowThreads(__tstate);
6343 if (PyErr_Occurred()) SWIG_fail;
6344 }
6345 resultobj = SWIG_FromInt((int)result);
6346 return resultobj;
6347 fail:
6348 return NULL;
6349 }
6350
6351
6352 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6353 PyObject *resultobj;
6354 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6355 int arg2 ;
6356 int arg3 ;
6357 int result;
6358 PyObject * obj0 = 0 ;
6359 PyObject * obj1 = 0 ;
6360 PyObject * obj2 = 0 ;
6361 char *kwnames[] = {
6362 (char *) "self",(char *) "x",(char *) "y", NULL
6363 };
6364
6365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6368 arg2 = (int) SWIG_AsInt(obj1);
6369 if (PyErr_Occurred()) SWIG_fail;
6370 arg3 = (int) SWIG_AsInt(obj2);
6371 if (PyErr_Occurred()) SWIG_fail;
6372 {
6373 PyThreadState* __tstate = wxPyBeginAllowThreads();
6374 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6375
6376 wxPyEndAllowThreads(__tstate);
6377 if (PyErr_Occurred()) SWIG_fail;
6378 }
6379 resultobj = SWIG_FromInt((int)result);
6380 return resultobj;
6381 fail:
6382 return NULL;
6383 }
6384
6385
6386 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6387 PyObject *obj;
6388 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6389 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6390 Py_INCREF(obj);
6391 return Py_BuildValue((char *)"");
6392 }
6393 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6394 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6395 return 1;
6396 }
6397
6398
6399 static PyObject *_wrap_TextCtrlNameStr_get() {
6400 PyObject *pyobj;
6401
6402 {
6403 #if wxUSE_UNICODE
6404 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6405 #else
6406 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6407 #endif
6408 }
6409 return pyobj;
6410 }
6411
6412
6413 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6414 PyObject *resultobj;
6415 wxTextAttr *result;
6416
6417 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6418 {
6419 PyThreadState* __tstate = wxPyBeginAllowThreads();
6420 result = (wxTextAttr *)new wxTextAttr();
6421
6422 wxPyEndAllowThreads(__tstate);
6423 if (PyErr_Occurred()) SWIG_fail;
6424 }
6425 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6426 return resultobj;
6427 fail:
6428 return NULL;
6429 }
6430
6431
6432 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
6433 PyObject *resultobj;
6434 wxColour *arg1 = 0 ;
6435 wxColour const &arg2_defvalue = wxNullColour ;
6436 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6437 wxFont const &arg3_defvalue = wxNullFont ;
6438 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6439 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6440 wxTextAttr *result;
6441 wxColour temp1 ;
6442 wxColour temp2 ;
6443 PyObject * obj0 = 0 ;
6444 PyObject * obj1 = 0 ;
6445 PyObject * obj2 = 0 ;
6446 PyObject * obj3 = 0 ;
6447
6448 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6449 {
6450 arg1 = &temp1;
6451 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6452 }
6453 if (obj1) {
6454 {
6455 arg2 = &temp2;
6456 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6457 }
6458 }
6459 if (obj2) {
6460 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6461 SWIG_POINTER_EXCEPTION | 0)) == -1)
6462 SWIG_fail;
6463 if (arg3 == NULL) {
6464 PyErr_SetString(PyExc_TypeError,"null reference");
6465 SWIG_fail;
6466 }
6467 }
6468 if (obj3) {
6469 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
6470 if (PyErr_Occurred()) SWIG_fail;
6471 }
6472 {
6473 PyThreadState* __tstate = wxPyBeginAllowThreads();
6474 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6475
6476 wxPyEndAllowThreads(__tstate);
6477 if (PyErr_Occurred()) SWIG_fail;
6478 }
6479 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6480 return resultobj;
6481 fail:
6482 return NULL;
6483 }
6484
6485
6486 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6487 int argc;
6488 PyObject *argv[5];
6489 int ii;
6490
6491 argc = PyObject_Length(args);
6492 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6493 argv[ii] = PyTuple_GetItem(args,ii);
6494 }
6495 if (argc == 0) {
6496 return _wrap_new_TextAttr__SWIG_0(self,args);
6497 }
6498 if ((argc >= 1) && (argc <= 4)) {
6499 int _v;
6500 {
6501 _v = wxColour_typecheck(argv[0]);
6502 }
6503 if (_v) {
6504 if (argc <= 1) {
6505 return _wrap_new_TextAttr__SWIG_1(self,args);
6506 }
6507 {
6508 _v = wxColour_typecheck(argv[1]);
6509 }
6510 if (_v) {
6511 if (argc <= 2) {
6512 return _wrap_new_TextAttr__SWIG_1(self,args);
6513 }
6514 {
6515 void *ptr;
6516 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
6517 _v = 0;
6518 PyErr_Clear();
6519 } else {
6520 _v = 1;
6521 }
6522 }
6523 if (_v) {
6524 if (argc <= 3) {
6525 return _wrap_new_TextAttr__SWIG_1(self,args);
6526 }
6527 _v = SWIG_CheckInt(argv[3]);
6528 if (_v) {
6529 return _wrap_new_TextAttr__SWIG_1(self,args);
6530 }
6531 }
6532 }
6533 }
6534 }
6535
6536 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6537 return NULL;
6538 }
6539
6540
6541 static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6542 PyObject *resultobj;
6543 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6544 PyObject * obj0 = 0 ;
6545 char *kwnames[] = {
6546 (char *) "self", NULL
6547 };
6548
6549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
6550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6552 {
6553 PyThreadState* __tstate = wxPyBeginAllowThreads();
6554 delete arg1;
6555
6556 wxPyEndAllowThreads(__tstate);
6557 if (PyErr_Occurred()) SWIG_fail;
6558 }
6559 Py_INCREF(Py_None); resultobj = Py_None;
6560 return resultobj;
6561 fail:
6562 return NULL;
6563 }
6564
6565
6566 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
6567 PyObject *resultobj;
6568 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6569 PyObject * obj0 = 0 ;
6570 char *kwnames[] = {
6571 (char *) "self", NULL
6572 };
6573
6574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
6575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6577 {
6578 PyThreadState* __tstate = wxPyBeginAllowThreads();
6579 (arg1)->Init();
6580
6581 wxPyEndAllowThreads(__tstate);
6582 if (PyErr_Occurred()) SWIG_fail;
6583 }
6584 Py_INCREF(Py_None); resultobj = Py_None;
6585 return resultobj;
6586 fail:
6587 return NULL;
6588 }
6589
6590
6591 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6592 PyObject *resultobj;
6593 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6594 wxColour *arg2 = 0 ;
6595 wxColour temp2 ;
6596 PyObject * obj0 = 0 ;
6597 PyObject * obj1 = 0 ;
6598 char *kwnames[] = {
6599 (char *) "self",(char *) "colText", NULL
6600 };
6601
6602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
6603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6605 {
6606 arg2 = &temp2;
6607 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6608 }
6609 {
6610 PyThreadState* __tstate = wxPyBeginAllowThreads();
6611 (arg1)->SetTextColour((wxColour const &)*arg2);
6612
6613 wxPyEndAllowThreads(__tstate);
6614 if (PyErr_Occurred()) SWIG_fail;
6615 }
6616 Py_INCREF(Py_None); resultobj = Py_None;
6617 return resultobj;
6618 fail:
6619 return NULL;
6620 }
6621
6622
6623 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6624 PyObject *resultobj;
6625 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6626 wxColour *arg2 = 0 ;
6627 wxColour temp2 ;
6628 PyObject * obj0 = 0 ;
6629 PyObject * obj1 = 0 ;
6630 char *kwnames[] = {
6631 (char *) "self",(char *) "colBack", NULL
6632 };
6633
6634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6637 {
6638 arg2 = &temp2;
6639 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6640 }
6641 {
6642 PyThreadState* __tstate = wxPyBeginAllowThreads();
6643 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6644
6645 wxPyEndAllowThreads(__tstate);
6646 if (PyErr_Occurred()) SWIG_fail;
6647 }
6648 Py_INCREF(Py_None); resultobj = Py_None;
6649 return resultobj;
6650 fail:
6651 return NULL;
6652 }
6653
6654
6655 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6656 PyObject *resultobj;
6657 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6658 wxFont *arg2 = 0 ;
6659 long arg3 = (long) wxTEXT_ATTR_FONT ;
6660 PyObject * obj0 = 0 ;
6661 PyObject * obj1 = 0 ;
6662 PyObject * obj2 = 0 ;
6663 char *kwnames[] = {
6664 (char *) "self",(char *) "font",(char *) "flags", NULL
6665 };
6666
6667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6670 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
6671 SWIG_POINTER_EXCEPTION | 0)) == -1)
6672 SWIG_fail;
6673 if (arg2 == NULL) {
6674 PyErr_SetString(PyExc_TypeError,"null reference");
6675 SWIG_fail;
6676 }
6677 if (obj2) {
6678 arg3 = (long) SWIG_AsLong(obj2);
6679 if (PyErr_Occurred()) SWIG_fail;
6680 }
6681 {
6682 PyThreadState* __tstate = wxPyBeginAllowThreads();
6683 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6684
6685 wxPyEndAllowThreads(__tstate);
6686 if (PyErr_Occurred()) SWIG_fail;
6687 }
6688 Py_INCREF(Py_None); resultobj = Py_None;
6689 return resultobj;
6690 fail:
6691 return NULL;
6692 }
6693
6694
6695 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6696 PyObject *resultobj;
6697 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6698 int arg2 ;
6699 PyObject * obj0 = 0 ;
6700 PyObject * obj1 = 0 ;
6701 char *kwnames[] = {
6702 (char *) "self",(char *) "alignment", NULL
6703 };
6704
6705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
6706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6708 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
6709 if (PyErr_Occurred()) SWIG_fail;
6710 {
6711 PyThreadState* __tstate = wxPyBeginAllowThreads();
6712 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6713
6714 wxPyEndAllowThreads(__tstate);
6715 if (PyErr_Occurred()) SWIG_fail;
6716 }
6717 Py_INCREF(Py_None); resultobj = Py_None;
6718 return resultobj;
6719 fail:
6720 return NULL;
6721 }
6722
6723
6724 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6725 PyObject *resultobj;
6726 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6727 wxArrayInt *arg2 = 0 ;
6728 bool temp2 = False ;
6729 PyObject * obj0 = 0 ;
6730 PyObject * obj1 = 0 ;
6731 char *kwnames[] = {
6732 (char *) "self",(char *) "tabs", NULL
6733 };
6734
6735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6738 {
6739 if (! PySequence_Check(obj1)) {
6740 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6741 SWIG_fail;
6742 }
6743 arg2 = new wxArrayInt;
6744 temp2 = True;
6745 int i, len=PySequence_Length(obj1);
6746 for (i=0; i<len; i++) {
6747 PyObject* item = PySequence_GetItem(obj1, i);
6748 PyObject* number = PyNumber_Int(item);
6749 arg2->Add(PyInt_AS_LONG(number));
6750 Py_DECREF(item);
6751 Py_DECREF(number);
6752 }
6753 }
6754 {
6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
6756 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6757
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 Py_INCREF(Py_None); resultobj = Py_None;
6762 {
6763 if (temp2) delete arg2;
6764 }
6765 return resultobj;
6766 fail:
6767 {
6768 if (temp2) delete arg2;
6769 }
6770 return NULL;
6771 }
6772
6773
6774 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6775 PyObject *resultobj;
6776 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6777 int arg2 ;
6778 PyObject * obj0 = 0 ;
6779 PyObject * obj1 = 0 ;
6780 char *kwnames[] = {
6781 (char *) "self",(char *) "indent", NULL
6782 };
6783
6784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
6785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6787 arg2 = (int) SWIG_AsInt(obj1);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 {
6790 PyThreadState* __tstate = wxPyBeginAllowThreads();
6791 (arg1)->SetLeftIndent(arg2);
6792
6793 wxPyEndAllowThreads(__tstate);
6794 if (PyErr_Occurred()) SWIG_fail;
6795 }
6796 Py_INCREF(Py_None); resultobj = Py_None;
6797 return resultobj;
6798 fail:
6799 return NULL;
6800 }
6801
6802
6803 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6804 PyObject *resultobj;
6805 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6806 int arg2 ;
6807 PyObject * obj0 = 0 ;
6808 PyObject * obj1 = 0 ;
6809 char *kwnames[] = {
6810 (char *) "self",(char *) "indent", NULL
6811 };
6812
6813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
6814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6816 arg2 = (int) SWIG_AsInt(obj1);
6817 if (PyErr_Occurred()) SWIG_fail;
6818 {
6819 PyThreadState* __tstate = wxPyBeginAllowThreads();
6820 (arg1)->SetRightIndent(arg2);
6821
6822 wxPyEndAllowThreads(__tstate);
6823 if (PyErr_Occurred()) SWIG_fail;
6824 }
6825 Py_INCREF(Py_None); resultobj = Py_None;
6826 return resultobj;
6827 fail:
6828 return NULL;
6829 }
6830
6831
6832 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6833 PyObject *resultobj;
6834 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6835 long arg2 ;
6836 PyObject * obj0 = 0 ;
6837 PyObject * obj1 = 0 ;
6838 char *kwnames[] = {
6839 (char *) "self",(char *) "flags", NULL
6840 };
6841
6842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
6843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6845 arg2 = (long) SWIG_AsLong(obj1);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 {
6848 PyThreadState* __tstate = wxPyBeginAllowThreads();
6849 (arg1)->SetFlags(arg2);
6850
6851 wxPyEndAllowThreads(__tstate);
6852 if (PyErr_Occurred()) SWIG_fail;
6853 }
6854 Py_INCREF(Py_None); resultobj = Py_None;
6855 return resultobj;
6856 fail:
6857 return NULL;
6858 }
6859
6860
6861 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6862 PyObject *resultobj;
6863 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6864 bool result;
6865 PyObject * obj0 = 0 ;
6866 char *kwnames[] = {
6867 (char *) "self", NULL
6868 };
6869
6870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6873 {
6874 PyThreadState* __tstate = wxPyBeginAllowThreads();
6875 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6876
6877 wxPyEndAllowThreads(__tstate);
6878 if (PyErr_Occurred()) SWIG_fail;
6879 }
6880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6881 return resultobj;
6882 fail:
6883 return NULL;
6884 }
6885
6886
6887 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6888 PyObject *resultobj;
6889 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6890 bool result;
6891 PyObject * obj0 = 0 ;
6892 char *kwnames[] = {
6893 (char *) "self", NULL
6894 };
6895
6896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
6897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6899 {
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6902
6903 wxPyEndAllowThreads(__tstate);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6907 return resultobj;
6908 fail:
6909 return NULL;
6910 }
6911
6912
6913 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6914 PyObject *resultobj;
6915 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6916 bool result;
6917 PyObject * obj0 = 0 ;
6918 char *kwnames[] = {
6919 (char *) "self", NULL
6920 };
6921
6922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6925 {
6926 PyThreadState* __tstate = wxPyBeginAllowThreads();
6927 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6928
6929 wxPyEndAllowThreads(__tstate);
6930 if (PyErr_Occurred()) SWIG_fail;
6931 }
6932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6933 return resultobj;
6934 fail:
6935 return NULL;
6936 }
6937
6938
6939 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6940 PyObject *resultobj;
6941 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6942 bool result;
6943 PyObject * obj0 = 0 ;
6944 char *kwnames[] = {
6945 (char *) "self", NULL
6946 };
6947
6948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6951 {
6952 PyThreadState* __tstate = wxPyBeginAllowThreads();
6953 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
6954
6955 wxPyEndAllowThreads(__tstate);
6956 if (PyErr_Occurred()) SWIG_fail;
6957 }
6958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6959 return resultobj;
6960 fail:
6961 return NULL;
6962 }
6963
6964
6965 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6966 PyObject *resultobj;
6967 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6968 bool result;
6969 PyObject * obj0 = 0 ;
6970 char *kwnames[] = {
6971 (char *) "self", NULL
6972 };
6973
6974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
6975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6977 {
6978 PyThreadState* __tstate = wxPyBeginAllowThreads();
6979 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
6980
6981 wxPyEndAllowThreads(__tstate);
6982 if (PyErr_Occurred()) SWIG_fail;
6983 }
6984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6985 return resultobj;
6986 fail:
6987 return NULL;
6988 }
6989
6990
6991 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6992 PyObject *resultobj;
6993 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6994 bool result;
6995 PyObject * obj0 = 0 ;
6996 char *kwnames[] = {
6997 (char *) "self", NULL
6998 };
6999
7000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
7001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7006
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7011 return resultobj;
7012 fail:
7013 return NULL;
7014 }
7015
7016
7017 static PyObject *_wrap_TextAttr_HasRightIndent(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_HasRightIndent",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)->HasRightIndent();
7032
7033 wxPyEndAllowThreads(__tstate);
7034 if (PyErr_Occurred()) SWIG_fail;
7035 }
7036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7037 return resultobj;
7038 fail:
7039 return NULL;
7040 }
7041
7042
7043 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
7044 PyObject *resultobj;
7045 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7046 long arg2 ;
7047 bool result;
7048 PyObject * obj0 = 0 ;
7049 PyObject * obj1 = 0 ;
7050 char *kwnames[] = {
7051 (char *) "self",(char *) "flag", NULL
7052 };
7053
7054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7057 arg2 = (long) SWIG_AsLong(obj1);
7058 if (PyErr_Occurred()) SWIG_fail;
7059 {
7060 PyThreadState* __tstate = wxPyBeginAllowThreads();
7061 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7062
7063 wxPyEndAllowThreads(__tstate);
7064 if (PyErr_Occurred()) SWIG_fail;
7065 }
7066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7067 return resultobj;
7068 fail:
7069 return NULL;
7070 }
7071
7072
7073 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7074 PyObject *resultobj;
7075 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7076 wxColour *result;
7077 PyObject * obj0 = 0 ;
7078 char *kwnames[] = {
7079 (char *) "self", NULL
7080 };
7081
7082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7085 {
7086 PyThreadState* __tstate = wxPyBeginAllowThreads();
7087 {
7088 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7089 result = (wxColour *) &_result_ref;
7090 }
7091
7092 wxPyEndAllowThreads(__tstate);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 }
7095 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7096 return resultobj;
7097 fail:
7098 return NULL;
7099 }
7100
7101
7102 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7103 PyObject *resultobj;
7104 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7105 wxColour *result;
7106 PyObject * obj0 = 0 ;
7107 char *kwnames[] = {
7108 (char *) "self", NULL
7109 };
7110
7111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7114 {
7115 PyThreadState* __tstate = wxPyBeginAllowThreads();
7116 {
7117 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7118 result = (wxColour *) &_result_ref;
7119 }
7120
7121 wxPyEndAllowThreads(__tstate);
7122 if (PyErr_Occurred()) SWIG_fail;
7123 }
7124 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7125 return resultobj;
7126 fail:
7127 return NULL;
7128 }
7129
7130
7131 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7132 PyObject *resultobj;
7133 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7134 wxFont *result;
7135 PyObject * obj0 = 0 ;
7136 char *kwnames[] = {
7137 (char *) "self", NULL
7138 };
7139
7140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7143 {
7144 PyThreadState* __tstate = wxPyBeginAllowThreads();
7145 {
7146 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7147 result = (wxFont *) &_result_ref;
7148 }
7149
7150 wxPyEndAllowThreads(__tstate);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 }
7153 {
7154 wxFont* resultptr = new wxFont(*result);
7155 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7156 }
7157 return resultobj;
7158 fail:
7159 return NULL;
7160 }
7161
7162
7163 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7164 PyObject *resultobj;
7165 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7166 int result;
7167 PyObject * obj0 = 0 ;
7168 char *kwnames[] = {
7169 (char *) "self", NULL
7170 };
7171
7172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7175 {
7176 PyThreadState* __tstate = wxPyBeginAllowThreads();
7177 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7178
7179 wxPyEndAllowThreads(__tstate);
7180 if (PyErr_Occurred()) SWIG_fail;
7181 }
7182 resultobj = SWIG_FromInt((int)result);
7183 return resultobj;
7184 fail:
7185 return NULL;
7186 }
7187
7188
7189 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7190 PyObject *resultobj;
7191 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7192 wxArrayInt *result;
7193 PyObject * obj0 = 0 ;
7194 char *kwnames[] = {
7195 (char *) "self", NULL
7196 };
7197
7198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7201 {
7202 PyThreadState* __tstate = wxPyBeginAllowThreads();
7203 {
7204 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7205 result = (wxArrayInt *) &_result_ref;
7206 }
7207
7208 wxPyEndAllowThreads(__tstate);
7209 if (PyErr_Occurred()) SWIG_fail;
7210 }
7211 {
7212 resultobj = PyList_New(0);
7213 size_t idx;
7214 for (idx = 0; idx < result->GetCount(); idx += 1) {
7215 PyObject* val = PyInt_FromLong( result->Item(idx) );
7216 PyList_Append(resultobj, val);
7217 Py_DECREF(val);
7218 }
7219 }
7220 return resultobj;
7221 fail:
7222 return NULL;
7223 }
7224
7225
7226 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7227 PyObject *resultobj;
7228 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7229 long result;
7230 PyObject * obj0 = 0 ;
7231 char *kwnames[] = {
7232 (char *) "self", NULL
7233 };
7234
7235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7238 {
7239 PyThreadState* __tstate = wxPyBeginAllowThreads();
7240 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7241
7242 wxPyEndAllowThreads(__tstate);
7243 if (PyErr_Occurred()) SWIG_fail;
7244 }
7245 resultobj = SWIG_FromLong((long)result);
7246 return resultobj;
7247 fail:
7248 return NULL;
7249 }
7250
7251
7252 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7253 PyObject *resultobj;
7254 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7255 long result;
7256 PyObject * obj0 = 0 ;
7257 char *kwnames[] = {
7258 (char *) "self", NULL
7259 };
7260
7261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7264 {
7265 PyThreadState* __tstate = wxPyBeginAllowThreads();
7266 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7267
7268 wxPyEndAllowThreads(__tstate);
7269 if (PyErr_Occurred()) SWIG_fail;
7270 }
7271 resultobj = SWIG_FromLong((long)result);
7272 return resultobj;
7273 fail:
7274 return NULL;
7275 }
7276
7277
7278 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7279 PyObject *resultobj;
7280 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7281 long result;
7282 PyObject * obj0 = 0 ;
7283 char *kwnames[] = {
7284 (char *) "self", NULL
7285 };
7286
7287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7290 {
7291 PyThreadState* __tstate = wxPyBeginAllowThreads();
7292 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7293
7294 wxPyEndAllowThreads(__tstate);
7295 if (PyErr_Occurred()) SWIG_fail;
7296 }
7297 resultobj = SWIG_FromLong((long)result);
7298 return resultobj;
7299 fail:
7300 return NULL;
7301 }
7302
7303
7304 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7305 PyObject *resultobj;
7306 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7307 bool result;
7308 PyObject * obj0 = 0 ;
7309 char *kwnames[] = {
7310 (char *) "self", NULL
7311 };
7312
7313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7316 {
7317 PyThreadState* __tstate = wxPyBeginAllowThreads();
7318 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7319
7320 wxPyEndAllowThreads(__tstate);
7321 if (PyErr_Occurred()) SWIG_fail;
7322 }
7323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7324 return resultobj;
7325 fail:
7326 return NULL;
7327 }
7328
7329
7330 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7331 PyObject *resultobj;
7332 wxTextAttr *arg1 = 0 ;
7333 wxTextAttr *arg2 = 0 ;
7334 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7335 wxTextAttr result;
7336 PyObject * obj0 = 0 ;
7337 PyObject * obj1 = 0 ;
7338 PyObject * obj2 = 0 ;
7339 char *kwnames[] = {
7340 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7341 };
7342
7343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7345 SWIG_POINTER_EXCEPTION | 0)) == -1)
7346 SWIG_fail;
7347 if (arg1 == NULL) {
7348 PyErr_SetString(PyExc_TypeError,"null reference");
7349 SWIG_fail;
7350 }
7351 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7352 SWIG_POINTER_EXCEPTION | 0)) == -1)
7353 SWIG_fail;
7354 if (arg2 == NULL) {
7355 PyErr_SetString(PyExc_TypeError,"null reference");
7356 SWIG_fail;
7357 }
7358 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7360 {
7361 PyThreadState* __tstate = wxPyBeginAllowThreads();
7362 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7363
7364 wxPyEndAllowThreads(__tstate);
7365 if (PyErr_Occurred()) SWIG_fail;
7366 }
7367 {
7368 wxTextAttr * resultptr;
7369 resultptr = new wxTextAttr((wxTextAttr &) result);
7370 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
7371 }
7372 return resultobj;
7373 fail:
7374 return NULL;
7375 }
7376
7377
7378 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7379 PyObject *obj;
7380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7381 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7382 Py_INCREF(obj);
7383 return Py_BuildValue((char *)"");
7384 }
7385 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7386 PyObject *resultobj;
7387 wxWindow *arg1 = (wxWindow *) 0 ;
7388 int arg2 ;
7389 wxString const &arg3_defvalue = wxPyEmptyString ;
7390 wxString *arg3 = (wxString *) &arg3_defvalue ;
7391 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7392 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7393 wxSize const &arg5_defvalue = wxDefaultSize ;
7394 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7395 long arg6 = (long) 0 ;
7396 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7397 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7398 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7399 wxString *arg8 = (wxString *) &arg8_defvalue ;
7400 wxTextCtrl *result;
7401 bool temp3 = False ;
7402 wxPoint temp4 ;
7403 wxSize temp5 ;
7404 bool temp8 = False ;
7405 PyObject * obj0 = 0 ;
7406 PyObject * obj1 = 0 ;
7407 PyObject * obj2 = 0 ;
7408 PyObject * obj3 = 0 ;
7409 PyObject * obj4 = 0 ;
7410 PyObject * obj5 = 0 ;
7411 PyObject * obj6 = 0 ;
7412 PyObject * obj7 = 0 ;
7413 char *kwnames[] = {
7414 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7415 };
7416
7417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7420 arg2 = (int) SWIG_AsInt(obj1);
7421 if (PyErr_Occurred()) SWIG_fail;
7422 if (obj2) {
7423 {
7424 arg3 = wxString_in_helper(obj2);
7425 if (arg3 == NULL) SWIG_fail;
7426 temp3 = True;
7427 }
7428 }
7429 if (obj3) {
7430 {
7431 arg4 = &temp4;
7432 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7433 }
7434 }
7435 if (obj4) {
7436 {
7437 arg5 = &temp5;
7438 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7439 }
7440 }
7441 if (obj5) {
7442 arg6 = (long) SWIG_AsLong(obj5);
7443 if (PyErr_Occurred()) SWIG_fail;
7444 }
7445 if (obj6) {
7446 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
7447 SWIG_POINTER_EXCEPTION | 0)) == -1)
7448 SWIG_fail;
7449 if (arg7 == NULL) {
7450 PyErr_SetString(PyExc_TypeError,"null reference");
7451 SWIG_fail;
7452 }
7453 }
7454 if (obj7) {
7455 {
7456 arg8 = wxString_in_helper(obj7);
7457 if (arg8 == NULL) SWIG_fail;
7458 temp8 = True;
7459 }
7460 }
7461 {
7462 PyThreadState* __tstate = wxPyBeginAllowThreads();
7463 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7464
7465 wxPyEndAllowThreads(__tstate);
7466 if (PyErr_Occurred()) SWIG_fail;
7467 }
7468 {
7469 resultobj = wxPyMake_wxObject(result);
7470 }
7471 {
7472 if (temp3)
7473 delete arg3;
7474 }
7475 {
7476 if (temp8)
7477 delete arg8;
7478 }
7479 return resultobj;
7480 fail:
7481 {
7482 if (temp3)
7483 delete arg3;
7484 }
7485 {
7486 if (temp8)
7487 delete arg8;
7488 }
7489 return NULL;
7490 }
7491
7492
7493 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7494 PyObject *resultobj;
7495 wxTextCtrl *result;
7496 char *kwnames[] = {
7497 NULL
7498 };
7499
7500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7501 {
7502 PyThreadState* __tstate = wxPyBeginAllowThreads();
7503 result = (wxTextCtrl *)new wxTextCtrl();
7504
7505 wxPyEndAllowThreads(__tstate);
7506 if (PyErr_Occurred()) SWIG_fail;
7507 }
7508 {
7509 resultobj = wxPyMake_wxObject(result);
7510 }
7511 return resultobj;
7512 fail:
7513 return NULL;
7514 }
7515
7516
7517 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7518 PyObject *resultobj;
7519 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7520 wxWindow *arg2 = (wxWindow *) 0 ;
7521 int arg3 ;
7522 wxString const &arg4_defvalue = wxPyEmptyString ;
7523 wxString *arg4 = (wxString *) &arg4_defvalue ;
7524 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7525 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7526 wxSize const &arg6_defvalue = wxDefaultSize ;
7527 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7528 long arg7 = (long) 0 ;
7529 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7530 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7531 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7532 wxString *arg9 = (wxString *) &arg9_defvalue ;
7533 bool result;
7534 bool temp4 = False ;
7535 wxPoint temp5 ;
7536 wxSize temp6 ;
7537 bool temp9 = False ;
7538 PyObject * obj0 = 0 ;
7539 PyObject * obj1 = 0 ;
7540 PyObject * obj2 = 0 ;
7541 PyObject * obj3 = 0 ;
7542 PyObject * obj4 = 0 ;
7543 PyObject * obj5 = 0 ;
7544 PyObject * obj6 = 0 ;
7545 PyObject * obj7 = 0 ;
7546 PyObject * obj8 = 0 ;
7547 char *kwnames[] = {
7548 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7549 };
7550
7551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7554 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7556 arg3 = (int) SWIG_AsInt(obj2);
7557 if (PyErr_Occurred()) SWIG_fail;
7558 if (obj3) {
7559 {
7560 arg4 = wxString_in_helper(obj3);
7561 if (arg4 == NULL) SWIG_fail;
7562 temp4 = True;
7563 }
7564 }
7565 if (obj4) {
7566 {
7567 arg5 = &temp5;
7568 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7569 }
7570 }
7571 if (obj5) {
7572 {
7573 arg6 = &temp6;
7574 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7575 }
7576 }
7577 if (obj6) {
7578 arg7 = (long) SWIG_AsLong(obj6);
7579 if (PyErr_Occurred()) SWIG_fail;
7580 }
7581 if (obj7) {
7582 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
7583 SWIG_POINTER_EXCEPTION | 0)) == -1)
7584 SWIG_fail;
7585 if (arg8 == NULL) {
7586 PyErr_SetString(PyExc_TypeError,"null reference");
7587 SWIG_fail;
7588 }
7589 }
7590 if (obj8) {
7591 {
7592 arg9 = wxString_in_helper(obj8);
7593 if (arg9 == NULL) SWIG_fail;
7594 temp9 = True;
7595 }
7596 }
7597 {
7598 PyThreadState* __tstate = wxPyBeginAllowThreads();
7599 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7600
7601 wxPyEndAllowThreads(__tstate);
7602 if (PyErr_Occurred()) SWIG_fail;
7603 }
7604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7605 {
7606 if (temp4)
7607 delete arg4;
7608 }
7609 {
7610 if (temp9)
7611 delete arg9;
7612 }
7613 return resultobj;
7614 fail:
7615 {
7616 if (temp4)
7617 delete arg4;
7618 }
7619 {
7620 if (temp9)
7621 delete arg9;
7622 }
7623 return NULL;
7624 }
7625
7626
7627 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7628 PyObject *resultobj;
7629 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7630 wxString result;
7631 PyObject * obj0 = 0 ;
7632 char *kwnames[] = {
7633 (char *) "self", NULL
7634 };
7635
7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
7637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7639 {
7640 PyThreadState* __tstate = wxPyBeginAllowThreads();
7641 result = ((wxTextCtrl const *)arg1)->GetValue();
7642
7643 wxPyEndAllowThreads(__tstate);
7644 if (PyErr_Occurred()) SWIG_fail;
7645 }
7646 {
7647 #if wxUSE_UNICODE
7648 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7649 #else
7650 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7651 #endif
7652 }
7653 return resultobj;
7654 fail:
7655 return NULL;
7656 }
7657
7658
7659 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7660 PyObject *resultobj;
7661 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7662 wxString *arg2 = 0 ;
7663 bool temp2 = False ;
7664 PyObject * obj0 = 0 ;
7665 PyObject * obj1 = 0 ;
7666 char *kwnames[] = {
7667 (char *) "self",(char *) "value", NULL
7668 };
7669
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
7671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7673 {
7674 arg2 = wxString_in_helper(obj1);
7675 if (arg2 == NULL) SWIG_fail;
7676 temp2 = True;
7677 }
7678 {
7679 PyThreadState* __tstate = wxPyBeginAllowThreads();
7680 (arg1)->SetValue((wxString const &)*arg2);
7681
7682 wxPyEndAllowThreads(__tstate);
7683 if (PyErr_Occurred()) SWIG_fail;
7684 }
7685 Py_INCREF(Py_None); resultobj = Py_None;
7686 {
7687 if (temp2)
7688 delete arg2;
7689 }
7690 return resultobj;
7691 fail:
7692 {
7693 if (temp2)
7694 delete arg2;
7695 }
7696 return NULL;
7697 }
7698
7699
7700 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7701 PyObject *resultobj;
7702 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7703 long arg2 ;
7704 long arg3 ;
7705 wxString result;
7706 PyObject * obj0 = 0 ;
7707 PyObject * obj1 = 0 ;
7708 PyObject * obj2 = 0 ;
7709 char *kwnames[] = {
7710 (char *) "self",(char *) "from",(char *) "to", NULL
7711 };
7712
7713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7716 arg2 = (long) SWIG_AsLong(obj1);
7717 if (PyErr_Occurred()) SWIG_fail;
7718 arg3 = (long) SWIG_AsLong(obj2);
7719 if (PyErr_Occurred()) SWIG_fail;
7720 {
7721 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7723
7724 wxPyEndAllowThreads(__tstate);
7725 if (PyErr_Occurred()) SWIG_fail;
7726 }
7727 {
7728 #if wxUSE_UNICODE
7729 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7730 #else
7731 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7732 #endif
7733 }
7734 return resultobj;
7735 fail:
7736 return NULL;
7737 }
7738
7739
7740 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7741 PyObject *resultobj;
7742 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7743 long arg2 ;
7744 int result;
7745 PyObject * obj0 = 0 ;
7746 PyObject * obj1 = 0 ;
7747 char *kwnames[] = {
7748 (char *) "self",(char *) "lineNo", NULL
7749 };
7750
7751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
7752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7754 arg2 = (long) SWIG_AsLong(obj1);
7755 if (PyErr_Occurred()) SWIG_fail;
7756 {
7757 PyThreadState* __tstate = wxPyBeginAllowThreads();
7758 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7759
7760 wxPyEndAllowThreads(__tstate);
7761 if (PyErr_Occurred()) SWIG_fail;
7762 }
7763 resultobj = SWIG_FromInt((int)result);
7764 return resultobj;
7765 fail:
7766 return NULL;
7767 }
7768
7769
7770 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
7771 PyObject *resultobj;
7772 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7773 long arg2 ;
7774 wxString result;
7775 PyObject * obj0 = 0 ;
7776 PyObject * obj1 = 0 ;
7777 char *kwnames[] = {
7778 (char *) "self",(char *) "lineNo", NULL
7779 };
7780
7781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
7782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7784 arg2 = (long) SWIG_AsLong(obj1);
7785 if (PyErr_Occurred()) SWIG_fail;
7786 {
7787 PyThreadState* __tstate = wxPyBeginAllowThreads();
7788 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7789
7790 wxPyEndAllowThreads(__tstate);
7791 if (PyErr_Occurred()) SWIG_fail;
7792 }
7793 {
7794 #if wxUSE_UNICODE
7795 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7796 #else
7797 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7798 #endif
7799 }
7800 return resultobj;
7801 fail:
7802 return NULL;
7803 }
7804
7805
7806 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7807 PyObject *resultobj;
7808 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7809 int result;
7810 PyObject * obj0 = 0 ;
7811 char *kwnames[] = {
7812 (char *) "self", NULL
7813 };
7814
7815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
7816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7818 {
7819 PyThreadState* __tstate = wxPyBeginAllowThreads();
7820 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7821
7822 wxPyEndAllowThreads(__tstate);
7823 if (PyErr_Occurred()) SWIG_fail;
7824 }
7825 resultobj = SWIG_FromInt((int)result);
7826 return resultobj;
7827 fail:
7828 return NULL;
7829 }
7830
7831
7832 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
7833 PyObject *resultobj;
7834 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7835 bool result;
7836 PyObject * obj0 = 0 ;
7837 char *kwnames[] = {
7838 (char *) "self", NULL
7839 };
7840
7841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
7842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7844 {
7845 PyThreadState* __tstate = wxPyBeginAllowThreads();
7846 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7847
7848 wxPyEndAllowThreads(__tstate);
7849 if (PyErr_Occurred()) SWIG_fail;
7850 }
7851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7852 return resultobj;
7853 fail:
7854 return NULL;
7855 }
7856
7857
7858 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7859 PyObject *resultobj;
7860 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7861 bool result;
7862 PyObject * obj0 = 0 ;
7863 char *kwnames[] = {
7864 (char *) "self", NULL
7865 };
7866
7867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
7868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7870 {
7871 PyThreadState* __tstate = wxPyBeginAllowThreads();
7872 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7873
7874 wxPyEndAllowThreads(__tstate);
7875 if (PyErr_Occurred()) SWIG_fail;
7876 }
7877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7878 return resultobj;
7879 fail:
7880 return NULL;
7881 }
7882
7883
7884 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7885 PyObject *resultobj;
7886 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7887 bool result;
7888 PyObject * obj0 = 0 ;
7889 char *kwnames[] = {
7890 (char *) "self", NULL
7891 };
7892
7893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
7894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7896 {
7897 PyThreadState* __tstate = wxPyBeginAllowThreads();
7898 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7899
7900 wxPyEndAllowThreads(__tstate);
7901 if (PyErr_Occurred()) SWIG_fail;
7902 }
7903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7904 return resultobj;
7905 fail:
7906 return NULL;
7907 }
7908
7909
7910 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7911 PyObject *resultobj;
7912 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7913 bool result;
7914 PyObject * obj0 = 0 ;
7915 char *kwnames[] = {
7916 (char *) "self", NULL
7917 };
7918
7919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
7920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7922 {
7923 PyThreadState* __tstate = wxPyBeginAllowThreads();
7924 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7925
7926 wxPyEndAllowThreads(__tstate);
7927 if (PyErr_Occurred()) SWIG_fail;
7928 }
7929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7930 return resultobj;
7931 fail:
7932 return NULL;
7933 }
7934
7935
7936 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7937 PyObject *resultobj;
7938 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7939 long *arg2 = (long *) 0 ;
7940 long *arg3 = (long *) 0 ;
7941 long temp2 ;
7942 long temp3 ;
7943 PyObject * obj0 = 0 ;
7944 char *kwnames[] = {
7945 (char *) "self", NULL
7946 };
7947
7948 arg2 = &temp2;
7949 arg3 = &temp3;
7950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
7951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7953 {
7954 PyThreadState* __tstate = wxPyBeginAllowThreads();
7955 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
7956
7957 wxPyEndAllowThreads(__tstate);
7958 if (PyErr_Occurred()) SWIG_fail;
7959 }
7960 Py_INCREF(Py_None); resultobj = Py_None;
7961 {
7962 PyObject *o = PyInt_FromLong((long) (*arg2));
7963 resultobj = t_output_helper(resultobj,o);
7964 }
7965 {
7966 PyObject *o = PyInt_FromLong((long) (*arg3));
7967 resultobj = t_output_helper(resultobj,o);
7968 }
7969 return resultobj;
7970 fail:
7971 return NULL;
7972 }
7973
7974
7975 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7976 PyObject *resultobj;
7977 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7978 wxString result;
7979 PyObject * obj0 = 0 ;
7980 char *kwnames[] = {
7981 (char *) "self", NULL
7982 };
7983
7984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
7985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7987 {
7988 PyThreadState* __tstate = wxPyBeginAllowThreads();
7989 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
7990
7991 wxPyEndAllowThreads(__tstate);
7992 if (PyErr_Occurred()) SWIG_fail;
7993 }
7994 {
7995 #if wxUSE_UNICODE
7996 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7997 #else
7998 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7999 #endif
8000 }
8001 return resultobj;
8002 fail:
8003 return NULL;
8004 }
8005
8006
8007 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8008 PyObject *resultobj;
8009 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8010 PyObject * obj0 = 0 ;
8011 char *kwnames[] = {
8012 (char *) "self", NULL
8013 };
8014
8015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
8016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8018 {
8019 PyThreadState* __tstate = wxPyBeginAllowThreads();
8020 (arg1)->Clear();
8021
8022 wxPyEndAllowThreads(__tstate);
8023 if (PyErr_Occurred()) SWIG_fail;
8024 }
8025 Py_INCREF(Py_None); resultobj = Py_None;
8026 return resultobj;
8027 fail:
8028 return NULL;
8029 }
8030
8031
8032 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8033 PyObject *resultobj;
8034 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8035 long arg2 ;
8036 long arg3 ;
8037 wxString *arg4 = 0 ;
8038 bool temp4 = False ;
8039 PyObject * obj0 = 0 ;
8040 PyObject * obj1 = 0 ;
8041 PyObject * obj2 = 0 ;
8042 PyObject * obj3 = 0 ;
8043 char *kwnames[] = {
8044 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8045 };
8046
8047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8050 arg2 = (long) SWIG_AsLong(obj1);
8051 if (PyErr_Occurred()) SWIG_fail;
8052 arg3 = (long) SWIG_AsLong(obj2);
8053 if (PyErr_Occurred()) SWIG_fail;
8054 {
8055 arg4 = wxString_in_helper(obj3);
8056 if (arg4 == NULL) SWIG_fail;
8057 temp4 = True;
8058 }
8059 {
8060 PyThreadState* __tstate = wxPyBeginAllowThreads();
8061 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8062
8063 wxPyEndAllowThreads(__tstate);
8064 if (PyErr_Occurred()) SWIG_fail;
8065 }
8066 Py_INCREF(Py_None); resultobj = Py_None;
8067 {
8068 if (temp4)
8069 delete arg4;
8070 }
8071 return resultobj;
8072 fail:
8073 {
8074 if (temp4)
8075 delete arg4;
8076 }
8077 return NULL;
8078 }
8079
8080
8081 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8082 PyObject *resultobj;
8083 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8084 long arg2 ;
8085 long arg3 ;
8086 PyObject * obj0 = 0 ;
8087 PyObject * obj1 = 0 ;
8088 PyObject * obj2 = 0 ;
8089 char *kwnames[] = {
8090 (char *) "self",(char *) "from",(char *) "to", NULL
8091 };
8092
8093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8096 arg2 = (long) SWIG_AsLong(obj1);
8097 if (PyErr_Occurred()) SWIG_fail;
8098 arg3 = (long) SWIG_AsLong(obj2);
8099 if (PyErr_Occurred()) SWIG_fail;
8100 {
8101 PyThreadState* __tstate = wxPyBeginAllowThreads();
8102 (arg1)->Remove(arg2,arg3);
8103
8104 wxPyEndAllowThreads(__tstate);
8105 if (PyErr_Occurred()) SWIG_fail;
8106 }
8107 Py_INCREF(Py_None); resultobj = Py_None;
8108 return resultobj;
8109 fail:
8110 return NULL;
8111 }
8112
8113
8114 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8115 PyObject *resultobj;
8116 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8117 wxString *arg2 = 0 ;
8118 bool result;
8119 bool temp2 = False ;
8120 PyObject * obj0 = 0 ;
8121 PyObject * obj1 = 0 ;
8122 char *kwnames[] = {
8123 (char *) "self",(char *) "file", NULL
8124 };
8125
8126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8129 {
8130 arg2 = wxString_in_helper(obj1);
8131 if (arg2 == NULL) SWIG_fail;
8132 temp2 = True;
8133 }
8134 {
8135 PyThreadState* __tstate = wxPyBeginAllowThreads();
8136 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8137
8138 wxPyEndAllowThreads(__tstate);
8139 if (PyErr_Occurred()) SWIG_fail;
8140 }
8141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8142 {
8143 if (temp2)
8144 delete arg2;
8145 }
8146 return resultobj;
8147 fail:
8148 {
8149 if (temp2)
8150 delete arg2;
8151 }
8152 return NULL;
8153 }
8154
8155
8156 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8157 PyObject *resultobj;
8158 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8159 wxString const &arg2_defvalue = wxPyEmptyString ;
8160 wxString *arg2 = (wxString *) &arg2_defvalue ;
8161 bool result;
8162 bool temp2 = False ;
8163 PyObject * obj0 = 0 ;
8164 PyObject * obj1 = 0 ;
8165 char *kwnames[] = {
8166 (char *) "self",(char *) "file", NULL
8167 };
8168
8169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8172 if (obj1) {
8173 {
8174 arg2 = wxString_in_helper(obj1);
8175 if (arg2 == NULL) SWIG_fail;
8176 temp2 = True;
8177 }
8178 }
8179 {
8180 PyThreadState* __tstate = wxPyBeginAllowThreads();
8181 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8182
8183 wxPyEndAllowThreads(__tstate);
8184 if (PyErr_Occurred()) SWIG_fail;
8185 }
8186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8187 {
8188 if (temp2)
8189 delete arg2;
8190 }
8191 return resultobj;
8192 fail:
8193 {
8194 if (temp2)
8195 delete arg2;
8196 }
8197 return NULL;
8198 }
8199
8200
8201 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8202 PyObject *resultobj;
8203 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8204 PyObject * obj0 = 0 ;
8205 char *kwnames[] = {
8206 (char *) "self", NULL
8207 };
8208
8209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8212 {
8213 PyThreadState* __tstate = wxPyBeginAllowThreads();
8214 (arg1)->MarkDirty();
8215
8216 wxPyEndAllowThreads(__tstate);
8217 if (PyErr_Occurred()) SWIG_fail;
8218 }
8219 Py_INCREF(Py_None); resultobj = Py_None;
8220 return resultobj;
8221 fail:
8222 return NULL;
8223 }
8224
8225
8226 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8227 PyObject *resultobj;
8228 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8229 PyObject * obj0 = 0 ;
8230 char *kwnames[] = {
8231 (char *) "self", NULL
8232 };
8233
8234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8237 {
8238 PyThreadState* __tstate = wxPyBeginAllowThreads();
8239 (arg1)->DiscardEdits();
8240
8241 wxPyEndAllowThreads(__tstate);
8242 if (PyErr_Occurred()) SWIG_fail;
8243 }
8244 Py_INCREF(Py_None); resultobj = Py_None;
8245 return resultobj;
8246 fail:
8247 return NULL;
8248 }
8249
8250
8251 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8252 PyObject *resultobj;
8253 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8254 unsigned long arg2 ;
8255 PyObject * obj0 = 0 ;
8256 PyObject * obj1 = 0 ;
8257 char *kwnames[] = {
8258 (char *) "self",(char *) "len", NULL
8259 };
8260
8261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8264 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8265 if (PyErr_Occurred()) SWIG_fail;
8266 {
8267 PyThreadState* __tstate = wxPyBeginAllowThreads();
8268 (arg1)->SetMaxLength(arg2);
8269
8270 wxPyEndAllowThreads(__tstate);
8271 if (PyErr_Occurred()) SWIG_fail;
8272 }
8273 Py_INCREF(Py_None); resultobj = Py_None;
8274 return resultobj;
8275 fail:
8276 return NULL;
8277 }
8278
8279
8280 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8281 PyObject *resultobj;
8282 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8283 wxString *arg2 = 0 ;
8284 bool temp2 = False ;
8285 PyObject * obj0 = 0 ;
8286 PyObject * obj1 = 0 ;
8287 char *kwnames[] = {
8288 (char *) "self",(char *) "text", NULL
8289 };
8290
8291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8294 {
8295 arg2 = wxString_in_helper(obj1);
8296 if (arg2 == NULL) SWIG_fail;
8297 temp2 = True;
8298 }
8299 {
8300 PyThreadState* __tstate = wxPyBeginAllowThreads();
8301 (arg1)->WriteText((wxString const &)*arg2);
8302
8303 wxPyEndAllowThreads(__tstate);
8304 if (PyErr_Occurred()) SWIG_fail;
8305 }
8306 Py_INCREF(Py_None); resultobj = Py_None;
8307 {
8308 if (temp2)
8309 delete arg2;
8310 }
8311 return resultobj;
8312 fail:
8313 {
8314 if (temp2)
8315 delete arg2;
8316 }
8317 return NULL;
8318 }
8319
8320
8321 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8322 PyObject *resultobj;
8323 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8324 wxString *arg2 = 0 ;
8325 bool temp2 = False ;
8326 PyObject * obj0 = 0 ;
8327 PyObject * obj1 = 0 ;
8328 char *kwnames[] = {
8329 (char *) "self",(char *) "text", NULL
8330 };
8331
8332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8335 {
8336 arg2 = wxString_in_helper(obj1);
8337 if (arg2 == NULL) SWIG_fail;
8338 temp2 = True;
8339 }
8340 {
8341 PyThreadState* __tstate = wxPyBeginAllowThreads();
8342 (arg1)->AppendText((wxString const &)*arg2);
8343
8344 wxPyEndAllowThreads(__tstate);
8345 if (PyErr_Occurred()) SWIG_fail;
8346 }
8347 Py_INCREF(Py_None); resultobj = Py_None;
8348 {
8349 if (temp2)
8350 delete arg2;
8351 }
8352 return resultobj;
8353 fail:
8354 {
8355 if (temp2)
8356 delete arg2;
8357 }
8358 return NULL;
8359 }
8360
8361
8362 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8363 PyObject *resultobj;
8364 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8365 wxKeyEvent *arg2 = 0 ;
8366 bool result;
8367 PyObject * obj0 = 0 ;
8368 PyObject * obj1 = 0 ;
8369 char *kwnames[] = {
8370 (char *) "self",(char *) "event", NULL
8371 };
8372
8373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8376 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8377 SWIG_POINTER_EXCEPTION | 0)) == -1)
8378 SWIG_fail;
8379 if (arg2 == NULL) {
8380 PyErr_SetString(PyExc_TypeError,"null reference");
8381 SWIG_fail;
8382 }
8383 {
8384 PyThreadState* __tstate = wxPyBeginAllowThreads();
8385 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8386
8387 wxPyEndAllowThreads(__tstate);
8388 if (PyErr_Occurred()) SWIG_fail;
8389 }
8390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8391 return resultobj;
8392 fail:
8393 return NULL;
8394 }
8395
8396
8397 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8398 PyObject *resultobj;
8399 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8400 long arg2 ;
8401 long arg3 ;
8402 wxTextAttr *arg4 = 0 ;
8403 bool result;
8404 PyObject * obj0 = 0 ;
8405 PyObject * obj1 = 0 ;
8406 PyObject * obj2 = 0 ;
8407 PyObject * obj3 = 0 ;
8408 char *kwnames[] = {
8409 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8410 };
8411
8412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8415 arg2 = (long) SWIG_AsLong(obj1);
8416 if (PyErr_Occurred()) SWIG_fail;
8417 arg3 = (long) SWIG_AsLong(obj2);
8418 if (PyErr_Occurred()) SWIG_fail;
8419 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
8420 SWIG_POINTER_EXCEPTION | 0)) == -1)
8421 SWIG_fail;
8422 if (arg4 == NULL) {
8423 PyErr_SetString(PyExc_TypeError,"null reference");
8424 SWIG_fail;
8425 }
8426 {
8427 PyThreadState* __tstate = wxPyBeginAllowThreads();
8428 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8429
8430 wxPyEndAllowThreads(__tstate);
8431 if (PyErr_Occurred()) SWIG_fail;
8432 }
8433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8434 return resultobj;
8435 fail:
8436 return NULL;
8437 }
8438
8439
8440 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8441 PyObject *resultobj;
8442 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8443 long arg2 ;
8444 wxTextAttr *arg3 = 0 ;
8445 bool result;
8446 PyObject * obj0 = 0 ;
8447 PyObject * obj1 = 0 ;
8448 PyObject * obj2 = 0 ;
8449 char *kwnames[] = {
8450 (char *) "self",(char *) "position",(char *) "style", NULL
8451 };
8452
8453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
8454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8456 arg2 = (long) SWIG_AsLong(obj1);
8457 if (PyErr_Occurred()) SWIG_fail;
8458 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
8459 SWIG_POINTER_EXCEPTION | 0)) == -1)
8460 SWIG_fail;
8461 if (arg3 == NULL) {
8462 PyErr_SetString(PyExc_TypeError,"null reference");
8463 SWIG_fail;
8464 }
8465 {
8466 PyThreadState* __tstate = wxPyBeginAllowThreads();
8467 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8468
8469 wxPyEndAllowThreads(__tstate);
8470 if (PyErr_Occurred()) SWIG_fail;
8471 }
8472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8473 return resultobj;
8474 fail:
8475 return NULL;
8476 }
8477
8478
8479 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8480 PyObject *resultobj;
8481 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8482 wxTextAttr *arg2 = 0 ;
8483 bool result;
8484 PyObject * obj0 = 0 ;
8485 PyObject * obj1 = 0 ;
8486 char *kwnames[] = {
8487 (char *) "self",(char *) "style", NULL
8488 };
8489
8490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
8491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
8494 SWIG_POINTER_EXCEPTION | 0)) == -1)
8495 SWIG_fail;
8496 if (arg2 == NULL) {
8497 PyErr_SetString(PyExc_TypeError,"null reference");
8498 SWIG_fail;
8499 }
8500 {
8501 PyThreadState* __tstate = wxPyBeginAllowThreads();
8502 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8503
8504 wxPyEndAllowThreads(__tstate);
8505 if (PyErr_Occurred()) SWIG_fail;
8506 }
8507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8508 return resultobj;
8509 fail:
8510 return NULL;
8511 }
8512
8513
8514 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8515 PyObject *resultobj;
8516 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8517 wxTextAttr *result;
8518 PyObject * obj0 = 0 ;
8519 char *kwnames[] = {
8520 (char *) "self", NULL
8521 };
8522
8523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
8524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8526 {
8527 PyThreadState* __tstate = wxPyBeginAllowThreads();
8528 {
8529 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8530 result = (wxTextAttr *) &_result_ref;
8531 }
8532
8533 wxPyEndAllowThreads(__tstate);
8534 if (PyErr_Occurred()) SWIG_fail;
8535 }
8536 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
8537 return resultobj;
8538 fail:
8539 return NULL;
8540 }
8541
8542
8543 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8544 PyObject *resultobj;
8545 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8546 long arg2 ;
8547 long arg3 ;
8548 long result;
8549 PyObject * obj0 = 0 ;
8550 PyObject * obj1 = 0 ;
8551 PyObject * obj2 = 0 ;
8552 char *kwnames[] = {
8553 (char *) "self",(char *) "x",(char *) "y", NULL
8554 };
8555
8556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8559 arg2 = (long) SWIG_AsLong(obj1);
8560 if (PyErr_Occurred()) SWIG_fail;
8561 arg3 = (long) SWIG_AsLong(obj2);
8562 if (PyErr_Occurred()) SWIG_fail;
8563 {
8564 PyThreadState* __tstate = wxPyBeginAllowThreads();
8565 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8566
8567 wxPyEndAllowThreads(__tstate);
8568 if (PyErr_Occurred()) SWIG_fail;
8569 }
8570 resultobj = SWIG_FromLong((long)result);
8571 return resultobj;
8572 fail:
8573 return NULL;
8574 }
8575
8576
8577 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8578 PyObject *resultobj;
8579 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8580 long arg2 ;
8581 long *arg3 = (long *) 0 ;
8582 long *arg4 = (long *) 0 ;
8583 long temp3 ;
8584 long temp4 ;
8585 PyObject * obj0 = 0 ;
8586 PyObject * obj1 = 0 ;
8587 char *kwnames[] = {
8588 (char *) "self",(char *) "pos", NULL
8589 };
8590
8591 arg3 = &temp3;
8592 arg4 = &temp4;
8593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
8594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8596 arg2 = (long) SWIG_AsLong(obj1);
8597 if (PyErr_Occurred()) SWIG_fail;
8598 {
8599 PyThreadState* __tstate = wxPyBeginAllowThreads();
8600 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8601
8602 wxPyEndAllowThreads(__tstate);
8603 if (PyErr_Occurred()) SWIG_fail;
8604 }
8605 Py_INCREF(Py_None); resultobj = Py_None;
8606 {
8607 PyObject *o = PyInt_FromLong((long) (*arg3));
8608 resultobj = t_output_helper(resultobj,o);
8609 }
8610 {
8611 PyObject *o = PyInt_FromLong((long) (*arg4));
8612 resultobj = t_output_helper(resultobj,o);
8613 }
8614 return resultobj;
8615 fail:
8616 return NULL;
8617 }
8618
8619
8620 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8621 PyObject *resultobj;
8622 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8623 long arg2 ;
8624 PyObject * obj0 = 0 ;
8625 PyObject * obj1 = 0 ;
8626 char *kwnames[] = {
8627 (char *) "self",(char *) "pos", NULL
8628 };
8629
8630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
8631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8633 arg2 = (long) SWIG_AsLong(obj1);
8634 if (PyErr_Occurred()) SWIG_fail;
8635 {
8636 PyThreadState* __tstate = wxPyBeginAllowThreads();
8637 (arg1)->ShowPosition(arg2);
8638
8639 wxPyEndAllowThreads(__tstate);
8640 if (PyErr_Occurred()) SWIG_fail;
8641 }
8642 Py_INCREF(Py_None); resultobj = Py_None;
8643 return resultobj;
8644 fail:
8645 return NULL;
8646 }
8647
8648
8649 static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8650 PyObject *resultobj;
8651 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8652 wxPoint *arg2 = 0 ;
8653 long *arg3 = (long *) 0 ;
8654 long *arg4 = (long *) 0 ;
8655 int result;
8656 wxPoint temp2 ;
8657 long temp3 ;
8658 long temp4 ;
8659 PyObject * obj0 = 0 ;
8660 PyObject * obj1 = 0 ;
8661 char *kwnames[] = {
8662 (char *) "self",(char *) "pt", NULL
8663 };
8664
8665 arg3 = &temp3;
8666 arg4 = &temp4;
8667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
8668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8670 {
8671 arg2 = &temp2;
8672 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8673 }
8674 {
8675 PyThreadState* __tstate = wxPyBeginAllowThreads();
8676 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
8677
8678 wxPyEndAllowThreads(__tstate);
8679 if (PyErr_Occurred()) SWIG_fail;
8680 }
8681 resultobj = SWIG_FromInt((int)result);
8682 {
8683 PyObject *o = PyInt_FromLong((long) (*arg3));
8684 resultobj = t_output_helper(resultobj,o);
8685 }
8686 {
8687 PyObject *o = PyInt_FromLong((long) (*arg4));
8688 resultobj = t_output_helper(resultobj,o);
8689 }
8690 return resultobj;
8691 fail:
8692 return NULL;
8693 }
8694
8695
8696 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8697 PyObject *resultobj;
8698 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8699 PyObject * obj0 = 0 ;
8700 char *kwnames[] = {
8701 (char *) "self", NULL
8702 };
8703
8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
8705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8707 {
8708 PyThreadState* __tstate = wxPyBeginAllowThreads();
8709 (arg1)->Copy();
8710
8711 wxPyEndAllowThreads(__tstate);
8712 if (PyErr_Occurred()) SWIG_fail;
8713 }
8714 Py_INCREF(Py_None); resultobj = Py_None;
8715 return resultobj;
8716 fail:
8717 return NULL;
8718 }
8719
8720
8721 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8722 PyObject *resultobj;
8723 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8724 PyObject * obj0 = 0 ;
8725 char *kwnames[] = {
8726 (char *) "self", NULL
8727 };
8728
8729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
8730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8732 {
8733 PyThreadState* __tstate = wxPyBeginAllowThreads();
8734 (arg1)->Cut();
8735
8736 wxPyEndAllowThreads(__tstate);
8737 if (PyErr_Occurred()) SWIG_fail;
8738 }
8739 Py_INCREF(Py_None); resultobj = Py_None;
8740 return resultobj;
8741 fail:
8742 return NULL;
8743 }
8744
8745
8746 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8747 PyObject *resultobj;
8748 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8749 PyObject * obj0 = 0 ;
8750 char *kwnames[] = {
8751 (char *) "self", NULL
8752 };
8753
8754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
8755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8757 {
8758 PyThreadState* __tstate = wxPyBeginAllowThreads();
8759 (arg1)->Paste();
8760
8761 wxPyEndAllowThreads(__tstate);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 }
8764 Py_INCREF(Py_None); resultobj = Py_None;
8765 return resultobj;
8766 fail:
8767 return NULL;
8768 }
8769
8770
8771 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8772 PyObject *resultobj;
8773 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8774 bool result;
8775 PyObject * obj0 = 0 ;
8776 char *kwnames[] = {
8777 (char *) "self", NULL
8778 };
8779
8780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
8781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8783 {
8784 PyThreadState* __tstate = wxPyBeginAllowThreads();
8785 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8786
8787 wxPyEndAllowThreads(__tstate);
8788 if (PyErr_Occurred()) SWIG_fail;
8789 }
8790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8791 return resultobj;
8792 fail:
8793 return NULL;
8794 }
8795
8796
8797 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
8798 PyObject *resultobj;
8799 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8800 bool result;
8801 PyObject * obj0 = 0 ;
8802 char *kwnames[] = {
8803 (char *) "self", NULL
8804 };
8805
8806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
8807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8809 {
8810 PyThreadState* __tstate = wxPyBeginAllowThreads();
8811 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
8812
8813 wxPyEndAllowThreads(__tstate);
8814 if (PyErr_Occurred()) SWIG_fail;
8815 }
8816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8817 return resultobj;
8818 fail:
8819 return NULL;
8820 }
8821
8822
8823 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
8824 PyObject *resultobj;
8825 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8826 bool result;
8827 PyObject * obj0 = 0 ;
8828 char *kwnames[] = {
8829 (char *) "self", NULL
8830 };
8831
8832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
8833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8835 {
8836 PyThreadState* __tstate = wxPyBeginAllowThreads();
8837 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
8838
8839 wxPyEndAllowThreads(__tstate);
8840 if (PyErr_Occurred()) SWIG_fail;
8841 }
8842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8843 return resultobj;
8844 fail:
8845 return NULL;
8846 }
8847
8848
8849 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
8850 PyObject *resultobj;
8851 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8852 PyObject * obj0 = 0 ;
8853 char *kwnames[] = {
8854 (char *) "self", NULL
8855 };
8856
8857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
8858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8860 {
8861 PyThreadState* __tstate = wxPyBeginAllowThreads();
8862 (arg1)->Undo();
8863
8864 wxPyEndAllowThreads(__tstate);
8865 if (PyErr_Occurred()) SWIG_fail;
8866 }
8867 Py_INCREF(Py_None); resultobj = Py_None;
8868 return resultobj;
8869 fail:
8870 return NULL;
8871 }
8872
8873
8874 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
8875 PyObject *resultobj;
8876 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8877 PyObject * obj0 = 0 ;
8878 char *kwnames[] = {
8879 (char *) "self", NULL
8880 };
8881
8882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
8883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8885 {
8886 PyThreadState* __tstate = wxPyBeginAllowThreads();
8887 (arg1)->Redo();
8888
8889 wxPyEndAllowThreads(__tstate);
8890 if (PyErr_Occurred()) SWIG_fail;
8891 }
8892 Py_INCREF(Py_None); resultobj = Py_None;
8893 return resultobj;
8894 fail:
8895 return NULL;
8896 }
8897
8898
8899 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
8900 PyObject *resultobj;
8901 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8902 bool result;
8903 PyObject * obj0 = 0 ;
8904 char *kwnames[] = {
8905 (char *) "self", NULL
8906 };
8907
8908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
8909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8911 {
8912 PyThreadState* __tstate = wxPyBeginAllowThreads();
8913 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
8914
8915 wxPyEndAllowThreads(__tstate);
8916 if (PyErr_Occurred()) SWIG_fail;
8917 }
8918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8919 return resultobj;
8920 fail:
8921 return NULL;
8922 }
8923
8924
8925 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
8926 PyObject *resultobj;
8927 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8928 bool result;
8929 PyObject * obj0 = 0 ;
8930 char *kwnames[] = {
8931 (char *) "self", NULL
8932 };
8933
8934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
8935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8937 {
8938 PyThreadState* __tstate = wxPyBeginAllowThreads();
8939 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
8940
8941 wxPyEndAllowThreads(__tstate);
8942 if (PyErr_Occurred()) SWIG_fail;
8943 }
8944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8945 return resultobj;
8946 fail:
8947 return NULL;
8948 }
8949
8950
8951 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8952 PyObject *resultobj;
8953 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8954 long arg2 ;
8955 PyObject * obj0 = 0 ;
8956 PyObject * obj1 = 0 ;
8957 char *kwnames[] = {
8958 (char *) "self",(char *) "pos", NULL
8959 };
8960
8961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
8962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8964 arg2 = (long) SWIG_AsLong(obj1);
8965 if (PyErr_Occurred()) SWIG_fail;
8966 {
8967 PyThreadState* __tstate = wxPyBeginAllowThreads();
8968 (arg1)->SetInsertionPoint(arg2);
8969
8970 wxPyEndAllowThreads(__tstate);
8971 if (PyErr_Occurred()) SWIG_fail;
8972 }
8973 Py_INCREF(Py_None); resultobj = Py_None;
8974 return resultobj;
8975 fail:
8976 return NULL;
8977 }
8978
8979
8980 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8981 PyObject *resultobj;
8982 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8983 PyObject * obj0 = 0 ;
8984 char *kwnames[] = {
8985 (char *) "self", NULL
8986 };
8987
8988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
8989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8991 {
8992 PyThreadState* __tstate = wxPyBeginAllowThreads();
8993 (arg1)->SetInsertionPointEnd();
8994
8995 wxPyEndAllowThreads(__tstate);
8996 if (PyErr_Occurred()) SWIG_fail;
8997 }
8998 Py_INCREF(Py_None); resultobj = Py_None;
8999 return resultobj;
9000 fail:
9001 return NULL;
9002 }
9003
9004
9005 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9006 PyObject *resultobj;
9007 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9008 long result;
9009 PyObject * obj0 = 0 ;
9010 char *kwnames[] = {
9011 (char *) "self", NULL
9012 };
9013
9014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
9015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9017 {
9018 PyThreadState* __tstate = wxPyBeginAllowThreads();
9019 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9020
9021 wxPyEndAllowThreads(__tstate);
9022 if (PyErr_Occurred()) SWIG_fail;
9023 }
9024 resultobj = SWIG_FromLong((long)result);
9025 return resultobj;
9026 fail:
9027 return NULL;
9028 }
9029
9030
9031 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9032 PyObject *resultobj;
9033 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9034 long result;
9035 PyObject * obj0 = 0 ;
9036 char *kwnames[] = {
9037 (char *) "self", NULL
9038 };
9039
9040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9043 {
9044 PyThreadState* __tstate = wxPyBeginAllowThreads();
9045 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9046
9047 wxPyEndAllowThreads(__tstate);
9048 if (PyErr_Occurred()) SWIG_fail;
9049 }
9050 resultobj = SWIG_FromLong((long)result);
9051 return resultobj;
9052 fail:
9053 return NULL;
9054 }
9055
9056
9057 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9058 PyObject *resultobj;
9059 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9060 long arg2 ;
9061 long arg3 ;
9062 PyObject * obj0 = 0 ;
9063 PyObject * obj1 = 0 ;
9064 PyObject * obj2 = 0 ;
9065 char *kwnames[] = {
9066 (char *) "self",(char *) "from",(char *) "to", NULL
9067 };
9068
9069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9072 arg2 = (long) SWIG_AsLong(obj1);
9073 if (PyErr_Occurred()) SWIG_fail;
9074 arg3 = (long) SWIG_AsLong(obj2);
9075 if (PyErr_Occurred()) SWIG_fail;
9076 {
9077 PyThreadState* __tstate = wxPyBeginAllowThreads();
9078 (arg1)->SetSelection(arg2,arg3);
9079
9080 wxPyEndAllowThreads(__tstate);
9081 if (PyErr_Occurred()) SWIG_fail;
9082 }
9083 Py_INCREF(Py_None); resultobj = Py_None;
9084 return resultobj;
9085 fail:
9086 return NULL;
9087 }
9088
9089
9090 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9091 PyObject *resultobj;
9092 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9093 PyObject * obj0 = 0 ;
9094 char *kwnames[] = {
9095 (char *) "self", NULL
9096 };
9097
9098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9101 {
9102 PyThreadState* __tstate = wxPyBeginAllowThreads();
9103 (arg1)->SelectAll();
9104
9105 wxPyEndAllowThreads(__tstate);
9106 if (PyErr_Occurred()) SWIG_fail;
9107 }
9108 Py_INCREF(Py_None); resultobj = Py_None;
9109 return resultobj;
9110 fail:
9111 return NULL;
9112 }
9113
9114
9115 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9116 PyObject *resultobj;
9117 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9118 bool arg2 ;
9119 PyObject * obj0 = 0 ;
9120 PyObject * obj1 = 0 ;
9121 char *kwnames[] = {
9122 (char *) "self",(char *) "editable", NULL
9123 };
9124
9125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9128 arg2 = (bool) SWIG_AsBool(obj1);
9129 if (PyErr_Occurred()) SWIG_fail;
9130 {
9131 PyThreadState* __tstate = wxPyBeginAllowThreads();
9132 (arg1)->SetEditable(arg2);
9133
9134 wxPyEndAllowThreads(__tstate);
9135 if (PyErr_Occurred()) SWIG_fail;
9136 }
9137 Py_INCREF(Py_None); resultobj = Py_None;
9138 return resultobj;
9139 fail:
9140 return NULL;
9141 }
9142
9143
9144 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9145 PyObject *resultobj;
9146 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9147 wxString *arg2 = 0 ;
9148 bool temp2 = False ;
9149 PyObject * obj0 = 0 ;
9150 PyObject * obj1 = 0 ;
9151 char *kwnames[] = {
9152 (char *) "self",(char *) "text", NULL
9153 };
9154
9155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9158 {
9159 arg2 = wxString_in_helper(obj1);
9160 if (arg2 == NULL) SWIG_fail;
9161 temp2 = True;
9162 }
9163 {
9164 PyThreadState* __tstate = wxPyBeginAllowThreads();
9165 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9166
9167 wxPyEndAllowThreads(__tstate);
9168 if (PyErr_Occurred()) SWIG_fail;
9169 }
9170 Py_INCREF(Py_None); resultobj = Py_None;
9171 {
9172 if (temp2)
9173 delete arg2;
9174 }
9175 return resultobj;
9176 fail:
9177 {
9178 if (temp2)
9179 delete arg2;
9180 }
9181 return NULL;
9182 }
9183
9184
9185 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9186 PyObject *resultobj;
9187 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9188 long arg2 ;
9189 long arg3 ;
9190 wxString result;
9191 PyObject * obj0 = 0 ;
9192 PyObject * obj1 = 0 ;
9193 PyObject * obj2 = 0 ;
9194 char *kwnames[] = {
9195 (char *) "self",(char *) "from",(char *) "to", NULL
9196 };
9197
9198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9201 arg2 = (long) SWIG_AsLong(obj1);
9202 if (PyErr_Occurred()) SWIG_fail;
9203 arg3 = (long) SWIG_AsLong(obj2);
9204 if (PyErr_Occurred()) SWIG_fail;
9205 {
9206 PyThreadState* __tstate = wxPyBeginAllowThreads();
9207 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9208
9209 wxPyEndAllowThreads(__tstate);
9210 if (PyErr_Occurred()) SWIG_fail;
9211 }
9212 {
9213 #if wxUSE_UNICODE
9214 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9215 #else
9216 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9217 #endif
9218 }
9219 return resultobj;
9220 fail:
9221 return NULL;
9222 }
9223
9224
9225 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9226 PyObject *obj;
9227 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9228 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9229 Py_INCREF(obj);
9230 return Py_BuildValue((char *)"");
9231 }
9232 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9233 PyObject *resultobj;
9234 int arg1 ;
9235 wxMouseEvent *arg2 = 0 ;
9236 long arg3 ;
9237 long arg4 ;
9238 wxTextUrlEvent *result;
9239 PyObject * obj0 = 0 ;
9240 PyObject * obj1 = 0 ;
9241 PyObject * obj2 = 0 ;
9242 PyObject * obj3 = 0 ;
9243 char *kwnames[] = {
9244 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9245 };
9246
9247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9248 arg1 = (int) SWIG_AsInt(obj0);
9249 if (PyErr_Occurred()) SWIG_fail;
9250 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9251 SWIG_POINTER_EXCEPTION | 0)) == -1)
9252 SWIG_fail;
9253 if (arg2 == NULL) {
9254 PyErr_SetString(PyExc_TypeError,"null reference");
9255 SWIG_fail;
9256 }
9257 arg3 = (long) SWIG_AsLong(obj2);
9258 if (PyErr_Occurred()) SWIG_fail;
9259 arg4 = (long) SWIG_AsLong(obj3);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 {
9262 PyThreadState* __tstate = wxPyBeginAllowThreads();
9263 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9264
9265 wxPyEndAllowThreads(__tstate);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 }
9268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
9269 return resultobj;
9270 fail:
9271 return NULL;
9272 }
9273
9274
9275 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9276 PyObject *resultobj;
9277 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9278 wxMouseEvent *result;
9279 PyObject * obj0 = 0 ;
9280 char *kwnames[] = {
9281 (char *) "self", NULL
9282 };
9283
9284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9287 {
9288 PyThreadState* __tstate = wxPyBeginAllowThreads();
9289 {
9290 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9291 result = (wxMouseEvent *) &_result_ref;
9292 }
9293
9294 wxPyEndAllowThreads(__tstate);
9295 if (PyErr_Occurred()) SWIG_fail;
9296 }
9297 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
9298 return resultobj;
9299 fail:
9300 return NULL;
9301 }
9302
9303
9304 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9305 PyObject *resultobj;
9306 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9307 long result;
9308 PyObject * obj0 = 0 ;
9309 char *kwnames[] = {
9310 (char *) "self", NULL
9311 };
9312
9313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
9314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9316 {
9317 PyThreadState* __tstate = wxPyBeginAllowThreads();
9318 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9319
9320 wxPyEndAllowThreads(__tstate);
9321 if (PyErr_Occurred()) SWIG_fail;
9322 }
9323 resultobj = SWIG_FromLong((long)result);
9324 return resultobj;
9325 fail:
9326 return NULL;
9327 }
9328
9329
9330 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9331 PyObject *resultobj;
9332 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9333 long result;
9334 PyObject * obj0 = 0 ;
9335 char *kwnames[] = {
9336 (char *) "self", NULL
9337 };
9338
9339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9342 {
9343 PyThreadState* __tstate = wxPyBeginAllowThreads();
9344 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9345
9346 wxPyEndAllowThreads(__tstate);
9347 if (PyErr_Occurred()) SWIG_fail;
9348 }
9349 resultobj = SWIG_FromLong((long)result);
9350 return resultobj;
9351 fail:
9352 return NULL;
9353 }
9354
9355
9356 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
9357 PyObject *obj;
9358 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9359 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9360 Py_INCREF(obj);
9361 return Py_BuildValue((char *)"");
9362 }
9363 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
9364 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9365 return 1;
9366 }
9367
9368
9369 static PyObject *_wrap_ScrollBarNameStr_get() {
9370 PyObject *pyobj;
9371
9372 {
9373 #if wxUSE_UNICODE
9374 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9375 #else
9376 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9377 #endif
9378 }
9379 return pyobj;
9380 }
9381
9382
9383 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9384 PyObject *resultobj;
9385 wxWindow *arg1 = (wxWindow *) 0 ;
9386 int arg2 = (int) -1 ;
9387 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9388 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9389 wxSize const &arg4_defvalue = wxDefaultSize ;
9390 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9391 long arg5 = (long) wxSB_HORIZONTAL ;
9392 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9393 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9394 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9395 wxString *arg7 = (wxString *) &arg7_defvalue ;
9396 wxScrollBar *result;
9397 wxPoint temp3 ;
9398 wxSize temp4 ;
9399 bool temp7 = False ;
9400 PyObject * obj0 = 0 ;
9401 PyObject * obj1 = 0 ;
9402 PyObject * obj2 = 0 ;
9403 PyObject * obj3 = 0 ;
9404 PyObject * obj4 = 0 ;
9405 PyObject * obj5 = 0 ;
9406 PyObject * obj6 = 0 ;
9407 char *kwnames[] = {
9408 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9409 };
9410
9411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9414 if (obj1) {
9415 arg2 = (int) SWIG_AsInt(obj1);
9416 if (PyErr_Occurred()) SWIG_fail;
9417 }
9418 if (obj2) {
9419 {
9420 arg3 = &temp3;
9421 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9422 }
9423 }
9424 if (obj3) {
9425 {
9426 arg4 = &temp4;
9427 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9428 }
9429 }
9430 if (obj4) {
9431 arg5 = (long) SWIG_AsLong(obj4);
9432 if (PyErr_Occurred()) SWIG_fail;
9433 }
9434 if (obj5) {
9435 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
9436 SWIG_POINTER_EXCEPTION | 0)) == -1)
9437 SWIG_fail;
9438 if (arg6 == NULL) {
9439 PyErr_SetString(PyExc_TypeError,"null reference");
9440 SWIG_fail;
9441 }
9442 }
9443 if (obj6) {
9444 {
9445 arg7 = wxString_in_helper(obj6);
9446 if (arg7 == NULL) SWIG_fail;
9447 temp7 = True;
9448 }
9449 }
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9453
9454 wxPyEndAllowThreads(__tstate);
9455 if (PyErr_Occurred()) SWIG_fail;
9456 }
9457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9458 {
9459 if (temp7)
9460 delete arg7;
9461 }
9462 return resultobj;
9463 fail:
9464 {
9465 if (temp7)
9466 delete arg7;
9467 }
9468 return NULL;
9469 }
9470
9471
9472 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9473 PyObject *resultobj;
9474 wxScrollBar *result;
9475 char *kwnames[] = {
9476 NULL
9477 };
9478
9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9480 {
9481 PyThreadState* __tstate = wxPyBeginAllowThreads();
9482 result = (wxScrollBar *)new wxScrollBar();
9483
9484 wxPyEndAllowThreads(__tstate);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 }
9487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9488 return resultobj;
9489 fail:
9490 return NULL;
9491 }
9492
9493
9494 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9495 PyObject *resultobj;
9496 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9497 wxWindow *arg2 = (wxWindow *) 0 ;
9498 int arg3 = (int) -1 ;
9499 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9500 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9501 wxSize const &arg5_defvalue = wxDefaultSize ;
9502 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9503 long arg6 = (long) wxSB_HORIZONTAL ;
9504 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9505 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9506 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9507 wxString *arg8 = (wxString *) &arg8_defvalue ;
9508 bool result;
9509 wxPoint temp4 ;
9510 wxSize temp5 ;
9511 bool temp8 = False ;
9512 PyObject * obj0 = 0 ;
9513 PyObject * obj1 = 0 ;
9514 PyObject * obj2 = 0 ;
9515 PyObject * obj3 = 0 ;
9516 PyObject * obj4 = 0 ;
9517 PyObject * obj5 = 0 ;
9518 PyObject * obj6 = 0 ;
9519 PyObject * obj7 = 0 ;
9520 char *kwnames[] = {
9521 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9522 };
9523
9524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9527 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9529 if (obj2) {
9530 arg3 = (int) SWIG_AsInt(obj2);
9531 if (PyErr_Occurred()) SWIG_fail;
9532 }
9533 if (obj3) {
9534 {
9535 arg4 = &temp4;
9536 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9537 }
9538 }
9539 if (obj4) {
9540 {
9541 arg5 = &temp5;
9542 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9543 }
9544 }
9545 if (obj5) {
9546 arg6 = (long) SWIG_AsLong(obj5);
9547 if (PyErr_Occurred()) SWIG_fail;
9548 }
9549 if (obj6) {
9550 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
9551 SWIG_POINTER_EXCEPTION | 0)) == -1)
9552 SWIG_fail;
9553 if (arg7 == NULL) {
9554 PyErr_SetString(PyExc_TypeError,"null reference");
9555 SWIG_fail;
9556 }
9557 }
9558 if (obj7) {
9559 {
9560 arg8 = wxString_in_helper(obj7);
9561 if (arg8 == NULL) SWIG_fail;
9562 temp8 = True;
9563 }
9564 }
9565 {
9566 PyThreadState* __tstate = wxPyBeginAllowThreads();
9567 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9568
9569 wxPyEndAllowThreads(__tstate);
9570 if (PyErr_Occurred()) SWIG_fail;
9571 }
9572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9573 {
9574 if (temp8)
9575 delete arg8;
9576 }
9577 return resultobj;
9578 fail:
9579 {
9580 if (temp8)
9581 delete arg8;
9582 }
9583 return NULL;
9584 }
9585
9586
9587 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9588 PyObject *resultobj;
9589 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9590 int result;
9591 PyObject * obj0 = 0 ;
9592 char *kwnames[] = {
9593 (char *) "self", NULL
9594 };
9595
9596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
9597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9599 {
9600 PyThreadState* __tstate = wxPyBeginAllowThreads();
9601 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9602
9603 wxPyEndAllowThreads(__tstate);
9604 if (PyErr_Occurred()) SWIG_fail;
9605 }
9606 resultobj = SWIG_FromInt((int)result);
9607 return resultobj;
9608 fail:
9609 return NULL;
9610 }
9611
9612
9613 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9614 PyObject *resultobj;
9615 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9616 int result;
9617 PyObject * obj0 = 0 ;
9618 char *kwnames[] = {
9619 (char *) "self", NULL
9620 };
9621
9622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
9623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9625 {
9626 PyThreadState* __tstate = wxPyBeginAllowThreads();
9627 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9628
9629 wxPyEndAllowThreads(__tstate);
9630 if (PyErr_Occurred()) SWIG_fail;
9631 }
9632 resultobj = SWIG_FromInt((int)result);
9633 return resultobj;
9634 fail:
9635 return NULL;
9636 }
9637
9638
9639 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9640 PyObject *resultobj;
9641 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9642 int result;
9643 PyObject * obj0 = 0 ;
9644 char *kwnames[] = {
9645 (char *) "self", NULL
9646 };
9647
9648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
9649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9651 {
9652 PyThreadState* __tstate = wxPyBeginAllowThreads();
9653 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9654
9655 wxPyEndAllowThreads(__tstate);
9656 if (PyErr_Occurred()) SWIG_fail;
9657 }
9658 resultobj = SWIG_FromInt((int)result);
9659 return resultobj;
9660 fail:
9661 return NULL;
9662 }
9663
9664
9665 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9666 PyObject *resultobj;
9667 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9668 int result;
9669 PyObject * obj0 = 0 ;
9670 char *kwnames[] = {
9671 (char *) "self", NULL
9672 };
9673
9674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
9675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9677 {
9678 PyThreadState* __tstate = wxPyBeginAllowThreads();
9679 result = (int)((wxScrollBar const *)arg1)->GetRange();
9680
9681 wxPyEndAllowThreads(__tstate);
9682 if (PyErr_Occurred()) SWIG_fail;
9683 }
9684 resultobj = SWIG_FromInt((int)result);
9685 return resultobj;
9686 fail:
9687 return NULL;
9688 }
9689
9690
9691 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9692 PyObject *resultobj;
9693 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9694 bool result;
9695 PyObject * obj0 = 0 ;
9696 char *kwnames[] = {
9697 (char *) "self", NULL
9698 };
9699
9700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
9701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9703 {
9704 PyThreadState* __tstate = wxPyBeginAllowThreads();
9705 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9706
9707 wxPyEndAllowThreads(__tstate);
9708 if (PyErr_Occurred()) SWIG_fail;
9709 }
9710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9711 return resultobj;
9712 fail:
9713 return NULL;
9714 }
9715
9716
9717 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9718 PyObject *resultobj;
9719 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9720 int arg2 ;
9721 PyObject * obj0 = 0 ;
9722 PyObject * obj1 = 0 ;
9723 char *kwnames[] = {
9724 (char *) "self",(char *) "viewStart", NULL
9725 };
9726
9727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
9728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9730 arg2 = (int) SWIG_AsInt(obj1);
9731 if (PyErr_Occurred()) SWIG_fail;
9732 {
9733 PyThreadState* __tstate = wxPyBeginAllowThreads();
9734 (arg1)->SetThumbPosition(arg2);
9735
9736 wxPyEndAllowThreads(__tstate);
9737 if (PyErr_Occurred()) SWIG_fail;
9738 }
9739 Py_INCREF(Py_None); resultobj = Py_None;
9740 return resultobj;
9741 fail:
9742 return NULL;
9743 }
9744
9745
9746 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
9747 PyObject *resultobj;
9748 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9749 int arg2 ;
9750 int arg3 ;
9751 int arg4 ;
9752 int arg5 ;
9753 bool arg6 = (bool) True ;
9754 PyObject * obj0 = 0 ;
9755 PyObject * obj1 = 0 ;
9756 PyObject * obj2 = 0 ;
9757 PyObject * obj3 = 0 ;
9758 PyObject * obj4 = 0 ;
9759 PyObject * obj5 = 0 ;
9760 char *kwnames[] = {
9761 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9762 };
9763
9764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9767 arg2 = (int) SWIG_AsInt(obj1);
9768 if (PyErr_Occurred()) SWIG_fail;
9769 arg3 = (int) SWIG_AsInt(obj2);
9770 if (PyErr_Occurred()) SWIG_fail;
9771 arg4 = (int) SWIG_AsInt(obj3);
9772 if (PyErr_Occurred()) SWIG_fail;
9773 arg5 = (int) SWIG_AsInt(obj4);
9774 if (PyErr_Occurred()) SWIG_fail;
9775 if (obj5) {
9776 arg6 = (bool) SWIG_AsBool(obj5);
9777 if (PyErr_Occurred()) SWIG_fail;
9778 }
9779 {
9780 PyThreadState* __tstate = wxPyBeginAllowThreads();
9781 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
9782
9783 wxPyEndAllowThreads(__tstate);
9784 if (PyErr_Occurred()) SWIG_fail;
9785 }
9786 Py_INCREF(Py_None); resultobj = Py_None;
9787 return resultobj;
9788 fail:
9789 return NULL;
9790 }
9791
9792
9793 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
9794 PyObject *obj;
9795 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9796 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
9797 Py_INCREF(obj);
9798 return Py_BuildValue((char *)"");
9799 }
9800 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
9801 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
9802 return 1;
9803 }
9804
9805
9806 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
9807 PyObject *pyobj;
9808
9809 {
9810 #if wxUSE_UNICODE
9811 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9812 #else
9813 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9814 #endif
9815 }
9816 return pyobj;
9817 }
9818
9819
9820 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
9821 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
9822 return 1;
9823 }
9824
9825
9826 static PyObject *_wrap_SpinCtrlNameStr_get() {
9827 PyObject *pyobj;
9828
9829 {
9830 #if wxUSE_UNICODE
9831 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9832 #else
9833 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9834 #endif
9835 }
9836 return pyobj;
9837 }
9838
9839
9840 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9841 PyObject *resultobj;
9842 wxWindow *arg1 = (wxWindow *) 0 ;
9843 int arg2 = (int) -1 ;
9844 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9845 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9846 wxSize const &arg4_defvalue = wxDefaultSize ;
9847 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9848 long arg5 = (long) wxSP_HORIZONTAL ;
9849 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
9850 wxString *arg6 = (wxString *) &arg6_defvalue ;
9851 wxSpinButton *result;
9852 wxPoint temp3 ;
9853 wxSize temp4 ;
9854 bool temp6 = False ;
9855 PyObject * obj0 = 0 ;
9856 PyObject * obj1 = 0 ;
9857 PyObject * obj2 = 0 ;
9858 PyObject * obj3 = 0 ;
9859 PyObject * obj4 = 0 ;
9860 PyObject * obj5 = 0 ;
9861 char *kwnames[] = {
9862 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9863 };
9864
9865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9868 if (obj1) {
9869 arg2 = (int) SWIG_AsInt(obj1);
9870 if (PyErr_Occurred()) SWIG_fail;
9871 }
9872 if (obj2) {
9873 {
9874 arg3 = &temp3;
9875 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9876 }
9877 }
9878 if (obj3) {
9879 {
9880 arg4 = &temp4;
9881 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9882 }
9883 }
9884 if (obj4) {
9885 arg5 = (long) SWIG_AsLong(obj4);
9886 if (PyErr_Occurred()) SWIG_fail;
9887 }
9888 if (obj5) {
9889 {
9890 arg6 = wxString_in_helper(obj5);
9891 if (arg6 == NULL) SWIG_fail;
9892 temp6 = True;
9893 }
9894 }
9895 {
9896 PyThreadState* __tstate = wxPyBeginAllowThreads();
9897 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9898
9899 wxPyEndAllowThreads(__tstate);
9900 if (PyErr_Occurred()) SWIG_fail;
9901 }
9902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
9903 {
9904 if (temp6)
9905 delete arg6;
9906 }
9907 return resultobj;
9908 fail:
9909 {
9910 if (temp6)
9911 delete arg6;
9912 }
9913 return NULL;
9914 }
9915
9916
9917 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9918 PyObject *resultobj;
9919 wxSpinButton *result;
9920 char *kwnames[] = {
9921 NULL
9922 };
9923
9924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
9925 {
9926 PyThreadState* __tstate = wxPyBeginAllowThreads();
9927 result = (wxSpinButton *)new wxSpinButton();
9928
9929 wxPyEndAllowThreads(__tstate);
9930 if (PyErr_Occurred()) SWIG_fail;
9931 }
9932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
9933 return resultobj;
9934 fail:
9935 return NULL;
9936 }
9937
9938
9939 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9940 PyObject *resultobj;
9941 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9942 wxWindow *arg2 = (wxWindow *) 0 ;
9943 int arg3 = (int) -1 ;
9944 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9945 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9946 wxSize const &arg5_defvalue = wxDefaultSize ;
9947 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9948 long arg6 = (long) wxSP_HORIZONTAL ;
9949 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
9950 wxString *arg7 = (wxString *) &arg7_defvalue ;
9951 bool result;
9952 wxPoint temp4 ;
9953 wxSize temp5 ;
9954 bool temp7 = False ;
9955 PyObject * obj0 = 0 ;
9956 PyObject * obj1 = 0 ;
9957 PyObject * obj2 = 0 ;
9958 PyObject * obj3 = 0 ;
9959 PyObject * obj4 = 0 ;
9960 PyObject * obj5 = 0 ;
9961 PyObject * obj6 = 0 ;
9962 char *kwnames[] = {
9963 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9964 };
9965
9966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
9968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9969 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9971 if (obj2) {
9972 arg3 = (int) SWIG_AsInt(obj2);
9973 if (PyErr_Occurred()) SWIG_fail;
9974 }
9975 if (obj3) {
9976 {
9977 arg4 = &temp4;
9978 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9979 }
9980 }
9981 if (obj4) {
9982 {
9983 arg5 = &temp5;
9984 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9985 }
9986 }
9987 if (obj5) {
9988 arg6 = (long) SWIG_AsLong(obj5);
9989 if (PyErr_Occurred()) SWIG_fail;
9990 }
9991 if (obj6) {
9992 {
9993 arg7 = wxString_in_helper(obj6);
9994 if (arg7 == NULL) SWIG_fail;
9995 temp7 = True;
9996 }
9997 }
9998 {
9999 PyThreadState* __tstate = wxPyBeginAllowThreads();
10000 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10001
10002 wxPyEndAllowThreads(__tstate);
10003 if (PyErr_Occurred()) SWIG_fail;
10004 }
10005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10006 {
10007 if (temp7)
10008 delete arg7;
10009 }
10010 return resultobj;
10011 fail:
10012 {
10013 if (temp7)
10014 delete arg7;
10015 }
10016 return NULL;
10017 }
10018
10019
10020 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10021 PyObject *resultobj;
10022 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10023 int result;
10024 PyObject * obj0 = 0 ;
10025 char *kwnames[] = {
10026 (char *) "self", NULL
10027 };
10028
10029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10032 {
10033 PyThreadState* __tstate = wxPyBeginAllowThreads();
10034 result = (int)((wxSpinButton const *)arg1)->GetValue();
10035
10036 wxPyEndAllowThreads(__tstate);
10037 if (PyErr_Occurred()) SWIG_fail;
10038 }
10039 resultobj = SWIG_FromInt((int)result);
10040 return resultobj;
10041 fail:
10042 return NULL;
10043 }
10044
10045
10046 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10047 PyObject *resultobj;
10048 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10049 int result;
10050 PyObject * obj0 = 0 ;
10051 char *kwnames[] = {
10052 (char *) "self", NULL
10053 };
10054
10055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10058 {
10059 PyThreadState* __tstate = wxPyBeginAllowThreads();
10060 result = (int)((wxSpinButton const *)arg1)->GetMin();
10061
10062 wxPyEndAllowThreads(__tstate);
10063 if (PyErr_Occurred()) SWIG_fail;
10064 }
10065 resultobj = SWIG_FromInt((int)result);
10066 return resultobj;
10067 fail:
10068 return NULL;
10069 }
10070
10071
10072 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10073 PyObject *resultobj;
10074 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10075 int result;
10076 PyObject * obj0 = 0 ;
10077 char *kwnames[] = {
10078 (char *) "self", NULL
10079 };
10080
10081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10084 {
10085 PyThreadState* __tstate = wxPyBeginAllowThreads();
10086 result = (int)((wxSpinButton const *)arg1)->GetMax();
10087
10088 wxPyEndAllowThreads(__tstate);
10089 if (PyErr_Occurred()) SWIG_fail;
10090 }
10091 resultobj = SWIG_FromInt((int)result);
10092 return resultobj;
10093 fail:
10094 return NULL;
10095 }
10096
10097
10098 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10099 PyObject *resultobj;
10100 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10101 int arg2 ;
10102 PyObject * obj0 = 0 ;
10103 PyObject * obj1 = 0 ;
10104 char *kwnames[] = {
10105 (char *) "self",(char *) "val", NULL
10106 };
10107
10108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10111 arg2 = (int) SWIG_AsInt(obj1);
10112 if (PyErr_Occurred()) SWIG_fail;
10113 {
10114 PyThreadState* __tstate = wxPyBeginAllowThreads();
10115 (arg1)->SetValue(arg2);
10116
10117 wxPyEndAllowThreads(__tstate);
10118 if (PyErr_Occurred()) SWIG_fail;
10119 }
10120 Py_INCREF(Py_None); resultobj = Py_None;
10121 return resultobj;
10122 fail:
10123 return NULL;
10124 }
10125
10126
10127 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10128 PyObject *resultobj;
10129 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10130 int arg2 ;
10131 PyObject * obj0 = 0 ;
10132 PyObject * obj1 = 0 ;
10133 char *kwnames[] = {
10134 (char *) "self",(char *) "minVal", NULL
10135 };
10136
10137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10140 arg2 = (int) SWIG_AsInt(obj1);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 {
10143 PyThreadState* __tstate = wxPyBeginAllowThreads();
10144 (arg1)->SetMin(arg2);
10145
10146 wxPyEndAllowThreads(__tstate);
10147 if (PyErr_Occurred()) SWIG_fail;
10148 }
10149 Py_INCREF(Py_None); resultobj = Py_None;
10150 return resultobj;
10151 fail:
10152 return NULL;
10153 }
10154
10155
10156 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10157 PyObject *resultobj;
10158 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10159 int arg2 ;
10160 PyObject * obj0 = 0 ;
10161 PyObject * obj1 = 0 ;
10162 char *kwnames[] = {
10163 (char *) "self",(char *) "maxVal", NULL
10164 };
10165
10166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10169 arg2 = (int) SWIG_AsInt(obj1);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 {
10172 PyThreadState* __tstate = wxPyBeginAllowThreads();
10173 (arg1)->SetMax(arg2);
10174
10175 wxPyEndAllowThreads(__tstate);
10176 if (PyErr_Occurred()) SWIG_fail;
10177 }
10178 Py_INCREF(Py_None); resultobj = Py_None;
10179 return resultobj;
10180 fail:
10181 return NULL;
10182 }
10183
10184
10185 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10186 PyObject *resultobj;
10187 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10188 int arg2 ;
10189 int arg3 ;
10190 PyObject * obj0 = 0 ;
10191 PyObject * obj1 = 0 ;
10192 PyObject * obj2 = 0 ;
10193 char *kwnames[] = {
10194 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10195 };
10196
10197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10200 arg2 = (int) SWIG_AsInt(obj1);
10201 if (PyErr_Occurred()) SWIG_fail;
10202 arg3 = (int) SWIG_AsInt(obj2);
10203 if (PyErr_Occurred()) SWIG_fail;
10204 {
10205 PyThreadState* __tstate = wxPyBeginAllowThreads();
10206 (arg1)->SetRange(arg2,arg3);
10207
10208 wxPyEndAllowThreads(__tstate);
10209 if (PyErr_Occurred()) SWIG_fail;
10210 }
10211 Py_INCREF(Py_None); resultobj = Py_None;
10212 return resultobj;
10213 fail:
10214 return NULL;
10215 }
10216
10217
10218 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10219 PyObject *resultobj;
10220 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10221 bool result;
10222 PyObject * obj0 = 0 ;
10223 char *kwnames[] = {
10224 (char *) "self", NULL
10225 };
10226
10227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10230 {
10231 PyThreadState* __tstate = wxPyBeginAllowThreads();
10232 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10233
10234 wxPyEndAllowThreads(__tstate);
10235 if (PyErr_Occurred()) SWIG_fail;
10236 }
10237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10238 return resultobj;
10239 fail:
10240 return NULL;
10241 }
10242
10243
10244 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
10245 PyObject *obj;
10246 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10247 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10248 Py_INCREF(obj);
10249 return Py_BuildValue((char *)"");
10250 }
10251 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10252 PyObject *resultobj;
10253 wxWindow *arg1 = (wxWindow *) 0 ;
10254 int arg2 = (int) -1 ;
10255 wxString const &arg3_defvalue = wxPyEmptyString ;
10256 wxString *arg3 = (wxString *) &arg3_defvalue ;
10257 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10258 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10259 wxSize const &arg5_defvalue = wxDefaultSize ;
10260 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10261 long arg6 = (long) wxSP_ARROW_KEYS ;
10262 int arg7 = (int) 0 ;
10263 int arg8 = (int) 100 ;
10264 int arg9 = (int) 0 ;
10265 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10266 wxString *arg10 = (wxString *) &arg10_defvalue ;
10267 wxSpinCtrl *result;
10268 bool temp3 = False ;
10269 wxPoint temp4 ;
10270 wxSize temp5 ;
10271 bool temp10 = False ;
10272 PyObject * obj0 = 0 ;
10273 PyObject * obj1 = 0 ;
10274 PyObject * obj2 = 0 ;
10275 PyObject * obj3 = 0 ;
10276 PyObject * obj4 = 0 ;
10277 PyObject * obj5 = 0 ;
10278 PyObject * obj6 = 0 ;
10279 PyObject * obj7 = 0 ;
10280 PyObject * obj8 = 0 ;
10281 PyObject * obj9 = 0 ;
10282 char *kwnames[] = {
10283 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10284 };
10285
10286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10289 if (obj1) {
10290 arg2 = (int) SWIG_AsInt(obj1);
10291 if (PyErr_Occurred()) SWIG_fail;
10292 }
10293 if (obj2) {
10294 {
10295 arg3 = wxString_in_helper(obj2);
10296 if (arg3 == NULL) SWIG_fail;
10297 temp3 = True;
10298 }
10299 }
10300 if (obj3) {
10301 {
10302 arg4 = &temp4;
10303 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10304 }
10305 }
10306 if (obj4) {
10307 {
10308 arg5 = &temp5;
10309 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10310 }
10311 }
10312 if (obj5) {
10313 arg6 = (long) SWIG_AsLong(obj5);
10314 if (PyErr_Occurred()) SWIG_fail;
10315 }
10316 if (obj6) {
10317 arg7 = (int) SWIG_AsInt(obj6);
10318 if (PyErr_Occurred()) SWIG_fail;
10319 }
10320 if (obj7) {
10321 arg8 = (int) SWIG_AsInt(obj7);
10322 if (PyErr_Occurred()) SWIG_fail;
10323 }
10324 if (obj8) {
10325 arg9 = (int) SWIG_AsInt(obj8);
10326 if (PyErr_Occurred()) SWIG_fail;
10327 }
10328 if (obj9) {
10329 {
10330 arg10 = wxString_in_helper(obj9);
10331 if (arg10 == NULL) SWIG_fail;
10332 temp10 = True;
10333 }
10334 }
10335 {
10336 PyThreadState* __tstate = wxPyBeginAllowThreads();
10337 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10338
10339 wxPyEndAllowThreads(__tstate);
10340 if (PyErr_Occurred()) SWIG_fail;
10341 }
10342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10343 {
10344 if (temp3)
10345 delete arg3;
10346 }
10347 {
10348 if (temp10)
10349 delete arg10;
10350 }
10351 return resultobj;
10352 fail:
10353 {
10354 if (temp3)
10355 delete arg3;
10356 }
10357 {
10358 if (temp10)
10359 delete arg10;
10360 }
10361 return NULL;
10362 }
10363
10364
10365 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10366 PyObject *resultobj;
10367 wxSpinCtrl *result;
10368 char *kwnames[] = {
10369 NULL
10370 };
10371
10372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10373 {
10374 PyThreadState* __tstate = wxPyBeginAllowThreads();
10375 result = (wxSpinCtrl *)new wxSpinCtrl();
10376
10377 wxPyEndAllowThreads(__tstate);
10378 if (PyErr_Occurred()) SWIG_fail;
10379 }
10380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10381 return resultobj;
10382 fail:
10383 return NULL;
10384 }
10385
10386
10387 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10388 PyObject *resultobj;
10389 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10390 wxWindow *arg2 = (wxWindow *) 0 ;
10391 int arg3 = (int) -1 ;
10392 wxString const &arg4_defvalue = wxPyEmptyString ;
10393 wxString *arg4 = (wxString *) &arg4_defvalue ;
10394 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10395 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10396 wxSize const &arg6_defvalue = wxDefaultSize ;
10397 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10398 long arg7 = (long) wxSP_ARROW_KEYS ;
10399 int arg8 = (int) 0 ;
10400 int arg9 = (int) 100 ;
10401 int arg10 = (int) 0 ;
10402 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10403 wxString *arg11 = (wxString *) &arg11_defvalue ;
10404 bool result;
10405 bool temp4 = False ;
10406 wxPoint temp5 ;
10407 wxSize temp6 ;
10408 bool temp11 = False ;
10409 PyObject * obj0 = 0 ;
10410 PyObject * obj1 = 0 ;
10411 PyObject * obj2 = 0 ;
10412 PyObject * obj3 = 0 ;
10413 PyObject * obj4 = 0 ;
10414 PyObject * obj5 = 0 ;
10415 PyObject * obj6 = 0 ;
10416 PyObject * obj7 = 0 ;
10417 PyObject * obj8 = 0 ;
10418 PyObject * obj9 = 0 ;
10419 PyObject * obj10 = 0 ;
10420 char *kwnames[] = {
10421 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10422 };
10423
10424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10427 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10429 if (obj2) {
10430 arg3 = (int) SWIG_AsInt(obj2);
10431 if (PyErr_Occurred()) SWIG_fail;
10432 }
10433 if (obj3) {
10434 {
10435 arg4 = wxString_in_helper(obj3);
10436 if (arg4 == NULL) SWIG_fail;
10437 temp4 = True;
10438 }
10439 }
10440 if (obj4) {
10441 {
10442 arg5 = &temp5;
10443 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10444 }
10445 }
10446 if (obj5) {
10447 {
10448 arg6 = &temp6;
10449 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10450 }
10451 }
10452 if (obj6) {
10453 arg7 = (long) SWIG_AsLong(obj6);
10454 if (PyErr_Occurred()) SWIG_fail;
10455 }
10456 if (obj7) {
10457 arg8 = (int) SWIG_AsInt(obj7);
10458 if (PyErr_Occurred()) SWIG_fail;
10459 }
10460 if (obj8) {
10461 arg9 = (int) SWIG_AsInt(obj8);
10462 if (PyErr_Occurred()) SWIG_fail;
10463 }
10464 if (obj9) {
10465 arg10 = (int) SWIG_AsInt(obj9);
10466 if (PyErr_Occurred()) SWIG_fail;
10467 }
10468 if (obj10) {
10469 {
10470 arg11 = wxString_in_helper(obj10);
10471 if (arg11 == NULL) SWIG_fail;
10472 temp11 = True;
10473 }
10474 }
10475 {
10476 PyThreadState* __tstate = wxPyBeginAllowThreads();
10477 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10478
10479 wxPyEndAllowThreads(__tstate);
10480 if (PyErr_Occurred()) SWIG_fail;
10481 }
10482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10483 {
10484 if (temp4)
10485 delete arg4;
10486 }
10487 {
10488 if (temp11)
10489 delete arg11;
10490 }
10491 return resultobj;
10492 fail:
10493 {
10494 if (temp4)
10495 delete arg4;
10496 }
10497 {
10498 if (temp11)
10499 delete arg11;
10500 }
10501 return NULL;
10502 }
10503
10504
10505 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10506 PyObject *resultobj;
10507 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10508 int result;
10509 PyObject * obj0 = 0 ;
10510 char *kwnames[] = {
10511 (char *) "self", NULL
10512 };
10513
10514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
10515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10517 {
10518 PyThreadState* __tstate = wxPyBeginAllowThreads();
10519 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10520
10521 wxPyEndAllowThreads(__tstate);
10522 if (PyErr_Occurred()) SWIG_fail;
10523 }
10524 resultobj = SWIG_FromInt((int)result);
10525 return resultobj;
10526 fail:
10527 return NULL;
10528 }
10529
10530
10531 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10532 PyObject *resultobj;
10533 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10534 int arg2 ;
10535 PyObject * obj0 = 0 ;
10536 PyObject * obj1 = 0 ;
10537 char *kwnames[] = {
10538 (char *) "self",(char *) "value", NULL
10539 };
10540
10541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10544 arg2 = (int) SWIG_AsInt(obj1);
10545 if (PyErr_Occurred()) SWIG_fail;
10546 {
10547 PyThreadState* __tstate = wxPyBeginAllowThreads();
10548 (arg1)->SetValue(arg2);
10549
10550 wxPyEndAllowThreads(__tstate);
10551 if (PyErr_Occurred()) SWIG_fail;
10552 }
10553 Py_INCREF(Py_None); resultobj = Py_None;
10554 return resultobj;
10555 fail:
10556 return NULL;
10557 }
10558
10559
10560 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
10561 PyObject *resultobj;
10562 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10563 wxString *arg2 = 0 ;
10564 bool temp2 = False ;
10565 PyObject * obj0 = 0 ;
10566 PyObject * obj1 = 0 ;
10567 char *kwnames[] = {
10568 (char *) "self",(char *) "text", NULL
10569 };
10570
10571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
10572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10574 {
10575 arg2 = wxString_in_helper(obj1);
10576 if (arg2 == NULL) SWIG_fail;
10577 temp2 = True;
10578 }
10579 {
10580 PyThreadState* __tstate = wxPyBeginAllowThreads();
10581 (arg1)->SetValue((wxString const &)*arg2);
10582
10583 wxPyEndAllowThreads(__tstate);
10584 if (PyErr_Occurred()) SWIG_fail;
10585 }
10586 Py_INCREF(Py_None); resultobj = Py_None;
10587 {
10588 if (temp2)
10589 delete arg2;
10590 }
10591 return resultobj;
10592 fail:
10593 {
10594 if (temp2)
10595 delete arg2;
10596 }
10597 return NULL;
10598 }
10599
10600
10601 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10602 PyObject *resultobj;
10603 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10604 int arg2 ;
10605 int arg3 ;
10606 PyObject * obj0 = 0 ;
10607 PyObject * obj1 = 0 ;
10608 PyObject * obj2 = 0 ;
10609 char *kwnames[] = {
10610 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10611 };
10612
10613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10616 arg2 = (int) SWIG_AsInt(obj1);
10617 if (PyErr_Occurred()) SWIG_fail;
10618 arg3 = (int) SWIG_AsInt(obj2);
10619 if (PyErr_Occurred()) SWIG_fail;
10620 {
10621 PyThreadState* __tstate = wxPyBeginAllowThreads();
10622 (arg1)->SetRange(arg2,arg3);
10623
10624 wxPyEndAllowThreads(__tstate);
10625 if (PyErr_Occurred()) SWIG_fail;
10626 }
10627 Py_INCREF(Py_None); resultobj = Py_None;
10628 return resultobj;
10629 fail:
10630 return NULL;
10631 }
10632
10633
10634 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10635 PyObject *resultobj;
10636 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10637 int result;
10638 PyObject * obj0 = 0 ;
10639 char *kwnames[] = {
10640 (char *) "self", NULL
10641 };
10642
10643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
10644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10646 {
10647 PyThreadState* __tstate = wxPyBeginAllowThreads();
10648 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10649
10650 wxPyEndAllowThreads(__tstate);
10651 if (PyErr_Occurred()) SWIG_fail;
10652 }
10653 resultobj = SWIG_FromInt((int)result);
10654 return resultobj;
10655 fail:
10656 return NULL;
10657 }
10658
10659
10660 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10661 PyObject *resultobj;
10662 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10663 int result;
10664 PyObject * obj0 = 0 ;
10665 char *kwnames[] = {
10666 (char *) "self", NULL
10667 };
10668
10669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
10670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10672 {
10673 PyThreadState* __tstate = wxPyBeginAllowThreads();
10674 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10675
10676 wxPyEndAllowThreads(__tstate);
10677 if (PyErr_Occurred()) SWIG_fail;
10678 }
10679 resultobj = SWIG_FromInt((int)result);
10680 return resultobj;
10681 fail:
10682 return NULL;
10683 }
10684
10685
10686 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10687 PyObject *resultobj;
10688 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10689 long arg2 ;
10690 long arg3 ;
10691 PyObject * obj0 = 0 ;
10692 PyObject * obj1 = 0 ;
10693 PyObject * obj2 = 0 ;
10694 char *kwnames[] = {
10695 (char *) "self",(char *) "from",(char *) "to", NULL
10696 };
10697
10698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
10699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10701 arg2 = (long) SWIG_AsLong(obj1);
10702 if (PyErr_Occurred()) SWIG_fail;
10703 arg3 = (long) SWIG_AsLong(obj2);
10704 if (PyErr_Occurred()) SWIG_fail;
10705 {
10706 PyThreadState* __tstate = wxPyBeginAllowThreads();
10707 (arg1)->SetSelection(arg2,arg3);
10708
10709 wxPyEndAllowThreads(__tstate);
10710 if (PyErr_Occurred()) SWIG_fail;
10711 }
10712 Py_INCREF(Py_None); resultobj = Py_None;
10713 return resultobj;
10714 fail:
10715 return NULL;
10716 }
10717
10718
10719 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
10720 PyObject *obj;
10721 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10722 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10723 Py_INCREF(obj);
10724 return Py_BuildValue((char *)"");
10725 }
10726 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10727 PyObject *resultobj;
10728 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10729 int arg2 = (int) 0 ;
10730 wxSpinEvent *result;
10731 PyObject * obj0 = 0 ;
10732 PyObject * obj1 = 0 ;
10733 char *kwnames[] = {
10734 (char *) "commandType",(char *) "winid", NULL
10735 };
10736
10737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10738 if (obj0) {
10739 arg1 = (wxEventType) SWIG_AsInt(obj0);
10740 if (PyErr_Occurred()) SWIG_fail;
10741 }
10742 if (obj1) {
10743 arg2 = (int) SWIG_AsInt(obj1);
10744 if (PyErr_Occurred()) SWIG_fail;
10745 }
10746 {
10747 PyThreadState* __tstate = wxPyBeginAllowThreads();
10748 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10749
10750 wxPyEndAllowThreads(__tstate);
10751 if (PyErr_Occurred()) SWIG_fail;
10752 }
10753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
10754 return resultobj;
10755 fail:
10756 return NULL;
10757 }
10758
10759
10760 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10761 PyObject *resultobj;
10762 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10763 int result;
10764 PyObject * obj0 = 0 ;
10765 char *kwnames[] = {
10766 (char *) "self", NULL
10767 };
10768
10769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
10770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10772 {
10773 PyThreadState* __tstate = wxPyBeginAllowThreads();
10774 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
10775
10776 wxPyEndAllowThreads(__tstate);
10777 if (PyErr_Occurred()) SWIG_fail;
10778 }
10779 resultobj = SWIG_FromInt((int)result);
10780 return resultobj;
10781 fail:
10782 return NULL;
10783 }
10784
10785
10786 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10787 PyObject *resultobj;
10788 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10789 int arg2 ;
10790 PyObject * obj0 = 0 ;
10791 PyObject * obj1 = 0 ;
10792 char *kwnames[] = {
10793 (char *) "self",(char *) "pos", NULL
10794 };
10795
10796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10799 arg2 = (int) SWIG_AsInt(obj1);
10800 if (PyErr_Occurred()) SWIG_fail;
10801 {
10802 PyThreadState* __tstate = wxPyBeginAllowThreads();
10803 (arg1)->SetPosition(arg2);
10804
10805 wxPyEndAllowThreads(__tstate);
10806 if (PyErr_Occurred()) SWIG_fail;
10807 }
10808 Py_INCREF(Py_None); resultobj = Py_None;
10809 return resultobj;
10810 fail:
10811 return NULL;
10812 }
10813
10814
10815 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
10816 PyObject *obj;
10817 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10818 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
10819 Py_INCREF(obj);
10820 return Py_BuildValue((char *)"");
10821 }
10822 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
10823 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
10824 return 1;
10825 }
10826
10827
10828 static PyObject *_wrap_RadioBoxNameStr_get() {
10829 PyObject *pyobj;
10830
10831 {
10832 #if wxUSE_UNICODE
10833 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10834 #else
10835 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10836 #endif
10837 }
10838 return pyobj;
10839 }
10840
10841
10842 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
10843 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
10844 return 1;
10845 }
10846
10847
10848 static PyObject *_wrap_RadioButtonNameStr_get() {
10849 PyObject *pyobj;
10850
10851 {
10852 #if wxUSE_UNICODE
10853 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10854 #else
10855 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10856 #endif
10857 }
10858 return pyobj;
10859 }
10860
10861
10862 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10863 PyObject *resultobj;
10864 wxWindow *arg1 = (wxWindow *) 0 ;
10865 int arg2 ;
10866 wxString *arg3 = 0 ;
10867 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10868 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10869 wxSize const &arg5_defvalue = wxDefaultSize ;
10870 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10871 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10872 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10873 int arg7 = (int) 0 ;
10874 long arg8 = (long) wxRA_HORIZONTAL ;
10875 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10876 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10877 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
10878 wxString *arg10 = (wxString *) &arg10_defvalue ;
10879 wxRadioBox *result;
10880 bool temp3 = False ;
10881 wxPoint temp4 ;
10882 wxSize temp5 ;
10883 bool temp6 = False ;
10884 bool temp10 = False ;
10885 PyObject * obj0 = 0 ;
10886 PyObject * obj1 = 0 ;
10887 PyObject * obj2 = 0 ;
10888 PyObject * obj3 = 0 ;
10889 PyObject * obj4 = 0 ;
10890 PyObject * obj5 = 0 ;
10891 PyObject * obj6 = 0 ;
10892 PyObject * obj7 = 0 ;
10893 PyObject * obj8 = 0 ;
10894 PyObject * obj9 = 0 ;
10895 char *kwnames[] = {
10896 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10897 };
10898
10899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10902 arg2 = (int) SWIG_AsInt(obj1);
10903 if (PyErr_Occurred()) SWIG_fail;
10904 {
10905 arg3 = wxString_in_helper(obj2);
10906 if (arg3 == NULL) SWIG_fail;
10907 temp3 = True;
10908 }
10909 if (obj3) {
10910 {
10911 arg4 = &temp4;
10912 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10913 }
10914 }
10915 if (obj4) {
10916 {
10917 arg5 = &temp5;
10918 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10919 }
10920 }
10921 if (obj5) {
10922 {
10923 if (! PySequence_Check(obj5)) {
10924 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10925 SWIG_fail;
10926 }
10927 arg6 = new wxArrayString;
10928 temp6 = True;
10929 int i, len=PySequence_Length(obj5);
10930 for (i=0; i<len; i++) {
10931 PyObject* item = PySequence_GetItem(obj5, i);
10932 #if wxUSE_UNICODE
10933 PyObject* str = PyObject_Unicode(item);
10934 #else
10935 PyObject* str = PyObject_Str(item);
10936 #endif
10937 arg6->Add(Py2wxString(str));
10938 Py_DECREF(item);
10939 Py_DECREF(str);
10940 }
10941 }
10942 }
10943 if (obj6) {
10944 arg7 = (int) SWIG_AsInt(obj6);
10945 if (PyErr_Occurred()) SWIG_fail;
10946 }
10947 if (obj7) {
10948 arg8 = (long) SWIG_AsLong(obj7);
10949 if (PyErr_Occurred()) SWIG_fail;
10950 }
10951 if (obj8) {
10952 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
10953 SWIG_POINTER_EXCEPTION | 0)) == -1)
10954 SWIG_fail;
10955 if (arg9 == NULL) {
10956 PyErr_SetString(PyExc_TypeError,"null reference");
10957 SWIG_fail;
10958 }
10959 }
10960 if (obj9) {
10961 {
10962 arg10 = wxString_in_helper(obj9);
10963 if (arg10 == NULL) SWIG_fail;
10964 temp10 = True;
10965 }
10966 }
10967 {
10968 PyThreadState* __tstate = wxPyBeginAllowThreads();
10969 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);
10970
10971 wxPyEndAllowThreads(__tstate);
10972 if (PyErr_Occurred()) SWIG_fail;
10973 }
10974 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
10975 {
10976 if (temp3)
10977 delete arg3;
10978 }
10979 {
10980 if (temp6) delete arg6;
10981 }
10982 {
10983 if (temp10)
10984 delete arg10;
10985 }
10986 return resultobj;
10987 fail:
10988 {
10989 if (temp3)
10990 delete arg3;
10991 }
10992 {
10993 if (temp6) delete arg6;
10994 }
10995 {
10996 if (temp10)
10997 delete arg10;
10998 }
10999 return NULL;
11000 }
11001
11002
11003 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11004 PyObject *resultobj;
11005 wxRadioBox *result;
11006 char *kwnames[] = {
11007 NULL
11008 };
11009
11010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11011 {
11012 PyThreadState* __tstate = wxPyBeginAllowThreads();
11013 result = (wxRadioBox *)new wxRadioBox();
11014
11015 wxPyEndAllowThreads(__tstate);
11016 if (PyErr_Occurred()) SWIG_fail;
11017 }
11018 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11019 return resultobj;
11020 fail:
11021 return NULL;
11022 }
11023
11024
11025 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11026 PyObject *resultobj;
11027 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11028 wxWindow *arg2 = (wxWindow *) 0 ;
11029 int arg3 ;
11030 wxString *arg4 = 0 ;
11031 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11032 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11033 wxSize const &arg6_defvalue = wxDefaultSize ;
11034 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11035 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11036 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11037 int arg8 = (int) 0 ;
11038 long arg9 = (long) wxRA_HORIZONTAL ;
11039 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11040 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11041 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11042 wxString *arg11 = (wxString *) &arg11_defvalue ;
11043 bool result;
11044 bool temp4 = False ;
11045 wxPoint temp5 ;
11046 wxSize temp6 ;
11047 bool temp7 = False ;
11048 bool temp11 = False ;
11049 PyObject * obj0 = 0 ;
11050 PyObject * obj1 = 0 ;
11051 PyObject * obj2 = 0 ;
11052 PyObject * obj3 = 0 ;
11053 PyObject * obj4 = 0 ;
11054 PyObject * obj5 = 0 ;
11055 PyObject * obj6 = 0 ;
11056 PyObject * obj7 = 0 ;
11057 PyObject * obj8 = 0 ;
11058 PyObject * obj9 = 0 ;
11059 PyObject * obj10 = 0 ;
11060 char *kwnames[] = {
11061 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11062 };
11063
11064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11067 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11069 arg3 = (int) SWIG_AsInt(obj2);
11070 if (PyErr_Occurred()) SWIG_fail;
11071 {
11072 arg4 = wxString_in_helper(obj3);
11073 if (arg4 == NULL) SWIG_fail;
11074 temp4 = True;
11075 }
11076 if (obj4) {
11077 {
11078 arg5 = &temp5;
11079 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11080 }
11081 }
11082 if (obj5) {
11083 {
11084 arg6 = &temp6;
11085 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11086 }
11087 }
11088 if (obj6) {
11089 {
11090 if (! PySequence_Check(obj6)) {
11091 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11092 SWIG_fail;
11093 }
11094 arg7 = new wxArrayString;
11095 temp7 = True;
11096 int i, len=PySequence_Length(obj6);
11097 for (i=0; i<len; i++) {
11098 PyObject* item = PySequence_GetItem(obj6, i);
11099 #if wxUSE_UNICODE
11100 PyObject* str = PyObject_Unicode(item);
11101 #else
11102 PyObject* str = PyObject_Str(item);
11103 #endif
11104 arg7->Add(Py2wxString(str));
11105 Py_DECREF(item);
11106 Py_DECREF(str);
11107 }
11108 }
11109 }
11110 if (obj7) {
11111 arg8 = (int) SWIG_AsInt(obj7);
11112 if (PyErr_Occurred()) SWIG_fail;
11113 }
11114 if (obj8) {
11115 arg9 = (long) SWIG_AsLong(obj8);
11116 if (PyErr_Occurred()) SWIG_fail;
11117 }
11118 if (obj9) {
11119 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11120 SWIG_POINTER_EXCEPTION | 0)) == -1)
11121 SWIG_fail;
11122 if (arg10 == NULL) {
11123 PyErr_SetString(PyExc_TypeError,"null reference");
11124 SWIG_fail;
11125 }
11126 }
11127 if (obj10) {
11128 {
11129 arg11 = wxString_in_helper(obj10);
11130 if (arg11 == NULL) SWIG_fail;
11131 temp11 = True;
11132 }
11133 }
11134 {
11135 PyThreadState* __tstate = wxPyBeginAllowThreads();
11136 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);
11137
11138 wxPyEndAllowThreads(__tstate);
11139 if (PyErr_Occurred()) SWIG_fail;
11140 }
11141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11142 {
11143 if (temp4)
11144 delete arg4;
11145 }
11146 {
11147 if (temp7) delete arg7;
11148 }
11149 {
11150 if (temp11)
11151 delete arg11;
11152 }
11153 return resultobj;
11154 fail:
11155 {
11156 if (temp4)
11157 delete arg4;
11158 }
11159 {
11160 if (temp7) delete arg7;
11161 }
11162 {
11163 if (temp11)
11164 delete arg11;
11165 }
11166 return NULL;
11167 }
11168
11169
11170 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11171 PyObject *resultobj;
11172 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11173 int arg2 ;
11174 PyObject * obj0 = 0 ;
11175 PyObject * obj1 = 0 ;
11176 char *kwnames[] = {
11177 (char *) "self",(char *) "n", NULL
11178 };
11179
11180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11183 arg2 = (int) SWIG_AsInt(obj1);
11184 if (PyErr_Occurred()) SWIG_fail;
11185 {
11186 PyThreadState* __tstate = wxPyBeginAllowThreads();
11187 (arg1)->SetSelection(arg2);
11188
11189 wxPyEndAllowThreads(__tstate);
11190 if (PyErr_Occurred()) SWIG_fail;
11191 }
11192 Py_INCREF(Py_None); resultobj = Py_None;
11193 return resultobj;
11194 fail:
11195 return NULL;
11196 }
11197
11198
11199 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11200 PyObject *resultobj;
11201 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11202 int result;
11203 PyObject * obj0 = 0 ;
11204 char *kwnames[] = {
11205 (char *) "self", NULL
11206 };
11207
11208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
11209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11211 {
11212 PyThreadState* __tstate = wxPyBeginAllowThreads();
11213 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11214
11215 wxPyEndAllowThreads(__tstate);
11216 if (PyErr_Occurred()) SWIG_fail;
11217 }
11218 resultobj = SWIG_FromInt((int)result);
11219 return resultobj;
11220 fail:
11221 return NULL;
11222 }
11223
11224
11225 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11226 PyObject *resultobj;
11227 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11228 wxString result;
11229 PyObject * obj0 = 0 ;
11230 char *kwnames[] = {
11231 (char *) "self", NULL
11232 };
11233
11234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
11235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11237 {
11238 PyThreadState* __tstate = wxPyBeginAllowThreads();
11239 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11240
11241 wxPyEndAllowThreads(__tstate);
11242 if (PyErr_Occurred()) SWIG_fail;
11243 }
11244 {
11245 #if wxUSE_UNICODE
11246 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11247 #else
11248 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11249 #endif
11250 }
11251 return resultobj;
11252 fail:
11253 return NULL;
11254 }
11255
11256
11257 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11258 PyObject *resultobj;
11259 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11260 wxString *arg2 = 0 ;
11261 bool result;
11262 bool temp2 = False ;
11263 PyObject * obj0 = 0 ;
11264 PyObject * obj1 = 0 ;
11265 char *kwnames[] = {
11266 (char *) "self",(char *) "s", NULL
11267 };
11268
11269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
11270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11272 {
11273 arg2 = wxString_in_helper(obj1);
11274 if (arg2 == NULL) SWIG_fail;
11275 temp2 = True;
11276 }
11277 {
11278 PyThreadState* __tstate = wxPyBeginAllowThreads();
11279 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11280
11281 wxPyEndAllowThreads(__tstate);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 }
11284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11285 {
11286 if (temp2)
11287 delete arg2;
11288 }
11289 return resultobj;
11290 fail:
11291 {
11292 if (temp2)
11293 delete arg2;
11294 }
11295 return NULL;
11296 }
11297
11298
11299 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11300 PyObject *resultobj;
11301 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11302 int result;
11303 PyObject * obj0 = 0 ;
11304 char *kwnames[] = {
11305 (char *) "self", NULL
11306 };
11307
11308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
11309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11311 {
11312 PyThreadState* __tstate = wxPyBeginAllowThreads();
11313 result = (int)((wxRadioBox const *)arg1)->GetCount();
11314
11315 wxPyEndAllowThreads(__tstate);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 }
11318 resultobj = SWIG_FromInt((int)result);
11319 return resultobj;
11320 fail:
11321 return NULL;
11322 }
11323
11324
11325 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11326 PyObject *resultobj;
11327 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11328 wxString *arg2 = 0 ;
11329 int result;
11330 bool temp2 = False ;
11331 PyObject * obj0 = 0 ;
11332 PyObject * obj1 = 0 ;
11333 char *kwnames[] = {
11334 (char *) "self",(char *) "s", NULL
11335 };
11336
11337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
11338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11340 {
11341 arg2 = wxString_in_helper(obj1);
11342 if (arg2 == NULL) SWIG_fail;
11343 temp2 = True;
11344 }
11345 {
11346 PyThreadState* __tstate = wxPyBeginAllowThreads();
11347 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11348
11349 wxPyEndAllowThreads(__tstate);
11350 if (PyErr_Occurred()) SWIG_fail;
11351 }
11352 resultobj = SWIG_FromInt((int)result);
11353 {
11354 if (temp2)
11355 delete arg2;
11356 }
11357 return resultobj;
11358 fail:
11359 {
11360 if (temp2)
11361 delete arg2;
11362 }
11363 return NULL;
11364 }
11365
11366
11367 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11368 PyObject *resultobj;
11369 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11370 int arg2 ;
11371 wxString result;
11372 PyObject * obj0 = 0 ;
11373 PyObject * obj1 = 0 ;
11374 char *kwnames[] = {
11375 (char *) "self",(char *) "n", NULL
11376 };
11377
11378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
11379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11381 arg2 = (int) SWIG_AsInt(obj1);
11382 if (PyErr_Occurred()) SWIG_fail;
11383 {
11384 PyThreadState* __tstate = wxPyBeginAllowThreads();
11385 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11386
11387 wxPyEndAllowThreads(__tstate);
11388 if (PyErr_Occurred()) SWIG_fail;
11389 }
11390 {
11391 #if wxUSE_UNICODE
11392 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11393 #else
11394 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11395 #endif
11396 }
11397 return resultobj;
11398 fail:
11399 return NULL;
11400 }
11401
11402
11403 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11404 PyObject *resultobj;
11405 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11406 int arg2 ;
11407 wxString *arg3 = 0 ;
11408 bool temp3 = False ;
11409 PyObject * obj0 = 0 ;
11410 PyObject * obj1 = 0 ;
11411 PyObject * obj2 = 0 ;
11412 char *kwnames[] = {
11413 (char *) "self",(char *) "n",(char *) "label", NULL
11414 };
11415
11416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11419 arg2 = (int) SWIG_AsInt(obj1);
11420 if (PyErr_Occurred()) SWIG_fail;
11421 {
11422 arg3 = wxString_in_helper(obj2);
11423 if (arg3 == NULL) SWIG_fail;
11424 temp3 = True;
11425 }
11426 {
11427 PyThreadState* __tstate = wxPyBeginAllowThreads();
11428 (arg1)->SetString(arg2,(wxString const &)*arg3);
11429
11430 wxPyEndAllowThreads(__tstate);
11431 if (PyErr_Occurred()) SWIG_fail;
11432 }
11433 Py_INCREF(Py_None); resultobj = Py_None;
11434 {
11435 if (temp3)
11436 delete arg3;
11437 }
11438 return resultobj;
11439 fail:
11440 {
11441 if (temp3)
11442 delete arg3;
11443 }
11444 return NULL;
11445 }
11446
11447
11448 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11449 PyObject *resultobj;
11450 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11451 int arg2 ;
11452 bool arg3 = (bool) True ;
11453 PyObject * obj0 = 0 ;
11454 PyObject * obj1 = 0 ;
11455 PyObject * obj2 = 0 ;
11456 char *kwnames[] = {
11457 (char *) "self",(char *) "n",(char *) "enable", NULL
11458 };
11459
11460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11463 arg2 = (int) SWIG_AsInt(obj1);
11464 if (PyErr_Occurred()) SWIG_fail;
11465 if (obj2) {
11466 arg3 = (bool) SWIG_AsBool(obj2);
11467 if (PyErr_Occurred()) SWIG_fail;
11468 }
11469 {
11470 PyThreadState* __tstate = wxPyBeginAllowThreads();
11471 (arg1)->Enable(arg2,arg3);
11472
11473 wxPyEndAllowThreads(__tstate);
11474 if (PyErr_Occurred()) SWIG_fail;
11475 }
11476 Py_INCREF(Py_None); resultobj = Py_None;
11477 return resultobj;
11478 fail:
11479 return NULL;
11480 }
11481
11482
11483 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11484 PyObject *resultobj;
11485 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11486 int arg2 ;
11487 bool arg3 = (bool) True ;
11488 PyObject * obj0 = 0 ;
11489 PyObject * obj1 = 0 ;
11490 PyObject * obj2 = 0 ;
11491 char *kwnames[] = {
11492 (char *) "self",(char *) "n",(char *) "show", NULL
11493 };
11494
11495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11498 arg2 = (int) SWIG_AsInt(obj1);
11499 if (PyErr_Occurred()) SWIG_fail;
11500 if (obj2) {
11501 arg3 = (bool) SWIG_AsBool(obj2);
11502 if (PyErr_Occurred()) SWIG_fail;
11503 }
11504 {
11505 PyThreadState* __tstate = wxPyBeginAllowThreads();
11506 (arg1)->Show(arg2,arg3);
11507
11508 wxPyEndAllowThreads(__tstate);
11509 if (PyErr_Occurred()) SWIG_fail;
11510 }
11511 Py_INCREF(Py_None); resultobj = Py_None;
11512 return resultobj;
11513 fail:
11514 return NULL;
11515 }
11516
11517
11518 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11519 PyObject *resultobj;
11520 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11521 int result;
11522 PyObject * obj0 = 0 ;
11523 char *kwnames[] = {
11524 (char *) "self", NULL
11525 };
11526
11527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
11528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11530 {
11531 PyThreadState* __tstate = wxPyBeginAllowThreads();
11532 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
11533
11534 wxPyEndAllowThreads(__tstate);
11535 if (PyErr_Occurred()) SWIG_fail;
11536 }
11537 resultobj = SWIG_FromInt((int)result);
11538 return resultobj;
11539 fail:
11540 return NULL;
11541 }
11542
11543
11544 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11545 PyObject *resultobj;
11546 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11547 int result;
11548 PyObject * obj0 = 0 ;
11549 char *kwnames[] = {
11550 (char *) "self", NULL
11551 };
11552
11553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
11554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11556 {
11557 PyThreadState* __tstate = wxPyBeginAllowThreads();
11558 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
11559
11560 wxPyEndAllowThreads(__tstate);
11561 if (PyErr_Occurred()) SWIG_fail;
11562 }
11563 resultobj = SWIG_FromInt((int)result);
11564 return resultobj;
11565 fail:
11566 return NULL;
11567 }
11568
11569
11570 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11571 PyObject *resultobj;
11572 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11573 int arg2 ;
11574 int arg3 ;
11575 long arg4 ;
11576 int result;
11577 PyObject * obj0 = 0 ;
11578 PyObject * obj1 = 0 ;
11579 PyObject * obj2 = 0 ;
11580 PyObject * obj3 = 0 ;
11581 char *kwnames[] = {
11582 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11583 };
11584
11585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11588 arg2 = (int) SWIG_AsInt(obj1);
11589 if (PyErr_Occurred()) SWIG_fail;
11590 arg3 = (wxDirection) SWIG_AsInt(obj2);
11591 if (PyErr_Occurred()) SWIG_fail;
11592 arg4 = (long) SWIG_AsLong(obj3);
11593 if (PyErr_Occurred()) SWIG_fail;
11594 {
11595 PyThreadState* __tstate = wxPyBeginAllowThreads();
11596 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
11597
11598 wxPyEndAllowThreads(__tstate);
11599 if (PyErr_Occurred()) SWIG_fail;
11600 }
11601 resultobj = SWIG_FromInt((int)result);
11602 return resultobj;
11603 fail:
11604 return NULL;
11605 }
11606
11607
11608 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
11609 PyObject *obj;
11610 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11611 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11612 Py_INCREF(obj);
11613 return Py_BuildValue((char *)"");
11614 }
11615 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11616 PyObject *resultobj;
11617 wxWindow *arg1 = (wxWindow *) 0 ;
11618 int arg2 ;
11619 wxString *arg3 = 0 ;
11620 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11621 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11622 wxSize const &arg5_defvalue = wxDefaultSize ;
11623 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11624 long arg6 = (long) 0 ;
11625 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11626 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11627 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11628 wxString *arg8 = (wxString *) &arg8_defvalue ;
11629 wxRadioButton *result;
11630 bool temp3 = False ;
11631 wxPoint temp4 ;
11632 wxSize temp5 ;
11633 bool temp8 = False ;
11634 PyObject * obj0 = 0 ;
11635 PyObject * obj1 = 0 ;
11636 PyObject * obj2 = 0 ;
11637 PyObject * obj3 = 0 ;
11638 PyObject * obj4 = 0 ;
11639 PyObject * obj5 = 0 ;
11640 PyObject * obj6 = 0 ;
11641 PyObject * obj7 = 0 ;
11642 char *kwnames[] = {
11643 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11644 };
11645
11646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11649 arg2 = (int) SWIG_AsInt(obj1);
11650 if (PyErr_Occurred()) SWIG_fail;
11651 {
11652 arg3 = wxString_in_helper(obj2);
11653 if (arg3 == NULL) SWIG_fail;
11654 temp3 = True;
11655 }
11656 if (obj3) {
11657 {
11658 arg4 = &temp4;
11659 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11660 }
11661 }
11662 if (obj4) {
11663 {
11664 arg5 = &temp5;
11665 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11666 }
11667 }
11668 if (obj5) {
11669 arg6 = (long) SWIG_AsLong(obj5);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 }
11672 if (obj6) {
11673 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
11674 SWIG_POINTER_EXCEPTION | 0)) == -1)
11675 SWIG_fail;
11676 if (arg7 == NULL) {
11677 PyErr_SetString(PyExc_TypeError,"null reference");
11678 SWIG_fail;
11679 }
11680 }
11681 if (obj7) {
11682 {
11683 arg8 = wxString_in_helper(obj7);
11684 if (arg8 == NULL) SWIG_fail;
11685 temp8 = True;
11686 }
11687 }
11688 {
11689 PyThreadState* __tstate = wxPyBeginAllowThreads();
11690 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11691
11692 wxPyEndAllowThreads(__tstate);
11693 if (PyErr_Occurred()) SWIG_fail;
11694 }
11695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11696 {
11697 if (temp3)
11698 delete arg3;
11699 }
11700 {
11701 if (temp8)
11702 delete arg8;
11703 }
11704 return resultobj;
11705 fail:
11706 {
11707 if (temp3)
11708 delete arg3;
11709 }
11710 {
11711 if (temp8)
11712 delete arg8;
11713 }
11714 return NULL;
11715 }
11716
11717
11718 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11719 PyObject *resultobj;
11720 wxRadioButton *result;
11721 char *kwnames[] = {
11722 NULL
11723 };
11724
11725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11726 {
11727 PyThreadState* __tstate = wxPyBeginAllowThreads();
11728 result = (wxRadioButton *)new wxRadioButton();
11729
11730 wxPyEndAllowThreads(__tstate);
11731 if (PyErr_Occurred()) SWIG_fail;
11732 }
11733 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11734 return resultobj;
11735 fail:
11736 return NULL;
11737 }
11738
11739
11740 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11741 PyObject *resultobj;
11742 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11743 wxWindow *arg2 = (wxWindow *) 0 ;
11744 int arg3 ;
11745 wxString *arg4 = 0 ;
11746 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11747 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11748 wxSize const &arg6_defvalue = wxDefaultSize ;
11749 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11750 long arg7 = (long) 0 ;
11751 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11752 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11753 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11754 wxString *arg9 = (wxString *) &arg9_defvalue ;
11755 bool result;
11756 bool temp4 = False ;
11757 wxPoint temp5 ;
11758 wxSize temp6 ;
11759 bool temp9 = False ;
11760 PyObject * obj0 = 0 ;
11761 PyObject * obj1 = 0 ;
11762 PyObject * obj2 = 0 ;
11763 PyObject * obj3 = 0 ;
11764 PyObject * obj4 = 0 ;
11765 PyObject * obj5 = 0 ;
11766 PyObject * obj6 = 0 ;
11767 PyObject * obj7 = 0 ;
11768 PyObject * obj8 = 0 ;
11769 char *kwnames[] = {
11770 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11771 };
11772
11773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
11774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11778 arg3 = (int) SWIG_AsInt(obj2);
11779 if (PyErr_Occurred()) SWIG_fail;
11780 {
11781 arg4 = wxString_in_helper(obj3);
11782 if (arg4 == NULL) SWIG_fail;
11783 temp4 = True;
11784 }
11785 if (obj4) {
11786 {
11787 arg5 = &temp5;
11788 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11789 }
11790 }
11791 if (obj5) {
11792 {
11793 arg6 = &temp6;
11794 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11795 }
11796 }
11797 if (obj6) {
11798 arg7 = (long) SWIG_AsLong(obj6);
11799 if (PyErr_Occurred()) SWIG_fail;
11800 }
11801 if (obj7) {
11802 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
11803 SWIG_POINTER_EXCEPTION | 0)) == -1)
11804 SWIG_fail;
11805 if (arg8 == NULL) {
11806 PyErr_SetString(PyExc_TypeError,"null reference");
11807 SWIG_fail;
11808 }
11809 }
11810 if (obj8) {
11811 {
11812 arg9 = wxString_in_helper(obj8);
11813 if (arg9 == NULL) SWIG_fail;
11814 temp9 = True;
11815 }
11816 }
11817 {
11818 PyThreadState* __tstate = wxPyBeginAllowThreads();
11819 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11820
11821 wxPyEndAllowThreads(__tstate);
11822 if (PyErr_Occurred()) SWIG_fail;
11823 }
11824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11825 {
11826 if (temp4)
11827 delete arg4;
11828 }
11829 {
11830 if (temp9)
11831 delete arg9;
11832 }
11833 return resultobj;
11834 fail:
11835 {
11836 if (temp4)
11837 delete arg4;
11838 }
11839 {
11840 if (temp9)
11841 delete arg9;
11842 }
11843 return NULL;
11844 }
11845
11846
11847 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11848 PyObject *resultobj;
11849 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11850 bool result;
11851 PyObject * obj0 = 0 ;
11852 char *kwnames[] = {
11853 (char *) "self", NULL
11854 };
11855
11856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
11857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11859 {
11860 PyThreadState* __tstate = wxPyBeginAllowThreads();
11861 result = (bool)(arg1)->GetValue();
11862
11863 wxPyEndAllowThreads(__tstate);
11864 if (PyErr_Occurred()) SWIG_fail;
11865 }
11866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11867 return resultobj;
11868 fail:
11869 return NULL;
11870 }
11871
11872
11873 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11874 PyObject *resultobj;
11875 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11876 bool arg2 ;
11877 PyObject * obj0 = 0 ;
11878 PyObject * obj1 = 0 ;
11879 char *kwnames[] = {
11880 (char *) "self",(char *) "value", NULL
11881 };
11882
11883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11886 arg2 = (bool) SWIG_AsBool(obj1);
11887 if (PyErr_Occurred()) SWIG_fail;
11888 {
11889 PyThreadState* __tstate = wxPyBeginAllowThreads();
11890 (arg1)->SetValue(arg2);
11891
11892 wxPyEndAllowThreads(__tstate);
11893 if (PyErr_Occurred()) SWIG_fail;
11894 }
11895 Py_INCREF(Py_None); resultobj = Py_None;
11896 return resultobj;
11897 fail:
11898 return NULL;
11899 }
11900
11901
11902 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
11903 PyObject *obj;
11904 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11905 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
11906 Py_INCREF(obj);
11907 return Py_BuildValue((char *)"");
11908 }
11909 static int _wrap_SliderNameStr_set(PyObject *_val) {
11910 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
11911 return 1;
11912 }
11913
11914
11915 static PyObject *_wrap_SliderNameStr_get() {
11916 PyObject *pyobj;
11917
11918 {
11919 #if wxUSE_UNICODE
11920 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11921 #else
11922 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11923 #endif
11924 }
11925 return pyobj;
11926 }
11927
11928
11929 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
11930 PyObject *resultobj;
11931 wxWindow *arg1 = (wxWindow *) 0 ;
11932 int arg2 ;
11933 int arg3 ;
11934 int arg4 ;
11935 int arg5 ;
11936 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11937 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11938 wxSize const &arg7_defvalue = wxDefaultSize ;
11939 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
11940 long arg8 = (long) wxSL_HORIZONTAL ;
11941 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11942 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11943 wxString const &arg10_defvalue = wxPySliderNameStr ;
11944 wxString *arg10 = (wxString *) &arg10_defvalue ;
11945 wxSlider *result;
11946 wxPoint temp6 ;
11947 wxSize temp7 ;
11948 bool temp10 = False ;
11949 PyObject * obj0 = 0 ;
11950 PyObject * obj1 = 0 ;
11951 PyObject * obj2 = 0 ;
11952 PyObject * obj3 = 0 ;
11953 PyObject * obj4 = 0 ;
11954 PyObject * obj5 = 0 ;
11955 PyObject * obj6 = 0 ;
11956 PyObject * obj7 = 0 ;
11957 PyObject * obj8 = 0 ;
11958 PyObject * obj9 = 0 ;
11959 char *kwnames[] = {
11960 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11961 };
11962
11963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11966 arg2 = (int) SWIG_AsInt(obj1);
11967 if (PyErr_Occurred()) SWIG_fail;
11968 arg3 = (int) SWIG_AsInt(obj2);
11969 if (PyErr_Occurred()) SWIG_fail;
11970 arg4 = (int) SWIG_AsInt(obj3);
11971 if (PyErr_Occurred()) SWIG_fail;
11972 arg5 = (int) SWIG_AsInt(obj4);
11973 if (PyErr_Occurred()) SWIG_fail;
11974 if (obj5) {
11975 {
11976 arg6 = &temp6;
11977 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11978 }
11979 }
11980 if (obj6) {
11981 {
11982 arg7 = &temp7;
11983 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
11984 }
11985 }
11986 if (obj7) {
11987 arg8 = (long) SWIG_AsLong(obj7);
11988 if (PyErr_Occurred()) SWIG_fail;
11989 }
11990 if (obj8) {
11991 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11992 SWIG_POINTER_EXCEPTION | 0)) == -1)
11993 SWIG_fail;
11994 if (arg9 == NULL) {
11995 PyErr_SetString(PyExc_TypeError,"null reference");
11996 SWIG_fail;
11997 }
11998 }
11999 if (obj9) {
12000 {
12001 arg10 = wxString_in_helper(obj9);
12002 if (arg10 == NULL) SWIG_fail;
12003 temp10 = True;
12004 }
12005 }
12006 {
12007 PyThreadState* __tstate = wxPyBeginAllowThreads();
12008 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12009
12010 wxPyEndAllowThreads(__tstate);
12011 if (PyErr_Occurred()) SWIG_fail;
12012 }
12013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12014 {
12015 if (temp10)
12016 delete arg10;
12017 }
12018 return resultobj;
12019 fail:
12020 {
12021 if (temp10)
12022 delete arg10;
12023 }
12024 return NULL;
12025 }
12026
12027
12028 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
12029 PyObject *resultobj;
12030 wxSlider *result;
12031 char *kwnames[] = {
12032 NULL
12033 };
12034
12035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12036 {
12037 PyThreadState* __tstate = wxPyBeginAllowThreads();
12038 result = (wxSlider *)new wxSlider();
12039
12040 wxPyEndAllowThreads(__tstate);
12041 if (PyErr_Occurred()) SWIG_fail;
12042 }
12043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12044 return resultobj;
12045 fail:
12046 return NULL;
12047 }
12048
12049
12050 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12051 PyObject *resultobj;
12052 wxSlider *arg1 = (wxSlider *) 0 ;
12053 wxWindow *arg2 = (wxWindow *) 0 ;
12054 int arg3 ;
12055 int arg4 ;
12056 int arg5 ;
12057 int arg6 ;
12058 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12059 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12060 wxSize const &arg8_defvalue = wxDefaultSize ;
12061 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
12062 long arg9 = (long) wxSL_HORIZONTAL ;
12063 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12064 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12065 wxString const &arg11_defvalue = wxPySliderNameStr ;
12066 wxString *arg11 = (wxString *) &arg11_defvalue ;
12067 bool result;
12068 wxPoint temp7 ;
12069 wxSize temp8 ;
12070 bool temp11 = False ;
12071 PyObject * obj0 = 0 ;
12072 PyObject * obj1 = 0 ;
12073 PyObject * obj2 = 0 ;
12074 PyObject * obj3 = 0 ;
12075 PyObject * obj4 = 0 ;
12076 PyObject * obj5 = 0 ;
12077 PyObject * obj6 = 0 ;
12078 PyObject * obj7 = 0 ;
12079 PyObject * obj8 = 0 ;
12080 PyObject * obj9 = 0 ;
12081 PyObject * obj10 = 0 ;
12082 char *kwnames[] = {
12083 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12084 };
12085
12086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12089 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12091 arg3 = (int) SWIG_AsInt(obj2);
12092 if (PyErr_Occurred()) SWIG_fail;
12093 arg4 = (int) SWIG_AsInt(obj3);
12094 if (PyErr_Occurred()) SWIG_fail;
12095 arg5 = (int) SWIG_AsInt(obj4);
12096 if (PyErr_Occurred()) SWIG_fail;
12097 arg6 = (int) SWIG_AsInt(obj5);
12098 if (PyErr_Occurred()) SWIG_fail;
12099 if (obj6) {
12100 {
12101 arg7 = &temp7;
12102 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12103 }
12104 }
12105 if (obj7) {
12106 {
12107 arg8 = &temp8;
12108 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12109 }
12110 }
12111 if (obj8) {
12112 arg9 = (long) SWIG_AsLong(obj8);
12113 if (PyErr_Occurred()) SWIG_fail;
12114 }
12115 if (obj9) {
12116 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12117 SWIG_POINTER_EXCEPTION | 0)) == -1)
12118 SWIG_fail;
12119 if (arg10 == NULL) {
12120 PyErr_SetString(PyExc_TypeError,"null reference");
12121 SWIG_fail;
12122 }
12123 }
12124 if (obj10) {
12125 {
12126 arg11 = wxString_in_helper(obj10);
12127 if (arg11 == NULL) SWIG_fail;
12128 temp11 = True;
12129 }
12130 }
12131 {
12132 PyThreadState* __tstate = wxPyBeginAllowThreads();
12133 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12134
12135 wxPyEndAllowThreads(__tstate);
12136 if (PyErr_Occurred()) SWIG_fail;
12137 }
12138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12139 {
12140 if (temp11)
12141 delete arg11;
12142 }
12143 return resultobj;
12144 fail:
12145 {
12146 if (temp11)
12147 delete arg11;
12148 }
12149 return NULL;
12150 }
12151
12152
12153 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12154 PyObject *resultobj;
12155 wxSlider *arg1 = (wxSlider *) 0 ;
12156 int result;
12157 PyObject * obj0 = 0 ;
12158 char *kwnames[] = {
12159 (char *) "self", NULL
12160 };
12161
12162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
12163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12165 {
12166 PyThreadState* __tstate = wxPyBeginAllowThreads();
12167 result = (int)((wxSlider const *)arg1)->GetValue();
12168
12169 wxPyEndAllowThreads(__tstate);
12170 if (PyErr_Occurred()) SWIG_fail;
12171 }
12172 resultobj = SWIG_FromInt((int)result);
12173 return resultobj;
12174 fail:
12175 return NULL;
12176 }
12177
12178
12179 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12180 PyObject *resultobj;
12181 wxSlider *arg1 = (wxSlider *) 0 ;
12182 int arg2 ;
12183 PyObject * obj0 = 0 ;
12184 PyObject * obj1 = 0 ;
12185 char *kwnames[] = {
12186 (char *) "self",(char *) "value", NULL
12187 };
12188
12189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
12190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12192 arg2 = (int) SWIG_AsInt(obj1);
12193 if (PyErr_Occurred()) SWIG_fail;
12194 {
12195 PyThreadState* __tstate = wxPyBeginAllowThreads();
12196 (arg1)->SetValue(arg2);
12197
12198 wxPyEndAllowThreads(__tstate);
12199 if (PyErr_Occurred()) SWIG_fail;
12200 }
12201 Py_INCREF(Py_None); resultobj = Py_None;
12202 return resultobj;
12203 fail:
12204 return NULL;
12205 }
12206
12207
12208 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12209 PyObject *resultobj;
12210 wxSlider *arg1 = (wxSlider *) 0 ;
12211 int arg2 ;
12212 int arg3 ;
12213 PyObject * obj0 = 0 ;
12214 PyObject * obj1 = 0 ;
12215 PyObject * obj2 = 0 ;
12216 char *kwnames[] = {
12217 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12218 };
12219
12220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12223 arg2 = (int) SWIG_AsInt(obj1);
12224 if (PyErr_Occurred()) SWIG_fail;
12225 arg3 = (int) SWIG_AsInt(obj2);
12226 if (PyErr_Occurred()) SWIG_fail;
12227 {
12228 PyThreadState* __tstate = wxPyBeginAllowThreads();
12229 (arg1)->SetRange(arg2,arg3);
12230
12231 wxPyEndAllowThreads(__tstate);
12232 if (PyErr_Occurred()) SWIG_fail;
12233 }
12234 Py_INCREF(Py_None); resultobj = Py_None;
12235 return resultobj;
12236 fail:
12237 return NULL;
12238 }
12239
12240
12241 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12242 PyObject *resultobj;
12243 wxSlider *arg1 = (wxSlider *) 0 ;
12244 int result;
12245 PyObject * obj0 = 0 ;
12246 char *kwnames[] = {
12247 (char *) "self", NULL
12248 };
12249
12250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
12251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12253 {
12254 PyThreadState* __tstate = wxPyBeginAllowThreads();
12255 result = (int)((wxSlider const *)arg1)->GetMin();
12256
12257 wxPyEndAllowThreads(__tstate);
12258 if (PyErr_Occurred()) SWIG_fail;
12259 }
12260 resultobj = SWIG_FromInt((int)result);
12261 return resultobj;
12262 fail:
12263 return NULL;
12264 }
12265
12266
12267 static PyObject *_wrap_Slider_GetMax(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_GetMax",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)->GetMax();
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_SetMin(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 *) "minValue", NULL
12301 };
12302
12303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",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)->SetMin(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_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12323 PyObject *resultobj;
12324 wxSlider *arg1 = (wxSlider *) 0 ;
12325 int arg2 ;
12326 PyObject * obj0 = 0 ;
12327 PyObject * obj1 = 0 ;
12328 char *kwnames[] = {
12329 (char *) "self",(char *) "maxValue", NULL
12330 };
12331
12332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
12333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12335 arg2 = (int) SWIG_AsInt(obj1);
12336 if (PyErr_Occurred()) SWIG_fail;
12337 {
12338 PyThreadState* __tstate = wxPyBeginAllowThreads();
12339 (arg1)->SetMax(arg2);
12340
12341 wxPyEndAllowThreads(__tstate);
12342 if (PyErr_Occurred()) SWIG_fail;
12343 }
12344 Py_INCREF(Py_None); resultobj = Py_None;
12345 return resultobj;
12346 fail:
12347 return NULL;
12348 }
12349
12350
12351 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12352 PyObject *resultobj;
12353 wxSlider *arg1 = (wxSlider *) 0 ;
12354 int arg2 ;
12355 PyObject * obj0 = 0 ;
12356 PyObject * obj1 = 0 ;
12357 char *kwnames[] = {
12358 (char *) "self",(char *) "lineSize", NULL
12359 };
12360
12361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
12362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12364 arg2 = (int) SWIG_AsInt(obj1);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 {
12367 PyThreadState* __tstate = wxPyBeginAllowThreads();
12368 (arg1)->SetLineSize(arg2);
12369
12370 wxPyEndAllowThreads(__tstate);
12371 if (PyErr_Occurred()) SWIG_fail;
12372 }
12373 Py_INCREF(Py_None); resultobj = Py_None;
12374 return resultobj;
12375 fail:
12376 return NULL;
12377 }
12378
12379
12380 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12381 PyObject *resultobj;
12382 wxSlider *arg1 = (wxSlider *) 0 ;
12383 int arg2 ;
12384 PyObject * obj0 = 0 ;
12385 PyObject * obj1 = 0 ;
12386 char *kwnames[] = {
12387 (char *) "self",(char *) "pageSize", NULL
12388 };
12389
12390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
12391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12393 arg2 = (int) SWIG_AsInt(obj1);
12394 if (PyErr_Occurred()) SWIG_fail;
12395 {
12396 PyThreadState* __tstate = wxPyBeginAllowThreads();
12397 (arg1)->SetPageSize(arg2);
12398
12399 wxPyEndAllowThreads(__tstate);
12400 if (PyErr_Occurred()) SWIG_fail;
12401 }
12402 Py_INCREF(Py_None); resultobj = Py_None;
12403 return resultobj;
12404 fail:
12405 return NULL;
12406 }
12407
12408
12409 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12410 PyObject *resultobj;
12411 wxSlider *arg1 = (wxSlider *) 0 ;
12412 int result;
12413 PyObject * obj0 = 0 ;
12414 char *kwnames[] = {
12415 (char *) "self", NULL
12416 };
12417
12418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
12419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12421 {
12422 PyThreadState* __tstate = wxPyBeginAllowThreads();
12423 result = (int)((wxSlider const *)arg1)->GetLineSize();
12424
12425 wxPyEndAllowThreads(__tstate);
12426 if (PyErr_Occurred()) SWIG_fail;
12427 }
12428 resultobj = SWIG_FromInt((int)result);
12429 return resultobj;
12430 fail:
12431 return NULL;
12432 }
12433
12434
12435 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12436 PyObject *resultobj;
12437 wxSlider *arg1 = (wxSlider *) 0 ;
12438 int result;
12439 PyObject * obj0 = 0 ;
12440 char *kwnames[] = {
12441 (char *) "self", NULL
12442 };
12443
12444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
12445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12447 {
12448 PyThreadState* __tstate = wxPyBeginAllowThreads();
12449 result = (int)((wxSlider const *)arg1)->GetPageSize();
12450
12451 wxPyEndAllowThreads(__tstate);
12452 if (PyErr_Occurred()) SWIG_fail;
12453 }
12454 resultobj = SWIG_FromInt((int)result);
12455 return resultobj;
12456 fail:
12457 return NULL;
12458 }
12459
12460
12461 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12462 PyObject *resultobj;
12463 wxSlider *arg1 = (wxSlider *) 0 ;
12464 int arg2 ;
12465 PyObject * obj0 = 0 ;
12466 PyObject * obj1 = 0 ;
12467 char *kwnames[] = {
12468 (char *) "self",(char *) "lenPixels", NULL
12469 };
12470
12471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
12472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12474 arg2 = (int) SWIG_AsInt(obj1);
12475 if (PyErr_Occurred()) SWIG_fail;
12476 {
12477 PyThreadState* __tstate = wxPyBeginAllowThreads();
12478 (arg1)->SetThumbLength(arg2);
12479
12480 wxPyEndAllowThreads(__tstate);
12481 if (PyErr_Occurred()) SWIG_fail;
12482 }
12483 Py_INCREF(Py_None); resultobj = Py_None;
12484 return resultobj;
12485 fail:
12486 return NULL;
12487 }
12488
12489
12490 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12491 PyObject *resultobj;
12492 wxSlider *arg1 = (wxSlider *) 0 ;
12493 int result;
12494 PyObject * obj0 = 0 ;
12495 char *kwnames[] = {
12496 (char *) "self", NULL
12497 };
12498
12499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
12500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12502 {
12503 PyThreadState* __tstate = wxPyBeginAllowThreads();
12504 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12505
12506 wxPyEndAllowThreads(__tstate);
12507 if (PyErr_Occurred()) SWIG_fail;
12508 }
12509 resultobj = SWIG_FromInt((int)result);
12510 return resultobj;
12511 fail:
12512 return NULL;
12513 }
12514
12515
12516 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12517 PyObject *resultobj;
12518 wxSlider *arg1 = (wxSlider *) 0 ;
12519 int arg2 ;
12520 int arg3 = (int) 1 ;
12521 PyObject * obj0 = 0 ;
12522 PyObject * obj1 = 0 ;
12523 PyObject * obj2 = 0 ;
12524 char *kwnames[] = {
12525 (char *) "self",(char *) "n",(char *) "pos", NULL
12526 };
12527
12528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
12529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12531 arg2 = (int) SWIG_AsInt(obj1);
12532 if (PyErr_Occurred()) SWIG_fail;
12533 if (obj2) {
12534 arg3 = (int) SWIG_AsInt(obj2);
12535 if (PyErr_Occurred()) SWIG_fail;
12536 }
12537 {
12538 PyThreadState* __tstate = wxPyBeginAllowThreads();
12539 (arg1)->SetTickFreq(arg2,arg3);
12540
12541 wxPyEndAllowThreads(__tstate);
12542 if (PyErr_Occurred()) SWIG_fail;
12543 }
12544 Py_INCREF(Py_None); resultobj = Py_None;
12545 return resultobj;
12546 fail:
12547 return NULL;
12548 }
12549
12550
12551 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12552 PyObject *resultobj;
12553 wxSlider *arg1 = (wxSlider *) 0 ;
12554 int result;
12555 PyObject * obj0 = 0 ;
12556 char *kwnames[] = {
12557 (char *) "self", NULL
12558 };
12559
12560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
12561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12563 {
12564 PyThreadState* __tstate = wxPyBeginAllowThreads();
12565 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12566
12567 wxPyEndAllowThreads(__tstate);
12568 if (PyErr_Occurred()) SWIG_fail;
12569 }
12570 resultobj = SWIG_FromInt((int)result);
12571 return resultobj;
12572 fail:
12573 return NULL;
12574 }
12575
12576
12577 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
12578 PyObject *resultobj;
12579 wxSlider *arg1 = (wxSlider *) 0 ;
12580 PyObject * obj0 = 0 ;
12581 char *kwnames[] = {
12582 (char *) "self", NULL
12583 };
12584
12585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
12586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12588 {
12589 PyThreadState* __tstate = wxPyBeginAllowThreads();
12590 (arg1)->ClearTicks();
12591
12592 wxPyEndAllowThreads(__tstate);
12593 if (PyErr_Occurred()) SWIG_fail;
12594 }
12595 Py_INCREF(Py_None); resultobj = Py_None;
12596 return resultobj;
12597 fail:
12598 return NULL;
12599 }
12600
12601
12602 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
12603 PyObject *resultobj;
12604 wxSlider *arg1 = (wxSlider *) 0 ;
12605 int arg2 ;
12606 PyObject * obj0 = 0 ;
12607 PyObject * obj1 = 0 ;
12608 char *kwnames[] = {
12609 (char *) "self",(char *) "tickPos", NULL
12610 };
12611
12612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
12613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12615 arg2 = (int) SWIG_AsInt(obj1);
12616 if (PyErr_Occurred()) SWIG_fail;
12617 {
12618 PyThreadState* __tstate = wxPyBeginAllowThreads();
12619 (arg1)->SetTick(arg2);
12620
12621 wxPyEndAllowThreads(__tstate);
12622 if (PyErr_Occurred()) SWIG_fail;
12623 }
12624 Py_INCREF(Py_None); resultobj = Py_None;
12625 return resultobj;
12626 fail:
12627 return NULL;
12628 }
12629
12630
12631 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
12632 PyObject *resultobj;
12633 wxSlider *arg1 = (wxSlider *) 0 ;
12634 PyObject * obj0 = 0 ;
12635 char *kwnames[] = {
12636 (char *) "self", NULL
12637 };
12638
12639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
12640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12642 {
12643 PyThreadState* __tstate = wxPyBeginAllowThreads();
12644 (arg1)->ClearSel();
12645
12646 wxPyEndAllowThreads(__tstate);
12647 if (PyErr_Occurred()) SWIG_fail;
12648 }
12649 Py_INCREF(Py_None); resultobj = Py_None;
12650 return resultobj;
12651 fail:
12652 return NULL;
12653 }
12654
12655
12656 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
12657 PyObject *resultobj;
12658 wxSlider *arg1 = (wxSlider *) 0 ;
12659 int result;
12660 PyObject * obj0 = 0 ;
12661 char *kwnames[] = {
12662 (char *) "self", NULL
12663 };
12664
12665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
12666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12668 {
12669 PyThreadState* __tstate = wxPyBeginAllowThreads();
12670 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12671
12672 wxPyEndAllowThreads(__tstate);
12673 if (PyErr_Occurred()) SWIG_fail;
12674 }
12675 resultobj = SWIG_FromInt((int)result);
12676 return resultobj;
12677 fail:
12678 return NULL;
12679 }
12680
12681
12682 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
12683 PyObject *resultobj;
12684 wxSlider *arg1 = (wxSlider *) 0 ;
12685 int result;
12686 PyObject * obj0 = 0 ;
12687 char *kwnames[] = {
12688 (char *) "self", NULL
12689 };
12690
12691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
12692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12694 {
12695 PyThreadState* __tstate = wxPyBeginAllowThreads();
12696 result = (int)((wxSlider const *)arg1)->GetSelStart();
12697
12698 wxPyEndAllowThreads(__tstate);
12699 if (PyErr_Occurred()) SWIG_fail;
12700 }
12701 resultobj = SWIG_FromInt((int)result);
12702 return resultobj;
12703 fail:
12704 return NULL;
12705 }
12706
12707
12708 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12709 PyObject *resultobj;
12710 wxSlider *arg1 = (wxSlider *) 0 ;
12711 int arg2 ;
12712 int arg3 ;
12713 PyObject * obj0 = 0 ;
12714 PyObject * obj1 = 0 ;
12715 PyObject * obj2 = 0 ;
12716 char *kwnames[] = {
12717 (char *) "self",(char *) "min",(char *) "max", NULL
12718 };
12719
12720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
12721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12723 arg2 = (int) SWIG_AsInt(obj1);
12724 if (PyErr_Occurred()) SWIG_fail;
12725 arg3 = (int) SWIG_AsInt(obj2);
12726 if (PyErr_Occurred()) SWIG_fail;
12727 {
12728 PyThreadState* __tstate = wxPyBeginAllowThreads();
12729 (arg1)->SetSelection(arg2,arg3);
12730
12731 wxPyEndAllowThreads(__tstate);
12732 if (PyErr_Occurred()) SWIG_fail;
12733 }
12734 Py_INCREF(Py_None); resultobj = Py_None;
12735 return resultobj;
12736 fail:
12737 return NULL;
12738 }
12739
12740
12741 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
12742 PyObject *obj;
12743 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12744 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12745 Py_INCREF(obj);
12746 return Py_BuildValue((char *)"");
12747 }
12748 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
12749 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12750 return 1;
12751 }
12752
12753
12754 static PyObject *_wrap_ToggleButtonNameStr_get() {
12755 PyObject *pyobj;
12756
12757 {
12758 #if wxUSE_UNICODE
12759 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12760 #else
12761 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12762 #endif
12763 }
12764 return pyobj;
12765 }
12766
12767
12768 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12769 PyObject *resultobj;
12770 wxWindow *arg1 = (wxWindow *) 0 ;
12771 int arg2 ;
12772 wxString *arg3 = 0 ;
12773 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12774 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12775 wxSize const &arg5_defvalue = wxDefaultSize ;
12776 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12777 long arg6 = (long) 0 ;
12778 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12779 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12780 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
12781 wxString *arg8 = (wxString *) &arg8_defvalue ;
12782 wxToggleButton *result;
12783 bool temp3 = False ;
12784 wxPoint temp4 ;
12785 wxSize temp5 ;
12786 bool temp8 = False ;
12787 PyObject * obj0 = 0 ;
12788 PyObject * obj1 = 0 ;
12789 PyObject * obj2 = 0 ;
12790 PyObject * obj3 = 0 ;
12791 PyObject * obj4 = 0 ;
12792 PyObject * obj5 = 0 ;
12793 PyObject * obj6 = 0 ;
12794 PyObject * obj7 = 0 ;
12795 char *kwnames[] = {
12796 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12797 };
12798
12799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12802 arg2 = (int) SWIG_AsInt(obj1);
12803 if (PyErr_Occurred()) SWIG_fail;
12804 {
12805 arg3 = wxString_in_helper(obj2);
12806 if (arg3 == NULL) SWIG_fail;
12807 temp3 = True;
12808 }
12809 if (obj3) {
12810 {
12811 arg4 = &temp4;
12812 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12813 }
12814 }
12815 if (obj4) {
12816 {
12817 arg5 = &temp5;
12818 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12819 }
12820 }
12821 if (obj5) {
12822 arg6 = (long) SWIG_AsLong(obj5);
12823 if (PyErr_Occurred()) SWIG_fail;
12824 }
12825 if (obj6) {
12826 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12827 SWIG_POINTER_EXCEPTION | 0)) == -1)
12828 SWIG_fail;
12829 if (arg7 == NULL) {
12830 PyErr_SetString(PyExc_TypeError,"null reference");
12831 SWIG_fail;
12832 }
12833 }
12834 if (obj7) {
12835 {
12836 arg8 = wxString_in_helper(obj7);
12837 if (arg8 == NULL) SWIG_fail;
12838 temp8 = True;
12839 }
12840 }
12841 {
12842 PyThreadState* __tstate = wxPyBeginAllowThreads();
12843 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12844
12845 wxPyEndAllowThreads(__tstate);
12846 if (PyErr_Occurred()) SWIG_fail;
12847 }
12848 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
12849 {
12850 if (temp3)
12851 delete arg3;
12852 }
12853 {
12854 if (temp8)
12855 delete arg8;
12856 }
12857 return resultobj;
12858 fail:
12859 {
12860 if (temp3)
12861 delete arg3;
12862 }
12863 {
12864 if (temp8)
12865 delete arg8;
12866 }
12867 return NULL;
12868 }
12869
12870
12871 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12872 PyObject *resultobj;
12873 wxToggleButton *result;
12874 char *kwnames[] = {
12875 NULL
12876 };
12877
12878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
12879 {
12880 PyThreadState* __tstate = wxPyBeginAllowThreads();
12881 result = (wxToggleButton *)new wxToggleButton();
12882
12883 wxPyEndAllowThreads(__tstate);
12884 if (PyErr_Occurred()) SWIG_fail;
12885 }
12886 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
12887 return resultobj;
12888 fail:
12889 return NULL;
12890 }
12891
12892
12893 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12894 PyObject *resultobj;
12895 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12896 wxWindow *arg2 = (wxWindow *) 0 ;
12897 int arg3 ;
12898 wxString *arg4 = 0 ;
12899 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12900 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12901 wxSize const &arg6_defvalue = wxDefaultSize ;
12902 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12903 long arg7 = (long) 0 ;
12904 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12905 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12906 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
12907 wxString *arg9 = (wxString *) &arg9_defvalue ;
12908 bool result;
12909 bool temp4 = False ;
12910 wxPoint temp5 ;
12911 wxSize temp6 ;
12912 bool temp9 = False ;
12913 PyObject * obj0 = 0 ;
12914 PyObject * obj1 = 0 ;
12915 PyObject * obj2 = 0 ;
12916 PyObject * obj3 = 0 ;
12917 PyObject * obj4 = 0 ;
12918 PyObject * obj5 = 0 ;
12919 PyObject * obj6 = 0 ;
12920 PyObject * obj7 = 0 ;
12921 PyObject * obj8 = 0 ;
12922 char *kwnames[] = {
12923 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12924 };
12925
12926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
12927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
12928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12931 arg3 = (int) SWIG_AsInt(obj2);
12932 if (PyErr_Occurred()) SWIG_fail;
12933 {
12934 arg4 = wxString_in_helper(obj3);
12935 if (arg4 == NULL) SWIG_fail;
12936 temp4 = True;
12937 }
12938 if (obj4) {
12939 {
12940 arg5 = &temp5;
12941 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12942 }
12943 }
12944 if (obj5) {
12945 {
12946 arg6 = &temp6;
12947 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12948 }
12949 }
12950 if (obj6) {
12951 arg7 = (long) SWIG_AsLong(obj6);
12952 if (PyErr_Occurred()) SWIG_fail;
12953 }
12954 if (obj7) {
12955 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
12956 SWIG_POINTER_EXCEPTION | 0)) == -1)
12957 SWIG_fail;
12958 if (arg8 == NULL) {
12959 PyErr_SetString(PyExc_TypeError,"null reference");
12960 SWIG_fail;
12961 }
12962 }
12963 if (obj8) {
12964 {
12965 arg9 = wxString_in_helper(obj8);
12966 if (arg9 == NULL) SWIG_fail;
12967 temp9 = True;
12968 }
12969 }
12970 {
12971 PyThreadState* __tstate = wxPyBeginAllowThreads();
12972 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12973
12974 wxPyEndAllowThreads(__tstate);
12975 if (PyErr_Occurred()) SWIG_fail;
12976 }
12977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12978 {
12979 if (temp4)
12980 delete arg4;
12981 }
12982 {
12983 if (temp9)
12984 delete arg9;
12985 }
12986 return resultobj;
12987 fail:
12988 {
12989 if (temp4)
12990 delete arg4;
12991 }
12992 {
12993 if (temp9)
12994 delete arg9;
12995 }
12996 return NULL;
12997 }
12998
12999
13000 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13001 PyObject *resultobj;
13002 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13003 bool arg2 ;
13004 PyObject * obj0 = 0 ;
13005 PyObject * obj1 = 0 ;
13006 char *kwnames[] = {
13007 (char *) "self",(char *) "value", NULL
13008 };
13009
13010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
13011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13013 arg2 = (bool) SWIG_AsBool(obj1);
13014 if (PyErr_Occurred()) SWIG_fail;
13015 {
13016 PyThreadState* __tstate = wxPyBeginAllowThreads();
13017 (arg1)->SetValue(arg2);
13018
13019 wxPyEndAllowThreads(__tstate);
13020 if (PyErr_Occurred()) SWIG_fail;
13021 }
13022 Py_INCREF(Py_None); resultobj = Py_None;
13023 return resultobj;
13024 fail:
13025 return NULL;
13026 }
13027
13028
13029 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13030 PyObject *resultobj;
13031 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13032 bool result;
13033 PyObject * obj0 = 0 ;
13034 char *kwnames[] = {
13035 (char *) "self", NULL
13036 };
13037
13038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
13039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13041 {
13042 PyThreadState* __tstate = wxPyBeginAllowThreads();
13043 result = (bool)((wxToggleButton const *)arg1)->GetValue();
13044
13045 wxPyEndAllowThreads(__tstate);
13046 if (PyErr_Occurred()) SWIG_fail;
13047 }
13048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13049 return resultobj;
13050 fail:
13051 return NULL;
13052 }
13053
13054
13055 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13056 PyObject *resultobj;
13057 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13058 wxString *arg2 = 0 ;
13059 bool temp2 = False ;
13060 PyObject * obj0 = 0 ;
13061 PyObject * obj1 = 0 ;
13062 char *kwnames[] = {
13063 (char *) "self",(char *) "label", NULL
13064 };
13065
13066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13069 {
13070 arg2 = wxString_in_helper(obj1);
13071 if (arg2 == NULL) SWIG_fail;
13072 temp2 = True;
13073 }
13074 {
13075 PyThreadState* __tstate = wxPyBeginAllowThreads();
13076 (arg1)->SetLabel((wxString const &)*arg2);
13077
13078 wxPyEndAllowThreads(__tstate);
13079 if (PyErr_Occurred()) SWIG_fail;
13080 }
13081 Py_INCREF(Py_None); resultobj = Py_None;
13082 {
13083 if (temp2)
13084 delete arg2;
13085 }
13086 return resultobj;
13087 fail:
13088 {
13089 if (temp2)
13090 delete arg2;
13091 }
13092 return NULL;
13093 }
13094
13095
13096 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
13097 PyObject *obj;
13098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13099 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
13100 Py_INCREF(obj);
13101 return Py_BuildValue((char *)"");
13102 }
13103 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
13104 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
13105 return 1;
13106 }
13107
13108
13109 static PyObject *_wrap_NOTEBOOK_NAME_get() {
13110 PyObject *pyobj;
13111
13112 {
13113 #if wxUSE_UNICODE
13114 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13115 #else
13116 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13117 #endif
13118 }
13119 return pyobj;
13120 }
13121
13122
13123 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
13124 PyObject *resultobj;
13125 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13126 size_t result;
13127 PyObject * obj0 = 0 ;
13128 char *kwnames[] = {
13129 (char *) "self", NULL
13130 };
13131
13132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
13133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13135 {
13136 PyThreadState* __tstate = wxPyBeginAllowThreads();
13137 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
13138
13139 wxPyEndAllowThreads(__tstate);
13140 if (PyErr_Occurred()) SWIG_fail;
13141 }
13142 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
13143 return resultobj;
13144 fail:
13145 return NULL;
13146 }
13147
13148
13149 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13150 PyObject *resultobj;
13151 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13152 size_t arg2 ;
13153 wxWindow *result;
13154 PyObject * obj0 = 0 ;
13155 PyObject * obj1 = 0 ;
13156 char *kwnames[] = {
13157 (char *) "self",(char *) "n", NULL
13158 };
13159
13160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
13161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13163 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13164 if (PyErr_Occurred()) SWIG_fail;
13165 {
13166 PyThreadState* __tstate = wxPyBeginAllowThreads();
13167 result = (wxWindow *)(arg1)->GetPage(arg2);
13168
13169 wxPyEndAllowThreads(__tstate);
13170 if (PyErr_Occurred()) SWIG_fail;
13171 }
13172 {
13173 resultobj = wxPyMake_wxObject(result);
13174 }
13175 return resultobj;
13176 fail:
13177 return NULL;
13178 }
13179
13180
13181 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13182 PyObject *resultobj;
13183 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13184 int result;
13185 PyObject * obj0 = 0 ;
13186 char *kwnames[] = {
13187 (char *) "self", NULL
13188 };
13189
13190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
13191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13193 {
13194 PyThreadState* __tstate = wxPyBeginAllowThreads();
13195 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
13196
13197 wxPyEndAllowThreads(__tstate);
13198 if (PyErr_Occurred()) SWIG_fail;
13199 }
13200 resultobj = SWIG_FromInt((int)result);
13201 return resultobj;
13202 fail:
13203 return NULL;
13204 }
13205
13206
13207 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13208 PyObject *resultobj;
13209 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13210 size_t arg2 ;
13211 wxString *arg3 = 0 ;
13212 bool result;
13213 bool temp3 = False ;
13214 PyObject * obj0 = 0 ;
13215 PyObject * obj1 = 0 ;
13216 PyObject * obj2 = 0 ;
13217 char *kwnames[] = {
13218 (char *) "self",(char *) "n",(char *) "strText", NULL
13219 };
13220
13221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
13222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13224 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13225 if (PyErr_Occurred()) SWIG_fail;
13226 {
13227 arg3 = wxString_in_helper(obj2);
13228 if (arg3 == NULL) SWIG_fail;
13229 temp3 = True;
13230 }
13231 {
13232 PyThreadState* __tstate = wxPyBeginAllowThreads();
13233 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
13234
13235 wxPyEndAllowThreads(__tstate);
13236 if (PyErr_Occurred()) SWIG_fail;
13237 }
13238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13239 {
13240 if (temp3)
13241 delete arg3;
13242 }
13243 return resultobj;
13244 fail:
13245 {
13246 if (temp3)
13247 delete arg3;
13248 }
13249 return NULL;
13250 }
13251
13252
13253 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13254 PyObject *resultobj;
13255 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13256 size_t arg2 ;
13257 wxString result;
13258 PyObject * obj0 = 0 ;
13259 PyObject * obj1 = 0 ;
13260 char *kwnames[] = {
13261 (char *) "self",(char *) "n", NULL
13262 };
13263
13264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
13265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13267 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13268 if (PyErr_Occurred()) SWIG_fail;
13269 {
13270 PyThreadState* __tstate = wxPyBeginAllowThreads();
13271 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
13272
13273 wxPyEndAllowThreads(__tstate);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 }
13276 {
13277 #if wxUSE_UNICODE
13278 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13279 #else
13280 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13281 #endif
13282 }
13283 return resultobj;
13284 fail:
13285 return NULL;
13286 }
13287
13288
13289 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13290 PyObject *resultobj;
13291 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13292 wxImageList *arg2 = (wxImageList *) 0 ;
13293 PyObject * obj0 = 0 ;
13294 PyObject * obj1 = 0 ;
13295 char *kwnames[] = {
13296 (char *) "self",(char *) "imageList", NULL
13297 };
13298
13299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
13300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13302 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13304 {
13305 PyThreadState* __tstate = wxPyBeginAllowThreads();
13306 (arg1)->SetImageList(arg2);
13307
13308 wxPyEndAllowThreads(__tstate);
13309 if (PyErr_Occurred()) SWIG_fail;
13310 }
13311 Py_INCREF(Py_None); resultobj = Py_None;
13312 return resultobj;
13313 fail:
13314 return NULL;
13315 }
13316
13317
13318 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13319 PyObject *resultobj;
13320 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13321 wxImageList *arg2 = (wxImageList *) 0 ;
13322 PyObject * obj0 = 0 ;
13323 PyObject * obj1 = 0 ;
13324 char *kwnames[] = {
13325 (char *) "self",(char *) "imageList", NULL
13326 };
13327
13328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
13329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13332 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
13333 {
13334 PyThreadState* __tstate = wxPyBeginAllowThreads();
13335 (arg1)->AssignImageList(arg2);
13336
13337 wxPyEndAllowThreads(__tstate);
13338 if (PyErr_Occurred()) SWIG_fail;
13339 }
13340 Py_INCREF(Py_None); resultobj = Py_None;
13341 return resultobj;
13342 fail:
13343 return NULL;
13344 }
13345
13346
13347 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13348 PyObject *resultobj;
13349 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13350 wxImageList *result;
13351 PyObject * obj0 = 0 ;
13352 char *kwnames[] = {
13353 (char *) "self", NULL
13354 };
13355
13356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
13357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13359 {
13360 PyThreadState* __tstate = wxPyBeginAllowThreads();
13361 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
13362
13363 wxPyEndAllowThreads(__tstate);
13364 if (PyErr_Occurred()) SWIG_fail;
13365 }
13366 {
13367 resultobj = wxPyMake_wxObject(result);
13368 }
13369 return resultobj;
13370 fail:
13371 return NULL;
13372 }
13373
13374
13375 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13376 PyObject *resultobj;
13377 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13378 size_t arg2 ;
13379 int result;
13380 PyObject * obj0 = 0 ;
13381 PyObject * obj1 = 0 ;
13382 char *kwnames[] = {
13383 (char *) "self",(char *) "n", NULL
13384 };
13385
13386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
13387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13389 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13390 if (PyErr_Occurred()) SWIG_fail;
13391 {
13392 PyThreadState* __tstate = wxPyBeginAllowThreads();
13393 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13394
13395 wxPyEndAllowThreads(__tstate);
13396 if (PyErr_Occurred()) SWIG_fail;
13397 }
13398 resultobj = SWIG_FromInt((int)result);
13399 return resultobj;
13400 fail:
13401 return NULL;
13402 }
13403
13404
13405 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13406 PyObject *resultobj;
13407 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13408 size_t arg2 ;
13409 int arg3 ;
13410 bool result;
13411 PyObject * obj0 = 0 ;
13412 PyObject * obj1 = 0 ;
13413 PyObject * obj2 = 0 ;
13414 char *kwnames[] = {
13415 (char *) "self",(char *) "n",(char *) "imageId", NULL
13416 };
13417
13418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
13419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13421 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13422 if (PyErr_Occurred()) SWIG_fail;
13423 arg3 = (int) SWIG_AsInt(obj2);
13424 if (PyErr_Occurred()) SWIG_fail;
13425 {
13426 PyThreadState* __tstate = wxPyBeginAllowThreads();
13427 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13428
13429 wxPyEndAllowThreads(__tstate);
13430 if (PyErr_Occurred()) SWIG_fail;
13431 }
13432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13433 return resultobj;
13434 fail:
13435 return NULL;
13436 }
13437
13438
13439 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13440 PyObject *resultobj;
13441 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13442 wxSize *arg2 = 0 ;
13443 wxSize temp2 ;
13444 PyObject * obj0 = 0 ;
13445 PyObject * obj1 = 0 ;
13446 char *kwnames[] = {
13447 (char *) "self",(char *) "size", NULL
13448 };
13449
13450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13453 {
13454 arg2 = &temp2;
13455 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13456 }
13457 {
13458 PyThreadState* __tstate = wxPyBeginAllowThreads();
13459 (arg1)->SetPageSize((wxSize const &)*arg2);
13460
13461 wxPyEndAllowThreads(__tstate);
13462 if (PyErr_Occurred()) SWIG_fail;
13463 }
13464 Py_INCREF(Py_None); resultobj = Py_None;
13465 return resultobj;
13466 fail:
13467 return NULL;
13468 }
13469
13470
13471 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13472 PyObject *resultobj;
13473 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13474 wxSize *arg2 = 0 ;
13475 wxSize result;
13476 wxSize temp2 ;
13477 PyObject * obj0 = 0 ;
13478 PyObject * obj1 = 0 ;
13479 char *kwnames[] = {
13480 (char *) "self",(char *) "sizePage", NULL
13481 };
13482
13483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13486 {
13487 arg2 = &temp2;
13488 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13489 }
13490 {
13491 PyThreadState* __tstate = wxPyBeginAllowThreads();
13492 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13493
13494 wxPyEndAllowThreads(__tstate);
13495 if (PyErr_Occurred()) SWIG_fail;
13496 }
13497 {
13498 wxSize * resultptr;
13499 resultptr = new wxSize((wxSize &) result);
13500 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
13501 }
13502 return resultobj;
13503 fail:
13504 return NULL;
13505 }
13506
13507
13508 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13509 PyObject *resultobj;
13510 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13511 size_t arg2 ;
13512 bool result;
13513 PyObject * obj0 = 0 ;
13514 PyObject * obj1 = 0 ;
13515 char *kwnames[] = {
13516 (char *) "self",(char *) "n", NULL
13517 };
13518
13519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
13520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13522 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13523 if (PyErr_Occurred()) SWIG_fail;
13524 {
13525 PyThreadState* __tstate = wxPyBeginAllowThreads();
13526 result = (bool)(arg1)->DeletePage(arg2);
13527
13528 wxPyEndAllowThreads(__tstate);
13529 if (PyErr_Occurred()) SWIG_fail;
13530 }
13531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13532 return resultobj;
13533 fail:
13534 return NULL;
13535 }
13536
13537
13538 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13539 PyObject *resultobj;
13540 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13541 size_t arg2 ;
13542 bool result;
13543 PyObject * obj0 = 0 ;
13544 PyObject * obj1 = 0 ;
13545 char *kwnames[] = {
13546 (char *) "self",(char *) "n", NULL
13547 };
13548
13549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
13550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13552 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13553 if (PyErr_Occurred()) SWIG_fail;
13554 {
13555 PyThreadState* __tstate = wxPyBeginAllowThreads();
13556 result = (bool)(arg1)->RemovePage(arg2);
13557
13558 wxPyEndAllowThreads(__tstate);
13559 if (PyErr_Occurred()) SWIG_fail;
13560 }
13561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13562 return resultobj;
13563 fail:
13564 return NULL;
13565 }
13566
13567
13568 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
13569 PyObject *resultobj;
13570 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13571 bool result;
13572 PyObject * obj0 = 0 ;
13573 char *kwnames[] = {
13574 (char *) "self", NULL
13575 };
13576
13577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
13578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13580 {
13581 PyThreadState* __tstate = wxPyBeginAllowThreads();
13582 result = (bool)(arg1)->DeleteAllPages();
13583
13584 wxPyEndAllowThreads(__tstate);
13585 if (PyErr_Occurred()) SWIG_fail;
13586 }
13587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13588 return resultobj;
13589 fail:
13590 return NULL;
13591 }
13592
13593
13594 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13595 PyObject *resultobj;
13596 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13597 wxWindow *arg2 = (wxWindow *) 0 ;
13598 wxString *arg3 = 0 ;
13599 bool arg4 = (bool) False ;
13600 int arg5 = (int) -1 ;
13601 bool result;
13602 bool temp3 = False ;
13603 PyObject * obj0 = 0 ;
13604 PyObject * obj1 = 0 ;
13605 PyObject * obj2 = 0 ;
13606 PyObject * obj3 = 0 ;
13607 PyObject * obj4 = 0 ;
13608 char *kwnames[] = {
13609 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13610 };
13611
13612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13615 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13617 {
13618 arg3 = wxString_in_helper(obj2);
13619 if (arg3 == NULL) SWIG_fail;
13620 temp3 = True;
13621 }
13622 if (obj3) {
13623 arg4 = (bool) SWIG_AsBool(obj3);
13624 if (PyErr_Occurred()) SWIG_fail;
13625 }
13626 if (obj4) {
13627 arg5 = (int) SWIG_AsInt(obj4);
13628 if (PyErr_Occurred()) SWIG_fail;
13629 }
13630 {
13631 PyThreadState* __tstate = wxPyBeginAllowThreads();
13632 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13633
13634 wxPyEndAllowThreads(__tstate);
13635 if (PyErr_Occurred()) SWIG_fail;
13636 }
13637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13638 {
13639 if (temp3)
13640 delete arg3;
13641 }
13642 return resultobj;
13643 fail:
13644 {
13645 if (temp3)
13646 delete arg3;
13647 }
13648 return NULL;
13649 }
13650
13651
13652 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13653 PyObject *resultobj;
13654 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13655 size_t arg2 ;
13656 wxWindow *arg3 = (wxWindow *) 0 ;
13657 wxString *arg4 = 0 ;
13658 bool arg5 = (bool) False ;
13659 int arg6 = (int) -1 ;
13660 bool result;
13661 bool temp4 = False ;
13662 PyObject * obj0 = 0 ;
13663 PyObject * obj1 = 0 ;
13664 PyObject * obj2 = 0 ;
13665 PyObject * obj3 = 0 ;
13666 PyObject * obj4 = 0 ;
13667 PyObject * obj5 = 0 ;
13668 char *kwnames[] = {
13669 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13670 };
13671
13672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13675 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13676 if (PyErr_Occurred()) SWIG_fail;
13677 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
13678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13679 {
13680 arg4 = wxString_in_helper(obj3);
13681 if (arg4 == NULL) SWIG_fail;
13682 temp4 = True;
13683 }
13684 if (obj4) {
13685 arg5 = (bool) SWIG_AsBool(obj4);
13686 if (PyErr_Occurred()) SWIG_fail;
13687 }
13688 if (obj5) {
13689 arg6 = (int) SWIG_AsInt(obj5);
13690 if (PyErr_Occurred()) SWIG_fail;
13691 }
13692 {
13693 PyThreadState* __tstate = wxPyBeginAllowThreads();
13694 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13695
13696 wxPyEndAllowThreads(__tstate);
13697 if (PyErr_Occurred()) SWIG_fail;
13698 }
13699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13700 {
13701 if (temp4)
13702 delete arg4;
13703 }
13704 return resultobj;
13705 fail:
13706 {
13707 if (temp4)
13708 delete arg4;
13709 }
13710 return NULL;
13711 }
13712
13713
13714 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13715 PyObject *resultobj;
13716 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13717 size_t arg2 ;
13718 int result;
13719 PyObject * obj0 = 0 ;
13720 PyObject * obj1 = 0 ;
13721 char *kwnames[] = {
13722 (char *) "self",(char *) "n", NULL
13723 };
13724
13725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13728 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13729 if (PyErr_Occurred()) SWIG_fail;
13730 {
13731 PyThreadState* __tstate = wxPyBeginAllowThreads();
13732 result = (int)(arg1)->SetSelection(arg2);
13733
13734 wxPyEndAllowThreads(__tstate);
13735 if (PyErr_Occurred()) SWIG_fail;
13736 }
13737 resultobj = SWIG_FromInt((int)result);
13738 return resultobj;
13739 fail:
13740 return NULL;
13741 }
13742
13743
13744 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13745 PyObject *resultobj;
13746 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13747 bool arg2 = (bool) True ;
13748 PyObject * obj0 = 0 ;
13749 PyObject * obj1 = 0 ;
13750 char *kwnames[] = {
13751 (char *) "self",(char *) "forward", NULL
13752 };
13753
13754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
13755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13757 if (obj1) {
13758 arg2 = (bool) SWIG_AsBool(obj1);
13759 if (PyErr_Occurred()) SWIG_fail;
13760 }
13761 {
13762 PyThreadState* __tstate = wxPyBeginAllowThreads();
13763 (arg1)->AdvanceSelection(arg2);
13764
13765 wxPyEndAllowThreads(__tstate);
13766 if (PyErr_Occurred()) SWIG_fail;
13767 }
13768 Py_INCREF(Py_None); resultobj = Py_None;
13769 return resultobj;
13770 fail:
13771 return NULL;
13772 }
13773
13774
13775 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
13776 PyObject *obj;
13777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13778 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
13779 Py_INCREF(obj);
13780 return Py_BuildValue((char *)"");
13781 }
13782 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13783 PyObject *resultobj;
13784 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13785 int arg2 = (int) 0 ;
13786 int arg3 = (int) -1 ;
13787 int arg4 = (int) -1 ;
13788 wxBookCtrlEvent *result;
13789 PyObject * obj0 = 0 ;
13790 PyObject * obj1 = 0 ;
13791 PyObject * obj2 = 0 ;
13792 PyObject * obj3 = 0 ;
13793 char *kwnames[] = {
13794 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13795 };
13796
13797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13798 if (obj0) {
13799 arg1 = (wxEventType) SWIG_AsInt(obj0);
13800 if (PyErr_Occurred()) SWIG_fail;
13801 }
13802 if (obj1) {
13803 arg2 = (int) SWIG_AsInt(obj1);
13804 if (PyErr_Occurred()) SWIG_fail;
13805 }
13806 if (obj2) {
13807 arg3 = (int) SWIG_AsInt(obj2);
13808 if (PyErr_Occurred()) SWIG_fail;
13809 }
13810 if (obj3) {
13811 arg4 = (int) SWIG_AsInt(obj3);
13812 if (PyErr_Occurred()) SWIG_fail;
13813 }
13814 {
13815 PyThreadState* __tstate = wxPyBeginAllowThreads();
13816 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
13817
13818 wxPyEndAllowThreads(__tstate);
13819 if (PyErr_Occurred()) SWIG_fail;
13820 }
13821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
13822 return resultobj;
13823 fail:
13824 return NULL;
13825 }
13826
13827
13828 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13829 PyObject *resultobj;
13830 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13831 int result;
13832 PyObject * obj0 = 0 ;
13833 char *kwnames[] = {
13834 (char *) "self", NULL
13835 };
13836
13837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
13838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13840 {
13841 PyThreadState* __tstate = wxPyBeginAllowThreads();
13842 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
13843
13844 wxPyEndAllowThreads(__tstate);
13845 if (PyErr_Occurred()) SWIG_fail;
13846 }
13847 resultobj = SWIG_FromInt((int)result);
13848 return resultobj;
13849 fail:
13850 return NULL;
13851 }
13852
13853
13854 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13855 PyObject *resultobj;
13856 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13857 int arg2 ;
13858 PyObject * obj0 = 0 ;
13859 PyObject * obj1 = 0 ;
13860 char *kwnames[] = {
13861 (char *) "self",(char *) "nSel", NULL
13862 };
13863
13864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13867 arg2 = (int) SWIG_AsInt(obj1);
13868 if (PyErr_Occurred()) SWIG_fail;
13869 {
13870 PyThreadState* __tstate = wxPyBeginAllowThreads();
13871 (arg1)->SetSelection(arg2);
13872
13873 wxPyEndAllowThreads(__tstate);
13874 if (PyErr_Occurred()) SWIG_fail;
13875 }
13876 Py_INCREF(Py_None); resultobj = Py_None;
13877 return resultobj;
13878 fail:
13879 return NULL;
13880 }
13881
13882
13883 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13884 PyObject *resultobj;
13885 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13886 int result;
13887 PyObject * obj0 = 0 ;
13888 char *kwnames[] = {
13889 (char *) "self", NULL
13890 };
13891
13892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
13893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13895 {
13896 PyThreadState* __tstate = wxPyBeginAllowThreads();
13897 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
13898
13899 wxPyEndAllowThreads(__tstate);
13900 if (PyErr_Occurred()) SWIG_fail;
13901 }
13902 resultobj = SWIG_FromInt((int)result);
13903 return resultobj;
13904 fail:
13905 return NULL;
13906 }
13907
13908
13909 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13910 PyObject *resultobj;
13911 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13912 int arg2 ;
13913 PyObject * obj0 = 0 ;
13914 PyObject * obj1 = 0 ;
13915 char *kwnames[] = {
13916 (char *) "self",(char *) "nOldSel", NULL
13917 };
13918
13919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
13920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13922 arg2 = (int) SWIG_AsInt(obj1);
13923 if (PyErr_Occurred()) SWIG_fail;
13924 {
13925 PyThreadState* __tstate = wxPyBeginAllowThreads();
13926 (arg1)->SetOldSelection(arg2);
13927
13928 wxPyEndAllowThreads(__tstate);
13929 if (PyErr_Occurred()) SWIG_fail;
13930 }
13931 Py_INCREF(Py_None); resultobj = Py_None;
13932 return resultobj;
13933 fail:
13934 return NULL;
13935 }
13936
13937
13938 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
13939 PyObject *obj;
13940 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13941 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
13942 Py_INCREF(obj);
13943 return Py_BuildValue((char *)"");
13944 }
13945 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13946 PyObject *resultobj;
13947 wxWindow *arg1 = (wxWindow *) 0 ;
13948 int arg2 ;
13949 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13950 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13951 wxSize const &arg4_defvalue = wxDefaultSize ;
13952 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13953 long arg5 = (long) 0 ;
13954 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
13955 wxString *arg6 = (wxString *) &arg6_defvalue ;
13956 wxNotebook *result;
13957 wxPoint temp3 ;
13958 wxSize temp4 ;
13959 bool temp6 = False ;
13960 PyObject * obj0 = 0 ;
13961 PyObject * obj1 = 0 ;
13962 PyObject * obj2 = 0 ;
13963 PyObject * obj3 = 0 ;
13964 PyObject * obj4 = 0 ;
13965 PyObject * obj5 = 0 ;
13966 char *kwnames[] = {
13967 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13968 };
13969
13970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13973 arg2 = (int) SWIG_AsInt(obj1);
13974 if (PyErr_Occurred()) SWIG_fail;
13975 if (obj2) {
13976 {
13977 arg3 = &temp3;
13978 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13979 }
13980 }
13981 if (obj3) {
13982 {
13983 arg4 = &temp4;
13984 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13985 }
13986 }
13987 if (obj4) {
13988 arg5 = (long) SWIG_AsLong(obj4);
13989 if (PyErr_Occurred()) SWIG_fail;
13990 }
13991 if (obj5) {
13992 {
13993 arg6 = wxString_in_helper(obj5);
13994 if (arg6 == NULL) SWIG_fail;
13995 temp6 = True;
13996 }
13997 }
13998 {
13999 PyThreadState* __tstate = wxPyBeginAllowThreads();
14000 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14001
14002 wxPyEndAllowThreads(__tstate);
14003 if (PyErr_Occurred()) SWIG_fail;
14004 }
14005 {
14006 resultobj = wxPyMake_wxObject(result);
14007 }
14008 {
14009 if (temp6)
14010 delete arg6;
14011 }
14012 return resultobj;
14013 fail:
14014 {
14015 if (temp6)
14016 delete arg6;
14017 }
14018 return NULL;
14019 }
14020
14021
14022 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14023 PyObject *resultobj;
14024 wxNotebook *result;
14025 char *kwnames[] = {
14026 NULL
14027 };
14028
14029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
14030 {
14031 PyThreadState* __tstate = wxPyBeginAllowThreads();
14032 result = (wxNotebook *)new wxNotebook();
14033
14034 wxPyEndAllowThreads(__tstate);
14035 if (PyErr_Occurred()) SWIG_fail;
14036 }
14037 {
14038 resultobj = wxPyMake_wxObject(result);
14039 }
14040 return resultobj;
14041 fail:
14042 return NULL;
14043 }
14044
14045
14046 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14047 PyObject *resultobj;
14048 wxNotebook *arg1 = (wxNotebook *) 0 ;
14049 wxWindow *arg2 = (wxWindow *) 0 ;
14050 int arg3 ;
14051 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14052 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14053 wxSize const &arg5_defvalue = wxDefaultSize ;
14054 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14055 long arg6 = (long) 0 ;
14056 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
14057 wxString *arg7 = (wxString *) &arg7_defvalue ;
14058 bool result;
14059 wxPoint temp4 ;
14060 wxSize temp5 ;
14061 bool temp7 = False ;
14062 PyObject * obj0 = 0 ;
14063 PyObject * obj1 = 0 ;
14064 PyObject * obj2 = 0 ;
14065 PyObject * obj3 = 0 ;
14066 PyObject * obj4 = 0 ;
14067 PyObject * obj5 = 0 ;
14068 PyObject * obj6 = 0 ;
14069 char *kwnames[] = {
14070 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14071 };
14072
14073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14076 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14078 arg3 = (int) SWIG_AsInt(obj2);
14079 if (PyErr_Occurred()) SWIG_fail;
14080 if (obj3) {
14081 {
14082 arg4 = &temp4;
14083 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14084 }
14085 }
14086 if (obj4) {
14087 {
14088 arg5 = &temp5;
14089 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14090 }
14091 }
14092 if (obj5) {
14093 arg6 = (long) SWIG_AsLong(obj5);
14094 if (PyErr_Occurred()) SWIG_fail;
14095 }
14096 if (obj6) {
14097 {
14098 arg7 = wxString_in_helper(obj6);
14099 if (arg7 == NULL) SWIG_fail;
14100 temp7 = True;
14101 }
14102 }
14103 {
14104 PyThreadState* __tstate = wxPyBeginAllowThreads();
14105 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14106
14107 wxPyEndAllowThreads(__tstate);
14108 if (PyErr_Occurred()) SWIG_fail;
14109 }
14110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14111 {
14112 if (temp7)
14113 delete arg7;
14114 }
14115 return resultobj;
14116 fail:
14117 {
14118 if (temp7)
14119 delete arg7;
14120 }
14121 return NULL;
14122 }
14123
14124
14125 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14126 PyObject *resultobj;
14127 wxNotebook *arg1 = (wxNotebook *) 0 ;
14128 int result;
14129 PyObject * obj0 = 0 ;
14130 char *kwnames[] = {
14131 (char *) "self", NULL
14132 };
14133
14134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
14135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14137 {
14138 PyThreadState* __tstate = wxPyBeginAllowThreads();
14139 result = (int)((wxNotebook const *)arg1)->GetRowCount();
14140
14141 wxPyEndAllowThreads(__tstate);
14142 if (PyErr_Occurred()) SWIG_fail;
14143 }
14144 resultobj = SWIG_FromInt((int)result);
14145 return resultobj;
14146 fail:
14147 return NULL;
14148 }
14149
14150
14151 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
14152 PyObject *resultobj;
14153 wxNotebook *arg1 = (wxNotebook *) 0 ;
14154 wxSize *arg2 = 0 ;
14155 wxSize temp2 ;
14156 PyObject * obj0 = 0 ;
14157 PyObject * obj1 = 0 ;
14158 char *kwnames[] = {
14159 (char *) "self",(char *) "padding", NULL
14160 };
14161
14162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
14163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14165 {
14166 arg2 = &temp2;
14167 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14168 }
14169 {
14170 PyThreadState* __tstate = wxPyBeginAllowThreads();
14171 (arg1)->SetPadding((wxSize const &)*arg2);
14172
14173 wxPyEndAllowThreads(__tstate);
14174 if (PyErr_Occurred()) SWIG_fail;
14175 }
14176 Py_INCREF(Py_None); resultobj = Py_None;
14177 return resultobj;
14178 fail:
14179 return NULL;
14180 }
14181
14182
14183 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14184 PyObject *resultobj;
14185 wxNotebook *arg1 = (wxNotebook *) 0 ;
14186 wxSize *arg2 = 0 ;
14187 wxSize temp2 ;
14188 PyObject * obj0 = 0 ;
14189 PyObject * obj1 = 0 ;
14190 char *kwnames[] = {
14191 (char *) "self",(char *) "sz", NULL
14192 };
14193
14194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
14195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14197 {
14198 arg2 = &temp2;
14199 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14200 }
14201 {
14202 PyThreadState* __tstate = wxPyBeginAllowThreads();
14203 (arg1)->SetTabSize((wxSize const &)*arg2);
14204
14205 wxPyEndAllowThreads(__tstate);
14206 if (PyErr_Occurred()) SWIG_fail;
14207 }
14208 Py_INCREF(Py_None); resultobj = Py_None;
14209 return resultobj;
14210 fail:
14211 return NULL;
14212 }
14213
14214
14215 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
14216 PyObject *resultobj;
14217 wxNotebook *arg1 = (wxNotebook *) 0 ;
14218 wxPoint *arg2 = 0 ;
14219 long *arg3 = (long *) 0 ;
14220 int result;
14221 wxPoint temp2 ;
14222 long temp3 ;
14223 PyObject * obj0 = 0 ;
14224 PyObject * obj1 = 0 ;
14225 char *kwnames[] = {
14226 (char *) "self",(char *) "pt", NULL
14227 };
14228
14229 arg3 = &temp3;
14230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
14231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14233 {
14234 arg2 = &temp2;
14235 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14236 }
14237 {
14238 PyThreadState* __tstate = wxPyBeginAllowThreads();
14239 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
14240
14241 wxPyEndAllowThreads(__tstate);
14242 if (PyErr_Occurred()) SWIG_fail;
14243 }
14244 resultobj = SWIG_FromInt((int)result);
14245 {
14246 PyObject *o = PyInt_FromLong((long) (*arg3));
14247 resultobj = t_output_helper(resultobj,o);
14248 }
14249 return resultobj;
14250 fail:
14251 return NULL;
14252 }
14253
14254
14255 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14256 PyObject *resultobj;
14257 wxNotebook *arg1 = (wxNotebook *) 0 ;
14258 wxSize *arg2 = 0 ;
14259 wxSize result;
14260 wxSize temp2 ;
14261 PyObject * obj0 = 0 ;
14262 PyObject * obj1 = 0 ;
14263 char *kwnames[] = {
14264 (char *) "self",(char *) "sizePage", NULL
14265 };
14266
14267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14270 {
14271 arg2 = &temp2;
14272 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14273 }
14274 {
14275 PyThreadState* __tstate = wxPyBeginAllowThreads();
14276 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14277
14278 wxPyEndAllowThreads(__tstate);
14279 if (PyErr_Occurred()) SWIG_fail;
14280 }
14281 {
14282 wxSize * resultptr;
14283 resultptr = new wxSize((wxSize &) result);
14284 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14285 }
14286 return resultobj;
14287 fail:
14288 return NULL;
14289 }
14290
14291
14292 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
14293 PyObject *obj;
14294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14295 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
14296 Py_INCREF(obj);
14297 return Py_BuildValue((char *)"");
14298 }
14299 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14300 PyObject *resultobj;
14301 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14302 int arg2 = (int) 0 ;
14303 int arg3 = (int) -1 ;
14304 int arg4 = (int) -1 ;
14305 wxNotebookEvent *result;
14306 PyObject * obj0 = 0 ;
14307 PyObject * obj1 = 0 ;
14308 PyObject * obj2 = 0 ;
14309 PyObject * obj3 = 0 ;
14310 char *kwnames[] = {
14311 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14312 };
14313
14314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14315 if (obj0) {
14316 arg1 = (wxEventType) SWIG_AsInt(obj0);
14317 if (PyErr_Occurred()) SWIG_fail;
14318 }
14319 if (obj1) {
14320 arg2 = (int) SWIG_AsInt(obj1);
14321 if (PyErr_Occurred()) SWIG_fail;
14322 }
14323 if (obj2) {
14324 arg3 = (int) SWIG_AsInt(obj2);
14325 if (PyErr_Occurred()) SWIG_fail;
14326 }
14327 if (obj3) {
14328 arg4 = (int) SWIG_AsInt(obj3);
14329 if (PyErr_Occurred()) SWIG_fail;
14330 }
14331 {
14332 PyThreadState* __tstate = wxPyBeginAllowThreads();
14333 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
14334
14335 wxPyEndAllowThreads(__tstate);
14336 if (PyErr_Occurred()) SWIG_fail;
14337 }
14338 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
14339 return resultobj;
14340 fail:
14341 return NULL;
14342 }
14343
14344
14345 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
14346 PyObject *obj;
14347 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14348 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
14349 Py_INCREF(obj);
14350 return Py_BuildValue((char *)"");
14351 }
14352 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14353 PyObject *resultobj;
14354 wxWindow *arg1 = (wxWindow *) 0 ;
14355 int arg2 ;
14356 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14357 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14358 wxSize const &arg4_defvalue = wxDefaultSize ;
14359 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14360 long arg5 = (long) 0 ;
14361 wxString const &arg6_defvalue = wxPyEmptyString ;
14362 wxString *arg6 = (wxString *) &arg6_defvalue ;
14363 wxListbook *result;
14364 wxPoint temp3 ;
14365 wxSize temp4 ;
14366 bool temp6 = False ;
14367 PyObject * obj0 = 0 ;
14368 PyObject * obj1 = 0 ;
14369 PyObject * obj2 = 0 ;
14370 PyObject * obj3 = 0 ;
14371 PyObject * obj4 = 0 ;
14372 PyObject * obj5 = 0 ;
14373 char *kwnames[] = {
14374 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14375 };
14376
14377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14380 arg2 = (int) SWIG_AsInt(obj1);
14381 if (PyErr_Occurred()) SWIG_fail;
14382 if (obj2) {
14383 {
14384 arg3 = &temp3;
14385 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14386 }
14387 }
14388 if (obj3) {
14389 {
14390 arg4 = &temp4;
14391 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14392 }
14393 }
14394 if (obj4) {
14395 arg5 = (long) SWIG_AsLong(obj4);
14396 if (PyErr_Occurred()) SWIG_fail;
14397 }
14398 if (obj5) {
14399 {
14400 arg6 = wxString_in_helper(obj5);
14401 if (arg6 == NULL) SWIG_fail;
14402 temp6 = True;
14403 }
14404 }
14405 {
14406 PyThreadState* __tstate = wxPyBeginAllowThreads();
14407 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14408
14409 wxPyEndAllowThreads(__tstate);
14410 if (PyErr_Occurred()) SWIG_fail;
14411 }
14412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14413 {
14414 if (temp6)
14415 delete arg6;
14416 }
14417 return resultobj;
14418 fail:
14419 {
14420 if (temp6)
14421 delete arg6;
14422 }
14423 return NULL;
14424 }
14425
14426
14427 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14428 PyObject *resultobj;
14429 wxListbook *result;
14430 char *kwnames[] = {
14431 NULL
14432 };
14433
14434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14435 {
14436 PyThreadState* __tstate = wxPyBeginAllowThreads();
14437 result = (wxListbook *)new wxListbook();
14438
14439 wxPyEndAllowThreads(__tstate);
14440 if (PyErr_Occurred()) SWIG_fail;
14441 }
14442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14443 return resultobj;
14444 fail:
14445 return NULL;
14446 }
14447
14448
14449 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14450 PyObject *resultobj;
14451 wxListbook *arg1 = (wxListbook *) 0 ;
14452 wxWindow *arg2 = (wxWindow *) 0 ;
14453 int arg3 ;
14454 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14455 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14456 wxSize const &arg5_defvalue = wxDefaultSize ;
14457 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14458 long arg6 = (long) 0 ;
14459 wxString const &arg7_defvalue = wxPyEmptyString ;
14460 wxString *arg7 = (wxString *) &arg7_defvalue ;
14461 bool result;
14462 wxPoint temp4 ;
14463 wxSize temp5 ;
14464 bool temp7 = False ;
14465 PyObject * obj0 = 0 ;
14466 PyObject * obj1 = 0 ;
14467 PyObject * obj2 = 0 ;
14468 PyObject * obj3 = 0 ;
14469 PyObject * obj4 = 0 ;
14470 PyObject * obj5 = 0 ;
14471 PyObject * obj6 = 0 ;
14472 char *kwnames[] = {
14473 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14474 };
14475
14476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14479 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14481 arg3 = (int) SWIG_AsInt(obj2);
14482 if (PyErr_Occurred()) SWIG_fail;
14483 if (obj3) {
14484 {
14485 arg4 = &temp4;
14486 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14487 }
14488 }
14489 if (obj4) {
14490 {
14491 arg5 = &temp5;
14492 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14493 }
14494 }
14495 if (obj5) {
14496 arg6 = (long) SWIG_AsLong(obj5);
14497 if (PyErr_Occurred()) SWIG_fail;
14498 }
14499 if (obj6) {
14500 {
14501 arg7 = wxString_in_helper(obj6);
14502 if (arg7 == NULL) SWIG_fail;
14503 temp7 = True;
14504 }
14505 }
14506 {
14507 PyThreadState* __tstate = wxPyBeginAllowThreads();
14508 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14509
14510 wxPyEndAllowThreads(__tstate);
14511 if (PyErr_Occurred()) SWIG_fail;
14512 }
14513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14514 {
14515 if (temp7)
14516 delete arg7;
14517 }
14518 return resultobj;
14519 fail:
14520 {
14521 if (temp7)
14522 delete arg7;
14523 }
14524 return NULL;
14525 }
14526
14527
14528 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14529 PyObject *resultobj;
14530 wxListbook *arg1 = (wxListbook *) 0 ;
14531 bool result;
14532 PyObject * obj0 = 0 ;
14533 char *kwnames[] = {
14534 (char *) "self", NULL
14535 };
14536
14537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
14538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14540 {
14541 PyThreadState* __tstate = wxPyBeginAllowThreads();
14542 result = (bool)((wxListbook const *)arg1)->IsVertical();
14543
14544 wxPyEndAllowThreads(__tstate);
14545 if (PyErr_Occurred()) SWIG_fail;
14546 }
14547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14548 return resultobj;
14549 fail:
14550 return NULL;
14551 }
14552
14553
14554 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
14555 PyObject *obj;
14556 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14557 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14558 Py_INCREF(obj);
14559 return Py_BuildValue((char *)"");
14560 }
14561 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14562 PyObject *resultobj;
14563 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14564 int arg2 = (int) 0 ;
14565 int arg3 = (int) -1 ;
14566 int arg4 = (int) -1 ;
14567 wxListbookEvent *result;
14568 PyObject * obj0 = 0 ;
14569 PyObject * obj1 = 0 ;
14570 PyObject * obj2 = 0 ;
14571 PyObject * obj3 = 0 ;
14572 char *kwnames[] = {
14573 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14574 };
14575
14576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14577 if (obj0) {
14578 arg1 = (wxEventType) SWIG_AsInt(obj0);
14579 if (PyErr_Occurred()) SWIG_fail;
14580 }
14581 if (obj1) {
14582 arg2 = (int) SWIG_AsInt(obj1);
14583 if (PyErr_Occurred()) SWIG_fail;
14584 }
14585 if (obj2) {
14586 arg3 = (int) SWIG_AsInt(obj2);
14587 if (PyErr_Occurred()) SWIG_fail;
14588 }
14589 if (obj3) {
14590 arg4 = (int) SWIG_AsInt(obj3);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
14593 {
14594 PyThreadState* __tstate = wxPyBeginAllowThreads();
14595 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14596
14597 wxPyEndAllowThreads(__tstate);
14598 if (PyErr_Occurred()) SWIG_fail;
14599 }
14600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
14601 return resultobj;
14602 fail:
14603 return NULL;
14604 }
14605
14606
14607 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
14608 PyObject *obj;
14609 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14610 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14611 Py_INCREF(obj);
14612 return Py_BuildValue((char *)"");
14613 }
14614 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14615 PyObject *resultobj;
14616 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14617 wxBookCtrlSizer *result;
14618 PyObject * obj0 = 0 ;
14619 char *kwnames[] = {
14620 (char *) "nb", NULL
14621 };
14622
14623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
14624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14626 {
14627 PyThreadState* __tstate = wxPyBeginAllowThreads();
14628 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14629
14630 wxPyEndAllowThreads(__tstate);
14631 if (PyErr_Occurred()) SWIG_fail;
14632 }
14633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
14634 return resultobj;
14635 fail:
14636 return NULL;
14637 }
14638
14639
14640 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14641 PyObject *resultobj;
14642 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14643 PyObject * obj0 = 0 ;
14644 char *kwnames[] = {
14645 (char *) "self", NULL
14646 };
14647
14648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14651 {
14652 PyThreadState* __tstate = wxPyBeginAllowThreads();
14653 (arg1)->RecalcSizes();
14654
14655 wxPyEndAllowThreads(__tstate);
14656 if (PyErr_Occurred()) SWIG_fail;
14657 }
14658 Py_INCREF(Py_None); resultobj = Py_None;
14659 return resultobj;
14660 fail:
14661 return NULL;
14662 }
14663
14664
14665 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14666 PyObject *resultobj;
14667 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14668 wxSize result;
14669 PyObject * obj0 = 0 ;
14670 char *kwnames[] = {
14671 (char *) "self", NULL
14672 };
14673
14674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
14675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14677 {
14678 PyThreadState* __tstate = wxPyBeginAllowThreads();
14679 result = (arg1)->CalcMin();
14680
14681 wxPyEndAllowThreads(__tstate);
14682 if (PyErr_Occurred()) SWIG_fail;
14683 }
14684 {
14685 wxSize * resultptr;
14686 resultptr = new wxSize((wxSize &) result);
14687 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14688 }
14689 return resultobj;
14690 fail:
14691 return NULL;
14692 }
14693
14694
14695 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14696 PyObject *resultobj;
14697 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14698 wxBookCtrl *result;
14699 PyObject * obj0 = 0 ;
14700 char *kwnames[] = {
14701 (char *) "self", NULL
14702 };
14703
14704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
14705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14707 {
14708 PyThreadState* __tstate = wxPyBeginAllowThreads();
14709 result = (wxBookCtrl *)(arg1)->GetControl();
14710
14711 wxPyEndAllowThreads(__tstate);
14712 if (PyErr_Occurred()) SWIG_fail;
14713 }
14714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
14715 return resultobj;
14716 fail:
14717 return NULL;
14718 }
14719
14720
14721 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
14722 PyObject *obj;
14723 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14724 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14725 Py_INCREF(obj);
14726 return Py_BuildValue((char *)"");
14727 }
14728 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14729 PyObject *resultobj;
14730 wxNotebook *arg1 = (wxNotebook *) 0 ;
14731 wxNotebookSizer *result;
14732 PyObject * obj0 = 0 ;
14733 char *kwnames[] = {
14734 (char *) "nb", NULL
14735 };
14736
14737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
14738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14740 {
14741 PyThreadState* __tstate = wxPyBeginAllowThreads();
14742 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
14743
14744 wxPyEndAllowThreads(__tstate);
14745 if (PyErr_Occurred()) SWIG_fail;
14746 }
14747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
14748 return resultobj;
14749 fail:
14750 return NULL;
14751 }
14752
14753
14754 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14755 PyObject *resultobj;
14756 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14757 PyObject * obj0 = 0 ;
14758 char *kwnames[] = {
14759 (char *) "self", NULL
14760 };
14761
14762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14765 {
14766 PyThreadState* __tstate = wxPyBeginAllowThreads();
14767 (arg1)->RecalcSizes();
14768
14769 wxPyEndAllowThreads(__tstate);
14770 if (PyErr_Occurred()) SWIG_fail;
14771 }
14772 Py_INCREF(Py_None); resultobj = Py_None;
14773 return resultobj;
14774 fail:
14775 return NULL;
14776 }
14777
14778
14779 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14780 PyObject *resultobj;
14781 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14782 wxSize result;
14783 PyObject * obj0 = 0 ;
14784 char *kwnames[] = {
14785 (char *) "self", NULL
14786 };
14787
14788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
14789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14791 {
14792 PyThreadState* __tstate = wxPyBeginAllowThreads();
14793 result = (arg1)->CalcMin();
14794
14795 wxPyEndAllowThreads(__tstate);
14796 if (PyErr_Occurred()) SWIG_fail;
14797 }
14798 {
14799 wxSize * resultptr;
14800 resultptr = new wxSize((wxSize &) result);
14801 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14802 }
14803 return resultobj;
14804 fail:
14805 return NULL;
14806 }
14807
14808
14809 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14810 PyObject *resultobj;
14811 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14812 wxNotebook *result;
14813 PyObject * obj0 = 0 ;
14814 char *kwnames[] = {
14815 (char *) "self", NULL
14816 };
14817
14818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
14819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14821 {
14822 PyThreadState* __tstate = wxPyBeginAllowThreads();
14823 result = (wxNotebook *)(arg1)->GetNotebook();
14824
14825 wxPyEndAllowThreads(__tstate);
14826 if (PyErr_Occurred()) SWIG_fail;
14827 }
14828 {
14829 resultobj = wxPyMake_wxObject(result);
14830 }
14831 return resultobj;
14832 fail:
14833 return NULL;
14834 }
14835
14836
14837 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
14838 PyObject *obj;
14839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14840 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
14841 Py_INCREF(obj);
14842 return Py_BuildValue((char *)"");
14843 }
14844 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
14845 PyObject *resultobj;
14846 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14847 int result;
14848 PyObject * obj0 = 0 ;
14849 char *kwnames[] = {
14850 (char *) "self", NULL
14851 };
14852
14853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
14854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14856 {
14857 PyThreadState* __tstate = wxPyBeginAllowThreads();
14858 result = (int)(arg1)->GetId();
14859
14860 wxPyEndAllowThreads(__tstate);
14861 if (PyErr_Occurred()) SWIG_fail;
14862 }
14863 resultobj = SWIG_FromInt((int)result);
14864 return resultobj;
14865 fail:
14866 return NULL;
14867 }
14868
14869
14870 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14871 PyObject *resultobj;
14872 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14873 wxControl *result;
14874 PyObject * obj0 = 0 ;
14875 char *kwnames[] = {
14876 (char *) "self", NULL
14877 };
14878
14879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
14880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14882 {
14883 PyThreadState* __tstate = wxPyBeginAllowThreads();
14884 result = (wxControl *)(arg1)->GetControl();
14885
14886 wxPyEndAllowThreads(__tstate);
14887 if (PyErr_Occurred()) SWIG_fail;
14888 }
14889 {
14890 resultobj = wxPyMake_wxObject(result);
14891 }
14892 return resultobj;
14893 fail:
14894 return NULL;
14895 }
14896
14897
14898 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14899 PyObject *resultobj;
14900 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14901 wxToolBarBase *result;
14902 PyObject * obj0 = 0 ;
14903 char *kwnames[] = {
14904 (char *) "self", NULL
14905 };
14906
14907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
14908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14910 {
14911 PyThreadState* __tstate = wxPyBeginAllowThreads();
14912 result = (wxToolBarBase *)(arg1)->GetToolBar();
14913
14914 wxPyEndAllowThreads(__tstate);
14915 if (PyErr_Occurred()) SWIG_fail;
14916 }
14917 {
14918 resultobj = wxPyMake_wxObject(result);
14919 }
14920 return resultobj;
14921 fail:
14922 return NULL;
14923 }
14924
14925
14926 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
14927 PyObject *resultobj;
14928 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14929 int result;
14930 PyObject * obj0 = 0 ;
14931 char *kwnames[] = {
14932 (char *) "self", NULL
14933 };
14934
14935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
14936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14938 {
14939 PyThreadState* __tstate = wxPyBeginAllowThreads();
14940 result = (int)(arg1)->IsButton();
14941
14942 wxPyEndAllowThreads(__tstate);
14943 if (PyErr_Occurred()) SWIG_fail;
14944 }
14945 resultobj = SWIG_FromInt((int)result);
14946 return resultobj;
14947 fail:
14948 return NULL;
14949 }
14950
14951
14952 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14953 PyObject *resultobj;
14954 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14955 int result;
14956 PyObject * obj0 = 0 ;
14957 char *kwnames[] = {
14958 (char *) "self", NULL
14959 };
14960
14961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
14962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14964 {
14965 PyThreadState* __tstate = wxPyBeginAllowThreads();
14966 result = (int)(arg1)->IsControl();
14967
14968 wxPyEndAllowThreads(__tstate);
14969 if (PyErr_Occurred()) SWIG_fail;
14970 }
14971 resultobj = SWIG_FromInt((int)result);
14972 return resultobj;
14973 fail:
14974 return NULL;
14975 }
14976
14977
14978 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14979 PyObject *resultobj;
14980 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14981 int result;
14982 PyObject * obj0 = 0 ;
14983 char *kwnames[] = {
14984 (char *) "self", NULL
14985 };
14986
14987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
14988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14990 {
14991 PyThreadState* __tstate = wxPyBeginAllowThreads();
14992 result = (int)(arg1)->IsSeparator();
14993
14994 wxPyEndAllowThreads(__tstate);
14995 if (PyErr_Occurred()) SWIG_fail;
14996 }
14997 resultobj = SWIG_FromInt((int)result);
14998 return resultobj;
14999 fail:
15000 return NULL;
15001 }
15002
15003
15004 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15005 PyObject *resultobj;
15006 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15007 int result;
15008 PyObject * obj0 = 0 ;
15009 char *kwnames[] = {
15010 (char *) "self", NULL
15011 };
15012
15013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
15014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15016 {
15017 PyThreadState* __tstate = wxPyBeginAllowThreads();
15018 result = (int)(arg1)->GetStyle();
15019
15020 wxPyEndAllowThreads(__tstate);
15021 if (PyErr_Occurred()) SWIG_fail;
15022 }
15023 resultobj = SWIG_FromInt((int)result);
15024 return resultobj;
15025 fail:
15026 return NULL;
15027 }
15028
15029
15030 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
15031 PyObject *resultobj;
15032 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15033 int result;
15034 PyObject * obj0 = 0 ;
15035 char *kwnames[] = {
15036 (char *) "self", NULL
15037 };
15038
15039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
15040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15042 {
15043 PyThreadState* __tstate = wxPyBeginAllowThreads();
15044 result = (int)(arg1)->GetKind();
15045
15046 wxPyEndAllowThreads(__tstate);
15047 if (PyErr_Occurred()) SWIG_fail;
15048 }
15049 resultobj = SWIG_FromInt((int)result);
15050 return resultobj;
15051 fail:
15052 return NULL;
15053 }
15054
15055
15056 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15057 PyObject *resultobj;
15058 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15059 bool result;
15060 PyObject * obj0 = 0 ;
15061 char *kwnames[] = {
15062 (char *) "self", NULL
15063 };
15064
15065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
15066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15068 {
15069 PyThreadState* __tstate = wxPyBeginAllowThreads();
15070 result = (bool)(arg1)->IsEnabled();
15071
15072 wxPyEndAllowThreads(__tstate);
15073 if (PyErr_Occurred()) SWIG_fail;
15074 }
15075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15076 return resultobj;
15077 fail:
15078 return NULL;
15079 }
15080
15081
15082 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15083 PyObject *resultobj;
15084 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15085 bool result;
15086 PyObject * obj0 = 0 ;
15087 char *kwnames[] = {
15088 (char *) "self", NULL
15089 };
15090
15091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
15092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15094 {
15095 PyThreadState* __tstate = wxPyBeginAllowThreads();
15096 result = (bool)(arg1)->IsToggled();
15097
15098 wxPyEndAllowThreads(__tstate);
15099 if (PyErr_Occurred()) SWIG_fail;
15100 }
15101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15102 return resultobj;
15103 fail:
15104 return NULL;
15105 }
15106
15107
15108 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15109 PyObject *resultobj;
15110 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15111 bool result;
15112 PyObject * obj0 = 0 ;
15113 char *kwnames[] = {
15114 (char *) "self", NULL
15115 };
15116
15117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
15118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15120 {
15121 PyThreadState* __tstate = wxPyBeginAllowThreads();
15122 result = (bool)(arg1)->CanBeToggled();
15123
15124 wxPyEndAllowThreads(__tstate);
15125 if (PyErr_Occurred()) SWIG_fail;
15126 }
15127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15128 return resultobj;
15129 fail:
15130 return NULL;
15131 }
15132
15133
15134 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15135 PyObject *resultobj;
15136 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15137 wxBitmap *result;
15138 PyObject * obj0 = 0 ;
15139 char *kwnames[] = {
15140 (char *) "self", NULL
15141 };
15142
15143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
15144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15146 {
15147 PyThreadState* __tstate = wxPyBeginAllowThreads();
15148 {
15149 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
15150 result = (wxBitmap *) &_result_ref;
15151 }
15152
15153 wxPyEndAllowThreads(__tstate);
15154 if (PyErr_Occurred()) SWIG_fail;
15155 }
15156 {
15157 wxBitmap* resultptr = new wxBitmap(*result);
15158 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15159 }
15160 return resultobj;
15161 fail:
15162 return NULL;
15163 }
15164
15165
15166 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15167 PyObject *resultobj;
15168 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15169 wxBitmap *result;
15170 PyObject * obj0 = 0 ;
15171 char *kwnames[] = {
15172 (char *) "self", NULL
15173 };
15174
15175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
15176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15178 {
15179 PyThreadState* __tstate = wxPyBeginAllowThreads();
15180 {
15181 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
15182 result = (wxBitmap *) &_result_ref;
15183 }
15184
15185 wxPyEndAllowThreads(__tstate);
15186 if (PyErr_Occurred()) SWIG_fail;
15187 }
15188 {
15189 wxBitmap* resultptr = new wxBitmap(*result);
15190 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15191 }
15192 return resultobj;
15193 fail:
15194 return NULL;
15195 }
15196
15197
15198 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15199 PyObject *resultobj;
15200 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15201 wxBitmap result;
15202 PyObject * obj0 = 0 ;
15203 char *kwnames[] = {
15204 (char *) "self", NULL
15205 };
15206
15207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",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 = (arg1)->GetBitmap();
15213
15214 wxPyEndAllowThreads(__tstate);
15215 if (PyErr_Occurred()) SWIG_fail;
15216 }
15217 {
15218 wxBitmap * resultptr;
15219 resultptr = new wxBitmap((wxBitmap &) result);
15220 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15221 }
15222 return resultobj;
15223 fail:
15224 return NULL;
15225 }
15226
15227
15228 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15229 PyObject *resultobj;
15230 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15231 wxString result;
15232 PyObject * obj0 = 0 ;
15233 char *kwnames[] = {
15234 (char *) "self", NULL
15235 };
15236
15237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
15238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15240 {
15241 PyThreadState* __tstate = wxPyBeginAllowThreads();
15242 result = (arg1)->GetLabel();
15243
15244 wxPyEndAllowThreads(__tstate);
15245 if (PyErr_Occurred()) SWIG_fail;
15246 }
15247 {
15248 #if wxUSE_UNICODE
15249 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15250 #else
15251 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15252 #endif
15253 }
15254 return resultobj;
15255 fail:
15256 return NULL;
15257 }
15258
15259
15260 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15261 PyObject *resultobj;
15262 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15263 wxString result;
15264 PyObject * obj0 = 0 ;
15265 char *kwnames[] = {
15266 (char *) "self", NULL
15267 };
15268
15269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15272 {
15273 PyThreadState* __tstate = wxPyBeginAllowThreads();
15274 result = (arg1)->GetShortHelp();
15275
15276 wxPyEndAllowThreads(__tstate);
15277 if (PyErr_Occurred()) SWIG_fail;
15278 }
15279 {
15280 #if wxUSE_UNICODE
15281 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15282 #else
15283 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15284 #endif
15285 }
15286 return resultobj;
15287 fail:
15288 return NULL;
15289 }
15290
15291
15292 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15293 PyObject *resultobj;
15294 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15295 wxString result;
15296 PyObject * obj0 = 0 ;
15297 char *kwnames[] = {
15298 (char *) "self", NULL
15299 };
15300
15301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15304 {
15305 PyThreadState* __tstate = wxPyBeginAllowThreads();
15306 result = (arg1)->GetLongHelp();
15307
15308 wxPyEndAllowThreads(__tstate);
15309 if (PyErr_Occurred()) SWIG_fail;
15310 }
15311 {
15312 #if wxUSE_UNICODE
15313 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15314 #else
15315 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15316 #endif
15317 }
15318 return resultobj;
15319 fail:
15320 return NULL;
15321 }
15322
15323
15324 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
15325 PyObject *resultobj;
15326 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15327 bool arg2 ;
15328 bool result;
15329 PyObject * obj0 = 0 ;
15330 PyObject * obj1 = 0 ;
15331 char *kwnames[] = {
15332 (char *) "self",(char *) "enable", NULL
15333 };
15334
15335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15338 arg2 = (bool) SWIG_AsBool(obj1);
15339 if (PyErr_Occurred()) SWIG_fail;
15340 {
15341 PyThreadState* __tstate = wxPyBeginAllowThreads();
15342 result = (bool)(arg1)->Enable(arg2);
15343
15344 wxPyEndAllowThreads(__tstate);
15345 if (PyErr_Occurred()) SWIG_fail;
15346 }
15347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15348 return resultobj;
15349 fail:
15350 return NULL;
15351 }
15352
15353
15354 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15355 PyObject *resultobj;
15356 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15357 PyObject * obj0 = 0 ;
15358 char *kwnames[] = {
15359 (char *) "self", NULL
15360 };
15361
15362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
15363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15365 {
15366 PyThreadState* __tstate = wxPyBeginAllowThreads();
15367 (arg1)->Toggle();
15368
15369 wxPyEndAllowThreads(__tstate);
15370 if (PyErr_Occurred()) SWIG_fail;
15371 }
15372 Py_INCREF(Py_None); resultobj = Py_None;
15373 return resultobj;
15374 fail:
15375 return NULL;
15376 }
15377
15378
15379 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15380 PyObject *resultobj;
15381 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15382 bool arg2 ;
15383 bool result;
15384 PyObject * obj0 = 0 ;
15385 PyObject * obj1 = 0 ;
15386 char *kwnames[] = {
15387 (char *) "self",(char *) "toggle", NULL
15388 };
15389
15390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15393 arg2 = (bool) SWIG_AsBool(obj1);
15394 if (PyErr_Occurred()) SWIG_fail;
15395 {
15396 PyThreadState* __tstate = wxPyBeginAllowThreads();
15397 result = (bool)(arg1)->SetToggle(arg2);
15398
15399 wxPyEndAllowThreads(__tstate);
15400 if (PyErr_Occurred()) SWIG_fail;
15401 }
15402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15403 return resultobj;
15404 fail:
15405 return NULL;
15406 }
15407
15408
15409 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15410 PyObject *resultobj;
15411 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15412 wxString *arg2 = 0 ;
15413 bool result;
15414 bool temp2 = False ;
15415 PyObject * obj0 = 0 ;
15416 PyObject * obj1 = 0 ;
15417 char *kwnames[] = {
15418 (char *) "self",(char *) "help", NULL
15419 };
15420
15421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15424 {
15425 arg2 = wxString_in_helper(obj1);
15426 if (arg2 == NULL) SWIG_fail;
15427 temp2 = True;
15428 }
15429 {
15430 PyThreadState* __tstate = wxPyBeginAllowThreads();
15431 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15432
15433 wxPyEndAllowThreads(__tstate);
15434 if (PyErr_Occurred()) SWIG_fail;
15435 }
15436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15437 {
15438 if (temp2)
15439 delete arg2;
15440 }
15441 return resultobj;
15442 fail:
15443 {
15444 if (temp2)
15445 delete arg2;
15446 }
15447 return NULL;
15448 }
15449
15450
15451 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15452 PyObject *resultobj;
15453 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15454 wxString *arg2 = 0 ;
15455 bool result;
15456 bool temp2 = False ;
15457 PyObject * obj0 = 0 ;
15458 PyObject * obj1 = 0 ;
15459 char *kwnames[] = {
15460 (char *) "self",(char *) "help", NULL
15461 };
15462
15463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15466 {
15467 arg2 = wxString_in_helper(obj1);
15468 if (arg2 == NULL) SWIG_fail;
15469 temp2 = True;
15470 }
15471 {
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15474
15475 wxPyEndAllowThreads(__tstate);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 }
15478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15479 {
15480 if (temp2)
15481 delete arg2;
15482 }
15483 return resultobj;
15484 fail:
15485 {
15486 if (temp2)
15487 delete arg2;
15488 }
15489 return NULL;
15490 }
15491
15492
15493 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15494 PyObject *resultobj;
15495 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15496 wxBitmap *arg2 = 0 ;
15497 PyObject * obj0 = 0 ;
15498 PyObject * obj1 = 0 ;
15499 char *kwnames[] = {
15500 (char *) "self",(char *) "bmp", NULL
15501 };
15502
15503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15506 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15507 SWIG_POINTER_EXCEPTION | 0)) == -1)
15508 SWIG_fail;
15509 if (arg2 == NULL) {
15510 PyErr_SetString(PyExc_TypeError,"null reference");
15511 SWIG_fail;
15512 }
15513 {
15514 PyThreadState* __tstate = wxPyBeginAllowThreads();
15515 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15516
15517 wxPyEndAllowThreads(__tstate);
15518 if (PyErr_Occurred()) SWIG_fail;
15519 }
15520 Py_INCREF(Py_None); resultobj = Py_None;
15521 return resultobj;
15522 fail:
15523 return NULL;
15524 }
15525
15526
15527 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15528 PyObject *resultobj;
15529 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15530 wxBitmap *arg2 = 0 ;
15531 PyObject * obj0 = 0 ;
15532 PyObject * obj1 = 0 ;
15533 char *kwnames[] = {
15534 (char *) "self",(char *) "bmp", NULL
15535 };
15536
15537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15540 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15541 SWIG_POINTER_EXCEPTION | 0)) == -1)
15542 SWIG_fail;
15543 if (arg2 == NULL) {
15544 PyErr_SetString(PyExc_TypeError,"null reference");
15545 SWIG_fail;
15546 }
15547 {
15548 PyThreadState* __tstate = wxPyBeginAllowThreads();
15549 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15550
15551 wxPyEndAllowThreads(__tstate);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
15554 Py_INCREF(Py_None); resultobj = Py_None;
15555 return resultobj;
15556 fail:
15557 return NULL;
15558 }
15559
15560
15561 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15562 PyObject *resultobj;
15563 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15564 wxString *arg2 = 0 ;
15565 bool temp2 = False ;
15566 PyObject * obj0 = 0 ;
15567 PyObject * obj1 = 0 ;
15568 char *kwnames[] = {
15569 (char *) "self",(char *) "label", NULL
15570 };
15571
15572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15575 {
15576 arg2 = wxString_in_helper(obj1);
15577 if (arg2 == NULL) SWIG_fail;
15578 temp2 = True;
15579 }
15580 {
15581 PyThreadState* __tstate = wxPyBeginAllowThreads();
15582 (arg1)->SetLabel((wxString const &)*arg2);
15583
15584 wxPyEndAllowThreads(__tstate);
15585 if (PyErr_Occurred()) SWIG_fail;
15586 }
15587 Py_INCREF(Py_None); resultobj = Py_None;
15588 {
15589 if (temp2)
15590 delete arg2;
15591 }
15592 return resultobj;
15593 fail:
15594 {
15595 if (temp2)
15596 delete arg2;
15597 }
15598 return NULL;
15599 }
15600
15601
15602 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
15603 PyObject *resultobj;
15604 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15605 PyObject * obj0 = 0 ;
15606 char *kwnames[] = {
15607 (char *) "self", NULL
15608 };
15609
15610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15613 {
15614 PyThreadState* __tstate = wxPyBeginAllowThreads();
15615 (arg1)->Detach();
15616
15617 wxPyEndAllowThreads(__tstate);
15618 if (PyErr_Occurred()) SWIG_fail;
15619 }
15620 Py_INCREF(Py_None); resultobj = Py_None;
15621 return resultobj;
15622 fail:
15623 return NULL;
15624 }
15625
15626
15627 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
15628 PyObject *resultobj;
15629 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15630 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15631 PyObject * obj0 = 0 ;
15632 PyObject * obj1 = 0 ;
15633 char *kwnames[] = {
15634 (char *) "self",(char *) "tbar", NULL
15635 };
15636
15637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15640 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
15641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15642 {
15643 PyThreadState* __tstate = wxPyBeginAllowThreads();
15644 (arg1)->Attach(arg2);
15645
15646 wxPyEndAllowThreads(__tstate);
15647 if (PyErr_Occurred()) SWIG_fail;
15648 }
15649 Py_INCREF(Py_None); resultobj = Py_None;
15650 return resultobj;
15651 fail:
15652 return NULL;
15653 }
15654
15655
15656 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15657 PyObject *resultobj;
15658 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15659 PyObject *result;
15660 PyObject * obj0 = 0 ;
15661 char *kwnames[] = {
15662 (char *) "self", NULL
15663 };
15664
15665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15668 {
15669 PyThreadState* __tstate = wxPyBeginAllowThreads();
15670 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15671
15672 wxPyEndAllowThreads(__tstate);
15673 if (PyErr_Occurred()) SWIG_fail;
15674 }
15675 resultobj = result;
15676 return resultobj;
15677 fail:
15678 return NULL;
15679 }
15680
15681
15682 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15683 PyObject *resultobj;
15684 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15685 PyObject *arg2 = (PyObject *) 0 ;
15686 PyObject * obj0 = 0 ;
15687 PyObject * obj1 = 0 ;
15688 char *kwnames[] = {
15689 (char *) "self",(char *) "clientData", NULL
15690 };
15691
15692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15695 arg2 = obj1;
15696 {
15697 PyThreadState* __tstate = wxPyBeginAllowThreads();
15698 wxToolBarToolBase_SetClientData(arg1,arg2);
15699
15700 wxPyEndAllowThreads(__tstate);
15701 if (PyErr_Occurred()) SWIG_fail;
15702 }
15703 Py_INCREF(Py_None); resultobj = Py_None;
15704 return resultobj;
15705 fail:
15706 return NULL;
15707 }
15708
15709
15710 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
15711 PyObject *obj;
15712 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15713 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15714 Py_INCREF(obj);
15715 return Py_BuildValue((char *)"");
15716 }
15717 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15718 PyObject *resultobj;
15719 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15720 int arg2 ;
15721 wxString *arg3 = 0 ;
15722 wxBitmap *arg4 = 0 ;
15723 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15724 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15725 int arg6 = (int) wxITEM_NORMAL ;
15726 wxString const &arg7_defvalue = wxPyEmptyString ;
15727 wxString *arg7 = (wxString *) &arg7_defvalue ;
15728 wxString const &arg8_defvalue = wxPyEmptyString ;
15729 wxString *arg8 = (wxString *) &arg8_defvalue ;
15730 PyObject *arg9 = (PyObject *) NULL ;
15731 wxToolBarToolBase *result;
15732 bool temp3 = False ;
15733 bool temp7 = False ;
15734 bool temp8 = False ;
15735 PyObject * obj0 = 0 ;
15736 PyObject * obj1 = 0 ;
15737 PyObject * obj2 = 0 ;
15738 PyObject * obj3 = 0 ;
15739 PyObject * obj4 = 0 ;
15740 PyObject * obj5 = 0 ;
15741 PyObject * obj6 = 0 ;
15742 PyObject * obj7 = 0 ;
15743 PyObject * obj8 = 0 ;
15744 char *kwnames[] = {
15745 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15746 };
15747
15748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15751 arg2 = (int) SWIG_AsInt(obj1);
15752 if (PyErr_Occurred()) SWIG_fail;
15753 {
15754 arg3 = wxString_in_helper(obj2);
15755 if (arg3 == NULL) SWIG_fail;
15756 temp3 = True;
15757 }
15758 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
15759 SWIG_POINTER_EXCEPTION | 0)) == -1)
15760 SWIG_fail;
15761 if (arg4 == NULL) {
15762 PyErr_SetString(PyExc_TypeError,"null reference");
15763 SWIG_fail;
15764 }
15765 if (obj4) {
15766 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
15767 SWIG_POINTER_EXCEPTION | 0)) == -1)
15768 SWIG_fail;
15769 if (arg5 == NULL) {
15770 PyErr_SetString(PyExc_TypeError,"null reference");
15771 SWIG_fail;
15772 }
15773 }
15774 if (obj5) {
15775 arg6 = (wxItemKind) SWIG_AsInt(obj5);
15776 if (PyErr_Occurred()) SWIG_fail;
15777 }
15778 if (obj6) {
15779 {
15780 arg7 = wxString_in_helper(obj6);
15781 if (arg7 == NULL) SWIG_fail;
15782 temp7 = True;
15783 }
15784 }
15785 if (obj7) {
15786 {
15787 arg8 = wxString_in_helper(obj7);
15788 if (arg8 == NULL) SWIG_fail;
15789 temp8 = True;
15790 }
15791 }
15792 if (obj8) {
15793 arg9 = obj8;
15794 }
15795 {
15796 PyThreadState* __tstate = wxPyBeginAllowThreads();
15797 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
15798
15799 wxPyEndAllowThreads(__tstate);
15800 if (PyErr_Occurred()) SWIG_fail;
15801 }
15802 {
15803 resultobj = wxPyMake_wxObject(result);
15804 }
15805 {
15806 if (temp3)
15807 delete arg3;
15808 }
15809 {
15810 if (temp7)
15811 delete arg7;
15812 }
15813 {
15814 if (temp8)
15815 delete arg8;
15816 }
15817 return resultobj;
15818 fail:
15819 {
15820 if (temp3)
15821 delete arg3;
15822 }
15823 {
15824 if (temp7)
15825 delete arg7;
15826 }
15827 {
15828 if (temp8)
15829 delete arg8;
15830 }
15831 return NULL;
15832 }
15833
15834
15835 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15836 PyObject *resultobj;
15837 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15838 size_t arg2 ;
15839 int arg3 ;
15840 wxString *arg4 = 0 ;
15841 wxBitmap *arg5 = 0 ;
15842 wxBitmap const &arg6_defvalue = wxNullBitmap ;
15843 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
15844 int arg7 = (int) wxITEM_NORMAL ;
15845 wxString const &arg8_defvalue = wxPyEmptyString ;
15846 wxString *arg8 = (wxString *) &arg8_defvalue ;
15847 wxString const &arg9_defvalue = wxPyEmptyString ;
15848 wxString *arg9 = (wxString *) &arg9_defvalue ;
15849 PyObject *arg10 = (PyObject *) NULL ;
15850 wxToolBarToolBase *result;
15851 bool temp4 = False ;
15852 bool temp8 = False ;
15853 bool temp9 = False ;
15854 PyObject * obj0 = 0 ;
15855 PyObject * obj1 = 0 ;
15856 PyObject * obj2 = 0 ;
15857 PyObject * obj3 = 0 ;
15858 PyObject * obj4 = 0 ;
15859 PyObject * obj5 = 0 ;
15860 PyObject * obj6 = 0 ;
15861 PyObject * obj7 = 0 ;
15862 PyObject * obj8 = 0 ;
15863 PyObject * obj9 = 0 ;
15864 char *kwnames[] = {
15865 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15866 };
15867
15868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15871 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
15872 if (PyErr_Occurred()) SWIG_fail;
15873 arg3 = (int) SWIG_AsInt(obj2);
15874 if (PyErr_Occurred()) SWIG_fail;
15875 {
15876 arg4 = wxString_in_helper(obj3);
15877 if (arg4 == NULL) SWIG_fail;
15878 temp4 = True;
15879 }
15880 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
15881 SWIG_POINTER_EXCEPTION | 0)) == -1)
15882 SWIG_fail;
15883 if (arg5 == NULL) {
15884 PyErr_SetString(PyExc_TypeError,"null reference");
15885 SWIG_fail;
15886 }
15887 if (obj5) {
15888 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
15889 SWIG_POINTER_EXCEPTION | 0)) == -1)
15890 SWIG_fail;
15891 if (arg6 == NULL) {
15892 PyErr_SetString(PyExc_TypeError,"null reference");
15893 SWIG_fail;
15894 }
15895 }
15896 if (obj6) {
15897 arg7 = (wxItemKind) SWIG_AsInt(obj6);
15898 if (PyErr_Occurred()) SWIG_fail;
15899 }
15900 if (obj7) {
15901 {
15902 arg8 = wxString_in_helper(obj7);
15903 if (arg8 == NULL) SWIG_fail;
15904 temp8 = True;
15905 }
15906 }
15907 if (obj8) {
15908 {
15909 arg9 = wxString_in_helper(obj8);
15910 if (arg9 == NULL) SWIG_fail;
15911 temp9 = True;
15912 }
15913 }
15914 if (obj9) {
15915 arg10 = obj9;
15916 }
15917 {
15918 PyThreadState* __tstate = wxPyBeginAllowThreads();
15919 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);
15920
15921 wxPyEndAllowThreads(__tstate);
15922 if (PyErr_Occurred()) SWIG_fail;
15923 }
15924 {
15925 resultobj = wxPyMake_wxObject(result);
15926 }
15927 {
15928 if (temp4)
15929 delete arg4;
15930 }
15931 {
15932 if (temp8)
15933 delete arg8;
15934 }
15935 {
15936 if (temp9)
15937 delete arg9;
15938 }
15939 return resultobj;
15940 fail:
15941 {
15942 if (temp4)
15943 delete arg4;
15944 }
15945 {
15946 if (temp8)
15947 delete arg8;
15948 }
15949 {
15950 if (temp9)
15951 delete arg9;
15952 }
15953 return NULL;
15954 }
15955
15956
15957 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15958 PyObject *resultobj;
15959 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15960 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
15961 wxToolBarToolBase *result;
15962 PyObject * obj0 = 0 ;
15963 PyObject * obj1 = 0 ;
15964 char *kwnames[] = {
15965 (char *) "self",(char *) "tool", NULL
15966 };
15967
15968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
15969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15971 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
15972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15973 {
15974 PyThreadState* __tstate = wxPyBeginAllowThreads();
15975 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
15976
15977 wxPyEndAllowThreads(__tstate);
15978 if (PyErr_Occurred()) SWIG_fail;
15979 }
15980 {
15981 resultobj = wxPyMake_wxObject(result);
15982 }
15983 return resultobj;
15984 fail:
15985 return NULL;
15986 }
15987
15988
15989 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15990 PyObject *resultobj;
15991 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15992 size_t arg2 ;
15993 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
15994 wxToolBarToolBase *result;
15995 PyObject * obj0 = 0 ;
15996 PyObject * obj1 = 0 ;
15997 PyObject * obj2 = 0 ;
15998 char *kwnames[] = {
15999 (char *) "self",(char *) "pos",(char *) "tool", NULL
16000 };
16001
16002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
16003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16005 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16006 if (PyErr_Occurred()) SWIG_fail;
16007 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
16008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16009 {
16010 PyThreadState* __tstate = wxPyBeginAllowThreads();
16011 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
16012
16013 wxPyEndAllowThreads(__tstate);
16014 if (PyErr_Occurred()) SWIG_fail;
16015 }
16016 {
16017 resultobj = wxPyMake_wxObject(result);
16018 }
16019 return resultobj;
16020 fail:
16021 return NULL;
16022 }
16023
16024
16025 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16026 PyObject *resultobj;
16027 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16028 wxControl *arg2 = (wxControl *) 0 ;
16029 wxToolBarToolBase *result;
16030 PyObject * obj0 = 0 ;
16031 PyObject * obj1 = 0 ;
16032 char *kwnames[] = {
16033 (char *) "self",(char *) "control", NULL
16034 };
16035
16036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
16037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16039 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
16040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16041 {
16042 PyThreadState* __tstate = wxPyBeginAllowThreads();
16043 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
16044
16045 wxPyEndAllowThreads(__tstate);
16046 if (PyErr_Occurred()) SWIG_fail;
16047 }
16048 {
16049 resultobj = wxPyMake_wxObject(result);
16050 }
16051 return resultobj;
16052 fail:
16053 return NULL;
16054 }
16055
16056
16057 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16058 PyObject *resultobj;
16059 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16060 size_t arg2 ;
16061 wxControl *arg3 = (wxControl *) 0 ;
16062 wxToolBarToolBase *result;
16063 PyObject * obj0 = 0 ;
16064 PyObject * obj1 = 0 ;
16065 PyObject * obj2 = 0 ;
16066 char *kwnames[] = {
16067 (char *) "self",(char *) "pos",(char *) "control", NULL
16068 };
16069
16070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
16071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16073 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16074 if (PyErr_Occurred()) SWIG_fail;
16075 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
16076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16077 {
16078 PyThreadState* __tstate = wxPyBeginAllowThreads();
16079 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
16080
16081 wxPyEndAllowThreads(__tstate);
16082 if (PyErr_Occurred()) SWIG_fail;
16083 }
16084 {
16085 resultobj = wxPyMake_wxObject(result);
16086 }
16087 return resultobj;
16088 fail:
16089 return NULL;
16090 }
16091
16092
16093 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16094 PyObject *resultobj;
16095 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16096 int arg2 ;
16097 wxControl *result;
16098 PyObject * obj0 = 0 ;
16099 PyObject * obj1 = 0 ;
16100 char *kwnames[] = {
16101 (char *) "self",(char *) "id", NULL
16102 };
16103
16104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
16105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16107 arg2 = (int) SWIG_AsInt(obj1);
16108 if (PyErr_Occurred()) SWIG_fail;
16109 {
16110 PyThreadState* __tstate = wxPyBeginAllowThreads();
16111 result = (wxControl *)(arg1)->FindControl(arg2);
16112
16113 wxPyEndAllowThreads(__tstate);
16114 if (PyErr_Occurred()) SWIG_fail;
16115 }
16116 {
16117 resultobj = wxPyMake_wxObject(result);
16118 }
16119 return resultobj;
16120 fail:
16121 return NULL;
16122 }
16123
16124
16125 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16126 PyObject *resultobj;
16127 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16128 wxToolBarToolBase *result;
16129 PyObject * obj0 = 0 ;
16130 char *kwnames[] = {
16131 (char *) "self", NULL
16132 };
16133
16134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
16135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16137 {
16138 PyThreadState* __tstate = wxPyBeginAllowThreads();
16139 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
16140
16141 wxPyEndAllowThreads(__tstate);
16142 if (PyErr_Occurred()) SWIG_fail;
16143 }
16144 {
16145 resultobj = wxPyMake_wxObject(result);
16146 }
16147 return resultobj;
16148 fail:
16149 return NULL;
16150 }
16151
16152
16153 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16154 PyObject *resultobj;
16155 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16156 size_t arg2 ;
16157 wxToolBarToolBase *result;
16158 PyObject * obj0 = 0 ;
16159 PyObject * obj1 = 0 ;
16160 char *kwnames[] = {
16161 (char *) "self",(char *) "pos", NULL
16162 };
16163
16164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
16165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16167 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16168 if (PyErr_Occurred()) SWIG_fail;
16169 {
16170 PyThreadState* __tstate = wxPyBeginAllowThreads();
16171 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
16172
16173 wxPyEndAllowThreads(__tstate);
16174 if (PyErr_Occurred()) SWIG_fail;
16175 }
16176 {
16177 resultobj = wxPyMake_wxObject(result);
16178 }
16179 return resultobj;
16180 fail:
16181 return NULL;
16182 }
16183
16184
16185 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16186 PyObject *resultobj;
16187 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16188 int arg2 ;
16189 wxToolBarToolBase *result;
16190 PyObject * obj0 = 0 ;
16191 PyObject * obj1 = 0 ;
16192 char *kwnames[] = {
16193 (char *) "self",(char *) "id", NULL
16194 };
16195
16196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
16197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16199 arg2 = (int) SWIG_AsInt(obj1);
16200 if (PyErr_Occurred()) SWIG_fail;
16201 {
16202 PyThreadState* __tstate = wxPyBeginAllowThreads();
16203 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
16204
16205 wxPyEndAllowThreads(__tstate);
16206 if (PyErr_Occurred()) SWIG_fail;
16207 }
16208 {
16209 resultobj = wxPyMake_wxObject(result);
16210 }
16211 return resultobj;
16212 fail:
16213 return NULL;
16214 }
16215
16216
16217 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16218 PyObject *resultobj;
16219 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16220 size_t arg2 ;
16221 bool result;
16222 PyObject * obj0 = 0 ;
16223 PyObject * obj1 = 0 ;
16224 char *kwnames[] = {
16225 (char *) "self",(char *) "pos", NULL
16226 };
16227
16228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
16229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16231 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16232 if (PyErr_Occurred()) SWIG_fail;
16233 {
16234 PyThreadState* __tstate = wxPyBeginAllowThreads();
16235 result = (bool)(arg1)->DeleteToolByPos(arg2);
16236
16237 wxPyEndAllowThreads(__tstate);
16238 if (PyErr_Occurred()) SWIG_fail;
16239 }
16240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16241 return resultobj;
16242 fail:
16243 return NULL;
16244 }
16245
16246
16247 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16248 PyObject *resultobj;
16249 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16250 int arg2 ;
16251 bool result;
16252 PyObject * obj0 = 0 ;
16253 PyObject * obj1 = 0 ;
16254 char *kwnames[] = {
16255 (char *) "self",(char *) "id", NULL
16256 };
16257
16258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
16259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16261 arg2 = (int) SWIG_AsInt(obj1);
16262 if (PyErr_Occurred()) SWIG_fail;
16263 {
16264 PyThreadState* __tstate = wxPyBeginAllowThreads();
16265 result = (bool)(arg1)->DeleteTool(arg2);
16266
16267 wxPyEndAllowThreads(__tstate);
16268 if (PyErr_Occurred()) SWIG_fail;
16269 }
16270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16271 return resultobj;
16272 fail:
16273 return NULL;
16274 }
16275
16276
16277 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
16278 PyObject *resultobj;
16279 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16280 PyObject * obj0 = 0 ;
16281 char *kwnames[] = {
16282 (char *) "self", NULL
16283 };
16284
16285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
16286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16288 {
16289 PyThreadState* __tstate = wxPyBeginAllowThreads();
16290 (arg1)->ClearTools();
16291
16292 wxPyEndAllowThreads(__tstate);
16293 if (PyErr_Occurred()) SWIG_fail;
16294 }
16295 Py_INCREF(Py_None); resultobj = Py_None;
16296 return resultobj;
16297 fail:
16298 return NULL;
16299 }
16300
16301
16302 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
16303 PyObject *resultobj;
16304 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16305 bool result;
16306 PyObject * obj0 = 0 ;
16307 char *kwnames[] = {
16308 (char *) "self", NULL
16309 };
16310
16311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
16312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16314 {
16315 PyThreadState* __tstate = wxPyBeginAllowThreads();
16316 result = (bool)(arg1)->Realize();
16317
16318 wxPyEndAllowThreads(__tstate);
16319 if (PyErr_Occurred()) SWIG_fail;
16320 }
16321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16322 return resultobj;
16323 fail:
16324 return NULL;
16325 }
16326
16327
16328 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16329 PyObject *resultobj;
16330 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16331 int arg2 ;
16332 bool arg3 ;
16333 PyObject * obj0 = 0 ;
16334 PyObject * obj1 = 0 ;
16335 PyObject * obj2 = 0 ;
16336 char *kwnames[] = {
16337 (char *) "self",(char *) "id",(char *) "enable", NULL
16338 };
16339
16340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16343 arg2 = (int) SWIG_AsInt(obj1);
16344 if (PyErr_Occurred()) SWIG_fail;
16345 arg3 = (bool) SWIG_AsBool(obj2);
16346 if (PyErr_Occurred()) SWIG_fail;
16347 {
16348 PyThreadState* __tstate = wxPyBeginAllowThreads();
16349 (arg1)->EnableTool(arg2,arg3);
16350
16351 wxPyEndAllowThreads(__tstate);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 }
16354 Py_INCREF(Py_None); resultobj = Py_None;
16355 return resultobj;
16356 fail:
16357 return NULL;
16358 }
16359
16360
16361 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16362 PyObject *resultobj;
16363 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16364 int arg2 ;
16365 bool arg3 ;
16366 PyObject * obj0 = 0 ;
16367 PyObject * obj1 = 0 ;
16368 PyObject * obj2 = 0 ;
16369 char *kwnames[] = {
16370 (char *) "self",(char *) "id",(char *) "toggle", NULL
16371 };
16372
16373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16376 arg2 = (int) SWIG_AsInt(obj1);
16377 if (PyErr_Occurred()) SWIG_fail;
16378 arg3 = (bool) SWIG_AsBool(obj2);
16379 if (PyErr_Occurred()) SWIG_fail;
16380 {
16381 PyThreadState* __tstate = wxPyBeginAllowThreads();
16382 (arg1)->ToggleTool(arg2,arg3);
16383
16384 wxPyEndAllowThreads(__tstate);
16385 if (PyErr_Occurred()) SWIG_fail;
16386 }
16387 Py_INCREF(Py_None); resultobj = Py_None;
16388 return resultobj;
16389 fail:
16390 return NULL;
16391 }
16392
16393
16394 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16395 PyObject *resultobj;
16396 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16397 int arg2 ;
16398 bool arg3 ;
16399 PyObject * obj0 = 0 ;
16400 PyObject * obj1 = 0 ;
16401 PyObject * obj2 = 0 ;
16402 char *kwnames[] = {
16403 (char *) "self",(char *) "id",(char *) "toggle", NULL
16404 };
16405
16406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
16407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16409 arg2 = (int) SWIG_AsInt(obj1);
16410 if (PyErr_Occurred()) SWIG_fail;
16411 arg3 = (bool) SWIG_AsBool(obj2);
16412 if (PyErr_Occurred()) SWIG_fail;
16413 {
16414 PyThreadState* __tstate = wxPyBeginAllowThreads();
16415 (arg1)->SetToggle(arg2,arg3);
16416
16417 wxPyEndAllowThreads(__tstate);
16418 if (PyErr_Occurred()) SWIG_fail;
16419 }
16420 Py_INCREF(Py_None); resultobj = Py_None;
16421 return resultobj;
16422 fail:
16423 return NULL;
16424 }
16425
16426
16427 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16428 PyObject *resultobj;
16429 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16430 int arg2 ;
16431 PyObject *result;
16432 PyObject * obj0 = 0 ;
16433 PyObject * obj1 = 0 ;
16434 char *kwnames[] = {
16435 (char *) "self",(char *) "id", NULL
16436 };
16437
16438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
16439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16441 arg2 = (int) SWIG_AsInt(obj1);
16442 if (PyErr_Occurred()) SWIG_fail;
16443 {
16444 PyThreadState* __tstate = wxPyBeginAllowThreads();
16445 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16446
16447 wxPyEndAllowThreads(__tstate);
16448 if (PyErr_Occurred()) SWIG_fail;
16449 }
16450 resultobj = result;
16451 return resultobj;
16452 fail:
16453 return NULL;
16454 }
16455
16456
16457 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16458 PyObject *resultobj;
16459 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16460 int arg2 ;
16461 PyObject *arg3 = (PyObject *) 0 ;
16462 PyObject * obj0 = 0 ;
16463 PyObject * obj1 = 0 ;
16464 PyObject * obj2 = 0 ;
16465 char *kwnames[] = {
16466 (char *) "self",(char *) "id",(char *) "clientData", NULL
16467 };
16468
16469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
16470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16472 arg2 = (int) SWIG_AsInt(obj1);
16473 if (PyErr_Occurred()) SWIG_fail;
16474 arg3 = obj2;
16475 {
16476 PyThreadState* __tstate = wxPyBeginAllowThreads();
16477 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16478
16479 wxPyEndAllowThreads(__tstate);
16480 if (PyErr_Occurred()) SWIG_fail;
16481 }
16482 Py_INCREF(Py_None); resultobj = Py_None;
16483 return resultobj;
16484 fail:
16485 return NULL;
16486 }
16487
16488
16489 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16490 PyObject *resultobj;
16491 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16492 int arg2 ;
16493 int result;
16494 PyObject * obj0 = 0 ;
16495 PyObject * obj1 = 0 ;
16496 char *kwnames[] = {
16497 (char *) "self",(char *) "id", NULL
16498 };
16499
16500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
16501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16503 arg2 = (int) SWIG_AsInt(obj1);
16504 if (PyErr_Occurred()) SWIG_fail;
16505 {
16506 PyThreadState* __tstate = wxPyBeginAllowThreads();
16507 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16508
16509 wxPyEndAllowThreads(__tstate);
16510 if (PyErr_Occurred()) SWIG_fail;
16511 }
16512 resultobj = SWIG_FromInt((int)result);
16513 return resultobj;
16514 fail:
16515 return NULL;
16516 }
16517
16518
16519 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
16520 PyObject *resultobj;
16521 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16522 int arg2 ;
16523 bool result;
16524 PyObject * obj0 = 0 ;
16525 PyObject * obj1 = 0 ;
16526 char *kwnames[] = {
16527 (char *) "self",(char *) "id", NULL
16528 };
16529
16530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
16531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16533 arg2 = (int) SWIG_AsInt(obj1);
16534 if (PyErr_Occurred()) SWIG_fail;
16535 {
16536 PyThreadState* __tstate = wxPyBeginAllowThreads();
16537 result = (bool)(arg1)->GetToolState(arg2);
16538
16539 wxPyEndAllowThreads(__tstate);
16540 if (PyErr_Occurred()) SWIG_fail;
16541 }
16542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16543 return resultobj;
16544 fail:
16545 return NULL;
16546 }
16547
16548
16549 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16550 PyObject *resultobj;
16551 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16552 int arg2 ;
16553 bool result;
16554 PyObject * obj0 = 0 ;
16555 PyObject * obj1 = 0 ;
16556 char *kwnames[] = {
16557 (char *) "self",(char *) "id", NULL
16558 };
16559
16560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
16561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16563 arg2 = (int) SWIG_AsInt(obj1);
16564 if (PyErr_Occurred()) SWIG_fail;
16565 {
16566 PyThreadState* __tstate = wxPyBeginAllowThreads();
16567 result = (bool)(arg1)->GetToolEnabled(arg2);
16568
16569 wxPyEndAllowThreads(__tstate);
16570 if (PyErr_Occurred()) SWIG_fail;
16571 }
16572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16573 return resultobj;
16574 fail:
16575 return NULL;
16576 }
16577
16578
16579 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16580 PyObject *resultobj;
16581 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16582 int arg2 ;
16583 wxString *arg3 = 0 ;
16584 bool temp3 = False ;
16585 PyObject * obj0 = 0 ;
16586 PyObject * obj1 = 0 ;
16587 PyObject * obj2 = 0 ;
16588 char *kwnames[] = {
16589 (char *) "self",(char *) "id",(char *) "helpString", NULL
16590 };
16591
16592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16595 arg2 = (int) SWIG_AsInt(obj1);
16596 if (PyErr_Occurred()) SWIG_fail;
16597 {
16598 arg3 = wxString_in_helper(obj2);
16599 if (arg3 == NULL) SWIG_fail;
16600 temp3 = True;
16601 }
16602 {
16603 PyThreadState* __tstate = wxPyBeginAllowThreads();
16604 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16605
16606 wxPyEndAllowThreads(__tstate);
16607 if (PyErr_Occurred()) SWIG_fail;
16608 }
16609 Py_INCREF(Py_None); resultobj = Py_None;
16610 {
16611 if (temp3)
16612 delete arg3;
16613 }
16614 return resultobj;
16615 fail:
16616 {
16617 if (temp3)
16618 delete arg3;
16619 }
16620 return NULL;
16621 }
16622
16623
16624 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16625 PyObject *resultobj;
16626 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16627 int arg2 ;
16628 wxString result;
16629 PyObject * obj0 = 0 ;
16630 PyObject * obj1 = 0 ;
16631 char *kwnames[] = {
16632 (char *) "self",(char *) "id", NULL
16633 };
16634
16635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
16636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16638 arg2 = (int) SWIG_AsInt(obj1);
16639 if (PyErr_Occurred()) SWIG_fail;
16640 {
16641 PyThreadState* __tstate = wxPyBeginAllowThreads();
16642 result = (arg1)->GetToolShortHelp(arg2);
16643
16644 wxPyEndAllowThreads(__tstate);
16645 if (PyErr_Occurred()) SWIG_fail;
16646 }
16647 {
16648 #if wxUSE_UNICODE
16649 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16650 #else
16651 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16652 #endif
16653 }
16654 return resultobj;
16655 fail:
16656 return NULL;
16657 }
16658
16659
16660 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16661 PyObject *resultobj;
16662 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16663 int arg2 ;
16664 wxString *arg3 = 0 ;
16665 bool temp3 = False ;
16666 PyObject * obj0 = 0 ;
16667 PyObject * obj1 = 0 ;
16668 PyObject * obj2 = 0 ;
16669 char *kwnames[] = {
16670 (char *) "self",(char *) "id",(char *) "helpString", NULL
16671 };
16672
16673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16676 arg2 = (int) SWIG_AsInt(obj1);
16677 if (PyErr_Occurred()) SWIG_fail;
16678 {
16679 arg3 = wxString_in_helper(obj2);
16680 if (arg3 == NULL) SWIG_fail;
16681 temp3 = True;
16682 }
16683 {
16684 PyThreadState* __tstate = wxPyBeginAllowThreads();
16685 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16686
16687 wxPyEndAllowThreads(__tstate);
16688 if (PyErr_Occurred()) SWIG_fail;
16689 }
16690 Py_INCREF(Py_None); resultobj = Py_None;
16691 {
16692 if (temp3)
16693 delete arg3;
16694 }
16695 return resultobj;
16696 fail:
16697 {
16698 if (temp3)
16699 delete arg3;
16700 }
16701 return NULL;
16702 }
16703
16704
16705 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16706 PyObject *resultobj;
16707 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16708 int arg2 ;
16709 wxString result;
16710 PyObject * obj0 = 0 ;
16711 PyObject * obj1 = 0 ;
16712 char *kwnames[] = {
16713 (char *) "self",(char *) "id", NULL
16714 };
16715
16716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
16717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16719 arg2 = (int) SWIG_AsInt(obj1);
16720 if (PyErr_Occurred()) SWIG_fail;
16721 {
16722 PyThreadState* __tstate = wxPyBeginAllowThreads();
16723 result = (arg1)->GetToolLongHelp(arg2);
16724
16725 wxPyEndAllowThreads(__tstate);
16726 if (PyErr_Occurred()) SWIG_fail;
16727 }
16728 {
16729 #if wxUSE_UNICODE
16730 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16731 #else
16732 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16733 #endif
16734 }
16735 return resultobj;
16736 fail:
16737 return NULL;
16738 }
16739
16740
16741 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
16742 PyObject *resultobj;
16743 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16744 int arg2 ;
16745 int arg3 ;
16746 PyObject * obj0 = 0 ;
16747 PyObject * obj1 = 0 ;
16748 PyObject * obj2 = 0 ;
16749 char *kwnames[] = {
16750 (char *) "self",(char *) "x",(char *) "y", NULL
16751 };
16752
16753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
16754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16756 arg2 = (int) SWIG_AsInt(obj1);
16757 if (PyErr_Occurred()) SWIG_fail;
16758 arg3 = (int) SWIG_AsInt(obj2);
16759 if (PyErr_Occurred()) SWIG_fail;
16760 {
16761 PyThreadState* __tstate = wxPyBeginAllowThreads();
16762 (arg1)->SetMargins(arg2,arg3);
16763
16764 wxPyEndAllowThreads(__tstate);
16765 if (PyErr_Occurred()) SWIG_fail;
16766 }
16767 Py_INCREF(Py_None); resultobj = Py_None;
16768 return resultobj;
16769 fail:
16770 return NULL;
16771 }
16772
16773
16774 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16775 PyObject *resultobj;
16776 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16777 wxSize *arg2 = 0 ;
16778 wxSize temp2 ;
16779 PyObject * obj0 = 0 ;
16780 PyObject * obj1 = 0 ;
16781 char *kwnames[] = {
16782 (char *) "self",(char *) "size", NULL
16783 };
16784
16785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
16786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16788 {
16789 arg2 = &temp2;
16790 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16791 }
16792 {
16793 PyThreadState* __tstate = wxPyBeginAllowThreads();
16794 (arg1)->SetMargins((wxSize const &)*arg2);
16795
16796 wxPyEndAllowThreads(__tstate);
16797 if (PyErr_Occurred()) SWIG_fail;
16798 }
16799 Py_INCREF(Py_None); resultobj = Py_None;
16800 return resultobj;
16801 fail:
16802 return NULL;
16803 }
16804
16805
16806 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16807 PyObject *resultobj;
16808 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16809 int arg2 ;
16810 PyObject * obj0 = 0 ;
16811 PyObject * obj1 = 0 ;
16812 char *kwnames[] = {
16813 (char *) "self",(char *) "packing", NULL
16814 };
16815
16816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
16817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16819 arg2 = (int) SWIG_AsInt(obj1);
16820 if (PyErr_Occurred()) SWIG_fail;
16821 {
16822 PyThreadState* __tstate = wxPyBeginAllowThreads();
16823 (arg1)->SetToolPacking(arg2);
16824
16825 wxPyEndAllowThreads(__tstate);
16826 if (PyErr_Occurred()) SWIG_fail;
16827 }
16828 Py_INCREF(Py_None); resultobj = Py_None;
16829 return resultobj;
16830 fail:
16831 return NULL;
16832 }
16833
16834
16835 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
16836 PyObject *resultobj;
16837 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16838 int arg2 ;
16839 PyObject * obj0 = 0 ;
16840 PyObject * obj1 = 0 ;
16841 char *kwnames[] = {
16842 (char *) "self",(char *) "separation", NULL
16843 };
16844
16845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
16846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16848 arg2 = (int) SWIG_AsInt(obj1);
16849 if (PyErr_Occurred()) SWIG_fail;
16850 {
16851 PyThreadState* __tstate = wxPyBeginAllowThreads();
16852 (arg1)->SetToolSeparation(arg2);
16853
16854 wxPyEndAllowThreads(__tstate);
16855 if (PyErr_Occurred()) SWIG_fail;
16856 }
16857 Py_INCREF(Py_None); resultobj = Py_None;
16858 return resultobj;
16859 fail:
16860 return NULL;
16861 }
16862
16863
16864 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16865 PyObject *resultobj;
16866 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16867 wxSize result;
16868 PyObject * obj0 = 0 ;
16869 char *kwnames[] = {
16870 (char *) "self", NULL
16871 };
16872
16873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
16874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16876 {
16877 PyThreadState* __tstate = wxPyBeginAllowThreads();
16878 result = (arg1)->GetToolMargins();
16879
16880 wxPyEndAllowThreads(__tstate);
16881 if (PyErr_Occurred()) SWIG_fail;
16882 }
16883 {
16884 wxSize * resultptr;
16885 resultptr = new wxSize((wxSize &) result);
16886 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16887 }
16888 return resultobj;
16889 fail:
16890 return NULL;
16891 }
16892
16893
16894 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16895 PyObject *resultobj;
16896 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16897 wxSize result;
16898 PyObject * obj0 = 0 ;
16899 char *kwnames[] = {
16900 (char *) "self", NULL
16901 };
16902
16903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
16904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16906 {
16907 PyThreadState* __tstate = wxPyBeginAllowThreads();
16908 result = (arg1)->GetMargins();
16909
16910 wxPyEndAllowThreads(__tstate);
16911 if (PyErr_Occurred()) SWIG_fail;
16912 }
16913 {
16914 wxSize * resultptr;
16915 resultptr = new wxSize((wxSize &) result);
16916 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16917 }
16918 return resultobj;
16919 fail:
16920 return NULL;
16921 }
16922
16923
16924 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16925 PyObject *resultobj;
16926 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16927 int result;
16928 PyObject * obj0 = 0 ;
16929 char *kwnames[] = {
16930 (char *) "self", NULL
16931 };
16932
16933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
16934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16936 {
16937 PyThreadState* __tstate = wxPyBeginAllowThreads();
16938 result = (int)(arg1)->GetToolPacking();
16939
16940 wxPyEndAllowThreads(__tstate);
16941 if (PyErr_Occurred()) SWIG_fail;
16942 }
16943 resultobj = SWIG_FromInt((int)result);
16944 return resultobj;
16945 fail:
16946 return NULL;
16947 }
16948
16949
16950 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
16951 PyObject *resultobj;
16952 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16953 int result;
16954 PyObject * obj0 = 0 ;
16955 char *kwnames[] = {
16956 (char *) "self", NULL
16957 };
16958
16959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
16960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16962 {
16963 PyThreadState* __tstate = wxPyBeginAllowThreads();
16964 result = (int)(arg1)->GetToolSeparation();
16965
16966 wxPyEndAllowThreads(__tstate);
16967 if (PyErr_Occurred()) SWIG_fail;
16968 }
16969 resultobj = SWIG_FromInt((int)result);
16970 return resultobj;
16971 fail:
16972 return NULL;
16973 }
16974
16975
16976 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
16977 PyObject *resultobj;
16978 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16979 int arg2 ;
16980 PyObject * obj0 = 0 ;
16981 PyObject * obj1 = 0 ;
16982 char *kwnames[] = {
16983 (char *) "self",(char *) "nRows", NULL
16984 };
16985
16986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
16987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16989 arg2 = (int) SWIG_AsInt(obj1);
16990 if (PyErr_Occurred()) SWIG_fail;
16991 {
16992 PyThreadState* __tstate = wxPyBeginAllowThreads();
16993 (arg1)->SetRows(arg2);
16994
16995 wxPyEndAllowThreads(__tstate);
16996 if (PyErr_Occurred()) SWIG_fail;
16997 }
16998 Py_INCREF(Py_None); resultobj = Py_None;
16999 return resultobj;
17000 fail:
17001 return NULL;
17002 }
17003
17004
17005 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17006 PyObject *resultobj;
17007 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17008 int arg2 ;
17009 int arg3 ;
17010 PyObject * obj0 = 0 ;
17011 PyObject * obj1 = 0 ;
17012 PyObject * obj2 = 0 ;
17013 char *kwnames[] = {
17014 (char *) "self",(char *) "rows",(char *) "cols", NULL
17015 };
17016
17017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
17018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17020 arg2 = (int) SWIG_AsInt(obj1);
17021 if (PyErr_Occurred()) SWIG_fail;
17022 arg3 = (int) SWIG_AsInt(obj2);
17023 if (PyErr_Occurred()) SWIG_fail;
17024 {
17025 PyThreadState* __tstate = wxPyBeginAllowThreads();
17026 (arg1)->SetMaxRowsCols(arg2,arg3);
17027
17028 wxPyEndAllowThreads(__tstate);
17029 if (PyErr_Occurred()) SWIG_fail;
17030 }
17031 Py_INCREF(Py_None); resultobj = Py_None;
17032 return resultobj;
17033 fail:
17034 return NULL;
17035 }
17036
17037
17038 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
17039 PyObject *resultobj;
17040 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17041 int result;
17042 PyObject * obj0 = 0 ;
17043 char *kwnames[] = {
17044 (char *) "self", NULL
17045 };
17046
17047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
17048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17050 {
17051 PyThreadState* __tstate = wxPyBeginAllowThreads();
17052 result = (int)(arg1)->GetMaxRows();
17053
17054 wxPyEndAllowThreads(__tstate);
17055 if (PyErr_Occurred()) SWIG_fail;
17056 }
17057 resultobj = SWIG_FromInt((int)result);
17058 return resultobj;
17059 fail:
17060 return NULL;
17061 }
17062
17063
17064 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17065 PyObject *resultobj;
17066 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17067 int result;
17068 PyObject * obj0 = 0 ;
17069 char *kwnames[] = {
17070 (char *) "self", NULL
17071 };
17072
17073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
17074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17076 {
17077 PyThreadState* __tstate = wxPyBeginAllowThreads();
17078 result = (int)(arg1)->GetMaxCols();
17079
17080 wxPyEndAllowThreads(__tstate);
17081 if (PyErr_Occurred()) SWIG_fail;
17082 }
17083 resultobj = SWIG_FromInt((int)result);
17084 return resultobj;
17085 fail:
17086 return NULL;
17087 }
17088
17089
17090 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17091 PyObject *resultobj;
17092 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17093 wxSize *arg2 = 0 ;
17094 wxSize temp2 ;
17095 PyObject * obj0 = 0 ;
17096 PyObject * obj1 = 0 ;
17097 char *kwnames[] = {
17098 (char *) "self",(char *) "size", NULL
17099 };
17100
17101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
17102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17104 {
17105 arg2 = &temp2;
17106 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17107 }
17108 {
17109 PyThreadState* __tstate = wxPyBeginAllowThreads();
17110 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
17111
17112 wxPyEndAllowThreads(__tstate);
17113 if (PyErr_Occurred()) SWIG_fail;
17114 }
17115 Py_INCREF(Py_None); resultobj = Py_None;
17116 return resultobj;
17117 fail:
17118 return NULL;
17119 }
17120
17121
17122 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17123 PyObject *resultobj;
17124 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17125 wxSize result;
17126 PyObject * obj0 = 0 ;
17127 char *kwnames[] = {
17128 (char *) "self", NULL
17129 };
17130
17131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
17132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17134 {
17135 PyThreadState* __tstate = wxPyBeginAllowThreads();
17136 result = (arg1)->GetToolBitmapSize();
17137
17138 wxPyEndAllowThreads(__tstate);
17139 if (PyErr_Occurred()) SWIG_fail;
17140 }
17141 {
17142 wxSize * resultptr;
17143 resultptr = new wxSize((wxSize &) result);
17144 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17145 }
17146 return resultobj;
17147 fail:
17148 return NULL;
17149 }
17150
17151
17152 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17153 PyObject *resultobj;
17154 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17155 wxSize result;
17156 PyObject * obj0 = 0 ;
17157 char *kwnames[] = {
17158 (char *) "self", NULL
17159 };
17160
17161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
17162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17164 {
17165 PyThreadState* __tstate = wxPyBeginAllowThreads();
17166 result = (arg1)->GetToolSize();
17167
17168 wxPyEndAllowThreads(__tstate);
17169 if (PyErr_Occurred()) SWIG_fail;
17170 }
17171 {
17172 wxSize * resultptr;
17173 resultptr = new wxSize((wxSize &) result);
17174 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17175 }
17176 return resultobj;
17177 fail:
17178 return NULL;
17179 }
17180
17181
17182 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17183 PyObject *resultobj;
17184 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17185 int arg2 ;
17186 int arg3 ;
17187 wxToolBarToolBase *result;
17188 PyObject * obj0 = 0 ;
17189 PyObject * obj1 = 0 ;
17190 PyObject * obj2 = 0 ;
17191 char *kwnames[] = {
17192 (char *) "self",(char *) "x",(char *) "y", NULL
17193 };
17194
17195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17198 arg2 = (int) SWIG_AsInt(obj1);
17199 if (PyErr_Occurred()) SWIG_fail;
17200 arg3 = (int) SWIG_AsInt(obj2);
17201 if (PyErr_Occurred()) SWIG_fail;
17202 {
17203 PyThreadState* __tstate = wxPyBeginAllowThreads();
17204 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17205
17206 wxPyEndAllowThreads(__tstate);
17207 if (PyErr_Occurred()) SWIG_fail;
17208 }
17209 {
17210 resultobj = wxPyMake_wxObject(result);
17211 }
17212 return resultobj;
17213 fail:
17214 return NULL;
17215 }
17216
17217
17218 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
17219 PyObject *resultobj;
17220 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17221 int arg2 ;
17222 wxToolBarToolBase *result;
17223 PyObject * obj0 = 0 ;
17224 PyObject * obj1 = 0 ;
17225 char *kwnames[] = {
17226 (char *) "self",(char *) "toolid", NULL
17227 };
17228
17229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
17230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17232 arg2 = (int) SWIG_AsInt(obj1);
17233 if (PyErr_Occurred()) SWIG_fail;
17234 {
17235 PyThreadState* __tstate = wxPyBeginAllowThreads();
17236 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
17237
17238 wxPyEndAllowThreads(__tstate);
17239 if (PyErr_Occurred()) SWIG_fail;
17240 }
17241 {
17242 resultobj = wxPyMake_wxObject(result);
17243 }
17244 return resultobj;
17245 fail:
17246 return NULL;
17247 }
17248
17249
17250 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
17251 PyObject *resultobj;
17252 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17253 bool result;
17254 PyObject * obj0 = 0 ;
17255 char *kwnames[] = {
17256 (char *) "self", NULL
17257 };
17258
17259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
17260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17262 {
17263 PyThreadState* __tstate = wxPyBeginAllowThreads();
17264 result = (bool)(arg1)->IsVertical();
17265
17266 wxPyEndAllowThreads(__tstate);
17267 if (PyErr_Occurred()) SWIG_fail;
17268 }
17269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17270 return resultobj;
17271 fail:
17272 return NULL;
17273 }
17274
17275
17276 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
17277 PyObject *obj;
17278 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17279 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
17280 Py_INCREF(obj);
17281 return Py_BuildValue((char *)"");
17282 }
17283 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17284 PyObject *resultobj;
17285 wxWindow *arg1 = (wxWindow *) 0 ;
17286 int arg2 ;
17287 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17288 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17289 wxSize const &arg4_defvalue = wxDefaultSize ;
17290 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17291 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17292 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
17293 wxString *arg6 = (wxString *) &arg6_defvalue ;
17294 wxToolBar *result;
17295 wxPoint temp3 ;
17296 wxSize temp4 ;
17297 bool temp6 = False ;
17298 PyObject * obj0 = 0 ;
17299 PyObject * obj1 = 0 ;
17300 PyObject * obj2 = 0 ;
17301 PyObject * obj3 = 0 ;
17302 PyObject * obj4 = 0 ;
17303 PyObject * obj5 = 0 ;
17304 char *kwnames[] = {
17305 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17306 };
17307
17308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17311 arg2 = (int) SWIG_AsInt(obj1);
17312 if (PyErr_Occurred()) SWIG_fail;
17313 if (obj2) {
17314 {
17315 arg3 = &temp3;
17316 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17317 }
17318 }
17319 if (obj3) {
17320 {
17321 arg4 = &temp4;
17322 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17323 }
17324 }
17325 if (obj4) {
17326 arg5 = (long) SWIG_AsLong(obj4);
17327 if (PyErr_Occurred()) SWIG_fail;
17328 }
17329 if (obj5) {
17330 {
17331 arg6 = wxString_in_helper(obj5);
17332 if (arg6 == NULL) SWIG_fail;
17333 temp6 = True;
17334 }
17335 }
17336 {
17337 PyThreadState* __tstate = wxPyBeginAllowThreads();
17338 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17339
17340 wxPyEndAllowThreads(__tstate);
17341 if (PyErr_Occurred()) SWIG_fail;
17342 }
17343 {
17344 resultobj = wxPyMake_wxObject(result);
17345 }
17346 {
17347 if (temp6)
17348 delete arg6;
17349 }
17350 return resultobj;
17351 fail:
17352 {
17353 if (temp6)
17354 delete arg6;
17355 }
17356 return NULL;
17357 }
17358
17359
17360 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17361 PyObject *resultobj;
17362 wxToolBar *result;
17363 char *kwnames[] = {
17364 NULL
17365 };
17366
17367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
17368 {
17369 PyThreadState* __tstate = wxPyBeginAllowThreads();
17370 result = (wxToolBar *)new wxToolBar();
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_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17385 PyObject *resultobj;
17386 wxToolBar *arg1 = (wxToolBar *) 0 ;
17387 wxWindow *arg2 = (wxWindow *) 0 ;
17388 int arg3 ;
17389 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17390 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17391 wxSize const &arg5_defvalue = wxDefaultSize ;
17392 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17393 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17394 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17395 wxString *arg7 = (wxString *) &arg7_defvalue ;
17396 bool result;
17397 wxPoint temp4 ;
17398 wxSize temp5 ;
17399 bool temp7 = False ;
17400 PyObject * obj0 = 0 ;
17401 PyObject * obj1 = 0 ;
17402 PyObject * obj2 = 0 ;
17403 PyObject * obj3 = 0 ;
17404 PyObject * obj4 = 0 ;
17405 PyObject * obj5 = 0 ;
17406 PyObject * obj6 = 0 ;
17407 char *kwnames[] = {
17408 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17409 };
17410
17411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17414 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17416 arg3 = (int) SWIG_AsInt(obj2);
17417 if (PyErr_Occurred()) SWIG_fail;
17418 if (obj3) {
17419 {
17420 arg4 = &temp4;
17421 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17422 }
17423 }
17424 if (obj4) {
17425 {
17426 arg5 = &temp5;
17427 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17428 }
17429 }
17430 if (obj5) {
17431 arg6 = (long) SWIG_AsLong(obj5);
17432 if (PyErr_Occurred()) SWIG_fail;
17433 }
17434 if (obj6) {
17435 {
17436 arg7 = wxString_in_helper(obj6);
17437 if (arg7 == NULL) SWIG_fail;
17438 temp7 = True;
17439 }
17440 }
17441 {
17442 PyThreadState* __tstate = wxPyBeginAllowThreads();
17443 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17444
17445 wxPyEndAllowThreads(__tstate);
17446 if (PyErr_Occurred()) SWIG_fail;
17447 }
17448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17449 {
17450 if (temp7)
17451 delete arg7;
17452 }
17453 return resultobj;
17454 fail:
17455 {
17456 if (temp7)
17457 delete arg7;
17458 }
17459 return NULL;
17460 }
17461
17462
17463 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17464 PyObject *resultobj;
17465 wxToolBar *arg1 = (wxToolBar *) 0 ;
17466 int arg2 ;
17467 int arg3 ;
17468 wxToolBarToolBase *result;
17469 PyObject * obj0 = 0 ;
17470 PyObject * obj1 = 0 ;
17471 PyObject * obj2 = 0 ;
17472 char *kwnames[] = {
17473 (char *) "self",(char *) "x",(char *) "y", NULL
17474 };
17475
17476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17479 arg2 = (int) SWIG_AsInt(obj1);
17480 if (PyErr_Occurred()) SWIG_fail;
17481 arg3 = (int) SWIG_AsInt(obj2);
17482 if (PyErr_Occurred()) SWIG_fail;
17483 {
17484 PyThreadState* __tstate = wxPyBeginAllowThreads();
17485 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17486
17487 wxPyEndAllowThreads(__tstate);
17488 if (PyErr_Occurred()) SWIG_fail;
17489 }
17490 {
17491 resultobj = wxPyMake_wxObject(result);
17492 }
17493 return resultobj;
17494 fail:
17495 return NULL;
17496 }
17497
17498
17499 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
17500 PyObject *obj;
17501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17502 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17503 Py_INCREF(obj);
17504 return Py_BuildValue((char *)"");
17505 }
17506 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
17507 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17508 return 1;
17509 }
17510
17511
17512 static PyObject *_wrap_ListCtrlNameStr_get() {
17513 PyObject *pyobj;
17514
17515 {
17516 #if wxUSE_UNICODE
17517 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17518 #else
17519 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17520 #endif
17521 }
17522 return pyobj;
17523 }
17524
17525
17526 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
17527 PyObject *resultobj;
17528 wxColour const &arg1_defvalue = wxNullColour ;
17529 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17530 wxColour const &arg2_defvalue = wxNullColour ;
17531 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17532 wxFont const &arg3_defvalue = wxNullFont ;
17533 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17534 wxListItemAttr *result;
17535 wxColour temp1 ;
17536 wxColour temp2 ;
17537 PyObject * obj0 = 0 ;
17538 PyObject * obj1 = 0 ;
17539 PyObject * obj2 = 0 ;
17540 char *kwnames[] = {
17541 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17542 };
17543
17544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17545 if (obj0) {
17546 {
17547 arg1 = &temp1;
17548 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17549 }
17550 }
17551 if (obj1) {
17552 {
17553 arg2 = &temp2;
17554 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17555 }
17556 }
17557 if (obj2) {
17558 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
17559 SWIG_POINTER_EXCEPTION | 0)) == -1)
17560 SWIG_fail;
17561 if (arg3 == NULL) {
17562 PyErr_SetString(PyExc_TypeError,"null reference");
17563 SWIG_fail;
17564 }
17565 }
17566 {
17567 PyThreadState* __tstate = wxPyBeginAllowThreads();
17568 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17569
17570 wxPyEndAllowThreads(__tstate);
17571 if (PyErr_Occurred()) SWIG_fail;
17572 }
17573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
17574 return resultobj;
17575 fail:
17576 return NULL;
17577 }
17578
17579
17580 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17581 PyObject *resultobj;
17582 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17583 wxColour *arg2 = 0 ;
17584 wxColour temp2 ;
17585 PyObject * obj0 = 0 ;
17586 PyObject * obj1 = 0 ;
17587 char *kwnames[] = {
17588 (char *) "self",(char *) "colText", NULL
17589 };
17590
17591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17594 {
17595 arg2 = &temp2;
17596 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17597 }
17598 {
17599 PyThreadState* __tstate = wxPyBeginAllowThreads();
17600 (arg1)->SetTextColour((wxColour const &)*arg2);
17601
17602 wxPyEndAllowThreads(__tstate);
17603 if (PyErr_Occurred()) SWIG_fail;
17604 }
17605 Py_INCREF(Py_None); resultobj = Py_None;
17606 return resultobj;
17607 fail:
17608 return NULL;
17609 }
17610
17611
17612 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17613 PyObject *resultobj;
17614 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17615 wxColour *arg2 = 0 ;
17616 wxColour temp2 ;
17617 PyObject * obj0 = 0 ;
17618 PyObject * obj1 = 0 ;
17619 char *kwnames[] = {
17620 (char *) "self",(char *) "colBack", NULL
17621 };
17622
17623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17626 {
17627 arg2 = &temp2;
17628 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17629 }
17630 {
17631 PyThreadState* __tstate = wxPyBeginAllowThreads();
17632 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17633
17634 wxPyEndAllowThreads(__tstate);
17635 if (PyErr_Occurred()) SWIG_fail;
17636 }
17637 Py_INCREF(Py_None); resultobj = Py_None;
17638 return resultobj;
17639 fail:
17640 return NULL;
17641 }
17642
17643
17644 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17645 PyObject *resultobj;
17646 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17647 wxFont *arg2 = 0 ;
17648 PyObject * obj0 = 0 ;
17649 PyObject * obj1 = 0 ;
17650 char *kwnames[] = {
17651 (char *) "self",(char *) "font", NULL
17652 };
17653
17654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
17655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17657 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17658 SWIG_POINTER_EXCEPTION | 0)) == -1)
17659 SWIG_fail;
17660 if (arg2 == NULL) {
17661 PyErr_SetString(PyExc_TypeError,"null reference");
17662 SWIG_fail;
17663 }
17664 {
17665 PyThreadState* __tstate = wxPyBeginAllowThreads();
17666 (arg1)->SetFont((wxFont const &)*arg2);
17667
17668 wxPyEndAllowThreads(__tstate);
17669 if (PyErr_Occurred()) SWIG_fail;
17670 }
17671 Py_INCREF(Py_None); resultobj = Py_None;
17672 return resultobj;
17673 fail:
17674 return NULL;
17675 }
17676
17677
17678 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17679 PyObject *resultobj;
17680 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17681 bool result;
17682 PyObject * obj0 = 0 ;
17683 char *kwnames[] = {
17684 (char *) "self", NULL
17685 };
17686
17687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
17688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17690 {
17691 PyThreadState* __tstate = wxPyBeginAllowThreads();
17692 result = (bool)(arg1)->HasTextColour();
17693
17694 wxPyEndAllowThreads(__tstate);
17695 if (PyErr_Occurred()) SWIG_fail;
17696 }
17697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17698 return resultobj;
17699 fail:
17700 return NULL;
17701 }
17702
17703
17704 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17705 PyObject *resultobj;
17706 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17707 bool result;
17708 PyObject * obj0 = 0 ;
17709 char *kwnames[] = {
17710 (char *) "self", NULL
17711 };
17712
17713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
17714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17716 {
17717 PyThreadState* __tstate = wxPyBeginAllowThreads();
17718 result = (bool)(arg1)->HasBackgroundColour();
17719
17720 wxPyEndAllowThreads(__tstate);
17721 if (PyErr_Occurred()) SWIG_fail;
17722 }
17723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17724 return resultobj;
17725 fail:
17726 return NULL;
17727 }
17728
17729
17730 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17731 PyObject *resultobj;
17732 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17733 bool result;
17734 PyObject * obj0 = 0 ;
17735 char *kwnames[] = {
17736 (char *) "self", NULL
17737 };
17738
17739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
17740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17742 {
17743 PyThreadState* __tstate = wxPyBeginAllowThreads();
17744 result = (bool)(arg1)->HasFont();
17745
17746 wxPyEndAllowThreads(__tstate);
17747 if (PyErr_Occurred()) SWIG_fail;
17748 }
17749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17750 return resultobj;
17751 fail:
17752 return NULL;
17753 }
17754
17755
17756 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17757 PyObject *resultobj;
17758 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17759 wxColour result;
17760 PyObject * obj0 = 0 ;
17761 char *kwnames[] = {
17762 (char *) "self", NULL
17763 };
17764
17765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
17766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17768 {
17769 PyThreadState* __tstate = wxPyBeginAllowThreads();
17770 result = (arg1)->GetTextColour();
17771
17772 wxPyEndAllowThreads(__tstate);
17773 if (PyErr_Occurred()) SWIG_fail;
17774 }
17775 {
17776 wxColour * resultptr;
17777 resultptr = new wxColour((wxColour &) result);
17778 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17779 }
17780 return resultobj;
17781 fail:
17782 return NULL;
17783 }
17784
17785
17786 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17787 PyObject *resultobj;
17788 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17789 wxColour result;
17790 PyObject * obj0 = 0 ;
17791 char *kwnames[] = {
17792 (char *) "self", NULL
17793 };
17794
17795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
17796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17798 {
17799 PyThreadState* __tstate = wxPyBeginAllowThreads();
17800 result = (arg1)->GetBackgroundColour();
17801
17802 wxPyEndAllowThreads(__tstate);
17803 if (PyErr_Occurred()) SWIG_fail;
17804 }
17805 {
17806 wxColour * resultptr;
17807 resultptr = new wxColour((wxColour &) result);
17808 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17809 }
17810 return resultobj;
17811 fail:
17812 return NULL;
17813 }
17814
17815
17816 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17817 PyObject *resultobj;
17818 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17819 wxFont result;
17820 PyObject * obj0 = 0 ;
17821 char *kwnames[] = {
17822 (char *) "self", NULL
17823 };
17824
17825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
17826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17828 {
17829 PyThreadState* __tstate = wxPyBeginAllowThreads();
17830 result = (arg1)->GetFont();
17831
17832 wxPyEndAllowThreads(__tstate);
17833 if (PyErr_Occurred()) SWIG_fail;
17834 }
17835 {
17836 wxFont * resultptr;
17837 resultptr = new wxFont((wxFont &) result);
17838 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
17839 }
17840 return resultobj;
17841 fail:
17842 return NULL;
17843 }
17844
17845
17846 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
17847 PyObject *resultobj;
17848 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17849 PyObject * obj0 = 0 ;
17850 char *kwnames[] = {
17851 (char *) "self", NULL
17852 };
17853
17854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
17855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17857 {
17858 PyThreadState* __tstate = wxPyBeginAllowThreads();
17859 wxListItemAttr_Destroy(arg1);
17860
17861 wxPyEndAllowThreads(__tstate);
17862 if (PyErr_Occurred()) SWIG_fail;
17863 }
17864 Py_INCREF(Py_None); resultobj = Py_None;
17865 return resultobj;
17866 fail:
17867 return NULL;
17868 }
17869
17870
17871 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
17872 PyObject *obj;
17873 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17874 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
17875 Py_INCREF(obj);
17876 return Py_BuildValue((char *)"");
17877 }
17878 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17879 PyObject *resultobj;
17880 wxListItem *result;
17881 char *kwnames[] = {
17882 NULL
17883 };
17884
17885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
17886 {
17887 PyThreadState* __tstate = wxPyBeginAllowThreads();
17888 result = (wxListItem *)new wxListItem();
17889
17890 wxPyEndAllowThreads(__tstate);
17891 if (PyErr_Occurred()) SWIG_fail;
17892 }
17893 {
17894 resultobj = wxPyMake_wxObject(result);
17895 }
17896 return resultobj;
17897 fail:
17898 return NULL;
17899 }
17900
17901
17902 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17903 PyObject *resultobj;
17904 wxListItem *arg1 = (wxListItem *) 0 ;
17905 PyObject * obj0 = 0 ;
17906 char *kwnames[] = {
17907 (char *) "self", NULL
17908 };
17909
17910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
17911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17913 {
17914 PyThreadState* __tstate = wxPyBeginAllowThreads();
17915 delete arg1;
17916
17917 wxPyEndAllowThreads(__tstate);
17918 if (PyErr_Occurred()) SWIG_fail;
17919 }
17920 Py_INCREF(Py_None); resultobj = Py_None;
17921 return resultobj;
17922 fail:
17923 return NULL;
17924 }
17925
17926
17927 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
17928 PyObject *resultobj;
17929 wxListItem *arg1 = (wxListItem *) 0 ;
17930 PyObject * obj0 = 0 ;
17931 char *kwnames[] = {
17932 (char *) "self", NULL
17933 };
17934
17935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
17936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17938 {
17939 PyThreadState* __tstate = wxPyBeginAllowThreads();
17940 (arg1)->Clear();
17941
17942 wxPyEndAllowThreads(__tstate);
17943 if (PyErr_Occurred()) SWIG_fail;
17944 }
17945 Py_INCREF(Py_None); resultobj = Py_None;
17946 return resultobj;
17947 fail:
17948 return NULL;
17949 }
17950
17951
17952 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17953 PyObject *resultobj;
17954 wxListItem *arg1 = (wxListItem *) 0 ;
17955 PyObject * obj0 = 0 ;
17956 char *kwnames[] = {
17957 (char *) "self", NULL
17958 };
17959
17960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
17961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17963 {
17964 PyThreadState* __tstate = wxPyBeginAllowThreads();
17965 (arg1)->ClearAttributes();
17966
17967 wxPyEndAllowThreads(__tstate);
17968 if (PyErr_Occurred()) SWIG_fail;
17969 }
17970 Py_INCREF(Py_None); resultobj = Py_None;
17971 return resultobj;
17972 fail:
17973 return NULL;
17974 }
17975
17976
17977 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17978 PyObject *resultobj;
17979 wxListItem *arg1 = (wxListItem *) 0 ;
17980 long arg2 ;
17981 PyObject * obj0 = 0 ;
17982 PyObject * obj1 = 0 ;
17983 char *kwnames[] = {
17984 (char *) "self",(char *) "mask", NULL
17985 };
17986
17987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
17988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17990 arg2 = (long) SWIG_AsLong(obj1);
17991 if (PyErr_Occurred()) SWIG_fail;
17992 {
17993 PyThreadState* __tstate = wxPyBeginAllowThreads();
17994 (arg1)->SetMask(arg2);
17995
17996 wxPyEndAllowThreads(__tstate);
17997 if (PyErr_Occurred()) SWIG_fail;
17998 }
17999 Py_INCREF(Py_None); resultobj = Py_None;
18000 return resultobj;
18001 fail:
18002 return NULL;
18003 }
18004
18005
18006 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18007 PyObject *resultobj;
18008 wxListItem *arg1 = (wxListItem *) 0 ;
18009 long arg2 ;
18010 PyObject * obj0 = 0 ;
18011 PyObject * obj1 = 0 ;
18012 char *kwnames[] = {
18013 (char *) "self",(char *) "id", NULL
18014 };
18015
18016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
18017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18019 arg2 = (long) SWIG_AsLong(obj1);
18020 if (PyErr_Occurred()) SWIG_fail;
18021 {
18022 PyThreadState* __tstate = wxPyBeginAllowThreads();
18023 (arg1)->SetId(arg2);
18024
18025 wxPyEndAllowThreads(__tstate);
18026 if (PyErr_Occurred()) SWIG_fail;
18027 }
18028 Py_INCREF(Py_None); resultobj = Py_None;
18029 return resultobj;
18030 fail:
18031 return NULL;
18032 }
18033
18034
18035 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18036 PyObject *resultobj;
18037 wxListItem *arg1 = (wxListItem *) 0 ;
18038 int arg2 ;
18039 PyObject * obj0 = 0 ;
18040 PyObject * obj1 = 0 ;
18041 char *kwnames[] = {
18042 (char *) "self",(char *) "col", NULL
18043 };
18044
18045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
18046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18048 arg2 = (int) SWIG_AsInt(obj1);
18049 if (PyErr_Occurred()) SWIG_fail;
18050 {
18051 PyThreadState* __tstate = wxPyBeginAllowThreads();
18052 (arg1)->SetColumn(arg2);
18053
18054 wxPyEndAllowThreads(__tstate);
18055 if (PyErr_Occurred()) SWIG_fail;
18056 }
18057 Py_INCREF(Py_None); resultobj = Py_None;
18058 return resultobj;
18059 fail:
18060 return NULL;
18061 }
18062
18063
18064 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18065 PyObject *resultobj;
18066 wxListItem *arg1 = (wxListItem *) 0 ;
18067 long arg2 ;
18068 PyObject * obj0 = 0 ;
18069 PyObject * obj1 = 0 ;
18070 char *kwnames[] = {
18071 (char *) "self",(char *) "state", NULL
18072 };
18073
18074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
18075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18077 arg2 = (long) SWIG_AsLong(obj1);
18078 if (PyErr_Occurred()) SWIG_fail;
18079 {
18080 PyThreadState* __tstate = wxPyBeginAllowThreads();
18081 (arg1)->SetState(arg2);
18082
18083 wxPyEndAllowThreads(__tstate);
18084 if (PyErr_Occurred()) SWIG_fail;
18085 }
18086 Py_INCREF(Py_None); resultobj = Py_None;
18087 return resultobj;
18088 fail:
18089 return NULL;
18090 }
18091
18092
18093 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18094 PyObject *resultobj;
18095 wxListItem *arg1 = (wxListItem *) 0 ;
18096 long arg2 ;
18097 PyObject * obj0 = 0 ;
18098 PyObject * obj1 = 0 ;
18099 char *kwnames[] = {
18100 (char *) "self",(char *) "stateMask", NULL
18101 };
18102
18103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
18104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18106 arg2 = (long) SWIG_AsLong(obj1);
18107 if (PyErr_Occurred()) SWIG_fail;
18108 {
18109 PyThreadState* __tstate = wxPyBeginAllowThreads();
18110 (arg1)->SetStateMask(arg2);
18111
18112 wxPyEndAllowThreads(__tstate);
18113 if (PyErr_Occurred()) SWIG_fail;
18114 }
18115 Py_INCREF(Py_None); resultobj = Py_None;
18116 return resultobj;
18117 fail:
18118 return NULL;
18119 }
18120
18121
18122 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18123 PyObject *resultobj;
18124 wxListItem *arg1 = (wxListItem *) 0 ;
18125 wxString *arg2 = 0 ;
18126 bool temp2 = False ;
18127 PyObject * obj0 = 0 ;
18128 PyObject * obj1 = 0 ;
18129 char *kwnames[] = {
18130 (char *) "self",(char *) "text", NULL
18131 };
18132
18133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
18134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18136 {
18137 arg2 = wxString_in_helper(obj1);
18138 if (arg2 == NULL) SWIG_fail;
18139 temp2 = True;
18140 }
18141 {
18142 PyThreadState* __tstate = wxPyBeginAllowThreads();
18143 (arg1)->SetText((wxString const &)*arg2);
18144
18145 wxPyEndAllowThreads(__tstate);
18146 if (PyErr_Occurred()) SWIG_fail;
18147 }
18148 Py_INCREF(Py_None); resultobj = Py_None;
18149 {
18150 if (temp2)
18151 delete arg2;
18152 }
18153 return resultobj;
18154 fail:
18155 {
18156 if (temp2)
18157 delete arg2;
18158 }
18159 return NULL;
18160 }
18161
18162
18163 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18164 PyObject *resultobj;
18165 wxListItem *arg1 = (wxListItem *) 0 ;
18166 int arg2 ;
18167 PyObject * obj0 = 0 ;
18168 PyObject * obj1 = 0 ;
18169 char *kwnames[] = {
18170 (char *) "self",(char *) "image", NULL
18171 };
18172
18173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
18174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18176 arg2 = (int) SWIG_AsInt(obj1);
18177 if (PyErr_Occurred()) SWIG_fail;
18178 {
18179 PyThreadState* __tstate = wxPyBeginAllowThreads();
18180 (arg1)->SetImage(arg2);
18181
18182 wxPyEndAllowThreads(__tstate);
18183 if (PyErr_Occurred()) SWIG_fail;
18184 }
18185 Py_INCREF(Py_None); resultobj = Py_None;
18186 return resultobj;
18187 fail:
18188 return NULL;
18189 }
18190
18191
18192 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18193 PyObject *resultobj;
18194 wxListItem *arg1 = (wxListItem *) 0 ;
18195 long arg2 ;
18196 PyObject * obj0 = 0 ;
18197 PyObject * obj1 = 0 ;
18198 char *kwnames[] = {
18199 (char *) "self",(char *) "data", NULL
18200 };
18201
18202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
18203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18205 arg2 = (long) SWIG_AsLong(obj1);
18206 if (PyErr_Occurred()) SWIG_fail;
18207 {
18208 PyThreadState* __tstate = wxPyBeginAllowThreads();
18209 (arg1)->SetData(arg2);
18210
18211 wxPyEndAllowThreads(__tstate);
18212 if (PyErr_Occurred()) SWIG_fail;
18213 }
18214 Py_INCREF(Py_None); resultobj = Py_None;
18215 return resultobj;
18216 fail:
18217 return NULL;
18218 }
18219
18220
18221 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18222 PyObject *resultobj;
18223 wxListItem *arg1 = (wxListItem *) 0 ;
18224 int arg2 ;
18225 PyObject * obj0 = 0 ;
18226 PyObject * obj1 = 0 ;
18227 char *kwnames[] = {
18228 (char *) "self",(char *) "width", NULL
18229 };
18230
18231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
18232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18234 arg2 = (int) SWIG_AsInt(obj1);
18235 if (PyErr_Occurred()) SWIG_fail;
18236 {
18237 PyThreadState* __tstate = wxPyBeginAllowThreads();
18238 (arg1)->SetWidth(arg2);
18239
18240 wxPyEndAllowThreads(__tstate);
18241 if (PyErr_Occurred()) SWIG_fail;
18242 }
18243 Py_INCREF(Py_None); resultobj = Py_None;
18244 return resultobj;
18245 fail:
18246 return NULL;
18247 }
18248
18249
18250 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18251 PyObject *resultobj;
18252 wxListItem *arg1 = (wxListItem *) 0 ;
18253 int arg2 ;
18254 PyObject * obj0 = 0 ;
18255 PyObject * obj1 = 0 ;
18256 char *kwnames[] = {
18257 (char *) "self",(char *) "align", NULL
18258 };
18259
18260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
18261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18263 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 {
18266 PyThreadState* __tstate = wxPyBeginAllowThreads();
18267 (arg1)->SetAlign((wxListColumnFormat )arg2);
18268
18269 wxPyEndAllowThreads(__tstate);
18270 if (PyErr_Occurred()) SWIG_fail;
18271 }
18272 Py_INCREF(Py_None); resultobj = Py_None;
18273 return resultobj;
18274 fail:
18275 return NULL;
18276 }
18277
18278
18279 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18280 PyObject *resultobj;
18281 wxListItem *arg1 = (wxListItem *) 0 ;
18282 wxColour *arg2 = 0 ;
18283 wxColour temp2 ;
18284 PyObject * obj0 = 0 ;
18285 PyObject * obj1 = 0 ;
18286 char *kwnames[] = {
18287 (char *) "self",(char *) "colText", NULL
18288 };
18289
18290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18293 {
18294 arg2 = &temp2;
18295 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18296 }
18297 {
18298 PyThreadState* __tstate = wxPyBeginAllowThreads();
18299 (arg1)->SetTextColour((wxColour const &)*arg2);
18300
18301 wxPyEndAllowThreads(__tstate);
18302 if (PyErr_Occurred()) SWIG_fail;
18303 }
18304 Py_INCREF(Py_None); resultobj = Py_None;
18305 return resultobj;
18306 fail:
18307 return NULL;
18308 }
18309
18310
18311 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18312 PyObject *resultobj;
18313 wxListItem *arg1 = (wxListItem *) 0 ;
18314 wxColour *arg2 = 0 ;
18315 wxColour temp2 ;
18316 PyObject * obj0 = 0 ;
18317 PyObject * obj1 = 0 ;
18318 char *kwnames[] = {
18319 (char *) "self",(char *) "colBack", NULL
18320 };
18321
18322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18325 {
18326 arg2 = &temp2;
18327 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18328 }
18329 {
18330 PyThreadState* __tstate = wxPyBeginAllowThreads();
18331 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18332
18333 wxPyEndAllowThreads(__tstate);
18334 if (PyErr_Occurred()) SWIG_fail;
18335 }
18336 Py_INCREF(Py_None); resultobj = Py_None;
18337 return resultobj;
18338 fail:
18339 return NULL;
18340 }
18341
18342
18343 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18344 PyObject *resultobj;
18345 wxListItem *arg1 = (wxListItem *) 0 ;
18346 wxFont *arg2 = 0 ;
18347 PyObject * obj0 = 0 ;
18348 PyObject * obj1 = 0 ;
18349 char *kwnames[] = {
18350 (char *) "self",(char *) "font", NULL
18351 };
18352
18353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
18354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18356 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18357 SWIG_POINTER_EXCEPTION | 0)) == -1)
18358 SWIG_fail;
18359 if (arg2 == NULL) {
18360 PyErr_SetString(PyExc_TypeError,"null reference");
18361 SWIG_fail;
18362 }
18363 {
18364 PyThreadState* __tstate = wxPyBeginAllowThreads();
18365 (arg1)->SetFont((wxFont const &)*arg2);
18366
18367 wxPyEndAllowThreads(__tstate);
18368 if (PyErr_Occurred()) SWIG_fail;
18369 }
18370 Py_INCREF(Py_None); resultobj = Py_None;
18371 return resultobj;
18372 fail:
18373 return NULL;
18374 }
18375
18376
18377 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18378 PyObject *resultobj;
18379 wxListItem *arg1 = (wxListItem *) 0 ;
18380 long result;
18381 PyObject * obj0 = 0 ;
18382 char *kwnames[] = {
18383 (char *) "self", NULL
18384 };
18385
18386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
18387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18389 {
18390 PyThreadState* __tstate = wxPyBeginAllowThreads();
18391 result = (long)(arg1)->GetMask();
18392
18393 wxPyEndAllowThreads(__tstate);
18394 if (PyErr_Occurred()) SWIG_fail;
18395 }
18396 resultobj = SWIG_FromLong((long)result);
18397 return resultobj;
18398 fail:
18399 return NULL;
18400 }
18401
18402
18403 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18404 PyObject *resultobj;
18405 wxListItem *arg1 = (wxListItem *) 0 ;
18406 long result;
18407 PyObject * obj0 = 0 ;
18408 char *kwnames[] = {
18409 (char *) "self", NULL
18410 };
18411
18412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
18413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18415 {
18416 PyThreadState* __tstate = wxPyBeginAllowThreads();
18417 result = (long)(arg1)->GetId();
18418
18419 wxPyEndAllowThreads(__tstate);
18420 if (PyErr_Occurred()) SWIG_fail;
18421 }
18422 resultobj = SWIG_FromLong((long)result);
18423 return resultobj;
18424 fail:
18425 return NULL;
18426 }
18427
18428
18429 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18430 PyObject *resultobj;
18431 wxListItem *arg1 = (wxListItem *) 0 ;
18432 int result;
18433 PyObject * obj0 = 0 ;
18434 char *kwnames[] = {
18435 (char *) "self", NULL
18436 };
18437
18438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
18439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18441 {
18442 PyThreadState* __tstate = wxPyBeginAllowThreads();
18443 result = (int)(arg1)->GetColumn();
18444
18445 wxPyEndAllowThreads(__tstate);
18446 if (PyErr_Occurred()) SWIG_fail;
18447 }
18448 resultobj = SWIG_FromInt((int)result);
18449 return resultobj;
18450 fail:
18451 return NULL;
18452 }
18453
18454
18455 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18456 PyObject *resultobj;
18457 wxListItem *arg1 = (wxListItem *) 0 ;
18458 long result;
18459 PyObject * obj0 = 0 ;
18460 char *kwnames[] = {
18461 (char *) "self", NULL
18462 };
18463
18464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
18465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18467 {
18468 PyThreadState* __tstate = wxPyBeginAllowThreads();
18469 result = (long)(arg1)->GetState();
18470
18471 wxPyEndAllowThreads(__tstate);
18472 if (PyErr_Occurred()) SWIG_fail;
18473 }
18474 resultobj = SWIG_FromLong((long)result);
18475 return resultobj;
18476 fail:
18477 return NULL;
18478 }
18479
18480
18481 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18482 PyObject *resultobj;
18483 wxListItem *arg1 = (wxListItem *) 0 ;
18484 wxString *result;
18485 PyObject * obj0 = 0 ;
18486 char *kwnames[] = {
18487 (char *) "self", NULL
18488 };
18489
18490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
18491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18493 {
18494 PyThreadState* __tstate = wxPyBeginAllowThreads();
18495 {
18496 wxString const &_result_ref = (arg1)->GetText();
18497 result = (wxString *) &_result_ref;
18498 }
18499
18500 wxPyEndAllowThreads(__tstate);
18501 if (PyErr_Occurred()) SWIG_fail;
18502 }
18503 {
18504 #if wxUSE_UNICODE
18505 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18506 #else
18507 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18508 #endif
18509 }
18510 return resultobj;
18511 fail:
18512 return NULL;
18513 }
18514
18515
18516 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18517 PyObject *resultobj;
18518 wxListItem *arg1 = (wxListItem *) 0 ;
18519 int result;
18520 PyObject * obj0 = 0 ;
18521 char *kwnames[] = {
18522 (char *) "self", NULL
18523 };
18524
18525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
18526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18528 {
18529 PyThreadState* __tstate = wxPyBeginAllowThreads();
18530 result = (int)(arg1)->GetImage();
18531
18532 wxPyEndAllowThreads(__tstate);
18533 if (PyErr_Occurred()) SWIG_fail;
18534 }
18535 resultobj = SWIG_FromInt((int)result);
18536 return resultobj;
18537 fail:
18538 return NULL;
18539 }
18540
18541
18542 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18543 PyObject *resultobj;
18544 wxListItem *arg1 = (wxListItem *) 0 ;
18545 long result;
18546 PyObject * obj0 = 0 ;
18547 char *kwnames[] = {
18548 (char *) "self", NULL
18549 };
18550
18551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
18552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18554 {
18555 PyThreadState* __tstate = wxPyBeginAllowThreads();
18556 result = (long)(arg1)->GetData();
18557
18558 wxPyEndAllowThreads(__tstate);
18559 if (PyErr_Occurred()) SWIG_fail;
18560 }
18561 resultobj = SWIG_FromLong((long)result);
18562 return resultobj;
18563 fail:
18564 return NULL;
18565 }
18566
18567
18568 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18569 PyObject *resultobj;
18570 wxListItem *arg1 = (wxListItem *) 0 ;
18571 int result;
18572 PyObject * obj0 = 0 ;
18573 char *kwnames[] = {
18574 (char *) "self", NULL
18575 };
18576
18577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
18578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18580 {
18581 PyThreadState* __tstate = wxPyBeginAllowThreads();
18582 result = (int)(arg1)->GetWidth();
18583
18584 wxPyEndAllowThreads(__tstate);
18585 if (PyErr_Occurred()) SWIG_fail;
18586 }
18587 resultobj = SWIG_FromInt((int)result);
18588 return resultobj;
18589 fail:
18590 return NULL;
18591 }
18592
18593
18594 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18595 PyObject *resultobj;
18596 wxListItem *arg1 = (wxListItem *) 0 ;
18597 int result;
18598 PyObject * obj0 = 0 ;
18599 char *kwnames[] = {
18600 (char *) "self", NULL
18601 };
18602
18603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
18604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18606 {
18607 PyThreadState* __tstate = wxPyBeginAllowThreads();
18608 result = (int)(arg1)->GetAlign();
18609
18610 wxPyEndAllowThreads(__tstate);
18611 if (PyErr_Occurred()) SWIG_fail;
18612 }
18613 resultobj = SWIG_FromInt((int)result);
18614 return resultobj;
18615 fail:
18616 return NULL;
18617 }
18618
18619
18620 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18621 PyObject *resultobj;
18622 wxListItem *arg1 = (wxListItem *) 0 ;
18623 wxListItemAttr *result;
18624 PyObject * obj0 = 0 ;
18625 char *kwnames[] = {
18626 (char *) "self", NULL
18627 };
18628
18629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
18630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18632 {
18633 PyThreadState* __tstate = wxPyBeginAllowThreads();
18634 result = (wxListItemAttr *)(arg1)->GetAttributes();
18635
18636 wxPyEndAllowThreads(__tstate);
18637 if (PyErr_Occurred()) SWIG_fail;
18638 }
18639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
18640 return resultobj;
18641 fail:
18642 return NULL;
18643 }
18644
18645
18646 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18647 PyObject *resultobj;
18648 wxListItem *arg1 = (wxListItem *) 0 ;
18649 bool result;
18650 PyObject * obj0 = 0 ;
18651 char *kwnames[] = {
18652 (char *) "self", NULL
18653 };
18654
18655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
18656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18658 {
18659 PyThreadState* __tstate = wxPyBeginAllowThreads();
18660 result = (bool)(arg1)->HasAttributes();
18661
18662 wxPyEndAllowThreads(__tstate);
18663 if (PyErr_Occurred()) SWIG_fail;
18664 }
18665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18666 return resultobj;
18667 fail:
18668 return NULL;
18669 }
18670
18671
18672 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18673 PyObject *resultobj;
18674 wxListItem *arg1 = (wxListItem *) 0 ;
18675 wxColour result;
18676 PyObject * obj0 = 0 ;
18677 char *kwnames[] = {
18678 (char *) "self", NULL
18679 };
18680
18681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
18682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18684 {
18685 PyThreadState* __tstate = wxPyBeginAllowThreads();
18686 result = ((wxListItem const *)arg1)->GetTextColour();
18687
18688 wxPyEndAllowThreads(__tstate);
18689 if (PyErr_Occurred()) SWIG_fail;
18690 }
18691 {
18692 wxColour * resultptr;
18693 resultptr = new wxColour((wxColour &) result);
18694 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18695 }
18696 return resultobj;
18697 fail:
18698 return NULL;
18699 }
18700
18701
18702 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18703 PyObject *resultobj;
18704 wxListItem *arg1 = (wxListItem *) 0 ;
18705 wxColour result;
18706 PyObject * obj0 = 0 ;
18707 char *kwnames[] = {
18708 (char *) "self", NULL
18709 };
18710
18711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
18712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18714 {
18715 PyThreadState* __tstate = wxPyBeginAllowThreads();
18716 result = ((wxListItem const *)arg1)->GetBackgroundColour();
18717
18718 wxPyEndAllowThreads(__tstate);
18719 if (PyErr_Occurred()) SWIG_fail;
18720 }
18721 {
18722 wxColour * resultptr;
18723 resultptr = new wxColour((wxColour &) result);
18724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18725 }
18726 return resultobj;
18727 fail:
18728 return NULL;
18729 }
18730
18731
18732 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18733 PyObject *resultobj;
18734 wxListItem *arg1 = (wxListItem *) 0 ;
18735 wxFont result;
18736 PyObject * obj0 = 0 ;
18737 char *kwnames[] = {
18738 (char *) "self", NULL
18739 };
18740
18741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
18742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18744 {
18745 PyThreadState* __tstate = wxPyBeginAllowThreads();
18746 result = ((wxListItem const *)arg1)->GetFont();
18747
18748 wxPyEndAllowThreads(__tstate);
18749 if (PyErr_Occurred()) SWIG_fail;
18750 }
18751 {
18752 wxFont * resultptr;
18753 resultptr = new wxFont((wxFont &) result);
18754 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
18755 }
18756 return resultobj;
18757 fail:
18758 return NULL;
18759 }
18760
18761
18762 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18763 PyObject *resultobj;
18764 wxListItem *arg1 = (wxListItem *) 0 ;
18765 long arg2 ;
18766 PyObject * obj0 = 0 ;
18767 PyObject * obj1 = 0 ;
18768 char *kwnames[] = {
18769 (char *) "self",(char *) "m_mask", NULL
18770 };
18771
18772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
18773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18775 arg2 = (long) SWIG_AsLong(obj1);
18776 if (PyErr_Occurred()) SWIG_fail;
18777 if (arg1) (arg1)->m_mask = arg2;
18778
18779 Py_INCREF(Py_None); resultobj = Py_None;
18780 return resultobj;
18781 fail:
18782 return NULL;
18783 }
18784
18785
18786 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18787 PyObject *resultobj;
18788 wxListItem *arg1 = (wxListItem *) 0 ;
18789 long result;
18790 PyObject * obj0 = 0 ;
18791 char *kwnames[] = {
18792 (char *) "self", NULL
18793 };
18794
18795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
18796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18798 result = (long) ((arg1)->m_mask);
18799
18800 resultobj = SWIG_FromLong((long)result);
18801 return resultobj;
18802 fail:
18803 return NULL;
18804 }
18805
18806
18807 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18808 PyObject *resultobj;
18809 wxListItem *arg1 = (wxListItem *) 0 ;
18810 long arg2 ;
18811 PyObject * obj0 = 0 ;
18812 PyObject * obj1 = 0 ;
18813 char *kwnames[] = {
18814 (char *) "self",(char *) "m_itemId", NULL
18815 };
18816
18817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
18818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18820 arg2 = (long) SWIG_AsLong(obj1);
18821 if (PyErr_Occurred()) SWIG_fail;
18822 if (arg1) (arg1)->m_itemId = arg2;
18823
18824 Py_INCREF(Py_None); resultobj = Py_None;
18825 return resultobj;
18826 fail:
18827 return NULL;
18828 }
18829
18830
18831 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18832 PyObject *resultobj;
18833 wxListItem *arg1 = (wxListItem *) 0 ;
18834 long result;
18835 PyObject * obj0 = 0 ;
18836 char *kwnames[] = {
18837 (char *) "self", NULL
18838 };
18839
18840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
18841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18843 result = (long) ((arg1)->m_itemId);
18844
18845 resultobj = SWIG_FromLong((long)result);
18846 return resultobj;
18847 fail:
18848 return NULL;
18849 }
18850
18851
18852 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18853 PyObject *resultobj;
18854 wxListItem *arg1 = (wxListItem *) 0 ;
18855 int arg2 ;
18856 PyObject * obj0 = 0 ;
18857 PyObject * obj1 = 0 ;
18858 char *kwnames[] = {
18859 (char *) "self",(char *) "m_col", NULL
18860 };
18861
18862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
18863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18865 arg2 = (int) SWIG_AsInt(obj1);
18866 if (PyErr_Occurred()) SWIG_fail;
18867 if (arg1) (arg1)->m_col = arg2;
18868
18869 Py_INCREF(Py_None); resultobj = Py_None;
18870 return resultobj;
18871 fail:
18872 return NULL;
18873 }
18874
18875
18876 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18877 PyObject *resultobj;
18878 wxListItem *arg1 = (wxListItem *) 0 ;
18879 int result;
18880 PyObject * obj0 = 0 ;
18881 char *kwnames[] = {
18882 (char *) "self", NULL
18883 };
18884
18885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
18886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18888 result = (int) ((arg1)->m_col);
18889
18890 resultobj = SWIG_FromInt((int)result);
18891 return resultobj;
18892 fail:
18893 return NULL;
18894 }
18895
18896
18897 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18898 PyObject *resultobj;
18899 wxListItem *arg1 = (wxListItem *) 0 ;
18900 long arg2 ;
18901 PyObject * obj0 = 0 ;
18902 PyObject * obj1 = 0 ;
18903 char *kwnames[] = {
18904 (char *) "self",(char *) "m_state", NULL
18905 };
18906
18907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
18908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18910 arg2 = (long) SWIG_AsLong(obj1);
18911 if (PyErr_Occurred()) SWIG_fail;
18912 if (arg1) (arg1)->m_state = arg2;
18913
18914 Py_INCREF(Py_None); resultobj = Py_None;
18915 return resultobj;
18916 fail:
18917 return NULL;
18918 }
18919
18920
18921 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18922 PyObject *resultobj;
18923 wxListItem *arg1 = (wxListItem *) 0 ;
18924 long result;
18925 PyObject * obj0 = 0 ;
18926 char *kwnames[] = {
18927 (char *) "self", NULL
18928 };
18929
18930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
18931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18933 result = (long) ((arg1)->m_state);
18934
18935 resultobj = SWIG_FromLong((long)result);
18936 return resultobj;
18937 fail:
18938 return NULL;
18939 }
18940
18941
18942 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18943 PyObject *resultobj;
18944 wxListItem *arg1 = (wxListItem *) 0 ;
18945 long arg2 ;
18946 PyObject * obj0 = 0 ;
18947 PyObject * obj1 = 0 ;
18948 char *kwnames[] = {
18949 (char *) "self",(char *) "m_stateMask", NULL
18950 };
18951
18952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
18953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18955 arg2 = (long) SWIG_AsLong(obj1);
18956 if (PyErr_Occurred()) SWIG_fail;
18957 if (arg1) (arg1)->m_stateMask = arg2;
18958
18959 Py_INCREF(Py_None); resultobj = Py_None;
18960 return resultobj;
18961 fail:
18962 return NULL;
18963 }
18964
18965
18966 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18967 PyObject *resultobj;
18968 wxListItem *arg1 = (wxListItem *) 0 ;
18969 long result;
18970 PyObject * obj0 = 0 ;
18971 char *kwnames[] = {
18972 (char *) "self", NULL
18973 };
18974
18975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
18976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18978 result = (long) ((arg1)->m_stateMask);
18979
18980 resultobj = SWIG_FromLong((long)result);
18981 return resultobj;
18982 fail:
18983 return NULL;
18984 }
18985
18986
18987 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18988 PyObject *resultobj;
18989 wxListItem *arg1 = (wxListItem *) 0 ;
18990 wxString *arg2 = (wxString *) 0 ;
18991 bool temp2 = False ;
18992 PyObject * obj0 = 0 ;
18993 PyObject * obj1 = 0 ;
18994 char *kwnames[] = {
18995 (char *) "self",(char *) "m_text", NULL
18996 };
18997
18998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
18999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19001 {
19002 arg2 = wxString_in_helper(obj1);
19003 if (arg2 == NULL) SWIG_fail;
19004 temp2 = True;
19005 }
19006 if (arg1) (arg1)->m_text = *arg2;
19007
19008 Py_INCREF(Py_None); resultobj = Py_None;
19009 {
19010 if (temp2)
19011 delete arg2;
19012 }
19013 return resultobj;
19014 fail:
19015 {
19016 if (temp2)
19017 delete arg2;
19018 }
19019 return NULL;
19020 }
19021
19022
19023 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19024 PyObject *resultobj;
19025 wxListItem *arg1 = (wxListItem *) 0 ;
19026 wxString *result;
19027 PyObject * obj0 = 0 ;
19028 char *kwnames[] = {
19029 (char *) "self", NULL
19030 };
19031
19032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
19033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19035 result = (wxString *)& ((arg1)->m_text);
19036
19037 {
19038 #if wxUSE_UNICODE
19039 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19040 #else
19041 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19042 #endif
19043 }
19044 return resultobj;
19045 fail:
19046 return NULL;
19047 }
19048
19049
19050 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19051 PyObject *resultobj;
19052 wxListItem *arg1 = (wxListItem *) 0 ;
19053 int arg2 ;
19054 PyObject * obj0 = 0 ;
19055 PyObject * obj1 = 0 ;
19056 char *kwnames[] = {
19057 (char *) "self",(char *) "m_image", NULL
19058 };
19059
19060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
19061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19063 arg2 = (int) SWIG_AsInt(obj1);
19064 if (PyErr_Occurred()) SWIG_fail;
19065 if (arg1) (arg1)->m_image = arg2;
19066
19067 Py_INCREF(Py_None); resultobj = Py_None;
19068 return resultobj;
19069 fail:
19070 return NULL;
19071 }
19072
19073
19074 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19075 PyObject *resultobj;
19076 wxListItem *arg1 = (wxListItem *) 0 ;
19077 int result;
19078 PyObject * obj0 = 0 ;
19079 char *kwnames[] = {
19080 (char *) "self", NULL
19081 };
19082
19083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
19084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19086 result = (int) ((arg1)->m_image);
19087
19088 resultobj = SWIG_FromInt((int)result);
19089 return resultobj;
19090 fail:
19091 return NULL;
19092 }
19093
19094
19095 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19096 PyObject *resultobj;
19097 wxListItem *arg1 = (wxListItem *) 0 ;
19098 long arg2 ;
19099 PyObject * obj0 = 0 ;
19100 PyObject * obj1 = 0 ;
19101 char *kwnames[] = {
19102 (char *) "self",(char *) "m_data", NULL
19103 };
19104
19105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
19106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19108 arg2 = (long) SWIG_AsLong(obj1);
19109 if (PyErr_Occurred()) SWIG_fail;
19110 if (arg1) (arg1)->m_data = arg2;
19111
19112 Py_INCREF(Py_None); resultobj = Py_None;
19113 return resultobj;
19114 fail:
19115 return NULL;
19116 }
19117
19118
19119 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19120 PyObject *resultobj;
19121 wxListItem *arg1 = (wxListItem *) 0 ;
19122 long result;
19123 PyObject * obj0 = 0 ;
19124 char *kwnames[] = {
19125 (char *) "self", NULL
19126 };
19127
19128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
19129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19131 result = (long) ((arg1)->m_data);
19132
19133 resultobj = SWIG_FromLong((long)result);
19134 return resultobj;
19135 fail:
19136 return NULL;
19137 }
19138
19139
19140 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19141 PyObject *resultobj;
19142 wxListItem *arg1 = (wxListItem *) 0 ;
19143 int arg2 ;
19144 PyObject * obj0 = 0 ;
19145 PyObject * obj1 = 0 ;
19146 char *kwnames[] = {
19147 (char *) "self",(char *) "m_format", NULL
19148 };
19149
19150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
19151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19153 arg2 = (int) SWIG_AsInt(obj1);
19154 if (PyErr_Occurred()) SWIG_fail;
19155 if (arg1) (arg1)->m_format = arg2;
19156
19157 Py_INCREF(Py_None); resultobj = Py_None;
19158 return resultobj;
19159 fail:
19160 return NULL;
19161 }
19162
19163
19164 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19165 PyObject *resultobj;
19166 wxListItem *arg1 = (wxListItem *) 0 ;
19167 int result;
19168 PyObject * obj0 = 0 ;
19169 char *kwnames[] = {
19170 (char *) "self", NULL
19171 };
19172
19173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
19174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19176 result = (int) ((arg1)->m_format);
19177
19178 resultobj = SWIG_FromInt((int)result);
19179 return resultobj;
19180 fail:
19181 return NULL;
19182 }
19183
19184
19185 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19186 PyObject *resultobj;
19187 wxListItem *arg1 = (wxListItem *) 0 ;
19188 int arg2 ;
19189 PyObject * obj0 = 0 ;
19190 PyObject * obj1 = 0 ;
19191 char *kwnames[] = {
19192 (char *) "self",(char *) "m_width", NULL
19193 };
19194
19195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
19196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19198 arg2 = (int) SWIG_AsInt(obj1);
19199 if (PyErr_Occurred()) SWIG_fail;
19200 if (arg1) (arg1)->m_width = arg2;
19201
19202 Py_INCREF(Py_None); resultobj = Py_None;
19203 return resultobj;
19204 fail:
19205 return NULL;
19206 }
19207
19208
19209 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19210 PyObject *resultobj;
19211 wxListItem *arg1 = (wxListItem *) 0 ;
19212 int result;
19213 PyObject * obj0 = 0 ;
19214 char *kwnames[] = {
19215 (char *) "self", NULL
19216 };
19217
19218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
19219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19221 result = (int) ((arg1)->m_width);
19222
19223 resultobj = SWIG_FromInt((int)result);
19224 return resultobj;
19225 fail:
19226 return NULL;
19227 }
19228
19229
19230 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
19231 PyObject *obj;
19232 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19233 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
19234 Py_INCREF(obj);
19235 return Py_BuildValue((char *)"");
19236 }
19237 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19238 PyObject *resultobj;
19239 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19240 int arg2 = (int) 0 ;
19241 wxListEvent *result;
19242 PyObject * obj0 = 0 ;
19243 PyObject * obj1 = 0 ;
19244 char *kwnames[] = {
19245 (char *) "commandType",(char *) "id", NULL
19246 };
19247
19248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
19249 if (obj0) {
19250 arg1 = (wxEventType) SWIG_AsInt(obj0);
19251 if (PyErr_Occurred()) SWIG_fail;
19252 }
19253 if (obj1) {
19254 arg2 = (int) SWIG_AsInt(obj1);
19255 if (PyErr_Occurred()) SWIG_fail;
19256 }
19257 {
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
19259 result = (wxListEvent *)new wxListEvent(arg1,arg2);
19260
19261 wxPyEndAllowThreads(__tstate);
19262 if (PyErr_Occurred()) SWIG_fail;
19263 }
19264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
19265 return resultobj;
19266 fail:
19267 return NULL;
19268 }
19269
19270
19271 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19272 PyObject *resultobj;
19273 wxListEvent *arg1 = (wxListEvent *) 0 ;
19274 int arg2 ;
19275 PyObject * obj0 = 0 ;
19276 PyObject * obj1 = 0 ;
19277 char *kwnames[] = {
19278 (char *) "self",(char *) "m_code", NULL
19279 };
19280
19281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
19282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19284 arg2 = (int) SWIG_AsInt(obj1);
19285 if (PyErr_Occurred()) SWIG_fail;
19286 if (arg1) (arg1)->m_code = arg2;
19287
19288 Py_INCREF(Py_None); resultobj = Py_None;
19289 return resultobj;
19290 fail:
19291 return NULL;
19292 }
19293
19294
19295 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19296 PyObject *resultobj;
19297 wxListEvent *arg1 = (wxListEvent *) 0 ;
19298 int result;
19299 PyObject * obj0 = 0 ;
19300 char *kwnames[] = {
19301 (char *) "self", NULL
19302 };
19303
19304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
19305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19307 result = (int) ((arg1)->m_code);
19308
19309 resultobj = SWIG_FromInt((int)result);
19310 return resultobj;
19311 fail:
19312 return NULL;
19313 }
19314
19315
19316 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19317 PyObject *resultobj;
19318 wxListEvent *arg1 = (wxListEvent *) 0 ;
19319 long arg2 ;
19320 PyObject * obj0 = 0 ;
19321 PyObject * obj1 = 0 ;
19322 char *kwnames[] = {
19323 (char *) "self",(char *) "m_oldItemIndex", NULL
19324 };
19325
19326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19329 arg2 = (long) SWIG_AsLong(obj1);
19330 if (PyErr_Occurred()) SWIG_fail;
19331 if (arg1) (arg1)->m_oldItemIndex = arg2;
19332
19333 Py_INCREF(Py_None); resultobj = Py_None;
19334 return resultobj;
19335 fail:
19336 return NULL;
19337 }
19338
19339
19340 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19341 PyObject *resultobj;
19342 wxListEvent *arg1 = (wxListEvent *) 0 ;
19343 long result;
19344 PyObject * obj0 = 0 ;
19345 char *kwnames[] = {
19346 (char *) "self", NULL
19347 };
19348
19349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
19350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19352 result = (long) ((arg1)->m_oldItemIndex);
19353
19354 resultobj = SWIG_FromLong((long)result);
19355 return resultobj;
19356 fail:
19357 return NULL;
19358 }
19359
19360
19361 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19362 PyObject *resultobj;
19363 wxListEvent *arg1 = (wxListEvent *) 0 ;
19364 long arg2 ;
19365 PyObject * obj0 = 0 ;
19366 PyObject * obj1 = 0 ;
19367 char *kwnames[] = {
19368 (char *) "self",(char *) "m_itemIndex", NULL
19369 };
19370
19371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19374 arg2 = (long) SWIG_AsLong(obj1);
19375 if (PyErr_Occurred()) SWIG_fail;
19376 if (arg1) (arg1)->m_itemIndex = arg2;
19377
19378 Py_INCREF(Py_None); resultobj = Py_None;
19379 return resultobj;
19380 fail:
19381 return NULL;
19382 }
19383
19384
19385 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19386 PyObject *resultobj;
19387 wxListEvent *arg1 = (wxListEvent *) 0 ;
19388 long result;
19389 PyObject * obj0 = 0 ;
19390 char *kwnames[] = {
19391 (char *) "self", NULL
19392 };
19393
19394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
19395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19397 result = (long) ((arg1)->m_itemIndex);
19398
19399 resultobj = SWIG_FromLong((long)result);
19400 return resultobj;
19401 fail:
19402 return NULL;
19403 }
19404
19405
19406 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19407 PyObject *resultobj;
19408 wxListEvent *arg1 = (wxListEvent *) 0 ;
19409 int arg2 ;
19410 PyObject * obj0 = 0 ;
19411 PyObject * obj1 = 0 ;
19412 char *kwnames[] = {
19413 (char *) "self",(char *) "m_col", NULL
19414 };
19415
19416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19419 arg2 = (int) SWIG_AsInt(obj1);
19420 if (PyErr_Occurred()) SWIG_fail;
19421 if (arg1) (arg1)->m_col = arg2;
19422
19423 Py_INCREF(Py_None); resultobj = Py_None;
19424 return resultobj;
19425 fail:
19426 return NULL;
19427 }
19428
19429
19430 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19431 PyObject *resultobj;
19432 wxListEvent *arg1 = (wxListEvent *) 0 ;
19433 int result;
19434 PyObject * obj0 = 0 ;
19435 char *kwnames[] = {
19436 (char *) "self", NULL
19437 };
19438
19439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
19440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19442 result = (int) ((arg1)->m_col);
19443
19444 resultobj = SWIG_FromInt((int)result);
19445 return resultobj;
19446 fail:
19447 return NULL;
19448 }
19449
19450
19451 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19452 PyObject *resultobj;
19453 wxListEvent *arg1 = (wxListEvent *) 0 ;
19454 wxPoint *arg2 = (wxPoint *) 0 ;
19455 PyObject * obj0 = 0 ;
19456 PyObject * obj1 = 0 ;
19457 char *kwnames[] = {
19458 (char *) "self",(char *) "m_pointDrag", NULL
19459 };
19460
19461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
19462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19464 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
19465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19466 if (arg1) (arg1)->m_pointDrag = *arg2;
19467
19468 Py_INCREF(Py_None); resultobj = Py_None;
19469 return resultobj;
19470 fail:
19471 return NULL;
19472 }
19473
19474
19475 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19476 PyObject *resultobj;
19477 wxListEvent *arg1 = (wxListEvent *) 0 ;
19478 wxPoint *result;
19479 PyObject * obj0 = 0 ;
19480 char *kwnames[] = {
19481 (char *) "self", NULL
19482 };
19483
19484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
19485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19487 result = (wxPoint *)& ((arg1)->m_pointDrag);
19488
19489 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
19490 return resultobj;
19491 fail:
19492 return NULL;
19493 }
19494
19495
19496 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19497 PyObject *resultobj;
19498 wxListEvent *arg1 = (wxListEvent *) 0 ;
19499 wxListItem *result;
19500 PyObject * obj0 = 0 ;
19501 char *kwnames[] = {
19502 (char *) "self", NULL
19503 };
19504
19505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
19506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19508 result = (wxListItem *)& ((arg1)->m_item);
19509
19510 {
19511 resultobj = wxPyMake_wxObject(result);
19512 }
19513 return resultobj;
19514 fail:
19515 return NULL;
19516 }
19517
19518
19519 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
19520 PyObject *resultobj;
19521 wxListEvent *arg1 = (wxListEvent *) 0 ;
19522 int result;
19523 PyObject * obj0 = 0 ;
19524 char *kwnames[] = {
19525 (char *) "self", NULL
19526 };
19527
19528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
19529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19531 {
19532 PyThreadState* __tstate = wxPyBeginAllowThreads();
19533 result = (int)(arg1)->GetKeyCode();
19534
19535 wxPyEndAllowThreads(__tstate);
19536 if (PyErr_Occurred()) SWIG_fail;
19537 }
19538 resultobj = SWIG_FromInt((int)result);
19539 return resultobj;
19540 fail:
19541 return NULL;
19542 }
19543
19544
19545 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
19546 PyObject *resultobj;
19547 wxListEvent *arg1 = (wxListEvent *) 0 ;
19548 long result;
19549 PyObject * obj0 = 0 ;
19550 char *kwnames[] = {
19551 (char *) "self", NULL
19552 };
19553
19554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
19555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19557 {
19558 PyThreadState* __tstate = wxPyBeginAllowThreads();
19559 result = (long)(arg1)->GetIndex();
19560
19561 wxPyEndAllowThreads(__tstate);
19562 if (PyErr_Occurred()) SWIG_fail;
19563 }
19564 resultobj = SWIG_FromLong((long)result);
19565 return resultobj;
19566 fail:
19567 return NULL;
19568 }
19569
19570
19571 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19572 PyObject *resultobj;
19573 wxListEvent *arg1 = (wxListEvent *) 0 ;
19574 int result;
19575 PyObject * obj0 = 0 ;
19576 char *kwnames[] = {
19577 (char *) "self", NULL
19578 };
19579
19580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
19581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19583 {
19584 PyThreadState* __tstate = wxPyBeginAllowThreads();
19585 result = (int)(arg1)->GetColumn();
19586
19587 wxPyEndAllowThreads(__tstate);
19588 if (PyErr_Occurred()) SWIG_fail;
19589 }
19590 resultobj = SWIG_FromInt((int)result);
19591 return resultobj;
19592 fail:
19593 return NULL;
19594 }
19595
19596
19597 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19598 PyObject *resultobj;
19599 wxListEvent *arg1 = (wxListEvent *) 0 ;
19600 wxPoint result;
19601 PyObject * obj0 = 0 ;
19602 char *kwnames[] = {
19603 (char *) "self", NULL
19604 };
19605
19606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
19607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19609 {
19610 PyThreadState* __tstate = wxPyBeginAllowThreads();
19611 result = (arg1)->GetPoint();
19612
19613 wxPyEndAllowThreads(__tstate);
19614 if (PyErr_Occurred()) SWIG_fail;
19615 }
19616 {
19617 wxPoint * resultptr;
19618 resultptr = new wxPoint((wxPoint &) result);
19619 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19620 }
19621 return resultobj;
19622 fail:
19623 return NULL;
19624 }
19625
19626
19627 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19628 PyObject *resultobj;
19629 wxListEvent *arg1 = (wxListEvent *) 0 ;
19630 wxString *result;
19631 PyObject * obj0 = 0 ;
19632 char *kwnames[] = {
19633 (char *) "self", NULL
19634 };
19635
19636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
19637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19639 {
19640 PyThreadState* __tstate = wxPyBeginAllowThreads();
19641 {
19642 wxString const &_result_ref = (arg1)->GetLabel();
19643 result = (wxString *) &_result_ref;
19644 }
19645
19646 wxPyEndAllowThreads(__tstate);
19647 if (PyErr_Occurred()) SWIG_fail;
19648 }
19649 {
19650 #if wxUSE_UNICODE
19651 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19652 #else
19653 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19654 #endif
19655 }
19656 return resultobj;
19657 fail:
19658 return NULL;
19659 }
19660
19661
19662 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19663 PyObject *resultobj;
19664 wxListEvent *arg1 = (wxListEvent *) 0 ;
19665 wxString *result;
19666 PyObject * obj0 = 0 ;
19667 char *kwnames[] = {
19668 (char *) "self", NULL
19669 };
19670
19671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
19672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19674 {
19675 PyThreadState* __tstate = wxPyBeginAllowThreads();
19676 {
19677 wxString const &_result_ref = (arg1)->GetText();
19678 result = (wxString *) &_result_ref;
19679 }
19680
19681 wxPyEndAllowThreads(__tstate);
19682 if (PyErr_Occurred()) SWIG_fail;
19683 }
19684 {
19685 #if wxUSE_UNICODE
19686 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19687 #else
19688 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19689 #endif
19690 }
19691 return resultobj;
19692 fail:
19693 return NULL;
19694 }
19695
19696
19697 static PyObject *_wrap_ListEvent_GetImage(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_GetImage",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)->GetImage();
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_GetData(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_GetData",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)->GetData();
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_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19750 PyObject *resultobj;
19751 wxListEvent *arg1 = (wxListEvent *) 0 ;
19752 long result;
19753 PyObject * obj0 = 0 ;
19754 char *kwnames[] = {
19755 (char *) "self", NULL
19756 };
19757
19758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",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 = (long)(arg1)->GetMask();
19764
19765 wxPyEndAllowThreads(__tstate);
19766 if (PyErr_Occurred()) SWIG_fail;
19767 }
19768 resultobj = SWIG_FromLong((long)result);
19769 return resultobj;
19770 fail:
19771 return NULL;
19772 }
19773
19774
19775 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19776 PyObject *resultobj;
19777 wxListEvent *arg1 = (wxListEvent *) 0 ;
19778 wxListItem *result;
19779 PyObject * obj0 = 0 ;
19780 char *kwnames[] = {
19781 (char *) "self", NULL
19782 };
19783
19784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",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 {
19790 wxListItem const &_result_ref = (arg1)->GetItem();
19791 result = (wxListItem *) &_result_ref;
19792 }
19793
19794 wxPyEndAllowThreads(__tstate);
19795 if (PyErr_Occurred()) SWIG_fail;
19796 }
19797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
19798 return resultobj;
19799 fail:
19800 return NULL;
19801 }
19802
19803
19804 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
19805 PyObject *resultobj;
19806 wxListEvent *arg1 = (wxListEvent *) 0 ;
19807 long result;
19808 PyObject * obj0 = 0 ;
19809 char *kwnames[] = {
19810 (char *) "self", NULL
19811 };
19812
19813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
19814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19816 {
19817 PyThreadState* __tstate = wxPyBeginAllowThreads();
19818 result = (long)(arg1)->GetCacheFrom();
19819
19820 wxPyEndAllowThreads(__tstate);
19821 if (PyErr_Occurred()) SWIG_fail;
19822 }
19823 resultobj = SWIG_FromLong((long)result);
19824 return resultobj;
19825 fail:
19826 return NULL;
19827 }
19828
19829
19830 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19831 PyObject *resultobj;
19832 wxListEvent *arg1 = (wxListEvent *) 0 ;
19833 long result;
19834 PyObject * obj0 = 0 ;
19835 char *kwnames[] = {
19836 (char *) "self", NULL
19837 };
19838
19839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
19840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19842 {
19843 PyThreadState* __tstate = wxPyBeginAllowThreads();
19844 result = (long)(arg1)->GetCacheTo();
19845
19846 wxPyEndAllowThreads(__tstate);
19847 if (PyErr_Occurred()) SWIG_fail;
19848 }
19849 resultobj = SWIG_FromLong((long)result);
19850 return resultobj;
19851 fail:
19852 return NULL;
19853 }
19854
19855
19856 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
19857 PyObject *resultobj;
19858 wxListEvent *arg1 = (wxListEvent *) 0 ;
19859 bool result;
19860 PyObject * obj0 = 0 ;
19861 char *kwnames[] = {
19862 (char *) "self", NULL
19863 };
19864
19865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
19866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19868 {
19869 PyThreadState* __tstate = wxPyBeginAllowThreads();
19870 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
19871
19872 wxPyEndAllowThreads(__tstate);
19873 if (PyErr_Occurred()) SWIG_fail;
19874 }
19875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19876 return resultobj;
19877 fail:
19878 return NULL;
19879 }
19880
19881
19882 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
19883 PyObject *resultobj;
19884 wxListEvent *arg1 = (wxListEvent *) 0 ;
19885 bool arg2 ;
19886 PyObject * obj0 = 0 ;
19887 PyObject * obj1 = 0 ;
19888 char *kwnames[] = {
19889 (char *) "self",(char *) "editCancelled", NULL
19890 };
19891
19892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
19893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19895 arg2 = (bool) SWIG_AsBool(obj1);
19896 if (PyErr_Occurred()) SWIG_fail;
19897 {
19898 PyThreadState* __tstate = wxPyBeginAllowThreads();
19899 (arg1)->SetEditCanceled(arg2);
19900
19901 wxPyEndAllowThreads(__tstate);
19902 if (PyErr_Occurred()) SWIG_fail;
19903 }
19904 Py_INCREF(Py_None); resultobj = Py_None;
19905 return resultobj;
19906 fail:
19907 return NULL;
19908 }
19909
19910
19911 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
19912 PyObject *obj;
19913 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19914 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
19915 Py_INCREF(obj);
19916 return Py_BuildValue((char *)"");
19917 }
19918 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
19919 PyObject *resultobj;
19920 wxWindow *arg1 = (wxWindow *) 0 ;
19921 int arg2 = (int) -1 ;
19922 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19923 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19924 wxSize const &arg4_defvalue = wxDefaultSize ;
19925 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19926 long arg5 = (long) wxLC_ICON ;
19927 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19928 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19929 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19930 wxString *arg7 = (wxString *) &arg7_defvalue ;
19931 wxPyListCtrl *result;
19932 wxPoint temp3 ;
19933 wxSize temp4 ;
19934 bool temp7 = False ;
19935 PyObject * obj0 = 0 ;
19936 PyObject * obj1 = 0 ;
19937 PyObject * obj2 = 0 ;
19938 PyObject * obj3 = 0 ;
19939 PyObject * obj4 = 0 ;
19940 PyObject * obj5 = 0 ;
19941 PyObject * obj6 = 0 ;
19942 char *kwnames[] = {
19943 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19944 };
19945
19946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19949 if (obj1) {
19950 arg2 = (int) SWIG_AsInt(obj1);
19951 if (PyErr_Occurred()) SWIG_fail;
19952 }
19953 if (obj2) {
19954 {
19955 arg3 = &temp3;
19956 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19957 }
19958 }
19959 if (obj3) {
19960 {
19961 arg4 = &temp4;
19962 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19963 }
19964 }
19965 if (obj4) {
19966 arg5 = (long) SWIG_AsLong(obj4);
19967 if (PyErr_Occurred()) SWIG_fail;
19968 }
19969 if (obj5) {
19970 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
19971 SWIG_POINTER_EXCEPTION | 0)) == -1)
19972 SWIG_fail;
19973 if (arg6 == NULL) {
19974 PyErr_SetString(PyExc_TypeError,"null reference");
19975 SWIG_fail;
19976 }
19977 }
19978 if (obj6) {
19979 {
19980 arg7 = wxString_in_helper(obj6);
19981 if (arg7 == NULL) SWIG_fail;
19982 temp7 = True;
19983 }
19984 }
19985 {
19986 PyThreadState* __tstate = wxPyBeginAllowThreads();
19987 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19988
19989 wxPyEndAllowThreads(__tstate);
19990 if (PyErr_Occurred()) SWIG_fail;
19991 }
19992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
19993 {
19994 if (temp7)
19995 delete arg7;
19996 }
19997 return resultobj;
19998 fail:
19999 {
20000 if (temp7)
20001 delete arg7;
20002 }
20003 return NULL;
20004 }
20005
20006
20007 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20008 PyObject *resultobj;
20009 wxPyListCtrl *result;
20010 char *kwnames[] = {
20011 NULL
20012 };
20013
20014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
20015 {
20016 PyThreadState* __tstate = wxPyBeginAllowThreads();
20017 result = (wxPyListCtrl *)new wxPyListCtrl();
20018
20019 wxPyEndAllowThreads(__tstate);
20020 if (PyErr_Occurred()) SWIG_fail;
20021 }
20022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
20023 return resultobj;
20024 fail:
20025 return NULL;
20026 }
20027
20028
20029 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20030 PyObject *resultobj;
20031 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20032 wxWindow *arg2 = (wxWindow *) 0 ;
20033 int arg3 = (int) -1 ;
20034 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20035 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20036 wxSize const &arg5_defvalue = wxDefaultSize ;
20037 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20038 long arg6 = (long) wxLC_ICON ;
20039 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20040 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20041 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
20042 wxString *arg8 = (wxString *) &arg8_defvalue ;
20043 bool result;
20044 wxPoint temp4 ;
20045 wxSize temp5 ;
20046 bool temp8 = False ;
20047 PyObject * obj0 = 0 ;
20048 PyObject * obj1 = 0 ;
20049 PyObject * obj2 = 0 ;
20050 PyObject * obj3 = 0 ;
20051 PyObject * obj4 = 0 ;
20052 PyObject * obj5 = 0 ;
20053 PyObject * obj6 = 0 ;
20054 PyObject * obj7 = 0 ;
20055 char *kwnames[] = {
20056 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20057 };
20058
20059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
20060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20064 if (obj2) {
20065 arg3 = (int) SWIG_AsInt(obj2);
20066 if (PyErr_Occurred()) SWIG_fail;
20067 }
20068 if (obj3) {
20069 {
20070 arg4 = &temp4;
20071 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20072 }
20073 }
20074 if (obj4) {
20075 {
20076 arg5 = &temp5;
20077 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20078 }
20079 }
20080 if (obj5) {
20081 arg6 = (long) SWIG_AsLong(obj5);
20082 if (PyErr_Occurred()) SWIG_fail;
20083 }
20084 if (obj6) {
20085 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
20086 SWIG_POINTER_EXCEPTION | 0)) == -1)
20087 SWIG_fail;
20088 if (arg7 == NULL) {
20089 PyErr_SetString(PyExc_TypeError,"null reference");
20090 SWIG_fail;
20091 }
20092 }
20093 if (obj7) {
20094 {
20095 arg8 = wxString_in_helper(obj7);
20096 if (arg8 == NULL) SWIG_fail;
20097 temp8 = True;
20098 }
20099 }
20100 {
20101 PyThreadState* __tstate = wxPyBeginAllowThreads();
20102 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20103
20104 wxPyEndAllowThreads(__tstate);
20105 if (PyErr_Occurred()) SWIG_fail;
20106 }
20107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20108 {
20109 if (temp8)
20110 delete arg8;
20111 }
20112 return resultobj;
20113 fail:
20114 {
20115 if (temp8)
20116 delete arg8;
20117 }
20118 return NULL;
20119 }
20120
20121
20122 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20123 PyObject *resultobj;
20124 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20125 PyObject *arg2 = (PyObject *) 0 ;
20126 PyObject *arg3 = (PyObject *) 0 ;
20127 PyObject * obj0 = 0 ;
20128 PyObject * obj1 = 0 ;
20129 PyObject * obj2 = 0 ;
20130 char *kwnames[] = {
20131 (char *) "self",(char *) "self",(char *) "_class", NULL
20132 };
20133
20134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20137 arg2 = obj1;
20138 arg3 = obj2;
20139 {
20140 PyThreadState* __tstate = wxPyBeginAllowThreads();
20141 (arg1)->_setCallbackInfo(arg2,arg3);
20142
20143 wxPyEndAllowThreads(__tstate);
20144 if (PyErr_Occurred()) SWIG_fail;
20145 }
20146 Py_INCREF(Py_None); resultobj = Py_None;
20147 return resultobj;
20148 fail:
20149 return NULL;
20150 }
20151
20152
20153 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20154 PyObject *resultobj;
20155 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20156 wxColour *arg2 = 0 ;
20157 bool result;
20158 wxColour temp2 ;
20159 PyObject * obj0 = 0 ;
20160 PyObject * obj1 = 0 ;
20161 char *kwnames[] = {
20162 (char *) "self",(char *) "col", NULL
20163 };
20164
20165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
20166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20168 {
20169 arg2 = &temp2;
20170 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20171 }
20172 {
20173 PyThreadState* __tstate = wxPyBeginAllowThreads();
20174 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
20175
20176 wxPyEndAllowThreads(__tstate);
20177 if (PyErr_Occurred()) SWIG_fail;
20178 }
20179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20180 return resultobj;
20181 fail:
20182 return NULL;
20183 }
20184
20185
20186 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20187 PyObject *resultobj;
20188 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20189 wxColour *arg2 = 0 ;
20190 bool result;
20191 wxColour temp2 ;
20192 PyObject * obj0 = 0 ;
20193 PyObject * obj1 = 0 ;
20194 char *kwnames[] = {
20195 (char *) "self",(char *) "col", NULL
20196 };
20197
20198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
20199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20201 {
20202 arg2 = &temp2;
20203 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20204 }
20205 {
20206 PyThreadState* __tstate = wxPyBeginAllowThreads();
20207 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
20208
20209 wxPyEndAllowThreads(__tstate);
20210 if (PyErr_Occurred()) SWIG_fail;
20211 }
20212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20213 return resultobj;
20214 fail:
20215 return NULL;
20216 }
20217
20218
20219 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20220 PyObject *resultobj;
20221 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20222 int arg2 ;
20223 wxListItem *result;
20224 PyObject * obj0 = 0 ;
20225 PyObject * obj1 = 0 ;
20226 char *kwnames[] = {
20227 (char *) "self",(char *) "col", NULL
20228 };
20229
20230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
20231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20233 arg2 = (int) SWIG_AsInt(obj1);
20234 if (PyErr_Occurred()) SWIG_fail;
20235 {
20236 PyThreadState* __tstate = wxPyBeginAllowThreads();
20237 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
20238
20239 wxPyEndAllowThreads(__tstate);
20240 if (PyErr_Occurred()) SWIG_fail;
20241 }
20242 {
20243 resultobj = wxPyMake_wxObject(result);
20244 }
20245 return resultobj;
20246 fail:
20247 return NULL;
20248 }
20249
20250
20251 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20252 PyObject *resultobj;
20253 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20254 int arg2 ;
20255 wxListItem *arg3 = 0 ;
20256 bool result;
20257 PyObject * obj0 = 0 ;
20258 PyObject * obj1 = 0 ;
20259 PyObject * obj2 = 0 ;
20260 char *kwnames[] = {
20261 (char *) "self",(char *) "col",(char *) "item", NULL
20262 };
20263
20264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
20265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20267 arg2 = (int) SWIG_AsInt(obj1);
20268 if (PyErr_Occurred()) SWIG_fail;
20269 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
20270 SWIG_POINTER_EXCEPTION | 0)) == -1)
20271 SWIG_fail;
20272 if (arg3 == NULL) {
20273 PyErr_SetString(PyExc_TypeError,"null reference");
20274 SWIG_fail;
20275 }
20276 {
20277 PyThreadState* __tstate = wxPyBeginAllowThreads();
20278 result = (bool)(arg1)->SetColumn(arg2,*arg3);
20279
20280 wxPyEndAllowThreads(__tstate);
20281 if (PyErr_Occurred()) SWIG_fail;
20282 }
20283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20284 return resultobj;
20285 fail:
20286 return NULL;
20287 }
20288
20289
20290 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20291 PyObject *resultobj;
20292 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20293 int arg2 ;
20294 int result;
20295 PyObject * obj0 = 0 ;
20296 PyObject * obj1 = 0 ;
20297 char *kwnames[] = {
20298 (char *) "self",(char *) "col", NULL
20299 };
20300
20301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
20302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20304 arg2 = (int) SWIG_AsInt(obj1);
20305 if (PyErr_Occurred()) SWIG_fail;
20306 {
20307 PyThreadState* __tstate = wxPyBeginAllowThreads();
20308 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
20309
20310 wxPyEndAllowThreads(__tstate);
20311 if (PyErr_Occurred()) SWIG_fail;
20312 }
20313 resultobj = SWIG_FromInt((int)result);
20314 return resultobj;
20315 fail:
20316 return NULL;
20317 }
20318
20319
20320 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20321 PyObject *resultobj;
20322 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20323 int arg2 ;
20324 int arg3 ;
20325 bool result;
20326 PyObject * obj0 = 0 ;
20327 PyObject * obj1 = 0 ;
20328 PyObject * obj2 = 0 ;
20329 char *kwnames[] = {
20330 (char *) "self",(char *) "col",(char *) "width", NULL
20331 };
20332
20333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20336 arg2 = (int) SWIG_AsInt(obj1);
20337 if (PyErr_Occurred()) SWIG_fail;
20338 arg3 = (int) SWIG_AsInt(obj2);
20339 if (PyErr_Occurred()) SWIG_fail;
20340 {
20341 PyThreadState* __tstate = wxPyBeginAllowThreads();
20342 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
20343
20344 wxPyEndAllowThreads(__tstate);
20345 if (PyErr_Occurred()) SWIG_fail;
20346 }
20347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20348 return resultobj;
20349 fail:
20350 return NULL;
20351 }
20352
20353
20354 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20355 PyObject *resultobj;
20356 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20357 int result;
20358 PyObject * obj0 = 0 ;
20359 char *kwnames[] = {
20360 (char *) "self", NULL
20361 };
20362
20363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
20364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20366 {
20367 PyThreadState* __tstate = wxPyBeginAllowThreads();
20368 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
20369
20370 wxPyEndAllowThreads(__tstate);
20371 if (PyErr_Occurred()) SWIG_fail;
20372 }
20373 resultobj = SWIG_FromInt((int)result);
20374 return resultobj;
20375 fail:
20376 return NULL;
20377 }
20378
20379
20380 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20381 PyObject *resultobj;
20382 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20383 wxRect result;
20384 PyObject * obj0 = 0 ;
20385 char *kwnames[] = {
20386 (char *) "self", NULL
20387 };
20388
20389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
20390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20392 {
20393 PyThreadState* __tstate = wxPyBeginAllowThreads();
20394 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
20395
20396 wxPyEndAllowThreads(__tstate);
20397 if (PyErr_Occurred()) SWIG_fail;
20398 }
20399 {
20400 wxRect * resultptr;
20401 resultptr = new wxRect((wxRect &) result);
20402 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
20403 }
20404 return resultobj;
20405 fail:
20406 return NULL;
20407 }
20408
20409
20410 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20411 PyObject *resultobj;
20412 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20413 long arg2 ;
20414 int arg3 = (int) 0 ;
20415 wxListItem *result;
20416 PyObject * obj0 = 0 ;
20417 PyObject * obj1 = 0 ;
20418 PyObject * obj2 = 0 ;
20419 char *kwnames[] = {
20420 (char *) "self",(char *) "itemId",(char *) "col", NULL
20421 };
20422
20423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
20424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20426 arg2 = (long) SWIG_AsLong(obj1);
20427 if (PyErr_Occurred()) SWIG_fail;
20428 if (obj2) {
20429 arg3 = (int) SWIG_AsInt(obj2);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 {
20433 PyThreadState* __tstate = wxPyBeginAllowThreads();
20434 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20435
20436 wxPyEndAllowThreads(__tstate);
20437 if (PyErr_Occurred()) SWIG_fail;
20438 }
20439 {
20440 resultobj = wxPyMake_wxObject(result);
20441 }
20442 return resultobj;
20443 fail:
20444 return NULL;
20445 }
20446
20447
20448 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20449 PyObject *resultobj;
20450 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20451 wxListItem *arg2 = 0 ;
20452 bool result;
20453 PyObject * obj0 = 0 ;
20454 PyObject * obj1 = 0 ;
20455 char *kwnames[] = {
20456 (char *) "self",(char *) "info", NULL
20457 };
20458
20459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
20460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
20463 SWIG_POINTER_EXCEPTION | 0)) == -1)
20464 SWIG_fail;
20465 if (arg2 == NULL) {
20466 PyErr_SetString(PyExc_TypeError,"null reference");
20467 SWIG_fail;
20468 }
20469 {
20470 PyThreadState* __tstate = wxPyBeginAllowThreads();
20471 result = (bool)(arg1)->SetItem(*arg2);
20472
20473 wxPyEndAllowThreads(__tstate);
20474 if (PyErr_Occurred()) SWIG_fail;
20475 }
20476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20477 return resultobj;
20478 fail:
20479 return NULL;
20480 }
20481
20482
20483 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20484 PyObject *resultobj;
20485 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20486 long arg2 ;
20487 int arg3 ;
20488 wxString *arg4 = 0 ;
20489 int arg5 = (int) -1 ;
20490 long result;
20491 bool temp4 = False ;
20492 PyObject * obj0 = 0 ;
20493 PyObject * obj1 = 0 ;
20494 PyObject * obj2 = 0 ;
20495 PyObject * obj3 = 0 ;
20496 PyObject * obj4 = 0 ;
20497 char *kwnames[] = {
20498 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20499 };
20500
20501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20504 arg2 = (long) SWIG_AsLong(obj1);
20505 if (PyErr_Occurred()) SWIG_fail;
20506 arg3 = (int) SWIG_AsInt(obj2);
20507 if (PyErr_Occurred()) SWIG_fail;
20508 {
20509 arg4 = wxString_in_helper(obj3);
20510 if (arg4 == NULL) SWIG_fail;
20511 temp4 = True;
20512 }
20513 if (obj4) {
20514 arg5 = (int) SWIG_AsInt(obj4);
20515 if (PyErr_Occurred()) SWIG_fail;
20516 }
20517 {
20518 PyThreadState* __tstate = wxPyBeginAllowThreads();
20519 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20520
20521 wxPyEndAllowThreads(__tstate);
20522 if (PyErr_Occurred()) SWIG_fail;
20523 }
20524 resultobj = SWIG_FromLong((long)result);
20525 {
20526 if (temp4)
20527 delete arg4;
20528 }
20529 return resultobj;
20530 fail:
20531 {
20532 if (temp4)
20533 delete arg4;
20534 }
20535 return NULL;
20536 }
20537
20538
20539 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20540 PyObject *resultobj;
20541 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20542 long arg2 ;
20543 long arg3 ;
20544 int result;
20545 PyObject * obj0 = 0 ;
20546 PyObject * obj1 = 0 ;
20547 PyObject * obj2 = 0 ;
20548 char *kwnames[] = {
20549 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20550 };
20551
20552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
20553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20555 arg2 = (long) SWIG_AsLong(obj1);
20556 if (PyErr_Occurred()) SWIG_fail;
20557 arg3 = (long) SWIG_AsLong(obj2);
20558 if (PyErr_Occurred()) SWIG_fail;
20559 {
20560 PyThreadState* __tstate = wxPyBeginAllowThreads();
20561 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20562
20563 wxPyEndAllowThreads(__tstate);
20564 if (PyErr_Occurred()) SWIG_fail;
20565 }
20566 resultobj = SWIG_FromInt((int)result);
20567 return resultobj;
20568 fail:
20569 return NULL;
20570 }
20571
20572
20573 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20574 PyObject *resultobj;
20575 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20576 long arg2 ;
20577 long arg3 ;
20578 long arg4 ;
20579 bool result;
20580 PyObject * obj0 = 0 ;
20581 PyObject * obj1 = 0 ;
20582 PyObject * obj2 = 0 ;
20583 PyObject * obj3 = 0 ;
20584 char *kwnames[] = {
20585 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20586 };
20587
20588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20591 arg2 = (long) SWIG_AsLong(obj1);
20592 if (PyErr_Occurred()) SWIG_fail;
20593 arg3 = (long) SWIG_AsLong(obj2);
20594 if (PyErr_Occurred()) SWIG_fail;
20595 arg4 = (long) SWIG_AsLong(obj3);
20596 if (PyErr_Occurred()) SWIG_fail;
20597 {
20598 PyThreadState* __tstate = wxPyBeginAllowThreads();
20599 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20600
20601 wxPyEndAllowThreads(__tstate);
20602 if (PyErr_Occurred()) SWIG_fail;
20603 }
20604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20605 return resultobj;
20606 fail:
20607 return NULL;
20608 }
20609
20610
20611 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20612 PyObject *resultobj;
20613 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20614 long arg2 ;
20615 int arg3 ;
20616 int arg4 ;
20617 bool result;
20618 PyObject * obj0 = 0 ;
20619 PyObject * obj1 = 0 ;
20620 PyObject * obj2 = 0 ;
20621 PyObject * obj3 = 0 ;
20622 char *kwnames[] = {
20623 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20624 };
20625
20626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20629 arg2 = (long) SWIG_AsLong(obj1);
20630 if (PyErr_Occurred()) SWIG_fail;
20631 arg3 = (int) SWIG_AsInt(obj2);
20632 if (PyErr_Occurred()) SWIG_fail;
20633 arg4 = (int) SWIG_AsInt(obj3);
20634 if (PyErr_Occurred()) SWIG_fail;
20635 {
20636 PyThreadState* __tstate = wxPyBeginAllowThreads();
20637 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20638
20639 wxPyEndAllowThreads(__tstate);
20640 if (PyErr_Occurred()) SWIG_fail;
20641 }
20642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20643 return resultobj;
20644 fail:
20645 return NULL;
20646 }
20647
20648
20649 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20650 PyObject *resultobj;
20651 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20652 long arg2 ;
20653 wxString result;
20654 PyObject * obj0 = 0 ;
20655 PyObject * obj1 = 0 ;
20656 char *kwnames[] = {
20657 (char *) "self",(char *) "item", NULL
20658 };
20659
20660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20663 arg2 = (long) SWIG_AsLong(obj1);
20664 if (PyErr_Occurred()) SWIG_fail;
20665 {
20666 PyThreadState* __tstate = wxPyBeginAllowThreads();
20667 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20668
20669 wxPyEndAllowThreads(__tstate);
20670 if (PyErr_Occurred()) SWIG_fail;
20671 }
20672 {
20673 #if wxUSE_UNICODE
20674 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20675 #else
20676 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20677 #endif
20678 }
20679 return resultobj;
20680 fail:
20681 return NULL;
20682 }
20683
20684
20685 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20686 PyObject *resultobj;
20687 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20688 long arg2 ;
20689 wxString *arg3 = 0 ;
20690 bool temp3 = False ;
20691 PyObject * obj0 = 0 ;
20692 PyObject * obj1 = 0 ;
20693 PyObject * obj2 = 0 ;
20694 char *kwnames[] = {
20695 (char *) "self",(char *) "item",(char *) "str", NULL
20696 };
20697
20698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
20699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20701 arg2 = (long) SWIG_AsLong(obj1);
20702 if (PyErr_Occurred()) SWIG_fail;
20703 {
20704 arg3 = wxString_in_helper(obj2);
20705 if (arg3 == NULL) SWIG_fail;
20706 temp3 = True;
20707 }
20708 {
20709 PyThreadState* __tstate = wxPyBeginAllowThreads();
20710 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
20711
20712 wxPyEndAllowThreads(__tstate);
20713 if (PyErr_Occurred()) SWIG_fail;
20714 }
20715 Py_INCREF(Py_None); resultobj = Py_None;
20716 {
20717 if (temp3)
20718 delete arg3;
20719 }
20720 return resultobj;
20721 fail:
20722 {
20723 if (temp3)
20724 delete arg3;
20725 }
20726 return NULL;
20727 }
20728
20729
20730 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20731 PyObject *resultobj;
20732 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20733 long arg2 ;
20734 long result;
20735 PyObject * obj0 = 0 ;
20736 PyObject * obj1 = 0 ;
20737 char *kwnames[] = {
20738 (char *) "self",(char *) "item", NULL
20739 };
20740
20741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20744 arg2 = (long) SWIG_AsLong(obj1);
20745 if (PyErr_Occurred()) SWIG_fail;
20746 {
20747 PyThreadState* __tstate = wxPyBeginAllowThreads();
20748 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
20749
20750 wxPyEndAllowThreads(__tstate);
20751 if (PyErr_Occurred()) SWIG_fail;
20752 }
20753 resultobj = SWIG_FromLong((long)result);
20754 return resultobj;
20755 fail:
20756 return NULL;
20757 }
20758
20759
20760 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20761 PyObject *resultobj;
20762 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20763 long arg2 ;
20764 long arg3 ;
20765 bool result;
20766 PyObject * obj0 = 0 ;
20767 PyObject * obj1 = 0 ;
20768 PyObject * obj2 = 0 ;
20769 char *kwnames[] = {
20770 (char *) "self",(char *) "item",(char *) "data", NULL
20771 };
20772
20773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20776 arg2 = (long) SWIG_AsLong(obj1);
20777 if (PyErr_Occurred()) SWIG_fail;
20778 arg3 = (long) SWIG_AsLong(obj2);
20779 if (PyErr_Occurred()) SWIG_fail;
20780 {
20781 PyThreadState* __tstate = wxPyBeginAllowThreads();
20782 result = (bool)(arg1)->SetItemData(arg2,arg3);
20783
20784 wxPyEndAllowThreads(__tstate);
20785 if (PyErr_Occurred()) SWIG_fail;
20786 }
20787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20788 return resultobj;
20789 fail:
20790 return NULL;
20791 }
20792
20793
20794 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20795 PyObject *resultobj;
20796 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20797 long arg2 ;
20798 wxPoint result;
20799 PyObject * obj0 = 0 ;
20800 PyObject * obj1 = 0 ;
20801 char *kwnames[] = {
20802 (char *) "self",(char *) "item", NULL
20803 };
20804
20805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
20806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20808 arg2 = (long) SWIG_AsLong(obj1);
20809 if (PyErr_Occurred()) SWIG_fail;
20810 {
20811 PyThreadState* __tstate = wxPyBeginAllowThreads();
20812 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
20813
20814 wxPyEndAllowThreads(__tstate);
20815 if (PyErr_Occurred()) SWIG_fail;
20816 }
20817 {
20818 wxPoint * resultptr;
20819 resultptr = new wxPoint((wxPoint &) result);
20820 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20821 }
20822 return resultobj;
20823 fail:
20824 return NULL;
20825 }
20826
20827
20828 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20829 PyObject *resultobj;
20830 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20831 long arg2 ;
20832 int arg3 = (int) wxLIST_RECT_BOUNDS ;
20833 wxRect result;
20834 PyObject * obj0 = 0 ;
20835 PyObject * obj1 = 0 ;
20836 PyObject * obj2 = 0 ;
20837 char *kwnames[] = {
20838 (char *) "self",(char *) "item",(char *) "code", NULL
20839 };
20840
20841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
20842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20844 arg2 = (long) SWIG_AsLong(obj1);
20845 if (PyErr_Occurred()) SWIG_fail;
20846 if (obj2) {
20847 arg3 = (int) SWIG_AsInt(obj2);
20848 if (PyErr_Occurred()) SWIG_fail;
20849 }
20850 {
20851 PyThreadState* __tstate = wxPyBeginAllowThreads();
20852 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
20853
20854 wxPyEndAllowThreads(__tstate);
20855 if (PyErr_Occurred()) SWIG_fail;
20856 }
20857 {
20858 wxRect * resultptr;
20859 resultptr = new wxRect((wxRect &) result);
20860 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
20861 }
20862 return resultobj;
20863 fail:
20864 return NULL;
20865 }
20866
20867
20868 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20869 PyObject *resultobj;
20870 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20871 long arg2 ;
20872 wxPoint *arg3 = 0 ;
20873 bool result;
20874 wxPoint temp3 ;
20875 PyObject * obj0 = 0 ;
20876 PyObject * obj1 = 0 ;
20877 PyObject * obj2 = 0 ;
20878 char *kwnames[] = {
20879 (char *) "self",(char *) "item",(char *) "pos", NULL
20880 };
20881
20882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20885 arg2 = (long) SWIG_AsLong(obj1);
20886 if (PyErr_Occurred()) SWIG_fail;
20887 {
20888 arg3 = &temp3;
20889 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20890 }
20891 {
20892 PyThreadState* __tstate = wxPyBeginAllowThreads();
20893 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
20894
20895 wxPyEndAllowThreads(__tstate);
20896 if (PyErr_Occurred()) SWIG_fail;
20897 }
20898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20899 return resultobj;
20900 fail:
20901 return NULL;
20902 }
20903
20904
20905 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20906 PyObject *resultobj;
20907 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20908 int result;
20909 PyObject * obj0 = 0 ;
20910 char *kwnames[] = {
20911 (char *) "self", NULL
20912 };
20913
20914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
20915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20917 {
20918 PyThreadState* __tstate = wxPyBeginAllowThreads();
20919 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
20920
20921 wxPyEndAllowThreads(__tstate);
20922 if (PyErr_Occurred()) SWIG_fail;
20923 }
20924 resultobj = SWIG_FromInt((int)result);
20925 return resultobj;
20926 fail:
20927 return NULL;
20928 }
20929
20930
20931 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20932 PyObject *resultobj;
20933 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20934 int result;
20935 PyObject * obj0 = 0 ;
20936 char *kwnames[] = {
20937 (char *) "self", NULL
20938 };
20939
20940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
20941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20943 {
20944 PyThreadState* __tstate = wxPyBeginAllowThreads();
20945 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
20946
20947 wxPyEndAllowThreads(__tstate);
20948 if (PyErr_Occurred()) SWIG_fail;
20949 }
20950 resultobj = SWIG_FromInt((int)result);
20951 return resultobj;
20952 fail:
20953 return NULL;
20954 }
20955
20956
20957 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20958 PyObject *resultobj;
20959 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20960 wxSize result;
20961 PyObject * obj0 = 0 ;
20962 char *kwnames[] = {
20963 (char *) "self", NULL
20964 };
20965
20966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
20967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20969 {
20970 PyThreadState* __tstate = wxPyBeginAllowThreads();
20971 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
20972
20973 wxPyEndAllowThreads(__tstate);
20974 if (PyErr_Occurred()) SWIG_fail;
20975 }
20976 {
20977 wxSize * resultptr;
20978 resultptr = new wxSize((wxSize &) result);
20979 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20980 }
20981 return resultobj;
20982 fail:
20983 return NULL;
20984 }
20985
20986
20987 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20988 PyObject *resultobj;
20989 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20990 int arg2 ;
20991 bool arg3 = (bool) False ;
20992 PyObject * obj0 = 0 ;
20993 PyObject * obj1 = 0 ;
20994 PyObject * obj2 = 0 ;
20995 char *kwnames[] = {
20996 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20997 };
20998
20999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
21000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21002 arg2 = (int) SWIG_AsInt(obj1);
21003 if (PyErr_Occurred()) SWIG_fail;
21004 if (obj2) {
21005 arg3 = (bool) SWIG_AsBool(obj2);
21006 if (PyErr_Occurred()) SWIG_fail;
21007 }
21008 {
21009 PyThreadState* __tstate = wxPyBeginAllowThreads();
21010 (arg1)->SetItemSpacing(arg2,arg3);
21011
21012 wxPyEndAllowThreads(__tstate);
21013 if (PyErr_Occurred()) SWIG_fail;
21014 }
21015 Py_INCREF(Py_None); resultobj = Py_None;
21016 return resultobj;
21017 fail:
21018 return NULL;
21019 }
21020
21021
21022 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21023 PyObject *resultobj;
21024 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21025 int result;
21026 PyObject * obj0 = 0 ;
21027 char *kwnames[] = {
21028 (char *) "self", NULL
21029 };
21030
21031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
21032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21034 {
21035 PyThreadState* __tstate = wxPyBeginAllowThreads();
21036 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
21037
21038 wxPyEndAllowThreads(__tstate);
21039 if (PyErr_Occurred()) SWIG_fail;
21040 }
21041 resultobj = SWIG_FromInt((int)result);
21042 return resultobj;
21043 fail:
21044 return NULL;
21045 }
21046
21047
21048 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21049 PyObject *resultobj;
21050 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21051 wxColour result;
21052 PyObject * obj0 = 0 ;
21053 char *kwnames[] = {
21054 (char *) "self", NULL
21055 };
21056
21057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
21058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21060 {
21061 PyThreadState* __tstate = wxPyBeginAllowThreads();
21062 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
21063
21064 wxPyEndAllowThreads(__tstate);
21065 if (PyErr_Occurred()) SWIG_fail;
21066 }
21067 {
21068 wxColour * resultptr;
21069 resultptr = new wxColour((wxColour &) result);
21070 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21071 }
21072 return resultobj;
21073 fail:
21074 return NULL;
21075 }
21076
21077
21078 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21079 PyObject *resultobj;
21080 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21081 wxColour *arg2 = 0 ;
21082 wxColour temp2 ;
21083 PyObject * obj0 = 0 ;
21084 PyObject * obj1 = 0 ;
21085 char *kwnames[] = {
21086 (char *) "self",(char *) "col", NULL
21087 };
21088
21089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21092 {
21093 arg2 = &temp2;
21094 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21095 }
21096 {
21097 PyThreadState* __tstate = wxPyBeginAllowThreads();
21098 (arg1)->SetTextColour((wxColour const &)*arg2);
21099
21100 wxPyEndAllowThreads(__tstate);
21101 if (PyErr_Occurred()) SWIG_fail;
21102 }
21103 Py_INCREF(Py_None); resultobj = Py_None;
21104 return resultobj;
21105 fail:
21106 return NULL;
21107 }
21108
21109
21110 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21111 PyObject *resultobj;
21112 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21113 long result;
21114 PyObject * obj0 = 0 ;
21115 char *kwnames[] = {
21116 (char *) "self", NULL
21117 };
21118
21119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
21120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21122 {
21123 PyThreadState* __tstate = wxPyBeginAllowThreads();
21124 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
21125
21126 wxPyEndAllowThreads(__tstate);
21127 if (PyErr_Occurred()) SWIG_fail;
21128 }
21129 resultobj = SWIG_FromLong((long)result);
21130 return resultobj;
21131 fail:
21132 return NULL;
21133 }
21134
21135
21136 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
21137 PyObject *resultobj;
21138 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21139 long arg2 ;
21140 bool arg3 = (bool) True ;
21141 PyObject * obj0 = 0 ;
21142 PyObject * obj1 = 0 ;
21143 PyObject * obj2 = 0 ;
21144 char *kwnames[] = {
21145 (char *) "self",(char *) "style",(char *) "add", NULL
21146 };
21147
21148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
21149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21151 arg2 = (long) SWIG_AsLong(obj1);
21152 if (PyErr_Occurred()) SWIG_fail;
21153 if (obj2) {
21154 arg3 = (bool) SWIG_AsBool(obj2);
21155 if (PyErr_Occurred()) SWIG_fail;
21156 }
21157 {
21158 PyThreadState* __tstate = wxPyBeginAllowThreads();
21159 (arg1)->SetSingleStyle(arg2,arg3);
21160
21161 wxPyEndAllowThreads(__tstate);
21162 if (PyErr_Occurred()) SWIG_fail;
21163 }
21164 Py_INCREF(Py_None); resultobj = Py_None;
21165 return resultobj;
21166 fail:
21167 return NULL;
21168 }
21169
21170
21171 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
21172 PyObject *resultobj;
21173 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21174 long arg2 ;
21175 PyObject * obj0 = 0 ;
21176 PyObject * obj1 = 0 ;
21177 char *kwnames[] = {
21178 (char *) "self",(char *) "style", NULL
21179 };
21180
21181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
21182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21184 arg2 = (long) SWIG_AsLong(obj1);
21185 if (PyErr_Occurred()) SWIG_fail;
21186 {
21187 PyThreadState* __tstate = wxPyBeginAllowThreads();
21188 (arg1)->SetWindowStyleFlag(arg2);
21189
21190 wxPyEndAllowThreads(__tstate);
21191 if (PyErr_Occurred()) SWIG_fail;
21192 }
21193 Py_INCREF(Py_None); resultobj = Py_None;
21194 return resultobj;
21195 fail:
21196 return NULL;
21197 }
21198
21199
21200 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21201 PyObject *resultobj;
21202 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21203 long arg2 ;
21204 int arg3 = (int) wxLIST_NEXT_ALL ;
21205 int arg4 = (int) wxLIST_STATE_DONTCARE ;
21206 long result;
21207 PyObject * obj0 = 0 ;
21208 PyObject * obj1 = 0 ;
21209 PyObject * obj2 = 0 ;
21210 PyObject * obj3 = 0 ;
21211 char *kwnames[] = {
21212 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21213 };
21214
21215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21218 arg2 = (long) SWIG_AsLong(obj1);
21219 if (PyErr_Occurred()) SWIG_fail;
21220 if (obj2) {
21221 arg3 = (int) SWIG_AsInt(obj2);
21222 if (PyErr_Occurred()) SWIG_fail;
21223 }
21224 if (obj3) {
21225 arg4 = (int) SWIG_AsInt(obj3);
21226 if (PyErr_Occurred()) SWIG_fail;
21227 }
21228 {
21229 PyThreadState* __tstate = wxPyBeginAllowThreads();
21230 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
21231
21232 wxPyEndAllowThreads(__tstate);
21233 if (PyErr_Occurred()) SWIG_fail;
21234 }
21235 resultobj = SWIG_FromLong((long)result);
21236 return resultobj;
21237 fail:
21238 return NULL;
21239 }
21240
21241
21242 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21243 PyObject *resultobj;
21244 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21245 int arg2 ;
21246 wxImageList *result;
21247 PyObject * obj0 = 0 ;
21248 PyObject * obj1 = 0 ;
21249 char *kwnames[] = {
21250 (char *) "self",(char *) "which", NULL
21251 };
21252
21253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
21254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21256 arg2 = (int) SWIG_AsInt(obj1);
21257 if (PyErr_Occurred()) SWIG_fail;
21258 {
21259 PyThreadState* __tstate = wxPyBeginAllowThreads();
21260 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
21261
21262 wxPyEndAllowThreads(__tstate);
21263 if (PyErr_Occurred()) SWIG_fail;
21264 }
21265 {
21266 resultobj = wxPyMake_wxObject(result);
21267 }
21268 return resultobj;
21269 fail:
21270 return NULL;
21271 }
21272
21273
21274 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21275 PyObject *resultobj;
21276 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21277 wxImageList *arg2 = (wxImageList *) 0 ;
21278 int arg3 ;
21279 PyObject * obj0 = 0 ;
21280 PyObject * obj1 = 0 ;
21281 PyObject * obj2 = 0 ;
21282 char *kwnames[] = {
21283 (char *) "self",(char *) "imageList",(char *) "which", NULL
21284 };
21285
21286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21289 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21291 arg3 = (int) SWIG_AsInt(obj2);
21292 if (PyErr_Occurred()) SWIG_fail;
21293 {
21294 PyThreadState* __tstate = wxPyBeginAllowThreads();
21295 (arg1)->SetImageList(arg2,arg3);
21296
21297 wxPyEndAllowThreads(__tstate);
21298 if (PyErr_Occurred()) SWIG_fail;
21299 }
21300 Py_INCREF(Py_None); resultobj = Py_None;
21301 return resultobj;
21302 fail:
21303 return NULL;
21304 }
21305
21306
21307 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21308 PyObject *resultobj;
21309 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21310 wxImageList *arg2 = (wxImageList *) 0 ;
21311 int arg3 ;
21312 PyObject * obj0 = 0 ;
21313 PyObject * obj1 = 0 ;
21314 PyObject * obj2 = 0 ;
21315 char *kwnames[] = {
21316 (char *) "self",(char *) "imageList",(char *) "which", NULL
21317 };
21318
21319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21322 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21323 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
21324 arg3 = (int) SWIG_AsInt(obj2);
21325 if (PyErr_Occurred()) SWIG_fail;
21326 {
21327 PyThreadState* __tstate = wxPyBeginAllowThreads();
21328 (arg1)->AssignImageList(arg2,arg3);
21329
21330 wxPyEndAllowThreads(__tstate);
21331 if (PyErr_Occurred()) SWIG_fail;
21332 }
21333 Py_INCREF(Py_None); resultobj = Py_None;
21334 return resultobj;
21335 fail:
21336 return NULL;
21337 }
21338
21339
21340 static PyObject *_wrap_ListCtrl_InReportView(PyObject *self, PyObject *args, PyObject *kwargs) {
21341 PyObject *resultobj;
21342 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21343 bool result;
21344 PyObject * obj0 = 0 ;
21345 char *kwnames[] = {
21346 (char *) "self", NULL
21347 };
21348
21349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
21350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21352 {
21353 PyThreadState* __tstate = wxPyBeginAllowThreads();
21354 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
21355
21356 wxPyEndAllowThreads(__tstate);
21357 if (PyErr_Occurred()) SWIG_fail;
21358 }
21359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21360 return resultobj;
21361 fail:
21362 return NULL;
21363 }
21364
21365
21366 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
21367 PyObject *resultobj;
21368 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21369 bool result;
21370 PyObject * obj0 = 0 ;
21371 char *kwnames[] = {
21372 (char *) "self", NULL
21373 };
21374
21375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
21376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21378 {
21379 PyThreadState* __tstate = wxPyBeginAllowThreads();
21380 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
21381
21382 wxPyEndAllowThreads(__tstate);
21383 if (PyErr_Occurred()) SWIG_fail;
21384 }
21385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21386 return resultobj;
21387 fail:
21388 return NULL;
21389 }
21390
21391
21392 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21393 PyObject *resultobj;
21394 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21395 long arg2 ;
21396 PyObject * obj0 = 0 ;
21397 PyObject * obj1 = 0 ;
21398 char *kwnames[] = {
21399 (char *) "self",(char *) "item", NULL
21400 };
21401
21402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
21403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21405 arg2 = (long) SWIG_AsLong(obj1);
21406 if (PyErr_Occurred()) SWIG_fail;
21407 {
21408 PyThreadState* __tstate = wxPyBeginAllowThreads();
21409 (arg1)->RefreshItem(arg2);
21410
21411 wxPyEndAllowThreads(__tstate);
21412 if (PyErr_Occurred()) SWIG_fail;
21413 }
21414 Py_INCREF(Py_None); resultobj = Py_None;
21415 return resultobj;
21416 fail:
21417 return NULL;
21418 }
21419
21420
21421 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21422 PyObject *resultobj;
21423 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21424 long arg2 ;
21425 long arg3 ;
21426 PyObject * obj0 = 0 ;
21427 PyObject * obj1 = 0 ;
21428 PyObject * obj2 = 0 ;
21429 char *kwnames[] = {
21430 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21431 };
21432
21433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
21434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21436 arg2 = (long) SWIG_AsLong(obj1);
21437 if (PyErr_Occurred()) SWIG_fail;
21438 arg3 = (long) SWIG_AsLong(obj2);
21439 if (PyErr_Occurred()) SWIG_fail;
21440 {
21441 PyThreadState* __tstate = wxPyBeginAllowThreads();
21442 (arg1)->RefreshItems(arg2,arg3);
21443
21444 wxPyEndAllowThreads(__tstate);
21445 if (PyErr_Occurred()) SWIG_fail;
21446 }
21447 Py_INCREF(Py_None); resultobj = Py_None;
21448 return resultobj;
21449 fail:
21450 return NULL;
21451 }
21452
21453
21454 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
21455 PyObject *resultobj;
21456 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21457 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21458 bool result;
21459 PyObject * obj0 = 0 ;
21460 PyObject * obj1 = 0 ;
21461 char *kwnames[] = {
21462 (char *) "self",(char *) "flag", NULL
21463 };
21464
21465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
21466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21468 if (obj1) {
21469 arg2 = (int) SWIG_AsInt(obj1);
21470 if (PyErr_Occurred()) SWIG_fail;
21471 }
21472 {
21473 PyThreadState* __tstate = wxPyBeginAllowThreads();
21474 result = (bool)(arg1)->Arrange(arg2);
21475
21476 wxPyEndAllowThreads(__tstate);
21477 if (PyErr_Occurred()) SWIG_fail;
21478 }
21479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21480 return resultobj;
21481 fail:
21482 return NULL;
21483 }
21484
21485
21486 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21487 PyObject *resultobj;
21488 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21489 long arg2 ;
21490 bool result;
21491 PyObject * obj0 = 0 ;
21492 PyObject * obj1 = 0 ;
21493 char *kwnames[] = {
21494 (char *) "self",(char *) "item", NULL
21495 };
21496
21497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
21498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21500 arg2 = (long) SWIG_AsLong(obj1);
21501 if (PyErr_Occurred()) SWIG_fail;
21502 {
21503 PyThreadState* __tstate = wxPyBeginAllowThreads();
21504 result = (bool)(arg1)->DeleteItem(arg2);
21505
21506 wxPyEndAllowThreads(__tstate);
21507 if (PyErr_Occurred()) SWIG_fail;
21508 }
21509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21510 return resultobj;
21511 fail:
21512 return NULL;
21513 }
21514
21515
21516 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21517 PyObject *resultobj;
21518 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21519 bool result;
21520 PyObject * obj0 = 0 ;
21521 char *kwnames[] = {
21522 (char *) "self", NULL
21523 };
21524
21525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
21526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21528 {
21529 PyThreadState* __tstate = wxPyBeginAllowThreads();
21530 result = (bool)(arg1)->DeleteAllItems();
21531
21532 wxPyEndAllowThreads(__tstate);
21533 if (PyErr_Occurred()) SWIG_fail;
21534 }
21535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21536 return resultobj;
21537 fail:
21538 return NULL;
21539 }
21540
21541
21542 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21543 PyObject *resultobj;
21544 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21545 int arg2 ;
21546 bool result;
21547 PyObject * obj0 = 0 ;
21548 PyObject * obj1 = 0 ;
21549 char *kwnames[] = {
21550 (char *) "self",(char *) "col", NULL
21551 };
21552
21553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
21554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21556 arg2 = (int) SWIG_AsInt(obj1);
21557 if (PyErr_Occurred()) SWIG_fail;
21558 {
21559 PyThreadState* __tstate = wxPyBeginAllowThreads();
21560 result = (bool)(arg1)->DeleteColumn(arg2);
21561
21562 wxPyEndAllowThreads(__tstate);
21563 if (PyErr_Occurred()) SWIG_fail;
21564 }
21565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21566 return resultobj;
21567 fail:
21568 return NULL;
21569 }
21570
21571
21572 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
21573 PyObject *resultobj;
21574 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21575 bool result;
21576 PyObject * obj0 = 0 ;
21577 char *kwnames[] = {
21578 (char *) "self", NULL
21579 };
21580
21581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
21582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21584 {
21585 PyThreadState* __tstate = wxPyBeginAllowThreads();
21586 result = (bool)(arg1)->DeleteAllColumns();
21587
21588 wxPyEndAllowThreads(__tstate);
21589 if (PyErr_Occurred()) SWIG_fail;
21590 }
21591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21592 return resultobj;
21593 fail:
21594 return NULL;
21595 }
21596
21597
21598 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
21599 PyObject *resultobj;
21600 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21601 PyObject * obj0 = 0 ;
21602 char *kwnames[] = {
21603 (char *) "self", NULL
21604 };
21605
21606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
21607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21609 {
21610 PyThreadState* __tstate = wxPyBeginAllowThreads();
21611 (arg1)->ClearAll();
21612
21613 wxPyEndAllowThreads(__tstate);
21614 if (PyErr_Occurred()) SWIG_fail;
21615 }
21616 Py_INCREF(Py_None); resultobj = Py_None;
21617 return resultobj;
21618 fail:
21619 return NULL;
21620 }
21621
21622
21623 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21624 PyObject *resultobj;
21625 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21626 long arg2 ;
21627 PyObject * obj0 = 0 ;
21628 PyObject * obj1 = 0 ;
21629 char *kwnames[] = {
21630 (char *) "self",(char *) "item", NULL
21631 };
21632
21633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
21634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21636 arg2 = (long) SWIG_AsLong(obj1);
21637 if (PyErr_Occurred()) SWIG_fail;
21638 {
21639 PyThreadState* __tstate = wxPyBeginAllowThreads();
21640 (arg1)->EditLabel(arg2);
21641
21642 wxPyEndAllowThreads(__tstate);
21643 if (PyErr_Occurred()) SWIG_fail;
21644 }
21645 Py_INCREF(Py_None); resultobj = Py_None;
21646 return resultobj;
21647 fail:
21648 return NULL;
21649 }
21650
21651
21652 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21653 PyObject *resultobj;
21654 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21655 long arg2 ;
21656 bool result;
21657 PyObject * obj0 = 0 ;
21658 PyObject * obj1 = 0 ;
21659 char *kwnames[] = {
21660 (char *) "self",(char *) "item", NULL
21661 };
21662
21663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
21664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21666 arg2 = (long) SWIG_AsLong(obj1);
21667 if (PyErr_Occurred()) SWIG_fail;
21668 {
21669 PyThreadState* __tstate = wxPyBeginAllowThreads();
21670 result = (bool)(arg1)->EnsureVisible(arg2);
21671
21672 wxPyEndAllowThreads(__tstate);
21673 if (PyErr_Occurred()) SWIG_fail;
21674 }
21675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21676 return resultobj;
21677 fail:
21678 return NULL;
21679 }
21680
21681
21682 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21683 PyObject *resultobj;
21684 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21685 long arg2 ;
21686 wxString *arg3 = 0 ;
21687 bool arg4 = (bool) False ;
21688 long result;
21689 bool temp3 = False ;
21690 PyObject * obj0 = 0 ;
21691 PyObject * obj1 = 0 ;
21692 PyObject * obj2 = 0 ;
21693 PyObject * obj3 = 0 ;
21694 char *kwnames[] = {
21695 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21696 };
21697
21698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21701 arg2 = (long) SWIG_AsLong(obj1);
21702 if (PyErr_Occurred()) SWIG_fail;
21703 {
21704 arg3 = wxString_in_helper(obj2);
21705 if (arg3 == NULL) SWIG_fail;
21706 temp3 = True;
21707 }
21708 if (obj3) {
21709 arg4 = (bool) SWIG_AsBool(obj3);
21710 if (PyErr_Occurred()) SWIG_fail;
21711 }
21712 {
21713 PyThreadState* __tstate = wxPyBeginAllowThreads();
21714 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
21715
21716 wxPyEndAllowThreads(__tstate);
21717 if (PyErr_Occurred()) SWIG_fail;
21718 }
21719 resultobj = SWIG_FromLong((long)result);
21720 {
21721 if (temp3)
21722 delete arg3;
21723 }
21724 return resultobj;
21725 fail:
21726 {
21727 if (temp3)
21728 delete arg3;
21729 }
21730 return NULL;
21731 }
21732
21733
21734 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21735 PyObject *resultobj;
21736 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21737 long arg2 ;
21738 long arg3 ;
21739 long result;
21740 PyObject * obj0 = 0 ;
21741 PyObject * obj1 = 0 ;
21742 PyObject * obj2 = 0 ;
21743 char *kwnames[] = {
21744 (char *) "self",(char *) "start",(char *) "data", NULL
21745 };
21746
21747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21750 arg2 = (long) SWIG_AsLong(obj1);
21751 if (PyErr_Occurred()) SWIG_fail;
21752 arg3 = (long) SWIG_AsLong(obj2);
21753 if (PyErr_Occurred()) SWIG_fail;
21754 {
21755 PyThreadState* __tstate = wxPyBeginAllowThreads();
21756 result = (long)(arg1)->FindItem(arg2,arg3);
21757
21758 wxPyEndAllowThreads(__tstate);
21759 if (PyErr_Occurred()) SWIG_fail;
21760 }
21761 resultobj = SWIG_FromLong((long)result);
21762 return resultobj;
21763 fail:
21764 return NULL;
21765 }
21766
21767
21768 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
21769 PyObject *resultobj;
21770 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21771 long arg2 ;
21772 wxPoint *arg3 = 0 ;
21773 int arg4 ;
21774 long result;
21775 wxPoint temp3 ;
21776 PyObject * obj0 = 0 ;
21777 PyObject * obj1 = 0 ;
21778 PyObject * obj2 = 0 ;
21779 PyObject * obj3 = 0 ;
21780 char *kwnames[] = {
21781 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21782 };
21783
21784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21787 arg2 = (long) SWIG_AsLong(obj1);
21788 if (PyErr_Occurred()) SWIG_fail;
21789 {
21790 arg3 = &temp3;
21791 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21792 }
21793 arg4 = (int) SWIG_AsInt(obj3);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 {
21796 PyThreadState* __tstate = wxPyBeginAllowThreads();
21797 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
21798
21799 wxPyEndAllowThreads(__tstate);
21800 if (PyErr_Occurred()) SWIG_fail;
21801 }
21802 resultobj = SWIG_FromLong((long)result);
21803 return resultobj;
21804 fail:
21805 return NULL;
21806 }
21807
21808
21809 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
21810 PyObject *resultobj;
21811 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21812 wxPoint *arg2 = 0 ;
21813 int *arg3 = 0 ;
21814 long result;
21815 wxPoint temp2 ;
21816 int temp3 ;
21817 PyObject * obj0 = 0 ;
21818 PyObject * obj1 = 0 ;
21819 char *kwnames[] = {
21820 (char *) "self",(char *) "point", NULL
21821 };
21822
21823 arg3 = &temp3;
21824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
21825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21827 {
21828 arg2 = &temp2;
21829 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21830 }
21831 {
21832 PyThreadState* __tstate = wxPyBeginAllowThreads();
21833 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
21834
21835 wxPyEndAllowThreads(__tstate);
21836 if (PyErr_Occurred()) SWIG_fail;
21837 }
21838 resultobj = SWIG_FromLong((long)result);
21839 {
21840 PyObject *o = PyInt_FromLong((long) (*arg3));
21841 resultobj = t_output_helper(resultobj,o);
21842 }
21843 return resultobj;
21844 fail:
21845 return NULL;
21846 }
21847
21848
21849 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21850 PyObject *resultobj;
21851 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21852 wxListItem *arg2 = 0 ;
21853 long result;
21854 PyObject * obj0 = 0 ;
21855 PyObject * obj1 = 0 ;
21856 char *kwnames[] = {
21857 (char *) "self",(char *) "info", NULL
21858 };
21859
21860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
21861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21863 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
21864 SWIG_POINTER_EXCEPTION | 0)) == -1)
21865 SWIG_fail;
21866 if (arg2 == NULL) {
21867 PyErr_SetString(PyExc_TypeError,"null reference");
21868 SWIG_fail;
21869 }
21870 {
21871 PyThreadState* __tstate = wxPyBeginAllowThreads();
21872 result = (long)(arg1)->InsertItem(*arg2);
21873
21874 wxPyEndAllowThreads(__tstate);
21875 if (PyErr_Occurred()) SWIG_fail;
21876 }
21877 resultobj = SWIG_FromLong((long)result);
21878 return resultobj;
21879 fail:
21880 return NULL;
21881 }
21882
21883
21884 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21885 PyObject *resultobj;
21886 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21887 long arg2 ;
21888 wxString *arg3 = 0 ;
21889 long result;
21890 bool temp3 = False ;
21891 PyObject * obj0 = 0 ;
21892 PyObject * obj1 = 0 ;
21893 PyObject * obj2 = 0 ;
21894 char *kwnames[] = {
21895 (char *) "self",(char *) "index",(char *) "label", NULL
21896 };
21897
21898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21901 arg2 = (long) SWIG_AsLong(obj1);
21902 if (PyErr_Occurred()) SWIG_fail;
21903 {
21904 arg3 = wxString_in_helper(obj2);
21905 if (arg3 == NULL) SWIG_fail;
21906 temp3 = True;
21907 }
21908 {
21909 PyThreadState* __tstate = wxPyBeginAllowThreads();
21910 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
21911
21912 wxPyEndAllowThreads(__tstate);
21913 if (PyErr_Occurred()) SWIG_fail;
21914 }
21915 resultobj = SWIG_FromLong((long)result);
21916 {
21917 if (temp3)
21918 delete arg3;
21919 }
21920 return resultobj;
21921 fail:
21922 {
21923 if (temp3)
21924 delete arg3;
21925 }
21926 return NULL;
21927 }
21928
21929
21930 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21931 PyObject *resultobj;
21932 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21933 long arg2 ;
21934 int arg3 ;
21935 long result;
21936 PyObject * obj0 = 0 ;
21937 PyObject * obj1 = 0 ;
21938 PyObject * obj2 = 0 ;
21939 char *kwnames[] = {
21940 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21941 };
21942
21943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21946 arg2 = (long) SWIG_AsLong(obj1);
21947 if (PyErr_Occurred()) SWIG_fail;
21948 arg3 = (int) SWIG_AsInt(obj2);
21949 if (PyErr_Occurred()) SWIG_fail;
21950 {
21951 PyThreadState* __tstate = wxPyBeginAllowThreads();
21952 result = (long)(arg1)->InsertItem(arg2,arg3);
21953
21954 wxPyEndAllowThreads(__tstate);
21955 if (PyErr_Occurred()) SWIG_fail;
21956 }
21957 resultobj = SWIG_FromLong((long)result);
21958 return resultobj;
21959 fail:
21960 return NULL;
21961 }
21962
21963
21964 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21965 PyObject *resultobj;
21966 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21967 long arg2 ;
21968 wxString *arg3 = 0 ;
21969 int arg4 ;
21970 long result;
21971 bool temp3 = False ;
21972 PyObject * obj0 = 0 ;
21973 PyObject * obj1 = 0 ;
21974 PyObject * obj2 = 0 ;
21975 PyObject * obj3 = 0 ;
21976 char *kwnames[] = {
21977 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21978 };
21979
21980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21983 arg2 = (long) SWIG_AsLong(obj1);
21984 if (PyErr_Occurred()) SWIG_fail;
21985 {
21986 arg3 = wxString_in_helper(obj2);
21987 if (arg3 == NULL) SWIG_fail;
21988 temp3 = True;
21989 }
21990 arg4 = (int) SWIG_AsInt(obj3);
21991 if (PyErr_Occurred()) SWIG_fail;
21992 {
21993 PyThreadState* __tstate = wxPyBeginAllowThreads();
21994 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
21995
21996 wxPyEndAllowThreads(__tstate);
21997 if (PyErr_Occurred()) SWIG_fail;
21998 }
21999 resultobj = SWIG_FromLong((long)result);
22000 {
22001 if (temp3)
22002 delete arg3;
22003 }
22004 return resultobj;
22005 fail:
22006 {
22007 if (temp3)
22008 delete arg3;
22009 }
22010 return NULL;
22011 }
22012
22013
22014 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22015 PyObject *resultobj;
22016 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22017 long arg2 ;
22018 wxListItem *arg3 = 0 ;
22019 long result;
22020 PyObject * obj0 = 0 ;
22021 PyObject * obj1 = 0 ;
22022 PyObject * obj2 = 0 ;
22023 char *kwnames[] = {
22024 (char *) "self",(char *) "col",(char *) "info", NULL
22025 };
22026
22027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22030 arg2 = (long) SWIG_AsLong(obj1);
22031 if (PyErr_Occurred()) SWIG_fail;
22032 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
22033 SWIG_POINTER_EXCEPTION | 0)) == -1)
22034 SWIG_fail;
22035 if (arg3 == NULL) {
22036 PyErr_SetString(PyExc_TypeError,"null reference");
22037 SWIG_fail;
22038 }
22039 {
22040 PyThreadState* __tstate = wxPyBeginAllowThreads();
22041 result = (long)(arg1)->InsertColumn(arg2,*arg3);
22042
22043 wxPyEndAllowThreads(__tstate);
22044 if (PyErr_Occurred()) SWIG_fail;
22045 }
22046 resultobj = SWIG_FromLong((long)result);
22047 return resultobj;
22048 fail:
22049 return NULL;
22050 }
22051
22052
22053 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22054 PyObject *resultobj;
22055 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22056 long arg2 ;
22057 wxString *arg3 = 0 ;
22058 int arg4 = (int) wxLIST_FORMAT_LEFT ;
22059 int arg5 = (int) -1 ;
22060 long result;
22061 bool temp3 = False ;
22062 PyObject * obj0 = 0 ;
22063 PyObject * obj1 = 0 ;
22064 PyObject * obj2 = 0 ;
22065 PyObject * obj3 = 0 ;
22066 PyObject * obj4 = 0 ;
22067 char *kwnames[] = {
22068 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22069 };
22070
22071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22074 arg2 = (long) SWIG_AsLong(obj1);
22075 if (PyErr_Occurred()) SWIG_fail;
22076 {
22077 arg3 = wxString_in_helper(obj2);
22078 if (arg3 == NULL) SWIG_fail;
22079 temp3 = True;
22080 }
22081 if (obj3) {
22082 arg4 = (int) SWIG_AsInt(obj3);
22083 if (PyErr_Occurred()) SWIG_fail;
22084 }
22085 if (obj4) {
22086 arg5 = (int) SWIG_AsInt(obj4);
22087 if (PyErr_Occurred()) SWIG_fail;
22088 }
22089 {
22090 PyThreadState* __tstate = wxPyBeginAllowThreads();
22091 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
22092
22093 wxPyEndAllowThreads(__tstate);
22094 if (PyErr_Occurred()) SWIG_fail;
22095 }
22096 resultobj = SWIG_FromLong((long)result);
22097 {
22098 if (temp3)
22099 delete arg3;
22100 }
22101 return resultobj;
22102 fail:
22103 {
22104 if (temp3)
22105 delete arg3;
22106 }
22107 return NULL;
22108 }
22109
22110
22111 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22112 PyObject *resultobj;
22113 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22114 long arg2 ;
22115 PyObject * obj0 = 0 ;
22116 PyObject * obj1 = 0 ;
22117 char *kwnames[] = {
22118 (char *) "self",(char *) "count", NULL
22119 };
22120
22121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
22122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22124 arg2 = (long) SWIG_AsLong(obj1);
22125 if (PyErr_Occurred()) SWIG_fail;
22126 {
22127 PyThreadState* __tstate = wxPyBeginAllowThreads();
22128 (arg1)->SetItemCount(arg2);
22129
22130 wxPyEndAllowThreads(__tstate);
22131 if (PyErr_Occurred()) SWIG_fail;
22132 }
22133 Py_INCREF(Py_None); resultobj = Py_None;
22134 return resultobj;
22135 fail:
22136 return NULL;
22137 }
22138
22139
22140 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
22141 PyObject *resultobj;
22142 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22143 int arg2 ;
22144 int arg3 ;
22145 bool result;
22146 PyObject * obj0 = 0 ;
22147 PyObject * obj1 = 0 ;
22148 PyObject * obj2 = 0 ;
22149 char *kwnames[] = {
22150 (char *) "self",(char *) "dx",(char *) "dy", NULL
22151 };
22152
22153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22156 arg2 = (int) SWIG_AsInt(obj1);
22157 if (PyErr_Occurred()) SWIG_fail;
22158 arg3 = (int) SWIG_AsInt(obj2);
22159 if (PyErr_Occurred()) SWIG_fail;
22160 {
22161 PyThreadState* __tstate = wxPyBeginAllowThreads();
22162 result = (bool)(arg1)->ScrollList(arg2,arg3);
22163
22164 wxPyEndAllowThreads(__tstate);
22165 if (PyErr_Occurred()) SWIG_fail;
22166 }
22167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22168 return resultobj;
22169 fail:
22170 return NULL;
22171 }
22172
22173
22174 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22175 PyObject *resultobj;
22176 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22177 long arg2 ;
22178 wxColour *arg3 = 0 ;
22179 wxColour temp3 ;
22180 PyObject * obj0 = 0 ;
22181 PyObject * obj1 = 0 ;
22182 PyObject * obj2 = 0 ;
22183 char *kwnames[] = {
22184 (char *) "self",(char *) "item",(char *) "col", NULL
22185 };
22186
22187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22190 arg2 = (long) SWIG_AsLong(obj1);
22191 if (PyErr_Occurred()) SWIG_fail;
22192 {
22193 arg3 = &temp3;
22194 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22195 }
22196 {
22197 PyThreadState* __tstate = wxPyBeginAllowThreads();
22198 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
22199
22200 wxPyEndAllowThreads(__tstate);
22201 if (PyErr_Occurred()) SWIG_fail;
22202 }
22203 Py_INCREF(Py_None); resultobj = Py_None;
22204 return resultobj;
22205 fail:
22206 return NULL;
22207 }
22208
22209
22210 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22211 PyObject *resultobj;
22212 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22213 long arg2 ;
22214 wxColour result;
22215 PyObject * obj0 = 0 ;
22216 PyObject * obj1 = 0 ;
22217 char *kwnames[] = {
22218 (char *) "self",(char *) "item", NULL
22219 };
22220
22221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
22222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22224 arg2 = (long) SWIG_AsLong(obj1);
22225 if (PyErr_Occurred()) SWIG_fail;
22226 {
22227 PyThreadState* __tstate = wxPyBeginAllowThreads();
22228 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
22229
22230 wxPyEndAllowThreads(__tstate);
22231 if (PyErr_Occurred()) SWIG_fail;
22232 }
22233 {
22234 wxColour * resultptr;
22235 resultptr = new wxColour((wxColour &) result);
22236 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22237 }
22238 return resultobj;
22239 fail:
22240 return NULL;
22241 }
22242
22243
22244 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22245 PyObject *resultobj;
22246 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22247 long arg2 ;
22248 wxColour *arg3 = 0 ;
22249 wxColour temp3 ;
22250 PyObject * obj0 = 0 ;
22251 PyObject * obj1 = 0 ;
22252 PyObject * obj2 = 0 ;
22253 char *kwnames[] = {
22254 (char *) "self",(char *) "item",(char *) "col", NULL
22255 };
22256
22257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22260 arg2 = (long) SWIG_AsLong(obj1);
22261 if (PyErr_Occurred()) SWIG_fail;
22262 {
22263 arg3 = &temp3;
22264 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22265 }
22266 {
22267 PyThreadState* __tstate = wxPyBeginAllowThreads();
22268 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
22269
22270 wxPyEndAllowThreads(__tstate);
22271 if (PyErr_Occurred()) SWIG_fail;
22272 }
22273 Py_INCREF(Py_None); resultobj = Py_None;
22274 return resultobj;
22275 fail:
22276 return NULL;
22277 }
22278
22279
22280 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22281 PyObject *resultobj;
22282 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22283 long arg2 ;
22284 wxColour result;
22285 PyObject * obj0 = 0 ;
22286 PyObject * obj1 = 0 ;
22287 char *kwnames[] = {
22288 (char *) "self",(char *) "item", NULL
22289 };
22290
22291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22294 arg2 = (long) SWIG_AsLong(obj1);
22295 if (PyErr_Occurred()) SWIG_fail;
22296 {
22297 PyThreadState* __tstate = wxPyBeginAllowThreads();
22298 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
22299
22300 wxPyEndAllowThreads(__tstate);
22301 if (PyErr_Occurred()) SWIG_fail;
22302 }
22303 {
22304 wxColour * resultptr;
22305 resultptr = new wxColour((wxColour &) result);
22306 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22307 }
22308 return resultobj;
22309 fail:
22310 return NULL;
22311 }
22312
22313
22314 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22315 PyObject *resultobj;
22316 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22317 PyObject *arg2 = (PyObject *) 0 ;
22318 bool result;
22319 PyObject * obj0 = 0 ;
22320 PyObject * obj1 = 0 ;
22321 char *kwnames[] = {
22322 (char *) "self",(char *) "func", NULL
22323 };
22324
22325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
22326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22328 arg2 = obj1;
22329 {
22330 PyThreadState* __tstate = wxPyBeginAllowThreads();
22331 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
22332
22333 wxPyEndAllowThreads(__tstate);
22334 if (PyErr_Occurred()) SWIG_fail;
22335 }
22336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22337 return resultobj;
22338 fail:
22339 return NULL;
22340 }
22341
22342
22343 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
22344 PyObject *resultobj;
22345 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22346 wxWindow *result;
22347 PyObject * obj0 = 0 ;
22348 char *kwnames[] = {
22349 (char *) "self", NULL
22350 };
22351
22352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
22353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22355 {
22356 PyThreadState* __tstate = wxPyBeginAllowThreads();
22357 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
22358
22359 wxPyEndAllowThreads(__tstate);
22360 if (PyErr_Occurred()) SWIG_fail;
22361 }
22362 {
22363 resultobj = wxPyMake_wxObject(result);
22364 }
22365 return resultobj;
22366 fail:
22367 return NULL;
22368 }
22369
22370
22371 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
22372 PyObject *obj;
22373 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22374 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
22375 Py_INCREF(obj);
22376 return Py_BuildValue((char *)"");
22377 }
22378 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22379 PyObject *resultobj;
22380 wxWindow *arg1 = (wxWindow *) 0 ;
22381 int arg2 = (int) -1 ;
22382 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22383 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22384 wxSize const &arg4_defvalue = wxDefaultSize ;
22385 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22386 long arg5 = (long) wxLC_REPORT ;
22387 wxValidator const &arg6_defvalue = wxDefaultValidator ;
22388 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
22389 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
22390 wxString *arg7 = (wxString *) &arg7_defvalue ;
22391 wxListView *result;
22392 wxPoint temp3 ;
22393 wxSize temp4 ;
22394 bool temp7 = False ;
22395 PyObject * obj0 = 0 ;
22396 PyObject * obj1 = 0 ;
22397 PyObject * obj2 = 0 ;
22398 PyObject * obj3 = 0 ;
22399 PyObject * obj4 = 0 ;
22400 PyObject * obj5 = 0 ;
22401 PyObject * obj6 = 0 ;
22402 char *kwnames[] = {
22403 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22404 };
22405
22406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22409 if (obj1) {
22410 arg2 = (int) SWIG_AsInt(obj1);
22411 if (PyErr_Occurred()) SWIG_fail;
22412 }
22413 if (obj2) {
22414 {
22415 arg3 = &temp3;
22416 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22417 }
22418 }
22419 if (obj3) {
22420 {
22421 arg4 = &temp4;
22422 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22423 }
22424 }
22425 if (obj4) {
22426 arg5 = (long) SWIG_AsLong(obj4);
22427 if (PyErr_Occurred()) SWIG_fail;
22428 }
22429 if (obj5) {
22430 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
22431 SWIG_POINTER_EXCEPTION | 0)) == -1)
22432 SWIG_fail;
22433 if (arg6 == NULL) {
22434 PyErr_SetString(PyExc_TypeError,"null reference");
22435 SWIG_fail;
22436 }
22437 }
22438 if (obj6) {
22439 {
22440 arg7 = wxString_in_helper(obj6);
22441 if (arg7 == NULL) SWIG_fail;
22442 temp7 = True;
22443 }
22444 }
22445 {
22446 PyThreadState* __tstate = wxPyBeginAllowThreads();
22447 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22448
22449 wxPyEndAllowThreads(__tstate);
22450 if (PyErr_Occurred()) SWIG_fail;
22451 }
22452 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22453 {
22454 if (temp7)
22455 delete arg7;
22456 }
22457 return resultobj;
22458 fail:
22459 {
22460 if (temp7)
22461 delete arg7;
22462 }
22463 return NULL;
22464 }
22465
22466
22467 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22468 PyObject *resultobj;
22469 wxListView *result;
22470 char *kwnames[] = {
22471 NULL
22472 };
22473
22474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22475 {
22476 PyThreadState* __tstate = wxPyBeginAllowThreads();
22477 result = (wxListView *)new wxListView();
22478
22479 wxPyEndAllowThreads(__tstate);
22480 if (PyErr_Occurred()) SWIG_fail;
22481 }
22482 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22483 return resultobj;
22484 fail:
22485 return NULL;
22486 }
22487
22488
22489 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22490 PyObject *resultobj;
22491 wxListView *arg1 = (wxListView *) 0 ;
22492 wxWindow *arg2 = (wxWindow *) 0 ;
22493 int arg3 = (int) -1 ;
22494 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22495 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22496 wxSize const &arg5_defvalue = wxDefaultSize ;
22497 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22498 long arg6 = (long) wxLC_REPORT ;
22499 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22500 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22501 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22502 wxString *arg8 = (wxString *) &arg8_defvalue ;
22503 bool result;
22504 wxPoint temp4 ;
22505 wxSize temp5 ;
22506 bool temp8 = False ;
22507 PyObject * obj0 = 0 ;
22508 PyObject * obj1 = 0 ;
22509 PyObject * obj2 = 0 ;
22510 PyObject * obj3 = 0 ;
22511 PyObject * obj4 = 0 ;
22512 PyObject * obj5 = 0 ;
22513 PyObject * obj6 = 0 ;
22514 PyObject * obj7 = 0 ;
22515 char *kwnames[] = {
22516 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22517 };
22518
22519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
22520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22524 if (obj2) {
22525 arg3 = (int) SWIG_AsInt(obj2);
22526 if (PyErr_Occurred()) SWIG_fail;
22527 }
22528 if (obj3) {
22529 {
22530 arg4 = &temp4;
22531 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22532 }
22533 }
22534 if (obj4) {
22535 {
22536 arg5 = &temp5;
22537 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22538 }
22539 }
22540 if (obj5) {
22541 arg6 = (long) SWIG_AsLong(obj5);
22542 if (PyErr_Occurred()) SWIG_fail;
22543 }
22544 if (obj6) {
22545 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
22546 SWIG_POINTER_EXCEPTION | 0)) == -1)
22547 SWIG_fail;
22548 if (arg7 == NULL) {
22549 PyErr_SetString(PyExc_TypeError,"null reference");
22550 SWIG_fail;
22551 }
22552 }
22553 if (obj7) {
22554 {
22555 arg8 = wxString_in_helper(obj7);
22556 if (arg8 == NULL) SWIG_fail;
22557 temp8 = True;
22558 }
22559 }
22560 {
22561 PyThreadState* __tstate = wxPyBeginAllowThreads();
22562 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22563
22564 wxPyEndAllowThreads(__tstate);
22565 if (PyErr_Occurred()) SWIG_fail;
22566 }
22567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22568 {
22569 if (temp8)
22570 delete arg8;
22571 }
22572 return resultobj;
22573 fail:
22574 {
22575 if (temp8)
22576 delete arg8;
22577 }
22578 return NULL;
22579 }
22580
22581
22582 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
22583 PyObject *resultobj;
22584 wxListView *arg1 = (wxListView *) 0 ;
22585 long arg2 ;
22586 bool arg3 = (bool) True ;
22587 PyObject * obj0 = 0 ;
22588 PyObject * obj1 = 0 ;
22589 PyObject * obj2 = 0 ;
22590 char *kwnames[] = {
22591 (char *) "self",(char *) "n",(char *) "on", NULL
22592 };
22593
22594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
22595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22597 arg2 = (long) SWIG_AsLong(obj1);
22598 if (PyErr_Occurred()) SWIG_fail;
22599 if (obj2) {
22600 arg3 = (bool) SWIG_AsBool(obj2);
22601 if (PyErr_Occurred()) SWIG_fail;
22602 }
22603 {
22604 PyThreadState* __tstate = wxPyBeginAllowThreads();
22605 (arg1)->Select(arg2,arg3);
22606
22607 wxPyEndAllowThreads(__tstate);
22608 if (PyErr_Occurred()) SWIG_fail;
22609 }
22610 Py_INCREF(Py_None); resultobj = Py_None;
22611 return resultobj;
22612 fail:
22613 return NULL;
22614 }
22615
22616
22617 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
22618 PyObject *resultobj;
22619 wxListView *arg1 = (wxListView *) 0 ;
22620 long arg2 ;
22621 PyObject * obj0 = 0 ;
22622 PyObject * obj1 = 0 ;
22623 char *kwnames[] = {
22624 (char *) "self",(char *) "index", NULL
22625 };
22626
22627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
22628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22630 arg2 = (long) SWIG_AsLong(obj1);
22631 if (PyErr_Occurred()) SWIG_fail;
22632 {
22633 PyThreadState* __tstate = wxPyBeginAllowThreads();
22634 (arg1)->Focus(arg2);
22635
22636 wxPyEndAllowThreads(__tstate);
22637 if (PyErr_Occurred()) SWIG_fail;
22638 }
22639 Py_INCREF(Py_None); resultobj = Py_None;
22640 return resultobj;
22641 fail:
22642 return NULL;
22643 }
22644
22645
22646 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22647 PyObject *resultobj;
22648 wxListView *arg1 = (wxListView *) 0 ;
22649 long result;
22650 PyObject * obj0 = 0 ;
22651 char *kwnames[] = {
22652 (char *) "self", NULL
22653 };
22654
22655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
22656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22658 {
22659 PyThreadState* __tstate = wxPyBeginAllowThreads();
22660 result = (long)((wxListView const *)arg1)->GetFocusedItem();
22661
22662 wxPyEndAllowThreads(__tstate);
22663 if (PyErr_Occurred()) SWIG_fail;
22664 }
22665 resultobj = SWIG_FromLong((long)result);
22666 return resultobj;
22667 fail:
22668 return NULL;
22669 }
22670
22671
22672 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22673 PyObject *resultobj;
22674 wxListView *arg1 = (wxListView *) 0 ;
22675 long arg2 ;
22676 long result;
22677 PyObject * obj0 = 0 ;
22678 PyObject * obj1 = 0 ;
22679 char *kwnames[] = {
22680 (char *) "self",(char *) "item", NULL
22681 };
22682
22683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
22684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22686 arg2 = (long) SWIG_AsLong(obj1);
22687 if (PyErr_Occurred()) SWIG_fail;
22688 {
22689 PyThreadState* __tstate = wxPyBeginAllowThreads();
22690 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
22691
22692 wxPyEndAllowThreads(__tstate);
22693 if (PyErr_Occurred()) SWIG_fail;
22694 }
22695 resultobj = SWIG_FromLong((long)result);
22696 return resultobj;
22697 fail:
22698 return NULL;
22699 }
22700
22701
22702 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22703 PyObject *resultobj;
22704 wxListView *arg1 = (wxListView *) 0 ;
22705 long result;
22706 PyObject * obj0 = 0 ;
22707 char *kwnames[] = {
22708 (char *) "self", NULL
22709 };
22710
22711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
22712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22714 {
22715 PyThreadState* __tstate = wxPyBeginAllowThreads();
22716 result = (long)((wxListView const *)arg1)->GetFirstSelected();
22717
22718 wxPyEndAllowThreads(__tstate);
22719 if (PyErr_Occurred()) SWIG_fail;
22720 }
22721 resultobj = SWIG_FromLong((long)result);
22722 return resultobj;
22723 fail:
22724 return NULL;
22725 }
22726
22727
22728 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22729 PyObject *resultobj;
22730 wxListView *arg1 = (wxListView *) 0 ;
22731 long arg2 ;
22732 bool result;
22733 PyObject * obj0 = 0 ;
22734 PyObject * obj1 = 0 ;
22735 char *kwnames[] = {
22736 (char *) "self",(char *) "index", NULL
22737 };
22738
22739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22742 arg2 = (long) SWIG_AsLong(obj1);
22743 if (PyErr_Occurred()) SWIG_fail;
22744 {
22745 PyThreadState* __tstate = wxPyBeginAllowThreads();
22746 result = (bool)(arg1)->IsSelected(arg2);
22747
22748 wxPyEndAllowThreads(__tstate);
22749 if (PyErr_Occurred()) SWIG_fail;
22750 }
22751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22752 return resultobj;
22753 fail:
22754 return NULL;
22755 }
22756
22757
22758 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22759 PyObject *resultobj;
22760 wxListView *arg1 = (wxListView *) 0 ;
22761 int arg2 ;
22762 int arg3 ;
22763 PyObject * obj0 = 0 ;
22764 PyObject * obj1 = 0 ;
22765 PyObject * obj2 = 0 ;
22766 char *kwnames[] = {
22767 (char *) "self",(char *) "col",(char *) "image", NULL
22768 };
22769
22770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22773 arg2 = (int) SWIG_AsInt(obj1);
22774 if (PyErr_Occurred()) SWIG_fail;
22775 arg3 = (int) SWIG_AsInt(obj2);
22776 if (PyErr_Occurred()) SWIG_fail;
22777 {
22778 PyThreadState* __tstate = wxPyBeginAllowThreads();
22779 (arg1)->SetColumnImage(arg2,arg3);
22780
22781 wxPyEndAllowThreads(__tstate);
22782 if (PyErr_Occurred()) SWIG_fail;
22783 }
22784 Py_INCREF(Py_None); resultobj = Py_None;
22785 return resultobj;
22786 fail:
22787 return NULL;
22788 }
22789
22790
22791 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22792 PyObject *resultobj;
22793 wxListView *arg1 = (wxListView *) 0 ;
22794 int arg2 ;
22795 PyObject * obj0 = 0 ;
22796 PyObject * obj1 = 0 ;
22797 char *kwnames[] = {
22798 (char *) "self",(char *) "col", NULL
22799 };
22800
22801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
22802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22804 arg2 = (int) SWIG_AsInt(obj1);
22805 if (PyErr_Occurred()) SWIG_fail;
22806 {
22807 PyThreadState* __tstate = wxPyBeginAllowThreads();
22808 (arg1)->ClearColumnImage(arg2);
22809
22810 wxPyEndAllowThreads(__tstate);
22811 if (PyErr_Occurred()) SWIG_fail;
22812 }
22813 Py_INCREF(Py_None); resultobj = Py_None;
22814 return resultobj;
22815 fail:
22816 return NULL;
22817 }
22818
22819
22820 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
22821 PyObject *obj;
22822 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22823 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
22824 Py_INCREF(obj);
22825 return Py_BuildValue((char *)"");
22826 }
22827 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
22828 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
22829 return 1;
22830 }
22831
22832
22833 static PyObject *_wrap_TreeCtrlNameStr_get() {
22834 PyObject *pyobj;
22835
22836 {
22837 #if wxUSE_UNICODE
22838 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22839 #else
22840 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22841 #endif
22842 }
22843 return pyobj;
22844 }
22845
22846
22847 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22848 PyObject *resultobj;
22849 wxTreeItemId *result;
22850 char *kwnames[] = {
22851 NULL
22852 };
22853
22854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
22855 {
22856 PyThreadState* __tstate = wxPyBeginAllowThreads();
22857 result = (wxTreeItemId *)new wxTreeItemId();
22858
22859 wxPyEndAllowThreads(__tstate);
22860 if (PyErr_Occurred()) SWIG_fail;
22861 }
22862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
22863 return resultobj;
22864 fail:
22865 return NULL;
22866 }
22867
22868
22869 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22870 PyObject *resultobj;
22871 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22872 PyObject * obj0 = 0 ;
22873 char *kwnames[] = {
22874 (char *) "self", NULL
22875 };
22876
22877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
22878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22880 {
22881 PyThreadState* __tstate = wxPyBeginAllowThreads();
22882 delete arg1;
22883
22884 wxPyEndAllowThreads(__tstate);
22885 if (PyErr_Occurred()) SWIG_fail;
22886 }
22887 Py_INCREF(Py_None); resultobj = Py_None;
22888 return resultobj;
22889 fail:
22890 return NULL;
22891 }
22892
22893
22894 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
22895 PyObject *resultobj;
22896 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22897 bool result;
22898 PyObject * obj0 = 0 ;
22899 char *kwnames[] = {
22900 (char *) "self", NULL
22901 };
22902
22903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
22904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22906 {
22907 PyThreadState* __tstate = wxPyBeginAllowThreads();
22908 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
22909
22910 wxPyEndAllowThreads(__tstate);
22911 if (PyErr_Occurred()) SWIG_fail;
22912 }
22913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22914 return resultobj;
22915 fail:
22916 return NULL;
22917 }
22918
22919
22920 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
22921 PyObject *resultobj;
22922 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22923 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22924 bool result;
22925 PyObject * obj0 = 0 ;
22926 PyObject * obj1 = 0 ;
22927 char *kwnames[] = {
22928 (char *) "self",(char *) "other", NULL
22929 };
22930
22931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
22932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22934 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
22935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22936 {
22937 PyThreadState* __tstate = wxPyBeginAllowThreads();
22938 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
22939
22940 wxPyEndAllowThreads(__tstate);
22941 if (PyErr_Occurred()) SWIG_fail;
22942 }
22943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22944 return resultobj;
22945 fail:
22946 return NULL;
22947 }
22948
22949
22950 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
22951 PyObject *resultobj;
22952 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22953 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22954 bool result;
22955 PyObject * obj0 = 0 ;
22956 PyObject * obj1 = 0 ;
22957 char *kwnames[] = {
22958 (char *) "self",(char *) "other", NULL
22959 };
22960
22961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
22962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22964 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
22965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22966 {
22967 PyThreadState* __tstate = wxPyBeginAllowThreads();
22968 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
22969
22970 wxPyEndAllowThreads(__tstate);
22971 if (PyErr_Occurred()) SWIG_fail;
22972 }
22973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22974 return resultobj;
22975 fail:
22976 return NULL;
22977 }
22978
22979
22980 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
22981 PyObject *resultobj;
22982 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22983 void *arg2 = (void *) 0 ;
22984 PyObject * obj0 = 0 ;
22985 PyObject * obj1 = 0 ;
22986 char *kwnames[] = {
22987 (char *) "self",(char *) "m_pItem", NULL
22988 };
22989
22990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
22991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22993 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22994 if (arg1) (arg1)->m_pItem = arg2;
22995
22996 Py_INCREF(Py_None); resultobj = Py_None;
22997 return resultobj;
22998 fail:
22999 return NULL;
23000 }
23001
23002
23003 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
23004 PyObject *resultobj;
23005 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23006 void *result;
23007 PyObject * obj0 = 0 ;
23008 char *kwnames[] = {
23009 (char *) "self", NULL
23010 };
23011
23012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
23013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23015 result = (void *) ((arg1)->m_pItem);
23016
23017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
23018 return resultobj;
23019 fail:
23020 return NULL;
23021 }
23022
23023
23024 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
23025 PyObject *obj;
23026 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23027 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
23028 Py_INCREF(obj);
23029 return Py_BuildValue((char *)"");
23030 }
23031 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
23032 PyObject *resultobj;
23033 PyObject *arg1 = (PyObject *) NULL ;
23034 wxPyTreeItemData *result;
23035 PyObject * obj0 = 0 ;
23036 char *kwnames[] = {
23037 (char *) "obj", NULL
23038 };
23039
23040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
23041 if (obj0) {
23042 arg1 = obj0;
23043 }
23044 {
23045 PyThreadState* __tstate = wxPyBeginAllowThreads();
23046 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
23047
23048 wxPyEndAllowThreads(__tstate);
23049 if (PyErr_Occurred()) SWIG_fail;
23050 }
23051 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
23052 return resultobj;
23053 fail:
23054 return NULL;
23055 }
23056
23057
23058 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23059 PyObject *resultobj;
23060 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23061 PyObject *result;
23062 PyObject * obj0 = 0 ;
23063 char *kwnames[] = {
23064 (char *) "self", NULL
23065 };
23066
23067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
23068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23070 {
23071 PyThreadState* __tstate = wxPyBeginAllowThreads();
23072 result = (PyObject *)(arg1)->GetData();
23073
23074 wxPyEndAllowThreads(__tstate);
23075 if (PyErr_Occurred()) SWIG_fail;
23076 }
23077 resultobj = result;
23078 return resultobj;
23079 fail:
23080 return NULL;
23081 }
23082
23083
23084 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23085 PyObject *resultobj;
23086 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23087 PyObject *arg2 = (PyObject *) 0 ;
23088 PyObject * obj0 = 0 ;
23089 PyObject * obj1 = 0 ;
23090 char *kwnames[] = {
23091 (char *) "self",(char *) "obj", NULL
23092 };
23093
23094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
23095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23097 arg2 = obj1;
23098 {
23099 PyThreadState* __tstate = wxPyBeginAllowThreads();
23100 (arg1)->SetData(arg2);
23101
23102 wxPyEndAllowThreads(__tstate);
23103 if (PyErr_Occurred()) SWIG_fail;
23104 }
23105 Py_INCREF(Py_None); resultobj = Py_None;
23106 return resultobj;
23107 fail:
23108 return NULL;
23109 }
23110
23111
23112 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23113 PyObject *resultobj;
23114 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23115 wxTreeItemId *result;
23116 PyObject * obj0 = 0 ;
23117 char *kwnames[] = {
23118 (char *) "self", NULL
23119 };
23120
23121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
23122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23124 {
23125 PyThreadState* __tstate = wxPyBeginAllowThreads();
23126 {
23127 wxTreeItemId const &_result_ref = (arg1)->GetId();
23128 result = (wxTreeItemId *) &_result_ref;
23129 }
23130
23131 wxPyEndAllowThreads(__tstate);
23132 if (PyErr_Occurred()) SWIG_fail;
23133 }
23134 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
23135 return resultobj;
23136 fail:
23137 return NULL;
23138 }
23139
23140
23141 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23142 PyObject *resultobj;
23143 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23144 wxTreeItemId *arg2 = 0 ;
23145 PyObject * obj0 = 0 ;
23146 PyObject * obj1 = 0 ;
23147 char *kwnames[] = {
23148 (char *) "self",(char *) "id", NULL
23149 };
23150
23151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
23152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23154 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23155 SWIG_POINTER_EXCEPTION | 0)) == -1)
23156 SWIG_fail;
23157 if (arg2 == NULL) {
23158 PyErr_SetString(PyExc_TypeError,"null reference");
23159 SWIG_fail;
23160 }
23161 {
23162 PyThreadState* __tstate = wxPyBeginAllowThreads();
23163 (arg1)->SetId((wxTreeItemId const &)*arg2);
23164
23165 wxPyEndAllowThreads(__tstate);
23166 if (PyErr_Occurred()) SWIG_fail;
23167 }
23168 Py_INCREF(Py_None); resultobj = Py_None;
23169 return resultobj;
23170 fail:
23171 return NULL;
23172 }
23173
23174
23175 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
23176 PyObject *resultobj;
23177 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23178 PyObject * obj0 = 0 ;
23179 char *kwnames[] = {
23180 (char *) "self", NULL
23181 };
23182
23183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
23184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23186 {
23187 PyThreadState* __tstate = wxPyBeginAllowThreads();
23188 wxPyTreeItemData_Destroy(arg1);
23189
23190 wxPyEndAllowThreads(__tstate);
23191 if (PyErr_Occurred()) SWIG_fail;
23192 }
23193 Py_INCREF(Py_None); resultobj = Py_None;
23194 return resultobj;
23195 fail:
23196 return NULL;
23197 }
23198
23199
23200 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
23201 PyObject *obj;
23202 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23203 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
23204 Py_INCREF(obj);
23205 return Py_BuildValue((char *)"");
23206 }
23207 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23208 PyObject *resultobj;
23209 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23210 int arg2 = (int) 0 ;
23211 wxTreeEvent *result;
23212 PyObject * obj0 = 0 ;
23213 PyObject * obj1 = 0 ;
23214 char *kwnames[] = {
23215 (char *) "commandType",(char *) "id", NULL
23216 };
23217
23218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
23219 if (obj0) {
23220 arg1 = (wxEventType) SWIG_AsInt(obj0);
23221 if (PyErr_Occurred()) SWIG_fail;
23222 }
23223 if (obj1) {
23224 arg2 = (int) SWIG_AsInt(obj1);
23225 if (PyErr_Occurred()) SWIG_fail;
23226 }
23227 {
23228 PyThreadState* __tstate = wxPyBeginAllowThreads();
23229 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
23230
23231 wxPyEndAllowThreads(__tstate);
23232 if (PyErr_Occurred()) SWIG_fail;
23233 }
23234 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
23235 return resultobj;
23236 fail:
23237 return NULL;
23238 }
23239
23240
23241 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23242 PyObject *resultobj;
23243 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23244 wxTreeItemId result;
23245 PyObject * obj0 = 0 ;
23246 char *kwnames[] = {
23247 (char *) "self", NULL
23248 };
23249
23250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
23251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23253 {
23254 PyThreadState* __tstate = wxPyBeginAllowThreads();
23255 result = ((wxTreeEvent const *)arg1)->GetItem();
23256
23257 wxPyEndAllowThreads(__tstate);
23258 if (PyErr_Occurred()) SWIG_fail;
23259 }
23260 {
23261 wxTreeItemId * resultptr;
23262 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23263 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23264 }
23265 return resultobj;
23266 fail:
23267 return NULL;
23268 }
23269
23270
23271 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23272 PyObject *resultobj;
23273 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23274 wxTreeItemId *arg2 = 0 ;
23275 PyObject * obj0 = 0 ;
23276 PyObject * obj1 = 0 ;
23277 char *kwnames[] = {
23278 (char *) "self",(char *) "item", NULL
23279 };
23280
23281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
23282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23284 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23285 SWIG_POINTER_EXCEPTION | 0)) == -1)
23286 SWIG_fail;
23287 if (arg2 == NULL) {
23288 PyErr_SetString(PyExc_TypeError,"null reference");
23289 SWIG_fail;
23290 }
23291 {
23292 PyThreadState* __tstate = wxPyBeginAllowThreads();
23293 (arg1)->SetItem((wxTreeItemId const &)*arg2);
23294
23295 wxPyEndAllowThreads(__tstate);
23296 if (PyErr_Occurred()) SWIG_fail;
23297 }
23298 Py_INCREF(Py_None); resultobj = Py_None;
23299 return resultobj;
23300 fail:
23301 return NULL;
23302 }
23303
23304
23305 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23306 PyObject *resultobj;
23307 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23308 wxTreeItemId result;
23309 PyObject * obj0 = 0 ;
23310 char *kwnames[] = {
23311 (char *) "self", NULL
23312 };
23313
23314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
23315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23317 {
23318 PyThreadState* __tstate = wxPyBeginAllowThreads();
23319 result = ((wxTreeEvent const *)arg1)->GetOldItem();
23320
23321 wxPyEndAllowThreads(__tstate);
23322 if (PyErr_Occurred()) SWIG_fail;
23323 }
23324 {
23325 wxTreeItemId * resultptr;
23326 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23327 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23328 }
23329 return resultobj;
23330 fail:
23331 return NULL;
23332 }
23333
23334
23335 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23336 PyObject *resultobj;
23337 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23338 wxTreeItemId *arg2 = 0 ;
23339 PyObject * obj0 = 0 ;
23340 PyObject * obj1 = 0 ;
23341 char *kwnames[] = {
23342 (char *) "self",(char *) "item", NULL
23343 };
23344
23345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
23346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23348 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23349 SWIG_POINTER_EXCEPTION | 0)) == -1)
23350 SWIG_fail;
23351 if (arg2 == NULL) {
23352 PyErr_SetString(PyExc_TypeError,"null reference");
23353 SWIG_fail;
23354 }
23355 {
23356 PyThreadState* __tstate = wxPyBeginAllowThreads();
23357 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
23358
23359 wxPyEndAllowThreads(__tstate);
23360 if (PyErr_Occurred()) SWIG_fail;
23361 }
23362 Py_INCREF(Py_None); resultobj = Py_None;
23363 return resultobj;
23364 fail:
23365 return NULL;
23366 }
23367
23368
23369 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23370 PyObject *resultobj;
23371 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23372 wxPoint result;
23373 PyObject * obj0 = 0 ;
23374 char *kwnames[] = {
23375 (char *) "self", NULL
23376 };
23377
23378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
23379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23381 {
23382 PyThreadState* __tstate = wxPyBeginAllowThreads();
23383 result = ((wxTreeEvent const *)arg1)->GetPoint();
23384
23385 wxPyEndAllowThreads(__tstate);
23386 if (PyErr_Occurred()) SWIG_fail;
23387 }
23388 {
23389 wxPoint * resultptr;
23390 resultptr = new wxPoint((wxPoint &) result);
23391 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23392 }
23393 return resultobj;
23394 fail:
23395 return NULL;
23396 }
23397
23398
23399 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23400 PyObject *resultobj;
23401 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23402 wxPoint *arg2 = 0 ;
23403 wxPoint temp2 ;
23404 PyObject * obj0 = 0 ;
23405 PyObject * obj1 = 0 ;
23406 char *kwnames[] = {
23407 (char *) "self",(char *) "pt", NULL
23408 };
23409
23410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
23411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23413 {
23414 arg2 = &temp2;
23415 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23416 }
23417 {
23418 PyThreadState* __tstate = wxPyBeginAllowThreads();
23419 (arg1)->SetPoint((wxPoint const &)*arg2);
23420
23421 wxPyEndAllowThreads(__tstate);
23422 if (PyErr_Occurred()) SWIG_fail;
23423 }
23424 Py_INCREF(Py_None); resultobj = Py_None;
23425 return resultobj;
23426 fail:
23427 return NULL;
23428 }
23429
23430
23431 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23432 PyObject *resultobj;
23433 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23434 wxKeyEvent *result;
23435 PyObject * obj0 = 0 ;
23436 char *kwnames[] = {
23437 (char *) "self", NULL
23438 };
23439
23440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
23441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23443 {
23444 PyThreadState* __tstate = wxPyBeginAllowThreads();
23445 {
23446 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23447 result = (wxKeyEvent *) &_result_ref;
23448 }
23449
23450 wxPyEndAllowThreads(__tstate);
23451 if (PyErr_Occurred()) SWIG_fail;
23452 }
23453 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
23454 return resultobj;
23455 fail:
23456 return NULL;
23457 }
23458
23459
23460 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
23461 PyObject *resultobj;
23462 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23463 int result;
23464 PyObject * obj0 = 0 ;
23465 char *kwnames[] = {
23466 (char *) "self", NULL
23467 };
23468
23469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23472 {
23473 PyThreadState* __tstate = wxPyBeginAllowThreads();
23474 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23475
23476 wxPyEndAllowThreads(__tstate);
23477 if (PyErr_Occurred()) SWIG_fail;
23478 }
23479 resultobj = SWIG_FromInt((int)result);
23480 return resultobj;
23481 fail:
23482 return NULL;
23483 }
23484
23485
23486 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23487 PyObject *resultobj;
23488 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23489 wxKeyEvent *arg2 = 0 ;
23490 PyObject * obj0 = 0 ;
23491 PyObject * obj1 = 0 ;
23492 char *kwnames[] = {
23493 (char *) "self",(char *) "evt", NULL
23494 };
23495
23496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
23497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23499 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
23500 SWIG_POINTER_EXCEPTION | 0)) == -1)
23501 SWIG_fail;
23502 if (arg2 == NULL) {
23503 PyErr_SetString(PyExc_TypeError,"null reference");
23504 SWIG_fail;
23505 }
23506 {
23507 PyThreadState* __tstate = wxPyBeginAllowThreads();
23508 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23509
23510 wxPyEndAllowThreads(__tstate);
23511 if (PyErr_Occurred()) SWIG_fail;
23512 }
23513 Py_INCREF(Py_None); resultobj = Py_None;
23514 return resultobj;
23515 fail:
23516 return NULL;
23517 }
23518
23519
23520 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23521 PyObject *resultobj;
23522 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23523 wxString *result;
23524 PyObject * obj0 = 0 ;
23525 char *kwnames[] = {
23526 (char *) "self", NULL
23527 };
23528
23529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
23530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23532 {
23533 PyThreadState* __tstate = wxPyBeginAllowThreads();
23534 {
23535 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23536 result = (wxString *) &_result_ref;
23537 }
23538
23539 wxPyEndAllowThreads(__tstate);
23540 if (PyErr_Occurred()) SWIG_fail;
23541 }
23542 {
23543 #if wxUSE_UNICODE
23544 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23545 #else
23546 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23547 #endif
23548 }
23549 return resultobj;
23550 fail:
23551 return NULL;
23552 }
23553
23554
23555 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23556 PyObject *resultobj;
23557 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23558 wxString *arg2 = 0 ;
23559 bool temp2 = False ;
23560 PyObject * obj0 = 0 ;
23561 PyObject * obj1 = 0 ;
23562 char *kwnames[] = {
23563 (char *) "self",(char *) "label", NULL
23564 };
23565
23566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
23567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23569 {
23570 arg2 = wxString_in_helper(obj1);
23571 if (arg2 == NULL) SWIG_fail;
23572 temp2 = True;
23573 }
23574 {
23575 PyThreadState* __tstate = wxPyBeginAllowThreads();
23576 (arg1)->SetLabel((wxString const &)*arg2);
23577
23578 wxPyEndAllowThreads(__tstate);
23579 if (PyErr_Occurred()) SWIG_fail;
23580 }
23581 Py_INCREF(Py_None); resultobj = Py_None;
23582 {
23583 if (temp2)
23584 delete arg2;
23585 }
23586 return resultobj;
23587 fail:
23588 {
23589 if (temp2)
23590 delete arg2;
23591 }
23592 return NULL;
23593 }
23594
23595
23596 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
23597 PyObject *resultobj;
23598 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23599 bool result;
23600 PyObject * obj0 = 0 ;
23601 char *kwnames[] = {
23602 (char *) "self", NULL
23603 };
23604
23605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23608 {
23609 PyThreadState* __tstate = wxPyBeginAllowThreads();
23610 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23611
23612 wxPyEndAllowThreads(__tstate);
23613 if (PyErr_Occurred()) SWIG_fail;
23614 }
23615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23616 return resultobj;
23617 fail:
23618 return NULL;
23619 }
23620
23621
23622 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
23623 PyObject *resultobj;
23624 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23625 bool arg2 ;
23626 PyObject * obj0 = 0 ;
23627 PyObject * obj1 = 0 ;
23628 char *kwnames[] = {
23629 (char *) "self",(char *) "editCancelled", NULL
23630 };
23631
23632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23635 arg2 = (bool) SWIG_AsBool(obj1);
23636 if (PyErr_Occurred()) SWIG_fail;
23637 {
23638 PyThreadState* __tstate = wxPyBeginAllowThreads();
23639 (arg1)->SetEditCanceled(arg2);
23640
23641 wxPyEndAllowThreads(__tstate);
23642 if (PyErr_Occurred()) SWIG_fail;
23643 }
23644 Py_INCREF(Py_None); resultobj = Py_None;
23645 return resultobj;
23646 fail:
23647 return NULL;
23648 }
23649
23650
23651 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23652 PyObject *resultobj;
23653 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23654 wxString *arg2 = 0 ;
23655 bool temp2 = False ;
23656 PyObject * obj0 = 0 ;
23657 PyObject * obj1 = 0 ;
23658 char *kwnames[] = {
23659 (char *) "self",(char *) "toolTip", NULL
23660 };
23661
23662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23665 {
23666 arg2 = wxString_in_helper(obj1);
23667 if (arg2 == NULL) SWIG_fail;
23668 temp2 = True;
23669 }
23670 {
23671 PyThreadState* __tstate = wxPyBeginAllowThreads();
23672 (arg1)->SetToolTip((wxString const &)*arg2);
23673
23674 wxPyEndAllowThreads(__tstate);
23675 if (PyErr_Occurred()) SWIG_fail;
23676 }
23677 Py_INCREF(Py_None); resultobj = Py_None;
23678 {
23679 if (temp2)
23680 delete arg2;
23681 }
23682 return resultobj;
23683 fail:
23684 {
23685 if (temp2)
23686 delete arg2;
23687 }
23688 return NULL;
23689 }
23690
23691
23692 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
23693 PyObject *obj;
23694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23695 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
23696 Py_INCREF(obj);
23697 return Py_BuildValue((char *)"");
23698 }
23699 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23700 PyObject *resultobj;
23701 wxWindow *arg1 = (wxWindow *) 0 ;
23702 int arg2 = (int) -1 ;
23703 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23704 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23705 wxSize const &arg4_defvalue = wxDefaultSize ;
23706 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23707 long arg5 = (long) wxTR_DEFAULT_STYLE ;
23708 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23709 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23710 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
23711 wxString *arg7 = (wxString *) &arg7_defvalue ;
23712 wxPyTreeCtrl *result;
23713 wxPoint temp3 ;
23714 wxSize temp4 ;
23715 bool temp7 = False ;
23716 PyObject * obj0 = 0 ;
23717 PyObject * obj1 = 0 ;
23718 PyObject * obj2 = 0 ;
23719 PyObject * obj3 = 0 ;
23720 PyObject * obj4 = 0 ;
23721 PyObject * obj5 = 0 ;
23722 PyObject * obj6 = 0 ;
23723 char *kwnames[] = {
23724 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23725 };
23726
23727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23730 if (obj1) {
23731 arg2 = (int) SWIG_AsInt(obj1);
23732 if (PyErr_Occurred()) SWIG_fail;
23733 }
23734 if (obj2) {
23735 {
23736 arg3 = &temp3;
23737 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23738 }
23739 }
23740 if (obj3) {
23741 {
23742 arg4 = &temp4;
23743 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23744 }
23745 }
23746 if (obj4) {
23747 arg5 = (long) SWIG_AsLong(obj4);
23748 if (PyErr_Occurred()) SWIG_fail;
23749 }
23750 if (obj5) {
23751 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
23752 SWIG_POINTER_EXCEPTION | 0)) == -1)
23753 SWIG_fail;
23754 if (arg6 == NULL) {
23755 PyErr_SetString(PyExc_TypeError,"null reference");
23756 SWIG_fail;
23757 }
23758 }
23759 if (obj6) {
23760 {
23761 arg7 = wxString_in_helper(obj6);
23762 if (arg7 == NULL) SWIG_fail;
23763 temp7 = True;
23764 }
23765 }
23766 {
23767 PyThreadState* __tstate = wxPyBeginAllowThreads();
23768 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23769
23770 wxPyEndAllowThreads(__tstate);
23771 if (PyErr_Occurred()) SWIG_fail;
23772 }
23773 {
23774 resultobj = wxPyMake_wxObject(result);
23775 }
23776 {
23777 if (temp7)
23778 delete arg7;
23779 }
23780 return resultobj;
23781 fail:
23782 {
23783 if (temp7)
23784 delete arg7;
23785 }
23786 return NULL;
23787 }
23788
23789
23790 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23791 PyObject *resultobj;
23792 wxPyTreeCtrl *result;
23793 char *kwnames[] = {
23794 NULL
23795 };
23796
23797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
23798 {
23799 PyThreadState* __tstate = wxPyBeginAllowThreads();
23800 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
23801
23802 wxPyEndAllowThreads(__tstate);
23803 if (PyErr_Occurred()) SWIG_fail;
23804 }
23805 {
23806 resultobj = wxPyMake_wxObject(result);
23807 }
23808 return resultobj;
23809 fail:
23810 return NULL;
23811 }
23812
23813
23814 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23815 PyObject *resultobj;
23816 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23817 wxWindow *arg2 = (wxWindow *) 0 ;
23818 int arg3 = (int) -1 ;
23819 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23820 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23821 wxSize const &arg5_defvalue = wxDefaultSize ;
23822 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23823 long arg6 = (long) wxTR_DEFAULT_STYLE ;
23824 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23825 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23826 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
23827 wxString *arg8 = (wxString *) &arg8_defvalue ;
23828 bool result;
23829 wxPoint temp4 ;
23830 wxSize temp5 ;
23831 bool temp8 = False ;
23832 PyObject * obj0 = 0 ;
23833 PyObject * obj1 = 0 ;
23834 PyObject * obj2 = 0 ;
23835 PyObject * obj3 = 0 ;
23836 PyObject * obj4 = 0 ;
23837 PyObject * obj5 = 0 ;
23838 PyObject * obj6 = 0 ;
23839 PyObject * obj7 = 0 ;
23840 char *kwnames[] = {
23841 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23842 };
23843
23844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23847 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23849 if (obj2) {
23850 arg3 = (int) SWIG_AsInt(obj2);
23851 if (PyErr_Occurred()) SWIG_fail;
23852 }
23853 if (obj3) {
23854 {
23855 arg4 = &temp4;
23856 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23857 }
23858 }
23859 if (obj4) {
23860 {
23861 arg5 = &temp5;
23862 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23863 }
23864 }
23865 if (obj5) {
23866 arg6 = (long) SWIG_AsLong(obj5);
23867 if (PyErr_Occurred()) SWIG_fail;
23868 }
23869 if (obj6) {
23870 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
23871 SWIG_POINTER_EXCEPTION | 0)) == -1)
23872 SWIG_fail;
23873 if (arg7 == NULL) {
23874 PyErr_SetString(PyExc_TypeError,"null reference");
23875 SWIG_fail;
23876 }
23877 }
23878 if (obj7) {
23879 {
23880 arg8 = wxString_in_helper(obj7);
23881 if (arg8 == NULL) SWIG_fail;
23882 temp8 = True;
23883 }
23884 }
23885 {
23886 PyThreadState* __tstate = wxPyBeginAllowThreads();
23887 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23888
23889 wxPyEndAllowThreads(__tstate);
23890 if (PyErr_Occurred()) SWIG_fail;
23891 }
23892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23893 {
23894 if (temp8)
23895 delete arg8;
23896 }
23897 return resultobj;
23898 fail:
23899 {
23900 if (temp8)
23901 delete arg8;
23902 }
23903 return NULL;
23904 }
23905
23906
23907 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23908 PyObject *resultobj;
23909 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23910 PyObject *arg2 = (PyObject *) 0 ;
23911 PyObject *arg3 = (PyObject *) 0 ;
23912 PyObject * obj0 = 0 ;
23913 PyObject * obj1 = 0 ;
23914 PyObject * obj2 = 0 ;
23915 char *kwnames[] = {
23916 (char *) "self",(char *) "self",(char *) "_class", NULL
23917 };
23918
23919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23922 arg2 = obj1;
23923 arg3 = obj2;
23924 {
23925 PyThreadState* __tstate = wxPyBeginAllowThreads();
23926 (arg1)->_setCallbackInfo(arg2,arg3);
23927
23928 wxPyEndAllowThreads(__tstate);
23929 if (PyErr_Occurred()) SWIG_fail;
23930 }
23931 Py_INCREF(Py_None); resultobj = Py_None;
23932 return resultobj;
23933 fail:
23934 return NULL;
23935 }
23936
23937
23938 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23939 PyObject *resultobj;
23940 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23941 size_t result;
23942 PyObject * obj0 = 0 ;
23943 char *kwnames[] = {
23944 (char *) "self", NULL
23945 };
23946
23947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
23948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23950 {
23951 PyThreadState* __tstate = wxPyBeginAllowThreads();
23952 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
23953
23954 wxPyEndAllowThreads(__tstate);
23955 if (PyErr_Occurred()) SWIG_fail;
23956 }
23957 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
23958 return resultobj;
23959 fail:
23960 return NULL;
23961 }
23962
23963
23964 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
23965 PyObject *resultobj;
23966 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23967 unsigned int result;
23968 PyObject * obj0 = 0 ;
23969 char *kwnames[] = {
23970 (char *) "self", NULL
23971 };
23972
23973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
23974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23976 {
23977 PyThreadState* __tstate = wxPyBeginAllowThreads();
23978 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
23979
23980 wxPyEndAllowThreads(__tstate);
23981 if (PyErr_Occurred()) SWIG_fail;
23982 }
23983 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
23984 return resultobj;
23985 fail:
23986 return NULL;
23987 }
23988
23989
23990 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
23991 PyObject *resultobj;
23992 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23993 unsigned int arg2 ;
23994 PyObject * obj0 = 0 ;
23995 PyObject * obj1 = 0 ;
23996 char *kwnames[] = {
23997 (char *) "self",(char *) "indent", NULL
23998 };
23999
24000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
24001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24003 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24004 if (PyErr_Occurred()) SWIG_fail;
24005 {
24006 PyThreadState* __tstate = wxPyBeginAllowThreads();
24007 (arg1)->SetIndent(arg2);
24008
24009 wxPyEndAllowThreads(__tstate);
24010 if (PyErr_Occurred()) SWIG_fail;
24011 }
24012 Py_INCREF(Py_None); resultobj = Py_None;
24013 return resultobj;
24014 fail:
24015 return NULL;
24016 }
24017
24018
24019 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24020 PyObject *resultobj;
24021 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24022 unsigned int result;
24023 PyObject * obj0 = 0 ;
24024 char *kwnames[] = {
24025 (char *) "self", NULL
24026 };
24027
24028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
24029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24031 {
24032 PyThreadState* __tstate = wxPyBeginAllowThreads();
24033 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
24034
24035 wxPyEndAllowThreads(__tstate);
24036 if (PyErr_Occurred()) SWIG_fail;
24037 }
24038 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
24039 return resultobj;
24040 fail:
24041 return NULL;
24042 }
24043
24044
24045 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24046 PyObject *resultobj;
24047 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24048 unsigned int arg2 ;
24049 PyObject * obj0 = 0 ;
24050 PyObject * obj1 = 0 ;
24051 char *kwnames[] = {
24052 (char *) "self",(char *) "spacing", NULL
24053 };
24054
24055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
24056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24058 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24059 if (PyErr_Occurred()) SWIG_fail;
24060 {
24061 PyThreadState* __tstate = wxPyBeginAllowThreads();
24062 (arg1)->SetSpacing(arg2);
24063
24064 wxPyEndAllowThreads(__tstate);
24065 if (PyErr_Occurred()) SWIG_fail;
24066 }
24067 Py_INCREF(Py_None); resultobj = Py_None;
24068 return resultobj;
24069 fail:
24070 return NULL;
24071 }
24072
24073
24074 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24075 PyObject *resultobj;
24076 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24077 wxImageList *result;
24078 PyObject * obj0 = 0 ;
24079 char *kwnames[] = {
24080 (char *) "self", NULL
24081 };
24082
24083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
24084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24086 {
24087 PyThreadState* __tstate = wxPyBeginAllowThreads();
24088 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
24089
24090 wxPyEndAllowThreads(__tstate);
24091 if (PyErr_Occurred()) SWIG_fail;
24092 }
24093 {
24094 resultobj = wxPyMake_wxObject(result);
24095 }
24096 return resultobj;
24097 fail:
24098 return NULL;
24099 }
24100
24101
24102 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24103 PyObject *resultobj;
24104 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24105 wxImageList *result;
24106 PyObject * obj0 = 0 ;
24107 char *kwnames[] = {
24108 (char *) "self", NULL
24109 };
24110
24111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
24112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24114 {
24115 PyThreadState* __tstate = wxPyBeginAllowThreads();
24116 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
24117
24118 wxPyEndAllowThreads(__tstate);
24119 if (PyErr_Occurred()) SWIG_fail;
24120 }
24121 {
24122 resultobj = wxPyMake_wxObject(result);
24123 }
24124 return resultobj;
24125 fail:
24126 return NULL;
24127 }
24128
24129
24130 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24131 PyObject *resultobj;
24132 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24133 wxImageList *arg2 = (wxImageList *) 0 ;
24134 PyObject * obj0 = 0 ;
24135 PyObject * obj1 = 0 ;
24136 char *kwnames[] = {
24137 (char *) "self",(char *) "imageList", NULL
24138 };
24139
24140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
24141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24143 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24145 {
24146 PyThreadState* __tstate = wxPyBeginAllowThreads();
24147 (arg1)->SetImageList(arg2);
24148
24149 wxPyEndAllowThreads(__tstate);
24150 if (PyErr_Occurred()) SWIG_fail;
24151 }
24152 Py_INCREF(Py_None); resultobj = Py_None;
24153 return resultobj;
24154 fail:
24155 return NULL;
24156 }
24157
24158
24159 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24160 PyObject *resultobj;
24161 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24162 wxImageList *arg2 = (wxImageList *) 0 ;
24163 PyObject * obj0 = 0 ;
24164 PyObject * obj1 = 0 ;
24165 char *kwnames[] = {
24166 (char *) "self",(char *) "imageList", NULL
24167 };
24168
24169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
24170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24172 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24174 {
24175 PyThreadState* __tstate = wxPyBeginAllowThreads();
24176 (arg1)->SetStateImageList(arg2);
24177
24178 wxPyEndAllowThreads(__tstate);
24179 if (PyErr_Occurred()) SWIG_fail;
24180 }
24181 Py_INCREF(Py_None); resultobj = Py_None;
24182 return resultobj;
24183 fail:
24184 return NULL;
24185 }
24186
24187
24188 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24189 PyObject *resultobj;
24190 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24191 wxImageList *arg2 = (wxImageList *) 0 ;
24192 PyObject * obj0 = 0 ;
24193 PyObject * obj1 = 0 ;
24194 char *kwnames[] = {
24195 (char *) "self",(char *) "imageList", NULL
24196 };
24197
24198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
24199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24201 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24202 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24203 {
24204 PyThreadState* __tstate = wxPyBeginAllowThreads();
24205 (arg1)->AssignImageList(arg2);
24206
24207 wxPyEndAllowThreads(__tstate);
24208 if (PyErr_Occurred()) SWIG_fail;
24209 }
24210 Py_INCREF(Py_None); resultobj = Py_None;
24211 return resultobj;
24212 fail:
24213 return NULL;
24214 }
24215
24216
24217 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24218 PyObject *resultobj;
24219 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24220 wxImageList *arg2 = (wxImageList *) 0 ;
24221 PyObject * obj0 = 0 ;
24222 PyObject * obj1 = 0 ;
24223 char *kwnames[] = {
24224 (char *) "self",(char *) "imageList", NULL
24225 };
24226
24227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
24228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24230 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24231 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24232 {
24233 PyThreadState* __tstate = wxPyBeginAllowThreads();
24234 (arg1)->AssignStateImageList(arg2);
24235
24236 wxPyEndAllowThreads(__tstate);
24237 if (PyErr_Occurred()) SWIG_fail;
24238 }
24239 Py_INCREF(Py_None); resultobj = Py_None;
24240 return resultobj;
24241 fail:
24242 return NULL;
24243 }
24244
24245
24246 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24247 PyObject *resultobj;
24248 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24249 wxTreeItemId *arg2 = 0 ;
24250 wxString result;
24251 PyObject * obj0 = 0 ;
24252 PyObject * obj1 = 0 ;
24253 char *kwnames[] = {
24254 (char *) "self",(char *) "item", NULL
24255 };
24256
24257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24260 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24261 SWIG_POINTER_EXCEPTION | 0)) == -1)
24262 SWIG_fail;
24263 if (arg2 == NULL) {
24264 PyErr_SetString(PyExc_TypeError,"null reference");
24265 SWIG_fail;
24266 }
24267 {
24268 PyThreadState* __tstate = wxPyBeginAllowThreads();
24269 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
24270
24271 wxPyEndAllowThreads(__tstate);
24272 if (PyErr_Occurred()) SWIG_fail;
24273 }
24274 {
24275 #if wxUSE_UNICODE
24276 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24277 #else
24278 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24279 #endif
24280 }
24281 return resultobj;
24282 fail:
24283 return NULL;
24284 }
24285
24286
24287 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24288 PyObject *resultobj;
24289 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24290 wxTreeItemId *arg2 = 0 ;
24291 int arg3 = (int) wxTreeItemIcon_Normal ;
24292 int result;
24293 PyObject * obj0 = 0 ;
24294 PyObject * obj1 = 0 ;
24295 PyObject * obj2 = 0 ;
24296 char *kwnames[] = {
24297 (char *) "self",(char *) "item",(char *) "which", NULL
24298 };
24299
24300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24303 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24304 SWIG_POINTER_EXCEPTION | 0)) == -1)
24305 SWIG_fail;
24306 if (arg2 == NULL) {
24307 PyErr_SetString(PyExc_TypeError,"null reference");
24308 SWIG_fail;
24309 }
24310 if (obj2) {
24311 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
24312 if (PyErr_Occurred()) SWIG_fail;
24313 }
24314 {
24315 PyThreadState* __tstate = wxPyBeginAllowThreads();
24316 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
24317
24318 wxPyEndAllowThreads(__tstate);
24319 if (PyErr_Occurred()) SWIG_fail;
24320 }
24321 resultobj = SWIG_FromInt((int)result);
24322 return resultobj;
24323 fail:
24324 return NULL;
24325 }
24326
24327
24328 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24329 PyObject *resultobj;
24330 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24331 wxTreeItemId *arg2 = 0 ;
24332 wxPyTreeItemData *result;
24333 PyObject * obj0 = 0 ;
24334 PyObject * obj1 = 0 ;
24335 char *kwnames[] = {
24336 (char *) "self",(char *) "item", NULL
24337 };
24338
24339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24343 SWIG_POINTER_EXCEPTION | 0)) == -1)
24344 SWIG_fail;
24345 if (arg2 == NULL) {
24346 PyErr_SetString(PyExc_TypeError,"null reference");
24347 SWIG_fail;
24348 }
24349 {
24350 PyThreadState* __tstate = wxPyBeginAllowThreads();
24351 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
24352
24353 wxPyEndAllowThreads(__tstate);
24354 if (PyErr_Occurred()) SWIG_fail;
24355 }
24356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
24357 return resultobj;
24358 fail:
24359 return NULL;
24360 }
24361
24362
24363 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24364 PyObject *resultobj;
24365 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24366 wxTreeItemId *arg2 = 0 ;
24367 PyObject *result;
24368 PyObject * obj0 = 0 ;
24369 PyObject * obj1 = 0 ;
24370 char *kwnames[] = {
24371 (char *) "self",(char *) "item", NULL
24372 };
24373
24374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",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_wxTreeItemId,
24378 SWIG_POINTER_EXCEPTION | 0)) == -1)
24379 SWIG_fail;
24380 if (arg2 == NULL) {
24381 PyErr_SetString(PyExc_TypeError,"null reference");
24382 SWIG_fail;
24383 }
24384 {
24385 PyThreadState* __tstate = wxPyBeginAllowThreads();
24386 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
24387
24388 wxPyEndAllowThreads(__tstate);
24389 if (PyErr_Occurred()) SWIG_fail;
24390 }
24391 resultobj = result;
24392 return resultobj;
24393 fail:
24394 return NULL;
24395 }
24396
24397
24398 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24399 PyObject *resultobj;
24400 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24401 wxTreeItemId *arg2 = 0 ;
24402 wxColour result;
24403 PyObject * obj0 = 0 ;
24404 PyObject * obj1 = 0 ;
24405 char *kwnames[] = {
24406 (char *) "self",(char *) "item", NULL
24407 };
24408
24409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
24410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24412 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24413 SWIG_POINTER_EXCEPTION | 0)) == -1)
24414 SWIG_fail;
24415 if (arg2 == NULL) {
24416 PyErr_SetString(PyExc_TypeError,"null reference");
24417 SWIG_fail;
24418 }
24419 {
24420 PyThreadState* __tstate = wxPyBeginAllowThreads();
24421 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
24422
24423 wxPyEndAllowThreads(__tstate);
24424 if (PyErr_Occurred()) SWIG_fail;
24425 }
24426 {
24427 wxColour * resultptr;
24428 resultptr = new wxColour((wxColour &) result);
24429 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24430 }
24431 return resultobj;
24432 fail:
24433 return NULL;
24434 }
24435
24436
24437 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24438 PyObject *resultobj;
24439 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24440 wxTreeItemId *arg2 = 0 ;
24441 wxColour result;
24442 PyObject * obj0 = 0 ;
24443 PyObject * obj1 = 0 ;
24444 char *kwnames[] = {
24445 (char *) "self",(char *) "item", NULL
24446 };
24447
24448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24451 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24452 SWIG_POINTER_EXCEPTION | 0)) == -1)
24453 SWIG_fail;
24454 if (arg2 == NULL) {
24455 PyErr_SetString(PyExc_TypeError,"null reference");
24456 SWIG_fail;
24457 }
24458 {
24459 PyThreadState* __tstate = wxPyBeginAllowThreads();
24460 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24461
24462 wxPyEndAllowThreads(__tstate);
24463 if (PyErr_Occurred()) SWIG_fail;
24464 }
24465 {
24466 wxColour * resultptr;
24467 resultptr = new wxColour((wxColour &) result);
24468 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24469 }
24470 return resultobj;
24471 fail:
24472 return NULL;
24473 }
24474
24475
24476 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24477 PyObject *resultobj;
24478 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24479 wxTreeItemId *arg2 = 0 ;
24480 wxFont result;
24481 PyObject * obj0 = 0 ;
24482 PyObject * obj1 = 0 ;
24483 char *kwnames[] = {
24484 (char *) "self",(char *) "item", NULL
24485 };
24486
24487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
24488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24490 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24491 SWIG_POINTER_EXCEPTION | 0)) == -1)
24492 SWIG_fail;
24493 if (arg2 == NULL) {
24494 PyErr_SetString(PyExc_TypeError,"null reference");
24495 SWIG_fail;
24496 }
24497 {
24498 PyThreadState* __tstate = wxPyBeginAllowThreads();
24499 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24500
24501 wxPyEndAllowThreads(__tstate);
24502 if (PyErr_Occurred()) SWIG_fail;
24503 }
24504 {
24505 wxFont * resultptr;
24506 resultptr = new wxFont((wxFont &) result);
24507 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
24508 }
24509 return resultobj;
24510 fail:
24511 return NULL;
24512 }
24513
24514
24515 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24516 PyObject *resultobj;
24517 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24518 wxTreeItemId *arg2 = 0 ;
24519 wxString *arg3 = 0 ;
24520 bool temp3 = False ;
24521 PyObject * obj0 = 0 ;
24522 PyObject * obj1 = 0 ;
24523 PyObject * obj2 = 0 ;
24524 char *kwnames[] = {
24525 (char *) "self",(char *) "item",(char *) "text", NULL
24526 };
24527
24528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24531 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24532 SWIG_POINTER_EXCEPTION | 0)) == -1)
24533 SWIG_fail;
24534 if (arg2 == NULL) {
24535 PyErr_SetString(PyExc_TypeError,"null reference");
24536 SWIG_fail;
24537 }
24538 {
24539 arg3 = wxString_in_helper(obj2);
24540 if (arg3 == NULL) SWIG_fail;
24541 temp3 = True;
24542 }
24543 {
24544 PyThreadState* __tstate = wxPyBeginAllowThreads();
24545 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24546
24547 wxPyEndAllowThreads(__tstate);
24548 if (PyErr_Occurred()) SWIG_fail;
24549 }
24550 Py_INCREF(Py_None); resultobj = Py_None;
24551 {
24552 if (temp3)
24553 delete arg3;
24554 }
24555 return resultobj;
24556 fail:
24557 {
24558 if (temp3)
24559 delete arg3;
24560 }
24561 return NULL;
24562 }
24563
24564
24565 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24566 PyObject *resultobj;
24567 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24568 wxTreeItemId *arg2 = 0 ;
24569 int arg3 ;
24570 int arg4 = (int) wxTreeItemIcon_Normal ;
24571 PyObject * obj0 = 0 ;
24572 PyObject * obj1 = 0 ;
24573 PyObject * obj2 = 0 ;
24574 PyObject * obj3 = 0 ;
24575 char *kwnames[] = {
24576 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24577 };
24578
24579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24582 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24583 SWIG_POINTER_EXCEPTION | 0)) == -1)
24584 SWIG_fail;
24585 if (arg2 == NULL) {
24586 PyErr_SetString(PyExc_TypeError,"null reference");
24587 SWIG_fail;
24588 }
24589 arg3 = (int) SWIG_AsInt(obj2);
24590 if (PyErr_Occurred()) SWIG_fail;
24591 if (obj3) {
24592 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
24593 if (PyErr_Occurred()) SWIG_fail;
24594 }
24595 {
24596 PyThreadState* __tstate = wxPyBeginAllowThreads();
24597 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
24598
24599 wxPyEndAllowThreads(__tstate);
24600 if (PyErr_Occurred()) SWIG_fail;
24601 }
24602 Py_INCREF(Py_None); resultobj = Py_None;
24603 return resultobj;
24604 fail:
24605 return NULL;
24606 }
24607
24608
24609 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24610 PyObject *resultobj;
24611 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24612 wxTreeItemId *arg2 = 0 ;
24613 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
24614 PyObject * obj0 = 0 ;
24615 PyObject * obj1 = 0 ;
24616 PyObject * obj2 = 0 ;
24617 char *kwnames[] = {
24618 (char *) "self",(char *) "item",(char *) "data", NULL
24619 };
24620
24621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24624 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24625 SWIG_POINTER_EXCEPTION | 0)) == -1)
24626 SWIG_fail;
24627 if (arg2 == NULL) {
24628 PyErr_SetString(PyExc_TypeError,"null reference");
24629 SWIG_fail;
24630 }
24631 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
24632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24633 {
24634 PyThreadState* __tstate = wxPyBeginAllowThreads();
24635 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
24636
24637 wxPyEndAllowThreads(__tstate);
24638 if (PyErr_Occurred()) SWIG_fail;
24639 }
24640 Py_INCREF(Py_None); resultobj = Py_None;
24641 return resultobj;
24642 fail:
24643 return NULL;
24644 }
24645
24646
24647 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24648 PyObject *resultobj;
24649 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24650 wxTreeItemId *arg2 = 0 ;
24651 PyObject *arg3 = (PyObject *) 0 ;
24652 PyObject * obj0 = 0 ;
24653 PyObject * obj1 = 0 ;
24654 PyObject * obj2 = 0 ;
24655 char *kwnames[] = {
24656 (char *) "self",(char *) "item",(char *) "obj", NULL
24657 };
24658
24659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24663 SWIG_POINTER_EXCEPTION | 0)) == -1)
24664 SWIG_fail;
24665 if (arg2 == NULL) {
24666 PyErr_SetString(PyExc_TypeError,"null reference");
24667 SWIG_fail;
24668 }
24669 arg3 = obj2;
24670 {
24671 PyThreadState* __tstate = wxPyBeginAllowThreads();
24672 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
24673
24674 wxPyEndAllowThreads(__tstate);
24675 if (PyErr_Occurred()) SWIG_fail;
24676 }
24677 Py_INCREF(Py_None); resultobj = Py_None;
24678 return resultobj;
24679 fail:
24680 return NULL;
24681 }
24682
24683
24684 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24685 PyObject *resultobj;
24686 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24687 wxTreeItemId *arg2 = 0 ;
24688 bool arg3 = (bool) True ;
24689 PyObject * obj0 = 0 ;
24690 PyObject * obj1 = 0 ;
24691 PyObject * obj2 = 0 ;
24692 char *kwnames[] = {
24693 (char *) "self",(char *) "item",(char *) "has", NULL
24694 };
24695
24696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
24697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24699 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24700 SWIG_POINTER_EXCEPTION | 0)) == -1)
24701 SWIG_fail;
24702 if (arg2 == NULL) {
24703 PyErr_SetString(PyExc_TypeError,"null reference");
24704 SWIG_fail;
24705 }
24706 if (obj2) {
24707 arg3 = (bool) SWIG_AsBool(obj2);
24708 if (PyErr_Occurred()) SWIG_fail;
24709 }
24710 {
24711 PyThreadState* __tstate = wxPyBeginAllowThreads();
24712 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
24713
24714 wxPyEndAllowThreads(__tstate);
24715 if (PyErr_Occurred()) SWIG_fail;
24716 }
24717 Py_INCREF(Py_None); resultobj = Py_None;
24718 return resultobj;
24719 fail:
24720 return NULL;
24721 }
24722
24723
24724 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
24725 PyObject *resultobj;
24726 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24727 wxTreeItemId *arg2 = 0 ;
24728 bool arg3 = (bool) True ;
24729 PyObject * obj0 = 0 ;
24730 PyObject * obj1 = 0 ;
24731 PyObject * obj2 = 0 ;
24732 char *kwnames[] = {
24733 (char *) "self",(char *) "item",(char *) "bold", NULL
24734 };
24735
24736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
24737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24739 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24740 SWIG_POINTER_EXCEPTION | 0)) == -1)
24741 SWIG_fail;
24742 if (arg2 == NULL) {
24743 PyErr_SetString(PyExc_TypeError,"null reference");
24744 SWIG_fail;
24745 }
24746 if (obj2) {
24747 arg3 = (bool) SWIG_AsBool(obj2);
24748 if (PyErr_Occurred()) SWIG_fail;
24749 }
24750 {
24751 PyThreadState* __tstate = wxPyBeginAllowThreads();
24752 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
24753
24754 wxPyEndAllowThreads(__tstate);
24755 if (PyErr_Occurred()) SWIG_fail;
24756 }
24757 Py_INCREF(Py_None); resultobj = Py_None;
24758 return resultobj;
24759 fail:
24760 return NULL;
24761 }
24762
24763
24764 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24765 PyObject *resultobj;
24766 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24767 wxTreeItemId *arg2 = 0 ;
24768 wxColour *arg3 = 0 ;
24769 wxColour temp3 ;
24770 PyObject * obj0 = 0 ;
24771 PyObject * obj1 = 0 ;
24772 PyObject * obj2 = 0 ;
24773 char *kwnames[] = {
24774 (char *) "self",(char *) "item",(char *) "col", NULL
24775 };
24776
24777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24780 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24781 SWIG_POINTER_EXCEPTION | 0)) == -1)
24782 SWIG_fail;
24783 if (arg2 == NULL) {
24784 PyErr_SetString(PyExc_TypeError,"null reference");
24785 SWIG_fail;
24786 }
24787 {
24788 arg3 = &temp3;
24789 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24790 }
24791 {
24792 PyThreadState* __tstate = wxPyBeginAllowThreads();
24793 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24794
24795 wxPyEndAllowThreads(__tstate);
24796 if (PyErr_Occurred()) SWIG_fail;
24797 }
24798 Py_INCREF(Py_None); resultobj = Py_None;
24799 return resultobj;
24800 fail:
24801 return NULL;
24802 }
24803
24804
24805 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24806 PyObject *resultobj;
24807 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24808 wxTreeItemId *arg2 = 0 ;
24809 wxColour *arg3 = 0 ;
24810 wxColour temp3 ;
24811 PyObject * obj0 = 0 ;
24812 PyObject * obj1 = 0 ;
24813 PyObject * obj2 = 0 ;
24814 char *kwnames[] = {
24815 (char *) "self",(char *) "item",(char *) "col", NULL
24816 };
24817
24818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24821 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24822 SWIG_POINTER_EXCEPTION | 0)) == -1)
24823 SWIG_fail;
24824 if (arg2 == NULL) {
24825 PyErr_SetString(PyExc_TypeError,"null reference");
24826 SWIG_fail;
24827 }
24828 {
24829 arg3 = &temp3;
24830 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24831 }
24832 {
24833 PyThreadState* __tstate = wxPyBeginAllowThreads();
24834 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24835
24836 wxPyEndAllowThreads(__tstate);
24837 if (PyErr_Occurred()) SWIG_fail;
24838 }
24839 Py_INCREF(Py_None); resultobj = Py_None;
24840 return resultobj;
24841 fail:
24842 return NULL;
24843 }
24844
24845
24846 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24847 PyObject *resultobj;
24848 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24849 wxTreeItemId *arg2 = 0 ;
24850 wxFont *arg3 = 0 ;
24851 PyObject * obj0 = 0 ;
24852 PyObject * obj1 = 0 ;
24853 PyObject * obj2 = 0 ;
24854 char *kwnames[] = {
24855 (char *) "self",(char *) "item",(char *) "font", NULL
24856 };
24857
24858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
24859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24861 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24862 SWIG_POINTER_EXCEPTION | 0)) == -1)
24863 SWIG_fail;
24864 if (arg2 == NULL) {
24865 PyErr_SetString(PyExc_TypeError,"null reference");
24866 SWIG_fail;
24867 }
24868 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
24869 SWIG_POINTER_EXCEPTION | 0)) == -1)
24870 SWIG_fail;
24871 if (arg3 == NULL) {
24872 PyErr_SetString(PyExc_TypeError,"null reference");
24873 SWIG_fail;
24874 }
24875 {
24876 PyThreadState* __tstate = wxPyBeginAllowThreads();
24877 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
24878
24879 wxPyEndAllowThreads(__tstate);
24880 if (PyErr_Occurred()) SWIG_fail;
24881 }
24882 Py_INCREF(Py_None); resultobj = Py_None;
24883 return resultobj;
24884 fail:
24885 return NULL;
24886 }
24887
24888
24889 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
24890 PyObject *resultobj;
24891 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24892 wxTreeItemId *arg2 = 0 ;
24893 bool result;
24894 PyObject * obj0 = 0 ;
24895 PyObject * obj1 = 0 ;
24896 char *kwnames[] = {
24897 (char *) "self",(char *) "item", NULL
24898 };
24899
24900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
24901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24903 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24904 SWIG_POINTER_EXCEPTION | 0)) == -1)
24905 SWIG_fail;
24906 if (arg2 == NULL) {
24907 PyErr_SetString(PyExc_TypeError,"null reference");
24908 SWIG_fail;
24909 }
24910 {
24911 PyThreadState* __tstate = wxPyBeginAllowThreads();
24912 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
24913
24914 wxPyEndAllowThreads(__tstate);
24915 if (PyErr_Occurred()) SWIG_fail;
24916 }
24917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24918 return resultobj;
24919 fail:
24920 return NULL;
24921 }
24922
24923
24924 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24925 PyObject *resultobj;
24926 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24927 wxTreeItemId *arg2 = 0 ;
24928 bool result;
24929 PyObject * obj0 = 0 ;
24930 PyObject * obj1 = 0 ;
24931 char *kwnames[] = {
24932 (char *) "self",(char *) "item", NULL
24933 };
24934
24935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
24936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24938 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24939 SWIG_POINTER_EXCEPTION | 0)) == -1)
24940 SWIG_fail;
24941 if (arg2 == NULL) {
24942 PyErr_SetString(PyExc_TypeError,"null reference");
24943 SWIG_fail;
24944 }
24945 {
24946 PyThreadState* __tstate = wxPyBeginAllowThreads();
24947 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
24948
24949 wxPyEndAllowThreads(__tstate);
24950 if (PyErr_Occurred()) SWIG_fail;
24951 }
24952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24953 return resultobj;
24954 fail:
24955 return NULL;
24956 }
24957
24958
24959 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
24960 PyObject *resultobj;
24961 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24962 wxTreeItemId *arg2 = 0 ;
24963 bool result;
24964 PyObject * obj0 = 0 ;
24965 PyObject * obj1 = 0 ;
24966 char *kwnames[] = {
24967 (char *) "self",(char *) "item", NULL
24968 };
24969
24970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
24971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24974 SWIG_POINTER_EXCEPTION | 0)) == -1)
24975 SWIG_fail;
24976 if (arg2 == NULL) {
24977 PyErr_SetString(PyExc_TypeError,"null reference");
24978 SWIG_fail;
24979 }
24980 {
24981 PyThreadState* __tstate = wxPyBeginAllowThreads();
24982 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
24983
24984 wxPyEndAllowThreads(__tstate);
24985 if (PyErr_Occurred()) SWIG_fail;
24986 }
24987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24988 return resultobj;
24989 fail:
24990 return NULL;
24991 }
24992
24993
24994 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
24995 PyObject *resultobj;
24996 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24997 wxTreeItemId *arg2 = 0 ;
24998 bool result;
24999 PyObject * obj0 = 0 ;
25000 PyObject * obj1 = 0 ;
25001 char *kwnames[] = {
25002 (char *) "self",(char *) "item", NULL
25003 };
25004
25005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
25006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25008 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25009 SWIG_POINTER_EXCEPTION | 0)) == -1)
25010 SWIG_fail;
25011 if (arg2 == NULL) {
25012 PyErr_SetString(PyExc_TypeError,"null reference");
25013 SWIG_fail;
25014 }
25015 {
25016 PyThreadState* __tstate = wxPyBeginAllowThreads();
25017 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
25018
25019 wxPyEndAllowThreads(__tstate);
25020 if (PyErr_Occurred()) SWIG_fail;
25021 }
25022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25023 return resultobj;
25024 fail:
25025 return NULL;
25026 }
25027
25028
25029 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
25030 PyObject *resultobj;
25031 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25032 wxTreeItemId *arg2 = 0 ;
25033 bool result;
25034 PyObject * obj0 = 0 ;
25035 PyObject * obj1 = 0 ;
25036 char *kwnames[] = {
25037 (char *) "self",(char *) "item", NULL
25038 };
25039
25040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
25041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25043 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25044 SWIG_POINTER_EXCEPTION | 0)) == -1)
25045 SWIG_fail;
25046 if (arg2 == NULL) {
25047 PyErr_SetString(PyExc_TypeError,"null reference");
25048 SWIG_fail;
25049 }
25050 {
25051 PyThreadState* __tstate = wxPyBeginAllowThreads();
25052 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
25053
25054 wxPyEndAllowThreads(__tstate);
25055 if (PyErr_Occurred()) SWIG_fail;
25056 }
25057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25058 return resultobj;
25059 fail:
25060 return NULL;
25061 }
25062
25063
25064 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25065 PyObject *resultobj;
25066 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25067 wxTreeItemId *arg2 = 0 ;
25068 bool arg3 = (bool) True ;
25069 size_t result;
25070 PyObject * obj0 = 0 ;
25071 PyObject * obj1 = 0 ;
25072 PyObject * obj2 = 0 ;
25073 char *kwnames[] = {
25074 (char *) "self",(char *) "item",(char *) "recursively", NULL
25075 };
25076
25077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
25078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25080 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25081 SWIG_POINTER_EXCEPTION | 0)) == -1)
25082 SWIG_fail;
25083 if (arg2 == NULL) {
25084 PyErr_SetString(PyExc_TypeError,"null reference");
25085 SWIG_fail;
25086 }
25087 if (obj2) {
25088 arg3 = (bool) SWIG_AsBool(obj2);
25089 if (PyErr_Occurred()) SWIG_fail;
25090 }
25091 {
25092 PyThreadState* __tstate = wxPyBeginAllowThreads();
25093 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
25094
25095 wxPyEndAllowThreads(__tstate);
25096 if (PyErr_Occurred()) SWIG_fail;
25097 }
25098 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25099 return resultobj;
25100 fail:
25101 return NULL;
25102 }
25103
25104
25105 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25106 PyObject *resultobj;
25107 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25108 wxTreeItemId result;
25109 PyObject * obj0 = 0 ;
25110 char *kwnames[] = {
25111 (char *) "self", NULL
25112 };
25113
25114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
25115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25117 {
25118 PyThreadState* __tstate = wxPyBeginAllowThreads();
25119 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
25120
25121 wxPyEndAllowThreads(__tstate);
25122 if (PyErr_Occurred()) SWIG_fail;
25123 }
25124 {
25125 wxTreeItemId * resultptr;
25126 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25127 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25128 }
25129 return resultobj;
25130 fail:
25131 return NULL;
25132 }
25133
25134
25135 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
25136 PyObject *resultobj;
25137 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25138 wxTreeItemId result;
25139 PyObject * obj0 = 0 ;
25140 char *kwnames[] = {
25141 (char *) "self", NULL
25142 };
25143
25144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
25145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25147 {
25148 PyThreadState* __tstate = wxPyBeginAllowThreads();
25149 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
25150
25151 wxPyEndAllowThreads(__tstate);
25152 if (PyErr_Occurred()) SWIG_fail;
25153 }
25154 {
25155 wxTreeItemId * resultptr;
25156 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25157 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25158 }
25159 return resultobj;
25160 fail:
25161 return NULL;
25162 }
25163
25164
25165 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
25166 PyObject *resultobj;
25167 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25168 PyObject *result;
25169 PyObject * obj0 = 0 ;
25170 char *kwnames[] = {
25171 (char *) "self", NULL
25172 };
25173
25174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
25175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25177 {
25178 PyThreadState* __tstate = wxPyBeginAllowThreads();
25179 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
25180
25181 wxPyEndAllowThreads(__tstate);
25182 if (PyErr_Occurred()) SWIG_fail;
25183 }
25184 resultobj = result;
25185 return resultobj;
25186 fail:
25187 return NULL;
25188 }
25189
25190
25191 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
25192 PyObject *resultobj;
25193 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25194 wxTreeItemId *arg2 = 0 ;
25195 wxTreeItemId result;
25196 PyObject * obj0 = 0 ;
25197 PyObject * obj1 = 0 ;
25198 char *kwnames[] = {
25199 (char *) "self",(char *) "item", NULL
25200 };
25201
25202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
25203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25206 SWIG_POINTER_EXCEPTION | 0)) == -1)
25207 SWIG_fail;
25208 if (arg2 == NULL) {
25209 PyErr_SetString(PyExc_TypeError,"null reference");
25210 SWIG_fail;
25211 }
25212 {
25213 PyThreadState* __tstate = wxPyBeginAllowThreads();
25214 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
25215
25216 wxPyEndAllowThreads(__tstate);
25217 if (PyErr_Occurred()) SWIG_fail;
25218 }
25219 {
25220 wxTreeItemId * resultptr;
25221 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25222 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25223 }
25224 return resultobj;
25225 fail:
25226 return NULL;
25227 }
25228
25229
25230 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25231 PyObject *resultobj;
25232 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25233 wxTreeItemId *arg2 = 0 ;
25234 PyObject *result;
25235 PyObject * obj0 = 0 ;
25236 PyObject * obj1 = 0 ;
25237 char *kwnames[] = {
25238 (char *) "self",(char *) "item", NULL
25239 };
25240
25241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
25242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25244 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25245 SWIG_POINTER_EXCEPTION | 0)) == -1)
25246 SWIG_fail;
25247 if (arg2 == NULL) {
25248 PyErr_SetString(PyExc_TypeError,"null reference");
25249 SWIG_fail;
25250 }
25251 {
25252 PyThreadState* __tstate = wxPyBeginAllowThreads();
25253 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
25254
25255 wxPyEndAllowThreads(__tstate);
25256 if (PyErr_Occurred()) SWIG_fail;
25257 }
25258 resultobj = result;
25259 return resultobj;
25260 fail:
25261 return NULL;
25262 }
25263
25264
25265 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25266 PyObject *resultobj;
25267 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25268 wxTreeItemId *arg2 = 0 ;
25269 void *arg3 = (void *) 0 ;
25270 PyObject *result;
25271 PyObject * obj0 = 0 ;
25272 PyObject * obj1 = 0 ;
25273 PyObject * obj2 = 0 ;
25274 char *kwnames[] = {
25275 (char *) "self",(char *) "item",(char *) "cookie", NULL
25276 };
25277
25278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
25279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25281 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25282 SWIG_POINTER_EXCEPTION | 0)) == -1)
25283 SWIG_fail;
25284 if (arg2 == NULL) {
25285 PyErr_SetString(PyExc_TypeError,"null reference");
25286 SWIG_fail;
25287 }
25288 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25289 {
25290 PyThreadState* __tstate = wxPyBeginAllowThreads();
25291 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
25292
25293 wxPyEndAllowThreads(__tstate);
25294 if (PyErr_Occurred()) SWIG_fail;
25295 }
25296 resultobj = result;
25297 return resultobj;
25298 fail:
25299 return NULL;
25300 }
25301
25302
25303 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25304 PyObject *resultobj;
25305 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25306 wxTreeItemId *arg2 = 0 ;
25307 wxTreeItemId result;
25308 PyObject * obj0 = 0 ;
25309 PyObject * obj1 = 0 ;
25310 char *kwnames[] = {
25311 (char *) "self",(char *) "item", NULL
25312 };
25313
25314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
25315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25317 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25318 SWIG_POINTER_EXCEPTION | 0)) == -1)
25319 SWIG_fail;
25320 if (arg2 == NULL) {
25321 PyErr_SetString(PyExc_TypeError,"null reference");
25322 SWIG_fail;
25323 }
25324 {
25325 PyThreadState* __tstate = wxPyBeginAllowThreads();
25326 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
25327
25328 wxPyEndAllowThreads(__tstate);
25329 if (PyErr_Occurred()) SWIG_fail;
25330 }
25331 {
25332 wxTreeItemId * resultptr;
25333 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25334 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25335 }
25336 return resultobj;
25337 fail:
25338 return NULL;
25339 }
25340
25341
25342 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25343 PyObject *resultobj;
25344 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25345 wxTreeItemId *arg2 = 0 ;
25346 wxTreeItemId result;
25347 PyObject * obj0 = 0 ;
25348 PyObject * obj1 = 0 ;
25349 char *kwnames[] = {
25350 (char *) "self",(char *) "item", NULL
25351 };
25352
25353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
25354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25356 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25357 SWIG_POINTER_EXCEPTION | 0)) == -1)
25358 SWIG_fail;
25359 if (arg2 == NULL) {
25360 PyErr_SetString(PyExc_TypeError,"null reference");
25361 SWIG_fail;
25362 }
25363 {
25364 PyThreadState* __tstate = wxPyBeginAllowThreads();
25365 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
25366
25367 wxPyEndAllowThreads(__tstate);
25368 if (PyErr_Occurred()) SWIG_fail;
25369 }
25370 {
25371 wxTreeItemId * resultptr;
25372 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25373 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25374 }
25375 return resultobj;
25376 fail:
25377 return NULL;
25378 }
25379
25380
25381 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25382 PyObject *resultobj;
25383 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25384 wxTreeItemId *arg2 = 0 ;
25385 wxTreeItemId result;
25386 PyObject * obj0 = 0 ;
25387 PyObject * obj1 = 0 ;
25388 char *kwnames[] = {
25389 (char *) "self",(char *) "item", NULL
25390 };
25391
25392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
25393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25395 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25396 SWIG_POINTER_EXCEPTION | 0)) == -1)
25397 SWIG_fail;
25398 if (arg2 == NULL) {
25399 PyErr_SetString(PyExc_TypeError,"null reference");
25400 SWIG_fail;
25401 }
25402 {
25403 PyThreadState* __tstate = wxPyBeginAllowThreads();
25404 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
25405
25406 wxPyEndAllowThreads(__tstate);
25407 if (PyErr_Occurred()) SWIG_fail;
25408 }
25409 {
25410 wxTreeItemId * resultptr;
25411 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25412 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25413 }
25414 return resultobj;
25415 fail:
25416 return NULL;
25417 }
25418
25419
25420 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25421 PyObject *resultobj;
25422 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25423 wxTreeItemId result;
25424 PyObject * obj0 = 0 ;
25425 char *kwnames[] = {
25426 (char *) "self", NULL
25427 };
25428
25429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
25430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25432 {
25433 PyThreadState* __tstate = wxPyBeginAllowThreads();
25434 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
25435
25436 wxPyEndAllowThreads(__tstate);
25437 if (PyErr_Occurred()) SWIG_fail;
25438 }
25439 {
25440 wxTreeItemId * resultptr;
25441 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25442 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25443 }
25444 return resultobj;
25445 fail:
25446 return NULL;
25447 }
25448
25449
25450 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25451 PyObject *resultobj;
25452 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25453 wxTreeItemId *arg2 = 0 ;
25454 wxTreeItemId result;
25455 PyObject * obj0 = 0 ;
25456 PyObject * obj1 = 0 ;
25457 char *kwnames[] = {
25458 (char *) "self",(char *) "item", NULL
25459 };
25460
25461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
25462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25464 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25465 SWIG_POINTER_EXCEPTION | 0)) == -1)
25466 SWIG_fail;
25467 if (arg2 == NULL) {
25468 PyErr_SetString(PyExc_TypeError,"null reference");
25469 SWIG_fail;
25470 }
25471 {
25472 PyThreadState* __tstate = wxPyBeginAllowThreads();
25473 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
25474
25475 wxPyEndAllowThreads(__tstate);
25476 if (PyErr_Occurred()) SWIG_fail;
25477 }
25478 {
25479 wxTreeItemId * resultptr;
25480 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25481 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25482 }
25483 return resultobj;
25484 fail:
25485 return NULL;
25486 }
25487
25488
25489 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25490 PyObject *resultobj;
25491 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25492 wxTreeItemId *arg2 = 0 ;
25493 wxTreeItemId result;
25494 PyObject * obj0 = 0 ;
25495 PyObject * obj1 = 0 ;
25496 char *kwnames[] = {
25497 (char *) "self",(char *) "item", NULL
25498 };
25499
25500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
25501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25504 SWIG_POINTER_EXCEPTION | 0)) == -1)
25505 SWIG_fail;
25506 if (arg2 == NULL) {
25507 PyErr_SetString(PyExc_TypeError,"null reference");
25508 SWIG_fail;
25509 }
25510 {
25511 PyThreadState* __tstate = wxPyBeginAllowThreads();
25512 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
25513
25514 wxPyEndAllowThreads(__tstate);
25515 if (PyErr_Occurred()) SWIG_fail;
25516 }
25517 {
25518 wxTreeItemId * resultptr;
25519 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25520 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25521 }
25522 return resultobj;
25523 fail:
25524 return NULL;
25525 }
25526
25527
25528 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
25529 PyObject *resultobj;
25530 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25531 wxString *arg2 = 0 ;
25532 int arg3 = (int) -1 ;
25533 int arg4 = (int) -1 ;
25534 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
25535 wxTreeItemId result;
25536 bool temp2 = False ;
25537 PyObject * obj0 = 0 ;
25538 PyObject * obj1 = 0 ;
25539 PyObject * obj2 = 0 ;
25540 PyObject * obj3 = 0 ;
25541 PyObject * obj4 = 0 ;
25542 char *kwnames[] = {
25543 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25544 };
25545
25546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25549 {
25550 arg2 = wxString_in_helper(obj1);
25551 if (arg2 == NULL) SWIG_fail;
25552 temp2 = True;
25553 }
25554 if (obj2) {
25555 arg3 = (int) SWIG_AsInt(obj2);
25556 if (PyErr_Occurred()) SWIG_fail;
25557 }
25558 if (obj3) {
25559 arg4 = (int) SWIG_AsInt(obj3);
25560 if (PyErr_Occurred()) SWIG_fail;
25561 }
25562 if (obj4) {
25563 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
25564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25565 }
25566 {
25567 PyThreadState* __tstate = wxPyBeginAllowThreads();
25568 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
25569
25570 wxPyEndAllowThreads(__tstate);
25571 if (PyErr_Occurred()) SWIG_fail;
25572 }
25573 {
25574 wxTreeItemId * resultptr;
25575 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25576 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25577 }
25578 {
25579 if (temp2)
25580 delete arg2;
25581 }
25582 return resultobj;
25583 fail:
25584 {
25585 if (temp2)
25586 delete arg2;
25587 }
25588 return NULL;
25589 }
25590
25591
25592 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25593 PyObject *resultobj;
25594 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25595 wxTreeItemId *arg2 = 0 ;
25596 wxString *arg3 = 0 ;
25597 int arg4 = (int) -1 ;
25598 int arg5 = (int) -1 ;
25599 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25600 wxTreeItemId result;
25601 bool temp3 = False ;
25602 PyObject * obj0 = 0 ;
25603 PyObject * obj1 = 0 ;
25604 PyObject * obj2 = 0 ;
25605 PyObject * obj3 = 0 ;
25606 PyObject * obj4 = 0 ;
25607 PyObject * obj5 = 0 ;
25608 char *kwnames[] = {
25609 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25610 };
25611
25612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25615 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25616 SWIG_POINTER_EXCEPTION | 0)) == -1)
25617 SWIG_fail;
25618 if (arg2 == NULL) {
25619 PyErr_SetString(PyExc_TypeError,"null reference");
25620 SWIG_fail;
25621 }
25622 {
25623 arg3 = wxString_in_helper(obj2);
25624 if (arg3 == NULL) SWIG_fail;
25625 temp3 = True;
25626 }
25627 if (obj3) {
25628 arg4 = (int) SWIG_AsInt(obj3);
25629 if (PyErr_Occurred()) SWIG_fail;
25630 }
25631 if (obj4) {
25632 arg5 = (int) SWIG_AsInt(obj4);
25633 if (PyErr_Occurred()) SWIG_fail;
25634 }
25635 if (obj5) {
25636 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
25637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25638 }
25639 {
25640 PyThreadState* __tstate = wxPyBeginAllowThreads();
25641 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25642
25643 wxPyEndAllowThreads(__tstate);
25644 if (PyErr_Occurred()) SWIG_fail;
25645 }
25646 {
25647 wxTreeItemId * resultptr;
25648 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25649 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25650 }
25651 {
25652 if (temp3)
25653 delete arg3;
25654 }
25655 return resultobj;
25656 fail:
25657 {
25658 if (temp3)
25659 delete arg3;
25660 }
25661 return NULL;
25662 }
25663
25664
25665 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25666 PyObject *resultobj;
25667 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25668 wxTreeItemId *arg2 = 0 ;
25669 wxTreeItemId *arg3 = 0 ;
25670 wxString *arg4 = 0 ;
25671 int arg5 = (int) -1 ;
25672 int arg6 = (int) -1 ;
25673 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25674 wxTreeItemId result;
25675 bool temp4 = False ;
25676 PyObject * obj0 = 0 ;
25677 PyObject * obj1 = 0 ;
25678 PyObject * obj2 = 0 ;
25679 PyObject * obj3 = 0 ;
25680 PyObject * obj4 = 0 ;
25681 PyObject * obj5 = 0 ;
25682 PyObject * obj6 = 0 ;
25683 char *kwnames[] = {
25684 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25685 };
25686
25687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25691 SWIG_POINTER_EXCEPTION | 0)) == -1)
25692 SWIG_fail;
25693 if (arg2 == NULL) {
25694 PyErr_SetString(PyExc_TypeError,"null reference");
25695 SWIG_fail;
25696 }
25697 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
25698 SWIG_POINTER_EXCEPTION | 0)) == -1)
25699 SWIG_fail;
25700 if (arg3 == NULL) {
25701 PyErr_SetString(PyExc_TypeError,"null reference");
25702 SWIG_fail;
25703 }
25704 {
25705 arg4 = wxString_in_helper(obj3);
25706 if (arg4 == NULL) SWIG_fail;
25707 temp4 = True;
25708 }
25709 if (obj4) {
25710 arg5 = (int) SWIG_AsInt(obj4);
25711 if (PyErr_Occurred()) SWIG_fail;
25712 }
25713 if (obj5) {
25714 arg6 = (int) SWIG_AsInt(obj5);
25715 if (PyErr_Occurred()) SWIG_fail;
25716 }
25717 if (obj6) {
25718 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
25719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25720 }
25721 {
25722 PyThreadState* __tstate = wxPyBeginAllowThreads();
25723 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25724
25725 wxPyEndAllowThreads(__tstate);
25726 if (PyErr_Occurred()) SWIG_fail;
25727 }
25728 {
25729 wxTreeItemId * resultptr;
25730 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25731 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25732 }
25733 {
25734 if (temp4)
25735 delete arg4;
25736 }
25737 return resultobj;
25738 fail:
25739 {
25740 if (temp4)
25741 delete arg4;
25742 }
25743 return NULL;
25744 }
25745
25746
25747 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
25748 PyObject *resultobj;
25749 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25750 wxTreeItemId *arg2 = 0 ;
25751 size_t arg3 ;
25752 wxString *arg4 = 0 ;
25753 int arg5 = (int) -1 ;
25754 int arg6 = (int) -1 ;
25755 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25756 wxTreeItemId result;
25757 bool temp4 = False ;
25758 PyObject * obj0 = 0 ;
25759 PyObject * obj1 = 0 ;
25760 PyObject * obj2 = 0 ;
25761 PyObject * obj3 = 0 ;
25762 PyObject * obj4 = 0 ;
25763 PyObject * obj5 = 0 ;
25764 PyObject * obj6 = 0 ;
25765 char *kwnames[] = {
25766 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25767 };
25768
25769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25772 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25773 SWIG_POINTER_EXCEPTION | 0)) == -1)
25774 SWIG_fail;
25775 if (arg2 == NULL) {
25776 PyErr_SetString(PyExc_TypeError,"null reference");
25777 SWIG_fail;
25778 }
25779 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
25780 if (PyErr_Occurred()) SWIG_fail;
25781 {
25782 arg4 = wxString_in_helper(obj3);
25783 if (arg4 == NULL) SWIG_fail;
25784 temp4 = True;
25785 }
25786 if (obj4) {
25787 arg5 = (int) SWIG_AsInt(obj4);
25788 if (PyErr_Occurred()) SWIG_fail;
25789 }
25790 if (obj5) {
25791 arg6 = (int) SWIG_AsInt(obj5);
25792 if (PyErr_Occurred()) SWIG_fail;
25793 }
25794 if (obj6) {
25795 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
25796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25797 }
25798 {
25799 PyThreadState* __tstate = wxPyBeginAllowThreads();
25800 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25801
25802 wxPyEndAllowThreads(__tstate);
25803 if (PyErr_Occurred()) SWIG_fail;
25804 }
25805 {
25806 wxTreeItemId * resultptr;
25807 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25808 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25809 }
25810 {
25811 if (temp4)
25812 delete arg4;
25813 }
25814 return resultobj;
25815 fail:
25816 {
25817 if (temp4)
25818 delete arg4;
25819 }
25820 return NULL;
25821 }
25822
25823
25824 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25825 PyObject *resultobj;
25826 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25827 wxTreeItemId *arg2 = 0 ;
25828 wxString *arg3 = 0 ;
25829 int arg4 = (int) -1 ;
25830 int arg5 = (int) -1 ;
25831 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25832 wxTreeItemId result;
25833 bool temp3 = False ;
25834 PyObject * obj0 = 0 ;
25835 PyObject * obj1 = 0 ;
25836 PyObject * obj2 = 0 ;
25837 PyObject * obj3 = 0 ;
25838 PyObject * obj4 = 0 ;
25839 PyObject * obj5 = 0 ;
25840 char *kwnames[] = {
25841 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25842 };
25843
25844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25847 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25848 SWIG_POINTER_EXCEPTION | 0)) == -1)
25849 SWIG_fail;
25850 if (arg2 == NULL) {
25851 PyErr_SetString(PyExc_TypeError,"null reference");
25852 SWIG_fail;
25853 }
25854 {
25855 arg3 = wxString_in_helper(obj2);
25856 if (arg3 == NULL) SWIG_fail;
25857 temp3 = True;
25858 }
25859 if (obj3) {
25860 arg4 = (int) SWIG_AsInt(obj3);
25861 if (PyErr_Occurred()) SWIG_fail;
25862 }
25863 if (obj4) {
25864 arg5 = (int) SWIG_AsInt(obj4);
25865 if (PyErr_Occurred()) SWIG_fail;
25866 }
25867 if (obj5) {
25868 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
25869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25870 }
25871 {
25872 PyThreadState* __tstate = wxPyBeginAllowThreads();
25873 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25874
25875 wxPyEndAllowThreads(__tstate);
25876 if (PyErr_Occurred()) SWIG_fail;
25877 }
25878 {
25879 wxTreeItemId * resultptr;
25880 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25881 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25882 }
25883 {
25884 if (temp3)
25885 delete arg3;
25886 }
25887 return resultobj;
25888 fail:
25889 {
25890 if (temp3)
25891 delete arg3;
25892 }
25893 return NULL;
25894 }
25895
25896
25897 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
25898 PyObject *resultobj;
25899 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25900 wxTreeItemId *arg2 = 0 ;
25901 PyObject * obj0 = 0 ;
25902 PyObject * obj1 = 0 ;
25903 char *kwnames[] = {
25904 (char *) "self",(char *) "item", NULL
25905 };
25906
25907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
25908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25910 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25911 SWIG_POINTER_EXCEPTION | 0)) == -1)
25912 SWIG_fail;
25913 if (arg2 == NULL) {
25914 PyErr_SetString(PyExc_TypeError,"null reference");
25915 SWIG_fail;
25916 }
25917 {
25918 PyThreadState* __tstate = wxPyBeginAllowThreads();
25919 (arg1)->Delete((wxTreeItemId const &)*arg2);
25920
25921 wxPyEndAllowThreads(__tstate);
25922 if (PyErr_Occurred()) SWIG_fail;
25923 }
25924 Py_INCREF(Py_None); resultobj = Py_None;
25925 return resultobj;
25926 fail:
25927 return NULL;
25928 }
25929
25930
25931 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25932 PyObject *resultobj;
25933 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25934 wxTreeItemId *arg2 = 0 ;
25935 PyObject * obj0 = 0 ;
25936 PyObject * obj1 = 0 ;
25937 char *kwnames[] = {
25938 (char *) "self",(char *) "item", NULL
25939 };
25940
25941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
25942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25944 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25945 SWIG_POINTER_EXCEPTION | 0)) == -1)
25946 SWIG_fail;
25947 if (arg2 == NULL) {
25948 PyErr_SetString(PyExc_TypeError,"null reference");
25949 SWIG_fail;
25950 }
25951 {
25952 PyThreadState* __tstate = wxPyBeginAllowThreads();
25953 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
25954
25955 wxPyEndAllowThreads(__tstate);
25956 if (PyErr_Occurred()) SWIG_fail;
25957 }
25958 Py_INCREF(Py_None); resultobj = Py_None;
25959 return resultobj;
25960 fail:
25961 return NULL;
25962 }
25963
25964
25965 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
25966 PyObject *resultobj;
25967 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25968 PyObject * obj0 = 0 ;
25969 char *kwnames[] = {
25970 (char *) "self", NULL
25971 };
25972
25973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25976 {
25977 PyThreadState* __tstate = wxPyBeginAllowThreads();
25978 (arg1)->DeleteAllItems();
25979
25980 wxPyEndAllowThreads(__tstate);
25981 if (PyErr_Occurred()) SWIG_fail;
25982 }
25983 Py_INCREF(Py_None); resultobj = Py_None;
25984 return resultobj;
25985 fail:
25986 return NULL;
25987 }
25988
25989
25990 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
25991 PyObject *resultobj;
25992 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25993 wxTreeItemId *arg2 = 0 ;
25994 PyObject * obj0 = 0 ;
25995 PyObject * obj1 = 0 ;
25996 char *kwnames[] = {
25997 (char *) "self",(char *) "item", NULL
25998 };
25999
26000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
26001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26003 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26004 SWIG_POINTER_EXCEPTION | 0)) == -1)
26005 SWIG_fail;
26006 if (arg2 == NULL) {
26007 PyErr_SetString(PyExc_TypeError,"null reference");
26008 SWIG_fail;
26009 }
26010 {
26011 PyThreadState* __tstate = wxPyBeginAllowThreads();
26012 (arg1)->Expand((wxTreeItemId const &)*arg2);
26013
26014 wxPyEndAllowThreads(__tstate);
26015 if (PyErr_Occurred()) SWIG_fail;
26016 }
26017 Py_INCREF(Py_None); resultobj = Py_None;
26018 return resultobj;
26019 fail:
26020 return NULL;
26021 }
26022
26023
26024 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
26025 PyObject *resultobj;
26026 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26027 wxTreeItemId *arg2 = 0 ;
26028 PyObject * obj0 = 0 ;
26029 PyObject * obj1 = 0 ;
26030 char *kwnames[] = {
26031 (char *) "self",(char *) "item", NULL
26032 };
26033
26034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
26035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26037 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26038 SWIG_POINTER_EXCEPTION | 0)) == -1)
26039 SWIG_fail;
26040 if (arg2 == NULL) {
26041 PyErr_SetString(PyExc_TypeError,"null reference");
26042 SWIG_fail;
26043 }
26044 {
26045 PyThreadState* __tstate = wxPyBeginAllowThreads();
26046 (arg1)->Collapse((wxTreeItemId const &)*arg2);
26047
26048 wxPyEndAllowThreads(__tstate);
26049 if (PyErr_Occurred()) SWIG_fail;
26050 }
26051 Py_INCREF(Py_None); resultobj = Py_None;
26052 return resultobj;
26053 fail:
26054 return NULL;
26055 }
26056
26057
26058 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
26059 PyObject *resultobj;
26060 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26061 wxTreeItemId *arg2 = 0 ;
26062 PyObject * obj0 = 0 ;
26063 PyObject * obj1 = 0 ;
26064 char *kwnames[] = {
26065 (char *) "self",(char *) "item", NULL
26066 };
26067
26068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
26069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26071 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26072 SWIG_POINTER_EXCEPTION | 0)) == -1)
26073 SWIG_fail;
26074 if (arg2 == NULL) {
26075 PyErr_SetString(PyExc_TypeError,"null reference");
26076 SWIG_fail;
26077 }
26078 {
26079 PyThreadState* __tstate = wxPyBeginAllowThreads();
26080 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
26081
26082 wxPyEndAllowThreads(__tstate);
26083 if (PyErr_Occurred()) SWIG_fail;
26084 }
26085 Py_INCREF(Py_None); resultobj = Py_None;
26086 return resultobj;
26087 fail:
26088 return NULL;
26089 }
26090
26091
26092 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
26093 PyObject *resultobj;
26094 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26095 wxTreeItemId *arg2 = 0 ;
26096 PyObject * obj0 = 0 ;
26097 PyObject * obj1 = 0 ;
26098 char *kwnames[] = {
26099 (char *) "self",(char *) "item", NULL
26100 };
26101
26102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
26103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26105 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26106 SWIG_POINTER_EXCEPTION | 0)) == -1)
26107 SWIG_fail;
26108 if (arg2 == NULL) {
26109 PyErr_SetString(PyExc_TypeError,"null reference");
26110 SWIG_fail;
26111 }
26112 {
26113 PyThreadState* __tstate = wxPyBeginAllowThreads();
26114 (arg1)->Toggle((wxTreeItemId const &)*arg2);
26115
26116 wxPyEndAllowThreads(__tstate);
26117 if (PyErr_Occurred()) SWIG_fail;
26118 }
26119 Py_INCREF(Py_None); resultobj = Py_None;
26120 return resultobj;
26121 fail:
26122 return NULL;
26123 }
26124
26125
26126 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
26127 PyObject *resultobj;
26128 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26129 PyObject * obj0 = 0 ;
26130 char *kwnames[] = {
26131 (char *) "self", NULL
26132 };
26133
26134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
26135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26137 {
26138 PyThreadState* __tstate = wxPyBeginAllowThreads();
26139 (arg1)->Unselect();
26140
26141 wxPyEndAllowThreads(__tstate);
26142 if (PyErr_Occurred()) SWIG_fail;
26143 }
26144 Py_INCREF(Py_None); resultobj = Py_None;
26145 return resultobj;
26146 fail:
26147 return NULL;
26148 }
26149
26150
26151 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26152 PyObject *resultobj;
26153 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26154 wxTreeItemId *arg2 = 0 ;
26155 PyObject * obj0 = 0 ;
26156 PyObject * obj1 = 0 ;
26157 char *kwnames[] = {
26158 (char *) "self",(char *) "item", NULL
26159 };
26160
26161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
26162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26164 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26165 SWIG_POINTER_EXCEPTION | 0)) == -1)
26166 SWIG_fail;
26167 if (arg2 == NULL) {
26168 PyErr_SetString(PyExc_TypeError,"null reference");
26169 SWIG_fail;
26170 }
26171 {
26172 PyThreadState* __tstate = wxPyBeginAllowThreads();
26173 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
26174
26175 wxPyEndAllowThreads(__tstate);
26176 if (PyErr_Occurred()) SWIG_fail;
26177 }
26178 Py_INCREF(Py_None); resultobj = Py_None;
26179 return resultobj;
26180 fail:
26181 return NULL;
26182 }
26183
26184
26185 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
26186 PyObject *resultobj;
26187 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26188 PyObject * obj0 = 0 ;
26189 char *kwnames[] = {
26190 (char *) "self", NULL
26191 };
26192
26193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
26194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26196 {
26197 PyThreadState* __tstate = wxPyBeginAllowThreads();
26198 (arg1)->UnselectAll();
26199
26200 wxPyEndAllowThreads(__tstate);
26201 if (PyErr_Occurred()) SWIG_fail;
26202 }
26203 Py_INCREF(Py_None); resultobj = Py_None;
26204 return resultobj;
26205 fail:
26206 return NULL;
26207 }
26208
26209
26210 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26211 PyObject *resultobj;
26212 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26213 wxTreeItemId *arg2 = 0 ;
26214 bool arg3 = (bool) True ;
26215 PyObject * obj0 = 0 ;
26216 PyObject * obj1 = 0 ;
26217 PyObject * obj2 = 0 ;
26218 char *kwnames[] = {
26219 (char *) "self",(char *) "item",(char *) "select", NULL
26220 };
26221
26222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26225 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26226 SWIG_POINTER_EXCEPTION | 0)) == -1)
26227 SWIG_fail;
26228 if (arg2 == NULL) {
26229 PyErr_SetString(PyExc_TypeError,"null reference");
26230 SWIG_fail;
26231 }
26232 if (obj2) {
26233 arg3 = (bool) SWIG_AsBool(obj2);
26234 if (PyErr_Occurred()) SWIG_fail;
26235 }
26236 {
26237 PyThreadState* __tstate = wxPyBeginAllowThreads();
26238 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
26239
26240 wxPyEndAllowThreads(__tstate);
26241 if (PyErr_Occurred()) SWIG_fail;
26242 }
26243 Py_INCREF(Py_None); resultobj = Py_None;
26244 return resultobj;
26245 fail:
26246 return NULL;
26247 }
26248
26249
26250 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26251 PyObject *resultobj;
26252 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26253 wxTreeItemId *arg2 = 0 ;
26254 PyObject * obj0 = 0 ;
26255 PyObject * obj1 = 0 ;
26256 char *kwnames[] = {
26257 (char *) "self",(char *) "item", NULL
26258 };
26259
26260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
26261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26263 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26264 SWIG_POINTER_EXCEPTION | 0)) == -1)
26265 SWIG_fail;
26266 if (arg2 == NULL) {
26267 PyErr_SetString(PyExc_TypeError,"null reference");
26268 SWIG_fail;
26269 }
26270 {
26271 PyThreadState* __tstate = wxPyBeginAllowThreads();
26272 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
26273
26274 wxPyEndAllowThreads(__tstate);
26275 if (PyErr_Occurred()) SWIG_fail;
26276 }
26277 Py_INCREF(Py_None); resultobj = Py_None;
26278 return resultobj;
26279 fail:
26280 return NULL;
26281 }
26282
26283
26284 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26285 PyObject *resultobj;
26286 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26287 wxTreeItemId *arg2 = 0 ;
26288 PyObject * obj0 = 0 ;
26289 PyObject * obj1 = 0 ;
26290 char *kwnames[] = {
26291 (char *) "self",(char *) "item", NULL
26292 };
26293
26294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
26295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26297 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26298 SWIG_POINTER_EXCEPTION | 0)) == -1)
26299 SWIG_fail;
26300 if (arg2 == NULL) {
26301 PyErr_SetString(PyExc_TypeError,"null reference");
26302 SWIG_fail;
26303 }
26304 {
26305 PyThreadState* __tstate = wxPyBeginAllowThreads();
26306 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
26307
26308 wxPyEndAllowThreads(__tstate);
26309 if (PyErr_Occurred()) SWIG_fail;
26310 }
26311 Py_INCREF(Py_None); resultobj = Py_None;
26312 return resultobj;
26313 fail:
26314 return NULL;
26315 }
26316
26317
26318 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26319 PyObject *resultobj;
26320 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26321 wxTreeItemId *arg2 = 0 ;
26322 PyObject * obj0 = 0 ;
26323 PyObject * obj1 = 0 ;
26324 char *kwnames[] = {
26325 (char *) "self",(char *) "item", NULL
26326 };
26327
26328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
26329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26332 SWIG_POINTER_EXCEPTION | 0)) == -1)
26333 SWIG_fail;
26334 if (arg2 == NULL) {
26335 PyErr_SetString(PyExc_TypeError,"null reference");
26336 SWIG_fail;
26337 }
26338 {
26339 PyThreadState* __tstate = wxPyBeginAllowThreads();
26340 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
26341
26342 wxPyEndAllowThreads(__tstate);
26343 if (PyErr_Occurred()) SWIG_fail;
26344 }
26345 Py_INCREF(Py_None); resultobj = Py_None;
26346 return resultobj;
26347 fail:
26348 return NULL;
26349 }
26350
26351
26352 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26353 PyObject *resultobj;
26354 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26355 wxTreeItemId *arg2 = 0 ;
26356 PyObject * obj0 = 0 ;
26357 PyObject * obj1 = 0 ;
26358 char *kwnames[] = {
26359 (char *) "self",(char *) "item", NULL
26360 };
26361
26362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
26363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26365 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26366 SWIG_POINTER_EXCEPTION | 0)) == -1)
26367 SWIG_fail;
26368 if (arg2 == NULL) {
26369 PyErr_SetString(PyExc_TypeError,"null reference");
26370 SWIG_fail;
26371 }
26372 {
26373 PyThreadState* __tstate = wxPyBeginAllowThreads();
26374 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
26375
26376 wxPyEndAllowThreads(__tstate);
26377 if (PyErr_Occurred()) SWIG_fail;
26378 }
26379 Py_INCREF(Py_None); resultobj = Py_None;
26380 return resultobj;
26381 fail:
26382 return NULL;
26383 }
26384
26385
26386 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
26387 PyObject *resultobj;
26388 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26389 wxTextCtrl *result;
26390 PyObject * obj0 = 0 ;
26391 char *kwnames[] = {
26392 (char *) "self", NULL
26393 };
26394
26395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
26396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26398 {
26399 PyThreadState* __tstate = wxPyBeginAllowThreads();
26400 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
26401
26402 wxPyEndAllowThreads(__tstate);
26403 if (PyErr_Occurred()) SWIG_fail;
26404 }
26405 {
26406 resultobj = wxPyMake_wxObject(result);
26407 }
26408 return resultobj;
26409 fail:
26410 return NULL;
26411 }
26412
26413
26414 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26415 PyObject *resultobj;
26416 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26417 wxTreeItemId *arg2 = 0 ;
26418 PyObject * obj0 = 0 ;
26419 PyObject * obj1 = 0 ;
26420 char *kwnames[] = {
26421 (char *) "self",(char *) "item", NULL
26422 };
26423
26424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
26425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26427 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26428 SWIG_POINTER_EXCEPTION | 0)) == -1)
26429 SWIG_fail;
26430 if (arg2 == NULL) {
26431 PyErr_SetString(PyExc_TypeError,"null reference");
26432 SWIG_fail;
26433 }
26434 {
26435 PyThreadState* __tstate = wxPyBeginAllowThreads();
26436 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
26437
26438 wxPyEndAllowThreads(__tstate);
26439 if (PyErr_Occurred()) SWIG_fail;
26440 }
26441 Py_INCREF(Py_None); resultobj = Py_None;
26442 return resultobj;
26443 fail:
26444 return NULL;
26445 }
26446
26447
26448 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26449 PyObject *resultobj;
26450 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26451 wxPoint *arg2 = 0 ;
26452 int *arg3 = 0 ;
26453 wxTreeItemId result;
26454 wxPoint temp2 ;
26455 int temp3 ;
26456 PyObject * obj0 = 0 ;
26457 PyObject * obj1 = 0 ;
26458 char *kwnames[] = {
26459 (char *) "self",(char *) "point", NULL
26460 };
26461
26462 arg3 = &temp3;
26463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
26464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26466 {
26467 arg2 = &temp2;
26468 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26469 }
26470 {
26471 PyThreadState* __tstate = wxPyBeginAllowThreads();
26472 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
26473
26474 wxPyEndAllowThreads(__tstate);
26475 if (PyErr_Occurred()) SWIG_fail;
26476 }
26477 {
26478 wxTreeItemId * resultptr;
26479 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26480 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26481 }
26482 {
26483 PyObject *o = PyInt_FromLong((long) (*arg3));
26484 resultobj = t_output_helper(resultobj,o);
26485 }
26486 return resultobj;
26487 fail:
26488 return NULL;
26489 }
26490
26491
26492 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26493 PyObject *resultobj;
26494 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26495 wxTreeItemId *arg2 = 0 ;
26496 bool arg3 = (bool) False ;
26497 PyObject *result;
26498 PyObject * obj0 = 0 ;
26499 PyObject * obj1 = 0 ;
26500 PyObject * obj2 = 0 ;
26501 char *kwnames[] = {
26502 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26503 };
26504
26505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
26506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26508 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26509 SWIG_POINTER_EXCEPTION | 0)) == -1)
26510 SWIG_fail;
26511 if (arg2 == NULL) {
26512 PyErr_SetString(PyExc_TypeError,"null reference");
26513 SWIG_fail;
26514 }
26515 if (obj2) {
26516 arg3 = (bool) SWIG_AsBool(obj2);
26517 if (PyErr_Occurred()) SWIG_fail;
26518 }
26519 {
26520 PyThreadState* __tstate = wxPyBeginAllowThreads();
26521 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
26522
26523 wxPyEndAllowThreads(__tstate);
26524 if (PyErr_Occurred()) SWIG_fail;
26525 }
26526 resultobj = result;
26527 return resultobj;
26528 fail:
26529 return NULL;
26530 }
26531
26532
26533 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
26534 PyObject *obj;
26535 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26536 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
26537 Py_INCREF(obj);
26538 return Py_BuildValue((char *)"");
26539 }
26540 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
26541 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
26542 return 1;
26543 }
26544
26545
26546 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
26547 PyObject *pyobj;
26548
26549 {
26550 #if wxUSE_UNICODE
26551 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26552 #else
26553 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26554 #endif
26555 }
26556 return pyobj;
26557 }
26558
26559
26560 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26561 PyObject *resultobj;
26562 wxWindow *arg1 = (wxWindow *) 0 ;
26563 int arg2 = (int) (int)-1 ;
26564 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
26565 wxString *arg3 = (wxString *) &arg3_defvalue ;
26566 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26567 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26568 wxSize const &arg5_defvalue = wxDefaultSize ;
26569 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26570 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26571 wxString const &arg7_defvalue = wxPyEmptyString ;
26572 wxString *arg7 = (wxString *) &arg7_defvalue ;
26573 int arg8 = (int) 0 ;
26574 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
26575 wxString *arg9 = (wxString *) &arg9_defvalue ;
26576 wxGenericDirCtrl *result;
26577 bool temp3 = False ;
26578 wxPoint temp4 ;
26579 wxSize temp5 ;
26580 bool temp7 = False ;
26581 bool temp9 = False ;
26582 PyObject * obj0 = 0 ;
26583 PyObject * obj1 = 0 ;
26584 PyObject * obj2 = 0 ;
26585 PyObject * obj3 = 0 ;
26586 PyObject * obj4 = 0 ;
26587 PyObject * obj5 = 0 ;
26588 PyObject * obj6 = 0 ;
26589 PyObject * obj7 = 0 ;
26590 PyObject * obj8 = 0 ;
26591 char *kwnames[] = {
26592 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26593 };
26594
26595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
26596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26598 if (obj1) {
26599 arg2 = (int const) SWIG_AsInt(obj1);
26600 if (PyErr_Occurred()) SWIG_fail;
26601 }
26602 if (obj2) {
26603 {
26604 arg3 = wxString_in_helper(obj2);
26605 if (arg3 == NULL) SWIG_fail;
26606 temp3 = True;
26607 }
26608 }
26609 if (obj3) {
26610 {
26611 arg4 = &temp4;
26612 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26613 }
26614 }
26615 if (obj4) {
26616 {
26617 arg5 = &temp5;
26618 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26619 }
26620 }
26621 if (obj5) {
26622 arg6 = (long) SWIG_AsLong(obj5);
26623 if (PyErr_Occurred()) SWIG_fail;
26624 }
26625 if (obj6) {
26626 {
26627 arg7 = wxString_in_helper(obj6);
26628 if (arg7 == NULL) SWIG_fail;
26629 temp7 = True;
26630 }
26631 }
26632 if (obj7) {
26633 arg8 = (int) SWIG_AsInt(obj7);
26634 if (PyErr_Occurred()) SWIG_fail;
26635 }
26636 if (obj8) {
26637 {
26638 arg9 = wxString_in_helper(obj8);
26639 if (arg9 == NULL) SWIG_fail;
26640 temp9 = True;
26641 }
26642 }
26643 {
26644 PyThreadState* __tstate = wxPyBeginAllowThreads();
26645 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
26646
26647 wxPyEndAllowThreads(__tstate);
26648 if (PyErr_Occurred()) SWIG_fail;
26649 }
26650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
26651 {
26652 if (temp3)
26653 delete arg3;
26654 }
26655 {
26656 if (temp7)
26657 delete arg7;
26658 }
26659 {
26660 if (temp9)
26661 delete arg9;
26662 }
26663 return resultobj;
26664 fail:
26665 {
26666 if (temp3)
26667 delete arg3;
26668 }
26669 {
26670 if (temp7)
26671 delete arg7;
26672 }
26673 {
26674 if (temp9)
26675 delete arg9;
26676 }
26677 return NULL;
26678 }
26679
26680
26681 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26682 PyObject *resultobj;
26683 wxGenericDirCtrl *result;
26684 char *kwnames[] = {
26685 NULL
26686 };
26687
26688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
26689 {
26690 PyThreadState* __tstate = wxPyBeginAllowThreads();
26691 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
26692
26693 wxPyEndAllowThreads(__tstate);
26694 if (PyErr_Occurred()) SWIG_fail;
26695 }
26696 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
26697 return resultobj;
26698 fail:
26699 return NULL;
26700 }
26701
26702
26703 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
26704 PyObject *resultobj;
26705 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26706 wxWindow *arg2 = (wxWindow *) 0 ;
26707 int arg3 = (int) (int)-1 ;
26708 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
26709 wxString *arg4 = (wxString *) &arg4_defvalue ;
26710 wxPoint const &arg5_defvalue = wxDefaultPosition ;
26711 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
26712 wxSize const &arg6_defvalue = wxDefaultSize ;
26713 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
26714 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26715 wxString const &arg8_defvalue = wxPyEmptyString ;
26716 wxString *arg8 = (wxString *) &arg8_defvalue ;
26717 int arg9 = (int) 0 ;
26718 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
26719 wxString *arg10 = (wxString *) &arg10_defvalue ;
26720 bool result;
26721 bool temp4 = False ;
26722 wxPoint temp5 ;
26723 wxSize temp6 ;
26724 bool temp8 = False ;
26725 bool temp10 = False ;
26726 PyObject * obj0 = 0 ;
26727 PyObject * obj1 = 0 ;
26728 PyObject * obj2 = 0 ;
26729 PyObject * obj3 = 0 ;
26730 PyObject * obj4 = 0 ;
26731 PyObject * obj5 = 0 ;
26732 PyObject * obj6 = 0 ;
26733 PyObject * obj7 = 0 ;
26734 PyObject * obj8 = 0 ;
26735 PyObject * obj9 = 0 ;
26736 char *kwnames[] = {
26737 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26738 };
26739
26740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
26741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26743 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
26744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26745 if (obj2) {
26746 arg3 = (int const) SWIG_AsInt(obj2);
26747 if (PyErr_Occurred()) SWIG_fail;
26748 }
26749 if (obj3) {
26750 {
26751 arg4 = wxString_in_helper(obj3);
26752 if (arg4 == NULL) SWIG_fail;
26753 temp4 = True;
26754 }
26755 }
26756 if (obj4) {
26757 {
26758 arg5 = &temp5;
26759 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
26760 }
26761 }
26762 if (obj5) {
26763 {
26764 arg6 = &temp6;
26765 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
26766 }
26767 }
26768 if (obj6) {
26769 arg7 = (long) SWIG_AsLong(obj6);
26770 if (PyErr_Occurred()) SWIG_fail;
26771 }
26772 if (obj7) {
26773 {
26774 arg8 = wxString_in_helper(obj7);
26775 if (arg8 == NULL) SWIG_fail;
26776 temp8 = True;
26777 }
26778 }
26779 if (obj8) {
26780 arg9 = (int) SWIG_AsInt(obj8);
26781 if (PyErr_Occurred()) SWIG_fail;
26782 }
26783 if (obj9) {
26784 {
26785 arg10 = wxString_in_helper(obj9);
26786 if (arg10 == NULL) SWIG_fail;
26787 temp10 = True;
26788 }
26789 }
26790 {
26791 PyThreadState* __tstate = wxPyBeginAllowThreads();
26792 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
26793
26794 wxPyEndAllowThreads(__tstate);
26795 if (PyErr_Occurred()) SWIG_fail;
26796 }
26797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26798 {
26799 if (temp4)
26800 delete arg4;
26801 }
26802 {
26803 if (temp8)
26804 delete arg8;
26805 }
26806 {
26807 if (temp10)
26808 delete arg10;
26809 }
26810 return resultobj;
26811 fail:
26812 {
26813 if (temp4)
26814 delete arg4;
26815 }
26816 {
26817 if (temp8)
26818 delete arg8;
26819 }
26820 {
26821 if (temp10)
26822 delete arg10;
26823 }
26824 return NULL;
26825 }
26826
26827
26828 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26829 PyObject *resultobj;
26830 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26831 wxString *arg2 = 0 ;
26832 bool result;
26833 bool temp2 = False ;
26834 PyObject * obj0 = 0 ;
26835 PyObject * obj1 = 0 ;
26836 char *kwnames[] = {
26837 (char *) "self",(char *) "path", NULL
26838 };
26839
26840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
26841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26843 {
26844 arg2 = wxString_in_helper(obj1);
26845 if (arg2 == NULL) SWIG_fail;
26846 temp2 = True;
26847 }
26848 {
26849 PyThreadState* __tstate = wxPyBeginAllowThreads();
26850 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
26851
26852 wxPyEndAllowThreads(__tstate);
26853 if (PyErr_Occurred()) SWIG_fail;
26854 }
26855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26856 {
26857 if (temp2)
26858 delete arg2;
26859 }
26860 return resultobj;
26861 fail:
26862 {
26863 if (temp2)
26864 delete arg2;
26865 }
26866 return NULL;
26867 }
26868
26869
26870 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26871 PyObject *resultobj;
26872 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26873 wxString result;
26874 PyObject * obj0 = 0 ;
26875 char *kwnames[] = {
26876 (char *) "self", NULL
26877 };
26878
26879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
26880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26882 {
26883 PyThreadState* __tstate = wxPyBeginAllowThreads();
26884 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
26885
26886 wxPyEndAllowThreads(__tstate);
26887 if (PyErr_Occurred()) SWIG_fail;
26888 }
26889 {
26890 #if wxUSE_UNICODE
26891 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26892 #else
26893 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26894 #endif
26895 }
26896 return resultobj;
26897 fail:
26898 return NULL;
26899 }
26900
26901
26902 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26903 PyObject *resultobj;
26904 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26905 wxString *arg2 = 0 ;
26906 bool temp2 = False ;
26907 PyObject * obj0 = 0 ;
26908 PyObject * obj1 = 0 ;
26909 char *kwnames[] = {
26910 (char *) "self",(char *) "path", NULL
26911 };
26912
26913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
26914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26916 {
26917 arg2 = wxString_in_helper(obj1);
26918 if (arg2 == NULL) SWIG_fail;
26919 temp2 = True;
26920 }
26921 {
26922 PyThreadState* __tstate = wxPyBeginAllowThreads();
26923 (arg1)->SetDefaultPath((wxString const &)*arg2);
26924
26925 wxPyEndAllowThreads(__tstate);
26926 if (PyErr_Occurred()) SWIG_fail;
26927 }
26928 Py_INCREF(Py_None); resultobj = Py_None;
26929 {
26930 if (temp2)
26931 delete arg2;
26932 }
26933 return resultobj;
26934 fail:
26935 {
26936 if (temp2)
26937 delete arg2;
26938 }
26939 return NULL;
26940 }
26941
26942
26943 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26944 PyObject *resultobj;
26945 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26946 wxString result;
26947 PyObject * obj0 = 0 ;
26948 char *kwnames[] = {
26949 (char *) "self", NULL
26950 };
26951
26952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
26953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26955 {
26956 PyThreadState* __tstate = wxPyBeginAllowThreads();
26957 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
26958
26959 wxPyEndAllowThreads(__tstate);
26960 if (PyErr_Occurred()) SWIG_fail;
26961 }
26962 {
26963 #if wxUSE_UNICODE
26964 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26965 #else
26966 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26967 #endif
26968 }
26969 return resultobj;
26970 fail:
26971 return NULL;
26972 }
26973
26974
26975 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
26976 PyObject *resultobj;
26977 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26978 wxString result;
26979 PyObject * obj0 = 0 ;
26980 char *kwnames[] = {
26981 (char *) "self", NULL
26982 };
26983
26984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
26985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26987 {
26988 PyThreadState* __tstate = wxPyBeginAllowThreads();
26989 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
26990
26991 wxPyEndAllowThreads(__tstate);
26992 if (PyErr_Occurred()) SWIG_fail;
26993 }
26994 {
26995 #if wxUSE_UNICODE
26996 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26997 #else
26998 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26999 #endif
27000 }
27001 return resultobj;
27002 fail:
27003 return NULL;
27004 }
27005
27006
27007 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27008 PyObject *resultobj;
27009 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27010 wxString *arg2 = 0 ;
27011 bool temp2 = False ;
27012 PyObject * obj0 = 0 ;
27013 PyObject * obj1 = 0 ;
27014 char *kwnames[] = {
27015 (char *) "self",(char *) "path", NULL
27016 };
27017
27018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
27019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27021 {
27022 arg2 = wxString_in_helper(obj1);
27023 if (arg2 == NULL) SWIG_fail;
27024 temp2 = True;
27025 }
27026 {
27027 PyThreadState* __tstate = wxPyBeginAllowThreads();
27028 (arg1)->SetPath((wxString const &)*arg2);
27029
27030 wxPyEndAllowThreads(__tstate);
27031 if (PyErr_Occurred()) SWIG_fail;
27032 }
27033 Py_INCREF(Py_None); resultobj = Py_None;
27034 {
27035 if (temp2)
27036 delete arg2;
27037 }
27038 return resultobj;
27039 fail:
27040 {
27041 if (temp2)
27042 delete arg2;
27043 }
27044 return NULL;
27045 }
27046
27047
27048 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
27049 PyObject *resultobj;
27050 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27051 bool arg2 ;
27052 PyObject * obj0 = 0 ;
27053 PyObject * obj1 = 0 ;
27054 char *kwnames[] = {
27055 (char *) "self",(char *) "show", NULL
27056 };
27057
27058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
27059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27061 arg2 = (bool) SWIG_AsBool(obj1);
27062 if (PyErr_Occurred()) SWIG_fail;
27063 {
27064 PyThreadState* __tstate = wxPyBeginAllowThreads();
27065 (arg1)->ShowHidden(arg2);
27066
27067 wxPyEndAllowThreads(__tstate);
27068 if (PyErr_Occurred()) SWIG_fail;
27069 }
27070 Py_INCREF(Py_None); resultobj = Py_None;
27071 return resultobj;
27072 fail:
27073 return NULL;
27074 }
27075
27076
27077 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
27078 PyObject *resultobj;
27079 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27080 bool result;
27081 PyObject * obj0 = 0 ;
27082 char *kwnames[] = {
27083 (char *) "self", NULL
27084 };
27085
27086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
27087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27089 {
27090 PyThreadState* __tstate = wxPyBeginAllowThreads();
27091 result = (bool)(arg1)->GetShowHidden();
27092
27093 wxPyEndAllowThreads(__tstate);
27094 if (PyErr_Occurred()) SWIG_fail;
27095 }
27096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27097 return resultobj;
27098 fail:
27099 return NULL;
27100 }
27101
27102
27103 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
27104 PyObject *resultobj;
27105 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27106 wxString result;
27107 PyObject * obj0 = 0 ;
27108 char *kwnames[] = {
27109 (char *) "self", NULL
27110 };
27111
27112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
27113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27115 {
27116 PyThreadState* __tstate = wxPyBeginAllowThreads();
27117 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
27118
27119 wxPyEndAllowThreads(__tstate);
27120 if (PyErr_Occurred()) SWIG_fail;
27121 }
27122 {
27123 #if wxUSE_UNICODE
27124 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27125 #else
27126 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27127 #endif
27128 }
27129 return resultobj;
27130 fail:
27131 return NULL;
27132 }
27133
27134
27135 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
27136 PyObject *resultobj;
27137 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27138 wxString *arg2 = 0 ;
27139 bool temp2 = False ;
27140 PyObject * obj0 = 0 ;
27141 PyObject * obj1 = 0 ;
27142 char *kwnames[] = {
27143 (char *) "self",(char *) "filter", NULL
27144 };
27145
27146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
27147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27149 {
27150 arg2 = wxString_in_helper(obj1);
27151 if (arg2 == NULL) SWIG_fail;
27152 temp2 = True;
27153 }
27154 {
27155 PyThreadState* __tstate = wxPyBeginAllowThreads();
27156 (arg1)->SetFilter((wxString const &)*arg2);
27157
27158 wxPyEndAllowThreads(__tstate);
27159 if (PyErr_Occurred()) SWIG_fail;
27160 }
27161 Py_INCREF(Py_None); resultobj = Py_None;
27162 {
27163 if (temp2)
27164 delete arg2;
27165 }
27166 return resultobj;
27167 fail:
27168 {
27169 if (temp2)
27170 delete arg2;
27171 }
27172 return NULL;
27173 }
27174
27175
27176 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27177 PyObject *resultobj;
27178 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27179 int result;
27180 PyObject * obj0 = 0 ;
27181 char *kwnames[] = {
27182 (char *) "self", NULL
27183 };
27184
27185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
27186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27188 {
27189 PyThreadState* __tstate = wxPyBeginAllowThreads();
27190 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
27191
27192 wxPyEndAllowThreads(__tstate);
27193 if (PyErr_Occurred()) SWIG_fail;
27194 }
27195 resultobj = SWIG_FromInt((int)result);
27196 return resultobj;
27197 fail:
27198 return NULL;
27199 }
27200
27201
27202 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27203 PyObject *resultobj;
27204 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27205 int arg2 ;
27206 PyObject * obj0 = 0 ;
27207 PyObject * obj1 = 0 ;
27208 char *kwnames[] = {
27209 (char *) "self",(char *) "n", NULL
27210 };
27211
27212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
27213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27215 arg2 = (int) SWIG_AsInt(obj1);
27216 if (PyErr_Occurred()) SWIG_fail;
27217 {
27218 PyThreadState* __tstate = wxPyBeginAllowThreads();
27219 (arg1)->SetFilterIndex(arg2);
27220
27221 wxPyEndAllowThreads(__tstate);
27222 if (PyErr_Occurred()) SWIG_fail;
27223 }
27224 Py_INCREF(Py_None); resultobj = Py_None;
27225 return resultobj;
27226 fail:
27227 return NULL;
27228 }
27229
27230
27231 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
27232 PyObject *resultobj;
27233 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27234 wxTreeItemId result;
27235 PyObject * obj0 = 0 ;
27236 char *kwnames[] = {
27237 (char *) "self", NULL
27238 };
27239
27240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
27241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27243 {
27244 PyThreadState* __tstate = wxPyBeginAllowThreads();
27245 result = (arg1)->GetRootId();
27246
27247 wxPyEndAllowThreads(__tstate);
27248 if (PyErr_Occurred()) SWIG_fail;
27249 }
27250 {
27251 wxTreeItemId * resultptr;
27252 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27253 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27254 }
27255 return resultobj;
27256 fail:
27257 return NULL;
27258 }
27259
27260
27261 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27262 PyObject *resultobj;
27263 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27264 wxPyTreeCtrl *result;
27265 PyObject * obj0 = 0 ;
27266 char *kwnames[] = {
27267 (char *) "self", NULL
27268 };
27269
27270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
27271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27273 {
27274 PyThreadState* __tstate = wxPyBeginAllowThreads();
27275 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
27276
27277 wxPyEndAllowThreads(__tstate);
27278 if (PyErr_Occurred()) SWIG_fail;
27279 }
27280 {
27281 resultobj = wxPyMake_wxObject(result);
27282 }
27283 return resultobj;
27284 fail:
27285 return NULL;
27286 }
27287
27288
27289 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27290 PyObject *resultobj;
27291 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27292 wxDirFilterListCtrl *result;
27293 PyObject * obj0 = 0 ;
27294 char *kwnames[] = {
27295 (char *) "self", NULL
27296 };
27297
27298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
27299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27301 {
27302 PyThreadState* __tstate = wxPyBeginAllowThreads();
27303 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
27304
27305 wxPyEndAllowThreads(__tstate);
27306 if (PyErr_Occurred()) SWIG_fail;
27307 }
27308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
27309 return resultobj;
27310 fail:
27311 return NULL;
27312 }
27313
27314
27315 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27316 PyObject *resultobj;
27317 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27318 wxTreeItemId arg2 ;
27319 wxString *arg3 = 0 ;
27320 bool *arg4 = 0 ;
27321 wxTreeItemId result;
27322 wxTreeItemId *argp2 ;
27323 bool temp3 = False ;
27324 bool temp4 ;
27325 PyObject * obj0 = 0 ;
27326 PyObject * obj1 = 0 ;
27327 PyObject * obj2 = 0 ;
27328 char *kwnames[] = {
27329 (char *) "self",(char *) "parentId",(char *) "path", NULL
27330 };
27331
27332 arg4 = &temp4;
27333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
27334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27336 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
27337 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
27338 arg2 = *argp2;
27339 {
27340 arg3 = wxString_in_helper(obj2);
27341 if (arg3 == NULL) SWIG_fail;
27342 temp3 = True;
27343 }
27344 {
27345 PyThreadState* __tstate = wxPyBeginAllowThreads();
27346 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
27347
27348 wxPyEndAllowThreads(__tstate);
27349 if (PyErr_Occurred()) SWIG_fail;
27350 }
27351 {
27352 wxTreeItemId * resultptr;
27353 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27354 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27355 }
27356 {
27357 PyObject *o = PyInt_FromLong((long) (*arg4));
27358 resultobj = t_output_helper(resultobj,o);
27359 }
27360 {
27361 if (temp3)
27362 delete arg3;
27363 }
27364 return resultobj;
27365 fail:
27366 {
27367 if (temp3)
27368 delete arg3;
27369 }
27370 return NULL;
27371 }
27372
27373
27374 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
27375 PyObject *resultobj;
27376 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27377 PyObject * obj0 = 0 ;
27378 char *kwnames[] = {
27379 (char *) "self", NULL
27380 };
27381
27382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
27383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27385 {
27386 PyThreadState* __tstate = wxPyBeginAllowThreads();
27387 (arg1)->DoResize();
27388
27389 wxPyEndAllowThreads(__tstate);
27390 if (PyErr_Occurred()) SWIG_fail;
27391 }
27392 Py_INCREF(Py_None); resultobj = Py_None;
27393 return resultobj;
27394 fail:
27395 return NULL;
27396 }
27397
27398
27399 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
27400 PyObject *resultobj;
27401 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27402 PyObject * obj0 = 0 ;
27403 char *kwnames[] = {
27404 (char *) "self", NULL
27405 };
27406
27407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
27408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27410 {
27411 PyThreadState* __tstate = wxPyBeginAllowThreads();
27412 (arg1)->ReCreateTree();
27413
27414 wxPyEndAllowThreads(__tstate);
27415 if (PyErr_Occurred()) SWIG_fail;
27416 }
27417 Py_INCREF(Py_None); resultobj = Py_None;
27418 return resultobj;
27419 fail:
27420 return NULL;
27421 }
27422
27423
27424 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
27425 PyObject *obj;
27426 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27427 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
27428 Py_INCREF(obj);
27429 return Py_BuildValue((char *)"");
27430 }
27431 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27432 PyObject *resultobj;
27433 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27434 int arg2 = (int) (int)-1 ;
27435 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27436 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27437 wxSize const &arg4_defvalue = wxDefaultSize ;
27438 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27439 long arg5 = (long) 0 ;
27440 wxDirFilterListCtrl *result;
27441 wxPoint temp3 ;
27442 wxSize temp4 ;
27443 PyObject * obj0 = 0 ;
27444 PyObject * obj1 = 0 ;
27445 PyObject * obj2 = 0 ;
27446 PyObject * obj3 = 0 ;
27447 PyObject * obj4 = 0 ;
27448 char *kwnames[] = {
27449 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27450 };
27451
27452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27455 if (obj1) {
27456 arg2 = (int const) SWIG_AsInt(obj1);
27457 if (PyErr_Occurred()) SWIG_fail;
27458 }
27459 if (obj2) {
27460 {
27461 arg3 = &temp3;
27462 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27463 }
27464 }
27465 if (obj3) {
27466 {
27467 arg4 = &temp4;
27468 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27469 }
27470 }
27471 if (obj4) {
27472 arg5 = (long) SWIG_AsLong(obj4);
27473 if (PyErr_Occurred()) SWIG_fail;
27474 }
27475 {
27476 PyThreadState* __tstate = wxPyBeginAllowThreads();
27477 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
27478
27479 wxPyEndAllowThreads(__tstate);
27480 if (PyErr_Occurred()) SWIG_fail;
27481 }
27482 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27483 return resultobj;
27484 fail:
27485 return NULL;
27486 }
27487
27488
27489 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27490 PyObject *resultobj;
27491 wxDirFilterListCtrl *result;
27492 char *kwnames[] = {
27493 NULL
27494 };
27495
27496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
27497 {
27498 PyThreadState* __tstate = wxPyBeginAllowThreads();
27499 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
27500
27501 wxPyEndAllowThreads(__tstate);
27502 if (PyErr_Occurred()) SWIG_fail;
27503 }
27504 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27505 return resultobj;
27506 fail:
27507 return NULL;
27508 }
27509
27510
27511 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27512 PyObject *resultobj;
27513 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27514 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
27515 int arg3 = (int) (int)-1 ;
27516 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27517 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27518 wxSize const &arg5_defvalue = wxDefaultSize ;
27519 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27520 long arg6 = (long) 0 ;
27521 bool result;
27522 wxPoint temp4 ;
27523 wxSize temp5 ;
27524 PyObject * obj0 = 0 ;
27525 PyObject * obj1 = 0 ;
27526 PyObject * obj2 = 0 ;
27527 PyObject * obj3 = 0 ;
27528 PyObject * obj4 = 0 ;
27529 PyObject * obj5 = 0 ;
27530 char *kwnames[] = {
27531 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27532 };
27533
27534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27537 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
27538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27539 if (obj2) {
27540 arg3 = (int const) SWIG_AsInt(obj2);
27541 if (PyErr_Occurred()) SWIG_fail;
27542 }
27543 if (obj3) {
27544 {
27545 arg4 = &temp4;
27546 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27547 }
27548 }
27549 if (obj4) {
27550 {
27551 arg5 = &temp5;
27552 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27553 }
27554 }
27555 if (obj5) {
27556 arg6 = (long) SWIG_AsLong(obj5);
27557 if (PyErr_Occurred()) SWIG_fail;
27558 }
27559 {
27560 PyThreadState* __tstate = wxPyBeginAllowThreads();
27561 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
27562
27563 wxPyEndAllowThreads(__tstate);
27564 if (PyErr_Occurred()) SWIG_fail;
27565 }
27566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27567 return resultobj;
27568 fail:
27569 return NULL;
27570 }
27571
27572
27573 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
27574 PyObject *resultobj;
27575 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27576 wxString *arg2 = 0 ;
27577 int arg3 ;
27578 bool temp2 = False ;
27579 PyObject * obj0 = 0 ;
27580 PyObject * obj1 = 0 ;
27581 PyObject * obj2 = 0 ;
27582 char *kwnames[] = {
27583 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27584 };
27585
27586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
27587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27589 {
27590 arg2 = wxString_in_helper(obj1);
27591 if (arg2 == NULL) SWIG_fail;
27592 temp2 = True;
27593 }
27594 arg3 = (int) SWIG_AsInt(obj2);
27595 if (PyErr_Occurred()) SWIG_fail;
27596 {
27597 PyThreadState* __tstate = wxPyBeginAllowThreads();
27598 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
27599
27600 wxPyEndAllowThreads(__tstate);
27601 if (PyErr_Occurred()) SWIG_fail;
27602 }
27603 Py_INCREF(Py_None); resultobj = Py_None;
27604 {
27605 if (temp2)
27606 delete arg2;
27607 }
27608 return resultobj;
27609 fail:
27610 {
27611 if (temp2)
27612 delete arg2;
27613 }
27614 return NULL;
27615 }
27616
27617
27618 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
27619 PyObject *obj;
27620 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27621 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
27622 Py_INCREF(obj);
27623 return Py_BuildValue((char *)"");
27624 }
27625 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27626 PyObject *resultobj;
27627 wxWindow *arg1 = (wxWindow *) 0 ;
27628 int arg2 ;
27629 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27630 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27631 wxSize const &arg4_defvalue = wxDefaultSize ;
27632 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27633 long arg5 = (long) 0 ;
27634 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27635 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27636 wxString const &arg7_defvalue = wxPyControlNameStr ;
27637 wxString *arg7 = (wxString *) &arg7_defvalue ;
27638 wxPyControl *result;
27639 wxPoint temp3 ;
27640 wxSize temp4 ;
27641 bool temp7 = False ;
27642 PyObject * obj0 = 0 ;
27643 PyObject * obj1 = 0 ;
27644 PyObject * obj2 = 0 ;
27645 PyObject * obj3 = 0 ;
27646 PyObject * obj4 = 0 ;
27647 PyObject * obj5 = 0 ;
27648 PyObject * obj6 = 0 ;
27649 char *kwnames[] = {
27650 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27651 };
27652
27653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27656 arg2 = (int const) SWIG_AsInt(obj1);
27657 if (PyErr_Occurred()) SWIG_fail;
27658 if (obj2) {
27659 {
27660 arg3 = &temp3;
27661 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27662 }
27663 }
27664 if (obj3) {
27665 {
27666 arg4 = &temp4;
27667 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27668 }
27669 }
27670 if (obj4) {
27671 arg5 = (long) SWIG_AsLong(obj4);
27672 if (PyErr_Occurred()) SWIG_fail;
27673 }
27674 if (obj5) {
27675 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
27676 SWIG_POINTER_EXCEPTION | 0)) == -1)
27677 SWIG_fail;
27678 if (arg6 == NULL) {
27679 PyErr_SetString(PyExc_TypeError,"null reference");
27680 SWIG_fail;
27681 }
27682 }
27683 if (obj6) {
27684 {
27685 arg7 = wxString_in_helper(obj6);
27686 if (arg7 == NULL) SWIG_fail;
27687 temp7 = True;
27688 }
27689 }
27690 {
27691 PyThreadState* __tstate = wxPyBeginAllowThreads();
27692 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27693
27694 wxPyEndAllowThreads(__tstate);
27695 if (PyErr_Occurred()) SWIG_fail;
27696 }
27697 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
27698 {
27699 if (temp7)
27700 delete arg7;
27701 }
27702 return resultobj;
27703 fail:
27704 {
27705 if (temp7)
27706 delete arg7;
27707 }
27708 return NULL;
27709 }
27710
27711
27712 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
27713 PyObject *resultobj;
27714 wxPyControl *arg1 = (wxPyControl *) 0 ;
27715 PyObject *arg2 = (PyObject *) 0 ;
27716 PyObject *arg3 = (PyObject *) 0 ;
27717 PyObject * obj0 = 0 ;
27718 PyObject * obj1 = 0 ;
27719 PyObject * obj2 = 0 ;
27720 char *kwnames[] = {
27721 (char *) "self",(char *) "self",(char *) "_class", NULL
27722 };
27723
27724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27727 arg2 = obj1;
27728 arg3 = obj2;
27729 {
27730 PyThreadState* __tstate = wxPyBeginAllowThreads();
27731 (arg1)->_setCallbackInfo(arg2,arg3);
27732
27733 wxPyEndAllowThreads(__tstate);
27734 if (PyErr_Occurred()) SWIG_fail;
27735 }
27736 Py_INCREF(Py_None); resultobj = Py_None;
27737 return resultobj;
27738 fail:
27739 return NULL;
27740 }
27741
27742
27743 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27744 PyObject *resultobj;
27745 wxPyControl *arg1 = (wxPyControl *) 0 ;
27746 int arg2 ;
27747 int arg3 ;
27748 int arg4 ;
27749 int arg5 ;
27750 PyObject * obj0 = 0 ;
27751 PyObject * obj1 = 0 ;
27752 PyObject * obj2 = 0 ;
27753 PyObject * obj3 = 0 ;
27754 PyObject * obj4 = 0 ;
27755 char *kwnames[] = {
27756 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27757 };
27758
27759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27762 arg2 = (int) SWIG_AsInt(obj1);
27763 if (PyErr_Occurred()) SWIG_fail;
27764 arg3 = (int) SWIG_AsInt(obj2);
27765 if (PyErr_Occurred()) SWIG_fail;
27766 arg4 = (int) SWIG_AsInt(obj3);
27767 if (PyErr_Occurred()) SWIG_fail;
27768 arg5 = (int) SWIG_AsInt(obj4);
27769 if (PyErr_Occurred()) SWIG_fail;
27770 {
27771 PyThreadState* __tstate = wxPyBeginAllowThreads();
27772 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
27773
27774 wxPyEndAllowThreads(__tstate);
27775 if (PyErr_Occurred()) SWIG_fail;
27776 }
27777 Py_INCREF(Py_None); resultobj = Py_None;
27778 return resultobj;
27779 fail:
27780 return NULL;
27781 }
27782
27783
27784 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27785 PyObject *resultobj;
27786 wxPyControl *arg1 = (wxPyControl *) 0 ;
27787 int arg2 ;
27788 int arg3 ;
27789 int arg4 ;
27790 int arg5 ;
27791 int arg6 = (int) wxSIZE_AUTO ;
27792 PyObject * obj0 = 0 ;
27793 PyObject * obj1 = 0 ;
27794 PyObject * obj2 = 0 ;
27795 PyObject * obj3 = 0 ;
27796 PyObject * obj4 = 0 ;
27797 PyObject * obj5 = 0 ;
27798 char *kwnames[] = {
27799 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27800 };
27801
27802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27805 arg2 = (int) SWIG_AsInt(obj1);
27806 if (PyErr_Occurred()) SWIG_fail;
27807 arg3 = (int) SWIG_AsInt(obj2);
27808 if (PyErr_Occurred()) SWIG_fail;
27809 arg4 = (int) SWIG_AsInt(obj3);
27810 if (PyErr_Occurred()) SWIG_fail;
27811 arg5 = (int) SWIG_AsInt(obj4);
27812 if (PyErr_Occurred()) SWIG_fail;
27813 if (obj5) {
27814 arg6 = (int) SWIG_AsInt(obj5);
27815 if (PyErr_Occurred()) SWIG_fail;
27816 }
27817 {
27818 PyThreadState* __tstate = wxPyBeginAllowThreads();
27819 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
27820
27821 wxPyEndAllowThreads(__tstate);
27822 if (PyErr_Occurred()) SWIG_fail;
27823 }
27824 Py_INCREF(Py_None); resultobj = Py_None;
27825 return resultobj;
27826 fail:
27827 return NULL;
27828 }
27829
27830
27831 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27832 PyObject *resultobj;
27833 wxPyControl *arg1 = (wxPyControl *) 0 ;
27834 int arg2 ;
27835 int arg3 ;
27836 PyObject * obj0 = 0 ;
27837 PyObject * obj1 = 0 ;
27838 PyObject * obj2 = 0 ;
27839 char *kwnames[] = {
27840 (char *) "self",(char *) "width",(char *) "height", NULL
27841 };
27842
27843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27846 arg2 = (int) SWIG_AsInt(obj1);
27847 if (PyErr_Occurred()) SWIG_fail;
27848 arg3 = (int) SWIG_AsInt(obj2);
27849 if (PyErr_Occurred()) SWIG_fail;
27850 {
27851 PyThreadState* __tstate = wxPyBeginAllowThreads();
27852 (arg1)->base_DoSetClientSize(arg2,arg3);
27853
27854 wxPyEndAllowThreads(__tstate);
27855 if (PyErr_Occurred()) SWIG_fail;
27856 }
27857 Py_INCREF(Py_None); resultobj = Py_None;
27858 return resultobj;
27859 fail:
27860 return NULL;
27861 }
27862
27863
27864 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27865 PyObject *resultobj;
27866 wxPyControl *arg1 = (wxPyControl *) 0 ;
27867 int arg2 ;
27868 int arg3 ;
27869 PyObject * obj0 = 0 ;
27870 PyObject * obj1 = 0 ;
27871 PyObject * obj2 = 0 ;
27872 char *kwnames[] = {
27873 (char *) "self",(char *) "x",(char *) "y", NULL
27874 };
27875
27876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27879 arg2 = (int) SWIG_AsInt(obj1);
27880 if (PyErr_Occurred()) SWIG_fail;
27881 arg3 = (int) SWIG_AsInt(obj2);
27882 if (PyErr_Occurred()) SWIG_fail;
27883 {
27884 PyThreadState* __tstate = wxPyBeginAllowThreads();
27885 (arg1)->base_DoSetVirtualSize(arg2,arg3);
27886
27887 wxPyEndAllowThreads(__tstate);
27888 if (PyErr_Occurred()) SWIG_fail;
27889 }
27890 Py_INCREF(Py_None); resultobj = Py_None;
27891 return resultobj;
27892 fail:
27893 return NULL;
27894 }
27895
27896
27897 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27898 PyObject *resultobj;
27899 wxPyControl *arg1 = (wxPyControl *) 0 ;
27900 int *arg2 = (int *) 0 ;
27901 int *arg3 = (int *) 0 ;
27902 int temp2 ;
27903 int temp3 ;
27904 PyObject * obj0 = 0 ;
27905 char *kwnames[] = {
27906 (char *) "self", NULL
27907 };
27908
27909 arg2 = &temp2;
27910 arg3 = &temp3;
27911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
27912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27914 {
27915 PyThreadState* __tstate = wxPyBeginAllowThreads();
27916 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
27917
27918 wxPyEndAllowThreads(__tstate);
27919 if (PyErr_Occurred()) SWIG_fail;
27920 }
27921 Py_INCREF(Py_None); resultobj = Py_None;
27922 {
27923 PyObject *o = PyInt_FromLong((long) (*arg2));
27924 resultobj = t_output_helper(resultobj,o);
27925 }
27926 {
27927 PyObject *o = PyInt_FromLong((long) (*arg3));
27928 resultobj = t_output_helper(resultobj,o);
27929 }
27930 return resultobj;
27931 fail:
27932 return NULL;
27933 }
27934
27935
27936 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27937 PyObject *resultobj;
27938 wxPyControl *arg1 = (wxPyControl *) 0 ;
27939 int *arg2 = (int *) 0 ;
27940 int *arg3 = (int *) 0 ;
27941 int temp2 ;
27942 int temp3 ;
27943 PyObject * obj0 = 0 ;
27944 char *kwnames[] = {
27945 (char *) "self", NULL
27946 };
27947
27948 arg2 = &temp2;
27949 arg3 = &temp3;
27950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
27951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27953 {
27954 PyThreadState* __tstate = wxPyBeginAllowThreads();
27955 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
27956
27957 wxPyEndAllowThreads(__tstate);
27958 if (PyErr_Occurred()) SWIG_fail;
27959 }
27960 Py_INCREF(Py_None); resultobj = Py_None;
27961 {
27962 PyObject *o = PyInt_FromLong((long) (*arg2));
27963 resultobj = t_output_helper(resultobj,o);
27964 }
27965 {
27966 PyObject *o = PyInt_FromLong((long) (*arg3));
27967 resultobj = t_output_helper(resultobj,o);
27968 }
27969 return resultobj;
27970 fail:
27971 return NULL;
27972 }
27973
27974
27975 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
27976 PyObject *resultobj;
27977 wxPyControl *arg1 = (wxPyControl *) 0 ;
27978 int *arg2 = (int *) 0 ;
27979 int *arg3 = (int *) 0 ;
27980 int temp2 ;
27981 int temp3 ;
27982 PyObject * obj0 = 0 ;
27983 char *kwnames[] = {
27984 (char *) "self", NULL
27985 };
27986
27987 arg2 = &temp2;
27988 arg3 = &temp3;
27989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
27990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27992 {
27993 PyThreadState* __tstate = wxPyBeginAllowThreads();
27994 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
27995
27996 wxPyEndAllowThreads(__tstate);
27997 if (PyErr_Occurred()) SWIG_fail;
27998 }
27999 Py_INCREF(Py_None); resultobj = Py_None;
28000 {
28001 PyObject *o = PyInt_FromLong((long) (*arg2));
28002 resultobj = t_output_helper(resultobj,o);
28003 }
28004 {
28005 PyObject *o = PyInt_FromLong((long) (*arg3));
28006 resultobj = t_output_helper(resultobj,o);
28007 }
28008 return resultobj;
28009 fail:
28010 return NULL;
28011 }
28012
28013
28014 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28015 PyObject *resultobj;
28016 wxPyControl *arg1 = (wxPyControl *) 0 ;
28017 wxSize result;
28018 PyObject * obj0 = 0 ;
28019 char *kwnames[] = {
28020 (char *) "self", NULL
28021 };
28022
28023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
28024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28026 {
28027 PyThreadState* __tstate = wxPyBeginAllowThreads();
28028 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
28029
28030 wxPyEndAllowThreads(__tstate);
28031 if (PyErr_Occurred()) SWIG_fail;
28032 }
28033 {
28034 wxSize * resultptr;
28035 resultptr = new wxSize((wxSize &) result);
28036 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28037 }
28038 return resultobj;
28039 fail:
28040 return NULL;
28041 }
28042
28043
28044 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28045 PyObject *resultobj;
28046 wxPyControl *arg1 = (wxPyControl *) 0 ;
28047 wxSize result;
28048 PyObject * obj0 = 0 ;
28049 char *kwnames[] = {
28050 (char *) "self", NULL
28051 };
28052
28053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
28054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28056 {
28057 PyThreadState* __tstate = wxPyBeginAllowThreads();
28058 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
28059
28060 wxPyEndAllowThreads(__tstate);
28061 if (PyErr_Occurred()) SWIG_fail;
28062 }
28063 {
28064 wxSize * resultptr;
28065 resultptr = new wxSize((wxSize &) result);
28066 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28067 }
28068 return resultobj;
28069 fail:
28070 return NULL;
28071 }
28072
28073
28074 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
28075 PyObject *resultobj;
28076 wxPyControl *arg1 = (wxPyControl *) 0 ;
28077 PyObject * obj0 = 0 ;
28078 char *kwnames[] = {
28079 (char *) "self", NULL
28080 };
28081
28082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
28083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28085 {
28086 PyThreadState* __tstate = wxPyBeginAllowThreads();
28087 (arg1)->base_InitDialog();
28088
28089 wxPyEndAllowThreads(__tstate);
28090 if (PyErr_Occurred()) SWIG_fail;
28091 }
28092 Py_INCREF(Py_None); resultobj = Py_None;
28093 return resultobj;
28094 fail:
28095 return NULL;
28096 }
28097
28098
28099 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28100 PyObject *resultobj;
28101 wxPyControl *arg1 = (wxPyControl *) 0 ;
28102 bool result;
28103 PyObject * obj0 = 0 ;
28104 char *kwnames[] = {
28105 (char *) "self", NULL
28106 };
28107
28108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
28109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28111 {
28112 PyThreadState* __tstate = wxPyBeginAllowThreads();
28113 result = (bool)(arg1)->base_TransferDataToWindow();
28114
28115 wxPyEndAllowThreads(__tstate);
28116 if (PyErr_Occurred()) SWIG_fail;
28117 }
28118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28119 return resultobj;
28120 fail:
28121 return NULL;
28122 }
28123
28124
28125 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28126 PyObject *resultobj;
28127 wxPyControl *arg1 = (wxPyControl *) 0 ;
28128 bool result;
28129 PyObject * obj0 = 0 ;
28130 char *kwnames[] = {
28131 (char *) "self", NULL
28132 };
28133
28134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
28135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28137 {
28138 PyThreadState* __tstate = wxPyBeginAllowThreads();
28139 result = (bool)(arg1)->base_TransferDataFromWindow();
28140
28141 wxPyEndAllowThreads(__tstate);
28142 if (PyErr_Occurred()) SWIG_fail;
28143 }
28144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28145 return resultobj;
28146 fail:
28147 return NULL;
28148 }
28149
28150
28151 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
28152 PyObject *resultobj;
28153 wxPyControl *arg1 = (wxPyControl *) 0 ;
28154 bool result;
28155 PyObject * obj0 = 0 ;
28156 char *kwnames[] = {
28157 (char *) "self", NULL
28158 };
28159
28160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
28161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28163 {
28164 PyThreadState* __tstate = wxPyBeginAllowThreads();
28165 result = (bool)(arg1)->base_Validate();
28166
28167 wxPyEndAllowThreads(__tstate);
28168 if (PyErr_Occurred()) SWIG_fail;
28169 }
28170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28171 return resultobj;
28172 fail:
28173 return NULL;
28174 }
28175
28176
28177 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
28178 PyObject *resultobj;
28179 wxPyControl *arg1 = (wxPyControl *) 0 ;
28180 bool result;
28181 PyObject * obj0 = 0 ;
28182 char *kwnames[] = {
28183 (char *) "self", NULL
28184 };
28185
28186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
28187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28189 {
28190 PyThreadState* __tstate = wxPyBeginAllowThreads();
28191 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
28192
28193 wxPyEndAllowThreads(__tstate);
28194 if (PyErr_Occurred()) SWIG_fail;
28195 }
28196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28197 return resultobj;
28198 fail:
28199 return NULL;
28200 }
28201
28202
28203 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
28204 PyObject *resultobj;
28205 wxPyControl *arg1 = (wxPyControl *) 0 ;
28206 bool result;
28207 PyObject * obj0 = 0 ;
28208 char *kwnames[] = {
28209 (char *) "self", NULL
28210 };
28211
28212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
28213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28215 {
28216 PyThreadState* __tstate = wxPyBeginAllowThreads();
28217 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
28218
28219 wxPyEndAllowThreads(__tstate);
28220 if (PyErr_Occurred()) SWIG_fail;
28221 }
28222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28223 return resultobj;
28224 fail:
28225 return NULL;
28226 }
28227
28228
28229 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28230 PyObject *resultobj;
28231 wxPyControl *arg1 = (wxPyControl *) 0 ;
28232 wxSize result;
28233 PyObject * obj0 = 0 ;
28234 char *kwnames[] = {
28235 (char *) "self", NULL
28236 };
28237
28238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
28239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28241 {
28242 PyThreadState* __tstate = wxPyBeginAllowThreads();
28243 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
28244
28245 wxPyEndAllowThreads(__tstate);
28246 if (PyErr_Occurred()) SWIG_fail;
28247 }
28248 {
28249 wxSize * resultptr;
28250 resultptr = new wxSize((wxSize &) result);
28251 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28252 }
28253 return resultobj;
28254 fail:
28255 return NULL;
28256 }
28257
28258
28259 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28260 PyObject *resultobj;
28261 wxPyControl *arg1 = (wxPyControl *) 0 ;
28262 wxWindow *arg2 = (wxWindow *) 0 ;
28263 PyObject * obj0 = 0 ;
28264 PyObject * obj1 = 0 ;
28265 char *kwnames[] = {
28266 (char *) "self",(char *) "child", NULL
28267 };
28268
28269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
28270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28272 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28274 {
28275 PyThreadState* __tstate = wxPyBeginAllowThreads();
28276 (arg1)->base_AddChild(arg2);
28277
28278 wxPyEndAllowThreads(__tstate);
28279 if (PyErr_Occurred()) SWIG_fail;
28280 }
28281 Py_INCREF(Py_None); resultobj = Py_None;
28282 return resultobj;
28283 fail:
28284 return NULL;
28285 }
28286
28287
28288 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28289 PyObject *resultobj;
28290 wxPyControl *arg1 = (wxPyControl *) 0 ;
28291 wxWindow *arg2 = (wxWindow *) 0 ;
28292 PyObject * obj0 = 0 ;
28293 PyObject * obj1 = 0 ;
28294 char *kwnames[] = {
28295 (char *) "self",(char *) "child", NULL
28296 };
28297
28298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
28299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28301 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28303 {
28304 PyThreadState* __tstate = wxPyBeginAllowThreads();
28305 (arg1)->base_RemoveChild(arg2);
28306
28307 wxPyEndAllowThreads(__tstate);
28308 if (PyErr_Occurred()) SWIG_fail;
28309 }
28310 Py_INCREF(Py_None); resultobj = Py_None;
28311 return resultobj;
28312 fail:
28313 return NULL;
28314 }
28315
28316
28317 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
28318 PyObject *obj;
28319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28320 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
28321 Py_INCREF(obj);
28322 return Py_BuildValue((char *)"");
28323 }
28324 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
28325 PyObject *resultobj;
28326 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28327 int arg2 = (int) 0 ;
28328 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28329 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28330 wxHelpEvent *result;
28331 wxPoint temp3 ;
28332 PyObject * obj0 = 0 ;
28333 PyObject * obj1 = 0 ;
28334 PyObject * obj2 = 0 ;
28335 char *kwnames[] = {
28336 (char *) "type",(char *) "winid",(char *) "pt", NULL
28337 };
28338
28339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
28340 if (obj0) {
28341 arg1 = (wxEventType) SWIG_AsInt(obj0);
28342 if (PyErr_Occurred()) SWIG_fail;
28343 }
28344 if (obj1) {
28345 arg2 = (int) SWIG_AsInt(obj1);
28346 if (PyErr_Occurred()) SWIG_fail;
28347 }
28348 if (obj2) {
28349 {
28350 arg3 = &temp3;
28351 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28352 }
28353 }
28354 {
28355 PyThreadState* __tstate = wxPyBeginAllowThreads();
28356 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
28357
28358 wxPyEndAllowThreads(__tstate);
28359 if (PyErr_Occurred()) SWIG_fail;
28360 }
28361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
28362 return resultobj;
28363 fail:
28364 return NULL;
28365 }
28366
28367
28368 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28369 PyObject *resultobj;
28370 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28371 wxPoint result;
28372 PyObject * obj0 = 0 ;
28373 char *kwnames[] = {
28374 (char *) "self", NULL
28375 };
28376
28377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
28378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28380 {
28381 PyThreadState* __tstate = wxPyBeginAllowThreads();
28382 result = ((wxHelpEvent const *)arg1)->GetPosition();
28383
28384 wxPyEndAllowThreads(__tstate);
28385 if (PyErr_Occurred()) SWIG_fail;
28386 }
28387 {
28388 wxPoint * resultptr;
28389 resultptr = new wxPoint((wxPoint &) result);
28390 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28391 }
28392 return resultobj;
28393 fail:
28394 return NULL;
28395 }
28396
28397
28398 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28399 PyObject *resultobj;
28400 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28401 wxPoint *arg2 = 0 ;
28402 wxPoint temp2 ;
28403 PyObject * obj0 = 0 ;
28404 PyObject * obj1 = 0 ;
28405 char *kwnames[] = {
28406 (char *) "self",(char *) "pos", NULL
28407 };
28408
28409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
28410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28412 {
28413 arg2 = &temp2;
28414 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28415 }
28416 {
28417 PyThreadState* __tstate = wxPyBeginAllowThreads();
28418 (arg1)->SetPosition((wxPoint const &)*arg2);
28419
28420 wxPyEndAllowThreads(__tstate);
28421 if (PyErr_Occurred()) SWIG_fail;
28422 }
28423 Py_INCREF(Py_None); resultobj = Py_None;
28424 return resultobj;
28425 fail:
28426 return NULL;
28427 }
28428
28429
28430 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28431 PyObject *resultobj;
28432 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28433 wxString *result;
28434 PyObject * obj0 = 0 ;
28435 char *kwnames[] = {
28436 (char *) "self", NULL
28437 };
28438
28439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
28440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28442 {
28443 PyThreadState* __tstate = wxPyBeginAllowThreads();
28444 {
28445 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
28446 result = (wxString *) &_result_ref;
28447 }
28448
28449 wxPyEndAllowThreads(__tstate);
28450 if (PyErr_Occurred()) SWIG_fail;
28451 }
28452 {
28453 #if wxUSE_UNICODE
28454 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28455 #else
28456 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28457 #endif
28458 }
28459 return resultobj;
28460 fail:
28461 return NULL;
28462 }
28463
28464
28465 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28466 PyObject *resultobj;
28467 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28468 wxString *arg2 = 0 ;
28469 bool temp2 = False ;
28470 PyObject * obj0 = 0 ;
28471 PyObject * obj1 = 0 ;
28472 char *kwnames[] = {
28473 (char *) "self",(char *) "link", NULL
28474 };
28475
28476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
28477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28479 {
28480 arg2 = wxString_in_helper(obj1);
28481 if (arg2 == NULL) SWIG_fail;
28482 temp2 = True;
28483 }
28484 {
28485 PyThreadState* __tstate = wxPyBeginAllowThreads();
28486 (arg1)->SetLink((wxString const &)*arg2);
28487
28488 wxPyEndAllowThreads(__tstate);
28489 if (PyErr_Occurred()) SWIG_fail;
28490 }
28491 Py_INCREF(Py_None); resultobj = Py_None;
28492 {
28493 if (temp2)
28494 delete arg2;
28495 }
28496 return resultobj;
28497 fail:
28498 {
28499 if (temp2)
28500 delete arg2;
28501 }
28502 return NULL;
28503 }
28504
28505
28506 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28507 PyObject *resultobj;
28508 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28509 wxString *result;
28510 PyObject * obj0 = 0 ;
28511 char *kwnames[] = {
28512 (char *) "self", NULL
28513 };
28514
28515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
28516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28518 {
28519 PyThreadState* __tstate = wxPyBeginAllowThreads();
28520 {
28521 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
28522 result = (wxString *) &_result_ref;
28523 }
28524
28525 wxPyEndAllowThreads(__tstate);
28526 if (PyErr_Occurred()) SWIG_fail;
28527 }
28528 {
28529 #if wxUSE_UNICODE
28530 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28531 #else
28532 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28533 #endif
28534 }
28535 return resultobj;
28536 fail:
28537 return NULL;
28538 }
28539
28540
28541 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28542 PyObject *resultobj;
28543 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28544 wxString *arg2 = 0 ;
28545 bool temp2 = False ;
28546 PyObject * obj0 = 0 ;
28547 PyObject * obj1 = 0 ;
28548 char *kwnames[] = {
28549 (char *) "self",(char *) "target", NULL
28550 };
28551
28552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
28553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28555 {
28556 arg2 = wxString_in_helper(obj1);
28557 if (arg2 == NULL) SWIG_fail;
28558 temp2 = True;
28559 }
28560 {
28561 PyThreadState* __tstate = wxPyBeginAllowThreads();
28562 (arg1)->SetTarget((wxString const &)*arg2);
28563
28564 wxPyEndAllowThreads(__tstate);
28565 if (PyErr_Occurred()) SWIG_fail;
28566 }
28567 Py_INCREF(Py_None); resultobj = Py_None;
28568 {
28569 if (temp2)
28570 delete arg2;
28571 }
28572 return resultobj;
28573 fail:
28574 {
28575 if (temp2)
28576 delete arg2;
28577 }
28578 return NULL;
28579 }
28580
28581
28582 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
28583 PyObject *obj;
28584 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28585 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
28586 Py_INCREF(obj);
28587 return Py_BuildValue((char *)"");
28588 }
28589 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28590 PyObject *resultobj;
28591 wxWindow *arg1 = (wxWindow *) NULL ;
28592 bool arg2 = (bool) True ;
28593 wxContextHelp *result;
28594 PyObject * obj0 = 0 ;
28595 PyObject * obj1 = 0 ;
28596 char *kwnames[] = {
28597 (char *) "window",(char *) "doNow", NULL
28598 };
28599
28600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
28601 if (obj0) {
28602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28604 }
28605 if (obj1) {
28606 arg2 = (bool) SWIG_AsBool(obj1);
28607 if (PyErr_Occurred()) SWIG_fail;
28608 }
28609 {
28610 PyThreadState* __tstate = wxPyBeginAllowThreads();
28611 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
28612
28613 wxPyEndAllowThreads(__tstate);
28614 if (PyErr_Occurred()) SWIG_fail;
28615 }
28616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
28617 return resultobj;
28618 fail:
28619 return NULL;
28620 }
28621
28622
28623 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28624 PyObject *resultobj;
28625 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28626 PyObject * obj0 = 0 ;
28627 char *kwnames[] = {
28628 (char *) "self", NULL
28629 };
28630
28631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
28632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28634 {
28635 PyThreadState* __tstate = wxPyBeginAllowThreads();
28636 delete arg1;
28637
28638 wxPyEndAllowThreads(__tstate);
28639 if (PyErr_Occurred()) SWIG_fail;
28640 }
28641 Py_INCREF(Py_None); resultobj = Py_None;
28642 return resultobj;
28643 fail:
28644 return NULL;
28645 }
28646
28647
28648 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28649 PyObject *resultobj;
28650 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28651 wxWindow *arg2 = (wxWindow *) NULL ;
28652 bool result;
28653 PyObject * obj0 = 0 ;
28654 PyObject * obj1 = 0 ;
28655 char *kwnames[] = {
28656 (char *) "self",(char *) "window", NULL
28657 };
28658
28659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
28660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28662 if (obj1) {
28663 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28665 }
28666 {
28667 PyThreadState* __tstate = wxPyBeginAllowThreads();
28668 result = (bool)(arg1)->BeginContextHelp(arg2);
28669
28670 wxPyEndAllowThreads(__tstate);
28671 if (PyErr_Occurred()) SWIG_fail;
28672 }
28673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28674 return resultobj;
28675 fail:
28676 return NULL;
28677 }
28678
28679
28680 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28681 PyObject *resultobj;
28682 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28683 bool result;
28684 PyObject * obj0 = 0 ;
28685 char *kwnames[] = {
28686 (char *) "self", NULL
28687 };
28688
28689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
28690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28692 {
28693 PyThreadState* __tstate = wxPyBeginAllowThreads();
28694 result = (bool)(arg1)->EndContextHelp();
28695
28696 wxPyEndAllowThreads(__tstate);
28697 if (PyErr_Occurred()) SWIG_fail;
28698 }
28699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28700 return resultobj;
28701 fail:
28702 return NULL;
28703 }
28704
28705
28706 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
28707 PyObject *obj;
28708 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28709 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
28710 Py_INCREF(obj);
28711 return Py_BuildValue((char *)"");
28712 }
28713 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
28714 PyObject *resultobj;
28715 wxWindow *arg1 = (wxWindow *) 0 ;
28716 int arg2 = (int) wxID_CONTEXT_HELP ;
28717 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28718 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28719 wxSize const &arg4_defvalue = wxDefaultSize ;
28720 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28721 long arg5 = (long) wxBU_AUTODRAW ;
28722 wxContextHelpButton *result;
28723 wxPoint temp3 ;
28724 wxSize temp4 ;
28725 PyObject * obj0 = 0 ;
28726 PyObject * obj1 = 0 ;
28727 PyObject * obj2 = 0 ;
28728 PyObject * obj3 = 0 ;
28729 PyObject * obj4 = 0 ;
28730 char *kwnames[] = {
28731 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28732 };
28733
28734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28737 if (obj1) {
28738 arg2 = (int) SWIG_AsInt(obj1);
28739 if (PyErr_Occurred()) SWIG_fail;
28740 }
28741 if (obj2) {
28742 {
28743 arg3 = &temp3;
28744 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28745 }
28746 }
28747 if (obj3) {
28748 {
28749 arg4 = &temp4;
28750 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28751 }
28752 }
28753 if (obj4) {
28754 arg5 = (long) SWIG_AsLong(obj4);
28755 if (PyErr_Occurred()) SWIG_fail;
28756 }
28757 {
28758 PyThreadState* __tstate = wxPyBeginAllowThreads();
28759 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28760
28761 wxPyEndAllowThreads(__tstate);
28762 if (PyErr_Occurred()) SWIG_fail;
28763 }
28764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
28765 return resultobj;
28766 fail:
28767 return NULL;
28768 }
28769
28770
28771 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
28772 PyObject *obj;
28773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28774 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
28775 Py_INCREF(obj);
28776 return Py_BuildValue((char *)"");
28777 }
28778 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
28779 PyObject *resultobj;
28780 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28781 wxHelpProvider *result;
28782 PyObject * obj0 = 0 ;
28783 char *kwnames[] = {
28784 (char *) "helpProvider", NULL
28785 };
28786
28787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
28788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28790 {
28791 PyThreadState* __tstate = wxPyBeginAllowThreads();
28792 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
28793
28794 wxPyEndAllowThreads(__tstate);
28795 if (PyErr_Occurred()) SWIG_fail;
28796 }
28797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
28798 return resultobj;
28799 fail:
28800 return NULL;
28801 }
28802
28803
28804 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
28805 PyObject *resultobj;
28806 wxHelpProvider *result;
28807 char *kwnames[] = {
28808 NULL
28809 };
28810
28811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
28812 {
28813 PyThreadState* __tstate = wxPyBeginAllowThreads();
28814 result = (wxHelpProvider *)wxHelpProvider::Get();
28815
28816 wxPyEndAllowThreads(__tstate);
28817 if (PyErr_Occurred()) SWIG_fail;
28818 }
28819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
28820 return resultobj;
28821 fail:
28822 return NULL;
28823 }
28824
28825
28826 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28827 PyObject *resultobj;
28828 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28829 wxWindow *arg2 = (wxWindow *) 0 ;
28830 wxString result;
28831 PyObject * obj0 = 0 ;
28832 PyObject * obj1 = 0 ;
28833 char *kwnames[] = {
28834 (char *) "self",(char *) "window", NULL
28835 };
28836
28837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
28838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28840 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28842 {
28843 PyThreadState* __tstate = wxPyBeginAllowThreads();
28844 result = (arg1)->GetHelp((wxWindow const *)arg2);
28845
28846 wxPyEndAllowThreads(__tstate);
28847 if (PyErr_Occurred()) SWIG_fail;
28848 }
28849 {
28850 #if wxUSE_UNICODE
28851 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28852 #else
28853 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28854 #endif
28855 }
28856 return resultobj;
28857 fail:
28858 return NULL;
28859 }
28860
28861
28862 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28863 PyObject *resultobj;
28864 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28865 wxWindow *arg2 = (wxWindow *) 0 ;
28866 bool result;
28867 PyObject * obj0 = 0 ;
28868 PyObject * obj1 = 0 ;
28869 char *kwnames[] = {
28870 (char *) "self",(char *) "window", NULL
28871 };
28872
28873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
28874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28876 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28878 {
28879 PyThreadState* __tstate = wxPyBeginAllowThreads();
28880 result = (bool)(arg1)->ShowHelp(arg2);
28881
28882 wxPyEndAllowThreads(__tstate);
28883 if (PyErr_Occurred()) SWIG_fail;
28884 }
28885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28886 return resultobj;
28887 fail:
28888 return NULL;
28889 }
28890
28891
28892 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28893 PyObject *resultobj;
28894 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28895 wxWindow *arg2 = (wxWindow *) 0 ;
28896 wxString *arg3 = 0 ;
28897 bool temp3 = False ;
28898 PyObject * obj0 = 0 ;
28899 PyObject * obj1 = 0 ;
28900 PyObject * obj2 = 0 ;
28901 char *kwnames[] = {
28902 (char *) "self",(char *) "window",(char *) "text", NULL
28903 };
28904
28905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
28906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28908 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28910 {
28911 arg3 = wxString_in_helper(obj2);
28912 if (arg3 == NULL) SWIG_fail;
28913 temp3 = True;
28914 }
28915 {
28916 PyThreadState* __tstate = wxPyBeginAllowThreads();
28917 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28918
28919 wxPyEndAllowThreads(__tstate);
28920 if (PyErr_Occurred()) SWIG_fail;
28921 }
28922 Py_INCREF(Py_None); resultobj = Py_None;
28923 {
28924 if (temp3)
28925 delete arg3;
28926 }
28927 return resultobj;
28928 fail:
28929 {
28930 if (temp3)
28931 delete arg3;
28932 }
28933 return NULL;
28934 }
28935
28936
28937 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
28938 PyObject *resultobj;
28939 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28940 int arg2 ;
28941 wxString *arg3 = 0 ;
28942 bool temp3 = False ;
28943 PyObject * obj0 = 0 ;
28944 PyObject * obj1 = 0 ;
28945 PyObject * obj2 = 0 ;
28946 char *kwnames[] = {
28947 (char *) "self",(char *) "id",(char *) "text", NULL
28948 };
28949
28950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
28951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28953 arg2 = (int) SWIG_AsInt(obj1);
28954 if (PyErr_Occurred()) SWIG_fail;
28955 {
28956 arg3 = wxString_in_helper(obj2);
28957 if (arg3 == NULL) SWIG_fail;
28958 temp3 = True;
28959 }
28960 {
28961 PyThreadState* __tstate = wxPyBeginAllowThreads();
28962 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28963
28964 wxPyEndAllowThreads(__tstate);
28965 if (PyErr_Occurred()) SWIG_fail;
28966 }
28967 Py_INCREF(Py_None); resultobj = Py_None;
28968 {
28969 if (temp3)
28970 delete arg3;
28971 }
28972 return resultobj;
28973 fail:
28974 {
28975 if (temp3)
28976 delete arg3;
28977 }
28978 return NULL;
28979 }
28980
28981
28982 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28983 PyObject *resultobj;
28984 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28985 wxWindow *arg2 = (wxWindow *) 0 ;
28986 PyObject * obj0 = 0 ;
28987 PyObject * obj1 = 0 ;
28988 char *kwnames[] = {
28989 (char *) "self",(char *) "window", NULL
28990 };
28991
28992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
28993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28995 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28997 {
28998 PyThreadState* __tstate = wxPyBeginAllowThreads();
28999 (arg1)->RemoveHelp(arg2);
29000
29001 wxPyEndAllowThreads(__tstate);
29002 if (PyErr_Occurred()) SWIG_fail;
29003 }
29004 Py_INCREF(Py_None); resultobj = Py_None;
29005 return resultobj;
29006 fail:
29007 return NULL;
29008 }
29009
29010
29011 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
29012 PyObject *resultobj;
29013 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29014 PyObject * obj0 = 0 ;
29015 char *kwnames[] = {
29016 (char *) "self", NULL
29017 };
29018
29019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
29020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29022 {
29023 PyThreadState* __tstate = wxPyBeginAllowThreads();
29024 wxHelpProvider_Destroy(arg1);
29025
29026 wxPyEndAllowThreads(__tstate);
29027 if (PyErr_Occurred()) SWIG_fail;
29028 }
29029 Py_INCREF(Py_None); resultobj = Py_None;
29030 return resultobj;
29031 fail:
29032 return NULL;
29033 }
29034
29035
29036 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
29037 PyObject *obj;
29038 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29039 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
29040 Py_INCREF(obj);
29041 return Py_BuildValue((char *)"");
29042 }
29043 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
29044 PyObject *resultobj;
29045 wxSimpleHelpProvider *result;
29046 char *kwnames[] = {
29047 NULL
29048 };
29049
29050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
29051 {
29052 PyThreadState* __tstate = wxPyBeginAllowThreads();
29053 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
29054
29055 wxPyEndAllowThreads(__tstate);
29056 if (PyErr_Occurred()) SWIG_fail;
29057 }
29058 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
29059 return resultobj;
29060 fail:
29061 return NULL;
29062 }
29063
29064
29065 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
29066 PyObject *obj;
29067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29068 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
29069 Py_INCREF(obj);
29070 return Py_BuildValue((char *)"");
29071 }
29072 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29073 PyObject *resultobj;
29074 wxBitmap *arg1 = 0 ;
29075 wxCursor const &arg2_defvalue = wxNullCursor ;
29076 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29077 wxGenericDragImage *result;
29078 PyObject * obj0 = 0 ;
29079 PyObject * obj1 = 0 ;
29080 char *kwnames[] = {
29081 (char *) "image",(char *) "cursor", NULL
29082 };
29083
29084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
29085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
29086 SWIG_POINTER_EXCEPTION | 0)) == -1)
29087 SWIG_fail;
29088 if (arg1 == NULL) {
29089 PyErr_SetString(PyExc_TypeError,"null reference");
29090 SWIG_fail;
29091 }
29092 if (obj1) {
29093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29094 SWIG_POINTER_EXCEPTION | 0)) == -1)
29095 SWIG_fail;
29096 if (arg2 == NULL) {
29097 PyErr_SetString(PyExc_TypeError,"null reference");
29098 SWIG_fail;
29099 }
29100 }
29101 {
29102 PyThreadState* __tstate = wxPyBeginAllowThreads();
29103 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
29104
29105 wxPyEndAllowThreads(__tstate);
29106 if (PyErr_Occurred()) SWIG_fail;
29107 }
29108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29109 return resultobj;
29110 fail:
29111 return NULL;
29112 }
29113
29114
29115 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
29116 PyObject *resultobj;
29117 wxIcon *arg1 = 0 ;
29118 wxCursor const &arg2_defvalue = wxNullCursor ;
29119 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29120 wxGenericDragImage *result;
29121 PyObject * obj0 = 0 ;
29122 PyObject * obj1 = 0 ;
29123 char *kwnames[] = {
29124 (char *) "image",(char *) "cursor", NULL
29125 };
29126
29127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
29128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
29129 SWIG_POINTER_EXCEPTION | 0)) == -1)
29130 SWIG_fail;
29131 if (arg1 == NULL) {
29132 PyErr_SetString(PyExc_TypeError,"null reference");
29133 SWIG_fail;
29134 }
29135 if (obj1) {
29136 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29137 SWIG_POINTER_EXCEPTION | 0)) == -1)
29138 SWIG_fail;
29139 if (arg2 == NULL) {
29140 PyErr_SetString(PyExc_TypeError,"null reference");
29141 SWIG_fail;
29142 }
29143 }
29144 {
29145 PyThreadState* __tstate = wxPyBeginAllowThreads();
29146 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
29147
29148 wxPyEndAllowThreads(__tstate);
29149 if (PyErr_Occurred()) SWIG_fail;
29150 }
29151 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29152 return resultobj;
29153 fail:
29154 return NULL;
29155 }
29156
29157
29158 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
29159 PyObject *resultobj;
29160 wxString *arg1 = 0 ;
29161 wxCursor const &arg2_defvalue = wxNullCursor ;
29162 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29163 wxGenericDragImage *result;
29164 bool temp1 = False ;
29165 PyObject * obj0 = 0 ;
29166 PyObject * obj1 = 0 ;
29167 char *kwnames[] = {
29168 (char *) "str",(char *) "cursor", NULL
29169 };
29170
29171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
29172 {
29173 arg1 = wxString_in_helper(obj0);
29174 if (arg1 == NULL) SWIG_fail;
29175 temp1 = True;
29176 }
29177 if (obj1) {
29178 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29179 SWIG_POINTER_EXCEPTION | 0)) == -1)
29180 SWIG_fail;
29181 if (arg2 == NULL) {
29182 PyErr_SetString(PyExc_TypeError,"null reference");
29183 SWIG_fail;
29184 }
29185 }
29186 {
29187 PyThreadState* __tstate = wxPyBeginAllowThreads();
29188 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
29189
29190 wxPyEndAllowThreads(__tstate);
29191 if (PyErr_Occurred()) SWIG_fail;
29192 }
29193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29194 {
29195 if (temp1)
29196 delete arg1;
29197 }
29198 return resultobj;
29199 fail:
29200 {
29201 if (temp1)
29202 delete arg1;
29203 }
29204 return NULL;
29205 }
29206
29207
29208 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29209 PyObject *resultobj;
29210 wxPyTreeCtrl *arg1 = 0 ;
29211 wxTreeItemId *arg2 = 0 ;
29212 wxGenericDragImage *result;
29213 PyObject * obj0 = 0 ;
29214 PyObject * obj1 = 0 ;
29215 char *kwnames[] = {
29216 (char *) "treeCtrl",(char *) "id", NULL
29217 };
29218
29219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
29220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
29221 SWIG_POINTER_EXCEPTION | 0)) == -1)
29222 SWIG_fail;
29223 if (arg1 == NULL) {
29224 PyErr_SetString(PyExc_TypeError,"null reference");
29225 SWIG_fail;
29226 }
29227 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
29228 SWIG_POINTER_EXCEPTION | 0)) == -1)
29229 SWIG_fail;
29230 if (arg2 == NULL) {
29231 PyErr_SetString(PyExc_TypeError,"null reference");
29232 SWIG_fail;
29233 }
29234 {
29235 PyThreadState* __tstate = wxPyBeginAllowThreads();
29236 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
29237
29238 wxPyEndAllowThreads(__tstate);
29239 if (PyErr_Occurred()) SWIG_fail;
29240 }
29241 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29242 return resultobj;
29243 fail:
29244 return NULL;
29245 }
29246
29247
29248 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29249 PyObject *resultobj;
29250 wxPyListCtrl *arg1 = 0 ;
29251 long arg2 ;
29252 wxGenericDragImage *result;
29253 PyObject * obj0 = 0 ;
29254 PyObject * obj1 = 0 ;
29255 char *kwnames[] = {
29256 (char *) "listCtrl",(char *) "id", NULL
29257 };
29258
29259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
29260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
29261 SWIG_POINTER_EXCEPTION | 0)) == -1)
29262 SWIG_fail;
29263 if (arg1 == NULL) {
29264 PyErr_SetString(PyExc_TypeError,"null reference");
29265 SWIG_fail;
29266 }
29267 arg2 = (long) SWIG_AsLong(obj1);
29268 if (PyErr_Occurred()) SWIG_fail;
29269 {
29270 PyThreadState* __tstate = wxPyBeginAllowThreads();
29271 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
29272
29273 wxPyEndAllowThreads(__tstate);
29274 if (PyErr_Occurred()) SWIG_fail;
29275 }
29276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29277 return resultobj;
29278 fail:
29279 return NULL;
29280 }
29281
29282
29283 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29284 PyObject *resultobj;
29285 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29286 PyObject * obj0 = 0 ;
29287 char *kwnames[] = {
29288 (char *) "self", NULL
29289 };
29290
29291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
29292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29294 {
29295 PyThreadState* __tstate = wxPyBeginAllowThreads();
29296 delete arg1;
29297
29298 wxPyEndAllowThreads(__tstate);
29299 if (PyErr_Occurred()) SWIG_fail;
29300 }
29301 Py_INCREF(Py_None); resultobj = Py_None;
29302 return resultobj;
29303 fail:
29304 return NULL;
29305 }
29306
29307
29308 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
29309 PyObject *resultobj;
29310 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29311 wxBitmap *arg2 = (wxBitmap *) 0 ;
29312 PyObject * obj0 = 0 ;
29313 PyObject * obj1 = 0 ;
29314 char *kwnames[] = {
29315 (char *) "self",(char *) "bitmap", NULL
29316 };
29317
29318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
29319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29321 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
29322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29323 {
29324 PyThreadState* __tstate = wxPyBeginAllowThreads();
29325 (arg1)->SetBackingBitmap(arg2);
29326
29327 wxPyEndAllowThreads(__tstate);
29328 if (PyErr_Occurred()) SWIG_fail;
29329 }
29330 Py_INCREF(Py_None); resultobj = Py_None;
29331 return resultobj;
29332 fail:
29333 return NULL;
29334 }
29335
29336
29337 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29338 PyObject *resultobj;
29339 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29340 wxPoint *arg2 = 0 ;
29341 wxWindow *arg3 = (wxWindow *) 0 ;
29342 bool arg4 = (bool) False ;
29343 wxRect *arg5 = (wxRect *) NULL ;
29344 bool result;
29345 wxPoint temp2 ;
29346 PyObject * obj0 = 0 ;
29347 PyObject * obj1 = 0 ;
29348 PyObject * obj2 = 0 ;
29349 PyObject * obj3 = 0 ;
29350 PyObject * obj4 = 0 ;
29351 char *kwnames[] = {
29352 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29353 };
29354
29355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29358 {
29359 arg2 = &temp2;
29360 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29361 }
29362 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29364 if (obj3) {
29365 arg4 = (bool) SWIG_AsBool(obj3);
29366 if (PyErr_Occurred()) SWIG_fail;
29367 }
29368 if (obj4) {
29369 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
29370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29371 }
29372 {
29373 PyThreadState* __tstate = wxPyBeginAllowThreads();
29374 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
29375
29376 wxPyEndAllowThreads(__tstate);
29377 if (PyErr_Occurred()) SWIG_fail;
29378 }
29379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29380 return resultobj;
29381 fail:
29382 return NULL;
29383 }
29384
29385
29386 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
29387 PyObject *resultobj;
29388 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29389 wxPoint *arg2 = 0 ;
29390 wxWindow *arg3 = (wxWindow *) 0 ;
29391 wxWindow *arg4 = (wxWindow *) 0 ;
29392 bool result;
29393 wxPoint temp2 ;
29394 PyObject * obj0 = 0 ;
29395 PyObject * obj1 = 0 ;
29396 PyObject * obj2 = 0 ;
29397 PyObject * obj3 = 0 ;
29398 char *kwnames[] = {
29399 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29400 };
29401
29402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29405 {
29406 arg2 = &temp2;
29407 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29408 }
29409 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29411 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
29412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29413 {
29414 PyThreadState* __tstate = wxPyBeginAllowThreads();
29415 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
29416
29417 wxPyEndAllowThreads(__tstate);
29418 if (PyErr_Occurred()) SWIG_fail;
29419 }
29420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29421 return resultobj;
29422 fail:
29423 return NULL;
29424 }
29425
29426
29427 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29428 PyObject *resultobj;
29429 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29430 bool result;
29431 PyObject * obj0 = 0 ;
29432 char *kwnames[] = {
29433 (char *) "self", NULL
29434 };
29435
29436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
29437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29439 {
29440 PyThreadState* __tstate = wxPyBeginAllowThreads();
29441 result = (bool)(arg1)->EndDrag();
29442
29443 wxPyEndAllowThreads(__tstate);
29444 if (PyErr_Occurred()) SWIG_fail;
29445 }
29446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29447 return resultobj;
29448 fail:
29449 return NULL;
29450 }
29451
29452
29453 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
29454 PyObject *resultobj;
29455 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29456 wxPoint *arg2 = 0 ;
29457 bool result;
29458 wxPoint temp2 ;
29459 PyObject * obj0 = 0 ;
29460 PyObject * obj1 = 0 ;
29461 char *kwnames[] = {
29462 (char *) "self",(char *) "pt", NULL
29463 };
29464
29465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
29466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29468 {
29469 arg2 = &temp2;
29470 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29471 }
29472 {
29473 PyThreadState* __tstate = wxPyBeginAllowThreads();
29474 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
29475
29476 wxPyEndAllowThreads(__tstate);
29477 if (PyErr_Occurred()) SWIG_fail;
29478 }
29479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29480 return resultobj;
29481 fail:
29482 return NULL;
29483 }
29484
29485
29486 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
29487 PyObject *resultobj;
29488 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29489 bool result;
29490 PyObject * obj0 = 0 ;
29491 char *kwnames[] = {
29492 (char *) "self", NULL
29493 };
29494
29495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
29496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29498 {
29499 PyThreadState* __tstate = wxPyBeginAllowThreads();
29500 result = (bool)(arg1)->Show();
29501
29502 wxPyEndAllowThreads(__tstate);
29503 if (PyErr_Occurred()) SWIG_fail;
29504 }
29505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29506 return resultobj;
29507 fail:
29508 return NULL;
29509 }
29510
29511
29512 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
29513 PyObject *resultobj;
29514 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29515 bool result;
29516 PyObject * obj0 = 0 ;
29517 char *kwnames[] = {
29518 (char *) "self", NULL
29519 };
29520
29521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
29522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29524 {
29525 PyThreadState* __tstate = wxPyBeginAllowThreads();
29526 result = (bool)(arg1)->Hide();
29527
29528 wxPyEndAllowThreads(__tstate);
29529 if (PyErr_Occurred()) SWIG_fail;
29530 }
29531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29532 return resultobj;
29533 fail:
29534 return NULL;
29535 }
29536
29537
29538 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
29539 PyObject *resultobj;
29540 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29541 wxPoint *arg2 = 0 ;
29542 wxRect result;
29543 wxPoint temp2 ;
29544 PyObject * obj0 = 0 ;
29545 PyObject * obj1 = 0 ;
29546 char *kwnames[] = {
29547 (char *) "self",(char *) "pos", NULL
29548 };
29549
29550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
29551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29553 {
29554 arg2 = &temp2;
29555 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29556 }
29557 {
29558 PyThreadState* __tstate = wxPyBeginAllowThreads();
29559 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
29560
29561 wxPyEndAllowThreads(__tstate);
29562 if (PyErr_Occurred()) SWIG_fail;
29563 }
29564 {
29565 wxRect * resultptr;
29566 resultptr = new wxRect((wxRect &) result);
29567 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
29568 }
29569 return resultobj;
29570 fail:
29571 return NULL;
29572 }
29573
29574
29575 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29576 PyObject *resultobj;
29577 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29578 wxDC *arg2 = 0 ;
29579 wxPoint *arg3 = 0 ;
29580 bool result;
29581 wxPoint temp3 ;
29582 PyObject * obj0 = 0 ;
29583 PyObject * obj1 = 0 ;
29584 PyObject * obj2 = 0 ;
29585 char *kwnames[] = {
29586 (char *) "self",(char *) "dc",(char *) "pos", NULL
29587 };
29588
29589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
29590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29592 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29593 SWIG_POINTER_EXCEPTION | 0)) == -1)
29594 SWIG_fail;
29595 if (arg2 == NULL) {
29596 PyErr_SetString(PyExc_TypeError,"null reference");
29597 SWIG_fail;
29598 }
29599 {
29600 arg3 = &temp3;
29601 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29602 }
29603 {
29604 PyThreadState* __tstate = wxPyBeginAllowThreads();
29605 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
29606
29607 wxPyEndAllowThreads(__tstate);
29608 if (PyErr_Occurred()) SWIG_fail;
29609 }
29610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29611 return resultobj;
29612 fail:
29613 return NULL;
29614 }
29615
29616
29617 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29618 PyObject *resultobj;
29619 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29620 wxDC *arg2 = 0 ;
29621 wxMemoryDC *arg3 = 0 ;
29622 wxRect *arg4 = 0 ;
29623 wxRect *arg5 = 0 ;
29624 bool result;
29625 wxRect temp4 ;
29626 wxRect temp5 ;
29627 PyObject * obj0 = 0 ;
29628 PyObject * obj1 = 0 ;
29629 PyObject * obj2 = 0 ;
29630 PyObject * obj3 = 0 ;
29631 PyObject * obj4 = 0 ;
29632 char *kwnames[] = {
29633 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29634 };
29635
29636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29639 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29640 SWIG_POINTER_EXCEPTION | 0)) == -1)
29641 SWIG_fail;
29642 if (arg2 == NULL) {
29643 PyErr_SetString(PyExc_TypeError,"null reference");
29644 SWIG_fail;
29645 }
29646 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
29647 SWIG_POINTER_EXCEPTION | 0)) == -1)
29648 SWIG_fail;
29649 if (arg3 == NULL) {
29650 PyErr_SetString(PyExc_TypeError,"null reference");
29651 SWIG_fail;
29652 }
29653 {
29654 arg4 = &temp4;
29655 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
29656 }
29657 {
29658 arg5 = &temp5;
29659 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
29660 }
29661 {
29662 PyThreadState* __tstate = wxPyBeginAllowThreads();
29663 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
29664
29665 wxPyEndAllowThreads(__tstate);
29666 if (PyErr_Occurred()) SWIG_fail;
29667 }
29668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29669 return resultobj;
29670 fail:
29671 return NULL;
29672 }
29673
29674
29675 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29676 PyObject *resultobj;
29677 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29678 wxPoint *arg2 = 0 ;
29679 wxPoint *arg3 = 0 ;
29680 bool arg4 ;
29681 bool arg5 ;
29682 bool result;
29683 wxPoint temp2 ;
29684 wxPoint temp3 ;
29685 PyObject * obj0 = 0 ;
29686 PyObject * obj1 = 0 ;
29687 PyObject * obj2 = 0 ;
29688 PyObject * obj3 = 0 ;
29689 PyObject * obj4 = 0 ;
29690 char *kwnames[] = {
29691 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29692 };
29693
29694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29697 {
29698 arg2 = &temp2;
29699 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29700 }
29701 {
29702 arg3 = &temp3;
29703 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29704 }
29705 arg4 = (bool) SWIG_AsBool(obj3);
29706 if (PyErr_Occurred()) SWIG_fail;
29707 arg5 = (bool) SWIG_AsBool(obj4);
29708 if (PyErr_Occurred()) SWIG_fail;
29709 {
29710 PyThreadState* __tstate = wxPyBeginAllowThreads();
29711 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
29712
29713 wxPyEndAllowThreads(__tstate);
29714 if (PyErr_Occurred()) SWIG_fail;
29715 }
29716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29717 return resultobj;
29718 fail:
29719 return NULL;
29720 }
29721
29722
29723 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
29724 PyObject *obj;
29725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29726 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
29727 Py_INCREF(obj);
29728 return Py_BuildValue((char *)"");
29729 }
29730 static PyMethodDef SwigMethods[] = {
29731 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
29732 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
29733 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
29734 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
29735 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
29736 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
29737 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
29738 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
29739 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
29740 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
29741 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
29742 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
29743 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
29744 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
29745 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
29746 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
29747 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
29748 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
29749 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
29750 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
29751 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
29752 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
29753 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
29754 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
29755 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
29756 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
29757 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
29758 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
29759 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
29760 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
29761 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
29762 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
29763 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
29764 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
29765 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
29766 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
29767 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29768 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
29769 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
29770 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
29771 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
29772 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
29773 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
29774 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
29775 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
29776 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
29777 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
29778 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29779 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29780 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
29781 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
29782 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29783 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
29784 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
29785 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
29786 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
29787 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
29788 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
29789 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
29790 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
29791 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
29792 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
29793 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
29794 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
29795 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
29796 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
29797 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
29798 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
29799 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
29800 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
29801 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
29802 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
29803 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
29804 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
29805 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
29806 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
29807 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
29808 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
29809 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
29810 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
29811 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
29812 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
29813 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
29814 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
29815 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
29816 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
29817 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
29818 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
29819 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
29820 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
29821 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
29822 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
29823 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
29824 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
29825 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
29826 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
29827 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
29828 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
29829 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29830 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
29831 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
29832 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
29833 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29834 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
29835 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
29836 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
29837 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29838 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
29839 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
29840 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
29841 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29842 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
29843 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
29844 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
29845 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
29846 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
29847 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
29848 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
29849 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
29850 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
29851 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
29852 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
29853 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
29854 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
29855 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
29856 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29857 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29858 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
29859 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
29860 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
29861 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
29862 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
29863 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
29864 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
29865 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29866 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
29867 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
29868 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
29869 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
29870 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
29871 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
29872 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29873 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29874 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
29875 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
29876 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
29877 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
29878 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
29879 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
29880 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
29881 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
29882 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
29883 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
29884 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
29885 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29886 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
29887 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
29888 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
29889 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
29890 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
29891 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
29892 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
29893 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
29894 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
29895 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
29896 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29897 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
29898 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
29899 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
29900 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
29901 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
29902 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
29903 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
29904 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
29905 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
29906 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
29907 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
29908 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
29909 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
29910 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
29911 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
29912 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
29913 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
29914 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
29915 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
29916 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
29917 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
29918 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
29919 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
29920 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
29921 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
29922 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
29923 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
29924 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
29925 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
29926 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
29927 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29928 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
29929 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29930 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
29931 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29932 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
29933 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
29934 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
29935 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
29936 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
29937 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
29938 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
29939 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
29940 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
29941 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
29942 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
29943 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
29944 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
29945 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
29946 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
29947 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
29948 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
29949 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
29950 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
29951 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
29952 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
29953 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
29954 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
29955 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
29956 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29957 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
29958 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
29959 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29960 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
29961 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
29962 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
29963 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
29964 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
29965 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
29966 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
29967 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29968 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
29969 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
29970 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
29971 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
29972 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
29973 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
29974 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29975 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
29976 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
29977 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
29978 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
29979 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
29980 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
29981 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
29982 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
29983 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29984 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
29985 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
29986 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29987 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
29988 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
29989 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
29990 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
29991 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
29992 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
29993 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
29994 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
29995 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
29996 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
29997 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
29998 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
29999 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
30000 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30001 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30002 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
30003 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
30004 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
30005 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
30006 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
30007 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
30008 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
30009 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
30010 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
30011 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
30012 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
30013 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
30014 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
30015 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
30016 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
30017 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
30018 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
30019 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
30020 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
30021 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
30022 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
30023 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
30024 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
30025 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
30026 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
30027 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
30028 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
30029 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
30030 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
30031 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30032 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30033 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
30034 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
30035 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
30036 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
30037 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30038 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
30039 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
30040 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30041 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30042 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30043 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
30044 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
30045 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
30046 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
30047 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
30048 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
30049 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
30050 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
30051 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
30052 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30053 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
30054 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
30055 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
30056 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
30057 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
30058 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
30059 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
30060 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
30061 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
30062 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
30063 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
30064 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
30065 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
30066 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
30067 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
30068 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
30069 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
30070 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
30071 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
30072 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
30073 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
30074 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
30075 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
30076 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
30077 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
30078 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
30079 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
30080 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
30081 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
30082 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
30083 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
30084 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
30085 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
30086 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
30087 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
30088 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
30089 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
30090 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
30091 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
30092 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
30093 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
30094 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
30095 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
30096 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
30097 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
30098 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
30099 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
30100 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
30101 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
30102 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
30103 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
30104 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
30105 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
30106 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
30107 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
30108 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
30109 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
30110 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
30111 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
30112 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
30113 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
30114 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
30115 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
30116 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
30117 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
30118 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
30119 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
30120 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
30121 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
30122 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
30123 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
30124 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
30125 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
30126 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
30127 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
30128 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
30129 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
30130 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
30131 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
30132 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
30133 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
30134 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
30135 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
30136 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
30137 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
30138 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
30139 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
30140 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
30141 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
30142 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
30143 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
30144 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
30145 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
30146 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
30147 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
30148 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
30149 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
30150 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
30151 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
30152 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
30153 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
30154 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
30155 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
30156 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
30157 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
30158 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
30159 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
30160 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
30161 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
30162 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
30163 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
30164 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
30165 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
30166 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
30167 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
30168 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
30169 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
30170 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30171 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30172 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
30173 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
30174 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30175 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
30176 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30177 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30178 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
30179 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
30180 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
30181 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
30182 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
30183 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
30184 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
30185 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
30186 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
30187 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
30188 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
30189 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
30190 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
30191 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
30192 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
30193 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
30194 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
30195 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30196 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30197 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
30198 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
30199 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
30200 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
30201 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
30202 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
30203 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
30204 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
30205 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
30206 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
30207 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
30208 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
30209 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30210 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30211 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
30212 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
30213 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
30214 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
30215 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
30216 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
30217 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
30218 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
30219 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
30220 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
30221 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
30222 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
30223 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
30224 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
30225 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
30226 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
30227 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
30228 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
30229 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
30230 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
30231 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
30232 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
30233 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
30234 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
30235 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
30236 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
30237 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
30238 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
30239 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
30240 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
30241 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
30242 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
30243 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
30244 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
30245 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30246 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
30247 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
30248 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30249 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30250 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
30251 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
30252 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
30253 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
30254 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30255 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
30256 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
30257 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30258 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
30259 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
30260 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
30261 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
30262 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30263 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30264 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
30265 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30266 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
30267 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
30268 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30269 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30270 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
30271 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
30272 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
30273 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
30274 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
30275 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
30276 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
30277 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30278 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30279 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30280 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30281 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30282 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
30283 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
30284 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
30285 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
30286 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
30287 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
30288 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
30289 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
30290 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30291 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30292 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
30293 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
30294 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
30295 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
30296 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30297 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30298 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30299 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS },
30300 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
30301 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
30302 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
30303 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
30304 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
30305 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30306 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
30307 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
30308 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
30309 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
30310 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30311 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
30312 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
30313 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
30314 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30315 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30316 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
30317 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
30318 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
30319 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
30320 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
30321 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
30322 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
30323 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30324 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30325 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30326 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30327 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
30328 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
30329 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
30330 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
30331 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
30332 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
30333 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
30334 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
30335 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
30336 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
30337 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
30338 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
30339 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
30340 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
30341 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
30342 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30343 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30344 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
30345 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
30346 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
30347 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
30348 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
30349 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
30350 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
30351 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
30352 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
30353 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
30354 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
30355 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
30356 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
30357 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
30358 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30359 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
30360 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
30361 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
30362 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30363 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
30364 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30365 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30366 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30367 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30368 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
30369 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30370 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
30371 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
30372 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
30373 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
30374 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30375 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30376 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30377 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
30378 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
30379 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
30380 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
30381 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
30382 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30383 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
30384 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30385 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
30386 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30387 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
30388 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30389 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
30390 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30391 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
30392 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30393 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30394 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
30395 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30396 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30397 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30398 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
30399 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30400 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
30401 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30402 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30403 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
30404 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
30405 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30406 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
30407 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
30408 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
30409 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
30410 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
30411 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30412 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
30413 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
30414 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
30415 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
30416 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
30417 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
30418 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
30419 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
30420 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
30421 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
30422 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
30423 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
30424 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30425 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
30426 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
30427 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
30428 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
30429 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30430 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
30431 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
30432 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
30433 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
30434 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
30435 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
30436 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
30437 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
30438 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
30439 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30440 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
30441 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
30442 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
30443 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
30444 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30445 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
30446 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
30447 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
30448 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
30449 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30450 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
30451 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
30452 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
30453 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
30454 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
30455 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
30456 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
30457 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
30458 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
30459 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
30460 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
30461 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
30462 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
30463 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30464 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30465 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
30466 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
30467 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
30468 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
30469 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30470 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30471 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30472 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
30473 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
30474 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
30475 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30476 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
30477 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
30478 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
30479 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30480 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
30481 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
30482 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
30483 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30484 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
30485 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
30486 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
30487 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
30488 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
30489 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
30490 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
30491 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
30492 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
30493 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
30494 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
30495 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
30496 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
30497 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
30498 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
30499 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
30500 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
30501 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
30502 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
30503 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30504 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30505 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
30506 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
30507 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
30508 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
30509 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
30510 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
30511 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
30512 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
30513 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
30514 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
30515 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
30516 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS },
30517 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
30518 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
30519 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
30520 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
30521 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
30522 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
30523 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
30524 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
30525 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
30526 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
30527 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
30528 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
30529 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
30530 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
30531 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
30532 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
30533 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
30534 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
30535 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
30536 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
30537 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
30538 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
30539 { NULL, NULL }
30540 };
30541
30542
30543 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30544
30545 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
30546 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30547 }
30548 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
30549 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
30550 }
30551 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
30552 return (void *)((wxSizer *) ((wxBoxSizer *) x));
30553 }
30554 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
30555 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
30556 }
30557 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
30558 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30559 }
30560 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
30561 return (void *)((wxSizer *) ((wxGridSizer *) x));
30562 }
30563 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
30564 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
30565 }
30566 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
30567 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
30568 }
30569 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
30570 return (void *)((wxSizer *) ((wxPySizer *) x));
30571 }
30572 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
30573 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
30574 }
30575 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
30576 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
30577 }
30578 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
30579 return (void *)((wxEvent *) ((wxMenuEvent *) x));
30580 }
30581 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
30582 return (void *)((wxEvent *) ((wxCloseEvent *) x));
30583 }
30584 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
30585 return (void *)((wxEvent *) ((wxMouseEvent *) x));
30586 }
30587 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
30588 return (void *)((wxEvent *) ((wxEraseEvent *) x));
30589 }
30590 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
30591 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30592 }
30593 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
30594 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
30595 }
30596 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
30597 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
30598 }
30599 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
30600 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
30601 }
30602 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
30603 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
30604 }
30605 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
30606 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30607 }
30608 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
30609 return (void *)((wxEvent *) ((wxPyEvent *) x));
30610 }
30611 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
30612 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
30613 }
30614 static void *_p_wxListEventTo_p_wxEvent(void *x) {
30615 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30616 }
30617 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
30618 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30619 }
30620 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
30621 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30622 }
30623 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
30624 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
30625 }
30626 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
30627 return (void *)((wxEvent *) ((wxIdleEvent *) x));
30628 }
30629 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
30630 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
30631 }
30632 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
30633 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
30634 }
30635 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
30636 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
30637 }
30638 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
30639 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
30640 }
30641 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
30642 return (void *)((wxEvent *) ((wxActivateEvent *) x));
30643 }
30644 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
30645 return (void *)((wxEvent *) ((wxSizeEvent *) x));
30646 }
30647 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
30648 return (void *)((wxEvent *) ((wxMoveEvent *) x));
30649 }
30650 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
30651 return (void *)((wxEvent *) ((wxPaintEvent *) x));
30652 }
30653 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
30654 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
30655 }
30656 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
30657 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
30658 }
30659 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
30660 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
30661 }
30662 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
30663 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
30664 }
30665 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
30666 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30667 }
30668 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
30669 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
30670 }
30671 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
30672 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
30673 }
30674 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
30675 return (void *)((wxEvent *) ((wxFocusEvent *) x));
30676 }
30677 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
30678 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
30679 }
30680 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
30681 return (void *)((wxEvent *) ((wxShowEvent *) x));
30682 }
30683 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
30684 return (void *)((wxEvent *) ((wxCommandEvent *) x));
30685 }
30686 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
30687 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
30688 }
30689 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
30690 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30691 }
30692 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
30693 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
30694 }
30695 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
30696 return (void *)((wxEvent *) ((wxKeyEvent *) x));
30697 }
30698 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
30699 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
30700 }
30701 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
30702 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30703 }
30704 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
30705 return (void *)((wxItemContainer *) ((wxComboBox *) x));
30706 }
30707 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
30708 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30709 }
30710 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
30711 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
30712 }
30713 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
30714 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
30715 }
30716 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
30717 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
30718 }
30719 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
30720 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30721 }
30722 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
30723 return (void *)((wxPyListCtrl *) ((wxListView *) x));
30724 }
30725 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
30726 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30727 }
30728 static void *_p_wxListBoxTo_p_wxControl(void *x) {
30729 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
30730 }
30731 static void *_p_wxChoiceTo_p_wxControl(void *x) {
30732 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
30733 }
30734 static void *_p_wxToolBarTo_p_wxControl(void *x) {
30735 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
30736 }
30737 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
30738 return (void *)((wxControl *) ((wxStaticBitmap *) x));
30739 }
30740 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
30741 return (void *)((wxControl *) ((wxComboBox *) x));
30742 }
30743 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
30744 return (void *)((wxControl *) ((wxSpinCtrl *) x));
30745 }
30746 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
30747 return (void *)((wxControl *) ((wxStaticBox *) x));
30748 }
30749 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
30750 return (void *)((wxControl *) ((wxPyListCtrl *) x));
30751 }
30752 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
30753 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
30754 }
30755 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
30756 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30757 }
30758 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
30759 return (void *)((wxControl *) ((wxScrollBar *) x));
30760 }
30761 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
30762 return (void *)((wxControl *) ((wxBookCtrl *) x));
30763 }
30764 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
30765 return (void *)((wxControl *) ((wxRadioButton *) x));
30766 }
30767 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
30768 return (void *)((wxControl *) ((wxToggleButton *) x));
30769 }
30770 static void *_p_wxGaugeTo_p_wxControl(void *x) {
30771 return (void *)((wxControl *) ((wxGauge *) x));
30772 }
30773 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
30774 return (void *)((wxControl *) ((wxToolBarBase *) x));
30775 }
30776 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
30777 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
30778 }
30779 static void *_p_wxButtonTo_p_wxControl(void *x) {
30780 return (void *)((wxControl *) ((wxButton *) x));
30781 }
30782 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
30783 return (void *)((wxControl *) ((wxSpinButton *) x));
30784 }
30785 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
30786 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30787 }
30788 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
30789 return (void *)((wxControl *) ((wxControlWithItems *) x));
30790 }
30791 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
30792 return (void *)((wxControl *) ((wxRadioBox *) x));
30793 }
30794 static void *_p_wxNotebookTo_p_wxControl(void *x) {
30795 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
30796 }
30797 static void *_p_wxListbookTo_p_wxControl(void *x) {
30798 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
30799 }
30800 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
30801 return (void *)((wxControl *) ((wxCheckBox *) x));
30802 }
30803 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
30804 return (void *)((wxControl *) ((wxTextCtrl *) x));
30805 }
30806 static void *_p_wxListViewTo_p_wxControl(void *x) {
30807 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
30808 }
30809 static void *_p_wxSliderTo_p_wxControl(void *x) {
30810 return (void *)((wxControl *) ((wxSlider *) x));
30811 }
30812 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
30813 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
30814 }
30815 static void *_p_wxPyControlTo_p_wxControl(void *x) {
30816 return (void *)((wxControl *) ((wxPyControl *) x));
30817 }
30818 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
30819 return (void *)((wxControl *) ((wxStaticLine *) x));
30820 }
30821 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
30822 return (void *)((wxControl *) ((wxStaticText *) x));
30823 }
30824 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
30825 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
30826 }
30827 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
30828 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
30829 }
30830 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
30831 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
30832 }
30833 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
30834 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30835 }
30836 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
30837 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
30838 }
30839 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
30840 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
30841 }
30842 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
30843 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30844 }
30845 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
30846 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
30847 }
30848 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
30849 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30850 }
30851 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
30852 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
30853 }
30854 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
30855 return (void *)((wxEvtHandler *) ((wxValidator *) x));
30856 }
30857 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
30858 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
30859 }
30860 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
30861 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30862 }
30863 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
30864 return (void *)((wxEvtHandler *) ((wxMenu *) x));
30865 }
30866 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
30867 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
30868 }
30869 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
30870 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
30871 }
30872 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
30873 return (void *)((wxEvtHandler *) ((wxWindow *) x));
30874 }
30875 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
30876 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
30877 }
30878 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
30879 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30880 }
30881 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
30882 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30883 }
30884 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
30885 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
30886 }
30887 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
30888 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30889 }
30890 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
30891 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
30892 }
30893 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
30894 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
30895 }
30896 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
30897 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30898 }
30899 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
30900 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
30901 }
30902 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
30903 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30904 }
30905 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
30906 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
30907 }
30908 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
30909 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
30910 }
30911 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
30912 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30913 }
30914 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
30915 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30916 }
30917 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
30918 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
30919 }
30920 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
30921 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
30922 }
30923 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
30924 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30925 }
30926 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
30927 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30928 }
30929 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
30930 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30931 }
30932 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
30933 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30934 }
30935 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
30936 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30937 }
30938 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
30939 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30940 }
30941 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
30942 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
30943 }
30944 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
30945 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
30946 }
30947 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
30948 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
30949 }
30950 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
30951 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
30952 }
30953 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
30954 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
30955 }
30956 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
30957 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
30958 }
30959 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
30960 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
30961 }
30962 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
30963 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30964 }
30965 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
30966 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
30967 }
30968 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
30969 return (void *)((wxListBox *) ((wxCheckListBox *) x));
30970 }
30971 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
30972 return (void *)((wxBookCtrl *) ((wxListbook *) x));
30973 }
30974 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
30975 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
30976 }
30977 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
30978 return (void *)((wxButton *) ((wxBitmapButton *) x));
30979 }
30980 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
30981 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
30982 }
30983 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
30984 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
30985 }
30986 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
30987 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
30988 }
30989 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
30990 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
30991 }
30992 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
30993 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
30994 }
30995 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
30996 return (void *)((wxObject *) ((wxSizerItem *) x));
30997 }
30998 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
30999 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31000 }
31001 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31002 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31003 }
31004 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
31005 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
31006 }
31007 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
31008 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31009 }
31010 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31011 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31012 }
31013 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31014 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31015 }
31016 static void *_p_wxSizerTo_p_wxObject(void *x) {
31017 return (void *)((wxObject *) ((wxSizer *) x));
31018 }
31019 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31020 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31021 }
31022 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
31023 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
31024 }
31025 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
31026 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31027 }
31028 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31029 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31030 }
31031 static void *_p_wxEventTo_p_wxObject(void *x) {
31032 return (void *)((wxObject *) ((wxEvent *) x));
31033 }
31034 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31035 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31036 }
31037 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31038 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31039 }
31040 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31041 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31042 }
31043 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
31044 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31045 }
31046 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
31047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31048 }
31049 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
31050 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31051 }
31052 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31053 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31054 }
31055 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31056 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31057 }
31058 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31059 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31060 }
31061 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31062 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31063 }
31064 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31065 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31066 }
31067 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31068 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31069 }
31070 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
31071 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
31072 }
31073 static void *_p_wxControlTo_p_wxObject(void *x) {
31074 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31075 }
31076 static void *_p_wxPyControlTo_p_wxObject(void *x) {
31077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
31078 }
31079 static void *_p_wxGaugeTo_p_wxObject(void *x) {
31080 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
31081 }
31082 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
31083 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
31084 }
31085 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
31086 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
31087 }
31088 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
31089 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31090 }
31091 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31092 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31093 }
31094 static void *_p_wxChoiceTo_p_wxObject(void *x) {
31095 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31096 }
31097 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31098 return (void *)((wxObject *) ((wxFSFile *) x));
31099 }
31100 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31101 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31102 }
31103 static void *_p_wxListViewTo_p_wxObject(void *x) {
31104 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31105 }
31106 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
31107 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31108 }
31109 static void *_p_wxNotebookTo_p_wxObject(void *x) {
31110 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31111 }
31112 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31113 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31114 }
31115 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31116 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31117 }
31118 static void *_p_wxListbookTo_p_wxObject(void *x) {
31119 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31120 }
31121 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31122 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31123 }
31124 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
31125 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31126 }
31127 static void *_p_wxSliderTo_p_wxObject(void *x) {
31128 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
31129 }
31130 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31131 return (void *)((wxObject *) ((wxMenuItem *) x));
31132 }
31133 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31134 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31135 }
31136 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31137 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31138 }
31139 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31140 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31141 }
31142 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31143 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31144 }
31145 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31146 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31147 }
31148 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31149 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31150 }
31151 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31152 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31153 }
31154 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31155 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31156 }
31157 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
31158 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
31159 }
31160 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
31161 return (void *)((wxObject *) ((wxContextHelp *) x));
31162 }
31163 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31164 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31165 }
31166 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31167 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31168 }
31169 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31170 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31171 }
31172 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31173 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31174 }
31175 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31176 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31177 }
31178 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31179 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31180 }
31181 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31182 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31183 }
31184 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31185 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31186 }
31187 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31188 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31189 }
31190 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31191 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31192 }
31193 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31194 return (void *)((wxObject *) ((wxImageHandler *) x));
31195 }
31196 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31197 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31198 }
31199 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31200 return (void *)((wxObject *) ((wxEvtHandler *) x));
31201 }
31202 static void *_p_wxListEventTo_p_wxObject(void *x) {
31203 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
31204 }
31205 static void *_p_wxListBoxTo_p_wxObject(void *x) {
31206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31207 }
31208 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
31209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31210 }
31211 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
31212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31213 }
31214 static void *_p_wxButtonTo_p_wxObject(void *x) {
31215 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
31216 }
31217 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
31218 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31219 }
31220 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
31221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
31222 }
31223 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
31224 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31225 }
31226 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31227 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31228 }
31229 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
31230 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
31231 }
31232 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
31233 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
31234 }
31235 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
31236 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
31237 }
31238 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
31239 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
31240 }
31241 static void *_p_wxListItemTo_p_wxObject(void *x) {
31242 return (void *)((wxObject *) ((wxListItem *) x));
31243 }
31244 static void *_p_wxImageTo_p_wxObject(void *x) {
31245 return (void *)((wxObject *) ((wxImage *) x));
31246 }
31247 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
31248 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
31249 }
31250 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31251 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31252 }
31253 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
31254 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
31255 }
31256 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
31257 return (void *)((wxObject *) ((wxGenericDragImage *) x));
31258 }
31259 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
31260 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31261 }
31262 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
31263 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31264 }
31265 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
31266 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31267 }
31268 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31269 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31270 }
31271 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31272 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31273 }
31274 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31275 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31276 }
31277 static void *_p_wxWindowTo_p_wxObject(void *x) {
31278 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31279 }
31280 static void *_p_wxMenuTo_p_wxObject(void *x) {
31281 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31282 }
31283 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31284 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31285 }
31286 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31287 return (void *)((wxObject *) ((wxFileSystem *) x));
31288 }
31289 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31290 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31291 }
31292 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31293 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31294 }
31295 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31296 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31297 }
31298 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31299 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31300 }
31301 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31302 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31303 }
31304 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31305 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31306 }
31307 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
31308 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31309 }
31310 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31311 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31312 }
31313 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31314 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31315 }
31316 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
31317 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
31318 }
31319 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31320 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31321 }
31322 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31323 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31324 }
31325 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31326 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31327 }
31328 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31330 }
31331 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
31332 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
31333 }
31334 static void *_p_wxToolBarTo_p_wxObject(void *x) {
31335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31336 }
31337 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31338 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31339 }
31340 static void *_p_wxValidatorTo_p_wxObject(void *x) {
31341 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31342 }
31343 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
31344 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
31345 }
31346 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
31347 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
31348 }
31349 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31350 return (void *)((wxWindow *) ((wxMenuBar *) x));
31351 }
31352 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
31353 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31354 }
31355 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
31356 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
31357 }
31358 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
31359 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
31360 }
31361 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
31362 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
31363 }
31364 static void *_p_wxControlTo_p_wxWindow(void *x) {
31365 return (void *)((wxWindow *) ((wxControl *) x));
31366 }
31367 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
31368 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
31369 }
31370 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
31371 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31372 }
31373 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
31374 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
31375 }
31376 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
31377 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
31378 }
31379 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
31380 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
31381 }
31382 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
31383 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
31384 }
31385 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
31386 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
31387 }
31388 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
31389 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
31390 }
31391 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
31392 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
31393 }
31394 static void *_p_wxListbookTo_p_wxWindow(void *x) {
31395 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31396 }
31397 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
31398 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
31399 }
31400 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
31401 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
31402 }
31403 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
31404 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
31405 }
31406 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
31407 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31408 }
31409 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
31410 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31411 }
31412 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
31413 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31414 }
31415 static void *_p_wxListViewTo_p_wxWindow(void *x) {
31416 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31417 }
31418 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
31419 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31420 }
31421 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
31422 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
31423 }
31424 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
31425 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
31426 }
31427 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
31428 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
31429 }
31430 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
31431 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
31432 }
31433 static void *_p_wxSliderTo_p_wxWindow(void *x) {
31434 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
31435 }
31436 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
31437 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
31438 }
31439 static void *_p_wxButtonTo_p_wxWindow(void *x) {
31440 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
31441 }
31442 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
31443 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
31444 }
31445 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
31446 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31447 }
31448 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
31449 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
31450 }
31451 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
31452 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31453 }
31454 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
31455 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31456 }
31457 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
31458 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
31459 }
31460 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
31461 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
31462 }
31463 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
31464 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
31465 }
31466 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
31467 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
31468 }
31469 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
31470 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
31471 }
31472 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
31473 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31474 }
31475 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
31476 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31477 }
31478 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
31479 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
31480 }
31481 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
31482 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
31483 }
31484 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
31485 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
31486 }
31487 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
31488 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
31489 }
31490 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
31491 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
31492 }
31493 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
31494 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
31495 }
31496 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
31497 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
31498 }
31499 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
31500 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
31501 }
31502 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
31503 return (void *)((wxControlWithItems *) ((wxChoice *) x));
31504 }
31505 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
31506 return (void *)((wxControlWithItems *) ((wxListBox *) x));
31507 }
31508 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
31509 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
31510 }
31511 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
31512 return (void *)((wxValidator *) ((wxPyValidator *) x));
31513 }
31514 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}};
31515 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}};
31516 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}};
31517 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}};
31518 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}};
31519 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}};
31520 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}};
31521 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}};
31522 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}};
31523 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}};
31524 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}};
31525 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}};
31526 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}};
31527 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}};
31528 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}};
31529 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}};
31530 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}};
31531 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}};
31532 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}};
31533 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}};
31534 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}};
31535 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}};
31536 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}};
31537 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}};
31538 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}};
31539 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}};
31540 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}};
31541 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}};
31542 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}};
31543 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}};
31544 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}};
31545 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}};
31546 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}};
31547 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}};
31548 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}};
31549 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}};
31550 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}};
31551 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}};
31552 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}};
31553 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}};
31554 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}};
31555 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}};
31556 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}};
31557 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}};
31558 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}};
31559 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}};
31560 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}};
31561 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}};
31562 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}};
31563 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}};
31564 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}};
31565 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}};
31566 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}};
31567 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}};
31568 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}};
31569 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}};
31570 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}};
31571 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}};
31572 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}};
31573 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}};
31574 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}};
31575 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}};
31576 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}};
31577 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}};
31578 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}};
31579 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}};
31580 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}};
31581 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}};
31582 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}};
31583 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}};
31584 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}};
31585 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}};
31586 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}};
31587 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}};
31588 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}};
31589 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}};
31590 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}};
31591 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}};
31592 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}};
31593 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}};
31594 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}};
31595 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}};
31596 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}};
31597 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}};
31598
31599 static swig_type_info *swig_types_initial[] = {
31600 _swigt__p_wxTextUrlEvent,
31601 _swigt__p_wxBookCtrlEvent,
31602 _swigt__p_wxSizer,
31603 _swigt__p_wxCheckBox,
31604 _swigt__p_wxPyTreeCtrl,
31605 _swigt__p_wxEvent,
31606 _swigt__p_wxGenericDirCtrl,
31607 _swigt__p_bool,
31608 _swigt__p_wxPyTreeItemData,
31609 _swigt__p_wxItemContainer,
31610 _swigt__p_wxDirFilterListCtrl,
31611 _swigt__p_wxPyListCtrl,
31612 _swigt__p_wxStaticLine,
31613 _swigt__p_wxControl,
31614 _swigt__p_wxPyControl,
31615 _swigt__p_wxGauge,
31616 _swigt__p_wxToolBarBase,
31617 _swigt__p_wxFont,
31618 _swigt__p_wxToggleButton,
31619 _swigt__p_wxRadioButton,
31620 _swigt__p_wxChoice,
31621 _swigt__p_wxMemoryDC,
31622 _swigt__p_wxListItemAttr,
31623 _swigt__p_void,
31624 _swigt__p_int,
31625 _swigt__p_wxSize,
31626 _swigt__p_wxDC,
31627 _swigt__p_wxListView,
31628 _swigt__p_wxIcon,
31629 _swigt__p_wxTextCtrl,
31630 _swigt__p_wxNotebook,
31631 _swigt__p_wxNotifyEvent,
31632 _swigt__p_wxArrayString,
31633 _swigt__p_wxListbook,
31634 _swigt__p_wxStaticBitmap,
31635 _swigt__p_wxSlider,
31636 _swigt__p_wxStaticBox,
31637 _swigt__p_wxArrayInt,
31638 _swigt__p_wxContextHelp,
31639 _swigt__p_long,
31640 _swigt__p_wxEvtHandler,
31641 _swigt__p_wxListEvent,
31642 _swigt__p_wxListBox,
31643 _swigt__p_wxCheckListBox,
31644 _swigt__p_wxBookCtrl,
31645 _swigt__p_wxSpinButton,
31646 _swigt__p_wxButton,
31647 _swigt__p_wxBitmapButton,
31648 _swigt__p_wxRect,
31649 _swigt__p_wxContextHelpButton,
31650 _swigt__p_wxRadioBox,
31651 _swigt__p_wxScrollBar,
31652 _swigt__p_char,
31653 _swigt__p_wxTreeItemId,
31654 _swigt__p_wxComboBox,
31655 _swigt__p_wxHelpEvent,
31656 _swigt__p_wxListItem,
31657 _swigt__p_wxNotebookSizer,
31658 _swigt__p_wxSpinEvent,
31659 _swigt__p_wxGenericDragImage,
31660 _swigt__p_wxSpinCtrl,
31661 _swigt__p_wxImageList,
31662 _swigt__p_wxHelpProvider,
31663 _swigt__p_wxTextAttr,
31664 _swigt__p_wxSimpleHelpProvider,
31665 _swigt__p_wxPoint,
31666 _swigt__p_wxListbookEvent,
31667 _swigt__p_wxNotebookEvent,
31668 _swigt__p_wxObject,
31669 _swigt__p_wxCursor,
31670 _swigt__p_wxKeyEvent,
31671 _swigt__p_wxWindow,
31672 _swigt__p_wxString,
31673 _swigt__p_wxBitmap,
31674 _swigt__p_wxTreeEvent,
31675 _swigt__p_wxMouseEvent,
31676 _swigt__p_wxCommandEvent,
31677 _swigt__p_wxStaticText,
31678 _swigt__p_wxControlWithItems,
31679 _swigt__p_wxToolBarToolBase,
31680 _swigt__p_wxColour,
31681 _swigt__p_wxToolBar,
31682 _swigt__p_wxBookCtrlSizer,
31683 _swigt__p_wxValidator,
31684 0
31685 };
31686
31687
31688 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31689
31690 static swig_const_info swig_const_table[] = {
31691 {0}};
31692
31693 #ifdef __cplusplus
31694 }
31695 #endif
31696
31697 #ifdef __cplusplus
31698 extern "C"
31699 #endif
31700 SWIGEXPORT(void) SWIG_init(void) {
31701 static PyObject *SWIG_globals = 0;
31702 static int typeinit = 0;
31703 PyObject *m, *d;
31704 int i;
31705 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
31706 m = Py_InitModule((char *) SWIG_name, SwigMethods);
31707 d = PyModule_GetDict(m);
31708
31709 if (!typeinit) {
31710 for (i = 0; swig_types_initial[i]; i++) {
31711 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
31712 }
31713 typeinit = 1;
31714 }
31715 SWIG_InstallConstants(d,swig_const_table);
31716
31717 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
31718 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
31719 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
31720 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
31721 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
31722 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
31723 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
31724 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
31725 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
31726 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
31727 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
31728 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
31729 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
31730 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
31731 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
31732 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
31733 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
31734 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
31735 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
31736 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
31737 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
31738 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
31739 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
31740 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
31741 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
31742 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
31743 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
31744 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
31745 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
31746 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
31747 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
31748 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
31749 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
31750 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
31751 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
31752 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
31753 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
31754 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
31755 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
31756 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
31757 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
31758 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
31759 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
31760 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
31761 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
31762 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
31763 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
31764 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
31765 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
31766 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
31767 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
31768 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
31769 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
31770 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
31771 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
31772 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
31773 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
31774 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
31775 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
31776 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
31777 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
31778 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
31779 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
31780 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
31781 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
31782 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
31783 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
31784 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
31785 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
31786 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
31787 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
31788 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
31789 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
31790 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
31791 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
31792 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
31793 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
31794 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
31795 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
31796 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
31797 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
31798 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
31799 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
31800 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
31801 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
31802 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
31803 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
31804 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
31805 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
31806 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
31807 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
31808 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
31809 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
31810 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
31811 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
31812 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
31813 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
31814 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
31815 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
31816 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
31817 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
31818 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
31819 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
31820 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
31821 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
31822 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
31823 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
31824 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
31825 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
31826 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
31827 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
31828 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
31829 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
31830 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
31831 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
31832 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
31833 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
31834 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
31835 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
31836 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
31837 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
31838 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
31839 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
31840 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
31841 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
31842 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
31843 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
31844 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
31845 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
31846 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
31847 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
31848 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
31849 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
31850 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
31851 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
31852 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
31853 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
31854 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
31855 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
31856 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
31857 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
31858 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
31859 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
31860 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
31861 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
31862 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
31863 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
31864 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
31865 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
31866 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
31867 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
31868 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
31869 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
31870 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
31871 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
31872 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
31873 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
31874 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
31875 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
31876 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
31877 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
31878 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
31879 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
31880 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
31881 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
31882 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
31883 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
31884 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
31885 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
31886 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
31887 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
31888 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
31889 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
31890 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
31891 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
31892 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
31893 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
31894 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
31895 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
31896 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
31897 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
31898 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
31899 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
31900 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
31901 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
31902 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
31903 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
31904 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
31905 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
31906 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
31907 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
31908 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
31909 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
31910 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
31911 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
31912 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
31913 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
31914 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
31915 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
31916 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
31917 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
31918 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
31919 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
31920 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
31921 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
31922 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
31923 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
31924 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
31925 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
31926 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
31927 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
31928
31929 // Map renamed classes back to their common name for OOR
31930 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31931
31932 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
31933 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
31934 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
31935 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
31936 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
31937 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
31938 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
31939 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
31940 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
31941 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
31942 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
31943 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
31944 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
31945 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
31946 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
31947 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
31948 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
31949 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
31950 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
31951 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
31952 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
31953 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
31954 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
31955 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
31956 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
31957 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
31958 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
31959 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
31960 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
31961 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
31962 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
31963 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
31964 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
31965 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
31966 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
31967 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
31968 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
31969 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
31970 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
31971 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
31972 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
31973 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
31974 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
31975 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
31976 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
31977 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
31978 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
31979 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
31980 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
31981 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
31982 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
31983 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
31984 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
31985 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
31986 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
31987 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
31988
31989 // Map renamed classes back to their common name for OOR
31990 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31991 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31992
31993 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
31994 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
31995 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
31996 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
31997 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
31998 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
31999 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
32000 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
32001 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
32002 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
32003
32004 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
32005
32006 }
32007