]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_controls_wrap.cpp
fixed introspection of objects with attrs without string names.
[wxWidgets.git] / wxPython / src / mac / _controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
239 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
240 #define SWIGTYPE_p_wxNotebook swig_types[31]
241 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
242 #define SWIGTYPE_p_wxArrayString swig_types[33]
243 #define SWIGTYPE_p_wxListbook swig_types[34]
244 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
245 #define SWIGTYPE_p_wxSlider swig_types[36]
246 #define SWIGTYPE_p_wxStaticBox swig_types[37]
247 #define SWIGTYPE_p_wxArrayInt swig_types[38]
248 #define SWIGTYPE_p_wxContextHelp swig_types[39]
249 #define SWIGTYPE_p_long swig_types[40]
250 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
251 #define SWIGTYPE_p_wxListEvent swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxListBox swig_types[44]
254 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
255 #define SWIGTYPE_p_wxSpinButton swig_types[46]
256 #define SWIGTYPE_p_wxButton swig_types[47]
257 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
260 #define SWIGTYPE_p_wxRadioBox swig_types[51]
261 #define SWIGTYPE_p_wxScrollBar swig_types[52]
262 #define SWIGTYPE_p_char swig_types[53]
263 #define SWIGTYPE_p_wxTreeItemId swig_types[54]
264 #define SWIGTYPE_p_wxComboBox swig_types[55]
265 #define SWIGTYPE_p_wxHelpEvent swig_types[56]
266 #define SWIGTYPE_p_wxListItem swig_types[57]
267 #define SWIGTYPE_p_wxNotebookSizer swig_types[58]
268 #define SWIGTYPE_p_wxSpinEvent swig_types[59]
269 #define SWIGTYPE_p_wxGenericDragImage swig_types[60]
270 #define SWIGTYPE_p_wxSpinCtrl swig_types[61]
271 #define SWIGTYPE_p_wxImageList swig_types[62]
272 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
273 #define SWIGTYPE_p_wxTextAttr swig_types[64]
274 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
275 #define SWIGTYPE_p_wxPoint swig_types[66]
276 #define SWIGTYPE_p_wxListbookEvent swig_types[67]
277 #define SWIGTYPE_p_wxNotebookEvent swig_types[68]
278 #define SWIGTYPE_p_wxObject swig_types[69]
279 #define SWIGTYPE_p_wxCursor swig_types[70]
280 #define SWIGTYPE_p_wxKeyEvent swig_types[71]
281 #define SWIGTYPE_p_wxWindow swig_types[72]
282 #define SWIGTYPE_p_wxString swig_types[73]
283 #define SWIGTYPE_p_wxBitmap swig_types[74]
284 #define SWIGTYPE_p_wxTreeEvent swig_types[75]
285 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxStaticText swig_types[78]
288 #define SWIGTYPE_p_wxControlWithItems swig_types[79]
289 #define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
293 #define SWIGTYPE_p_wxValidator swig_types[84]
294 static swig_type_info *swig_types[86];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _controls_.so
301 ------------------------------------------------*/
302 #define SWIG_init init_controls_
303
304 #define SWIG_name "_controls_"
305
306 /* Auxiliar swig macros */
307
308 #ifdef __cplusplus
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #else
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
321 #endif
322
323 #else /* C case */
324
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
333
334 #endif /* __cplusplus */
335
336
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347
348
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
351
352 static const wxString wxPyPanelNameStr(wxPanelNameStr);
353 static const wxString wxPyEmptyString(wxEmptyString);
354 static const wxString wxPyControlNameStr(wxControlNameStr);
355
356 const wxArrayString wxPyEmptyStringArray;
357
358 static const wxString wxPyButtonNameStr(wxButtonNameStr);
359
360 #include <limits.h>
361
362
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value, const char* type,
365 long min_value, long max_value)
366 {
367 if (!PyErr_Occurred()) {
368 if (value < min_value) {
369 PyObject *err =
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value, type, min_value);
372
373 PyErr_SetObject(PyExc_OverflowError, err);
374 Py_DECREF(err);
375 } else if (value > max_value) {
376 PyObject *err =
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value, type, max_value);
379 PyErr_SetObject(PyExc_OverflowError, err);
380 Py_DECREF(err);
381 }
382 }
383 return value;
384 }
385
386
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject * obj)
389 {
390 if (PyNumber_Check(obj))
391 return PyInt_AsLong(obj);
392 else {
393 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
394 obj->ob_type->tp_name);
395 PyErr_SetObject(PyExc_TypeError, errmsg);
396 Py_DECREF(errmsg);
397 return 0;
398 }
399 }
400
401
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject *obj)
405 {
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj),
408 "int", INT_MIN, INT_MAX));
409 }
410 #else
411 #define SWIG_AsInt SWIG_AsLong
412 #endif
413
414
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject* obj)
417 {
418 SWIG_AsInt(obj);
419 if (PyErr_Occurred()) {
420 PyErr_Clear();
421 return 0;
422 } else {
423 return 1;
424 }
425 }
426
427
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject* obj)
430 {
431 SWIG_AsLong(obj);
432 if (PyErr_Occurred()) {
433 PyErr_Clear();
434 return 0;
435 } else {
436 return 1;
437 }
438 }
439
440 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
441
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject *obj)
444 {
445 return PyObject_IsTrue(obj) ? true : false;
446 }
447
448
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject* obj)
451 {
452 SWIG_AsBool(obj);
453 if (PyErr_Occurred()) {
454 PyErr_Clear();
455 return 0;
456 } else {
457 return 1;
458 }
459 }
460
461 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
462 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
463 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
464 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
465 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
466 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
467
468 #include <wx/checklst.h>
469
470
471 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
472 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
473 if (clientData) {
474 wxPyClientData* data = new wxPyClientData(clientData);
475 self->Insert(item, pos, data);
476 } else
477 self->Insert(item, pos);
478 }
479 PyObject *wxListBox_GetSelections(wxListBox *self){
480 wxArrayInt lst;
481 self->GetSelections(lst);
482 PyObject *tup = PyTuple_New(lst.GetCount());
483 for(size_t i=0; i<lst.GetCount(); i++) {
484 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
485 }
486 return tup;
487 }
488 void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
489 #ifdef __WXMSW__
490 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
491 self->GetItem(item)->SetTextColour(c);
492 #endif
493 }
494 void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
495 #ifdef __WXMSW__
496 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
497 self->GetItem(item)->SetBackgroundColour(c);
498 #endif
499 }
500 void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
501 #ifdef __WXMSW__
502 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
503 self->GetItem(item)->SetFont(f);
504 #endif
505 }
506 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
507
508 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
509 PyObject* o2;
510 PyObject* o3;
511
512 if (!target) {
513 target = o;
514 } else if (target == Py_None) {
515 Py_DECREF(Py_None);
516 target = o;
517 } else {
518 if (!PyTuple_Check(target)) {
519 o2 = target;
520 target = PyTuple_New(1);
521 PyTuple_SetItem(target, 0, o2);
522 }
523 o3 = PyTuple_New(1);
524 PyTuple_SetItem(o3, 0, o);
525
526 o2 = target;
527 target = PySequence_Concat(o2, o3);
528 Py_DECREF(o2);
529 Py_DECREF(o3);
530 }
531 return target;
532 }
533
534
535 SWIGSTATICINLINE(unsigned long)
536 SWIG_AsUnsignedLong(PyObject * obj)
537 {
538 if (PyLong_Check(obj)) {
539 return PyLong_AsUnsignedLong(obj);
540 } else {
541 long i = SWIG_AsLong(obj);
542 if ( !PyErr_Occurred() && (i < 0)) {
543 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
544 }
545 return i;
546 }
547 }
548
549
550 SWIGSTATICINLINE(int)
551 SWIG_CheckUnsignedLong(PyObject* obj)
552 {
553 SWIG_AsUnsignedLong(obj);
554 if (PyErr_Occurred()) {
555 PyErr_Clear();
556 return 0;
557 } else {
558 return 1;
559 }
560 }
561
562 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
563 self->AppendText(text);
564 }
565 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
566 return self->GetValue().Mid(from, to - from);
567 }
568 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
569 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
570 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
571 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
572 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
573
574 #include <wx/slider.h>
575
576
577 static const wxString wxPySliderNameStr(wxSliderNameStr);
578 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
579
580 #if !wxUSE_TOGGLEBTN
581 // implement dummy items for platforms that don't have this class
582
583 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
584
585 class wxToggleButton : public wxControl
586 {
587 public:
588 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
589 const wxPoint&, const wxSize&, long,
590 const wxValidator&, const wxString&)
591 { wxPyRaiseNotImplemented(); }
592
593 wxToggleButton()
594 { wxPyRaiseNotImplemented(); }
595 };
596 #endif
597
598 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
599
600 SWIGSTATICINLINE(PyObject* )
601 SWIG_FromUnsignedLong(unsigned long value)
602 {
603 return (value > LONG_MAX) ?
604 PyLong_FromUnsignedLong(value)
605 : PyInt_FromLong(swig_numeric_cast(long,value));
606 }
607
608 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
609 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
610 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
611 if (udata) {
612 Py_INCREF(udata->m_obj);
613 return udata->m_obj;
614 } else {
615 Py_INCREF(Py_None);
616 return Py_None;
617 }
618 }
619 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
620 self->SetClientData(new wxPyUserData(clientData));
621 }
622 wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
623 wxPyUserData* udata = NULL;
624 if (clientData && clientData != Py_None)
625 udata = new wxPyUserData(clientData);
626 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
627 shortHelp, longHelp, udata);
628 }
629 wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
630 wxPyUserData* udata = NULL;
631 if (clientData && clientData != Py_None)
632 udata = new wxPyUserData(clientData);
633 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
634 shortHelp, longHelp, udata);
635 }
636 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
637 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
638 if (udata) {
639 Py_INCREF(udata->m_obj);
640 return udata->m_obj;
641 } else {
642 Py_INCREF(Py_None);
643 return Py_None;
644 }
645 }
646 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
647 self->SetToolClientData(id, new wxPyUserData(clientData));
648 }
649
650 #include <wx/listctrl.h>
651
652
653 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
654 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
655 // Python aware sorting function for wxPyListCtrl
656 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
657 int retval = 0;
658 PyObject* func = (PyObject*)funcPtr;
659 bool blocked = wxPyBeginBlockThreads();
660
661 PyObject* args = Py_BuildValue("(ii)", item1, item2);
662 PyObject* result = PyEval_CallObject(func, args);
663 Py_DECREF(args);
664 if (result) {
665 retval = PyInt_AsLong(result);
666 Py_DECREF(result);
667 }
668
669 wxPyEndBlockThreads(blocked);
670 return retval;
671 }
672
673 // C++ Version of a Python aware class
674 class wxPyListCtrl : public wxListCtrl {
675 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
676 public:
677 wxPyListCtrl() : wxListCtrl() {}
678 wxPyListCtrl(wxWindow* parent, wxWindowID id,
679 const wxPoint& pos,
680 const wxSize& size,
681 long style,
682 const wxValidator& validator,
683 const wxString& name) :
684 wxListCtrl(parent, id, pos, size, style, validator, name) {}
685
686 bool Create(wxWindow* parent, wxWindowID id,
687 const wxPoint& pos,
688 const wxSize& size,
689 long style,
690 const wxValidator& validator,
691 const wxString& name) {
692 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
693 }
694
695 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
696 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
697 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
698
699 PYPRIVATE;
700 };
701
702 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
703
704 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
705 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
706 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
707
708 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
709 wxListItem item;
710 item.SetMask( wxLIST_MASK_STATE |
711 wxLIST_MASK_TEXT |
712 wxLIST_MASK_IMAGE |
713 wxLIST_MASK_DATA |
714 wxLIST_SET_ITEM |
715 wxLIST_MASK_WIDTH |
716 wxLIST_MASK_FORMAT
717 );
718 if (self->GetColumn(col, item))
719 return new wxListItem(item);
720 else
721 return NULL;
722 }
723 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
724 wxListItem* info = new wxListItem;
725 info->m_itemId = itemId;
726 info->m_col = col;
727 info->m_mask = 0xFFFF;
728 self->GetItem(*info);
729 return info;
730 }
731 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
732 wxPoint pos;
733 self->GetItemPosition(item, pos);
734 return pos;
735 }
736 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
737 wxRect rect;
738 self->GetItemRect(item, rect, code);
739 return rect;
740 }
741 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
742 if (!PyCallable_Check(func))
743 return False;
744 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
745 }
746 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
747
748
749
750 return (wxWindow*)self->m_mainWin;
751
752 }
753
754 #include <wx/treectrl.h>
755 #include "wx/wxPython/pytree.h"
756
757 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
758 bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : False; }
759 bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : True; }
760 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
761 // C++ version of Python aware wxTreeCtrl
762 class wxPyTreeCtrl : public wxTreeCtrl {
763 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
764 public:
765 wxPyTreeCtrl() : wxTreeCtrl() {}
766 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
767 const wxPoint& pos,
768 const wxSize& size,
769 long style,
770 const wxValidator& validator,
771 const wxString& name) :
772 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
773
774 bool Create(wxWindow *parent, wxWindowID id,
775 const wxPoint& pos,
776 const wxSize& size,
777 long style,
778 const wxValidator& validator,
779 const wxString& name) {
780 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
781 }
782
783
784 int OnCompareItems(const wxTreeItemId& item1,
785 const wxTreeItemId& item2) {
786 int rval = 0;
787 bool found;
788 bool blocked = wxPyBeginBlockThreads();
789 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
790 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
791 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
792 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
793 Py_DECREF(o1);
794 Py_DECREF(o2);
795 }
796 wxPyEndBlockThreads(blocked);
797 if (! found)
798 rval = wxTreeCtrl::OnCompareItems(item1, item2);
799 return rval;
800 }
801 PYPRIVATE;
802 };
803
804 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
805
806
807
808 #if UINT_MAX < LONG_MAX
809 #define SWIG_FromUnsignedInt SWIG_FromLong
810 #else
811 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
812 #endif
813
814
815 SWIGSTATICINLINE(unsigned long)
816 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
817 unsigned long max_value)
818 {
819 if (!PyErr_Occurred()) {
820 if (value > max_value) {
821 PyObject *err =
822 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
823 value, type, max_value);
824 PyErr_SetObject(PyExc_OverflowError, err);
825 Py_DECREF(err);
826 }
827 }
828 return value;
829 }
830
831
832 #if UINT_MAX != ULONG_MAX
833 SWIGSTATICINLINE(unsigned int)
834 SWIG_AsUnsignedInt(PyObject *obj)
835 {
836 return swig_numeric_cast(unsigned int,
837 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
838 "unsigned int", UINT_MAX));
839 }
840 #else
841 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
842 #endif
843
844
845 SWIGSTATICINLINE(int)
846 SWIG_CheckUnsignedInt(PyObject* obj)
847 {
848 SWIG_AsUnsignedInt(obj);
849 if (PyErr_Occurred()) {
850 PyErr_Clear();
851 return 0;
852 } else {
853 return 1;
854 }
855 }
856
857 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
858 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
859 if (data == NULL) {
860 data = new wxPyTreeItemData();
861 data->SetId(item); // set the id
862 self->SetItemData(item, data);
863 }
864 return data;
865 }
866 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
867 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
868 if (data == NULL) {
869 data = new wxPyTreeItemData();
870 data->SetId(item); // set the id
871 self->SetItemData(item, data);
872 }
873 return data->GetData();
874 }
875 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
876 data->SetId(item); // set the id
877 self->SetItemData(item, data);
878 }
879 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
880 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
881 if (data == NULL) {
882 data = new wxPyTreeItemData(obj);
883 data->SetId(item); // set the id
884 self->SetItemData(item, data);
885 } else
886 data->SetData(obj);
887 }
888 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
889 bool blocked = wxPyBeginBlockThreads();
890 PyObject* rval = PyList_New(0);
891 wxArrayTreeItemIds array;
892 size_t num, x;
893 num = self->GetSelections(array);
894 for (x=0; x < num; x++) {
895 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
896 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
897 PyList_Append(rval, item);
898 }
899 wxPyEndBlockThreads(blocked);
900 return rval;
901 }
902 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
903 void* cookie = 0;
904 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
905 bool blocked = wxPyBeginBlockThreads();
906 PyObject* tup = PyTuple_New(2);
907 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
908 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
909 wxPyEndBlockThreads(blocked);
910 return tup;
911 }
912 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
913 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
914 bool blocked = wxPyBeginBlockThreads();
915 PyObject* tup = PyTuple_New(2);
916 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
917 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
918 wxPyEndBlockThreads(blocked);
919 return tup;
920 }
921 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
922 wxRect rect;
923 if (self->GetBoundingRect(item, rect, textOnly)) {
924 bool blocked = wxPyBeginBlockThreads();
925 wxRect* r = new wxRect(rect);
926 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
927 wxPyEndBlockThreads(blocked);
928 return val;
929 }
930 else
931 RETURN_NONE();
932 }
933 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
934 // C++ version of Python aware wxControl
935 class wxPyControl : public wxControl
936 {
937 DECLARE_DYNAMIC_CLASS(wxPyControl)
938 public:
939 wxPyControl() : wxControl() {}
940 wxPyControl(wxWindow* parent, const wxWindowID id,
941 const wxPoint& pos = wxDefaultPosition,
942 const wxSize& size = wxDefaultSize,
943 long style = 0,
944 const wxValidator& validator=wxDefaultValidator,
945 const wxString& name = wxPyControlNameStr)
946 : wxControl(parent, id, pos, size, style, validator, name) {}
947
948
949 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
950 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
951 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
952 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
953
954 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
955 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
957
958 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
959 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
960
961 DEC_PYCALLBACK__(InitDialog);
962 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
963 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
964 DEC_PYCALLBACK_BOOL_(Validate);
965
966 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
967 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
968 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
969
970 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
971 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
972
973 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
974 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
975
976 PYPRIVATE;
977 };
978
979 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
980
981 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
982 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
983 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
984 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
985
986 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
987 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
988 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
989
990 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
991 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
992
993 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
994 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
995 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
996 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
997
998 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
999 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
1000 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
1001
1002 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
1003 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
1004
1005 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, ShouldInheritColours);
1006 IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
1007
1008
1009
1010 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
1011
1012 #include <wx/generic/dragimgg.h>
1013
1014 #ifdef __cplusplus
1015 extern "C" {
1016 #endif
1017 static int _wrap_ButtonNameStr_set(PyObject *_val) {
1018 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1019 return 1;
1020 }
1021
1022
1023 static PyObject *_wrap_ButtonNameStr_get() {
1024 PyObject *pyobj;
1025
1026 {
1027 #if wxUSE_UNICODE
1028 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1029 #else
1030 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1031 #endif
1032 }
1033 return pyobj;
1034 }
1035
1036
1037 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
1038 PyObject *resultobj;
1039 wxWindow *arg1 = (wxWindow *) 0 ;
1040 int arg2 ;
1041 wxString *arg3 = 0 ;
1042 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1043 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1044 wxSize const &arg5_defvalue = wxDefaultSize ;
1045 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1046 long arg6 = (long) 0 ;
1047 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1048 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1049 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1050 wxString *arg8 = (wxString *) &arg8_defvalue ;
1051 wxButton *result;
1052 bool temp3 = False ;
1053 wxPoint temp4 ;
1054 wxSize temp5 ;
1055 bool temp8 = False ;
1056 PyObject * obj0 = 0 ;
1057 PyObject * obj1 = 0 ;
1058 PyObject * obj2 = 0 ;
1059 PyObject * obj3 = 0 ;
1060 PyObject * obj4 = 0 ;
1061 PyObject * obj5 = 0 ;
1062 PyObject * obj6 = 0 ;
1063 PyObject * obj7 = 0 ;
1064 char *kwnames[] = {
1065 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1066 };
1067
1068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1071 arg2 = (int) SWIG_AsInt(obj1);
1072 if (PyErr_Occurred()) SWIG_fail;
1073 {
1074 arg3 = wxString_in_helper(obj2);
1075 if (arg3 == NULL) SWIG_fail;
1076 temp3 = True;
1077 }
1078 if (obj3) {
1079 {
1080 arg4 = &temp4;
1081 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1082 }
1083 }
1084 if (obj4) {
1085 {
1086 arg5 = &temp5;
1087 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1088 }
1089 }
1090 if (obj5) {
1091 arg6 = (long) SWIG_AsLong(obj5);
1092 if (PyErr_Occurred()) SWIG_fail;
1093 }
1094 if (obj6) {
1095 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1096 SWIG_POINTER_EXCEPTION | 0)) == -1)
1097 SWIG_fail;
1098 if (arg7 == NULL) {
1099 PyErr_SetString(PyExc_TypeError,"null reference");
1100 SWIG_fail;
1101 }
1102 }
1103 if (obj7) {
1104 {
1105 arg8 = wxString_in_helper(obj7);
1106 if (arg8 == NULL) SWIG_fail;
1107 temp8 = True;
1108 }
1109 }
1110 {
1111 PyThreadState* __tstate = wxPyBeginAllowThreads();
1112 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1113
1114 wxPyEndAllowThreads(__tstate);
1115 if (PyErr_Occurred()) SWIG_fail;
1116 }
1117 {
1118 resultobj = wxPyMake_wxObject(result);
1119 }
1120 {
1121 if (temp3)
1122 delete arg3;
1123 }
1124 {
1125 if (temp8)
1126 delete arg8;
1127 }
1128 return resultobj;
1129 fail:
1130 {
1131 if (temp3)
1132 delete arg3;
1133 }
1134 {
1135 if (temp8)
1136 delete arg8;
1137 }
1138 return NULL;
1139 }
1140
1141
1142 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1143 PyObject *resultobj;
1144 wxButton *result;
1145 char *kwnames[] = {
1146 NULL
1147 };
1148
1149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1150 {
1151 PyThreadState* __tstate = wxPyBeginAllowThreads();
1152 result = (wxButton *)new wxButton();
1153
1154 wxPyEndAllowThreads(__tstate);
1155 if (PyErr_Occurred()) SWIG_fail;
1156 }
1157 {
1158 resultobj = wxPyMake_wxObject(result);
1159 }
1160 return resultobj;
1161 fail:
1162 return NULL;
1163 }
1164
1165
1166 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1167 PyObject *resultobj;
1168 wxButton *arg1 = (wxButton *) 0 ;
1169 wxWindow *arg2 = (wxWindow *) 0 ;
1170 int arg3 ;
1171 wxString *arg4 = 0 ;
1172 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1173 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1174 wxSize const &arg6_defvalue = wxDefaultSize ;
1175 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1176 long arg7 = (long) 0 ;
1177 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1178 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1179 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1180 wxString *arg9 = (wxString *) &arg9_defvalue ;
1181 bool result;
1182 bool temp4 = False ;
1183 wxPoint temp5 ;
1184 wxSize temp6 ;
1185 bool temp9 = False ;
1186 PyObject * obj0 = 0 ;
1187 PyObject * obj1 = 0 ;
1188 PyObject * obj2 = 0 ;
1189 PyObject * obj3 = 0 ;
1190 PyObject * obj4 = 0 ;
1191 PyObject * obj5 = 0 ;
1192 PyObject * obj6 = 0 ;
1193 PyObject * obj7 = 0 ;
1194 PyObject * obj8 = 0 ;
1195 char *kwnames[] = {
1196 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1197 };
1198
1199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1202 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1204 arg3 = (int) SWIG_AsInt(obj2);
1205 if (PyErr_Occurred()) SWIG_fail;
1206 {
1207 arg4 = wxString_in_helper(obj3);
1208 if (arg4 == NULL) SWIG_fail;
1209 temp4 = True;
1210 }
1211 if (obj4) {
1212 {
1213 arg5 = &temp5;
1214 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1215 }
1216 }
1217 if (obj5) {
1218 {
1219 arg6 = &temp6;
1220 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1221 }
1222 }
1223 if (obj6) {
1224 arg7 = (long) SWIG_AsLong(obj6);
1225 if (PyErr_Occurred()) SWIG_fail;
1226 }
1227 if (obj7) {
1228 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1229 SWIG_POINTER_EXCEPTION | 0)) == -1)
1230 SWIG_fail;
1231 if (arg8 == NULL) {
1232 PyErr_SetString(PyExc_TypeError,"null reference");
1233 SWIG_fail;
1234 }
1235 }
1236 if (obj8) {
1237 {
1238 arg9 = wxString_in_helper(obj8);
1239 if (arg9 == NULL) SWIG_fail;
1240 temp9 = True;
1241 }
1242 }
1243 {
1244 PyThreadState* __tstate = wxPyBeginAllowThreads();
1245 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1246
1247 wxPyEndAllowThreads(__tstate);
1248 if (PyErr_Occurred()) SWIG_fail;
1249 }
1250 {
1251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1252 }
1253 {
1254 if (temp4)
1255 delete arg4;
1256 }
1257 {
1258 if (temp9)
1259 delete arg9;
1260 }
1261 return resultobj;
1262 fail:
1263 {
1264 if (temp4)
1265 delete arg4;
1266 }
1267 {
1268 if (temp9)
1269 delete arg9;
1270 }
1271 return NULL;
1272 }
1273
1274
1275 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1276 PyObject *resultobj;
1277 wxButton *arg1 = (wxButton *) 0 ;
1278 PyObject * obj0 = 0 ;
1279 char *kwnames[] = {
1280 (char *) "self", NULL
1281 };
1282
1283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1286 {
1287 PyThreadState* __tstate = wxPyBeginAllowThreads();
1288 (arg1)->SetDefault();
1289
1290 wxPyEndAllowThreads(__tstate);
1291 if (PyErr_Occurred()) SWIG_fail;
1292 }
1293 Py_INCREF(Py_None); resultobj = Py_None;
1294 return resultobj;
1295 fail:
1296 return NULL;
1297 }
1298
1299
1300 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1301 PyObject *resultobj;
1302 wxSize result;
1303 char *kwnames[] = {
1304 NULL
1305 };
1306
1307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1308 {
1309 PyThreadState* __tstate = wxPyBeginAllowThreads();
1310 result = wxButton::GetDefaultSize();
1311
1312 wxPyEndAllowThreads(__tstate);
1313 if (PyErr_Occurred()) SWIG_fail;
1314 }
1315 {
1316 wxSize * resultptr;
1317 resultptr = new wxSize((wxSize &) result);
1318 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1319 }
1320 return resultobj;
1321 fail:
1322 return NULL;
1323 }
1324
1325
1326 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1327 PyObject *obj;
1328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1329 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1330 Py_INCREF(obj);
1331 return Py_BuildValue((char *)"");
1332 }
1333 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1334 PyObject *resultobj;
1335 wxWindow *arg1 = (wxWindow *) 0 ;
1336 int arg2 ;
1337 wxBitmap *arg3 = 0 ;
1338 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1339 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1340 wxSize const &arg5_defvalue = wxDefaultSize ;
1341 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1342 long arg6 = (long) wxBU_AUTODRAW ;
1343 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1344 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1345 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1346 wxString *arg8 = (wxString *) &arg8_defvalue ;
1347 wxBitmapButton *result;
1348 wxPoint temp4 ;
1349 wxSize temp5 ;
1350 bool temp8 = False ;
1351 PyObject * obj0 = 0 ;
1352 PyObject * obj1 = 0 ;
1353 PyObject * obj2 = 0 ;
1354 PyObject * obj3 = 0 ;
1355 PyObject * obj4 = 0 ;
1356 PyObject * obj5 = 0 ;
1357 PyObject * obj6 = 0 ;
1358 PyObject * obj7 = 0 ;
1359 char *kwnames[] = {
1360 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1361 };
1362
1363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1366 arg2 = (int) SWIG_AsInt(obj1);
1367 if (PyErr_Occurred()) SWIG_fail;
1368 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1369 SWIG_POINTER_EXCEPTION | 0)) == -1)
1370 SWIG_fail;
1371 if (arg3 == NULL) {
1372 PyErr_SetString(PyExc_TypeError,"null reference");
1373 SWIG_fail;
1374 }
1375 if (obj3) {
1376 {
1377 arg4 = &temp4;
1378 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1379 }
1380 }
1381 if (obj4) {
1382 {
1383 arg5 = &temp5;
1384 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1385 }
1386 }
1387 if (obj5) {
1388 arg6 = (long) SWIG_AsLong(obj5);
1389 if (PyErr_Occurred()) SWIG_fail;
1390 }
1391 if (obj6) {
1392 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1393 SWIG_POINTER_EXCEPTION | 0)) == -1)
1394 SWIG_fail;
1395 if (arg7 == NULL) {
1396 PyErr_SetString(PyExc_TypeError,"null reference");
1397 SWIG_fail;
1398 }
1399 }
1400 if (obj7) {
1401 {
1402 arg8 = wxString_in_helper(obj7);
1403 if (arg8 == NULL) SWIG_fail;
1404 temp8 = True;
1405 }
1406 }
1407 {
1408 PyThreadState* __tstate = wxPyBeginAllowThreads();
1409 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1410
1411 wxPyEndAllowThreads(__tstate);
1412 if (PyErr_Occurred()) SWIG_fail;
1413 }
1414 {
1415 resultobj = wxPyMake_wxObject(result);
1416 }
1417 {
1418 if (temp8)
1419 delete arg8;
1420 }
1421 return resultobj;
1422 fail:
1423 {
1424 if (temp8)
1425 delete arg8;
1426 }
1427 return NULL;
1428 }
1429
1430
1431 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1432 PyObject *resultobj;
1433 wxBitmapButton *result;
1434 char *kwnames[] = {
1435 NULL
1436 };
1437
1438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1439 {
1440 PyThreadState* __tstate = wxPyBeginAllowThreads();
1441 result = (wxBitmapButton *)new wxBitmapButton();
1442
1443 wxPyEndAllowThreads(__tstate);
1444 if (PyErr_Occurred()) SWIG_fail;
1445 }
1446 {
1447 resultobj = wxPyMake_wxObject(result);
1448 }
1449 return resultobj;
1450 fail:
1451 return NULL;
1452 }
1453
1454
1455 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1456 PyObject *resultobj;
1457 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1458 wxWindow *arg2 = (wxWindow *) 0 ;
1459 int arg3 ;
1460 wxBitmap *arg4 = 0 ;
1461 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1462 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1463 wxSize const &arg6_defvalue = wxDefaultSize ;
1464 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1465 long arg7 = (long) wxBU_AUTODRAW ;
1466 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1467 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1468 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1469 wxString *arg9 = (wxString *) &arg9_defvalue ;
1470 bool result;
1471 wxPoint temp5 ;
1472 wxSize temp6 ;
1473 bool temp9 = False ;
1474 PyObject * obj0 = 0 ;
1475 PyObject * obj1 = 0 ;
1476 PyObject * obj2 = 0 ;
1477 PyObject * obj3 = 0 ;
1478 PyObject * obj4 = 0 ;
1479 PyObject * obj5 = 0 ;
1480 PyObject * obj6 = 0 ;
1481 PyObject * obj7 = 0 ;
1482 PyObject * obj8 = 0 ;
1483 char *kwnames[] = {
1484 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1485 };
1486
1487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1490 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1492 arg3 = (int) SWIG_AsInt(obj2);
1493 if (PyErr_Occurred()) SWIG_fail;
1494 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1495 SWIG_POINTER_EXCEPTION | 0)) == -1)
1496 SWIG_fail;
1497 if (arg4 == NULL) {
1498 PyErr_SetString(PyExc_TypeError,"null reference");
1499 SWIG_fail;
1500 }
1501 if (obj4) {
1502 {
1503 arg5 = &temp5;
1504 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1505 }
1506 }
1507 if (obj5) {
1508 {
1509 arg6 = &temp6;
1510 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1511 }
1512 }
1513 if (obj6) {
1514 arg7 = (long) SWIG_AsLong(obj6);
1515 if (PyErr_Occurred()) SWIG_fail;
1516 }
1517 if (obj7) {
1518 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1519 SWIG_POINTER_EXCEPTION | 0)) == -1)
1520 SWIG_fail;
1521 if (arg8 == NULL) {
1522 PyErr_SetString(PyExc_TypeError,"null reference");
1523 SWIG_fail;
1524 }
1525 }
1526 if (obj8) {
1527 {
1528 arg9 = wxString_in_helper(obj8);
1529 if (arg9 == NULL) SWIG_fail;
1530 temp9 = True;
1531 }
1532 }
1533 {
1534 PyThreadState* __tstate = wxPyBeginAllowThreads();
1535 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1536
1537 wxPyEndAllowThreads(__tstate);
1538 if (PyErr_Occurred()) SWIG_fail;
1539 }
1540 {
1541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1542 }
1543 {
1544 if (temp9)
1545 delete arg9;
1546 }
1547 return resultobj;
1548 fail:
1549 {
1550 if (temp9)
1551 delete arg9;
1552 }
1553 return NULL;
1554 }
1555
1556
1557 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1558 PyObject *resultobj;
1559 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1560 wxBitmap result;
1561 PyObject * obj0 = 0 ;
1562 char *kwnames[] = {
1563 (char *) "self", NULL
1564 };
1565
1566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1569 {
1570 PyThreadState* __tstate = wxPyBeginAllowThreads();
1571 result = (arg1)->GetBitmapLabel();
1572
1573 wxPyEndAllowThreads(__tstate);
1574 if (PyErr_Occurred()) SWIG_fail;
1575 }
1576 {
1577 wxBitmap * resultptr;
1578 resultptr = new wxBitmap((wxBitmap &) result);
1579 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1580 }
1581 return resultobj;
1582 fail:
1583 return NULL;
1584 }
1585
1586
1587 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1588 PyObject *resultobj;
1589 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1590 wxBitmap result;
1591 PyObject * obj0 = 0 ;
1592 char *kwnames[] = {
1593 (char *) "self", NULL
1594 };
1595
1596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1599 {
1600 PyThreadState* __tstate = wxPyBeginAllowThreads();
1601 result = (arg1)->GetBitmapDisabled();
1602
1603 wxPyEndAllowThreads(__tstate);
1604 if (PyErr_Occurred()) SWIG_fail;
1605 }
1606 {
1607 wxBitmap * resultptr;
1608 resultptr = new wxBitmap((wxBitmap &) result);
1609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1610 }
1611 return resultobj;
1612 fail:
1613 return NULL;
1614 }
1615
1616
1617 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1618 PyObject *resultobj;
1619 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1620 wxBitmap result;
1621 PyObject * obj0 = 0 ;
1622 char *kwnames[] = {
1623 (char *) "self", NULL
1624 };
1625
1626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1629 {
1630 PyThreadState* __tstate = wxPyBeginAllowThreads();
1631 result = (arg1)->GetBitmapFocus();
1632
1633 wxPyEndAllowThreads(__tstate);
1634 if (PyErr_Occurred()) SWIG_fail;
1635 }
1636 {
1637 wxBitmap * resultptr;
1638 resultptr = new wxBitmap((wxBitmap &) result);
1639 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1640 }
1641 return resultobj;
1642 fail:
1643 return NULL;
1644 }
1645
1646
1647 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1648 PyObject *resultobj;
1649 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1650 wxBitmap result;
1651 PyObject * obj0 = 0 ;
1652 char *kwnames[] = {
1653 (char *) "self", NULL
1654 };
1655
1656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1659 {
1660 PyThreadState* __tstate = wxPyBeginAllowThreads();
1661 result = (arg1)->GetBitmapSelected();
1662
1663 wxPyEndAllowThreads(__tstate);
1664 if (PyErr_Occurred()) SWIG_fail;
1665 }
1666 {
1667 wxBitmap * resultptr;
1668 resultptr = new wxBitmap((wxBitmap &) result);
1669 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1670 }
1671 return resultobj;
1672 fail:
1673 return NULL;
1674 }
1675
1676
1677 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1678 PyObject *resultobj;
1679 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1680 wxBitmap *arg2 = 0 ;
1681 PyObject * obj0 = 0 ;
1682 PyObject * obj1 = 0 ;
1683 char *kwnames[] = {
1684 (char *) "self",(char *) "bitmap", NULL
1685 };
1686
1687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1691 SWIG_POINTER_EXCEPTION | 0)) == -1)
1692 SWIG_fail;
1693 if (arg2 == NULL) {
1694 PyErr_SetString(PyExc_TypeError,"null reference");
1695 SWIG_fail;
1696 }
1697 {
1698 PyThreadState* __tstate = wxPyBeginAllowThreads();
1699 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1700
1701 wxPyEndAllowThreads(__tstate);
1702 if (PyErr_Occurred()) SWIG_fail;
1703 }
1704 Py_INCREF(Py_None); resultobj = Py_None;
1705 return resultobj;
1706 fail:
1707 return NULL;
1708 }
1709
1710
1711 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1712 PyObject *resultobj;
1713 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1714 wxBitmap *arg2 = 0 ;
1715 PyObject * obj0 = 0 ;
1716 PyObject * obj1 = 0 ;
1717 char *kwnames[] = {
1718 (char *) "self",(char *) "bitmap", NULL
1719 };
1720
1721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1724 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1725 SWIG_POINTER_EXCEPTION | 0)) == -1)
1726 SWIG_fail;
1727 if (arg2 == NULL) {
1728 PyErr_SetString(PyExc_TypeError,"null reference");
1729 SWIG_fail;
1730 }
1731 {
1732 PyThreadState* __tstate = wxPyBeginAllowThreads();
1733 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1734
1735 wxPyEndAllowThreads(__tstate);
1736 if (PyErr_Occurred()) SWIG_fail;
1737 }
1738 Py_INCREF(Py_None); resultobj = Py_None;
1739 return resultobj;
1740 fail:
1741 return NULL;
1742 }
1743
1744
1745 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1746 PyObject *resultobj;
1747 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1748 wxBitmap *arg2 = 0 ;
1749 PyObject * obj0 = 0 ;
1750 PyObject * obj1 = 0 ;
1751 char *kwnames[] = {
1752 (char *) "self",(char *) "bitmap", NULL
1753 };
1754
1755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1758 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1759 SWIG_POINTER_EXCEPTION | 0)) == -1)
1760 SWIG_fail;
1761 if (arg2 == NULL) {
1762 PyErr_SetString(PyExc_TypeError,"null reference");
1763 SWIG_fail;
1764 }
1765 {
1766 PyThreadState* __tstate = wxPyBeginAllowThreads();
1767 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1768
1769 wxPyEndAllowThreads(__tstate);
1770 if (PyErr_Occurred()) SWIG_fail;
1771 }
1772 Py_INCREF(Py_None); resultobj = Py_None;
1773 return resultobj;
1774 fail:
1775 return NULL;
1776 }
1777
1778
1779 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1780 PyObject *resultobj;
1781 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1782 wxBitmap *arg2 = 0 ;
1783 PyObject * obj0 = 0 ;
1784 PyObject * obj1 = 0 ;
1785 char *kwnames[] = {
1786 (char *) "self",(char *) "bitmap", NULL
1787 };
1788
1789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1792 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1793 SWIG_POINTER_EXCEPTION | 0)) == -1)
1794 SWIG_fail;
1795 if (arg2 == NULL) {
1796 PyErr_SetString(PyExc_TypeError,"null reference");
1797 SWIG_fail;
1798 }
1799 {
1800 PyThreadState* __tstate = wxPyBeginAllowThreads();
1801 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1802
1803 wxPyEndAllowThreads(__tstate);
1804 if (PyErr_Occurred()) SWIG_fail;
1805 }
1806 Py_INCREF(Py_None); resultobj = Py_None;
1807 return resultobj;
1808 fail:
1809 return NULL;
1810 }
1811
1812
1813 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1814 PyObject *resultobj;
1815 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1816 int arg2 ;
1817 int arg3 ;
1818 PyObject * obj0 = 0 ;
1819 PyObject * obj1 = 0 ;
1820 PyObject * obj2 = 0 ;
1821 char *kwnames[] = {
1822 (char *) "self",(char *) "x",(char *) "y", NULL
1823 };
1824
1825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1828 arg2 = (int) SWIG_AsInt(obj1);
1829 if (PyErr_Occurred()) SWIG_fail;
1830 arg3 = (int) SWIG_AsInt(obj2);
1831 if (PyErr_Occurred()) SWIG_fail;
1832 {
1833 PyThreadState* __tstate = wxPyBeginAllowThreads();
1834 (arg1)->SetMargins(arg2,arg3);
1835
1836 wxPyEndAllowThreads(__tstate);
1837 if (PyErr_Occurred()) SWIG_fail;
1838 }
1839 Py_INCREF(Py_None); resultobj = Py_None;
1840 return resultobj;
1841 fail:
1842 return NULL;
1843 }
1844
1845
1846 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1847 PyObject *resultobj;
1848 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1849 int result;
1850 PyObject * obj0 = 0 ;
1851 char *kwnames[] = {
1852 (char *) "self", NULL
1853 };
1854
1855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1858 {
1859 PyThreadState* __tstate = wxPyBeginAllowThreads();
1860 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1861
1862 wxPyEndAllowThreads(__tstate);
1863 if (PyErr_Occurred()) SWIG_fail;
1864 }
1865 resultobj = SWIG_FromInt((int)result);
1866 return resultobj;
1867 fail:
1868 return NULL;
1869 }
1870
1871
1872 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1873 PyObject *resultobj;
1874 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1875 int result;
1876 PyObject * obj0 = 0 ;
1877 char *kwnames[] = {
1878 (char *) "self", NULL
1879 };
1880
1881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1884 {
1885 PyThreadState* __tstate = wxPyBeginAllowThreads();
1886 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1887
1888 wxPyEndAllowThreads(__tstate);
1889 if (PyErr_Occurred()) SWIG_fail;
1890 }
1891 resultobj = SWIG_FromInt((int)result);
1892 return resultobj;
1893 fail:
1894 return NULL;
1895 }
1896
1897
1898 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1899 PyObject *obj;
1900 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1901 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1902 Py_INCREF(obj);
1903 return Py_BuildValue((char *)"");
1904 }
1905 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1906 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1907 return 1;
1908 }
1909
1910
1911 static PyObject *_wrap_CheckBoxNameStr_get() {
1912 PyObject *pyobj;
1913
1914 {
1915 #if wxUSE_UNICODE
1916 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1917 #else
1918 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1919 #endif
1920 }
1921 return pyobj;
1922 }
1923
1924
1925 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1926 PyObject *resultobj;
1927 wxWindow *arg1 = (wxWindow *) 0 ;
1928 int arg2 ;
1929 wxString *arg3 = 0 ;
1930 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1931 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1932 wxSize const &arg5_defvalue = wxDefaultSize ;
1933 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1934 long arg6 = (long) 0 ;
1935 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1936 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1937 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1938 wxString *arg8 = (wxString *) &arg8_defvalue ;
1939 wxCheckBox *result;
1940 bool temp3 = False ;
1941 wxPoint temp4 ;
1942 wxSize temp5 ;
1943 bool temp8 = False ;
1944 PyObject * obj0 = 0 ;
1945 PyObject * obj1 = 0 ;
1946 PyObject * obj2 = 0 ;
1947 PyObject * obj3 = 0 ;
1948 PyObject * obj4 = 0 ;
1949 PyObject * obj5 = 0 ;
1950 PyObject * obj6 = 0 ;
1951 PyObject * obj7 = 0 ;
1952 char *kwnames[] = {
1953 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1954 };
1955
1956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1959 arg2 = (int) SWIG_AsInt(obj1);
1960 if (PyErr_Occurred()) SWIG_fail;
1961 {
1962 arg3 = wxString_in_helper(obj2);
1963 if (arg3 == NULL) SWIG_fail;
1964 temp3 = True;
1965 }
1966 if (obj3) {
1967 {
1968 arg4 = &temp4;
1969 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1970 }
1971 }
1972 if (obj4) {
1973 {
1974 arg5 = &temp5;
1975 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1976 }
1977 }
1978 if (obj5) {
1979 arg6 = (long) SWIG_AsLong(obj5);
1980 if (PyErr_Occurred()) SWIG_fail;
1981 }
1982 if (obj6) {
1983 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1984 SWIG_POINTER_EXCEPTION | 0)) == -1)
1985 SWIG_fail;
1986 if (arg7 == NULL) {
1987 PyErr_SetString(PyExc_TypeError,"null reference");
1988 SWIG_fail;
1989 }
1990 }
1991 if (obj7) {
1992 {
1993 arg8 = wxString_in_helper(obj7);
1994 if (arg8 == NULL) SWIG_fail;
1995 temp8 = True;
1996 }
1997 }
1998 {
1999 PyThreadState* __tstate = wxPyBeginAllowThreads();
2000 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2001
2002 wxPyEndAllowThreads(__tstate);
2003 if (PyErr_Occurred()) SWIG_fail;
2004 }
2005 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2006 {
2007 if (temp3)
2008 delete arg3;
2009 }
2010 {
2011 if (temp8)
2012 delete arg8;
2013 }
2014 return resultobj;
2015 fail:
2016 {
2017 if (temp3)
2018 delete arg3;
2019 }
2020 {
2021 if (temp8)
2022 delete arg8;
2023 }
2024 return NULL;
2025 }
2026
2027
2028 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2029 PyObject *resultobj;
2030 wxCheckBox *result;
2031 char *kwnames[] = {
2032 NULL
2033 };
2034
2035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2036 {
2037 PyThreadState* __tstate = wxPyBeginAllowThreads();
2038 result = (wxCheckBox *)new wxCheckBox();
2039
2040 wxPyEndAllowThreads(__tstate);
2041 if (PyErr_Occurred()) SWIG_fail;
2042 }
2043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2044 return resultobj;
2045 fail:
2046 return NULL;
2047 }
2048
2049
2050 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2051 PyObject *resultobj;
2052 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2053 wxWindow *arg2 = (wxWindow *) 0 ;
2054 int arg3 ;
2055 wxString *arg4 = 0 ;
2056 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2057 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2058 wxSize const &arg6_defvalue = wxDefaultSize ;
2059 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2060 long arg7 = (long) 0 ;
2061 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2062 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2063 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2064 wxString *arg9 = (wxString *) &arg9_defvalue ;
2065 bool result;
2066 bool temp4 = False ;
2067 wxPoint temp5 ;
2068 wxSize temp6 ;
2069 bool temp9 = False ;
2070 PyObject * obj0 = 0 ;
2071 PyObject * obj1 = 0 ;
2072 PyObject * obj2 = 0 ;
2073 PyObject * obj3 = 0 ;
2074 PyObject * obj4 = 0 ;
2075 PyObject * obj5 = 0 ;
2076 PyObject * obj6 = 0 ;
2077 PyObject * obj7 = 0 ;
2078 PyObject * obj8 = 0 ;
2079 char *kwnames[] = {
2080 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2081 };
2082
2083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2086 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2088 arg3 = (int) SWIG_AsInt(obj2);
2089 if (PyErr_Occurred()) SWIG_fail;
2090 {
2091 arg4 = wxString_in_helper(obj3);
2092 if (arg4 == NULL) SWIG_fail;
2093 temp4 = True;
2094 }
2095 if (obj4) {
2096 {
2097 arg5 = &temp5;
2098 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2099 }
2100 }
2101 if (obj5) {
2102 {
2103 arg6 = &temp6;
2104 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2105 }
2106 }
2107 if (obj6) {
2108 arg7 = (long) SWIG_AsLong(obj6);
2109 if (PyErr_Occurred()) SWIG_fail;
2110 }
2111 if (obj7) {
2112 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2113 SWIG_POINTER_EXCEPTION | 0)) == -1)
2114 SWIG_fail;
2115 if (arg8 == NULL) {
2116 PyErr_SetString(PyExc_TypeError,"null reference");
2117 SWIG_fail;
2118 }
2119 }
2120 if (obj8) {
2121 {
2122 arg9 = wxString_in_helper(obj8);
2123 if (arg9 == NULL) SWIG_fail;
2124 temp9 = True;
2125 }
2126 }
2127 {
2128 PyThreadState* __tstate = wxPyBeginAllowThreads();
2129 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2130
2131 wxPyEndAllowThreads(__tstate);
2132 if (PyErr_Occurred()) SWIG_fail;
2133 }
2134 {
2135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2136 }
2137 {
2138 if (temp4)
2139 delete arg4;
2140 }
2141 {
2142 if (temp9)
2143 delete arg9;
2144 }
2145 return resultobj;
2146 fail:
2147 {
2148 if (temp4)
2149 delete arg4;
2150 }
2151 {
2152 if (temp9)
2153 delete arg9;
2154 }
2155 return NULL;
2156 }
2157
2158
2159 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2160 PyObject *resultobj;
2161 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2162 bool result;
2163 PyObject * obj0 = 0 ;
2164 char *kwnames[] = {
2165 (char *) "self", NULL
2166 };
2167
2168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2171 {
2172 PyThreadState* __tstate = wxPyBeginAllowThreads();
2173 result = (bool)(arg1)->GetValue();
2174
2175 wxPyEndAllowThreads(__tstate);
2176 if (PyErr_Occurred()) SWIG_fail;
2177 }
2178 {
2179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2180 }
2181 return resultobj;
2182 fail:
2183 return NULL;
2184 }
2185
2186
2187 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2188 PyObject *resultobj;
2189 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2190 bool result;
2191 PyObject * obj0 = 0 ;
2192 char *kwnames[] = {
2193 (char *) "self", NULL
2194 };
2195
2196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2199 {
2200 PyThreadState* __tstate = wxPyBeginAllowThreads();
2201 result = (bool)(arg1)->IsChecked();
2202
2203 wxPyEndAllowThreads(__tstate);
2204 if (PyErr_Occurred()) SWIG_fail;
2205 }
2206 {
2207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2208 }
2209 return resultobj;
2210 fail:
2211 return NULL;
2212 }
2213
2214
2215 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2216 PyObject *resultobj;
2217 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2218 bool arg2 ;
2219 PyObject * obj0 = 0 ;
2220 PyObject * obj1 = 0 ;
2221 char *kwnames[] = {
2222 (char *) "self",(char *) "state", NULL
2223 };
2224
2225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2228 arg2 = (bool const) SWIG_AsBool(obj1);
2229 if (PyErr_Occurred()) SWIG_fail;
2230 {
2231 PyThreadState* __tstate = wxPyBeginAllowThreads();
2232 (arg1)->SetValue(arg2);
2233
2234 wxPyEndAllowThreads(__tstate);
2235 if (PyErr_Occurred()) SWIG_fail;
2236 }
2237 Py_INCREF(Py_None); resultobj = Py_None;
2238 return resultobj;
2239 fail:
2240 return NULL;
2241 }
2242
2243
2244 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2245 PyObject *resultobj;
2246 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2247 int result;
2248 PyObject * obj0 = 0 ;
2249 char *kwnames[] = {
2250 (char *) "self", NULL
2251 };
2252
2253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2256 {
2257 PyThreadState* __tstate = wxPyBeginAllowThreads();
2258 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2259
2260 wxPyEndAllowThreads(__tstate);
2261 if (PyErr_Occurred()) SWIG_fail;
2262 }
2263 resultobj = SWIG_FromInt((int)result);
2264 return resultobj;
2265 fail:
2266 return NULL;
2267 }
2268
2269
2270 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2271 PyObject *resultobj;
2272 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2273 int arg2 ;
2274 PyObject * obj0 = 0 ;
2275 PyObject * obj1 = 0 ;
2276 char *kwnames[] = {
2277 (char *) "self",(char *) "state", NULL
2278 };
2279
2280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2283 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2284 if (PyErr_Occurred()) SWIG_fail;
2285 {
2286 PyThreadState* __tstate = wxPyBeginAllowThreads();
2287 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2288
2289 wxPyEndAllowThreads(__tstate);
2290 if (PyErr_Occurred()) SWIG_fail;
2291 }
2292 Py_INCREF(Py_None); resultobj = Py_None;
2293 return resultobj;
2294 fail:
2295 return NULL;
2296 }
2297
2298
2299 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2300 PyObject *resultobj;
2301 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2302 bool result;
2303 PyObject * obj0 = 0 ;
2304 char *kwnames[] = {
2305 (char *) "self", NULL
2306 };
2307
2308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2311 {
2312 PyThreadState* __tstate = wxPyBeginAllowThreads();
2313 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2314
2315 wxPyEndAllowThreads(__tstate);
2316 if (PyErr_Occurred()) SWIG_fail;
2317 }
2318 {
2319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2320 }
2321 return resultobj;
2322 fail:
2323 return NULL;
2324 }
2325
2326
2327 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2328 PyObject *resultobj;
2329 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2330 bool result;
2331 PyObject * obj0 = 0 ;
2332 char *kwnames[] = {
2333 (char *) "self", NULL
2334 };
2335
2336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2339 {
2340 PyThreadState* __tstate = wxPyBeginAllowThreads();
2341 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2342
2343 wxPyEndAllowThreads(__tstate);
2344 if (PyErr_Occurred()) SWIG_fail;
2345 }
2346 {
2347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2348 }
2349 return resultobj;
2350 fail:
2351 return NULL;
2352 }
2353
2354
2355 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2356 PyObject *obj;
2357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2358 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2359 Py_INCREF(obj);
2360 return Py_BuildValue((char *)"");
2361 }
2362 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2363 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2364 return 1;
2365 }
2366
2367
2368 static PyObject *_wrap_ChoiceNameStr_get() {
2369 PyObject *pyobj;
2370
2371 {
2372 #if wxUSE_UNICODE
2373 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2374 #else
2375 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2376 #endif
2377 }
2378 return pyobj;
2379 }
2380
2381
2382 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2383 PyObject *resultobj;
2384 wxWindow *arg1 = (wxWindow *) 0 ;
2385 int arg2 = (int) -1 ;
2386 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2387 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2388 wxSize const &arg4_defvalue = wxDefaultSize ;
2389 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2390 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2391 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2392 long arg6 = (long) 0 ;
2393 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2394 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2395 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2396 wxString *arg8 = (wxString *) &arg8_defvalue ;
2397 wxChoice *result;
2398 wxPoint temp3 ;
2399 wxSize temp4 ;
2400 bool temp5 = False ;
2401 bool temp8 = False ;
2402 PyObject * obj0 = 0 ;
2403 PyObject * obj1 = 0 ;
2404 PyObject * obj2 = 0 ;
2405 PyObject * obj3 = 0 ;
2406 PyObject * obj4 = 0 ;
2407 PyObject * obj5 = 0 ;
2408 PyObject * obj6 = 0 ;
2409 PyObject * obj7 = 0 ;
2410 char *kwnames[] = {
2411 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2412 };
2413
2414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2417 if (obj1) {
2418 arg2 = (int) SWIG_AsInt(obj1);
2419 if (PyErr_Occurred()) SWIG_fail;
2420 }
2421 if (obj2) {
2422 {
2423 arg3 = &temp3;
2424 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2425 }
2426 }
2427 if (obj3) {
2428 {
2429 arg4 = &temp4;
2430 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2431 }
2432 }
2433 if (obj4) {
2434 {
2435 if (! PySequence_Check(obj4)) {
2436 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2437 SWIG_fail;
2438 }
2439 arg5 = new wxArrayString;
2440 temp5 = True;
2441 int i, len=PySequence_Length(obj4);
2442 for (i=0; i<len; i++) {
2443 PyObject* item = PySequence_GetItem(obj4, i);
2444 #if wxUSE_UNICODE
2445 PyObject* str = PyObject_Unicode(item);
2446 #else
2447 PyObject* str = PyObject_Str(item);
2448 #endif
2449 if (PyErr_Occurred()) SWIG_fail;
2450 arg5->Add(Py2wxString(str));
2451 Py_DECREF(item);
2452 Py_DECREF(str);
2453 }
2454 }
2455 }
2456 if (obj5) {
2457 arg6 = (long) SWIG_AsLong(obj5);
2458 if (PyErr_Occurred()) SWIG_fail;
2459 }
2460 if (obj6) {
2461 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2462 SWIG_POINTER_EXCEPTION | 0)) == -1)
2463 SWIG_fail;
2464 if (arg7 == NULL) {
2465 PyErr_SetString(PyExc_TypeError,"null reference");
2466 SWIG_fail;
2467 }
2468 }
2469 if (obj7) {
2470 {
2471 arg8 = wxString_in_helper(obj7);
2472 if (arg8 == NULL) SWIG_fail;
2473 temp8 = True;
2474 }
2475 }
2476 {
2477 PyThreadState* __tstate = wxPyBeginAllowThreads();
2478 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2479
2480 wxPyEndAllowThreads(__tstate);
2481 if (PyErr_Occurred()) SWIG_fail;
2482 }
2483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2484 {
2485 if (temp5) delete arg5;
2486 }
2487 {
2488 if (temp8)
2489 delete arg8;
2490 }
2491 return resultobj;
2492 fail:
2493 {
2494 if (temp5) delete arg5;
2495 }
2496 {
2497 if (temp8)
2498 delete arg8;
2499 }
2500 return NULL;
2501 }
2502
2503
2504 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2505 PyObject *resultobj;
2506 wxChoice *result;
2507 char *kwnames[] = {
2508 NULL
2509 };
2510
2511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2512 {
2513 PyThreadState* __tstate = wxPyBeginAllowThreads();
2514 result = (wxChoice *)new wxChoice();
2515
2516 wxPyEndAllowThreads(__tstate);
2517 if (PyErr_Occurred()) SWIG_fail;
2518 }
2519 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2520 return resultobj;
2521 fail:
2522 return NULL;
2523 }
2524
2525
2526 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2527 PyObject *resultobj;
2528 wxChoice *arg1 = (wxChoice *) 0 ;
2529 wxWindow *arg2 = (wxWindow *) 0 ;
2530 int arg3 = (int) -1 ;
2531 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2532 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2533 wxSize const &arg5_defvalue = wxDefaultSize ;
2534 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2535 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2536 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2537 long arg7 = (long) 0 ;
2538 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2539 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2540 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2541 wxString *arg9 = (wxString *) &arg9_defvalue ;
2542 bool result;
2543 wxPoint temp4 ;
2544 wxSize temp5 ;
2545 bool temp6 = False ;
2546 bool temp9 = False ;
2547 PyObject * obj0 = 0 ;
2548 PyObject * obj1 = 0 ;
2549 PyObject * obj2 = 0 ;
2550 PyObject * obj3 = 0 ;
2551 PyObject * obj4 = 0 ;
2552 PyObject * obj5 = 0 ;
2553 PyObject * obj6 = 0 ;
2554 PyObject * obj7 = 0 ;
2555 PyObject * obj8 = 0 ;
2556 char *kwnames[] = {
2557 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2558 };
2559
2560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2563 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2565 if (obj2) {
2566 arg3 = (int) SWIG_AsInt(obj2);
2567 if (PyErr_Occurred()) SWIG_fail;
2568 }
2569 if (obj3) {
2570 {
2571 arg4 = &temp4;
2572 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2573 }
2574 }
2575 if (obj4) {
2576 {
2577 arg5 = &temp5;
2578 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2579 }
2580 }
2581 if (obj5) {
2582 {
2583 if (! PySequence_Check(obj5)) {
2584 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2585 SWIG_fail;
2586 }
2587 arg6 = new wxArrayString;
2588 temp6 = True;
2589 int i, len=PySequence_Length(obj5);
2590 for (i=0; i<len; i++) {
2591 PyObject* item = PySequence_GetItem(obj5, i);
2592 #if wxUSE_UNICODE
2593 PyObject* str = PyObject_Unicode(item);
2594 #else
2595 PyObject* str = PyObject_Str(item);
2596 #endif
2597 if (PyErr_Occurred()) SWIG_fail;
2598 arg6->Add(Py2wxString(str));
2599 Py_DECREF(item);
2600 Py_DECREF(str);
2601 }
2602 }
2603 }
2604 if (obj6) {
2605 arg7 = (long) SWIG_AsLong(obj6);
2606 if (PyErr_Occurred()) SWIG_fail;
2607 }
2608 if (obj7) {
2609 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2610 SWIG_POINTER_EXCEPTION | 0)) == -1)
2611 SWIG_fail;
2612 if (arg8 == NULL) {
2613 PyErr_SetString(PyExc_TypeError,"null reference");
2614 SWIG_fail;
2615 }
2616 }
2617 if (obj8) {
2618 {
2619 arg9 = wxString_in_helper(obj8);
2620 if (arg9 == NULL) SWIG_fail;
2621 temp9 = True;
2622 }
2623 }
2624 {
2625 PyThreadState* __tstate = wxPyBeginAllowThreads();
2626 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2627
2628 wxPyEndAllowThreads(__tstate);
2629 if (PyErr_Occurred()) SWIG_fail;
2630 }
2631 {
2632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2633 }
2634 {
2635 if (temp6) delete arg6;
2636 }
2637 {
2638 if (temp9)
2639 delete arg9;
2640 }
2641 return resultobj;
2642 fail:
2643 {
2644 if (temp6) delete arg6;
2645 }
2646 {
2647 if (temp9)
2648 delete arg9;
2649 }
2650 return NULL;
2651 }
2652
2653
2654 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2655 PyObject *resultobj;
2656 wxChoice *arg1 = (wxChoice *) 0 ;
2657 int arg2 ;
2658 PyObject * obj0 = 0 ;
2659 PyObject * obj1 = 0 ;
2660 char *kwnames[] = {
2661 (char *) "self",(char *) "n", NULL
2662 };
2663
2664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2667 arg2 = (int const) SWIG_AsInt(obj1);
2668 if (PyErr_Occurred()) SWIG_fail;
2669 {
2670 PyThreadState* __tstate = wxPyBeginAllowThreads();
2671 (arg1)->SetSelection(arg2);
2672
2673 wxPyEndAllowThreads(__tstate);
2674 if (PyErr_Occurred()) SWIG_fail;
2675 }
2676 Py_INCREF(Py_None); resultobj = Py_None;
2677 return resultobj;
2678 fail:
2679 return NULL;
2680 }
2681
2682
2683 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2684 PyObject *resultobj;
2685 wxChoice *arg1 = (wxChoice *) 0 ;
2686 wxString *arg2 = 0 ;
2687 bool temp2 = False ;
2688 PyObject * obj0 = 0 ;
2689 PyObject * obj1 = 0 ;
2690 char *kwnames[] = {
2691 (char *) "self",(char *) "string", NULL
2692 };
2693
2694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2697 {
2698 arg2 = wxString_in_helper(obj1);
2699 if (arg2 == NULL) SWIG_fail;
2700 temp2 = True;
2701 }
2702 {
2703 PyThreadState* __tstate = wxPyBeginAllowThreads();
2704 (arg1)->SetStringSelection((wxString const &)*arg2);
2705
2706 wxPyEndAllowThreads(__tstate);
2707 if (PyErr_Occurred()) SWIG_fail;
2708 }
2709 Py_INCREF(Py_None); resultobj = Py_None;
2710 {
2711 if (temp2)
2712 delete arg2;
2713 }
2714 return resultobj;
2715 fail:
2716 {
2717 if (temp2)
2718 delete arg2;
2719 }
2720 return NULL;
2721 }
2722
2723
2724 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2725 PyObject *resultobj;
2726 wxChoice *arg1 = (wxChoice *) 0 ;
2727 int arg2 ;
2728 wxString *arg3 = 0 ;
2729 bool temp3 = False ;
2730 PyObject * obj0 = 0 ;
2731 PyObject * obj1 = 0 ;
2732 PyObject * obj2 = 0 ;
2733 char *kwnames[] = {
2734 (char *) "self",(char *) "n",(char *) "string", NULL
2735 };
2736
2737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2740 arg2 = (int) SWIG_AsInt(obj1);
2741 if (PyErr_Occurred()) SWIG_fail;
2742 {
2743 arg3 = wxString_in_helper(obj2);
2744 if (arg3 == NULL) SWIG_fail;
2745 temp3 = True;
2746 }
2747 {
2748 PyThreadState* __tstate = wxPyBeginAllowThreads();
2749 (arg1)->SetString(arg2,(wxString const &)*arg3);
2750
2751 wxPyEndAllowThreads(__tstate);
2752 if (PyErr_Occurred()) SWIG_fail;
2753 }
2754 Py_INCREF(Py_None); resultobj = Py_None;
2755 {
2756 if (temp3)
2757 delete arg3;
2758 }
2759 return resultobj;
2760 fail:
2761 {
2762 if (temp3)
2763 delete arg3;
2764 }
2765 return NULL;
2766 }
2767
2768
2769 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2770 PyObject *obj;
2771 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2772 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2773 Py_INCREF(obj);
2774 return Py_BuildValue((char *)"");
2775 }
2776 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2777 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2778 return 1;
2779 }
2780
2781
2782 static PyObject *_wrap_ComboBoxNameStr_get() {
2783 PyObject *pyobj;
2784
2785 {
2786 #if wxUSE_UNICODE
2787 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2788 #else
2789 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2790 #endif
2791 }
2792 return pyobj;
2793 }
2794
2795
2796 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2797 PyObject *resultobj;
2798 wxWindow *arg1 = (wxWindow *) 0 ;
2799 int arg2 = (int) -1 ;
2800 wxString const &arg3_defvalue = wxPyEmptyString ;
2801 wxString *arg3 = (wxString *) &arg3_defvalue ;
2802 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2803 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2804 wxSize const &arg5_defvalue = wxDefaultSize ;
2805 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2806 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2807 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2808 long arg7 = (long) 0 ;
2809 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2810 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2811 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2812 wxString *arg9 = (wxString *) &arg9_defvalue ;
2813 wxComboBox *result;
2814 bool temp3 = False ;
2815 wxPoint temp4 ;
2816 wxSize temp5 ;
2817 bool temp6 = False ;
2818 bool temp9 = False ;
2819 PyObject * obj0 = 0 ;
2820 PyObject * obj1 = 0 ;
2821 PyObject * obj2 = 0 ;
2822 PyObject * obj3 = 0 ;
2823 PyObject * obj4 = 0 ;
2824 PyObject * obj5 = 0 ;
2825 PyObject * obj6 = 0 ;
2826 PyObject * obj7 = 0 ;
2827 PyObject * obj8 = 0 ;
2828 char *kwnames[] = {
2829 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2830 };
2831
2832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2835 if (obj1) {
2836 arg2 = (int) SWIG_AsInt(obj1);
2837 if (PyErr_Occurred()) SWIG_fail;
2838 }
2839 if (obj2) {
2840 {
2841 arg3 = wxString_in_helper(obj2);
2842 if (arg3 == NULL) SWIG_fail;
2843 temp3 = True;
2844 }
2845 }
2846 if (obj3) {
2847 {
2848 arg4 = &temp4;
2849 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2850 }
2851 }
2852 if (obj4) {
2853 {
2854 arg5 = &temp5;
2855 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2856 }
2857 }
2858 if (obj5) {
2859 {
2860 if (! PySequence_Check(obj5)) {
2861 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2862 SWIG_fail;
2863 }
2864 arg6 = new wxArrayString;
2865 temp6 = True;
2866 int i, len=PySequence_Length(obj5);
2867 for (i=0; i<len; i++) {
2868 PyObject* item = PySequence_GetItem(obj5, i);
2869 #if wxUSE_UNICODE
2870 PyObject* str = PyObject_Unicode(item);
2871 #else
2872 PyObject* str = PyObject_Str(item);
2873 #endif
2874 if (PyErr_Occurred()) SWIG_fail;
2875 arg6->Add(Py2wxString(str));
2876 Py_DECREF(item);
2877 Py_DECREF(str);
2878 }
2879 }
2880 }
2881 if (obj6) {
2882 arg7 = (long) SWIG_AsLong(obj6);
2883 if (PyErr_Occurred()) SWIG_fail;
2884 }
2885 if (obj7) {
2886 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2887 SWIG_POINTER_EXCEPTION | 0)) == -1)
2888 SWIG_fail;
2889 if (arg8 == NULL) {
2890 PyErr_SetString(PyExc_TypeError,"null reference");
2891 SWIG_fail;
2892 }
2893 }
2894 if (obj8) {
2895 {
2896 arg9 = wxString_in_helper(obj8);
2897 if (arg9 == NULL) SWIG_fail;
2898 temp9 = True;
2899 }
2900 }
2901 {
2902 PyThreadState* __tstate = wxPyBeginAllowThreads();
2903 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);
2904
2905 wxPyEndAllowThreads(__tstate);
2906 if (PyErr_Occurred()) SWIG_fail;
2907 }
2908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2909 {
2910 if (temp3)
2911 delete arg3;
2912 }
2913 {
2914 if (temp6) delete arg6;
2915 }
2916 {
2917 if (temp9)
2918 delete arg9;
2919 }
2920 return resultobj;
2921 fail:
2922 {
2923 if (temp3)
2924 delete arg3;
2925 }
2926 {
2927 if (temp6) delete arg6;
2928 }
2929 {
2930 if (temp9)
2931 delete arg9;
2932 }
2933 return NULL;
2934 }
2935
2936
2937 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2938 PyObject *resultobj;
2939 wxComboBox *result;
2940 char *kwnames[] = {
2941 NULL
2942 };
2943
2944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2945 {
2946 PyThreadState* __tstate = wxPyBeginAllowThreads();
2947 result = (wxComboBox *)new wxComboBox();
2948
2949 wxPyEndAllowThreads(__tstate);
2950 if (PyErr_Occurred()) SWIG_fail;
2951 }
2952 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2953 return resultobj;
2954 fail:
2955 return NULL;
2956 }
2957
2958
2959 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2960 PyObject *resultobj;
2961 wxComboBox *arg1 = (wxComboBox *) 0 ;
2962 wxWindow *arg2 = (wxWindow *) 0 ;
2963 int arg3 = (int) -1 ;
2964 wxString const &arg4_defvalue = wxPyEmptyString ;
2965 wxString *arg4 = (wxString *) &arg4_defvalue ;
2966 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2967 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2968 wxSize const &arg6_defvalue = wxDefaultSize ;
2969 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2970 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
2971 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
2972 long arg8 = (long) 0 ;
2973 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2974 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2975 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2976 wxString *arg10 = (wxString *) &arg10_defvalue ;
2977 bool result;
2978 bool temp4 = False ;
2979 wxPoint temp5 ;
2980 wxSize temp6 ;
2981 bool temp7 = False ;
2982 bool temp10 = False ;
2983 PyObject * obj0 = 0 ;
2984 PyObject * obj1 = 0 ;
2985 PyObject * obj2 = 0 ;
2986 PyObject * obj3 = 0 ;
2987 PyObject * obj4 = 0 ;
2988 PyObject * obj5 = 0 ;
2989 PyObject * obj6 = 0 ;
2990 PyObject * obj7 = 0 ;
2991 PyObject * obj8 = 0 ;
2992 PyObject * obj9 = 0 ;
2993 char *kwnames[] = {
2994 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2995 };
2996
2997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
2999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3000 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3002 if (obj2) {
3003 arg3 = (int) SWIG_AsInt(obj2);
3004 if (PyErr_Occurred()) SWIG_fail;
3005 }
3006 if (obj3) {
3007 {
3008 arg4 = wxString_in_helper(obj3);
3009 if (arg4 == NULL) SWIG_fail;
3010 temp4 = True;
3011 }
3012 }
3013 if (obj4) {
3014 {
3015 arg5 = &temp5;
3016 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3017 }
3018 }
3019 if (obj5) {
3020 {
3021 arg6 = &temp6;
3022 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3023 }
3024 }
3025 if (obj6) {
3026 {
3027 if (! PySequence_Check(obj6)) {
3028 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3029 SWIG_fail;
3030 }
3031 arg7 = new wxArrayString;
3032 temp7 = True;
3033 int i, len=PySequence_Length(obj6);
3034 for (i=0; i<len; i++) {
3035 PyObject* item = PySequence_GetItem(obj6, i);
3036 #if wxUSE_UNICODE
3037 PyObject* str = PyObject_Unicode(item);
3038 #else
3039 PyObject* str = PyObject_Str(item);
3040 #endif
3041 if (PyErr_Occurred()) SWIG_fail;
3042 arg7->Add(Py2wxString(str));
3043 Py_DECREF(item);
3044 Py_DECREF(str);
3045 }
3046 }
3047 }
3048 if (obj7) {
3049 arg8 = (long) SWIG_AsLong(obj7);
3050 if (PyErr_Occurred()) SWIG_fail;
3051 }
3052 if (obj8) {
3053 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3054 SWIG_POINTER_EXCEPTION | 0)) == -1)
3055 SWIG_fail;
3056 if (arg9 == NULL) {
3057 PyErr_SetString(PyExc_TypeError,"null reference");
3058 SWIG_fail;
3059 }
3060 }
3061 if (obj9) {
3062 {
3063 arg10 = wxString_in_helper(obj9);
3064 if (arg10 == NULL) SWIG_fail;
3065 temp10 = True;
3066 }
3067 }
3068 {
3069 PyThreadState* __tstate = wxPyBeginAllowThreads();
3070 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);
3071
3072 wxPyEndAllowThreads(__tstate);
3073 if (PyErr_Occurred()) SWIG_fail;
3074 }
3075 {
3076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3077 }
3078 {
3079 if (temp4)
3080 delete arg4;
3081 }
3082 {
3083 if (temp7) delete arg7;
3084 }
3085 {
3086 if (temp10)
3087 delete arg10;
3088 }
3089 return resultobj;
3090 fail:
3091 {
3092 if (temp4)
3093 delete arg4;
3094 }
3095 {
3096 if (temp7) delete arg7;
3097 }
3098 {
3099 if (temp10)
3100 delete arg10;
3101 }
3102 return NULL;
3103 }
3104
3105
3106 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3107 PyObject *resultobj;
3108 wxComboBox *arg1 = (wxComboBox *) 0 ;
3109 wxString result;
3110 PyObject * obj0 = 0 ;
3111 char *kwnames[] = {
3112 (char *) "self", NULL
3113 };
3114
3115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3118 {
3119 PyThreadState* __tstate = wxPyBeginAllowThreads();
3120 result = ((wxComboBox const *)arg1)->GetValue();
3121
3122 wxPyEndAllowThreads(__tstate);
3123 if (PyErr_Occurred()) SWIG_fail;
3124 }
3125 {
3126 #if wxUSE_UNICODE
3127 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3128 #else
3129 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3130 #endif
3131 }
3132 return resultobj;
3133 fail:
3134 return NULL;
3135 }
3136
3137
3138 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3139 PyObject *resultobj;
3140 wxComboBox *arg1 = (wxComboBox *) 0 ;
3141 wxString *arg2 = 0 ;
3142 bool temp2 = False ;
3143 PyObject * obj0 = 0 ;
3144 PyObject * obj1 = 0 ;
3145 char *kwnames[] = {
3146 (char *) "self",(char *) "value", NULL
3147 };
3148
3149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3152 {
3153 arg2 = wxString_in_helper(obj1);
3154 if (arg2 == NULL) SWIG_fail;
3155 temp2 = True;
3156 }
3157 {
3158 PyThreadState* __tstate = wxPyBeginAllowThreads();
3159 (arg1)->SetValue((wxString const &)*arg2);
3160
3161 wxPyEndAllowThreads(__tstate);
3162 if (PyErr_Occurred()) SWIG_fail;
3163 }
3164 Py_INCREF(Py_None); resultobj = Py_None;
3165 {
3166 if (temp2)
3167 delete arg2;
3168 }
3169 return resultobj;
3170 fail:
3171 {
3172 if (temp2)
3173 delete arg2;
3174 }
3175 return NULL;
3176 }
3177
3178
3179 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3180 PyObject *resultobj;
3181 wxComboBox *arg1 = (wxComboBox *) 0 ;
3182 PyObject * obj0 = 0 ;
3183 char *kwnames[] = {
3184 (char *) "self", NULL
3185 };
3186
3187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3190 {
3191 PyThreadState* __tstate = wxPyBeginAllowThreads();
3192 (arg1)->Copy();
3193
3194 wxPyEndAllowThreads(__tstate);
3195 if (PyErr_Occurred()) SWIG_fail;
3196 }
3197 Py_INCREF(Py_None); resultobj = Py_None;
3198 return resultobj;
3199 fail:
3200 return NULL;
3201 }
3202
3203
3204 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3205 PyObject *resultobj;
3206 wxComboBox *arg1 = (wxComboBox *) 0 ;
3207 PyObject * obj0 = 0 ;
3208 char *kwnames[] = {
3209 (char *) "self", NULL
3210 };
3211
3212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3215 {
3216 PyThreadState* __tstate = wxPyBeginAllowThreads();
3217 (arg1)->Cut();
3218
3219 wxPyEndAllowThreads(__tstate);
3220 if (PyErr_Occurred()) SWIG_fail;
3221 }
3222 Py_INCREF(Py_None); resultobj = Py_None;
3223 return resultobj;
3224 fail:
3225 return NULL;
3226 }
3227
3228
3229 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3230 PyObject *resultobj;
3231 wxComboBox *arg1 = (wxComboBox *) 0 ;
3232 PyObject * obj0 = 0 ;
3233 char *kwnames[] = {
3234 (char *) "self", NULL
3235 };
3236
3237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3240 {
3241 PyThreadState* __tstate = wxPyBeginAllowThreads();
3242 (arg1)->Paste();
3243
3244 wxPyEndAllowThreads(__tstate);
3245 if (PyErr_Occurred()) SWIG_fail;
3246 }
3247 Py_INCREF(Py_None); resultobj = Py_None;
3248 return resultobj;
3249 fail:
3250 return NULL;
3251 }
3252
3253
3254 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3255 PyObject *resultobj;
3256 wxComboBox *arg1 = (wxComboBox *) 0 ;
3257 long arg2 ;
3258 PyObject * obj0 = 0 ;
3259 PyObject * obj1 = 0 ;
3260 char *kwnames[] = {
3261 (char *) "self",(char *) "pos", NULL
3262 };
3263
3264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3267 arg2 = (long) SWIG_AsLong(obj1);
3268 if (PyErr_Occurred()) SWIG_fail;
3269 {
3270 PyThreadState* __tstate = wxPyBeginAllowThreads();
3271 (arg1)->SetInsertionPoint(arg2);
3272
3273 wxPyEndAllowThreads(__tstate);
3274 if (PyErr_Occurred()) SWIG_fail;
3275 }
3276 Py_INCREF(Py_None); resultobj = Py_None;
3277 return resultobj;
3278 fail:
3279 return NULL;
3280 }
3281
3282
3283 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3284 PyObject *resultobj;
3285 wxComboBox *arg1 = (wxComboBox *) 0 ;
3286 long result;
3287 PyObject * obj0 = 0 ;
3288 char *kwnames[] = {
3289 (char *) "self", NULL
3290 };
3291
3292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3295 {
3296 PyThreadState* __tstate = wxPyBeginAllowThreads();
3297 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3298
3299 wxPyEndAllowThreads(__tstate);
3300 if (PyErr_Occurred()) SWIG_fail;
3301 }
3302 resultobj = SWIG_FromLong((long)result);
3303 return resultobj;
3304 fail:
3305 return NULL;
3306 }
3307
3308
3309 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3310 PyObject *resultobj;
3311 wxComboBox *arg1 = (wxComboBox *) 0 ;
3312 long result;
3313 PyObject * obj0 = 0 ;
3314 char *kwnames[] = {
3315 (char *) "self", NULL
3316 };
3317
3318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3321 {
3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
3323 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3324
3325 wxPyEndAllowThreads(__tstate);
3326 if (PyErr_Occurred()) SWIG_fail;
3327 }
3328 resultobj = SWIG_FromLong((long)result);
3329 return resultobj;
3330 fail:
3331 return NULL;
3332 }
3333
3334
3335 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3336 PyObject *resultobj;
3337 wxComboBox *arg1 = (wxComboBox *) 0 ;
3338 long arg2 ;
3339 long arg3 ;
3340 wxString *arg4 = 0 ;
3341 bool temp4 = False ;
3342 PyObject * obj0 = 0 ;
3343 PyObject * obj1 = 0 ;
3344 PyObject * obj2 = 0 ;
3345 PyObject * obj3 = 0 ;
3346 char *kwnames[] = {
3347 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3348 };
3349
3350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3353 arg2 = (long) SWIG_AsLong(obj1);
3354 if (PyErr_Occurred()) SWIG_fail;
3355 arg3 = (long) SWIG_AsLong(obj2);
3356 if (PyErr_Occurred()) SWIG_fail;
3357 {
3358 arg4 = wxString_in_helper(obj3);
3359 if (arg4 == NULL) SWIG_fail;
3360 temp4 = True;
3361 }
3362 {
3363 PyThreadState* __tstate = wxPyBeginAllowThreads();
3364 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3365
3366 wxPyEndAllowThreads(__tstate);
3367 if (PyErr_Occurred()) SWIG_fail;
3368 }
3369 Py_INCREF(Py_None); resultobj = Py_None;
3370 {
3371 if (temp4)
3372 delete arg4;
3373 }
3374 return resultobj;
3375 fail:
3376 {
3377 if (temp4)
3378 delete arg4;
3379 }
3380 return NULL;
3381 }
3382
3383
3384 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3385 PyObject *resultobj;
3386 wxComboBox *arg1 = (wxComboBox *) 0 ;
3387 int arg2 ;
3388 PyObject * obj0 = 0 ;
3389 PyObject * obj1 = 0 ;
3390 char *kwnames[] = {
3391 (char *) "self",(char *) "n", NULL
3392 };
3393
3394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3397 arg2 = (int) SWIG_AsInt(obj1);
3398 if (PyErr_Occurred()) SWIG_fail;
3399 {
3400 PyThreadState* __tstate = wxPyBeginAllowThreads();
3401 (arg1)->SetSelection(arg2);
3402
3403 wxPyEndAllowThreads(__tstate);
3404 if (PyErr_Occurred()) SWIG_fail;
3405 }
3406 Py_INCREF(Py_None); resultobj = Py_None;
3407 return resultobj;
3408 fail:
3409 return NULL;
3410 }
3411
3412
3413 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3414 PyObject *resultobj;
3415 wxComboBox *arg1 = (wxComboBox *) 0 ;
3416 long arg2 ;
3417 long arg3 ;
3418 PyObject * obj0 = 0 ;
3419 PyObject * obj1 = 0 ;
3420 PyObject * obj2 = 0 ;
3421 char *kwnames[] = {
3422 (char *) "self",(char *) "from",(char *) "to", NULL
3423 };
3424
3425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3428 arg2 = (long) SWIG_AsLong(obj1);
3429 if (PyErr_Occurred()) SWIG_fail;
3430 arg3 = (long) SWIG_AsLong(obj2);
3431 if (PyErr_Occurred()) SWIG_fail;
3432 {
3433 PyThreadState* __tstate = wxPyBeginAllowThreads();
3434 (arg1)->SetSelection(arg2,arg3);
3435
3436 wxPyEndAllowThreads(__tstate);
3437 if (PyErr_Occurred()) SWIG_fail;
3438 }
3439 Py_INCREF(Py_None); resultobj = Py_None;
3440 return resultobj;
3441 fail:
3442 return NULL;
3443 }
3444
3445
3446 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3447 PyObject *resultobj;
3448 wxComboBox *arg1 = (wxComboBox *) 0 ;
3449 bool arg2 ;
3450 PyObject * obj0 = 0 ;
3451 PyObject * obj1 = 0 ;
3452 char *kwnames[] = {
3453 (char *) "self",(char *) "editable", NULL
3454 };
3455
3456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3459 arg2 = (bool) SWIG_AsBool(obj1);
3460 if (PyErr_Occurred()) SWIG_fail;
3461 {
3462 PyThreadState* __tstate = wxPyBeginAllowThreads();
3463 (arg1)->SetEditable(arg2);
3464
3465 wxPyEndAllowThreads(__tstate);
3466 if (PyErr_Occurred()) SWIG_fail;
3467 }
3468 Py_INCREF(Py_None); resultobj = Py_None;
3469 return resultobj;
3470 fail:
3471 return NULL;
3472 }
3473
3474
3475 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3476 PyObject *resultobj;
3477 wxComboBox *arg1 = (wxComboBox *) 0 ;
3478 PyObject * obj0 = 0 ;
3479 char *kwnames[] = {
3480 (char *) "self", NULL
3481 };
3482
3483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3486 {
3487 PyThreadState* __tstate = wxPyBeginAllowThreads();
3488 (arg1)->SetInsertionPointEnd();
3489
3490 wxPyEndAllowThreads(__tstate);
3491 if (PyErr_Occurred()) SWIG_fail;
3492 }
3493 Py_INCREF(Py_None); resultobj = Py_None;
3494 return resultobj;
3495 fail:
3496 return NULL;
3497 }
3498
3499
3500 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3501 PyObject *resultobj;
3502 wxComboBox *arg1 = (wxComboBox *) 0 ;
3503 long arg2 ;
3504 long arg3 ;
3505 PyObject * obj0 = 0 ;
3506 PyObject * obj1 = 0 ;
3507 PyObject * obj2 = 0 ;
3508 char *kwnames[] = {
3509 (char *) "self",(char *) "from",(char *) "to", NULL
3510 };
3511
3512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3515 arg2 = (long) SWIG_AsLong(obj1);
3516 if (PyErr_Occurred()) SWIG_fail;
3517 arg3 = (long) SWIG_AsLong(obj2);
3518 if (PyErr_Occurred()) SWIG_fail;
3519 {
3520 PyThreadState* __tstate = wxPyBeginAllowThreads();
3521 (arg1)->Remove(arg2,arg3);
3522
3523 wxPyEndAllowThreads(__tstate);
3524 if (PyErr_Occurred()) SWIG_fail;
3525 }
3526 Py_INCREF(Py_None); resultobj = Py_None;
3527 return resultobj;
3528 fail:
3529 return NULL;
3530 }
3531
3532
3533 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3534 PyObject *obj;
3535 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3536 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3537 Py_INCREF(obj);
3538 return Py_BuildValue((char *)"");
3539 }
3540 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3541 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3542 return 1;
3543 }
3544
3545
3546 static PyObject *_wrap_GaugeNameStr_get() {
3547 PyObject *pyobj;
3548
3549 {
3550 #if wxUSE_UNICODE
3551 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3552 #else
3553 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3554 #endif
3555 }
3556 return pyobj;
3557 }
3558
3559
3560 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3561 PyObject *resultobj;
3562 wxWindow *arg1 = (wxWindow *) 0 ;
3563 int arg2 ;
3564 int arg3 ;
3565 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3566 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3567 wxSize const &arg5_defvalue = wxDefaultSize ;
3568 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3569 long arg6 = (long) wxGA_HORIZONTAL ;
3570 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3571 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3572 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3573 wxString *arg8 = (wxString *) &arg8_defvalue ;
3574 wxGauge *result;
3575 wxPoint temp4 ;
3576 wxSize temp5 ;
3577 bool temp8 = False ;
3578 PyObject * obj0 = 0 ;
3579 PyObject * obj1 = 0 ;
3580 PyObject * obj2 = 0 ;
3581 PyObject * obj3 = 0 ;
3582 PyObject * obj4 = 0 ;
3583 PyObject * obj5 = 0 ;
3584 PyObject * obj6 = 0 ;
3585 PyObject * obj7 = 0 ;
3586 char *kwnames[] = {
3587 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3588 };
3589
3590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3593 arg2 = (int) SWIG_AsInt(obj1);
3594 if (PyErr_Occurred()) SWIG_fail;
3595 arg3 = (int) SWIG_AsInt(obj2);
3596 if (PyErr_Occurred()) SWIG_fail;
3597 if (obj3) {
3598 {
3599 arg4 = &temp4;
3600 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3601 }
3602 }
3603 if (obj4) {
3604 {
3605 arg5 = &temp5;
3606 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3607 }
3608 }
3609 if (obj5) {
3610 arg6 = (long) SWIG_AsLong(obj5);
3611 if (PyErr_Occurred()) SWIG_fail;
3612 }
3613 if (obj6) {
3614 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3615 SWIG_POINTER_EXCEPTION | 0)) == -1)
3616 SWIG_fail;
3617 if (arg7 == NULL) {
3618 PyErr_SetString(PyExc_TypeError,"null reference");
3619 SWIG_fail;
3620 }
3621 }
3622 if (obj7) {
3623 {
3624 arg8 = wxString_in_helper(obj7);
3625 if (arg8 == NULL) SWIG_fail;
3626 temp8 = True;
3627 }
3628 }
3629 {
3630 PyThreadState* __tstate = wxPyBeginAllowThreads();
3631 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3632
3633 wxPyEndAllowThreads(__tstate);
3634 if (PyErr_Occurred()) SWIG_fail;
3635 }
3636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3637 {
3638 if (temp8)
3639 delete arg8;
3640 }
3641 return resultobj;
3642 fail:
3643 {
3644 if (temp8)
3645 delete arg8;
3646 }
3647 return NULL;
3648 }
3649
3650
3651 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3652 PyObject *resultobj;
3653 wxGauge *result;
3654 char *kwnames[] = {
3655 NULL
3656 };
3657
3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3659 {
3660 PyThreadState* __tstate = wxPyBeginAllowThreads();
3661 result = (wxGauge *)new wxGauge();
3662
3663 wxPyEndAllowThreads(__tstate);
3664 if (PyErr_Occurred()) SWIG_fail;
3665 }
3666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3667 return resultobj;
3668 fail:
3669 return NULL;
3670 }
3671
3672
3673 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3674 PyObject *resultobj;
3675 wxGauge *arg1 = (wxGauge *) 0 ;
3676 wxWindow *arg2 = (wxWindow *) 0 ;
3677 int arg3 ;
3678 int arg4 ;
3679 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3680 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3681 wxSize const &arg6_defvalue = wxDefaultSize ;
3682 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3683 long arg7 = (long) wxGA_HORIZONTAL ;
3684 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3685 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3686 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3687 wxString *arg9 = (wxString *) &arg9_defvalue ;
3688 bool result;
3689 wxPoint temp5 ;
3690 wxSize temp6 ;
3691 bool temp9 = False ;
3692 PyObject * obj0 = 0 ;
3693 PyObject * obj1 = 0 ;
3694 PyObject * obj2 = 0 ;
3695 PyObject * obj3 = 0 ;
3696 PyObject * obj4 = 0 ;
3697 PyObject * obj5 = 0 ;
3698 PyObject * obj6 = 0 ;
3699 PyObject * obj7 = 0 ;
3700 PyObject * obj8 = 0 ;
3701 char *kwnames[] = {
3702 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3703 };
3704
3705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3708 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3710 arg3 = (int) SWIG_AsInt(obj2);
3711 if (PyErr_Occurred()) SWIG_fail;
3712 arg4 = (int) SWIG_AsInt(obj3);
3713 if (PyErr_Occurred()) SWIG_fail;
3714 if (obj4) {
3715 {
3716 arg5 = &temp5;
3717 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3718 }
3719 }
3720 if (obj5) {
3721 {
3722 arg6 = &temp6;
3723 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3724 }
3725 }
3726 if (obj6) {
3727 arg7 = (long) SWIG_AsLong(obj6);
3728 if (PyErr_Occurred()) SWIG_fail;
3729 }
3730 if (obj7) {
3731 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3732 SWIG_POINTER_EXCEPTION | 0)) == -1)
3733 SWIG_fail;
3734 if (arg8 == NULL) {
3735 PyErr_SetString(PyExc_TypeError,"null reference");
3736 SWIG_fail;
3737 }
3738 }
3739 if (obj8) {
3740 {
3741 arg9 = wxString_in_helper(obj8);
3742 if (arg9 == NULL) SWIG_fail;
3743 temp9 = True;
3744 }
3745 }
3746 {
3747 PyThreadState* __tstate = wxPyBeginAllowThreads();
3748 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3749
3750 wxPyEndAllowThreads(__tstate);
3751 if (PyErr_Occurred()) SWIG_fail;
3752 }
3753 {
3754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3755 }
3756 {
3757 if (temp9)
3758 delete arg9;
3759 }
3760 return resultobj;
3761 fail:
3762 {
3763 if (temp9)
3764 delete arg9;
3765 }
3766 return NULL;
3767 }
3768
3769
3770 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3771 PyObject *resultobj;
3772 wxGauge *arg1 = (wxGauge *) 0 ;
3773 int arg2 ;
3774 PyObject * obj0 = 0 ;
3775 PyObject * obj1 = 0 ;
3776 char *kwnames[] = {
3777 (char *) "self",(char *) "range", NULL
3778 };
3779
3780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
3781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3783 arg2 = (int) SWIG_AsInt(obj1);
3784 if (PyErr_Occurred()) SWIG_fail;
3785 {
3786 PyThreadState* __tstate = wxPyBeginAllowThreads();
3787 (arg1)->SetRange(arg2);
3788
3789 wxPyEndAllowThreads(__tstate);
3790 if (PyErr_Occurred()) SWIG_fail;
3791 }
3792 Py_INCREF(Py_None); resultobj = Py_None;
3793 return resultobj;
3794 fail:
3795 return NULL;
3796 }
3797
3798
3799 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3800 PyObject *resultobj;
3801 wxGauge *arg1 = (wxGauge *) 0 ;
3802 int result;
3803 PyObject * obj0 = 0 ;
3804 char *kwnames[] = {
3805 (char *) "self", NULL
3806 };
3807
3808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3811 {
3812 PyThreadState* __tstate = wxPyBeginAllowThreads();
3813 result = (int)((wxGauge const *)arg1)->GetRange();
3814
3815 wxPyEndAllowThreads(__tstate);
3816 if (PyErr_Occurred()) SWIG_fail;
3817 }
3818 resultobj = SWIG_FromInt((int)result);
3819 return resultobj;
3820 fail:
3821 return NULL;
3822 }
3823
3824
3825 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3826 PyObject *resultobj;
3827 wxGauge *arg1 = (wxGauge *) 0 ;
3828 int arg2 ;
3829 PyObject * obj0 = 0 ;
3830 PyObject * obj1 = 0 ;
3831 char *kwnames[] = {
3832 (char *) "self",(char *) "pos", NULL
3833 };
3834
3835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
3836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3838 arg2 = (int) SWIG_AsInt(obj1);
3839 if (PyErr_Occurred()) SWIG_fail;
3840 {
3841 PyThreadState* __tstate = wxPyBeginAllowThreads();
3842 (arg1)->SetValue(arg2);
3843
3844 wxPyEndAllowThreads(__tstate);
3845 if (PyErr_Occurred()) SWIG_fail;
3846 }
3847 Py_INCREF(Py_None); resultobj = Py_None;
3848 return resultobj;
3849 fail:
3850 return NULL;
3851 }
3852
3853
3854 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3855 PyObject *resultobj;
3856 wxGauge *arg1 = (wxGauge *) 0 ;
3857 int result;
3858 PyObject * obj0 = 0 ;
3859 char *kwnames[] = {
3860 (char *) "self", NULL
3861 };
3862
3863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3866 {
3867 PyThreadState* __tstate = wxPyBeginAllowThreads();
3868 result = (int)((wxGauge const *)arg1)->GetValue();
3869
3870 wxPyEndAllowThreads(__tstate);
3871 if (PyErr_Occurred()) SWIG_fail;
3872 }
3873 resultobj = SWIG_FromInt((int)result);
3874 return resultobj;
3875 fail:
3876 return NULL;
3877 }
3878
3879
3880 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3881 PyObject *resultobj;
3882 wxGauge *arg1 = (wxGauge *) 0 ;
3883 bool result;
3884 PyObject * obj0 = 0 ;
3885 char *kwnames[] = {
3886 (char *) "self", NULL
3887 };
3888
3889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3892 {
3893 PyThreadState* __tstate = wxPyBeginAllowThreads();
3894 result = (bool)((wxGauge const *)arg1)->IsVertical();
3895
3896 wxPyEndAllowThreads(__tstate);
3897 if (PyErr_Occurred()) SWIG_fail;
3898 }
3899 {
3900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3901 }
3902 return resultobj;
3903 fail:
3904 return NULL;
3905 }
3906
3907
3908 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3909 PyObject *resultobj;
3910 wxGauge *arg1 = (wxGauge *) 0 ;
3911 int arg2 ;
3912 PyObject * obj0 = 0 ;
3913 PyObject * obj1 = 0 ;
3914 char *kwnames[] = {
3915 (char *) "self",(char *) "w", NULL
3916 };
3917
3918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
3919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3921 arg2 = (int) SWIG_AsInt(obj1);
3922 if (PyErr_Occurred()) SWIG_fail;
3923 {
3924 PyThreadState* __tstate = wxPyBeginAllowThreads();
3925 (arg1)->SetShadowWidth(arg2);
3926
3927 wxPyEndAllowThreads(__tstate);
3928 if (PyErr_Occurred()) SWIG_fail;
3929 }
3930 Py_INCREF(Py_None); resultobj = Py_None;
3931 return resultobj;
3932 fail:
3933 return NULL;
3934 }
3935
3936
3937 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3938 PyObject *resultobj;
3939 wxGauge *arg1 = (wxGauge *) 0 ;
3940 int result;
3941 PyObject * obj0 = 0 ;
3942 char *kwnames[] = {
3943 (char *) "self", NULL
3944 };
3945
3946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3949 {
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3952
3953 wxPyEndAllowThreads(__tstate);
3954 if (PyErr_Occurred()) SWIG_fail;
3955 }
3956 resultobj = SWIG_FromInt((int)result);
3957 return resultobj;
3958 fail:
3959 return NULL;
3960 }
3961
3962
3963 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3964 PyObject *resultobj;
3965 wxGauge *arg1 = (wxGauge *) 0 ;
3966 int arg2 ;
3967 PyObject * obj0 = 0 ;
3968 PyObject * obj1 = 0 ;
3969 char *kwnames[] = {
3970 (char *) "self",(char *) "w", NULL
3971 };
3972
3973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
3974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3976 arg2 = (int) SWIG_AsInt(obj1);
3977 if (PyErr_Occurred()) SWIG_fail;
3978 {
3979 PyThreadState* __tstate = wxPyBeginAllowThreads();
3980 (arg1)->SetBezelFace(arg2);
3981
3982 wxPyEndAllowThreads(__tstate);
3983 if (PyErr_Occurred()) SWIG_fail;
3984 }
3985 Py_INCREF(Py_None); resultobj = Py_None;
3986 return resultobj;
3987 fail:
3988 return NULL;
3989 }
3990
3991
3992 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3993 PyObject *resultobj;
3994 wxGauge *arg1 = (wxGauge *) 0 ;
3995 int result;
3996 PyObject * obj0 = 0 ;
3997 char *kwnames[] = {
3998 (char *) "self", NULL
3999 };
4000
4001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
4002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4004 {
4005 PyThreadState* __tstate = wxPyBeginAllowThreads();
4006 result = (int)((wxGauge const *)arg1)->GetBezelFace();
4007
4008 wxPyEndAllowThreads(__tstate);
4009 if (PyErr_Occurred()) SWIG_fail;
4010 }
4011 resultobj = SWIG_FromInt((int)result);
4012 return resultobj;
4013 fail:
4014 return NULL;
4015 }
4016
4017
4018 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
4019 PyObject *obj;
4020 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4021 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4022 Py_INCREF(obj);
4023 return Py_BuildValue((char *)"");
4024 }
4025 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
4026 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4027 return 1;
4028 }
4029
4030
4031 static PyObject *_wrap_StaticBitmapNameStr_get() {
4032 PyObject *pyobj;
4033
4034 {
4035 #if wxUSE_UNICODE
4036 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4037 #else
4038 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4039 #endif
4040 }
4041 return pyobj;
4042 }
4043
4044
4045 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
4046 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4047 return 1;
4048 }
4049
4050
4051 static PyObject *_wrap_StaticBoxNameStr_get() {
4052 PyObject *pyobj;
4053
4054 {
4055 #if wxUSE_UNICODE
4056 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4057 #else
4058 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4059 #endif
4060 }
4061 return pyobj;
4062 }
4063
4064
4065 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
4066 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4067 return 1;
4068 }
4069
4070
4071 static PyObject *_wrap_StaticTextNameStr_get() {
4072 PyObject *pyobj;
4073
4074 {
4075 #if wxUSE_UNICODE
4076 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4077 #else
4078 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4079 #endif
4080 }
4081 return pyobj;
4082 }
4083
4084
4085 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4086 PyObject *resultobj;
4087 wxWindow *arg1 = (wxWindow *) 0 ;
4088 int arg2 ;
4089 wxString *arg3 = 0 ;
4090 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4091 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4092 wxSize const &arg5_defvalue = wxDefaultSize ;
4093 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4094 long arg6 = (long) 0 ;
4095 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4096 wxString *arg7 = (wxString *) &arg7_defvalue ;
4097 wxStaticBox *result;
4098 bool temp3 = False ;
4099 wxPoint temp4 ;
4100 wxSize temp5 ;
4101 bool temp7 = False ;
4102 PyObject * obj0 = 0 ;
4103 PyObject * obj1 = 0 ;
4104 PyObject * obj2 = 0 ;
4105 PyObject * obj3 = 0 ;
4106 PyObject * obj4 = 0 ;
4107 PyObject * obj5 = 0 ;
4108 PyObject * obj6 = 0 ;
4109 char *kwnames[] = {
4110 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4111 };
4112
4113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4116 arg2 = (int) SWIG_AsInt(obj1);
4117 if (PyErr_Occurred()) SWIG_fail;
4118 {
4119 arg3 = wxString_in_helper(obj2);
4120 if (arg3 == NULL) SWIG_fail;
4121 temp3 = True;
4122 }
4123 if (obj3) {
4124 {
4125 arg4 = &temp4;
4126 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4127 }
4128 }
4129 if (obj4) {
4130 {
4131 arg5 = &temp5;
4132 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4133 }
4134 }
4135 if (obj5) {
4136 arg6 = (long) SWIG_AsLong(obj5);
4137 if (PyErr_Occurred()) SWIG_fail;
4138 }
4139 if (obj6) {
4140 {
4141 arg7 = wxString_in_helper(obj6);
4142 if (arg7 == NULL) SWIG_fail;
4143 temp7 = True;
4144 }
4145 }
4146 {
4147 PyThreadState* __tstate = wxPyBeginAllowThreads();
4148 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4149
4150 wxPyEndAllowThreads(__tstate);
4151 if (PyErr_Occurred()) SWIG_fail;
4152 }
4153 {
4154 resultobj = wxPyMake_wxObject(result);
4155 }
4156 {
4157 if (temp3)
4158 delete arg3;
4159 }
4160 {
4161 if (temp7)
4162 delete arg7;
4163 }
4164 return resultobj;
4165 fail:
4166 {
4167 if (temp3)
4168 delete arg3;
4169 }
4170 {
4171 if (temp7)
4172 delete arg7;
4173 }
4174 return NULL;
4175 }
4176
4177
4178 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4179 PyObject *resultobj;
4180 wxStaticBox *result;
4181 char *kwnames[] = {
4182 NULL
4183 };
4184
4185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4186 {
4187 PyThreadState* __tstate = wxPyBeginAllowThreads();
4188 result = (wxStaticBox *)new wxStaticBox();
4189
4190 wxPyEndAllowThreads(__tstate);
4191 if (PyErr_Occurred()) SWIG_fail;
4192 }
4193 {
4194 resultobj = wxPyMake_wxObject(result);
4195 }
4196 return resultobj;
4197 fail:
4198 return NULL;
4199 }
4200
4201
4202 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4203 PyObject *resultobj;
4204 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4205 wxWindow *arg2 = (wxWindow *) 0 ;
4206 int arg3 ;
4207 wxString *arg4 = 0 ;
4208 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4209 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4210 wxSize const &arg6_defvalue = wxDefaultSize ;
4211 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4212 long arg7 = (long) 0 ;
4213 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4214 wxString *arg8 = (wxString *) &arg8_defvalue ;
4215 bool result;
4216 bool temp4 = False ;
4217 wxPoint temp5 ;
4218 wxSize temp6 ;
4219 bool temp8 = False ;
4220 PyObject * obj0 = 0 ;
4221 PyObject * obj1 = 0 ;
4222 PyObject * obj2 = 0 ;
4223 PyObject * obj3 = 0 ;
4224 PyObject * obj4 = 0 ;
4225 PyObject * obj5 = 0 ;
4226 PyObject * obj6 = 0 ;
4227 PyObject * obj7 = 0 ;
4228 char *kwnames[] = {
4229 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4230 };
4231
4232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4235 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4237 arg3 = (int) SWIG_AsInt(obj2);
4238 if (PyErr_Occurred()) SWIG_fail;
4239 {
4240 arg4 = wxString_in_helper(obj3);
4241 if (arg4 == NULL) SWIG_fail;
4242 temp4 = True;
4243 }
4244 if (obj4) {
4245 {
4246 arg5 = &temp5;
4247 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4248 }
4249 }
4250 if (obj5) {
4251 {
4252 arg6 = &temp6;
4253 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4254 }
4255 }
4256 if (obj6) {
4257 arg7 = (long) SWIG_AsLong(obj6);
4258 if (PyErr_Occurred()) SWIG_fail;
4259 }
4260 if (obj7) {
4261 {
4262 arg8 = wxString_in_helper(obj7);
4263 if (arg8 == NULL) SWIG_fail;
4264 temp8 = True;
4265 }
4266 }
4267 {
4268 PyThreadState* __tstate = wxPyBeginAllowThreads();
4269 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4270
4271 wxPyEndAllowThreads(__tstate);
4272 if (PyErr_Occurred()) SWIG_fail;
4273 }
4274 {
4275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4276 }
4277 {
4278 if (temp4)
4279 delete arg4;
4280 }
4281 {
4282 if (temp8)
4283 delete arg8;
4284 }
4285 return resultobj;
4286 fail:
4287 {
4288 if (temp4)
4289 delete arg4;
4290 }
4291 {
4292 if (temp8)
4293 delete arg8;
4294 }
4295 return NULL;
4296 }
4297
4298
4299 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4300 PyObject *obj;
4301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4302 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4303 Py_INCREF(obj);
4304 return Py_BuildValue((char *)"");
4305 }
4306 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4307 PyObject *resultobj;
4308 wxWindow *arg1 = (wxWindow *) 0 ;
4309 int arg2 ;
4310 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4311 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4312 wxSize const &arg4_defvalue = wxDefaultSize ;
4313 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4314 long arg5 = (long) wxLI_HORIZONTAL ;
4315 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4316 wxString *arg6 = (wxString *) &arg6_defvalue ;
4317 wxStaticLine *result;
4318 wxPoint temp3 ;
4319 wxSize temp4 ;
4320 bool temp6 = False ;
4321 PyObject * obj0 = 0 ;
4322 PyObject * obj1 = 0 ;
4323 PyObject * obj2 = 0 ;
4324 PyObject * obj3 = 0 ;
4325 PyObject * obj4 = 0 ;
4326 PyObject * obj5 = 0 ;
4327 char *kwnames[] = {
4328 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4329 };
4330
4331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4334 arg2 = (int) SWIG_AsInt(obj1);
4335 if (PyErr_Occurred()) SWIG_fail;
4336 if (obj2) {
4337 {
4338 arg3 = &temp3;
4339 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4340 }
4341 }
4342 if (obj3) {
4343 {
4344 arg4 = &temp4;
4345 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4346 }
4347 }
4348 if (obj4) {
4349 arg5 = (long) SWIG_AsLong(obj4);
4350 if (PyErr_Occurred()) SWIG_fail;
4351 }
4352 if (obj5) {
4353 {
4354 arg6 = wxString_in_helper(obj5);
4355 if (arg6 == NULL) SWIG_fail;
4356 temp6 = True;
4357 }
4358 }
4359 {
4360 PyThreadState* __tstate = wxPyBeginAllowThreads();
4361 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4362
4363 wxPyEndAllowThreads(__tstate);
4364 if (PyErr_Occurred()) SWIG_fail;
4365 }
4366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4367 {
4368 if (temp6)
4369 delete arg6;
4370 }
4371 return resultobj;
4372 fail:
4373 {
4374 if (temp6)
4375 delete arg6;
4376 }
4377 return NULL;
4378 }
4379
4380
4381 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4382 PyObject *resultobj;
4383 wxStaticLine *result;
4384 char *kwnames[] = {
4385 NULL
4386 };
4387
4388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4389 {
4390 PyThreadState* __tstate = wxPyBeginAllowThreads();
4391 result = (wxStaticLine *)new wxStaticLine();
4392
4393 wxPyEndAllowThreads(__tstate);
4394 if (PyErr_Occurred()) SWIG_fail;
4395 }
4396 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4397 return resultobj;
4398 fail:
4399 return NULL;
4400 }
4401
4402
4403 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4404 PyObject *resultobj;
4405 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4406 wxWindow *arg2 = (wxWindow *) 0 ;
4407 int arg3 ;
4408 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4409 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4410 wxSize const &arg5_defvalue = wxDefaultSize ;
4411 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4412 long arg6 = (long) wxLI_HORIZONTAL ;
4413 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4414 wxString *arg7 = (wxString *) &arg7_defvalue ;
4415 bool result;
4416 wxPoint temp4 ;
4417 wxSize temp5 ;
4418 bool temp7 = False ;
4419 PyObject * obj0 = 0 ;
4420 PyObject * obj1 = 0 ;
4421 PyObject * obj2 = 0 ;
4422 PyObject * obj3 = 0 ;
4423 PyObject * obj4 = 0 ;
4424 PyObject * obj5 = 0 ;
4425 PyObject * obj6 = 0 ;
4426 char *kwnames[] = {
4427 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4428 };
4429
4430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4433 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4435 arg3 = (int) SWIG_AsInt(obj2);
4436 if (PyErr_Occurred()) SWIG_fail;
4437 if (obj3) {
4438 {
4439 arg4 = &temp4;
4440 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4441 }
4442 }
4443 if (obj4) {
4444 {
4445 arg5 = &temp5;
4446 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4447 }
4448 }
4449 if (obj5) {
4450 arg6 = (long) SWIG_AsLong(obj5);
4451 if (PyErr_Occurred()) SWIG_fail;
4452 }
4453 if (obj6) {
4454 {
4455 arg7 = wxString_in_helper(obj6);
4456 if (arg7 == NULL) SWIG_fail;
4457 temp7 = True;
4458 }
4459 }
4460 {
4461 PyThreadState* __tstate = wxPyBeginAllowThreads();
4462 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4463
4464 wxPyEndAllowThreads(__tstate);
4465 if (PyErr_Occurred()) SWIG_fail;
4466 }
4467 {
4468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4469 }
4470 {
4471 if (temp7)
4472 delete arg7;
4473 }
4474 return resultobj;
4475 fail:
4476 {
4477 if (temp7)
4478 delete arg7;
4479 }
4480 return NULL;
4481 }
4482
4483
4484 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4485 PyObject *resultobj;
4486 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4487 bool result;
4488 PyObject * obj0 = 0 ;
4489 char *kwnames[] = {
4490 (char *) "self", NULL
4491 };
4492
4493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4496 {
4497 PyThreadState* __tstate = wxPyBeginAllowThreads();
4498 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4499
4500 wxPyEndAllowThreads(__tstate);
4501 if (PyErr_Occurred()) SWIG_fail;
4502 }
4503 {
4504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4505 }
4506 return resultobj;
4507 fail:
4508 return NULL;
4509 }
4510
4511
4512 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4513 PyObject *resultobj;
4514 int result;
4515 char *kwnames[] = {
4516 NULL
4517 };
4518
4519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4520 {
4521 PyThreadState* __tstate = wxPyBeginAllowThreads();
4522 result = (int)wxStaticLine::GetDefaultSize();
4523
4524 wxPyEndAllowThreads(__tstate);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
4527 resultobj = SWIG_FromInt((int)result);
4528 return resultobj;
4529 fail:
4530 return NULL;
4531 }
4532
4533
4534 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4535 PyObject *obj;
4536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4537 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4538 Py_INCREF(obj);
4539 return Py_BuildValue((char *)"");
4540 }
4541 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4542 PyObject *resultobj;
4543 wxWindow *arg1 = (wxWindow *) 0 ;
4544 int arg2 ;
4545 wxString *arg3 = 0 ;
4546 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4547 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4548 wxSize const &arg5_defvalue = wxDefaultSize ;
4549 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4550 long arg6 = (long) 0 ;
4551 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4552 wxString *arg7 = (wxString *) &arg7_defvalue ;
4553 wxStaticText *result;
4554 bool temp3 = False ;
4555 wxPoint temp4 ;
4556 wxSize temp5 ;
4557 bool temp7 = False ;
4558 PyObject * obj0 = 0 ;
4559 PyObject * obj1 = 0 ;
4560 PyObject * obj2 = 0 ;
4561 PyObject * obj3 = 0 ;
4562 PyObject * obj4 = 0 ;
4563 PyObject * obj5 = 0 ;
4564 PyObject * obj6 = 0 ;
4565 char *kwnames[] = {
4566 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4567 };
4568
4569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4572 arg2 = (int) SWIG_AsInt(obj1);
4573 if (PyErr_Occurred()) SWIG_fail;
4574 {
4575 arg3 = wxString_in_helper(obj2);
4576 if (arg3 == NULL) SWIG_fail;
4577 temp3 = True;
4578 }
4579 if (obj3) {
4580 {
4581 arg4 = &temp4;
4582 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4583 }
4584 }
4585 if (obj4) {
4586 {
4587 arg5 = &temp5;
4588 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4589 }
4590 }
4591 if (obj5) {
4592 arg6 = (long) SWIG_AsLong(obj5);
4593 if (PyErr_Occurred()) SWIG_fail;
4594 }
4595 if (obj6) {
4596 {
4597 arg7 = wxString_in_helper(obj6);
4598 if (arg7 == NULL) SWIG_fail;
4599 temp7 = True;
4600 }
4601 }
4602 {
4603 PyThreadState* __tstate = wxPyBeginAllowThreads();
4604 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4605
4606 wxPyEndAllowThreads(__tstate);
4607 if (PyErr_Occurred()) SWIG_fail;
4608 }
4609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4610 {
4611 if (temp3)
4612 delete arg3;
4613 }
4614 {
4615 if (temp7)
4616 delete arg7;
4617 }
4618 return resultobj;
4619 fail:
4620 {
4621 if (temp3)
4622 delete arg3;
4623 }
4624 {
4625 if (temp7)
4626 delete arg7;
4627 }
4628 return NULL;
4629 }
4630
4631
4632 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4633 PyObject *resultobj;
4634 wxStaticText *result;
4635 char *kwnames[] = {
4636 NULL
4637 };
4638
4639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4640 {
4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
4642 result = (wxStaticText *)new wxStaticText();
4643
4644 wxPyEndAllowThreads(__tstate);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4648 return resultobj;
4649 fail:
4650 return NULL;
4651 }
4652
4653
4654 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4655 PyObject *resultobj;
4656 wxStaticText *arg1 = (wxStaticText *) 0 ;
4657 wxWindow *arg2 = (wxWindow *) 0 ;
4658 int arg3 ;
4659 wxString *arg4 = 0 ;
4660 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4661 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4662 wxSize const &arg6_defvalue = wxDefaultSize ;
4663 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4664 long arg7 = (long) 0 ;
4665 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4666 wxString *arg8 = (wxString *) &arg8_defvalue ;
4667 bool result;
4668 bool temp4 = False ;
4669 wxPoint temp5 ;
4670 wxSize temp6 ;
4671 bool temp8 = False ;
4672 PyObject * obj0 = 0 ;
4673 PyObject * obj1 = 0 ;
4674 PyObject * obj2 = 0 ;
4675 PyObject * obj3 = 0 ;
4676 PyObject * obj4 = 0 ;
4677 PyObject * obj5 = 0 ;
4678 PyObject * obj6 = 0 ;
4679 PyObject * obj7 = 0 ;
4680 char *kwnames[] = {
4681 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4682 };
4683
4684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
4686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4687 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4689 arg3 = (int) SWIG_AsInt(obj2);
4690 if (PyErr_Occurred()) SWIG_fail;
4691 {
4692 arg4 = wxString_in_helper(obj3);
4693 if (arg4 == NULL) SWIG_fail;
4694 temp4 = True;
4695 }
4696 if (obj4) {
4697 {
4698 arg5 = &temp5;
4699 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4700 }
4701 }
4702 if (obj5) {
4703 {
4704 arg6 = &temp6;
4705 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4706 }
4707 }
4708 if (obj6) {
4709 arg7 = (long) SWIG_AsLong(obj6);
4710 if (PyErr_Occurred()) SWIG_fail;
4711 }
4712 if (obj7) {
4713 {
4714 arg8 = wxString_in_helper(obj7);
4715 if (arg8 == NULL) SWIG_fail;
4716 temp8 = True;
4717 }
4718 }
4719 {
4720 PyThreadState* __tstate = wxPyBeginAllowThreads();
4721 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4722
4723 wxPyEndAllowThreads(__tstate);
4724 if (PyErr_Occurred()) SWIG_fail;
4725 }
4726 {
4727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4728 }
4729 {
4730 if (temp4)
4731 delete arg4;
4732 }
4733 {
4734 if (temp8)
4735 delete arg8;
4736 }
4737 return resultobj;
4738 fail:
4739 {
4740 if (temp4)
4741 delete arg4;
4742 }
4743 {
4744 if (temp8)
4745 delete arg8;
4746 }
4747 return NULL;
4748 }
4749
4750
4751 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4752 PyObject *obj;
4753 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4754 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4755 Py_INCREF(obj);
4756 return Py_BuildValue((char *)"");
4757 }
4758 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4759 PyObject *resultobj;
4760 wxWindow *arg1 = (wxWindow *) 0 ;
4761 int arg2 ;
4762 wxBitmap *arg3 = 0 ;
4763 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4764 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4765 wxSize const &arg5_defvalue = wxDefaultSize ;
4766 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4767 long arg6 = (long) 0 ;
4768 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4769 wxString *arg7 = (wxString *) &arg7_defvalue ;
4770 wxStaticBitmap *result;
4771 wxPoint temp4 ;
4772 wxSize temp5 ;
4773 bool temp7 = False ;
4774 PyObject * obj0 = 0 ;
4775 PyObject * obj1 = 0 ;
4776 PyObject * obj2 = 0 ;
4777 PyObject * obj3 = 0 ;
4778 PyObject * obj4 = 0 ;
4779 PyObject * obj5 = 0 ;
4780 PyObject * obj6 = 0 ;
4781 char *kwnames[] = {
4782 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4783 };
4784
4785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4788 arg2 = (int) SWIG_AsInt(obj1);
4789 if (PyErr_Occurred()) SWIG_fail;
4790 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
4791 SWIG_POINTER_EXCEPTION | 0)) == -1)
4792 SWIG_fail;
4793 if (arg3 == NULL) {
4794 PyErr_SetString(PyExc_TypeError,"null reference");
4795 SWIG_fail;
4796 }
4797 if (obj3) {
4798 {
4799 arg4 = &temp4;
4800 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4801 }
4802 }
4803 if (obj4) {
4804 {
4805 arg5 = &temp5;
4806 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4807 }
4808 }
4809 if (obj5) {
4810 arg6 = (long) SWIG_AsLong(obj5);
4811 if (PyErr_Occurred()) SWIG_fail;
4812 }
4813 if (obj6) {
4814 {
4815 arg7 = wxString_in_helper(obj6);
4816 if (arg7 == NULL) SWIG_fail;
4817 temp7 = True;
4818 }
4819 }
4820 {
4821 PyThreadState* __tstate = wxPyBeginAllowThreads();
4822 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4823
4824 wxPyEndAllowThreads(__tstate);
4825 if (PyErr_Occurred()) SWIG_fail;
4826 }
4827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4828 {
4829 if (temp7)
4830 delete arg7;
4831 }
4832 return resultobj;
4833 fail:
4834 {
4835 if (temp7)
4836 delete arg7;
4837 }
4838 return NULL;
4839 }
4840
4841
4842 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4843 PyObject *resultobj;
4844 wxStaticBitmap *result;
4845 char *kwnames[] = {
4846 NULL
4847 };
4848
4849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4850 {
4851 PyThreadState* __tstate = wxPyBeginAllowThreads();
4852 result = (wxStaticBitmap *)new wxStaticBitmap();
4853
4854 wxPyEndAllowThreads(__tstate);
4855 if (PyErr_Occurred()) SWIG_fail;
4856 }
4857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4858 return resultobj;
4859 fail:
4860 return NULL;
4861 }
4862
4863
4864 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4865 PyObject *resultobj;
4866 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4867 wxWindow *arg2 = (wxWindow *) 0 ;
4868 int arg3 ;
4869 wxBitmap *arg4 = 0 ;
4870 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4871 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4872 wxSize const &arg6_defvalue = wxDefaultSize ;
4873 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4874 long arg7 = (long) 0 ;
4875 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4876 wxString *arg8 = (wxString *) &arg8_defvalue ;
4877 bool result;
4878 wxPoint temp5 ;
4879 wxSize temp6 ;
4880 bool temp8 = False ;
4881 PyObject * obj0 = 0 ;
4882 PyObject * obj1 = 0 ;
4883 PyObject * obj2 = 0 ;
4884 PyObject * obj3 = 0 ;
4885 PyObject * obj4 = 0 ;
4886 PyObject * obj5 = 0 ;
4887 PyObject * obj6 = 0 ;
4888 PyObject * obj7 = 0 ;
4889 char *kwnames[] = {
4890 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4891 };
4892
4893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4896 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4898 arg3 = (int) SWIG_AsInt(obj2);
4899 if (PyErr_Occurred()) SWIG_fail;
4900 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
4901 SWIG_POINTER_EXCEPTION | 0)) == -1)
4902 SWIG_fail;
4903 if (arg4 == NULL) {
4904 PyErr_SetString(PyExc_TypeError,"null reference");
4905 SWIG_fail;
4906 }
4907 if (obj4) {
4908 {
4909 arg5 = &temp5;
4910 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4911 }
4912 }
4913 if (obj5) {
4914 {
4915 arg6 = &temp6;
4916 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4917 }
4918 }
4919 if (obj6) {
4920 arg7 = (long) SWIG_AsLong(obj6);
4921 if (PyErr_Occurred()) SWIG_fail;
4922 }
4923 if (obj7) {
4924 {
4925 arg8 = wxString_in_helper(obj7);
4926 if (arg8 == NULL) SWIG_fail;
4927 temp8 = True;
4928 }
4929 }
4930 {
4931 PyThreadState* __tstate = wxPyBeginAllowThreads();
4932 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4933
4934 wxPyEndAllowThreads(__tstate);
4935 if (PyErr_Occurred()) SWIG_fail;
4936 }
4937 {
4938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4939 }
4940 {
4941 if (temp8)
4942 delete arg8;
4943 }
4944 return resultobj;
4945 fail:
4946 {
4947 if (temp8)
4948 delete arg8;
4949 }
4950 return NULL;
4951 }
4952
4953
4954 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4955 PyObject *resultobj;
4956 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4957 wxBitmap result;
4958 PyObject * obj0 = 0 ;
4959 char *kwnames[] = {
4960 (char *) "self", NULL
4961 };
4962
4963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4966 {
4967 PyThreadState* __tstate = wxPyBeginAllowThreads();
4968 result = (arg1)->GetBitmap();
4969
4970 wxPyEndAllowThreads(__tstate);
4971 if (PyErr_Occurred()) SWIG_fail;
4972 }
4973 {
4974 wxBitmap * resultptr;
4975 resultptr = new wxBitmap((wxBitmap &) result);
4976 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4977 }
4978 return resultobj;
4979 fail:
4980 return NULL;
4981 }
4982
4983
4984 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4985 PyObject *resultobj;
4986 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4987 wxBitmap *arg2 = 0 ;
4988 PyObject * obj0 = 0 ;
4989 PyObject * obj1 = 0 ;
4990 char *kwnames[] = {
4991 (char *) "self",(char *) "bitmap", NULL
4992 };
4993
4994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4997 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4998 SWIG_POINTER_EXCEPTION | 0)) == -1)
4999 SWIG_fail;
5000 if (arg2 == NULL) {
5001 PyErr_SetString(PyExc_TypeError,"null reference");
5002 SWIG_fail;
5003 }
5004 {
5005 PyThreadState* __tstate = wxPyBeginAllowThreads();
5006 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5007
5008 wxPyEndAllowThreads(__tstate);
5009 if (PyErr_Occurred()) SWIG_fail;
5010 }
5011 Py_INCREF(Py_None); resultobj = Py_None;
5012 return resultobj;
5013 fail:
5014 return NULL;
5015 }
5016
5017
5018 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
5019 PyObject *resultobj;
5020 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5021 wxIcon *arg2 = 0 ;
5022 PyObject * obj0 = 0 ;
5023 PyObject * obj1 = 0 ;
5024 char *kwnames[] = {
5025 (char *) "self",(char *) "icon", NULL
5026 };
5027
5028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
5029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5031 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5032 SWIG_POINTER_EXCEPTION | 0)) == -1)
5033 SWIG_fail;
5034 if (arg2 == NULL) {
5035 PyErr_SetString(PyExc_TypeError,"null reference");
5036 SWIG_fail;
5037 }
5038 {
5039 PyThreadState* __tstate = wxPyBeginAllowThreads();
5040 (arg1)->SetIcon((wxIcon const &)*arg2);
5041
5042 wxPyEndAllowThreads(__tstate);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 }
5045 Py_INCREF(Py_None); resultobj = Py_None;
5046 return resultobj;
5047 fail:
5048 return NULL;
5049 }
5050
5051
5052 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
5053 PyObject *obj;
5054 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5055 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5056 Py_INCREF(obj);
5057 return Py_BuildValue((char *)"");
5058 }
5059 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
5060 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5061 return 1;
5062 }
5063
5064
5065 static PyObject *_wrap_ListBoxNameStr_get() {
5066 PyObject *pyobj;
5067
5068 {
5069 #if wxUSE_UNICODE
5070 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5071 #else
5072 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5073 #endif
5074 }
5075 return pyobj;
5076 }
5077
5078
5079 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5080 PyObject *resultobj;
5081 wxWindow *arg1 = (wxWindow *) 0 ;
5082 int arg2 ;
5083 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5084 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5085 wxSize const &arg4_defvalue = wxDefaultSize ;
5086 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5087 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5088 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5089 long arg6 = (long) 0 ;
5090 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5091 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5092 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5093 wxString *arg8 = (wxString *) &arg8_defvalue ;
5094 wxListBox *result;
5095 wxPoint temp3 ;
5096 wxSize temp4 ;
5097 bool temp5 = False ;
5098 bool temp8 = False ;
5099 PyObject * obj0 = 0 ;
5100 PyObject * obj1 = 0 ;
5101 PyObject * obj2 = 0 ;
5102 PyObject * obj3 = 0 ;
5103 PyObject * obj4 = 0 ;
5104 PyObject * obj5 = 0 ;
5105 PyObject * obj6 = 0 ;
5106 PyObject * obj7 = 0 ;
5107 char *kwnames[] = {
5108 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5109 };
5110
5111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5114 arg2 = (int) SWIG_AsInt(obj1);
5115 if (PyErr_Occurred()) SWIG_fail;
5116 if (obj2) {
5117 {
5118 arg3 = &temp3;
5119 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5120 }
5121 }
5122 if (obj3) {
5123 {
5124 arg4 = &temp4;
5125 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5126 }
5127 }
5128 if (obj4) {
5129 {
5130 if (! PySequence_Check(obj4)) {
5131 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5132 SWIG_fail;
5133 }
5134 arg5 = new wxArrayString;
5135 temp5 = True;
5136 int i, len=PySequence_Length(obj4);
5137 for (i=0; i<len; i++) {
5138 PyObject* item = PySequence_GetItem(obj4, i);
5139 #if wxUSE_UNICODE
5140 PyObject* str = PyObject_Unicode(item);
5141 #else
5142 PyObject* str = PyObject_Str(item);
5143 #endif
5144 if (PyErr_Occurred()) SWIG_fail;
5145 arg5->Add(Py2wxString(str));
5146 Py_DECREF(item);
5147 Py_DECREF(str);
5148 }
5149 }
5150 }
5151 if (obj5) {
5152 arg6 = (long) SWIG_AsLong(obj5);
5153 if (PyErr_Occurred()) SWIG_fail;
5154 }
5155 if (obj6) {
5156 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5157 SWIG_POINTER_EXCEPTION | 0)) == -1)
5158 SWIG_fail;
5159 if (arg7 == NULL) {
5160 PyErr_SetString(PyExc_TypeError,"null reference");
5161 SWIG_fail;
5162 }
5163 }
5164 if (obj7) {
5165 {
5166 arg8 = wxString_in_helper(obj7);
5167 if (arg8 == NULL) SWIG_fail;
5168 temp8 = True;
5169 }
5170 }
5171 {
5172 PyThreadState* __tstate = wxPyBeginAllowThreads();
5173 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5174
5175 wxPyEndAllowThreads(__tstate);
5176 if (PyErr_Occurred()) SWIG_fail;
5177 }
5178 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5179 {
5180 if (temp5) delete arg5;
5181 }
5182 {
5183 if (temp8)
5184 delete arg8;
5185 }
5186 return resultobj;
5187 fail:
5188 {
5189 if (temp5) delete arg5;
5190 }
5191 {
5192 if (temp8)
5193 delete arg8;
5194 }
5195 return NULL;
5196 }
5197
5198
5199 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5200 PyObject *resultobj;
5201 wxListBox *result;
5202 char *kwnames[] = {
5203 NULL
5204 };
5205
5206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5207 {
5208 PyThreadState* __tstate = wxPyBeginAllowThreads();
5209 result = (wxListBox *)new wxListBox();
5210
5211 wxPyEndAllowThreads(__tstate);
5212 if (PyErr_Occurred()) SWIG_fail;
5213 }
5214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5215 return resultobj;
5216 fail:
5217 return NULL;
5218 }
5219
5220
5221 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5222 PyObject *resultobj;
5223 wxListBox *arg1 = (wxListBox *) 0 ;
5224 wxWindow *arg2 = (wxWindow *) 0 ;
5225 int arg3 ;
5226 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5227 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5228 wxSize const &arg5_defvalue = wxDefaultSize ;
5229 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5230 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5231 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5232 long arg7 = (long) 0 ;
5233 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5234 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5235 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5236 wxString *arg9 = (wxString *) &arg9_defvalue ;
5237 bool result;
5238 wxPoint temp4 ;
5239 wxSize temp5 ;
5240 bool temp6 = False ;
5241 bool temp9 = False ;
5242 PyObject * obj0 = 0 ;
5243 PyObject * obj1 = 0 ;
5244 PyObject * obj2 = 0 ;
5245 PyObject * obj3 = 0 ;
5246 PyObject * obj4 = 0 ;
5247 PyObject * obj5 = 0 ;
5248 PyObject * obj6 = 0 ;
5249 PyObject * obj7 = 0 ;
5250 PyObject * obj8 = 0 ;
5251 char *kwnames[] = {
5252 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5253 };
5254
5255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5258 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5260 arg3 = (int) SWIG_AsInt(obj2);
5261 if (PyErr_Occurred()) SWIG_fail;
5262 if (obj3) {
5263 {
5264 arg4 = &temp4;
5265 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5266 }
5267 }
5268 if (obj4) {
5269 {
5270 arg5 = &temp5;
5271 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5272 }
5273 }
5274 if (obj5) {
5275 {
5276 if (! PySequence_Check(obj5)) {
5277 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5278 SWIG_fail;
5279 }
5280 arg6 = new wxArrayString;
5281 temp6 = True;
5282 int i, len=PySequence_Length(obj5);
5283 for (i=0; i<len; i++) {
5284 PyObject* item = PySequence_GetItem(obj5, i);
5285 #if wxUSE_UNICODE
5286 PyObject* str = PyObject_Unicode(item);
5287 #else
5288 PyObject* str = PyObject_Str(item);
5289 #endif
5290 if (PyErr_Occurred()) SWIG_fail;
5291 arg6->Add(Py2wxString(str));
5292 Py_DECREF(item);
5293 Py_DECREF(str);
5294 }
5295 }
5296 }
5297 if (obj6) {
5298 arg7 = (long) SWIG_AsLong(obj6);
5299 if (PyErr_Occurred()) SWIG_fail;
5300 }
5301 if (obj7) {
5302 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5303 SWIG_POINTER_EXCEPTION | 0)) == -1)
5304 SWIG_fail;
5305 if (arg8 == NULL) {
5306 PyErr_SetString(PyExc_TypeError,"null reference");
5307 SWIG_fail;
5308 }
5309 }
5310 if (obj8) {
5311 {
5312 arg9 = wxString_in_helper(obj8);
5313 if (arg9 == NULL) SWIG_fail;
5314 temp9 = True;
5315 }
5316 }
5317 {
5318 PyThreadState* __tstate = wxPyBeginAllowThreads();
5319 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5320
5321 wxPyEndAllowThreads(__tstate);
5322 if (PyErr_Occurred()) SWIG_fail;
5323 }
5324 {
5325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5326 }
5327 {
5328 if (temp6) delete arg6;
5329 }
5330 {
5331 if (temp9)
5332 delete arg9;
5333 }
5334 return resultobj;
5335 fail:
5336 {
5337 if (temp6) delete arg6;
5338 }
5339 {
5340 if (temp9)
5341 delete arg9;
5342 }
5343 return NULL;
5344 }
5345
5346
5347 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5348 PyObject *resultobj;
5349 wxListBox *arg1 = (wxListBox *) 0 ;
5350 wxString *arg2 = 0 ;
5351 int arg3 ;
5352 PyObject *arg4 = (PyObject *) NULL ;
5353 bool temp2 = False ;
5354 PyObject * obj0 = 0 ;
5355 PyObject * obj1 = 0 ;
5356 PyObject * obj2 = 0 ;
5357 PyObject * obj3 = 0 ;
5358 char *kwnames[] = {
5359 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5360 };
5361
5362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5365 {
5366 arg2 = wxString_in_helper(obj1);
5367 if (arg2 == NULL) SWIG_fail;
5368 temp2 = True;
5369 }
5370 arg3 = (int) SWIG_AsInt(obj2);
5371 if (PyErr_Occurred()) SWIG_fail;
5372 if (obj3) {
5373 arg4 = obj3;
5374 }
5375 {
5376 PyThreadState* __tstate = wxPyBeginAllowThreads();
5377 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5378
5379 wxPyEndAllowThreads(__tstate);
5380 if (PyErr_Occurred()) SWIG_fail;
5381 }
5382 Py_INCREF(Py_None); resultobj = Py_None;
5383 {
5384 if (temp2)
5385 delete arg2;
5386 }
5387 return resultobj;
5388 fail:
5389 {
5390 if (temp2)
5391 delete arg2;
5392 }
5393 return NULL;
5394 }
5395
5396
5397 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5398 PyObject *resultobj;
5399 wxListBox *arg1 = (wxListBox *) 0 ;
5400 wxArrayString *arg2 = 0 ;
5401 int arg3 ;
5402 bool temp2 = False ;
5403 PyObject * obj0 = 0 ;
5404 PyObject * obj1 = 0 ;
5405 PyObject * obj2 = 0 ;
5406 char *kwnames[] = {
5407 (char *) "self",(char *) "items",(char *) "pos", NULL
5408 };
5409
5410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) 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 if (PyErr_Occurred()) SWIG_fail;
5429 arg2->Add(Py2wxString(str));
5430 Py_DECREF(item);
5431 Py_DECREF(str);
5432 }
5433 }
5434 arg3 = (int) SWIG_AsInt(obj2);
5435 if (PyErr_Occurred()) SWIG_fail;
5436 {
5437 PyThreadState* __tstate = wxPyBeginAllowThreads();
5438 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5439
5440 wxPyEndAllowThreads(__tstate);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
5443 Py_INCREF(Py_None); resultobj = Py_None;
5444 {
5445 if (temp2) delete arg2;
5446 }
5447 return resultobj;
5448 fail:
5449 {
5450 if (temp2) delete arg2;
5451 }
5452 return NULL;
5453 }
5454
5455
5456 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5457 PyObject *resultobj;
5458 wxListBox *arg1 = (wxListBox *) 0 ;
5459 wxArrayString *arg2 = 0 ;
5460 bool temp2 = False ;
5461 PyObject * obj0 = 0 ;
5462 PyObject * obj1 = 0 ;
5463 char *kwnames[] = {
5464 (char *) "self",(char *) "items", NULL
5465 };
5466
5467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5470 {
5471 if (! PySequence_Check(obj1)) {
5472 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5473 SWIG_fail;
5474 }
5475 arg2 = new wxArrayString;
5476 temp2 = True;
5477 int i, len=PySequence_Length(obj1);
5478 for (i=0; i<len; i++) {
5479 PyObject* item = PySequence_GetItem(obj1, i);
5480 #if wxUSE_UNICODE
5481 PyObject* str = PyObject_Unicode(item);
5482 #else
5483 PyObject* str = PyObject_Str(item);
5484 #endif
5485 if (PyErr_Occurred()) SWIG_fail;
5486 arg2->Add(Py2wxString(str));
5487 Py_DECREF(item);
5488 Py_DECREF(str);
5489 }
5490 }
5491 {
5492 PyThreadState* __tstate = wxPyBeginAllowThreads();
5493 (arg1)->Set((wxArrayString const &)*arg2);
5494
5495 wxPyEndAllowThreads(__tstate);
5496 if (PyErr_Occurred()) SWIG_fail;
5497 }
5498 Py_INCREF(Py_None); resultobj = Py_None;
5499 {
5500 if (temp2) delete arg2;
5501 }
5502 return resultobj;
5503 fail:
5504 {
5505 if (temp2) delete arg2;
5506 }
5507 return NULL;
5508 }
5509
5510
5511 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5512 PyObject *resultobj;
5513 wxListBox *arg1 = (wxListBox *) 0 ;
5514 int arg2 ;
5515 bool result;
5516 PyObject * obj0 = 0 ;
5517 PyObject * obj1 = 0 ;
5518 char *kwnames[] = {
5519 (char *) "self",(char *) "n", NULL
5520 };
5521
5522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
5523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5525 arg2 = (int) SWIG_AsInt(obj1);
5526 if (PyErr_Occurred()) SWIG_fail;
5527 {
5528 PyThreadState* __tstate = wxPyBeginAllowThreads();
5529 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5530
5531 wxPyEndAllowThreads(__tstate);
5532 if (PyErr_Occurred()) SWIG_fail;
5533 }
5534 {
5535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5536 }
5537 return resultobj;
5538 fail:
5539 return NULL;
5540 }
5541
5542
5543 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5544 PyObject *resultobj;
5545 wxListBox *arg1 = (wxListBox *) 0 ;
5546 int arg2 ;
5547 bool arg3 = (bool) True ;
5548 PyObject * obj0 = 0 ;
5549 PyObject * obj1 = 0 ;
5550 PyObject * obj2 = 0 ;
5551 char *kwnames[] = {
5552 (char *) "self",(char *) "n",(char *) "select", NULL
5553 };
5554
5555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5558 arg2 = (int) SWIG_AsInt(obj1);
5559 if (PyErr_Occurred()) SWIG_fail;
5560 if (obj2) {
5561 arg3 = (bool) SWIG_AsBool(obj2);
5562 if (PyErr_Occurred()) SWIG_fail;
5563 }
5564 {
5565 PyThreadState* __tstate = wxPyBeginAllowThreads();
5566 (arg1)->SetSelection(arg2,arg3);
5567
5568 wxPyEndAllowThreads(__tstate);
5569 if (PyErr_Occurred()) SWIG_fail;
5570 }
5571 Py_INCREF(Py_None); resultobj = Py_None;
5572 return resultobj;
5573 fail:
5574 return NULL;
5575 }
5576
5577
5578 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5579 PyObject *resultobj;
5580 wxListBox *arg1 = (wxListBox *) 0 ;
5581 int arg2 ;
5582 PyObject * obj0 = 0 ;
5583 PyObject * obj1 = 0 ;
5584 char *kwnames[] = {
5585 (char *) "self",(char *) "n", NULL
5586 };
5587
5588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
5589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5591 arg2 = (int) SWIG_AsInt(obj1);
5592 if (PyErr_Occurred()) SWIG_fail;
5593 {
5594 PyThreadState* __tstate = wxPyBeginAllowThreads();
5595 (arg1)->Select(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_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5608 PyObject *resultobj;
5609 wxListBox *arg1 = (wxListBox *) 0 ;
5610 int arg2 ;
5611 PyObject * obj0 = 0 ;
5612 PyObject * obj1 = 0 ;
5613 char *kwnames[] = {
5614 (char *) "self",(char *) "n", NULL
5615 };
5616
5617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
5618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5620 arg2 = (int) SWIG_AsInt(obj1);
5621 if (PyErr_Occurred()) SWIG_fail;
5622 {
5623 PyThreadState* __tstate = wxPyBeginAllowThreads();
5624 (arg1)->Deselect(arg2);
5625
5626 wxPyEndAllowThreads(__tstate);
5627 if (PyErr_Occurred()) SWIG_fail;
5628 }
5629 Py_INCREF(Py_None); resultobj = Py_None;
5630 return resultobj;
5631 fail:
5632 return NULL;
5633 }
5634
5635
5636 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5637 PyObject *resultobj;
5638 wxListBox *arg1 = (wxListBox *) 0 ;
5639 int arg2 = (int) -1 ;
5640 PyObject * obj0 = 0 ;
5641 PyObject * obj1 = 0 ;
5642 char *kwnames[] = {
5643 (char *) "self",(char *) "itemToLeaveSelected", NULL
5644 };
5645
5646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
5647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5649 if (obj1) {
5650 arg2 = (int) SWIG_AsInt(obj1);
5651 if (PyErr_Occurred()) SWIG_fail;
5652 }
5653 {
5654 PyThreadState* __tstate = wxPyBeginAllowThreads();
5655 (arg1)->DeselectAll(arg2);
5656
5657 wxPyEndAllowThreads(__tstate);
5658 if (PyErr_Occurred()) SWIG_fail;
5659 }
5660 Py_INCREF(Py_None); resultobj = Py_None;
5661 return resultobj;
5662 fail:
5663 return NULL;
5664 }
5665
5666
5667 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5668 PyObject *resultobj;
5669 wxListBox *arg1 = (wxListBox *) 0 ;
5670 wxString *arg2 = 0 ;
5671 bool arg3 = (bool) True ;
5672 bool result;
5673 bool temp2 = False ;
5674 PyObject * obj0 = 0 ;
5675 PyObject * obj1 = 0 ;
5676 PyObject * obj2 = 0 ;
5677 char *kwnames[] = {
5678 (char *) "self",(char *) "s",(char *) "select", NULL
5679 };
5680
5681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5684 {
5685 arg2 = wxString_in_helper(obj1);
5686 if (arg2 == NULL) SWIG_fail;
5687 temp2 = True;
5688 }
5689 if (obj2) {
5690 arg3 = (bool) SWIG_AsBool(obj2);
5691 if (PyErr_Occurred()) SWIG_fail;
5692 }
5693 {
5694 PyThreadState* __tstate = wxPyBeginAllowThreads();
5695 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5696
5697 wxPyEndAllowThreads(__tstate);
5698 if (PyErr_Occurred()) SWIG_fail;
5699 }
5700 {
5701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5702 }
5703 {
5704 if (temp2)
5705 delete arg2;
5706 }
5707 return resultobj;
5708 fail:
5709 {
5710 if (temp2)
5711 delete arg2;
5712 }
5713 return NULL;
5714 }
5715
5716
5717 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5718 PyObject *resultobj;
5719 wxListBox *arg1 = (wxListBox *) 0 ;
5720 PyObject *result;
5721 PyObject * obj0 = 0 ;
5722 char *kwnames[] = {
5723 (char *) "self", NULL
5724 };
5725
5726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5729 {
5730 PyThreadState* __tstate = wxPyBeginAllowThreads();
5731 result = (PyObject *)wxListBox_GetSelections(arg1);
5732
5733 wxPyEndAllowThreads(__tstate);
5734 if (PyErr_Occurred()) SWIG_fail;
5735 }
5736 resultobj = result;
5737 return resultobj;
5738 fail:
5739 return NULL;
5740 }
5741
5742
5743 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5744 PyObject *resultobj;
5745 wxListBox *arg1 = (wxListBox *) 0 ;
5746 int arg2 ;
5747 PyObject * obj0 = 0 ;
5748 PyObject * obj1 = 0 ;
5749 char *kwnames[] = {
5750 (char *) "self",(char *) "n", NULL
5751 };
5752
5753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
5754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5756 arg2 = (int) SWIG_AsInt(obj1);
5757 if (PyErr_Occurred()) SWIG_fail;
5758 {
5759 PyThreadState* __tstate = wxPyBeginAllowThreads();
5760 (arg1)->SetFirstItem(arg2);
5761
5762 wxPyEndAllowThreads(__tstate);
5763 if (PyErr_Occurred()) SWIG_fail;
5764 }
5765 Py_INCREF(Py_None); resultobj = Py_None;
5766 return resultobj;
5767 fail:
5768 return NULL;
5769 }
5770
5771
5772 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5773 PyObject *resultobj;
5774 wxListBox *arg1 = (wxListBox *) 0 ;
5775 wxString *arg2 = 0 ;
5776 bool temp2 = False ;
5777 PyObject * obj0 = 0 ;
5778 PyObject * obj1 = 0 ;
5779 char *kwnames[] = {
5780 (char *) "self",(char *) "s", NULL
5781 };
5782
5783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5786 {
5787 arg2 = wxString_in_helper(obj1);
5788 if (arg2 == NULL) SWIG_fail;
5789 temp2 = True;
5790 }
5791 {
5792 PyThreadState* __tstate = wxPyBeginAllowThreads();
5793 (arg1)->SetFirstItem((wxString const &)*arg2);
5794
5795 wxPyEndAllowThreads(__tstate);
5796 if (PyErr_Occurred()) SWIG_fail;
5797 }
5798 Py_INCREF(Py_None); resultobj = Py_None;
5799 {
5800 if (temp2)
5801 delete arg2;
5802 }
5803 return resultobj;
5804 fail:
5805 {
5806 if (temp2)
5807 delete arg2;
5808 }
5809 return NULL;
5810 }
5811
5812
5813 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5814 PyObject *resultobj;
5815 wxListBox *arg1 = (wxListBox *) 0 ;
5816 int arg2 ;
5817 PyObject * obj0 = 0 ;
5818 PyObject * obj1 = 0 ;
5819 char *kwnames[] = {
5820 (char *) "self",(char *) "n", NULL
5821 };
5822
5823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5826 arg2 = (int) SWIG_AsInt(obj1);
5827 if (PyErr_Occurred()) SWIG_fail;
5828 {
5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
5830 (arg1)->EnsureVisible(arg2);
5831
5832 wxPyEndAllowThreads(__tstate);
5833 if (PyErr_Occurred()) SWIG_fail;
5834 }
5835 Py_INCREF(Py_None); resultobj = Py_None;
5836 return resultobj;
5837 fail:
5838 return NULL;
5839 }
5840
5841
5842 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5843 PyObject *resultobj;
5844 wxListBox *arg1 = (wxListBox *) 0 ;
5845 wxString *arg2 = 0 ;
5846 bool temp2 = False ;
5847 PyObject * obj0 = 0 ;
5848 PyObject * obj1 = 0 ;
5849 char *kwnames[] = {
5850 (char *) "self",(char *) "s", NULL
5851 };
5852
5853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5856 {
5857 arg2 = wxString_in_helper(obj1);
5858 if (arg2 == NULL) SWIG_fail;
5859 temp2 = True;
5860 }
5861 {
5862 PyThreadState* __tstate = wxPyBeginAllowThreads();
5863 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5864
5865 wxPyEndAllowThreads(__tstate);
5866 if (PyErr_Occurred()) SWIG_fail;
5867 }
5868 Py_INCREF(Py_None); resultobj = Py_None;
5869 {
5870 if (temp2)
5871 delete arg2;
5872 }
5873 return resultobj;
5874 fail:
5875 {
5876 if (temp2)
5877 delete arg2;
5878 }
5879 return NULL;
5880 }
5881
5882
5883 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5884 PyObject *resultobj;
5885 wxListBox *arg1 = (wxListBox *) 0 ;
5886 bool result;
5887 PyObject * obj0 = 0 ;
5888 char *kwnames[] = {
5889 (char *) "self", NULL
5890 };
5891
5892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5895 {
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 result = (bool)((wxListBox const *)arg1)->IsSorted();
5898
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
5902 {
5903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5904 }
5905 return resultobj;
5906 fail:
5907 return NULL;
5908 }
5909
5910
5911 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5912 PyObject *resultobj;
5913 wxListBox *arg1 = (wxListBox *) 0 ;
5914 int arg2 ;
5915 wxColour *arg3 = 0 ;
5916 wxColour temp3 ;
5917 PyObject * obj0 = 0 ;
5918 PyObject * obj1 = 0 ;
5919 PyObject * obj2 = 0 ;
5920 char *kwnames[] = {
5921 (char *) "self",(char *) "item",(char *) "c", NULL
5922 };
5923
5924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5927 arg2 = (int) SWIG_AsInt(obj1);
5928 if (PyErr_Occurred()) SWIG_fail;
5929 {
5930 arg3 = &temp3;
5931 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5932 }
5933 {
5934 PyThreadState* __tstate = wxPyBeginAllowThreads();
5935 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
5936
5937 wxPyEndAllowThreads(__tstate);
5938 if (PyErr_Occurred()) SWIG_fail;
5939 }
5940 Py_INCREF(Py_None); resultobj = Py_None;
5941 return resultobj;
5942 fail:
5943 return NULL;
5944 }
5945
5946
5947 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5948 PyObject *resultobj;
5949 wxListBox *arg1 = (wxListBox *) 0 ;
5950 int arg2 ;
5951 wxColour *arg3 = 0 ;
5952 wxColour temp3 ;
5953 PyObject * obj0 = 0 ;
5954 PyObject * obj1 = 0 ;
5955 PyObject * obj2 = 0 ;
5956 char *kwnames[] = {
5957 (char *) "self",(char *) "item",(char *) "c", NULL
5958 };
5959
5960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5963 arg2 = (int) SWIG_AsInt(obj1);
5964 if (PyErr_Occurred()) SWIG_fail;
5965 {
5966 arg3 = &temp3;
5967 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5968 }
5969 {
5970 PyThreadState* __tstate = wxPyBeginAllowThreads();
5971 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
5972
5973 wxPyEndAllowThreads(__tstate);
5974 if (PyErr_Occurred()) SWIG_fail;
5975 }
5976 Py_INCREF(Py_None); resultobj = Py_None;
5977 return resultobj;
5978 fail:
5979 return NULL;
5980 }
5981
5982
5983 static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5984 PyObject *resultobj;
5985 wxListBox *arg1 = (wxListBox *) 0 ;
5986 int arg2 ;
5987 wxFont *arg3 = 0 ;
5988 PyObject * obj0 = 0 ;
5989 PyObject * obj1 = 0 ;
5990 PyObject * obj2 = 0 ;
5991 char *kwnames[] = {
5992 (char *) "self",(char *) "item",(char *) "f", NULL
5993 };
5994
5995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
5996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5998 arg2 = (int) SWIG_AsInt(obj1);
5999 if (PyErr_Occurred()) SWIG_fail;
6000 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6001 SWIG_POINTER_EXCEPTION | 0)) == -1)
6002 SWIG_fail;
6003 if (arg3 == NULL) {
6004 PyErr_SetString(PyExc_TypeError,"null reference");
6005 SWIG_fail;
6006 }
6007 {
6008 PyThreadState* __tstate = wxPyBeginAllowThreads();
6009 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
6010
6011 wxPyEndAllowThreads(__tstate);
6012 if (PyErr_Occurred()) SWIG_fail;
6013 }
6014 Py_INCREF(Py_None); resultobj = Py_None;
6015 return resultobj;
6016 fail:
6017 return NULL;
6018 }
6019
6020
6021 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6022 PyObject *resultobj;
6023 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6024 wxVisualAttributes result;
6025 PyObject * obj0 = 0 ;
6026 char *kwnames[] = {
6027 (char *) "variant", NULL
6028 };
6029
6030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6031 if (obj0) {
6032 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6033 if (PyErr_Occurred()) SWIG_fail;
6034 }
6035 {
6036 PyThreadState* __tstate = wxPyBeginAllowThreads();
6037 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6038
6039 wxPyEndAllowThreads(__tstate);
6040 if (PyErr_Occurred()) SWIG_fail;
6041 }
6042 {
6043 wxVisualAttributes * resultptr;
6044 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6045 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6046 }
6047 return resultobj;
6048 fail:
6049 return NULL;
6050 }
6051
6052
6053 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
6054 PyObject *obj;
6055 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6056 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6057 Py_INCREF(obj);
6058 return Py_BuildValue((char *)"");
6059 }
6060 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6061 PyObject *resultobj;
6062 wxWindow *arg1 = (wxWindow *) 0 ;
6063 int arg2 ;
6064 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6065 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6066 wxSize const &arg4_defvalue = wxDefaultSize ;
6067 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6068 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6069 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6070 long arg6 = (long) 0 ;
6071 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6072 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6073 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6074 wxString *arg8 = (wxString *) &arg8_defvalue ;
6075 wxCheckListBox *result;
6076 wxPoint temp3 ;
6077 wxSize temp4 ;
6078 bool temp5 = False ;
6079 bool temp8 = False ;
6080 PyObject * obj0 = 0 ;
6081 PyObject * obj1 = 0 ;
6082 PyObject * obj2 = 0 ;
6083 PyObject * obj3 = 0 ;
6084 PyObject * obj4 = 0 ;
6085 PyObject * obj5 = 0 ;
6086 PyObject * obj6 = 0 ;
6087 PyObject * obj7 = 0 ;
6088 char *kwnames[] = {
6089 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6090 };
6091
6092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6095 arg2 = (int) SWIG_AsInt(obj1);
6096 if (PyErr_Occurred()) SWIG_fail;
6097 if (obj2) {
6098 {
6099 arg3 = &temp3;
6100 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6101 }
6102 }
6103 if (obj3) {
6104 {
6105 arg4 = &temp4;
6106 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6107 }
6108 }
6109 if (obj4) {
6110 {
6111 if (! PySequence_Check(obj4)) {
6112 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6113 SWIG_fail;
6114 }
6115 arg5 = new wxArrayString;
6116 temp5 = True;
6117 int i, len=PySequence_Length(obj4);
6118 for (i=0; i<len; i++) {
6119 PyObject* item = PySequence_GetItem(obj4, i);
6120 #if wxUSE_UNICODE
6121 PyObject* str = PyObject_Unicode(item);
6122 #else
6123 PyObject* str = PyObject_Str(item);
6124 #endif
6125 if (PyErr_Occurred()) SWIG_fail;
6126 arg5->Add(Py2wxString(str));
6127 Py_DECREF(item);
6128 Py_DECREF(str);
6129 }
6130 }
6131 }
6132 if (obj5) {
6133 arg6 = (long) SWIG_AsLong(obj5);
6134 if (PyErr_Occurred()) SWIG_fail;
6135 }
6136 if (obj6) {
6137 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6138 SWIG_POINTER_EXCEPTION | 0)) == -1)
6139 SWIG_fail;
6140 if (arg7 == NULL) {
6141 PyErr_SetString(PyExc_TypeError,"null reference");
6142 SWIG_fail;
6143 }
6144 }
6145 if (obj7) {
6146 {
6147 arg8 = wxString_in_helper(obj7);
6148 if (arg8 == NULL) SWIG_fail;
6149 temp8 = True;
6150 }
6151 }
6152 {
6153 PyThreadState* __tstate = wxPyBeginAllowThreads();
6154 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6155
6156 wxPyEndAllowThreads(__tstate);
6157 if (PyErr_Occurred()) SWIG_fail;
6158 }
6159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6160 {
6161 if (temp5) delete arg5;
6162 }
6163 {
6164 if (temp8)
6165 delete arg8;
6166 }
6167 return resultobj;
6168 fail:
6169 {
6170 if (temp5) delete arg5;
6171 }
6172 {
6173 if (temp8)
6174 delete arg8;
6175 }
6176 return NULL;
6177 }
6178
6179
6180 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6181 PyObject *resultobj;
6182 wxCheckListBox *result;
6183 char *kwnames[] = {
6184 NULL
6185 };
6186
6187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6188 {
6189 PyThreadState* __tstate = wxPyBeginAllowThreads();
6190 result = (wxCheckListBox *)new wxCheckListBox();
6191
6192 wxPyEndAllowThreads(__tstate);
6193 if (PyErr_Occurred()) SWIG_fail;
6194 }
6195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6196 return resultobj;
6197 fail:
6198 return NULL;
6199 }
6200
6201
6202 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6203 PyObject *resultobj;
6204 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6205 wxWindow *arg2 = (wxWindow *) 0 ;
6206 int arg3 ;
6207 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6208 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6209 wxSize const &arg5_defvalue = wxDefaultSize ;
6210 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6211 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6212 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6213 long arg7 = (long) 0 ;
6214 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6215 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6216 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6217 wxString *arg9 = (wxString *) &arg9_defvalue ;
6218 bool result;
6219 wxPoint temp4 ;
6220 wxSize temp5 ;
6221 bool temp6 = False ;
6222 bool temp9 = False ;
6223 PyObject * obj0 = 0 ;
6224 PyObject * obj1 = 0 ;
6225 PyObject * obj2 = 0 ;
6226 PyObject * obj3 = 0 ;
6227 PyObject * obj4 = 0 ;
6228 PyObject * obj5 = 0 ;
6229 PyObject * obj6 = 0 ;
6230 PyObject * obj7 = 0 ;
6231 PyObject * obj8 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6239 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6241 arg3 = (int) SWIG_AsInt(obj2);
6242 if (PyErr_Occurred()) SWIG_fail;
6243 if (obj3) {
6244 {
6245 arg4 = &temp4;
6246 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6247 }
6248 }
6249 if (obj4) {
6250 {
6251 arg5 = &temp5;
6252 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6253 }
6254 }
6255 if (obj5) {
6256 {
6257 if (! PySequence_Check(obj5)) {
6258 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6259 SWIG_fail;
6260 }
6261 arg6 = new wxArrayString;
6262 temp6 = True;
6263 int i, len=PySequence_Length(obj5);
6264 for (i=0; i<len; i++) {
6265 PyObject* item = PySequence_GetItem(obj5, i);
6266 #if wxUSE_UNICODE
6267 PyObject* str = PyObject_Unicode(item);
6268 #else
6269 PyObject* str = PyObject_Str(item);
6270 #endif
6271 if (PyErr_Occurred()) SWIG_fail;
6272 arg6->Add(Py2wxString(str));
6273 Py_DECREF(item);
6274 Py_DECREF(str);
6275 }
6276 }
6277 }
6278 if (obj6) {
6279 arg7 = (long) SWIG_AsLong(obj6);
6280 if (PyErr_Occurred()) SWIG_fail;
6281 }
6282 if (obj7) {
6283 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6284 SWIG_POINTER_EXCEPTION | 0)) == -1)
6285 SWIG_fail;
6286 if (arg8 == NULL) {
6287 PyErr_SetString(PyExc_TypeError,"null reference");
6288 SWIG_fail;
6289 }
6290 }
6291 if (obj8) {
6292 {
6293 arg9 = wxString_in_helper(obj8);
6294 if (arg9 == NULL) SWIG_fail;
6295 temp9 = True;
6296 }
6297 }
6298 {
6299 PyThreadState* __tstate = wxPyBeginAllowThreads();
6300 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6301
6302 wxPyEndAllowThreads(__tstate);
6303 if (PyErr_Occurred()) SWIG_fail;
6304 }
6305 {
6306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6307 }
6308 {
6309 if (temp6) delete arg6;
6310 }
6311 {
6312 if (temp9)
6313 delete arg9;
6314 }
6315 return resultobj;
6316 fail:
6317 {
6318 if (temp6) delete arg6;
6319 }
6320 {
6321 if (temp9)
6322 delete arg9;
6323 }
6324 return NULL;
6325 }
6326
6327
6328 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6329 PyObject *resultobj;
6330 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6331 int arg2 ;
6332 bool result;
6333 PyObject * obj0 = 0 ;
6334 PyObject * obj1 = 0 ;
6335 char *kwnames[] = {
6336 (char *) "self",(char *) "index", NULL
6337 };
6338
6339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6342 arg2 = (int) SWIG_AsInt(obj1);
6343 if (PyErr_Occurred()) SWIG_fail;
6344 {
6345 PyThreadState* __tstate = wxPyBeginAllowThreads();
6346 result = (bool)(arg1)->IsChecked(arg2);
6347
6348 wxPyEndAllowThreads(__tstate);
6349 if (PyErr_Occurred()) SWIG_fail;
6350 }
6351 {
6352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6353 }
6354 return resultobj;
6355 fail:
6356 return NULL;
6357 }
6358
6359
6360 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6361 PyObject *resultobj;
6362 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6363 int arg2 ;
6364 int arg3 = (int) True ;
6365 PyObject * obj0 = 0 ;
6366 PyObject * obj1 = 0 ;
6367 PyObject * obj2 = 0 ;
6368 char *kwnames[] = {
6369 (char *) "self",(char *) "index",(char *) "check", NULL
6370 };
6371
6372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6375 arg2 = (int) SWIG_AsInt(obj1);
6376 if (PyErr_Occurred()) SWIG_fail;
6377 if (obj2) {
6378 arg3 = (int) SWIG_AsInt(obj2);
6379 if (PyErr_Occurred()) SWIG_fail;
6380 }
6381 {
6382 PyThreadState* __tstate = wxPyBeginAllowThreads();
6383 (arg1)->Check(arg2,arg3);
6384
6385 wxPyEndAllowThreads(__tstate);
6386 if (PyErr_Occurred()) SWIG_fail;
6387 }
6388 Py_INCREF(Py_None); resultobj = Py_None;
6389 return resultobj;
6390 fail:
6391 return NULL;
6392 }
6393
6394
6395 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6396 PyObject *resultobj;
6397 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6398 wxPoint *arg2 = 0 ;
6399 int result;
6400 wxPoint temp2 ;
6401 PyObject * obj0 = 0 ;
6402 PyObject * obj1 = 0 ;
6403 char *kwnames[] = {
6404 (char *) "self",(char *) "pt", NULL
6405 };
6406
6407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6410 {
6411 arg2 = &temp2;
6412 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6413 }
6414 {
6415 PyThreadState* __tstate = wxPyBeginAllowThreads();
6416 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6417
6418 wxPyEndAllowThreads(__tstate);
6419 if (PyErr_Occurred()) SWIG_fail;
6420 }
6421 resultobj = SWIG_FromInt((int)result);
6422 return resultobj;
6423 fail:
6424 return NULL;
6425 }
6426
6427
6428 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6429 PyObject *resultobj;
6430 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6431 int arg2 ;
6432 int arg3 ;
6433 int result;
6434 PyObject * obj0 = 0 ;
6435 PyObject * obj1 = 0 ;
6436 PyObject * obj2 = 0 ;
6437 char *kwnames[] = {
6438 (char *) "self",(char *) "x",(char *) "y", NULL
6439 };
6440
6441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6444 arg2 = (int) SWIG_AsInt(obj1);
6445 if (PyErr_Occurred()) SWIG_fail;
6446 arg3 = (int) SWIG_AsInt(obj2);
6447 if (PyErr_Occurred()) SWIG_fail;
6448 {
6449 PyThreadState* __tstate = wxPyBeginAllowThreads();
6450 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6451
6452 wxPyEndAllowThreads(__tstate);
6453 if (PyErr_Occurred()) SWIG_fail;
6454 }
6455 resultobj = SWIG_FromInt((int)result);
6456 return resultobj;
6457 fail:
6458 return NULL;
6459 }
6460
6461
6462 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6463 PyObject *obj;
6464 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6465 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6466 Py_INCREF(obj);
6467 return Py_BuildValue((char *)"");
6468 }
6469 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6470 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6471 return 1;
6472 }
6473
6474
6475 static PyObject *_wrap_TextCtrlNameStr_get() {
6476 PyObject *pyobj;
6477
6478 {
6479 #if wxUSE_UNICODE
6480 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6481 #else
6482 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6483 #endif
6484 }
6485 return pyobj;
6486 }
6487
6488
6489 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6490 PyObject *resultobj;
6491 wxTextAttr *result;
6492
6493 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6494 {
6495 PyThreadState* __tstate = wxPyBeginAllowThreads();
6496 result = (wxTextAttr *)new wxTextAttr();
6497
6498 wxPyEndAllowThreads(__tstate);
6499 if (PyErr_Occurred()) SWIG_fail;
6500 }
6501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6502 return resultobj;
6503 fail:
6504 return NULL;
6505 }
6506
6507
6508 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
6509 PyObject *resultobj;
6510 wxColour *arg1 = 0 ;
6511 wxColour const &arg2_defvalue = wxNullColour ;
6512 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6513 wxFont const &arg3_defvalue = wxNullFont ;
6514 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6515 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6516 wxTextAttr *result;
6517 wxColour temp1 ;
6518 wxColour temp2 ;
6519 PyObject * obj0 = 0 ;
6520 PyObject * obj1 = 0 ;
6521 PyObject * obj2 = 0 ;
6522 PyObject * obj3 = 0 ;
6523
6524 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6525 {
6526 arg1 = &temp1;
6527 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6528 }
6529 if (obj1) {
6530 {
6531 arg2 = &temp2;
6532 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6533 }
6534 }
6535 if (obj2) {
6536 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6537 SWIG_POINTER_EXCEPTION | 0)) == -1)
6538 SWIG_fail;
6539 if (arg3 == NULL) {
6540 PyErr_SetString(PyExc_TypeError,"null reference");
6541 SWIG_fail;
6542 }
6543 }
6544 if (obj3) {
6545 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
6546 if (PyErr_Occurred()) SWIG_fail;
6547 }
6548 {
6549 PyThreadState* __tstate = wxPyBeginAllowThreads();
6550 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6551
6552 wxPyEndAllowThreads(__tstate);
6553 if (PyErr_Occurred()) SWIG_fail;
6554 }
6555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6556 return resultobj;
6557 fail:
6558 return NULL;
6559 }
6560
6561
6562 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6563 int argc;
6564 PyObject *argv[5];
6565 int ii;
6566
6567 argc = PyObject_Length(args);
6568 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6569 argv[ii] = PyTuple_GetItem(args,ii);
6570 }
6571 if (argc == 0) {
6572 return _wrap_new_TextAttr__SWIG_0(self,args);
6573 }
6574 if ((argc >= 1) && (argc <= 4)) {
6575 int _v;
6576 {
6577 _v = wxColour_typecheck(argv[0]);
6578 }
6579 if (_v) {
6580 if (argc <= 1) {
6581 return _wrap_new_TextAttr__SWIG_1(self,args);
6582 }
6583 {
6584 _v = wxColour_typecheck(argv[1]);
6585 }
6586 if (_v) {
6587 if (argc <= 2) {
6588 return _wrap_new_TextAttr__SWIG_1(self,args);
6589 }
6590 {
6591 void *ptr;
6592 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
6593 _v = 0;
6594 PyErr_Clear();
6595 } else {
6596 _v = 1;
6597 }
6598 }
6599 if (_v) {
6600 if (argc <= 3) {
6601 return _wrap_new_TextAttr__SWIG_1(self,args);
6602 }
6603 _v = SWIG_CheckInt(argv[3]);
6604 if (_v) {
6605 return _wrap_new_TextAttr__SWIG_1(self,args);
6606 }
6607 }
6608 }
6609 }
6610 }
6611
6612 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6613 return NULL;
6614 }
6615
6616
6617 static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6618 PyObject *resultobj;
6619 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6620 PyObject * obj0 = 0 ;
6621 char *kwnames[] = {
6622 (char *) "self", NULL
6623 };
6624
6625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
6626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6628 {
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 delete arg1;
6631
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 Py_INCREF(Py_None); resultobj = Py_None;
6636 return resultobj;
6637 fail:
6638 return NULL;
6639 }
6640
6641
6642 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
6643 PyObject *resultobj;
6644 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6645 PyObject * obj0 = 0 ;
6646 char *kwnames[] = {
6647 (char *) "self", NULL
6648 };
6649
6650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
6651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6653 {
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 (arg1)->Init();
6656
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 Py_INCREF(Py_None); resultobj = Py_None;
6661 return resultobj;
6662 fail:
6663 return NULL;
6664 }
6665
6666
6667 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6668 PyObject *resultobj;
6669 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6670 wxColour *arg2 = 0 ;
6671 wxColour temp2 ;
6672 PyObject * obj0 = 0 ;
6673 PyObject * obj1 = 0 ;
6674 char *kwnames[] = {
6675 (char *) "self",(char *) "colText", NULL
6676 };
6677
6678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
6679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6681 {
6682 arg2 = &temp2;
6683 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6684 }
6685 {
6686 PyThreadState* __tstate = wxPyBeginAllowThreads();
6687 (arg1)->SetTextColour((wxColour const &)*arg2);
6688
6689 wxPyEndAllowThreads(__tstate);
6690 if (PyErr_Occurred()) SWIG_fail;
6691 }
6692 Py_INCREF(Py_None); resultobj = Py_None;
6693 return resultobj;
6694 fail:
6695 return NULL;
6696 }
6697
6698
6699 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6700 PyObject *resultobj;
6701 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6702 wxColour *arg2 = 0 ;
6703 wxColour temp2 ;
6704 PyObject * obj0 = 0 ;
6705 PyObject * obj1 = 0 ;
6706 char *kwnames[] = {
6707 (char *) "self",(char *) "colBack", NULL
6708 };
6709
6710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6713 {
6714 arg2 = &temp2;
6715 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6716 }
6717 {
6718 PyThreadState* __tstate = wxPyBeginAllowThreads();
6719 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6720
6721 wxPyEndAllowThreads(__tstate);
6722 if (PyErr_Occurred()) SWIG_fail;
6723 }
6724 Py_INCREF(Py_None); resultobj = Py_None;
6725 return resultobj;
6726 fail:
6727 return NULL;
6728 }
6729
6730
6731 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6732 PyObject *resultobj;
6733 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6734 wxFont *arg2 = 0 ;
6735 long arg3 = (long) wxTEXT_ATTR_FONT ;
6736 PyObject * obj0 = 0 ;
6737 PyObject * obj1 = 0 ;
6738 PyObject * obj2 = 0 ;
6739 char *kwnames[] = {
6740 (char *) "self",(char *) "font",(char *) "flags", NULL
6741 };
6742
6743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6746 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
6747 SWIG_POINTER_EXCEPTION | 0)) == -1)
6748 SWIG_fail;
6749 if (arg2 == NULL) {
6750 PyErr_SetString(PyExc_TypeError,"null reference");
6751 SWIG_fail;
6752 }
6753 if (obj2) {
6754 arg3 = (long) SWIG_AsLong(obj2);
6755 if (PyErr_Occurred()) SWIG_fail;
6756 }
6757 {
6758 PyThreadState* __tstate = wxPyBeginAllowThreads();
6759 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6760
6761 wxPyEndAllowThreads(__tstate);
6762 if (PyErr_Occurred()) SWIG_fail;
6763 }
6764 Py_INCREF(Py_None); resultobj = Py_None;
6765 return resultobj;
6766 fail:
6767 return NULL;
6768 }
6769
6770
6771 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6772 PyObject *resultobj;
6773 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6774 int arg2 ;
6775 PyObject * obj0 = 0 ;
6776 PyObject * obj1 = 0 ;
6777 char *kwnames[] = {
6778 (char *) "self",(char *) "alignment", NULL
6779 };
6780
6781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
6782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6784 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
6785 if (PyErr_Occurred()) SWIG_fail;
6786 {
6787 PyThreadState* __tstate = wxPyBeginAllowThreads();
6788 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6789
6790 wxPyEndAllowThreads(__tstate);
6791 if (PyErr_Occurred()) SWIG_fail;
6792 }
6793 Py_INCREF(Py_None); resultobj = Py_None;
6794 return resultobj;
6795 fail:
6796 return NULL;
6797 }
6798
6799
6800 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6801 PyObject *resultobj;
6802 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6803 wxArrayInt *arg2 = 0 ;
6804 bool temp2 = False ;
6805 PyObject * obj0 = 0 ;
6806 PyObject * obj1 = 0 ;
6807 char *kwnames[] = {
6808 (char *) "self",(char *) "tabs", NULL
6809 };
6810
6811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6814 {
6815 if (! PySequence_Check(obj1)) {
6816 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6817 SWIG_fail;
6818 }
6819 arg2 = new wxArrayInt;
6820 temp2 = True;
6821 int i, len=PySequence_Length(obj1);
6822 for (i=0; i<len; i++) {
6823 PyObject* item = PySequence_GetItem(obj1, i);
6824 PyObject* number = PyNumber_Int(item);
6825 arg2->Add(PyInt_AS_LONG(number));
6826 Py_DECREF(item);
6827 Py_DECREF(number);
6828 }
6829 }
6830 {
6831 PyThreadState* __tstate = wxPyBeginAllowThreads();
6832 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6833
6834 wxPyEndAllowThreads(__tstate);
6835 if (PyErr_Occurred()) SWIG_fail;
6836 }
6837 Py_INCREF(Py_None); resultobj = Py_None;
6838 {
6839 if (temp2) delete arg2;
6840 }
6841 return resultobj;
6842 fail:
6843 {
6844 if (temp2) delete arg2;
6845 }
6846 return NULL;
6847 }
6848
6849
6850 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6851 PyObject *resultobj;
6852 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6853 int arg2 ;
6854 PyObject * obj0 = 0 ;
6855 PyObject * obj1 = 0 ;
6856 char *kwnames[] = {
6857 (char *) "self",(char *) "indent", NULL
6858 };
6859
6860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
6861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6863 arg2 = (int) SWIG_AsInt(obj1);
6864 if (PyErr_Occurred()) SWIG_fail;
6865 {
6866 PyThreadState* __tstate = wxPyBeginAllowThreads();
6867 (arg1)->SetLeftIndent(arg2);
6868
6869 wxPyEndAllowThreads(__tstate);
6870 if (PyErr_Occurred()) SWIG_fail;
6871 }
6872 Py_INCREF(Py_None); resultobj = Py_None;
6873 return resultobj;
6874 fail:
6875 return NULL;
6876 }
6877
6878
6879 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6880 PyObject *resultobj;
6881 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6882 int arg2 ;
6883 PyObject * obj0 = 0 ;
6884 PyObject * obj1 = 0 ;
6885 char *kwnames[] = {
6886 (char *) "self",(char *) "indent", NULL
6887 };
6888
6889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
6890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6892 arg2 = (int) SWIG_AsInt(obj1);
6893 if (PyErr_Occurred()) SWIG_fail;
6894 {
6895 PyThreadState* __tstate = wxPyBeginAllowThreads();
6896 (arg1)->SetRightIndent(arg2);
6897
6898 wxPyEndAllowThreads(__tstate);
6899 if (PyErr_Occurred()) SWIG_fail;
6900 }
6901 Py_INCREF(Py_None); resultobj = Py_None;
6902 return resultobj;
6903 fail:
6904 return NULL;
6905 }
6906
6907
6908 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6909 PyObject *resultobj;
6910 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6911 long arg2 ;
6912 PyObject * obj0 = 0 ;
6913 PyObject * obj1 = 0 ;
6914 char *kwnames[] = {
6915 (char *) "self",(char *) "flags", NULL
6916 };
6917
6918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
6919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6921 arg2 = (long) SWIG_AsLong(obj1);
6922 if (PyErr_Occurred()) SWIG_fail;
6923 {
6924 PyThreadState* __tstate = wxPyBeginAllowThreads();
6925 (arg1)->SetFlags(arg2);
6926
6927 wxPyEndAllowThreads(__tstate);
6928 if (PyErr_Occurred()) SWIG_fail;
6929 }
6930 Py_INCREF(Py_None); resultobj = Py_None;
6931 return resultobj;
6932 fail:
6933 return NULL;
6934 }
6935
6936
6937 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6938 PyObject *resultobj;
6939 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6940 bool result;
6941 PyObject * obj0 = 0 ;
6942 char *kwnames[] = {
6943 (char *) "self", NULL
6944 };
6945
6946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6949 {
6950 PyThreadState* __tstate = wxPyBeginAllowThreads();
6951 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6952
6953 wxPyEndAllowThreads(__tstate);
6954 if (PyErr_Occurred()) SWIG_fail;
6955 }
6956 {
6957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6958 }
6959 return resultobj;
6960 fail:
6961 return NULL;
6962 }
6963
6964
6965 static PyObject *_wrap_TextAttr_HasBackgroundColour(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_HasBackgroundColour",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)->HasBackgroundColour();
6980
6981 wxPyEndAllowThreads(__tstate);
6982 if (PyErr_Occurred()) SWIG_fail;
6983 }
6984 {
6985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6986 }
6987 return resultobj;
6988 fail:
6989 return NULL;
6990 }
6991
6992
6993 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6994 PyObject *resultobj;
6995 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6996 bool result;
6997 PyObject * obj0 = 0 ;
6998 char *kwnames[] = {
6999 (char *) "self", NULL
7000 };
7001
7002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
7003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7005 {
7006 PyThreadState* __tstate = wxPyBeginAllowThreads();
7007 result = (bool)((wxTextAttr const *)arg1)->HasFont();
7008
7009 wxPyEndAllowThreads(__tstate);
7010 if (PyErr_Occurred()) SWIG_fail;
7011 }
7012 {
7013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7014 }
7015 return resultobj;
7016 fail:
7017 return NULL;
7018 }
7019
7020
7021 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7022 PyObject *resultobj;
7023 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7024 bool result;
7025 PyObject * obj0 = 0 ;
7026 char *kwnames[] = {
7027 (char *) "self", NULL
7028 };
7029
7030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
7031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7033 {
7034 PyThreadState* __tstate = wxPyBeginAllowThreads();
7035 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7036
7037 wxPyEndAllowThreads(__tstate);
7038 if (PyErr_Occurred()) SWIG_fail;
7039 }
7040 {
7041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7042 }
7043 return resultobj;
7044 fail:
7045 return NULL;
7046 }
7047
7048
7049 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7050 PyObject *resultobj;
7051 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7052 bool result;
7053 PyObject * obj0 = 0 ;
7054 char *kwnames[] = {
7055 (char *) "self", NULL
7056 };
7057
7058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
7059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7061 {
7062 PyThreadState* __tstate = wxPyBeginAllowThreads();
7063 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7064
7065 wxPyEndAllowThreads(__tstate);
7066 if (PyErr_Occurred()) SWIG_fail;
7067 }
7068 {
7069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7070 }
7071 return resultobj;
7072 fail:
7073 return NULL;
7074 }
7075
7076
7077 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7078 PyObject *resultobj;
7079 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7080 bool result;
7081 PyObject * obj0 = 0 ;
7082 char *kwnames[] = {
7083 (char *) "self", NULL
7084 };
7085
7086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
7087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7089 {
7090 PyThreadState* __tstate = wxPyBeginAllowThreads();
7091 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7092
7093 wxPyEndAllowThreads(__tstate);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 }
7096 {
7097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7098 }
7099 return resultobj;
7100 fail:
7101 return NULL;
7102 }
7103
7104
7105 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7106 PyObject *resultobj;
7107 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7108 bool result;
7109 PyObject * obj0 = 0 ;
7110 char *kwnames[] = {
7111 (char *) "self", NULL
7112 };
7113
7114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
7115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7117 {
7118 PyThreadState* __tstate = wxPyBeginAllowThreads();
7119 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7120
7121 wxPyEndAllowThreads(__tstate);
7122 if (PyErr_Occurred()) SWIG_fail;
7123 }
7124 {
7125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7126 }
7127 return resultobj;
7128 fail:
7129 return NULL;
7130 }
7131
7132
7133 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
7134 PyObject *resultobj;
7135 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7136 long arg2 ;
7137 bool result;
7138 PyObject * obj0 = 0 ;
7139 PyObject * obj1 = 0 ;
7140 char *kwnames[] = {
7141 (char *) "self",(char *) "flag", NULL
7142 };
7143
7144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7147 arg2 = (long) SWIG_AsLong(obj1);
7148 if (PyErr_Occurred()) SWIG_fail;
7149 {
7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7151 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7152
7153 wxPyEndAllowThreads(__tstate);
7154 if (PyErr_Occurred()) SWIG_fail;
7155 }
7156 {
7157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7158 }
7159 return resultobj;
7160 fail:
7161 return NULL;
7162 }
7163
7164
7165 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7166 PyObject *resultobj;
7167 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7168 wxColour *result;
7169 PyObject * obj0 = 0 ;
7170 char *kwnames[] = {
7171 (char *) "self", NULL
7172 };
7173
7174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7177 {
7178 PyThreadState* __tstate = wxPyBeginAllowThreads();
7179 {
7180 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7181 result = (wxColour *) &_result_ref;
7182 }
7183
7184 wxPyEndAllowThreads(__tstate);
7185 if (PyErr_Occurred()) SWIG_fail;
7186 }
7187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7188 return resultobj;
7189 fail:
7190 return NULL;
7191 }
7192
7193
7194 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7195 PyObject *resultobj;
7196 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7197 wxColour *result;
7198 PyObject * obj0 = 0 ;
7199 char *kwnames[] = {
7200 (char *) "self", NULL
7201 };
7202
7203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7206 {
7207 PyThreadState* __tstate = wxPyBeginAllowThreads();
7208 {
7209 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7210 result = (wxColour *) &_result_ref;
7211 }
7212
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7217 return resultobj;
7218 fail:
7219 return NULL;
7220 }
7221
7222
7223 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7224 PyObject *resultobj;
7225 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7226 wxFont *result;
7227 PyObject * obj0 = 0 ;
7228 char *kwnames[] = {
7229 (char *) "self", NULL
7230 };
7231
7232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7235 {
7236 PyThreadState* __tstate = wxPyBeginAllowThreads();
7237 {
7238 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7239 result = (wxFont *) &_result_ref;
7240 }
7241
7242 wxPyEndAllowThreads(__tstate);
7243 if (PyErr_Occurred()) SWIG_fail;
7244 }
7245 {
7246 wxFont* resultptr = new wxFont(*result);
7247 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7248 }
7249 return resultobj;
7250 fail:
7251 return NULL;
7252 }
7253
7254
7255 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7256 PyObject *resultobj;
7257 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7258 int result;
7259 PyObject * obj0 = 0 ;
7260 char *kwnames[] = {
7261 (char *) "self", NULL
7262 };
7263
7264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7267 {
7268 PyThreadState* __tstate = wxPyBeginAllowThreads();
7269 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7270
7271 wxPyEndAllowThreads(__tstate);
7272 if (PyErr_Occurred()) SWIG_fail;
7273 }
7274 resultobj = SWIG_FromInt((int)result);
7275 return resultobj;
7276 fail:
7277 return NULL;
7278 }
7279
7280
7281 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7282 PyObject *resultobj;
7283 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7284 wxArrayInt *result;
7285 PyObject * obj0 = 0 ;
7286 char *kwnames[] = {
7287 (char *) "self", NULL
7288 };
7289
7290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7293 {
7294 PyThreadState* __tstate = wxPyBeginAllowThreads();
7295 {
7296 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7297 result = (wxArrayInt *) &_result_ref;
7298 }
7299
7300 wxPyEndAllowThreads(__tstate);
7301 if (PyErr_Occurred()) SWIG_fail;
7302 }
7303 {
7304 resultobj = PyList_New(0);
7305 size_t idx;
7306 for (idx = 0; idx < result->GetCount(); idx += 1) {
7307 PyObject* val = PyInt_FromLong( result->Item(idx) );
7308 PyList_Append(resultobj, val);
7309 Py_DECREF(val);
7310 }
7311 }
7312 return resultobj;
7313 fail:
7314 return NULL;
7315 }
7316
7317
7318 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7319 PyObject *resultobj;
7320 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7321 long result;
7322 PyObject * obj0 = 0 ;
7323 char *kwnames[] = {
7324 (char *) "self", NULL
7325 };
7326
7327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7330 {
7331 PyThreadState* __tstate = wxPyBeginAllowThreads();
7332 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7333
7334 wxPyEndAllowThreads(__tstate);
7335 if (PyErr_Occurred()) SWIG_fail;
7336 }
7337 resultobj = SWIG_FromLong((long)result);
7338 return resultobj;
7339 fail:
7340 return NULL;
7341 }
7342
7343
7344 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7345 PyObject *resultobj;
7346 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7347 long result;
7348 PyObject * obj0 = 0 ;
7349 char *kwnames[] = {
7350 (char *) "self", NULL
7351 };
7352
7353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7356 {
7357 PyThreadState* __tstate = wxPyBeginAllowThreads();
7358 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7359
7360 wxPyEndAllowThreads(__tstate);
7361 if (PyErr_Occurred()) SWIG_fail;
7362 }
7363 resultobj = SWIG_FromLong((long)result);
7364 return resultobj;
7365 fail:
7366 return NULL;
7367 }
7368
7369
7370 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7371 PyObject *resultobj;
7372 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7373 long result;
7374 PyObject * obj0 = 0 ;
7375 char *kwnames[] = {
7376 (char *) "self", NULL
7377 };
7378
7379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7382 {
7383 PyThreadState* __tstate = wxPyBeginAllowThreads();
7384 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7385
7386 wxPyEndAllowThreads(__tstate);
7387 if (PyErr_Occurred()) SWIG_fail;
7388 }
7389 resultobj = SWIG_FromLong((long)result);
7390 return resultobj;
7391 fail:
7392 return NULL;
7393 }
7394
7395
7396 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7397 PyObject *resultobj;
7398 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7399 bool result;
7400 PyObject * obj0 = 0 ;
7401 char *kwnames[] = {
7402 (char *) "self", NULL
7403 };
7404
7405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7408 {
7409 PyThreadState* __tstate = wxPyBeginAllowThreads();
7410 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7411
7412 wxPyEndAllowThreads(__tstate);
7413 if (PyErr_Occurred()) SWIG_fail;
7414 }
7415 {
7416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7417 }
7418 return resultobj;
7419 fail:
7420 return NULL;
7421 }
7422
7423
7424 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7425 PyObject *resultobj;
7426 wxTextAttr *arg1 = 0 ;
7427 wxTextAttr *arg2 = 0 ;
7428 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7429 wxTextAttr result;
7430 PyObject * obj0 = 0 ;
7431 PyObject * obj1 = 0 ;
7432 PyObject * obj2 = 0 ;
7433 char *kwnames[] = {
7434 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7435 };
7436
7437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7439 SWIG_POINTER_EXCEPTION | 0)) == -1)
7440 SWIG_fail;
7441 if (arg1 == NULL) {
7442 PyErr_SetString(PyExc_TypeError,"null reference");
7443 SWIG_fail;
7444 }
7445 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7446 SWIG_POINTER_EXCEPTION | 0)) == -1)
7447 SWIG_fail;
7448 if (arg2 == NULL) {
7449 PyErr_SetString(PyExc_TypeError,"null reference");
7450 SWIG_fail;
7451 }
7452 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7454 {
7455 PyThreadState* __tstate = wxPyBeginAllowThreads();
7456 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7457
7458 wxPyEndAllowThreads(__tstate);
7459 if (PyErr_Occurred()) SWIG_fail;
7460 }
7461 {
7462 wxTextAttr * resultptr;
7463 resultptr = new wxTextAttr((wxTextAttr &) result);
7464 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
7465 }
7466 return resultobj;
7467 fail:
7468 return NULL;
7469 }
7470
7471
7472 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7473 PyObject *obj;
7474 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7475 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7476 Py_INCREF(obj);
7477 return Py_BuildValue((char *)"");
7478 }
7479 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7480 PyObject *resultobj;
7481 wxWindow *arg1 = (wxWindow *) 0 ;
7482 int arg2 ;
7483 wxString const &arg3_defvalue = wxPyEmptyString ;
7484 wxString *arg3 = (wxString *) &arg3_defvalue ;
7485 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7486 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7487 wxSize const &arg5_defvalue = wxDefaultSize ;
7488 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7489 long arg6 = (long) 0 ;
7490 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7491 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7492 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7493 wxString *arg8 = (wxString *) &arg8_defvalue ;
7494 wxTextCtrl *result;
7495 bool temp3 = False ;
7496 wxPoint temp4 ;
7497 wxSize temp5 ;
7498 bool temp8 = False ;
7499 PyObject * obj0 = 0 ;
7500 PyObject * obj1 = 0 ;
7501 PyObject * obj2 = 0 ;
7502 PyObject * obj3 = 0 ;
7503 PyObject * obj4 = 0 ;
7504 PyObject * obj5 = 0 ;
7505 PyObject * obj6 = 0 ;
7506 PyObject * obj7 = 0 ;
7507 char *kwnames[] = {
7508 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7509 };
7510
7511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7514 arg2 = (int) SWIG_AsInt(obj1);
7515 if (PyErr_Occurred()) SWIG_fail;
7516 if (obj2) {
7517 {
7518 arg3 = wxString_in_helper(obj2);
7519 if (arg3 == NULL) SWIG_fail;
7520 temp3 = True;
7521 }
7522 }
7523 if (obj3) {
7524 {
7525 arg4 = &temp4;
7526 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7527 }
7528 }
7529 if (obj4) {
7530 {
7531 arg5 = &temp5;
7532 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7533 }
7534 }
7535 if (obj5) {
7536 arg6 = (long) SWIG_AsLong(obj5);
7537 if (PyErr_Occurred()) SWIG_fail;
7538 }
7539 if (obj6) {
7540 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
7541 SWIG_POINTER_EXCEPTION | 0)) == -1)
7542 SWIG_fail;
7543 if (arg7 == NULL) {
7544 PyErr_SetString(PyExc_TypeError,"null reference");
7545 SWIG_fail;
7546 }
7547 }
7548 if (obj7) {
7549 {
7550 arg8 = wxString_in_helper(obj7);
7551 if (arg8 == NULL) SWIG_fail;
7552 temp8 = True;
7553 }
7554 }
7555 {
7556 PyThreadState* __tstate = wxPyBeginAllowThreads();
7557 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7558
7559 wxPyEndAllowThreads(__tstate);
7560 if (PyErr_Occurred()) SWIG_fail;
7561 }
7562 {
7563 resultobj = wxPyMake_wxObject(result);
7564 }
7565 {
7566 if (temp3)
7567 delete arg3;
7568 }
7569 {
7570 if (temp8)
7571 delete arg8;
7572 }
7573 return resultobj;
7574 fail:
7575 {
7576 if (temp3)
7577 delete arg3;
7578 }
7579 {
7580 if (temp8)
7581 delete arg8;
7582 }
7583 return NULL;
7584 }
7585
7586
7587 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7588 PyObject *resultobj;
7589 wxTextCtrl *result;
7590 char *kwnames[] = {
7591 NULL
7592 };
7593
7594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7595 {
7596 PyThreadState* __tstate = wxPyBeginAllowThreads();
7597 result = (wxTextCtrl *)new wxTextCtrl();
7598
7599 wxPyEndAllowThreads(__tstate);
7600 if (PyErr_Occurred()) SWIG_fail;
7601 }
7602 {
7603 resultobj = wxPyMake_wxObject(result);
7604 }
7605 return resultobj;
7606 fail:
7607 return NULL;
7608 }
7609
7610
7611 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7612 PyObject *resultobj;
7613 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7614 wxWindow *arg2 = (wxWindow *) 0 ;
7615 int arg3 ;
7616 wxString const &arg4_defvalue = wxPyEmptyString ;
7617 wxString *arg4 = (wxString *) &arg4_defvalue ;
7618 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7619 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7620 wxSize const &arg6_defvalue = wxDefaultSize ;
7621 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7622 long arg7 = (long) 0 ;
7623 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7624 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7625 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7626 wxString *arg9 = (wxString *) &arg9_defvalue ;
7627 bool result;
7628 bool temp4 = False ;
7629 wxPoint temp5 ;
7630 wxSize temp6 ;
7631 bool temp9 = False ;
7632 PyObject * obj0 = 0 ;
7633 PyObject * obj1 = 0 ;
7634 PyObject * obj2 = 0 ;
7635 PyObject * obj3 = 0 ;
7636 PyObject * obj4 = 0 ;
7637 PyObject * obj5 = 0 ;
7638 PyObject * obj6 = 0 ;
7639 PyObject * obj7 = 0 ;
7640 PyObject * obj8 = 0 ;
7641 char *kwnames[] = {
7642 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7643 };
7644
7645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7648 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7650 arg3 = (int) SWIG_AsInt(obj2);
7651 if (PyErr_Occurred()) SWIG_fail;
7652 if (obj3) {
7653 {
7654 arg4 = wxString_in_helper(obj3);
7655 if (arg4 == NULL) SWIG_fail;
7656 temp4 = True;
7657 }
7658 }
7659 if (obj4) {
7660 {
7661 arg5 = &temp5;
7662 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7663 }
7664 }
7665 if (obj5) {
7666 {
7667 arg6 = &temp6;
7668 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7669 }
7670 }
7671 if (obj6) {
7672 arg7 = (long) SWIG_AsLong(obj6);
7673 if (PyErr_Occurred()) SWIG_fail;
7674 }
7675 if (obj7) {
7676 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
7677 SWIG_POINTER_EXCEPTION | 0)) == -1)
7678 SWIG_fail;
7679 if (arg8 == NULL) {
7680 PyErr_SetString(PyExc_TypeError,"null reference");
7681 SWIG_fail;
7682 }
7683 }
7684 if (obj8) {
7685 {
7686 arg9 = wxString_in_helper(obj8);
7687 if (arg9 == NULL) SWIG_fail;
7688 temp9 = True;
7689 }
7690 }
7691 {
7692 PyThreadState* __tstate = wxPyBeginAllowThreads();
7693 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7694
7695 wxPyEndAllowThreads(__tstate);
7696 if (PyErr_Occurred()) SWIG_fail;
7697 }
7698 {
7699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7700 }
7701 {
7702 if (temp4)
7703 delete arg4;
7704 }
7705 {
7706 if (temp9)
7707 delete arg9;
7708 }
7709 return resultobj;
7710 fail:
7711 {
7712 if (temp4)
7713 delete arg4;
7714 }
7715 {
7716 if (temp9)
7717 delete arg9;
7718 }
7719 return NULL;
7720 }
7721
7722
7723 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7724 PyObject *resultobj;
7725 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7726 wxString result;
7727 PyObject * obj0 = 0 ;
7728 char *kwnames[] = {
7729 (char *) "self", NULL
7730 };
7731
7732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
7733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7735 {
7736 PyThreadState* __tstate = wxPyBeginAllowThreads();
7737 result = ((wxTextCtrl const *)arg1)->GetValue();
7738
7739 wxPyEndAllowThreads(__tstate);
7740 if (PyErr_Occurred()) SWIG_fail;
7741 }
7742 {
7743 #if wxUSE_UNICODE
7744 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7745 #else
7746 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7747 #endif
7748 }
7749 return resultobj;
7750 fail:
7751 return NULL;
7752 }
7753
7754
7755 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7756 PyObject *resultobj;
7757 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7758 wxString *arg2 = 0 ;
7759 bool temp2 = False ;
7760 PyObject * obj0 = 0 ;
7761 PyObject * obj1 = 0 ;
7762 char *kwnames[] = {
7763 (char *) "self",(char *) "value", NULL
7764 };
7765
7766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
7767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7769 {
7770 arg2 = wxString_in_helper(obj1);
7771 if (arg2 == NULL) SWIG_fail;
7772 temp2 = True;
7773 }
7774 {
7775 PyThreadState* __tstate = wxPyBeginAllowThreads();
7776 (arg1)->SetValue((wxString const &)*arg2);
7777
7778 wxPyEndAllowThreads(__tstate);
7779 if (PyErr_Occurred()) SWIG_fail;
7780 }
7781 Py_INCREF(Py_None); resultobj = Py_None;
7782 {
7783 if (temp2)
7784 delete arg2;
7785 }
7786 return resultobj;
7787 fail:
7788 {
7789 if (temp2)
7790 delete arg2;
7791 }
7792 return NULL;
7793 }
7794
7795
7796 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7797 PyObject *resultobj;
7798 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7799 long arg2 ;
7800 long arg3 ;
7801 wxString result;
7802 PyObject * obj0 = 0 ;
7803 PyObject * obj1 = 0 ;
7804 PyObject * obj2 = 0 ;
7805 char *kwnames[] = {
7806 (char *) "self",(char *) "from",(char *) "to", NULL
7807 };
7808
7809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7812 arg2 = (long) SWIG_AsLong(obj1);
7813 if (PyErr_Occurred()) SWIG_fail;
7814 arg3 = (long) SWIG_AsLong(obj2);
7815 if (PyErr_Occurred()) SWIG_fail;
7816 {
7817 PyThreadState* __tstate = wxPyBeginAllowThreads();
7818 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7819
7820 wxPyEndAllowThreads(__tstate);
7821 if (PyErr_Occurred()) SWIG_fail;
7822 }
7823 {
7824 #if wxUSE_UNICODE
7825 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7826 #else
7827 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7828 #endif
7829 }
7830 return resultobj;
7831 fail:
7832 return NULL;
7833 }
7834
7835
7836 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7837 PyObject *resultobj;
7838 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7839 long arg2 ;
7840 int result;
7841 PyObject * obj0 = 0 ;
7842 PyObject * obj1 = 0 ;
7843 char *kwnames[] = {
7844 (char *) "self",(char *) "lineNo", NULL
7845 };
7846
7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
7848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7850 arg2 = (long) SWIG_AsLong(obj1);
7851 if (PyErr_Occurred()) SWIG_fail;
7852 {
7853 PyThreadState* __tstate = wxPyBeginAllowThreads();
7854 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7855
7856 wxPyEndAllowThreads(__tstate);
7857 if (PyErr_Occurred()) SWIG_fail;
7858 }
7859 resultobj = SWIG_FromInt((int)result);
7860 return resultobj;
7861 fail:
7862 return NULL;
7863 }
7864
7865
7866 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
7867 PyObject *resultobj;
7868 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7869 long arg2 ;
7870 wxString result;
7871 PyObject * obj0 = 0 ;
7872 PyObject * obj1 = 0 ;
7873 char *kwnames[] = {
7874 (char *) "self",(char *) "lineNo", NULL
7875 };
7876
7877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
7878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7880 arg2 = (long) SWIG_AsLong(obj1);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 {
7883 PyThreadState* __tstate = wxPyBeginAllowThreads();
7884 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7885
7886 wxPyEndAllowThreads(__tstate);
7887 if (PyErr_Occurred()) SWIG_fail;
7888 }
7889 {
7890 #if wxUSE_UNICODE
7891 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7892 #else
7893 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7894 #endif
7895 }
7896 return resultobj;
7897 fail:
7898 return NULL;
7899 }
7900
7901
7902 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7903 PyObject *resultobj;
7904 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7905 int result;
7906 PyObject * obj0 = 0 ;
7907 char *kwnames[] = {
7908 (char *) "self", NULL
7909 };
7910
7911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
7912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7914 {
7915 PyThreadState* __tstate = wxPyBeginAllowThreads();
7916 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7917
7918 wxPyEndAllowThreads(__tstate);
7919 if (PyErr_Occurred()) SWIG_fail;
7920 }
7921 resultobj = SWIG_FromInt((int)result);
7922 return resultobj;
7923 fail:
7924 return NULL;
7925 }
7926
7927
7928 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
7929 PyObject *resultobj;
7930 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7931 bool result;
7932 PyObject * obj0 = 0 ;
7933 char *kwnames[] = {
7934 (char *) "self", NULL
7935 };
7936
7937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
7938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7940 {
7941 PyThreadState* __tstate = wxPyBeginAllowThreads();
7942 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7943
7944 wxPyEndAllowThreads(__tstate);
7945 if (PyErr_Occurred()) SWIG_fail;
7946 }
7947 {
7948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7949 }
7950 return resultobj;
7951 fail:
7952 return NULL;
7953 }
7954
7955
7956 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7957 PyObject *resultobj;
7958 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7959 bool result;
7960 PyObject * obj0 = 0 ;
7961 char *kwnames[] = {
7962 (char *) "self", NULL
7963 };
7964
7965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
7966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7968 {
7969 PyThreadState* __tstate = wxPyBeginAllowThreads();
7970 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7971
7972 wxPyEndAllowThreads(__tstate);
7973 if (PyErr_Occurred()) SWIG_fail;
7974 }
7975 {
7976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7977 }
7978 return resultobj;
7979 fail:
7980 return NULL;
7981 }
7982
7983
7984 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7985 PyObject *resultobj;
7986 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7987 bool result;
7988 PyObject * obj0 = 0 ;
7989 char *kwnames[] = {
7990 (char *) "self", NULL
7991 };
7992
7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
7994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) SWIG_fail;
8002 }
8003 {
8004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8005 }
8006 return resultobj;
8007 fail:
8008 return NULL;
8009 }
8010
8011
8012 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8013 PyObject *resultobj;
8014 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8015 bool result;
8016 PyObject * obj0 = 0 ;
8017 char *kwnames[] = {
8018 (char *) "self", NULL
8019 };
8020
8021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
8022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
8027
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) SWIG_fail;
8030 }
8031 {
8032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8033 }
8034 return resultobj;
8035 fail:
8036 return NULL;
8037 }
8038
8039
8040 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8041 PyObject *resultobj;
8042 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8043 long *arg2 = (long *) 0 ;
8044 long *arg3 = (long *) 0 ;
8045 long temp2 ;
8046 long temp3 ;
8047 PyObject * obj0 = 0 ;
8048 char *kwnames[] = {
8049 (char *) "self", NULL
8050 };
8051
8052 arg2 = &temp2;
8053 arg3 = &temp3;
8054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
8055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8057 {
8058 PyThreadState* __tstate = wxPyBeginAllowThreads();
8059 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8060
8061 wxPyEndAllowThreads(__tstate);
8062 if (PyErr_Occurred()) SWIG_fail;
8063 }
8064 Py_INCREF(Py_None); resultobj = Py_None;
8065 {
8066 PyObject *o = PyInt_FromLong((long) (*arg2));
8067 resultobj = t_output_helper(resultobj,o);
8068 }
8069 {
8070 PyObject *o = PyInt_FromLong((long) (*arg3));
8071 resultobj = t_output_helper(resultobj,o);
8072 }
8073 return resultobj;
8074 fail:
8075 return NULL;
8076 }
8077
8078
8079 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8080 PyObject *resultobj;
8081 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8082 wxString result;
8083 PyObject * obj0 = 0 ;
8084 char *kwnames[] = {
8085 (char *) "self", NULL
8086 };
8087
8088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
8089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8091 {
8092 PyThreadState* __tstate = wxPyBeginAllowThreads();
8093 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8094
8095 wxPyEndAllowThreads(__tstate);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 }
8098 {
8099 #if wxUSE_UNICODE
8100 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8101 #else
8102 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8103 #endif
8104 }
8105 return resultobj;
8106 fail:
8107 return NULL;
8108 }
8109
8110
8111 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8112 PyObject *resultobj;
8113 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8114 PyObject * obj0 = 0 ;
8115 char *kwnames[] = {
8116 (char *) "self", NULL
8117 };
8118
8119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
8120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8122 {
8123 PyThreadState* __tstate = wxPyBeginAllowThreads();
8124 (arg1)->Clear();
8125
8126 wxPyEndAllowThreads(__tstate);
8127 if (PyErr_Occurred()) SWIG_fail;
8128 }
8129 Py_INCREF(Py_None); resultobj = Py_None;
8130 return resultobj;
8131 fail:
8132 return NULL;
8133 }
8134
8135
8136 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8137 PyObject *resultobj;
8138 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8139 long arg2 ;
8140 long arg3 ;
8141 wxString *arg4 = 0 ;
8142 bool temp4 = False ;
8143 PyObject * obj0 = 0 ;
8144 PyObject * obj1 = 0 ;
8145 PyObject * obj2 = 0 ;
8146 PyObject * obj3 = 0 ;
8147 char *kwnames[] = {
8148 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8149 };
8150
8151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8154 arg2 = (long) SWIG_AsLong(obj1);
8155 if (PyErr_Occurred()) SWIG_fail;
8156 arg3 = (long) SWIG_AsLong(obj2);
8157 if (PyErr_Occurred()) SWIG_fail;
8158 {
8159 arg4 = wxString_in_helper(obj3);
8160 if (arg4 == NULL) SWIG_fail;
8161 temp4 = True;
8162 }
8163 {
8164 PyThreadState* __tstate = wxPyBeginAllowThreads();
8165 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8166
8167 wxPyEndAllowThreads(__tstate);
8168 if (PyErr_Occurred()) SWIG_fail;
8169 }
8170 Py_INCREF(Py_None); resultobj = Py_None;
8171 {
8172 if (temp4)
8173 delete arg4;
8174 }
8175 return resultobj;
8176 fail:
8177 {
8178 if (temp4)
8179 delete arg4;
8180 }
8181 return NULL;
8182 }
8183
8184
8185 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8186 PyObject *resultobj;
8187 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8188 long arg2 ;
8189 long arg3 ;
8190 PyObject * obj0 = 0 ;
8191 PyObject * obj1 = 0 ;
8192 PyObject * obj2 = 0 ;
8193 char *kwnames[] = {
8194 (char *) "self",(char *) "from",(char *) "to", NULL
8195 };
8196
8197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8200 arg2 = (long) SWIG_AsLong(obj1);
8201 if (PyErr_Occurred()) SWIG_fail;
8202 arg3 = (long) SWIG_AsLong(obj2);
8203 if (PyErr_Occurred()) SWIG_fail;
8204 {
8205 PyThreadState* __tstate = wxPyBeginAllowThreads();
8206 (arg1)->Remove(arg2,arg3);
8207
8208 wxPyEndAllowThreads(__tstate);
8209 if (PyErr_Occurred()) SWIG_fail;
8210 }
8211 Py_INCREF(Py_None); resultobj = Py_None;
8212 return resultobj;
8213 fail:
8214 return NULL;
8215 }
8216
8217
8218 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8219 PyObject *resultobj;
8220 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8221 wxString *arg2 = 0 ;
8222 bool result;
8223 bool temp2 = False ;
8224 PyObject * obj0 = 0 ;
8225 PyObject * obj1 = 0 ;
8226 char *kwnames[] = {
8227 (char *) "self",(char *) "file", NULL
8228 };
8229
8230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8233 {
8234 arg2 = wxString_in_helper(obj1);
8235 if (arg2 == NULL) SWIG_fail;
8236 temp2 = True;
8237 }
8238 {
8239 PyThreadState* __tstate = wxPyBeginAllowThreads();
8240 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8241
8242 wxPyEndAllowThreads(__tstate);
8243 if (PyErr_Occurred()) SWIG_fail;
8244 }
8245 {
8246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8247 }
8248 {
8249 if (temp2)
8250 delete arg2;
8251 }
8252 return resultobj;
8253 fail:
8254 {
8255 if (temp2)
8256 delete arg2;
8257 }
8258 return NULL;
8259 }
8260
8261
8262 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8263 PyObject *resultobj;
8264 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8265 wxString const &arg2_defvalue = wxPyEmptyString ;
8266 wxString *arg2 = (wxString *) &arg2_defvalue ;
8267 bool result;
8268 bool temp2 = False ;
8269 PyObject * obj0 = 0 ;
8270 PyObject * obj1 = 0 ;
8271 char *kwnames[] = {
8272 (char *) "self",(char *) "file", NULL
8273 };
8274
8275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8278 if (obj1) {
8279 {
8280 arg2 = wxString_in_helper(obj1);
8281 if (arg2 == NULL) SWIG_fail;
8282 temp2 = True;
8283 }
8284 }
8285 {
8286 PyThreadState* __tstate = wxPyBeginAllowThreads();
8287 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8288
8289 wxPyEndAllowThreads(__tstate);
8290 if (PyErr_Occurred()) SWIG_fail;
8291 }
8292 {
8293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8294 }
8295 {
8296 if (temp2)
8297 delete arg2;
8298 }
8299 return resultobj;
8300 fail:
8301 {
8302 if (temp2)
8303 delete arg2;
8304 }
8305 return NULL;
8306 }
8307
8308
8309 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8310 PyObject *resultobj;
8311 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8312 PyObject * obj0 = 0 ;
8313 char *kwnames[] = {
8314 (char *) "self", NULL
8315 };
8316
8317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8320 {
8321 PyThreadState* __tstate = wxPyBeginAllowThreads();
8322 (arg1)->MarkDirty();
8323
8324 wxPyEndAllowThreads(__tstate);
8325 if (PyErr_Occurred()) SWIG_fail;
8326 }
8327 Py_INCREF(Py_None); resultobj = Py_None;
8328 return resultobj;
8329 fail:
8330 return NULL;
8331 }
8332
8333
8334 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8335 PyObject *resultobj;
8336 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8337 PyObject * obj0 = 0 ;
8338 char *kwnames[] = {
8339 (char *) "self", NULL
8340 };
8341
8342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8345 {
8346 PyThreadState* __tstate = wxPyBeginAllowThreads();
8347 (arg1)->DiscardEdits();
8348
8349 wxPyEndAllowThreads(__tstate);
8350 if (PyErr_Occurred()) SWIG_fail;
8351 }
8352 Py_INCREF(Py_None); resultobj = Py_None;
8353 return resultobj;
8354 fail:
8355 return NULL;
8356 }
8357
8358
8359 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8360 PyObject *resultobj;
8361 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8362 unsigned long arg2 ;
8363 PyObject * obj0 = 0 ;
8364 PyObject * obj1 = 0 ;
8365 char *kwnames[] = {
8366 (char *) "self",(char *) "len", NULL
8367 };
8368
8369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8372 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8373 if (PyErr_Occurred()) SWIG_fail;
8374 {
8375 PyThreadState* __tstate = wxPyBeginAllowThreads();
8376 (arg1)->SetMaxLength(arg2);
8377
8378 wxPyEndAllowThreads(__tstate);
8379 if (PyErr_Occurred()) SWIG_fail;
8380 }
8381 Py_INCREF(Py_None); resultobj = Py_None;
8382 return resultobj;
8383 fail:
8384 return NULL;
8385 }
8386
8387
8388 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8389 PyObject *resultobj;
8390 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8391 wxString *arg2 = 0 ;
8392 bool temp2 = False ;
8393 PyObject * obj0 = 0 ;
8394 PyObject * obj1 = 0 ;
8395 char *kwnames[] = {
8396 (char *) "self",(char *) "text", NULL
8397 };
8398
8399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8402 {
8403 arg2 = wxString_in_helper(obj1);
8404 if (arg2 == NULL) SWIG_fail;
8405 temp2 = True;
8406 }
8407 {
8408 PyThreadState* __tstate = wxPyBeginAllowThreads();
8409 (arg1)->WriteText((wxString const &)*arg2);
8410
8411 wxPyEndAllowThreads(__tstate);
8412 if (PyErr_Occurred()) SWIG_fail;
8413 }
8414 Py_INCREF(Py_None); resultobj = Py_None;
8415 {
8416 if (temp2)
8417 delete arg2;
8418 }
8419 return resultobj;
8420 fail:
8421 {
8422 if (temp2)
8423 delete arg2;
8424 }
8425 return NULL;
8426 }
8427
8428
8429 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8430 PyObject *resultobj;
8431 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8432 wxString *arg2 = 0 ;
8433 bool temp2 = False ;
8434 PyObject * obj0 = 0 ;
8435 PyObject * obj1 = 0 ;
8436 char *kwnames[] = {
8437 (char *) "self",(char *) "text", NULL
8438 };
8439
8440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8443 {
8444 arg2 = wxString_in_helper(obj1);
8445 if (arg2 == NULL) SWIG_fail;
8446 temp2 = True;
8447 }
8448 {
8449 PyThreadState* __tstate = wxPyBeginAllowThreads();
8450 (arg1)->AppendText((wxString const &)*arg2);
8451
8452 wxPyEndAllowThreads(__tstate);
8453 if (PyErr_Occurred()) SWIG_fail;
8454 }
8455 Py_INCREF(Py_None); resultobj = Py_None;
8456 {
8457 if (temp2)
8458 delete arg2;
8459 }
8460 return resultobj;
8461 fail:
8462 {
8463 if (temp2)
8464 delete arg2;
8465 }
8466 return NULL;
8467 }
8468
8469
8470 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8471 PyObject *resultobj;
8472 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8473 wxKeyEvent *arg2 = 0 ;
8474 bool result;
8475 PyObject * obj0 = 0 ;
8476 PyObject * obj1 = 0 ;
8477 char *kwnames[] = {
8478 (char *) "self",(char *) "event", NULL
8479 };
8480
8481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8484 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8485 SWIG_POINTER_EXCEPTION | 0)) == -1)
8486 SWIG_fail;
8487 if (arg2 == NULL) {
8488 PyErr_SetString(PyExc_TypeError,"null reference");
8489 SWIG_fail;
8490 }
8491 {
8492 PyThreadState* __tstate = wxPyBeginAllowThreads();
8493 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8494
8495 wxPyEndAllowThreads(__tstate);
8496 if (PyErr_Occurred()) SWIG_fail;
8497 }
8498 {
8499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8500 }
8501 return resultobj;
8502 fail:
8503 return NULL;
8504 }
8505
8506
8507 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8508 PyObject *resultobj;
8509 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8510 long arg2 ;
8511 long arg3 ;
8512 wxTextAttr *arg4 = 0 ;
8513 bool result;
8514 PyObject * obj0 = 0 ;
8515 PyObject * obj1 = 0 ;
8516 PyObject * obj2 = 0 ;
8517 PyObject * obj3 = 0 ;
8518 char *kwnames[] = {
8519 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8520 };
8521
8522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8525 arg2 = (long) SWIG_AsLong(obj1);
8526 if (PyErr_Occurred()) SWIG_fail;
8527 arg3 = (long) SWIG_AsLong(obj2);
8528 if (PyErr_Occurred()) SWIG_fail;
8529 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
8530 SWIG_POINTER_EXCEPTION | 0)) == -1)
8531 SWIG_fail;
8532 if (arg4 == NULL) {
8533 PyErr_SetString(PyExc_TypeError,"null reference");
8534 SWIG_fail;
8535 }
8536 {
8537 PyThreadState* __tstate = wxPyBeginAllowThreads();
8538 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8539
8540 wxPyEndAllowThreads(__tstate);
8541 if (PyErr_Occurred()) SWIG_fail;
8542 }
8543 {
8544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8545 }
8546 return resultobj;
8547 fail:
8548 return NULL;
8549 }
8550
8551
8552 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8553 PyObject *resultobj;
8554 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8555 long arg2 ;
8556 wxTextAttr *arg3 = 0 ;
8557 bool result;
8558 PyObject * obj0 = 0 ;
8559 PyObject * obj1 = 0 ;
8560 PyObject * obj2 = 0 ;
8561 char *kwnames[] = {
8562 (char *) "self",(char *) "position",(char *) "style", NULL
8563 };
8564
8565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
8566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8568 arg2 = (long) SWIG_AsLong(obj1);
8569 if (PyErr_Occurred()) SWIG_fail;
8570 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
8571 SWIG_POINTER_EXCEPTION | 0)) == -1)
8572 SWIG_fail;
8573 if (arg3 == NULL) {
8574 PyErr_SetString(PyExc_TypeError,"null reference");
8575 SWIG_fail;
8576 }
8577 {
8578 PyThreadState* __tstate = wxPyBeginAllowThreads();
8579 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8580
8581 wxPyEndAllowThreads(__tstate);
8582 if (PyErr_Occurred()) SWIG_fail;
8583 }
8584 {
8585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8586 }
8587 return resultobj;
8588 fail:
8589 return NULL;
8590 }
8591
8592
8593 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8594 PyObject *resultobj;
8595 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8596 wxTextAttr *arg2 = 0 ;
8597 bool result;
8598 PyObject * obj0 = 0 ;
8599 PyObject * obj1 = 0 ;
8600 char *kwnames[] = {
8601 (char *) "self",(char *) "style", NULL
8602 };
8603
8604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
8605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8607 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
8608 SWIG_POINTER_EXCEPTION | 0)) == -1)
8609 SWIG_fail;
8610 if (arg2 == NULL) {
8611 PyErr_SetString(PyExc_TypeError,"null reference");
8612 SWIG_fail;
8613 }
8614 {
8615 PyThreadState* __tstate = wxPyBeginAllowThreads();
8616 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8617
8618 wxPyEndAllowThreads(__tstate);
8619 if (PyErr_Occurred()) SWIG_fail;
8620 }
8621 {
8622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8623 }
8624 return resultobj;
8625 fail:
8626 return NULL;
8627 }
8628
8629
8630 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8631 PyObject *resultobj;
8632 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8633 wxTextAttr *result;
8634 PyObject * obj0 = 0 ;
8635 char *kwnames[] = {
8636 (char *) "self", NULL
8637 };
8638
8639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
8640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8642 {
8643 PyThreadState* __tstate = wxPyBeginAllowThreads();
8644 {
8645 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8646 result = (wxTextAttr *) &_result_ref;
8647 }
8648
8649 wxPyEndAllowThreads(__tstate);
8650 if (PyErr_Occurred()) SWIG_fail;
8651 }
8652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
8653 return resultobj;
8654 fail:
8655 return NULL;
8656 }
8657
8658
8659 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8660 PyObject *resultobj;
8661 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8662 long arg2 ;
8663 long arg3 ;
8664 long result;
8665 PyObject * obj0 = 0 ;
8666 PyObject * obj1 = 0 ;
8667 PyObject * obj2 = 0 ;
8668 char *kwnames[] = {
8669 (char *) "self",(char *) "x",(char *) "y", NULL
8670 };
8671
8672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8675 arg2 = (long) SWIG_AsLong(obj1);
8676 if (PyErr_Occurred()) SWIG_fail;
8677 arg3 = (long) SWIG_AsLong(obj2);
8678 if (PyErr_Occurred()) SWIG_fail;
8679 {
8680 PyThreadState* __tstate = wxPyBeginAllowThreads();
8681 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8682
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 resultobj = SWIG_FromLong((long)result);
8687 return resultobj;
8688 fail:
8689 return NULL;
8690 }
8691
8692
8693 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8694 PyObject *resultobj;
8695 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8696 long arg2 ;
8697 long *arg3 = (long *) 0 ;
8698 long *arg4 = (long *) 0 ;
8699 long temp3 ;
8700 long temp4 ;
8701 PyObject * obj0 = 0 ;
8702 PyObject * obj1 = 0 ;
8703 char *kwnames[] = {
8704 (char *) "self",(char *) "pos", NULL
8705 };
8706
8707 arg3 = &temp3;
8708 arg4 = &temp4;
8709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
8710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8712 arg2 = (long) SWIG_AsLong(obj1);
8713 if (PyErr_Occurred()) SWIG_fail;
8714 {
8715 PyThreadState* __tstate = wxPyBeginAllowThreads();
8716 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8717
8718 wxPyEndAllowThreads(__tstate);
8719 if (PyErr_Occurred()) SWIG_fail;
8720 }
8721 Py_INCREF(Py_None); resultobj = Py_None;
8722 {
8723 PyObject *o = PyInt_FromLong((long) (*arg3));
8724 resultobj = t_output_helper(resultobj,o);
8725 }
8726 {
8727 PyObject *o = PyInt_FromLong((long) (*arg4));
8728 resultobj = t_output_helper(resultobj,o);
8729 }
8730 return resultobj;
8731 fail:
8732 return NULL;
8733 }
8734
8735
8736 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8737 PyObject *resultobj;
8738 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8739 long arg2 ;
8740 PyObject * obj0 = 0 ;
8741 PyObject * obj1 = 0 ;
8742 char *kwnames[] = {
8743 (char *) "self",(char *) "pos", NULL
8744 };
8745
8746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
8747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8749 arg2 = (long) SWIG_AsLong(obj1);
8750 if (PyErr_Occurred()) SWIG_fail;
8751 {
8752 PyThreadState* __tstate = wxPyBeginAllowThreads();
8753 (arg1)->ShowPosition(arg2);
8754
8755 wxPyEndAllowThreads(__tstate);
8756 if (PyErr_Occurred()) SWIG_fail;
8757 }
8758 Py_INCREF(Py_None); resultobj = Py_None;
8759 return resultobj;
8760 fail:
8761 return NULL;
8762 }
8763
8764
8765 static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8766 PyObject *resultobj;
8767 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8768 wxPoint *arg2 = 0 ;
8769 long *arg3 = (long *) 0 ;
8770 long *arg4 = (long *) 0 ;
8771 int result;
8772 wxPoint temp2 ;
8773 long temp3 ;
8774 long temp4 ;
8775 PyObject * obj0 = 0 ;
8776 PyObject * obj1 = 0 ;
8777 char *kwnames[] = {
8778 (char *) "self",(char *) "pt", NULL
8779 };
8780
8781 arg3 = &temp3;
8782 arg4 = &temp4;
8783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
8784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8786 {
8787 arg2 = &temp2;
8788 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8789 }
8790 {
8791 PyThreadState* __tstate = wxPyBeginAllowThreads();
8792 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
8793
8794 wxPyEndAllowThreads(__tstate);
8795 if (PyErr_Occurred()) SWIG_fail;
8796 }
8797 resultobj = SWIG_FromInt((int)result);
8798 {
8799 PyObject *o = PyInt_FromLong((long) (*arg3));
8800 resultobj = t_output_helper(resultobj,o);
8801 }
8802 {
8803 PyObject *o = PyInt_FromLong((long) (*arg4));
8804 resultobj = t_output_helper(resultobj,o);
8805 }
8806 return resultobj;
8807 fail:
8808 return NULL;
8809 }
8810
8811
8812 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8813 PyObject *resultobj;
8814 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8815 PyObject * obj0 = 0 ;
8816 char *kwnames[] = {
8817 (char *) "self", NULL
8818 };
8819
8820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
8821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8823 {
8824 PyThreadState* __tstate = wxPyBeginAllowThreads();
8825 (arg1)->Copy();
8826
8827 wxPyEndAllowThreads(__tstate);
8828 if (PyErr_Occurred()) SWIG_fail;
8829 }
8830 Py_INCREF(Py_None); resultobj = Py_None;
8831 return resultobj;
8832 fail:
8833 return NULL;
8834 }
8835
8836
8837 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8838 PyObject *resultobj;
8839 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8840 PyObject * obj0 = 0 ;
8841 char *kwnames[] = {
8842 (char *) "self", NULL
8843 };
8844
8845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
8846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 (arg1)->Cut();
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 Py_INCREF(Py_None); resultobj = Py_None;
8856 return resultobj;
8857 fail:
8858 return NULL;
8859 }
8860
8861
8862 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8863 PyObject *resultobj;
8864 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8865 PyObject * obj0 = 0 ;
8866 char *kwnames[] = {
8867 (char *) "self", NULL
8868 };
8869
8870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
8871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8873 {
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
8875 (arg1)->Paste();
8876
8877 wxPyEndAllowThreads(__tstate);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 }
8880 Py_INCREF(Py_None); resultobj = Py_None;
8881 return resultobj;
8882 fail:
8883 return NULL;
8884 }
8885
8886
8887 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8888 PyObject *resultobj;
8889 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8890 bool result;
8891 PyObject * obj0 = 0 ;
8892 char *kwnames[] = {
8893 (char *) "self", NULL
8894 };
8895
8896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
8897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8899 {
8900 PyThreadState* __tstate = wxPyBeginAllowThreads();
8901 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8902
8903 wxPyEndAllowThreads(__tstate);
8904 if (PyErr_Occurred()) SWIG_fail;
8905 }
8906 {
8907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8908 }
8909 return resultobj;
8910 fail:
8911 return NULL;
8912 }
8913
8914
8915 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
8916 PyObject *resultobj;
8917 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8918 bool result;
8919 PyObject * obj0 = 0 ;
8920 char *kwnames[] = {
8921 (char *) "self", NULL
8922 };
8923
8924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
8925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8927 {
8928 PyThreadState* __tstate = wxPyBeginAllowThreads();
8929 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
8930
8931 wxPyEndAllowThreads(__tstate);
8932 if (PyErr_Occurred()) SWIG_fail;
8933 }
8934 {
8935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8936 }
8937 return resultobj;
8938 fail:
8939 return NULL;
8940 }
8941
8942
8943 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
8944 PyObject *resultobj;
8945 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8946 bool result;
8947 PyObject * obj0 = 0 ;
8948 char *kwnames[] = {
8949 (char *) "self", NULL
8950 };
8951
8952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
8953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8955 {
8956 PyThreadState* __tstate = wxPyBeginAllowThreads();
8957 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
8958
8959 wxPyEndAllowThreads(__tstate);
8960 if (PyErr_Occurred()) SWIG_fail;
8961 }
8962 {
8963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8964 }
8965 return resultobj;
8966 fail:
8967 return NULL;
8968 }
8969
8970
8971 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
8972 PyObject *resultobj;
8973 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8974 PyObject * obj0 = 0 ;
8975 char *kwnames[] = {
8976 (char *) "self", NULL
8977 };
8978
8979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
8980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8982 {
8983 PyThreadState* __tstate = wxPyBeginAllowThreads();
8984 (arg1)->Undo();
8985
8986 wxPyEndAllowThreads(__tstate);
8987 if (PyErr_Occurred()) SWIG_fail;
8988 }
8989 Py_INCREF(Py_None); resultobj = Py_None;
8990 return resultobj;
8991 fail:
8992 return NULL;
8993 }
8994
8995
8996 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
8997 PyObject *resultobj;
8998 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8999 PyObject * obj0 = 0 ;
9000 char *kwnames[] = {
9001 (char *) "self", NULL
9002 };
9003
9004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
9005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9007 {
9008 PyThreadState* __tstate = wxPyBeginAllowThreads();
9009 (arg1)->Redo();
9010
9011 wxPyEndAllowThreads(__tstate);
9012 if (PyErr_Occurred()) SWIG_fail;
9013 }
9014 Py_INCREF(Py_None); resultobj = Py_None;
9015 return resultobj;
9016 fail:
9017 return NULL;
9018 }
9019
9020
9021 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
9022 PyObject *resultobj;
9023 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9024 bool result;
9025 PyObject * obj0 = 0 ;
9026 char *kwnames[] = {
9027 (char *) "self", NULL
9028 };
9029
9030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
9031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9033 {
9034 PyThreadState* __tstate = wxPyBeginAllowThreads();
9035 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9036
9037 wxPyEndAllowThreads(__tstate);
9038 if (PyErr_Occurred()) SWIG_fail;
9039 }
9040 {
9041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9042 }
9043 return resultobj;
9044 fail:
9045 return NULL;
9046 }
9047
9048
9049 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
9050 PyObject *resultobj;
9051 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9052 bool result;
9053 PyObject * obj0 = 0 ;
9054 char *kwnames[] = {
9055 (char *) "self", NULL
9056 };
9057
9058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
9059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9061 {
9062 PyThreadState* __tstate = wxPyBeginAllowThreads();
9063 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9064
9065 wxPyEndAllowThreads(__tstate);
9066 if (PyErr_Occurred()) SWIG_fail;
9067 }
9068 {
9069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9070 }
9071 return resultobj;
9072 fail:
9073 return NULL;
9074 }
9075
9076
9077 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9078 PyObject *resultobj;
9079 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9080 long arg2 ;
9081 PyObject * obj0 = 0 ;
9082 PyObject * obj1 = 0 ;
9083 char *kwnames[] = {
9084 (char *) "self",(char *) "pos", NULL
9085 };
9086
9087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
9088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9090 arg2 = (long) SWIG_AsLong(obj1);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 {
9093 PyThreadState* __tstate = wxPyBeginAllowThreads();
9094 (arg1)->SetInsertionPoint(arg2);
9095
9096 wxPyEndAllowThreads(__tstate);
9097 if (PyErr_Occurred()) SWIG_fail;
9098 }
9099 Py_INCREF(Py_None); resultobj = Py_None;
9100 return resultobj;
9101 fail:
9102 return NULL;
9103 }
9104
9105
9106 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9107 PyObject *resultobj;
9108 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9109 PyObject * obj0 = 0 ;
9110 char *kwnames[] = {
9111 (char *) "self", NULL
9112 };
9113
9114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
9115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9117 {
9118 PyThreadState* __tstate = wxPyBeginAllowThreads();
9119 (arg1)->SetInsertionPointEnd();
9120
9121 wxPyEndAllowThreads(__tstate);
9122 if (PyErr_Occurred()) SWIG_fail;
9123 }
9124 Py_INCREF(Py_None); resultobj = Py_None;
9125 return resultobj;
9126 fail:
9127 return NULL;
9128 }
9129
9130
9131 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9132 PyObject *resultobj;
9133 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9134 long result;
9135 PyObject * obj0 = 0 ;
9136 char *kwnames[] = {
9137 (char *) "self", NULL
9138 };
9139
9140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
9141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9143 {
9144 PyThreadState* __tstate = wxPyBeginAllowThreads();
9145 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9146
9147 wxPyEndAllowThreads(__tstate);
9148 if (PyErr_Occurred()) SWIG_fail;
9149 }
9150 resultobj = SWIG_FromLong((long)result);
9151 return resultobj;
9152 fail:
9153 return NULL;
9154 }
9155
9156
9157 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9158 PyObject *resultobj;
9159 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9160 long result;
9161 PyObject * obj0 = 0 ;
9162 char *kwnames[] = {
9163 (char *) "self", NULL
9164 };
9165
9166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9169 {
9170 PyThreadState* __tstate = wxPyBeginAllowThreads();
9171 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9172
9173 wxPyEndAllowThreads(__tstate);
9174 if (PyErr_Occurred()) SWIG_fail;
9175 }
9176 resultobj = SWIG_FromLong((long)result);
9177 return resultobj;
9178 fail:
9179 return NULL;
9180 }
9181
9182
9183 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9184 PyObject *resultobj;
9185 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9186 long arg2 ;
9187 long arg3 ;
9188 PyObject * obj0 = 0 ;
9189 PyObject * obj1 = 0 ;
9190 PyObject * obj2 = 0 ;
9191 char *kwnames[] = {
9192 (char *) "self",(char *) "from",(char *) "to", NULL
9193 };
9194
9195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9198 arg2 = (long) SWIG_AsLong(obj1);
9199 if (PyErr_Occurred()) SWIG_fail;
9200 arg3 = (long) SWIG_AsLong(obj2);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 {
9203 PyThreadState* __tstate = wxPyBeginAllowThreads();
9204 (arg1)->SetSelection(arg2,arg3);
9205
9206 wxPyEndAllowThreads(__tstate);
9207 if (PyErr_Occurred()) SWIG_fail;
9208 }
9209 Py_INCREF(Py_None); resultobj = Py_None;
9210 return resultobj;
9211 fail:
9212 return NULL;
9213 }
9214
9215
9216 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9217 PyObject *resultobj;
9218 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9219 PyObject * obj0 = 0 ;
9220 char *kwnames[] = {
9221 (char *) "self", NULL
9222 };
9223
9224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9227 {
9228 PyThreadState* __tstate = wxPyBeginAllowThreads();
9229 (arg1)->SelectAll();
9230
9231 wxPyEndAllowThreads(__tstate);
9232 if (PyErr_Occurred()) SWIG_fail;
9233 }
9234 Py_INCREF(Py_None); resultobj = Py_None;
9235 return resultobj;
9236 fail:
9237 return NULL;
9238 }
9239
9240
9241 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9242 PyObject *resultobj;
9243 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9244 bool arg2 ;
9245 PyObject * obj0 = 0 ;
9246 PyObject * obj1 = 0 ;
9247 char *kwnames[] = {
9248 (char *) "self",(char *) "editable", NULL
9249 };
9250
9251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9254 arg2 = (bool) SWIG_AsBool(obj1);
9255 if (PyErr_Occurred()) SWIG_fail;
9256 {
9257 PyThreadState* __tstate = wxPyBeginAllowThreads();
9258 (arg1)->SetEditable(arg2);
9259
9260 wxPyEndAllowThreads(__tstate);
9261 if (PyErr_Occurred()) SWIG_fail;
9262 }
9263 Py_INCREF(Py_None); resultobj = Py_None;
9264 return resultobj;
9265 fail:
9266 return NULL;
9267 }
9268
9269
9270 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9271 PyObject *resultobj;
9272 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9273 wxString *arg2 = 0 ;
9274 bool temp2 = False ;
9275 PyObject * obj0 = 0 ;
9276 PyObject * obj1 = 0 ;
9277 char *kwnames[] = {
9278 (char *) "self",(char *) "text", NULL
9279 };
9280
9281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9284 {
9285 arg2 = wxString_in_helper(obj1);
9286 if (arg2 == NULL) SWIG_fail;
9287 temp2 = True;
9288 }
9289 {
9290 PyThreadState* __tstate = wxPyBeginAllowThreads();
9291 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9292
9293 wxPyEndAllowThreads(__tstate);
9294 if (PyErr_Occurred()) SWIG_fail;
9295 }
9296 Py_INCREF(Py_None); resultobj = Py_None;
9297 {
9298 if (temp2)
9299 delete arg2;
9300 }
9301 return resultobj;
9302 fail:
9303 {
9304 if (temp2)
9305 delete arg2;
9306 }
9307 return NULL;
9308 }
9309
9310
9311 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9312 PyObject *resultobj;
9313 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9314 long arg2 ;
9315 long arg3 ;
9316 wxString result;
9317 PyObject * obj0 = 0 ;
9318 PyObject * obj1 = 0 ;
9319 PyObject * obj2 = 0 ;
9320 char *kwnames[] = {
9321 (char *) "self",(char *) "from",(char *) "to", NULL
9322 };
9323
9324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9327 arg2 = (long) SWIG_AsLong(obj1);
9328 if (PyErr_Occurred()) SWIG_fail;
9329 arg3 = (long) SWIG_AsLong(obj2);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 {
9332 PyThreadState* __tstate = wxPyBeginAllowThreads();
9333 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9334
9335 wxPyEndAllowThreads(__tstate);
9336 if (PyErr_Occurred()) SWIG_fail;
9337 }
9338 {
9339 #if wxUSE_UNICODE
9340 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9341 #else
9342 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9343 #endif
9344 }
9345 return resultobj;
9346 fail:
9347 return NULL;
9348 }
9349
9350
9351 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9352 PyObject *obj;
9353 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9354 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9355 Py_INCREF(obj);
9356 return Py_BuildValue((char *)"");
9357 }
9358 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9359 PyObject *resultobj;
9360 int arg1 ;
9361 wxMouseEvent *arg2 = 0 ;
9362 long arg3 ;
9363 long arg4 ;
9364 wxTextUrlEvent *result;
9365 PyObject * obj0 = 0 ;
9366 PyObject * obj1 = 0 ;
9367 PyObject * obj2 = 0 ;
9368 PyObject * obj3 = 0 ;
9369 char *kwnames[] = {
9370 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9371 };
9372
9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9374 arg1 = (int) SWIG_AsInt(obj0);
9375 if (PyErr_Occurred()) SWIG_fail;
9376 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9377 SWIG_POINTER_EXCEPTION | 0)) == -1)
9378 SWIG_fail;
9379 if (arg2 == NULL) {
9380 PyErr_SetString(PyExc_TypeError,"null reference");
9381 SWIG_fail;
9382 }
9383 arg3 = (long) SWIG_AsLong(obj2);
9384 if (PyErr_Occurred()) SWIG_fail;
9385 arg4 = (long) SWIG_AsLong(obj3);
9386 if (PyErr_Occurred()) SWIG_fail;
9387 {
9388 PyThreadState* __tstate = wxPyBeginAllowThreads();
9389 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9390
9391 wxPyEndAllowThreads(__tstate);
9392 if (PyErr_Occurred()) SWIG_fail;
9393 }
9394 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
9395 return resultobj;
9396 fail:
9397 return NULL;
9398 }
9399
9400
9401 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9402 PyObject *resultobj;
9403 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9404 wxMouseEvent *result;
9405 PyObject * obj0 = 0 ;
9406 char *kwnames[] = {
9407 (char *) "self", NULL
9408 };
9409
9410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9413 {
9414 PyThreadState* __tstate = wxPyBeginAllowThreads();
9415 {
9416 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9417 result = (wxMouseEvent *) &_result_ref;
9418 }
9419
9420 wxPyEndAllowThreads(__tstate);
9421 if (PyErr_Occurred()) SWIG_fail;
9422 }
9423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
9424 return resultobj;
9425 fail:
9426 return NULL;
9427 }
9428
9429
9430 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9431 PyObject *resultobj;
9432 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9433 long result;
9434 PyObject * obj0 = 0 ;
9435 char *kwnames[] = {
9436 (char *) "self", NULL
9437 };
9438
9439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
9440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9442 {
9443 PyThreadState* __tstate = wxPyBeginAllowThreads();
9444 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9445
9446 wxPyEndAllowThreads(__tstate);
9447 if (PyErr_Occurred()) SWIG_fail;
9448 }
9449 resultobj = SWIG_FromLong((long)result);
9450 return resultobj;
9451 fail:
9452 return NULL;
9453 }
9454
9455
9456 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9457 PyObject *resultobj;
9458 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9459 long result;
9460 PyObject * obj0 = 0 ;
9461 char *kwnames[] = {
9462 (char *) "self", NULL
9463 };
9464
9465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9468 {
9469 PyThreadState* __tstate = wxPyBeginAllowThreads();
9470 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9471
9472 wxPyEndAllowThreads(__tstate);
9473 if (PyErr_Occurred()) SWIG_fail;
9474 }
9475 resultobj = SWIG_FromLong((long)result);
9476 return resultobj;
9477 fail:
9478 return NULL;
9479 }
9480
9481
9482 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
9483 PyObject *obj;
9484 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9485 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9486 Py_INCREF(obj);
9487 return Py_BuildValue((char *)"");
9488 }
9489 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
9490 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9491 return 1;
9492 }
9493
9494
9495 static PyObject *_wrap_ScrollBarNameStr_get() {
9496 PyObject *pyobj;
9497
9498 {
9499 #if wxUSE_UNICODE
9500 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9501 #else
9502 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9503 #endif
9504 }
9505 return pyobj;
9506 }
9507
9508
9509 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9510 PyObject *resultobj;
9511 wxWindow *arg1 = (wxWindow *) 0 ;
9512 int arg2 = (int) -1 ;
9513 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9514 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9515 wxSize const &arg4_defvalue = wxDefaultSize ;
9516 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9517 long arg5 = (long) wxSB_HORIZONTAL ;
9518 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9519 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9520 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9521 wxString *arg7 = (wxString *) &arg7_defvalue ;
9522 wxScrollBar *result;
9523 wxPoint temp3 ;
9524 wxSize temp4 ;
9525 bool temp7 = False ;
9526 PyObject * obj0 = 0 ;
9527 PyObject * obj1 = 0 ;
9528 PyObject * obj2 = 0 ;
9529 PyObject * obj3 = 0 ;
9530 PyObject * obj4 = 0 ;
9531 PyObject * obj5 = 0 ;
9532 PyObject * obj6 = 0 ;
9533 char *kwnames[] = {
9534 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9535 };
9536
9537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9540 if (obj1) {
9541 arg2 = (int) SWIG_AsInt(obj1);
9542 if (PyErr_Occurred()) SWIG_fail;
9543 }
9544 if (obj2) {
9545 {
9546 arg3 = &temp3;
9547 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9548 }
9549 }
9550 if (obj3) {
9551 {
9552 arg4 = &temp4;
9553 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9554 }
9555 }
9556 if (obj4) {
9557 arg5 = (long) SWIG_AsLong(obj4);
9558 if (PyErr_Occurred()) SWIG_fail;
9559 }
9560 if (obj5) {
9561 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
9562 SWIG_POINTER_EXCEPTION | 0)) == -1)
9563 SWIG_fail;
9564 if (arg6 == NULL) {
9565 PyErr_SetString(PyExc_TypeError,"null reference");
9566 SWIG_fail;
9567 }
9568 }
9569 if (obj6) {
9570 {
9571 arg7 = wxString_in_helper(obj6);
9572 if (arg7 == NULL) SWIG_fail;
9573 temp7 = True;
9574 }
9575 }
9576 {
9577 PyThreadState* __tstate = wxPyBeginAllowThreads();
9578 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9579
9580 wxPyEndAllowThreads(__tstate);
9581 if (PyErr_Occurred()) SWIG_fail;
9582 }
9583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9584 {
9585 if (temp7)
9586 delete arg7;
9587 }
9588 return resultobj;
9589 fail:
9590 {
9591 if (temp7)
9592 delete arg7;
9593 }
9594 return NULL;
9595 }
9596
9597
9598 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9599 PyObject *resultobj;
9600 wxScrollBar *result;
9601 char *kwnames[] = {
9602 NULL
9603 };
9604
9605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9606 {
9607 PyThreadState* __tstate = wxPyBeginAllowThreads();
9608 result = (wxScrollBar *)new wxScrollBar();
9609
9610 wxPyEndAllowThreads(__tstate);
9611 if (PyErr_Occurred()) SWIG_fail;
9612 }
9613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9614 return resultobj;
9615 fail:
9616 return NULL;
9617 }
9618
9619
9620 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9621 PyObject *resultobj;
9622 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9623 wxWindow *arg2 = (wxWindow *) 0 ;
9624 int arg3 = (int) -1 ;
9625 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9626 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9627 wxSize const &arg5_defvalue = wxDefaultSize ;
9628 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9629 long arg6 = (long) wxSB_HORIZONTAL ;
9630 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9631 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9632 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9633 wxString *arg8 = (wxString *) &arg8_defvalue ;
9634 bool result;
9635 wxPoint temp4 ;
9636 wxSize temp5 ;
9637 bool temp8 = False ;
9638 PyObject * obj0 = 0 ;
9639 PyObject * obj1 = 0 ;
9640 PyObject * obj2 = 0 ;
9641 PyObject * obj3 = 0 ;
9642 PyObject * obj4 = 0 ;
9643 PyObject * obj5 = 0 ;
9644 PyObject * obj6 = 0 ;
9645 PyObject * obj7 = 0 ;
9646 char *kwnames[] = {
9647 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9648 };
9649
9650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9653 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9655 if (obj2) {
9656 arg3 = (int) SWIG_AsInt(obj2);
9657 if (PyErr_Occurred()) SWIG_fail;
9658 }
9659 if (obj3) {
9660 {
9661 arg4 = &temp4;
9662 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9663 }
9664 }
9665 if (obj4) {
9666 {
9667 arg5 = &temp5;
9668 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9669 }
9670 }
9671 if (obj5) {
9672 arg6 = (long) SWIG_AsLong(obj5);
9673 if (PyErr_Occurred()) SWIG_fail;
9674 }
9675 if (obj6) {
9676 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
9677 SWIG_POINTER_EXCEPTION | 0)) == -1)
9678 SWIG_fail;
9679 if (arg7 == NULL) {
9680 PyErr_SetString(PyExc_TypeError,"null reference");
9681 SWIG_fail;
9682 }
9683 }
9684 if (obj7) {
9685 {
9686 arg8 = wxString_in_helper(obj7);
9687 if (arg8 == NULL) SWIG_fail;
9688 temp8 = True;
9689 }
9690 }
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9694
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 {
9699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9700 }
9701 {
9702 if (temp8)
9703 delete arg8;
9704 }
9705 return resultobj;
9706 fail:
9707 {
9708 if (temp8)
9709 delete arg8;
9710 }
9711 return NULL;
9712 }
9713
9714
9715 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9716 PyObject *resultobj;
9717 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9718 int result;
9719 PyObject * obj0 = 0 ;
9720 char *kwnames[] = {
9721 (char *) "self", NULL
9722 };
9723
9724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
9725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9727 {
9728 PyThreadState* __tstate = wxPyBeginAllowThreads();
9729 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9730
9731 wxPyEndAllowThreads(__tstate);
9732 if (PyErr_Occurred()) SWIG_fail;
9733 }
9734 resultobj = SWIG_FromInt((int)result);
9735 return resultobj;
9736 fail:
9737 return NULL;
9738 }
9739
9740
9741 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9742 PyObject *resultobj;
9743 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9744 int result;
9745 PyObject * obj0 = 0 ;
9746 char *kwnames[] = {
9747 (char *) "self", NULL
9748 };
9749
9750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
9751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9753 {
9754 PyThreadState* __tstate = wxPyBeginAllowThreads();
9755 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9756
9757 wxPyEndAllowThreads(__tstate);
9758 if (PyErr_Occurred()) SWIG_fail;
9759 }
9760 resultobj = SWIG_FromInt((int)result);
9761 return resultobj;
9762 fail:
9763 return NULL;
9764 }
9765
9766
9767 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9768 PyObject *resultobj;
9769 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9770 int result;
9771 PyObject * obj0 = 0 ;
9772 char *kwnames[] = {
9773 (char *) "self", NULL
9774 };
9775
9776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
9777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9779 {
9780 PyThreadState* __tstate = wxPyBeginAllowThreads();
9781 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9782
9783 wxPyEndAllowThreads(__tstate);
9784 if (PyErr_Occurred()) SWIG_fail;
9785 }
9786 resultobj = SWIG_FromInt((int)result);
9787 return resultobj;
9788 fail:
9789 return NULL;
9790 }
9791
9792
9793 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9794 PyObject *resultobj;
9795 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9796 int result;
9797 PyObject * obj0 = 0 ;
9798 char *kwnames[] = {
9799 (char *) "self", NULL
9800 };
9801
9802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
9803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9805 {
9806 PyThreadState* __tstate = wxPyBeginAllowThreads();
9807 result = (int)((wxScrollBar const *)arg1)->GetRange();
9808
9809 wxPyEndAllowThreads(__tstate);
9810 if (PyErr_Occurred()) SWIG_fail;
9811 }
9812 resultobj = SWIG_FromInt((int)result);
9813 return resultobj;
9814 fail:
9815 return NULL;
9816 }
9817
9818
9819 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9820 PyObject *resultobj;
9821 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9822 bool result;
9823 PyObject * obj0 = 0 ;
9824 char *kwnames[] = {
9825 (char *) "self", NULL
9826 };
9827
9828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
9829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9831 {
9832 PyThreadState* __tstate = wxPyBeginAllowThreads();
9833 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9834
9835 wxPyEndAllowThreads(__tstate);
9836 if (PyErr_Occurred()) SWIG_fail;
9837 }
9838 {
9839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9840 }
9841 return resultobj;
9842 fail:
9843 return NULL;
9844 }
9845
9846
9847 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9848 PyObject *resultobj;
9849 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9850 int arg2 ;
9851 PyObject * obj0 = 0 ;
9852 PyObject * obj1 = 0 ;
9853 char *kwnames[] = {
9854 (char *) "self",(char *) "viewStart", NULL
9855 };
9856
9857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
9858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9860 arg2 = (int) SWIG_AsInt(obj1);
9861 if (PyErr_Occurred()) SWIG_fail;
9862 {
9863 PyThreadState* __tstate = wxPyBeginAllowThreads();
9864 (arg1)->SetThumbPosition(arg2);
9865
9866 wxPyEndAllowThreads(__tstate);
9867 if (PyErr_Occurred()) SWIG_fail;
9868 }
9869 Py_INCREF(Py_None); resultobj = Py_None;
9870 return resultobj;
9871 fail:
9872 return NULL;
9873 }
9874
9875
9876 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
9877 PyObject *resultobj;
9878 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9879 int arg2 ;
9880 int arg3 ;
9881 int arg4 ;
9882 int arg5 ;
9883 bool arg6 = (bool) True ;
9884 PyObject * obj0 = 0 ;
9885 PyObject * obj1 = 0 ;
9886 PyObject * obj2 = 0 ;
9887 PyObject * obj3 = 0 ;
9888 PyObject * obj4 = 0 ;
9889 PyObject * obj5 = 0 ;
9890 char *kwnames[] = {
9891 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9892 };
9893
9894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9897 arg2 = (int) SWIG_AsInt(obj1);
9898 if (PyErr_Occurred()) SWIG_fail;
9899 arg3 = (int) SWIG_AsInt(obj2);
9900 if (PyErr_Occurred()) SWIG_fail;
9901 arg4 = (int) SWIG_AsInt(obj3);
9902 if (PyErr_Occurred()) SWIG_fail;
9903 arg5 = (int) SWIG_AsInt(obj4);
9904 if (PyErr_Occurred()) SWIG_fail;
9905 if (obj5) {
9906 arg6 = (bool) SWIG_AsBool(obj5);
9907 if (PyErr_Occurred()) SWIG_fail;
9908 }
9909 {
9910 PyThreadState* __tstate = wxPyBeginAllowThreads();
9911 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
9912
9913 wxPyEndAllowThreads(__tstate);
9914 if (PyErr_Occurred()) SWIG_fail;
9915 }
9916 Py_INCREF(Py_None); resultobj = Py_None;
9917 return resultobj;
9918 fail:
9919 return NULL;
9920 }
9921
9922
9923 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
9924 PyObject *obj;
9925 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9926 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
9927 Py_INCREF(obj);
9928 return Py_BuildValue((char *)"");
9929 }
9930 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
9931 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
9932 return 1;
9933 }
9934
9935
9936 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
9937 PyObject *pyobj;
9938
9939 {
9940 #if wxUSE_UNICODE
9941 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9942 #else
9943 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9944 #endif
9945 }
9946 return pyobj;
9947 }
9948
9949
9950 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
9951 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
9952 return 1;
9953 }
9954
9955
9956 static PyObject *_wrap_SpinCtrlNameStr_get() {
9957 PyObject *pyobj;
9958
9959 {
9960 #if wxUSE_UNICODE
9961 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9962 #else
9963 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9964 #endif
9965 }
9966 return pyobj;
9967 }
9968
9969
9970 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9971 PyObject *resultobj;
9972 wxWindow *arg1 = (wxWindow *) 0 ;
9973 int arg2 = (int) -1 ;
9974 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9975 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9976 wxSize const &arg4_defvalue = wxDefaultSize ;
9977 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9978 long arg5 = (long) wxSP_HORIZONTAL ;
9979 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
9980 wxString *arg6 = (wxString *) &arg6_defvalue ;
9981 wxSpinButton *result;
9982 wxPoint temp3 ;
9983 wxSize temp4 ;
9984 bool temp6 = False ;
9985 PyObject * obj0 = 0 ;
9986 PyObject * obj1 = 0 ;
9987 PyObject * obj2 = 0 ;
9988 PyObject * obj3 = 0 ;
9989 PyObject * obj4 = 0 ;
9990 PyObject * obj5 = 0 ;
9991 char *kwnames[] = {
9992 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9993 };
9994
9995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9998 if (obj1) {
9999 arg2 = (int) SWIG_AsInt(obj1);
10000 if (PyErr_Occurred()) SWIG_fail;
10001 }
10002 if (obj2) {
10003 {
10004 arg3 = &temp3;
10005 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10006 }
10007 }
10008 if (obj3) {
10009 {
10010 arg4 = &temp4;
10011 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10012 }
10013 }
10014 if (obj4) {
10015 arg5 = (long) SWIG_AsLong(obj4);
10016 if (PyErr_Occurred()) SWIG_fail;
10017 }
10018 if (obj5) {
10019 {
10020 arg6 = wxString_in_helper(obj5);
10021 if (arg6 == NULL) SWIG_fail;
10022 temp6 = True;
10023 }
10024 }
10025 {
10026 PyThreadState* __tstate = wxPyBeginAllowThreads();
10027 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10028
10029 wxPyEndAllowThreads(__tstate);
10030 if (PyErr_Occurred()) SWIG_fail;
10031 }
10032 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10033 {
10034 if (temp6)
10035 delete arg6;
10036 }
10037 return resultobj;
10038 fail:
10039 {
10040 if (temp6)
10041 delete arg6;
10042 }
10043 return NULL;
10044 }
10045
10046
10047 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10048 PyObject *resultobj;
10049 wxSpinButton *result;
10050 char *kwnames[] = {
10051 NULL
10052 };
10053
10054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10055 {
10056 PyThreadState* __tstate = wxPyBeginAllowThreads();
10057 result = (wxSpinButton *)new wxSpinButton();
10058
10059 wxPyEndAllowThreads(__tstate);
10060 if (PyErr_Occurred()) SWIG_fail;
10061 }
10062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10063 return resultobj;
10064 fail:
10065 return NULL;
10066 }
10067
10068
10069 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10070 PyObject *resultobj;
10071 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10072 wxWindow *arg2 = (wxWindow *) 0 ;
10073 int arg3 = (int) -1 ;
10074 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10075 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10076 wxSize const &arg5_defvalue = wxDefaultSize ;
10077 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10078 long arg6 = (long) wxSP_HORIZONTAL ;
10079 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10080 wxString *arg7 = (wxString *) &arg7_defvalue ;
10081 bool result;
10082 wxPoint temp4 ;
10083 wxSize temp5 ;
10084 bool temp7 = False ;
10085 PyObject * obj0 = 0 ;
10086 PyObject * obj1 = 0 ;
10087 PyObject * obj2 = 0 ;
10088 PyObject * obj3 = 0 ;
10089 PyObject * obj4 = 0 ;
10090 PyObject * obj5 = 0 ;
10091 PyObject * obj6 = 0 ;
10092 char *kwnames[] = {
10093 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10094 };
10095
10096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10099 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10101 if (obj2) {
10102 arg3 = (int) SWIG_AsInt(obj2);
10103 if (PyErr_Occurred()) SWIG_fail;
10104 }
10105 if (obj3) {
10106 {
10107 arg4 = &temp4;
10108 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10109 }
10110 }
10111 if (obj4) {
10112 {
10113 arg5 = &temp5;
10114 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10115 }
10116 }
10117 if (obj5) {
10118 arg6 = (long) SWIG_AsLong(obj5);
10119 if (PyErr_Occurred()) SWIG_fail;
10120 }
10121 if (obj6) {
10122 {
10123 arg7 = wxString_in_helper(obj6);
10124 if (arg7 == NULL) SWIG_fail;
10125 temp7 = True;
10126 }
10127 }
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10131
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
10135 {
10136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10137 }
10138 {
10139 if (temp7)
10140 delete arg7;
10141 }
10142 return resultobj;
10143 fail:
10144 {
10145 if (temp7)
10146 delete arg7;
10147 }
10148 return NULL;
10149 }
10150
10151
10152 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10153 PyObject *resultobj;
10154 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10155 int result;
10156 PyObject * obj0 = 0 ;
10157 char *kwnames[] = {
10158 (char *) "self", NULL
10159 };
10160
10161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10164 {
10165 PyThreadState* __tstate = wxPyBeginAllowThreads();
10166 result = (int)((wxSpinButton const *)arg1)->GetValue();
10167
10168 wxPyEndAllowThreads(__tstate);
10169 if (PyErr_Occurred()) SWIG_fail;
10170 }
10171 resultobj = SWIG_FromInt((int)result);
10172 return resultobj;
10173 fail:
10174 return NULL;
10175 }
10176
10177
10178 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10179 PyObject *resultobj;
10180 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10181 int result;
10182 PyObject * obj0 = 0 ;
10183 char *kwnames[] = {
10184 (char *) "self", NULL
10185 };
10186
10187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10190 {
10191 PyThreadState* __tstate = wxPyBeginAllowThreads();
10192 result = (int)((wxSpinButton const *)arg1)->GetMin();
10193
10194 wxPyEndAllowThreads(__tstate);
10195 if (PyErr_Occurred()) SWIG_fail;
10196 }
10197 resultobj = SWIG_FromInt((int)result);
10198 return resultobj;
10199 fail:
10200 return NULL;
10201 }
10202
10203
10204 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10205 PyObject *resultobj;
10206 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10207 int result;
10208 PyObject * obj0 = 0 ;
10209 char *kwnames[] = {
10210 (char *) "self", NULL
10211 };
10212
10213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10216 {
10217 PyThreadState* __tstate = wxPyBeginAllowThreads();
10218 result = (int)((wxSpinButton const *)arg1)->GetMax();
10219
10220 wxPyEndAllowThreads(__tstate);
10221 if (PyErr_Occurred()) SWIG_fail;
10222 }
10223 resultobj = SWIG_FromInt((int)result);
10224 return resultobj;
10225 fail:
10226 return NULL;
10227 }
10228
10229
10230 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10231 PyObject *resultobj;
10232 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10233 int arg2 ;
10234 PyObject * obj0 = 0 ;
10235 PyObject * obj1 = 0 ;
10236 char *kwnames[] = {
10237 (char *) "self",(char *) "val", NULL
10238 };
10239
10240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10243 arg2 = (int) SWIG_AsInt(obj1);
10244 if (PyErr_Occurred()) SWIG_fail;
10245 {
10246 PyThreadState* __tstate = wxPyBeginAllowThreads();
10247 (arg1)->SetValue(arg2);
10248
10249 wxPyEndAllowThreads(__tstate);
10250 if (PyErr_Occurred()) SWIG_fail;
10251 }
10252 Py_INCREF(Py_None); resultobj = Py_None;
10253 return resultobj;
10254 fail:
10255 return NULL;
10256 }
10257
10258
10259 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10260 PyObject *resultobj;
10261 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10262 int arg2 ;
10263 PyObject * obj0 = 0 ;
10264 PyObject * obj1 = 0 ;
10265 char *kwnames[] = {
10266 (char *) "self",(char *) "minVal", NULL
10267 };
10268
10269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10272 arg2 = (int) SWIG_AsInt(obj1);
10273 if (PyErr_Occurred()) SWIG_fail;
10274 {
10275 PyThreadState* __tstate = wxPyBeginAllowThreads();
10276 (arg1)->SetMin(arg2);
10277
10278 wxPyEndAllowThreads(__tstate);
10279 if (PyErr_Occurred()) SWIG_fail;
10280 }
10281 Py_INCREF(Py_None); resultobj = Py_None;
10282 return resultobj;
10283 fail:
10284 return NULL;
10285 }
10286
10287
10288 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10289 PyObject *resultobj;
10290 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10291 int arg2 ;
10292 PyObject * obj0 = 0 ;
10293 PyObject * obj1 = 0 ;
10294 char *kwnames[] = {
10295 (char *) "self",(char *) "maxVal", NULL
10296 };
10297
10298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10301 arg2 = (int) SWIG_AsInt(obj1);
10302 if (PyErr_Occurred()) SWIG_fail;
10303 {
10304 PyThreadState* __tstate = wxPyBeginAllowThreads();
10305 (arg1)->SetMax(arg2);
10306
10307 wxPyEndAllowThreads(__tstate);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 }
10310 Py_INCREF(Py_None); resultobj = Py_None;
10311 return resultobj;
10312 fail:
10313 return NULL;
10314 }
10315
10316
10317 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10318 PyObject *resultobj;
10319 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10320 int arg2 ;
10321 int arg3 ;
10322 PyObject * obj0 = 0 ;
10323 PyObject * obj1 = 0 ;
10324 PyObject * obj2 = 0 ;
10325 char *kwnames[] = {
10326 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10327 };
10328
10329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10332 arg2 = (int) SWIG_AsInt(obj1);
10333 if (PyErr_Occurred()) SWIG_fail;
10334 arg3 = (int) SWIG_AsInt(obj2);
10335 if (PyErr_Occurred()) SWIG_fail;
10336 {
10337 PyThreadState* __tstate = wxPyBeginAllowThreads();
10338 (arg1)->SetRange(arg2,arg3);
10339
10340 wxPyEndAllowThreads(__tstate);
10341 if (PyErr_Occurred()) SWIG_fail;
10342 }
10343 Py_INCREF(Py_None); resultobj = Py_None;
10344 return resultobj;
10345 fail:
10346 return NULL;
10347 }
10348
10349
10350 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10351 PyObject *resultobj;
10352 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10353 bool result;
10354 PyObject * obj0 = 0 ;
10355 char *kwnames[] = {
10356 (char *) "self", NULL
10357 };
10358
10359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10362 {
10363 PyThreadState* __tstate = wxPyBeginAllowThreads();
10364 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10365
10366 wxPyEndAllowThreads(__tstate);
10367 if (PyErr_Occurred()) SWIG_fail;
10368 }
10369 {
10370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10371 }
10372 return resultobj;
10373 fail:
10374 return NULL;
10375 }
10376
10377
10378 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
10379 PyObject *obj;
10380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10381 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10382 Py_INCREF(obj);
10383 return Py_BuildValue((char *)"");
10384 }
10385 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10386 PyObject *resultobj;
10387 wxWindow *arg1 = (wxWindow *) 0 ;
10388 int arg2 = (int) -1 ;
10389 wxString const &arg3_defvalue = wxPyEmptyString ;
10390 wxString *arg3 = (wxString *) &arg3_defvalue ;
10391 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10392 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10393 wxSize const &arg5_defvalue = wxDefaultSize ;
10394 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10395 long arg6 = (long) wxSP_ARROW_KEYS ;
10396 int arg7 = (int) 0 ;
10397 int arg8 = (int) 100 ;
10398 int arg9 = (int) 0 ;
10399 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10400 wxString *arg10 = (wxString *) &arg10_defvalue ;
10401 wxSpinCtrl *result;
10402 bool temp3 = False ;
10403 wxPoint temp4 ;
10404 wxSize temp5 ;
10405 bool temp10 = False ;
10406 PyObject * obj0 = 0 ;
10407 PyObject * obj1 = 0 ;
10408 PyObject * obj2 = 0 ;
10409 PyObject * obj3 = 0 ;
10410 PyObject * obj4 = 0 ;
10411 PyObject * obj5 = 0 ;
10412 PyObject * obj6 = 0 ;
10413 PyObject * obj7 = 0 ;
10414 PyObject * obj8 = 0 ;
10415 PyObject * obj9 = 0 ;
10416 char *kwnames[] = {
10417 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10418 };
10419
10420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10423 if (obj1) {
10424 arg2 = (int) SWIG_AsInt(obj1);
10425 if (PyErr_Occurred()) SWIG_fail;
10426 }
10427 if (obj2) {
10428 {
10429 arg3 = wxString_in_helper(obj2);
10430 if (arg3 == NULL) SWIG_fail;
10431 temp3 = True;
10432 }
10433 }
10434 if (obj3) {
10435 {
10436 arg4 = &temp4;
10437 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10438 }
10439 }
10440 if (obj4) {
10441 {
10442 arg5 = &temp5;
10443 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10444 }
10445 }
10446 if (obj5) {
10447 arg6 = (long) SWIG_AsLong(obj5);
10448 if (PyErr_Occurred()) SWIG_fail;
10449 }
10450 if (obj6) {
10451 arg7 = (int) SWIG_AsInt(obj6);
10452 if (PyErr_Occurred()) SWIG_fail;
10453 }
10454 if (obj7) {
10455 arg8 = (int) SWIG_AsInt(obj7);
10456 if (PyErr_Occurred()) SWIG_fail;
10457 }
10458 if (obj8) {
10459 arg9 = (int) SWIG_AsInt(obj8);
10460 if (PyErr_Occurred()) SWIG_fail;
10461 }
10462 if (obj9) {
10463 {
10464 arg10 = wxString_in_helper(obj9);
10465 if (arg10 == NULL) SWIG_fail;
10466 temp10 = True;
10467 }
10468 }
10469 {
10470 PyThreadState* __tstate = wxPyBeginAllowThreads();
10471 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10472
10473 wxPyEndAllowThreads(__tstate);
10474 if (PyErr_Occurred()) SWIG_fail;
10475 }
10476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10477 {
10478 if (temp3)
10479 delete arg3;
10480 }
10481 {
10482 if (temp10)
10483 delete arg10;
10484 }
10485 return resultobj;
10486 fail:
10487 {
10488 if (temp3)
10489 delete arg3;
10490 }
10491 {
10492 if (temp10)
10493 delete arg10;
10494 }
10495 return NULL;
10496 }
10497
10498
10499 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10500 PyObject *resultobj;
10501 wxSpinCtrl *result;
10502 char *kwnames[] = {
10503 NULL
10504 };
10505
10506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10507 {
10508 PyThreadState* __tstate = wxPyBeginAllowThreads();
10509 result = (wxSpinCtrl *)new wxSpinCtrl();
10510
10511 wxPyEndAllowThreads(__tstate);
10512 if (PyErr_Occurred()) SWIG_fail;
10513 }
10514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10515 return resultobj;
10516 fail:
10517 return NULL;
10518 }
10519
10520
10521 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10522 PyObject *resultobj;
10523 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10524 wxWindow *arg2 = (wxWindow *) 0 ;
10525 int arg3 = (int) -1 ;
10526 wxString const &arg4_defvalue = wxPyEmptyString ;
10527 wxString *arg4 = (wxString *) &arg4_defvalue ;
10528 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10529 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10530 wxSize const &arg6_defvalue = wxDefaultSize ;
10531 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10532 long arg7 = (long) wxSP_ARROW_KEYS ;
10533 int arg8 = (int) 0 ;
10534 int arg9 = (int) 100 ;
10535 int arg10 = (int) 0 ;
10536 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10537 wxString *arg11 = (wxString *) &arg11_defvalue ;
10538 bool result;
10539 bool temp4 = False ;
10540 wxPoint temp5 ;
10541 wxSize temp6 ;
10542 bool temp11 = False ;
10543 PyObject * obj0 = 0 ;
10544 PyObject * obj1 = 0 ;
10545 PyObject * obj2 = 0 ;
10546 PyObject * obj3 = 0 ;
10547 PyObject * obj4 = 0 ;
10548 PyObject * obj5 = 0 ;
10549 PyObject * obj6 = 0 ;
10550 PyObject * obj7 = 0 ;
10551 PyObject * obj8 = 0 ;
10552 PyObject * obj9 = 0 ;
10553 PyObject * obj10 = 0 ;
10554 char *kwnames[] = {
10555 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10556 };
10557
10558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10561 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10563 if (obj2) {
10564 arg3 = (int) SWIG_AsInt(obj2);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 if (obj3) {
10568 {
10569 arg4 = wxString_in_helper(obj3);
10570 if (arg4 == NULL) SWIG_fail;
10571 temp4 = True;
10572 }
10573 }
10574 if (obj4) {
10575 {
10576 arg5 = &temp5;
10577 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10578 }
10579 }
10580 if (obj5) {
10581 {
10582 arg6 = &temp6;
10583 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10584 }
10585 }
10586 if (obj6) {
10587 arg7 = (long) SWIG_AsLong(obj6);
10588 if (PyErr_Occurred()) SWIG_fail;
10589 }
10590 if (obj7) {
10591 arg8 = (int) SWIG_AsInt(obj7);
10592 if (PyErr_Occurred()) SWIG_fail;
10593 }
10594 if (obj8) {
10595 arg9 = (int) SWIG_AsInt(obj8);
10596 if (PyErr_Occurred()) SWIG_fail;
10597 }
10598 if (obj9) {
10599 arg10 = (int) SWIG_AsInt(obj9);
10600 if (PyErr_Occurred()) SWIG_fail;
10601 }
10602 if (obj10) {
10603 {
10604 arg11 = wxString_in_helper(obj10);
10605 if (arg11 == NULL) SWIG_fail;
10606 temp11 = True;
10607 }
10608 }
10609 {
10610 PyThreadState* __tstate = wxPyBeginAllowThreads();
10611 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10612
10613 wxPyEndAllowThreads(__tstate);
10614 if (PyErr_Occurred()) SWIG_fail;
10615 }
10616 {
10617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10618 }
10619 {
10620 if (temp4)
10621 delete arg4;
10622 }
10623 {
10624 if (temp11)
10625 delete arg11;
10626 }
10627 return resultobj;
10628 fail:
10629 {
10630 if (temp4)
10631 delete arg4;
10632 }
10633 {
10634 if (temp11)
10635 delete arg11;
10636 }
10637 return NULL;
10638 }
10639
10640
10641 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10642 PyObject *resultobj;
10643 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10644 int result;
10645 PyObject * obj0 = 0 ;
10646 char *kwnames[] = {
10647 (char *) "self", NULL
10648 };
10649
10650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
10651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10653 {
10654 PyThreadState* __tstate = wxPyBeginAllowThreads();
10655 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10656
10657 wxPyEndAllowThreads(__tstate);
10658 if (PyErr_Occurred()) SWIG_fail;
10659 }
10660 resultobj = SWIG_FromInt((int)result);
10661 return resultobj;
10662 fail:
10663 return NULL;
10664 }
10665
10666
10667 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10668 PyObject *resultobj;
10669 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10670 int arg2 ;
10671 PyObject * obj0 = 0 ;
10672 PyObject * obj1 = 0 ;
10673 char *kwnames[] = {
10674 (char *) "self",(char *) "value", NULL
10675 };
10676
10677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10680 arg2 = (int) SWIG_AsInt(obj1);
10681 if (PyErr_Occurred()) SWIG_fail;
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 (arg1)->SetValue(arg2);
10685
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 Py_INCREF(Py_None); resultobj = Py_None;
10690 return resultobj;
10691 fail:
10692 return NULL;
10693 }
10694
10695
10696 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
10697 PyObject *resultobj;
10698 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10699 wxString *arg2 = 0 ;
10700 bool temp2 = False ;
10701 PyObject * obj0 = 0 ;
10702 PyObject * obj1 = 0 ;
10703 char *kwnames[] = {
10704 (char *) "self",(char *) "text", NULL
10705 };
10706
10707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
10708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10710 {
10711 arg2 = wxString_in_helper(obj1);
10712 if (arg2 == NULL) SWIG_fail;
10713 temp2 = True;
10714 }
10715 {
10716 PyThreadState* __tstate = wxPyBeginAllowThreads();
10717 (arg1)->SetValue((wxString const &)*arg2);
10718
10719 wxPyEndAllowThreads(__tstate);
10720 if (PyErr_Occurred()) SWIG_fail;
10721 }
10722 Py_INCREF(Py_None); resultobj = Py_None;
10723 {
10724 if (temp2)
10725 delete arg2;
10726 }
10727 return resultobj;
10728 fail:
10729 {
10730 if (temp2)
10731 delete arg2;
10732 }
10733 return NULL;
10734 }
10735
10736
10737 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10738 PyObject *resultobj;
10739 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10740 int arg2 ;
10741 int arg3 ;
10742 PyObject * obj0 = 0 ;
10743 PyObject * obj1 = 0 ;
10744 PyObject * obj2 = 0 ;
10745 char *kwnames[] = {
10746 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10747 };
10748
10749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10752 arg2 = (int) SWIG_AsInt(obj1);
10753 if (PyErr_Occurred()) SWIG_fail;
10754 arg3 = (int) SWIG_AsInt(obj2);
10755 if (PyErr_Occurred()) SWIG_fail;
10756 {
10757 PyThreadState* __tstate = wxPyBeginAllowThreads();
10758 (arg1)->SetRange(arg2,arg3);
10759
10760 wxPyEndAllowThreads(__tstate);
10761 if (PyErr_Occurred()) SWIG_fail;
10762 }
10763 Py_INCREF(Py_None); resultobj = Py_None;
10764 return resultobj;
10765 fail:
10766 return NULL;
10767 }
10768
10769
10770 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10771 PyObject *resultobj;
10772 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10773 int result;
10774 PyObject * obj0 = 0 ;
10775 char *kwnames[] = {
10776 (char *) "self", NULL
10777 };
10778
10779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
10780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10782 {
10783 PyThreadState* __tstate = wxPyBeginAllowThreads();
10784 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10785
10786 wxPyEndAllowThreads(__tstate);
10787 if (PyErr_Occurred()) SWIG_fail;
10788 }
10789 resultobj = SWIG_FromInt((int)result);
10790 return resultobj;
10791 fail:
10792 return NULL;
10793 }
10794
10795
10796 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10797 PyObject *resultobj;
10798 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10799 int result;
10800 PyObject * obj0 = 0 ;
10801 char *kwnames[] = {
10802 (char *) "self", NULL
10803 };
10804
10805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
10806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10808 {
10809 PyThreadState* __tstate = wxPyBeginAllowThreads();
10810 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10811
10812 wxPyEndAllowThreads(__tstate);
10813 if (PyErr_Occurred()) SWIG_fail;
10814 }
10815 resultobj = SWIG_FromInt((int)result);
10816 return resultobj;
10817 fail:
10818 return NULL;
10819 }
10820
10821
10822 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10823 PyObject *resultobj;
10824 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10825 long arg2 ;
10826 long arg3 ;
10827 PyObject * obj0 = 0 ;
10828 PyObject * obj1 = 0 ;
10829 PyObject * obj2 = 0 ;
10830 char *kwnames[] = {
10831 (char *) "self",(char *) "from",(char *) "to", NULL
10832 };
10833
10834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
10835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10837 arg2 = (long) SWIG_AsLong(obj1);
10838 if (PyErr_Occurred()) SWIG_fail;
10839 arg3 = (long) SWIG_AsLong(obj2);
10840 if (PyErr_Occurred()) SWIG_fail;
10841 {
10842 PyThreadState* __tstate = wxPyBeginAllowThreads();
10843 (arg1)->SetSelection(arg2,arg3);
10844
10845 wxPyEndAllowThreads(__tstate);
10846 if (PyErr_Occurred()) SWIG_fail;
10847 }
10848 Py_INCREF(Py_None); resultobj = Py_None;
10849 return resultobj;
10850 fail:
10851 return NULL;
10852 }
10853
10854
10855 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
10856 PyObject *obj;
10857 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10858 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10859 Py_INCREF(obj);
10860 return Py_BuildValue((char *)"");
10861 }
10862 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10863 PyObject *resultobj;
10864 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10865 int arg2 = (int) 0 ;
10866 wxSpinEvent *result;
10867 PyObject * obj0 = 0 ;
10868 PyObject * obj1 = 0 ;
10869 char *kwnames[] = {
10870 (char *) "commandType",(char *) "winid", NULL
10871 };
10872
10873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10874 if (obj0) {
10875 arg1 = (wxEventType) SWIG_AsInt(obj0);
10876 if (PyErr_Occurred()) SWIG_fail;
10877 }
10878 if (obj1) {
10879 arg2 = (int) SWIG_AsInt(obj1);
10880 if (PyErr_Occurred()) SWIG_fail;
10881 }
10882 {
10883 PyThreadState* __tstate = wxPyBeginAllowThreads();
10884 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10885
10886 wxPyEndAllowThreads(__tstate);
10887 if (PyErr_Occurred()) SWIG_fail;
10888 }
10889 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
10890 return resultobj;
10891 fail:
10892 return NULL;
10893 }
10894
10895
10896 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10897 PyObject *resultobj;
10898 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10899 int result;
10900 PyObject * obj0 = 0 ;
10901 char *kwnames[] = {
10902 (char *) "self", NULL
10903 };
10904
10905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
10906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10908 {
10909 PyThreadState* __tstate = wxPyBeginAllowThreads();
10910 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
10911
10912 wxPyEndAllowThreads(__tstate);
10913 if (PyErr_Occurred()) SWIG_fail;
10914 }
10915 resultobj = SWIG_FromInt((int)result);
10916 return resultobj;
10917 fail:
10918 return NULL;
10919 }
10920
10921
10922 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10923 PyObject *resultobj;
10924 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10925 int arg2 ;
10926 PyObject * obj0 = 0 ;
10927 PyObject * obj1 = 0 ;
10928 char *kwnames[] = {
10929 (char *) "self",(char *) "pos", NULL
10930 };
10931
10932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10935 arg2 = (int) SWIG_AsInt(obj1);
10936 if (PyErr_Occurred()) SWIG_fail;
10937 {
10938 PyThreadState* __tstate = wxPyBeginAllowThreads();
10939 (arg1)->SetPosition(arg2);
10940
10941 wxPyEndAllowThreads(__tstate);
10942 if (PyErr_Occurred()) SWIG_fail;
10943 }
10944 Py_INCREF(Py_None); resultobj = Py_None;
10945 return resultobj;
10946 fail:
10947 return NULL;
10948 }
10949
10950
10951 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
10952 PyObject *obj;
10953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10954 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
10955 Py_INCREF(obj);
10956 return Py_BuildValue((char *)"");
10957 }
10958 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
10959 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
10960 return 1;
10961 }
10962
10963
10964 static PyObject *_wrap_RadioBoxNameStr_get() {
10965 PyObject *pyobj;
10966
10967 {
10968 #if wxUSE_UNICODE
10969 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10970 #else
10971 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10972 #endif
10973 }
10974 return pyobj;
10975 }
10976
10977
10978 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
10979 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
10980 return 1;
10981 }
10982
10983
10984 static PyObject *_wrap_RadioButtonNameStr_get() {
10985 PyObject *pyobj;
10986
10987 {
10988 #if wxUSE_UNICODE
10989 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10990 #else
10991 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10992 #endif
10993 }
10994 return pyobj;
10995 }
10996
10997
10998 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10999 PyObject *resultobj;
11000 wxWindow *arg1 = (wxWindow *) 0 ;
11001 int arg2 ;
11002 wxString *arg3 = 0 ;
11003 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11004 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11005 wxSize const &arg5_defvalue = wxDefaultSize ;
11006 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11007 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
11008 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
11009 int arg7 = (int) 0 ;
11010 long arg8 = (long) wxRA_HORIZONTAL ;
11011 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11012 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11013 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
11014 wxString *arg10 = (wxString *) &arg10_defvalue ;
11015 wxRadioBox *result;
11016 bool temp3 = False ;
11017 wxPoint temp4 ;
11018 wxSize temp5 ;
11019 bool temp6 = False ;
11020 bool temp10 = False ;
11021 PyObject * obj0 = 0 ;
11022 PyObject * obj1 = 0 ;
11023 PyObject * obj2 = 0 ;
11024 PyObject * obj3 = 0 ;
11025 PyObject * obj4 = 0 ;
11026 PyObject * obj5 = 0 ;
11027 PyObject * obj6 = 0 ;
11028 PyObject * obj7 = 0 ;
11029 PyObject * obj8 = 0 ;
11030 PyObject * obj9 = 0 ;
11031 char *kwnames[] = {
11032 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11033 };
11034
11035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11038 arg2 = (int) SWIG_AsInt(obj1);
11039 if (PyErr_Occurred()) SWIG_fail;
11040 {
11041 arg3 = wxString_in_helper(obj2);
11042 if (arg3 == NULL) SWIG_fail;
11043 temp3 = True;
11044 }
11045 if (obj3) {
11046 {
11047 arg4 = &temp4;
11048 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11049 }
11050 }
11051 if (obj4) {
11052 {
11053 arg5 = &temp5;
11054 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11055 }
11056 }
11057 if (obj5) {
11058 {
11059 if (! PySequence_Check(obj5)) {
11060 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11061 SWIG_fail;
11062 }
11063 arg6 = new wxArrayString;
11064 temp6 = True;
11065 int i, len=PySequence_Length(obj5);
11066 for (i=0; i<len; i++) {
11067 PyObject* item = PySequence_GetItem(obj5, i);
11068 #if wxUSE_UNICODE
11069 PyObject* str = PyObject_Unicode(item);
11070 #else
11071 PyObject* str = PyObject_Str(item);
11072 #endif
11073 if (PyErr_Occurred()) SWIG_fail;
11074 arg6->Add(Py2wxString(str));
11075 Py_DECREF(item);
11076 Py_DECREF(str);
11077 }
11078 }
11079 }
11080 if (obj6) {
11081 arg7 = (int) SWIG_AsInt(obj6);
11082 if (PyErr_Occurred()) SWIG_fail;
11083 }
11084 if (obj7) {
11085 arg8 = (long) SWIG_AsLong(obj7);
11086 if (PyErr_Occurred()) SWIG_fail;
11087 }
11088 if (obj8) {
11089 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11090 SWIG_POINTER_EXCEPTION | 0)) == -1)
11091 SWIG_fail;
11092 if (arg9 == NULL) {
11093 PyErr_SetString(PyExc_TypeError,"null reference");
11094 SWIG_fail;
11095 }
11096 }
11097 if (obj9) {
11098 {
11099 arg10 = wxString_in_helper(obj9);
11100 if (arg10 == NULL) SWIG_fail;
11101 temp10 = True;
11102 }
11103 }
11104 {
11105 PyThreadState* __tstate = wxPyBeginAllowThreads();
11106 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);
11107
11108 wxPyEndAllowThreads(__tstate);
11109 if (PyErr_Occurred()) SWIG_fail;
11110 }
11111 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11112 {
11113 if (temp3)
11114 delete arg3;
11115 }
11116 {
11117 if (temp6) delete arg6;
11118 }
11119 {
11120 if (temp10)
11121 delete arg10;
11122 }
11123 return resultobj;
11124 fail:
11125 {
11126 if (temp3)
11127 delete arg3;
11128 }
11129 {
11130 if (temp6) delete arg6;
11131 }
11132 {
11133 if (temp10)
11134 delete arg10;
11135 }
11136 return NULL;
11137 }
11138
11139
11140 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11141 PyObject *resultobj;
11142 wxRadioBox *result;
11143 char *kwnames[] = {
11144 NULL
11145 };
11146
11147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11148 {
11149 PyThreadState* __tstate = wxPyBeginAllowThreads();
11150 result = (wxRadioBox *)new wxRadioBox();
11151
11152 wxPyEndAllowThreads(__tstate);
11153 if (PyErr_Occurred()) SWIG_fail;
11154 }
11155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11156 return resultobj;
11157 fail:
11158 return NULL;
11159 }
11160
11161
11162 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11163 PyObject *resultobj;
11164 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11165 wxWindow *arg2 = (wxWindow *) 0 ;
11166 int arg3 ;
11167 wxString *arg4 = 0 ;
11168 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11169 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11170 wxSize const &arg6_defvalue = wxDefaultSize ;
11171 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11172 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11173 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11174 int arg8 = (int) 0 ;
11175 long arg9 = (long) wxRA_HORIZONTAL ;
11176 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11177 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11178 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11179 wxString *arg11 = (wxString *) &arg11_defvalue ;
11180 bool result;
11181 bool temp4 = False ;
11182 wxPoint temp5 ;
11183 wxSize temp6 ;
11184 bool temp7 = False ;
11185 bool temp11 = False ;
11186 PyObject * obj0 = 0 ;
11187 PyObject * obj1 = 0 ;
11188 PyObject * obj2 = 0 ;
11189 PyObject * obj3 = 0 ;
11190 PyObject * obj4 = 0 ;
11191 PyObject * obj5 = 0 ;
11192 PyObject * obj6 = 0 ;
11193 PyObject * obj7 = 0 ;
11194 PyObject * obj8 = 0 ;
11195 PyObject * obj9 = 0 ;
11196 PyObject * obj10 = 0 ;
11197 char *kwnames[] = {
11198 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11199 };
11200
11201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11204 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11206 arg3 = (int) SWIG_AsInt(obj2);
11207 if (PyErr_Occurred()) SWIG_fail;
11208 {
11209 arg4 = wxString_in_helper(obj3);
11210 if (arg4 == NULL) SWIG_fail;
11211 temp4 = True;
11212 }
11213 if (obj4) {
11214 {
11215 arg5 = &temp5;
11216 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11217 }
11218 }
11219 if (obj5) {
11220 {
11221 arg6 = &temp6;
11222 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11223 }
11224 }
11225 if (obj6) {
11226 {
11227 if (! PySequence_Check(obj6)) {
11228 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11229 SWIG_fail;
11230 }
11231 arg7 = new wxArrayString;
11232 temp7 = True;
11233 int i, len=PySequence_Length(obj6);
11234 for (i=0; i<len; i++) {
11235 PyObject* item = PySequence_GetItem(obj6, i);
11236 #if wxUSE_UNICODE
11237 PyObject* str = PyObject_Unicode(item);
11238 #else
11239 PyObject* str = PyObject_Str(item);
11240 #endif
11241 if (PyErr_Occurred()) SWIG_fail;
11242 arg7->Add(Py2wxString(str));
11243 Py_DECREF(item);
11244 Py_DECREF(str);
11245 }
11246 }
11247 }
11248 if (obj7) {
11249 arg8 = (int) SWIG_AsInt(obj7);
11250 if (PyErr_Occurred()) SWIG_fail;
11251 }
11252 if (obj8) {
11253 arg9 = (long) SWIG_AsLong(obj8);
11254 if (PyErr_Occurred()) SWIG_fail;
11255 }
11256 if (obj9) {
11257 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11258 SWIG_POINTER_EXCEPTION | 0)) == -1)
11259 SWIG_fail;
11260 if (arg10 == NULL) {
11261 PyErr_SetString(PyExc_TypeError,"null reference");
11262 SWIG_fail;
11263 }
11264 }
11265 if (obj10) {
11266 {
11267 arg11 = wxString_in_helper(obj10);
11268 if (arg11 == NULL) SWIG_fail;
11269 temp11 = True;
11270 }
11271 }
11272 {
11273 PyThreadState* __tstate = wxPyBeginAllowThreads();
11274 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);
11275
11276 wxPyEndAllowThreads(__tstate);
11277 if (PyErr_Occurred()) SWIG_fail;
11278 }
11279 {
11280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11281 }
11282 {
11283 if (temp4)
11284 delete arg4;
11285 }
11286 {
11287 if (temp7) delete arg7;
11288 }
11289 {
11290 if (temp11)
11291 delete arg11;
11292 }
11293 return resultobj;
11294 fail:
11295 {
11296 if (temp4)
11297 delete arg4;
11298 }
11299 {
11300 if (temp7) delete arg7;
11301 }
11302 {
11303 if (temp11)
11304 delete arg11;
11305 }
11306 return NULL;
11307 }
11308
11309
11310 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11311 PyObject *resultobj;
11312 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11313 int arg2 ;
11314 PyObject * obj0 = 0 ;
11315 PyObject * obj1 = 0 ;
11316 char *kwnames[] = {
11317 (char *) "self",(char *) "n", NULL
11318 };
11319
11320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11323 arg2 = (int) SWIG_AsInt(obj1);
11324 if (PyErr_Occurred()) SWIG_fail;
11325 {
11326 PyThreadState* __tstate = wxPyBeginAllowThreads();
11327 (arg1)->SetSelection(arg2);
11328
11329 wxPyEndAllowThreads(__tstate);
11330 if (PyErr_Occurred()) SWIG_fail;
11331 }
11332 Py_INCREF(Py_None); resultobj = Py_None;
11333 return resultobj;
11334 fail:
11335 return NULL;
11336 }
11337
11338
11339 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11340 PyObject *resultobj;
11341 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11342 int result;
11343 PyObject * obj0 = 0 ;
11344 char *kwnames[] = {
11345 (char *) "self", NULL
11346 };
11347
11348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
11349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11351 {
11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
11353 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11354
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
11358 resultobj = SWIG_FromInt((int)result);
11359 return resultobj;
11360 fail:
11361 return NULL;
11362 }
11363
11364
11365 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11366 PyObject *resultobj;
11367 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11368 wxString result;
11369 PyObject * obj0 = 0 ;
11370 char *kwnames[] = {
11371 (char *) "self", NULL
11372 };
11373
11374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
11375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11377 {
11378 PyThreadState* __tstate = wxPyBeginAllowThreads();
11379 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11380
11381 wxPyEndAllowThreads(__tstate);
11382 if (PyErr_Occurred()) SWIG_fail;
11383 }
11384 {
11385 #if wxUSE_UNICODE
11386 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11387 #else
11388 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11389 #endif
11390 }
11391 return resultobj;
11392 fail:
11393 return NULL;
11394 }
11395
11396
11397 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11398 PyObject *resultobj;
11399 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11400 wxString *arg2 = 0 ;
11401 bool result;
11402 bool temp2 = False ;
11403 PyObject * obj0 = 0 ;
11404 PyObject * obj1 = 0 ;
11405 char *kwnames[] = {
11406 (char *) "self",(char *) "s", NULL
11407 };
11408
11409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
11410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11412 {
11413 arg2 = wxString_in_helper(obj1);
11414 if (arg2 == NULL) SWIG_fail;
11415 temp2 = True;
11416 }
11417 {
11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
11419 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11420
11421 wxPyEndAllowThreads(__tstate);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 }
11424 {
11425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11426 }
11427 {
11428 if (temp2)
11429 delete arg2;
11430 }
11431 return resultobj;
11432 fail:
11433 {
11434 if (temp2)
11435 delete arg2;
11436 }
11437 return NULL;
11438 }
11439
11440
11441 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11442 PyObject *resultobj;
11443 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11444 int result;
11445 PyObject * obj0 = 0 ;
11446 char *kwnames[] = {
11447 (char *) "self", NULL
11448 };
11449
11450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
11451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11453 {
11454 PyThreadState* __tstate = wxPyBeginAllowThreads();
11455 result = (int)((wxRadioBox const *)arg1)->GetCount();
11456
11457 wxPyEndAllowThreads(__tstate);
11458 if (PyErr_Occurred()) SWIG_fail;
11459 }
11460 resultobj = SWIG_FromInt((int)result);
11461 return resultobj;
11462 fail:
11463 return NULL;
11464 }
11465
11466
11467 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11468 PyObject *resultobj;
11469 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11470 wxString *arg2 = 0 ;
11471 int result;
11472 bool temp2 = False ;
11473 PyObject * obj0 = 0 ;
11474 PyObject * obj1 = 0 ;
11475 char *kwnames[] = {
11476 (char *) "self",(char *) "s", NULL
11477 };
11478
11479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
11480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11482 {
11483 arg2 = wxString_in_helper(obj1);
11484 if (arg2 == NULL) SWIG_fail;
11485 temp2 = True;
11486 }
11487 {
11488 PyThreadState* __tstate = wxPyBeginAllowThreads();
11489 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11490
11491 wxPyEndAllowThreads(__tstate);
11492 if (PyErr_Occurred()) SWIG_fail;
11493 }
11494 resultobj = SWIG_FromInt((int)result);
11495 {
11496 if (temp2)
11497 delete arg2;
11498 }
11499 return resultobj;
11500 fail:
11501 {
11502 if (temp2)
11503 delete arg2;
11504 }
11505 return NULL;
11506 }
11507
11508
11509 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11510 PyObject *resultobj;
11511 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11512 int arg2 ;
11513 wxString result;
11514 PyObject * obj0 = 0 ;
11515 PyObject * obj1 = 0 ;
11516 char *kwnames[] = {
11517 (char *) "self",(char *) "n", NULL
11518 };
11519
11520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
11521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11523 arg2 = (int) SWIG_AsInt(obj1);
11524 if (PyErr_Occurred()) SWIG_fail;
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11528
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
11532 {
11533 #if wxUSE_UNICODE
11534 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11535 #else
11536 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11537 #endif
11538 }
11539 return resultobj;
11540 fail:
11541 return NULL;
11542 }
11543
11544
11545 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11546 PyObject *resultobj;
11547 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11548 int arg2 ;
11549 wxString *arg3 = 0 ;
11550 bool temp3 = False ;
11551 PyObject * obj0 = 0 ;
11552 PyObject * obj1 = 0 ;
11553 PyObject * obj2 = 0 ;
11554 char *kwnames[] = {
11555 (char *) "self",(char *) "n",(char *) "label", NULL
11556 };
11557
11558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11561 arg2 = (int) SWIG_AsInt(obj1);
11562 if (PyErr_Occurred()) SWIG_fail;
11563 {
11564 arg3 = wxString_in_helper(obj2);
11565 if (arg3 == NULL) SWIG_fail;
11566 temp3 = True;
11567 }
11568 {
11569 PyThreadState* __tstate = wxPyBeginAllowThreads();
11570 (arg1)->SetString(arg2,(wxString const &)*arg3);
11571
11572 wxPyEndAllowThreads(__tstate);
11573 if (PyErr_Occurred()) SWIG_fail;
11574 }
11575 Py_INCREF(Py_None); resultobj = Py_None;
11576 {
11577 if (temp3)
11578 delete arg3;
11579 }
11580 return resultobj;
11581 fail:
11582 {
11583 if (temp3)
11584 delete arg3;
11585 }
11586 return NULL;
11587 }
11588
11589
11590 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11591 PyObject *resultobj;
11592 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11593 int arg2 ;
11594 bool arg3 = (bool) True ;
11595 PyObject * obj0 = 0 ;
11596 PyObject * obj1 = 0 ;
11597 PyObject * obj2 = 0 ;
11598 char *kwnames[] = {
11599 (char *) "self",(char *) "n",(char *) "enable", NULL
11600 };
11601
11602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11605 arg2 = (int) SWIG_AsInt(obj1);
11606 if (PyErr_Occurred()) SWIG_fail;
11607 if (obj2) {
11608 arg3 = (bool) SWIG_AsBool(obj2);
11609 if (PyErr_Occurred()) SWIG_fail;
11610 }
11611 {
11612 PyThreadState* __tstate = wxPyBeginAllowThreads();
11613 (arg1)->Enable(arg2,arg3);
11614
11615 wxPyEndAllowThreads(__tstate);
11616 if (PyErr_Occurred()) SWIG_fail;
11617 }
11618 Py_INCREF(Py_None); resultobj = Py_None;
11619 return resultobj;
11620 fail:
11621 return NULL;
11622 }
11623
11624
11625 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11626 PyObject *resultobj;
11627 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11628 int arg2 ;
11629 bool arg3 = (bool) True ;
11630 PyObject * obj0 = 0 ;
11631 PyObject * obj1 = 0 ;
11632 PyObject * obj2 = 0 ;
11633 char *kwnames[] = {
11634 (char *) "self",(char *) "n",(char *) "show", NULL
11635 };
11636
11637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11640 arg2 = (int) SWIG_AsInt(obj1);
11641 if (PyErr_Occurred()) SWIG_fail;
11642 if (obj2) {
11643 arg3 = (bool) SWIG_AsBool(obj2);
11644 if (PyErr_Occurred()) SWIG_fail;
11645 }
11646 {
11647 PyThreadState* __tstate = wxPyBeginAllowThreads();
11648 (arg1)->Show(arg2,arg3);
11649
11650 wxPyEndAllowThreads(__tstate);
11651 if (PyErr_Occurred()) SWIG_fail;
11652 }
11653 Py_INCREF(Py_None); resultobj = Py_None;
11654 return resultobj;
11655 fail:
11656 return NULL;
11657 }
11658
11659
11660 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11661 PyObject *resultobj;
11662 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11663 int result;
11664 PyObject * obj0 = 0 ;
11665 char *kwnames[] = {
11666 (char *) "self", NULL
11667 };
11668
11669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
11670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11672 {
11673 PyThreadState* __tstate = wxPyBeginAllowThreads();
11674 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
11675
11676 wxPyEndAllowThreads(__tstate);
11677 if (PyErr_Occurred()) SWIG_fail;
11678 }
11679 resultobj = SWIG_FromInt((int)result);
11680 return resultobj;
11681 fail:
11682 return NULL;
11683 }
11684
11685
11686 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11687 PyObject *resultobj;
11688 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11689 int result;
11690 PyObject * obj0 = 0 ;
11691 char *kwnames[] = {
11692 (char *) "self", NULL
11693 };
11694
11695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
11696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11698 {
11699 PyThreadState* __tstate = wxPyBeginAllowThreads();
11700 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
11701
11702 wxPyEndAllowThreads(__tstate);
11703 if (PyErr_Occurred()) SWIG_fail;
11704 }
11705 resultobj = SWIG_FromInt((int)result);
11706 return resultobj;
11707 fail:
11708 return NULL;
11709 }
11710
11711
11712 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11713 PyObject *resultobj;
11714 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11715 int arg2 ;
11716 int arg3 ;
11717 long arg4 ;
11718 int result;
11719 PyObject * obj0 = 0 ;
11720 PyObject * obj1 = 0 ;
11721 PyObject * obj2 = 0 ;
11722 PyObject * obj3 = 0 ;
11723 char *kwnames[] = {
11724 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11725 };
11726
11727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11730 arg2 = (int) SWIG_AsInt(obj1);
11731 if (PyErr_Occurred()) SWIG_fail;
11732 arg3 = (wxDirection) SWIG_AsInt(obj2);
11733 if (PyErr_Occurred()) SWIG_fail;
11734 arg4 = (long) SWIG_AsLong(obj3);
11735 if (PyErr_Occurred()) SWIG_fail;
11736 {
11737 PyThreadState* __tstate = wxPyBeginAllowThreads();
11738 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
11739
11740 wxPyEndAllowThreads(__tstate);
11741 if (PyErr_Occurred()) SWIG_fail;
11742 }
11743 resultobj = SWIG_FromInt((int)result);
11744 return resultobj;
11745 fail:
11746 return NULL;
11747 }
11748
11749
11750 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
11751 PyObject *obj;
11752 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11753 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11754 Py_INCREF(obj);
11755 return Py_BuildValue((char *)"");
11756 }
11757 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11758 PyObject *resultobj;
11759 wxWindow *arg1 = (wxWindow *) 0 ;
11760 int arg2 ;
11761 wxString *arg3 = 0 ;
11762 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11763 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11764 wxSize const &arg5_defvalue = wxDefaultSize ;
11765 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11766 long arg6 = (long) 0 ;
11767 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11768 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11769 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11770 wxString *arg8 = (wxString *) &arg8_defvalue ;
11771 wxRadioButton *result;
11772 bool temp3 = False ;
11773 wxPoint temp4 ;
11774 wxSize temp5 ;
11775 bool temp8 = False ;
11776 PyObject * obj0 = 0 ;
11777 PyObject * obj1 = 0 ;
11778 PyObject * obj2 = 0 ;
11779 PyObject * obj3 = 0 ;
11780 PyObject * obj4 = 0 ;
11781 PyObject * obj5 = 0 ;
11782 PyObject * obj6 = 0 ;
11783 PyObject * obj7 = 0 ;
11784 char *kwnames[] = {
11785 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11786 };
11787
11788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11791 arg2 = (int) SWIG_AsInt(obj1);
11792 if (PyErr_Occurred()) SWIG_fail;
11793 {
11794 arg3 = wxString_in_helper(obj2);
11795 if (arg3 == NULL) SWIG_fail;
11796 temp3 = True;
11797 }
11798 if (obj3) {
11799 {
11800 arg4 = &temp4;
11801 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11802 }
11803 }
11804 if (obj4) {
11805 {
11806 arg5 = &temp5;
11807 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11808 }
11809 }
11810 if (obj5) {
11811 arg6 = (long) SWIG_AsLong(obj5);
11812 if (PyErr_Occurred()) SWIG_fail;
11813 }
11814 if (obj6) {
11815 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
11816 SWIG_POINTER_EXCEPTION | 0)) == -1)
11817 SWIG_fail;
11818 if (arg7 == NULL) {
11819 PyErr_SetString(PyExc_TypeError,"null reference");
11820 SWIG_fail;
11821 }
11822 }
11823 if (obj7) {
11824 {
11825 arg8 = wxString_in_helper(obj7);
11826 if (arg8 == NULL) SWIG_fail;
11827 temp8 = True;
11828 }
11829 }
11830 {
11831 PyThreadState* __tstate = wxPyBeginAllowThreads();
11832 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11833
11834 wxPyEndAllowThreads(__tstate);
11835 if (PyErr_Occurred()) SWIG_fail;
11836 }
11837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11838 {
11839 if (temp3)
11840 delete arg3;
11841 }
11842 {
11843 if (temp8)
11844 delete arg8;
11845 }
11846 return resultobj;
11847 fail:
11848 {
11849 if (temp3)
11850 delete arg3;
11851 }
11852 {
11853 if (temp8)
11854 delete arg8;
11855 }
11856 return NULL;
11857 }
11858
11859
11860 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11861 PyObject *resultobj;
11862 wxRadioButton *result;
11863 char *kwnames[] = {
11864 NULL
11865 };
11866
11867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11868 {
11869 PyThreadState* __tstate = wxPyBeginAllowThreads();
11870 result = (wxRadioButton *)new wxRadioButton();
11871
11872 wxPyEndAllowThreads(__tstate);
11873 if (PyErr_Occurred()) SWIG_fail;
11874 }
11875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11876 return resultobj;
11877 fail:
11878 return NULL;
11879 }
11880
11881
11882 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11883 PyObject *resultobj;
11884 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11885 wxWindow *arg2 = (wxWindow *) 0 ;
11886 int arg3 ;
11887 wxString *arg4 = 0 ;
11888 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11889 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11890 wxSize const &arg6_defvalue = wxDefaultSize ;
11891 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11892 long arg7 = (long) 0 ;
11893 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11894 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11895 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11896 wxString *arg9 = (wxString *) &arg9_defvalue ;
11897 bool result;
11898 bool temp4 = False ;
11899 wxPoint temp5 ;
11900 wxSize temp6 ;
11901 bool temp9 = False ;
11902 PyObject * obj0 = 0 ;
11903 PyObject * obj1 = 0 ;
11904 PyObject * obj2 = 0 ;
11905 PyObject * obj3 = 0 ;
11906 PyObject * obj4 = 0 ;
11907 PyObject * obj5 = 0 ;
11908 PyObject * obj6 = 0 ;
11909 PyObject * obj7 = 0 ;
11910 PyObject * obj8 = 0 ;
11911 char *kwnames[] = {
11912 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11913 };
11914
11915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
11916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11918 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11920 arg3 = (int) SWIG_AsInt(obj2);
11921 if (PyErr_Occurred()) SWIG_fail;
11922 {
11923 arg4 = wxString_in_helper(obj3);
11924 if (arg4 == NULL) SWIG_fail;
11925 temp4 = True;
11926 }
11927 if (obj4) {
11928 {
11929 arg5 = &temp5;
11930 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11931 }
11932 }
11933 if (obj5) {
11934 {
11935 arg6 = &temp6;
11936 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11937 }
11938 }
11939 if (obj6) {
11940 arg7 = (long) SWIG_AsLong(obj6);
11941 if (PyErr_Occurred()) SWIG_fail;
11942 }
11943 if (obj7) {
11944 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
11945 SWIG_POINTER_EXCEPTION | 0)) == -1)
11946 SWIG_fail;
11947 if (arg8 == NULL) {
11948 PyErr_SetString(PyExc_TypeError,"null reference");
11949 SWIG_fail;
11950 }
11951 }
11952 if (obj8) {
11953 {
11954 arg9 = wxString_in_helper(obj8);
11955 if (arg9 == NULL) SWIG_fail;
11956 temp9 = True;
11957 }
11958 }
11959 {
11960 PyThreadState* __tstate = wxPyBeginAllowThreads();
11961 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11962
11963 wxPyEndAllowThreads(__tstate);
11964 if (PyErr_Occurred()) SWIG_fail;
11965 }
11966 {
11967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11968 }
11969 {
11970 if (temp4)
11971 delete arg4;
11972 }
11973 {
11974 if (temp9)
11975 delete arg9;
11976 }
11977 return resultobj;
11978 fail:
11979 {
11980 if (temp4)
11981 delete arg4;
11982 }
11983 {
11984 if (temp9)
11985 delete arg9;
11986 }
11987 return NULL;
11988 }
11989
11990
11991 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11992 PyObject *resultobj;
11993 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11994 bool result;
11995 PyObject * obj0 = 0 ;
11996 char *kwnames[] = {
11997 (char *) "self", NULL
11998 };
11999
12000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
12001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12003 {
12004 PyThreadState* __tstate = wxPyBeginAllowThreads();
12005 result = (bool)(arg1)->GetValue();
12006
12007 wxPyEndAllowThreads(__tstate);
12008 if (PyErr_Occurred()) SWIG_fail;
12009 }
12010 {
12011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12012 }
12013 return resultobj;
12014 fail:
12015 return NULL;
12016 }
12017
12018
12019 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12020 PyObject *resultobj;
12021 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12022 bool arg2 ;
12023 PyObject * obj0 = 0 ;
12024 PyObject * obj1 = 0 ;
12025 char *kwnames[] = {
12026 (char *) "self",(char *) "value", NULL
12027 };
12028
12029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12032 arg2 = (bool) SWIG_AsBool(obj1);
12033 if (PyErr_Occurred()) SWIG_fail;
12034 {
12035 PyThreadState* __tstate = wxPyBeginAllowThreads();
12036 (arg1)->SetValue(arg2);
12037
12038 wxPyEndAllowThreads(__tstate);
12039 if (PyErr_Occurred()) SWIG_fail;
12040 }
12041 Py_INCREF(Py_None); resultobj = Py_None;
12042 return resultobj;
12043 fail:
12044 return NULL;
12045 }
12046
12047
12048 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
12049 PyObject *obj;
12050 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12051 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12052 Py_INCREF(obj);
12053 return Py_BuildValue((char *)"");
12054 }
12055 static int _wrap_SliderNameStr_set(PyObject *_val) {
12056 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12057 return 1;
12058 }
12059
12060
12061 static PyObject *_wrap_SliderNameStr_get() {
12062 PyObject *pyobj;
12063
12064 {
12065 #if wxUSE_UNICODE
12066 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12067 #else
12068 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12069 #endif
12070 }
12071 return pyobj;
12072 }
12073
12074
12075 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
12076 PyObject *resultobj;
12077 wxWindow *arg1 = (wxWindow *) 0 ;
12078 int arg2 ;
12079 int arg3 ;
12080 int arg4 ;
12081 int arg5 ;
12082 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12083 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12084 wxSize const &arg7_defvalue = wxDefaultSize ;
12085 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12086 long arg8 = (long) wxSL_HORIZONTAL ;
12087 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12088 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12089 wxString const &arg10_defvalue = wxPySliderNameStr ;
12090 wxString *arg10 = (wxString *) &arg10_defvalue ;
12091 wxSlider *result;
12092 wxPoint temp6 ;
12093 wxSize temp7 ;
12094 bool temp10 = False ;
12095 PyObject * obj0 = 0 ;
12096 PyObject * obj1 = 0 ;
12097 PyObject * obj2 = 0 ;
12098 PyObject * obj3 = 0 ;
12099 PyObject * obj4 = 0 ;
12100 PyObject * obj5 = 0 ;
12101 PyObject * obj6 = 0 ;
12102 PyObject * obj7 = 0 ;
12103 PyObject * obj8 = 0 ;
12104 PyObject * obj9 = 0 ;
12105 char *kwnames[] = {
12106 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12107 };
12108
12109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12112 arg2 = (int) SWIG_AsInt(obj1);
12113 if (PyErr_Occurred()) SWIG_fail;
12114 arg3 = (int) SWIG_AsInt(obj2);
12115 if (PyErr_Occurred()) SWIG_fail;
12116 arg4 = (int) SWIG_AsInt(obj3);
12117 if (PyErr_Occurred()) SWIG_fail;
12118 arg5 = (int) SWIG_AsInt(obj4);
12119 if (PyErr_Occurred()) SWIG_fail;
12120 if (obj5) {
12121 {
12122 arg6 = &temp6;
12123 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12124 }
12125 }
12126 if (obj6) {
12127 {
12128 arg7 = &temp7;
12129 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12130 }
12131 }
12132 if (obj7) {
12133 arg8 = (long) SWIG_AsLong(obj7);
12134 if (PyErr_Occurred()) SWIG_fail;
12135 }
12136 if (obj8) {
12137 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12138 SWIG_POINTER_EXCEPTION | 0)) == -1)
12139 SWIG_fail;
12140 if (arg9 == NULL) {
12141 PyErr_SetString(PyExc_TypeError,"null reference");
12142 SWIG_fail;
12143 }
12144 }
12145 if (obj9) {
12146 {
12147 arg10 = wxString_in_helper(obj9);
12148 if (arg10 == NULL) SWIG_fail;
12149 temp10 = True;
12150 }
12151 }
12152 {
12153 PyThreadState* __tstate = wxPyBeginAllowThreads();
12154 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12155
12156 wxPyEndAllowThreads(__tstate);
12157 if (PyErr_Occurred()) SWIG_fail;
12158 }
12159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12160 {
12161 if (temp10)
12162 delete arg10;
12163 }
12164 return resultobj;
12165 fail:
12166 {
12167 if (temp10)
12168 delete arg10;
12169 }
12170 return NULL;
12171 }
12172
12173
12174 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
12175 PyObject *resultobj;
12176 wxSlider *result;
12177 char *kwnames[] = {
12178 NULL
12179 };
12180
12181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12182 {
12183 PyThreadState* __tstate = wxPyBeginAllowThreads();
12184 result = (wxSlider *)new wxSlider();
12185
12186 wxPyEndAllowThreads(__tstate);
12187 if (PyErr_Occurred()) SWIG_fail;
12188 }
12189 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12190 return resultobj;
12191 fail:
12192 return NULL;
12193 }
12194
12195
12196 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12197 PyObject *resultobj;
12198 wxSlider *arg1 = (wxSlider *) 0 ;
12199 wxWindow *arg2 = (wxWindow *) 0 ;
12200 int arg3 ;
12201 int arg4 ;
12202 int arg5 ;
12203 int arg6 ;
12204 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12205 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12206 wxSize const &arg8_defvalue = wxDefaultSize ;
12207 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
12208 long arg9 = (long) wxSL_HORIZONTAL ;
12209 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12210 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12211 wxString const &arg11_defvalue = wxPySliderNameStr ;
12212 wxString *arg11 = (wxString *) &arg11_defvalue ;
12213 bool result;
12214 wxPoint temp7 ;
12215 wxSize temp8 ;
12216 bool temp11 = False ;
12217 PyObject * obj0 = 0 ;
12218 PyObject * obj1 = 0 ;
12219 PyObject * obj2 = 0 ;
12220 PyObject * obj3 = 0 ;
12221 PyObject * obj4 = 0 ;
12222 PyObject * obj5 = 0 ;
12223 PyObject * obj6 = 0 ;
12224 PyObject * obj7 = 0 ;
12225 PyObject * obj8 = 0 ;
12226 PyObject * obj9 = 0 ;
12227 PyObject * obj10 = 0 ;
12228 char *kwnames[] = {
12229 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12230 };
12231
12232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12235 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12237 arg3 = (int) SWIG_AsInt(obj2);
12238 if (PyErr_Occurred()) SWIG_fail;
12239 arg4 = (int) SWIG_AsInt(obj3);
12240 if (PyErr_Occurred()) SWIG_fail;
12241 arg5 = (int) SWIG_AsInt(obj4);
12242 if (PyErr_Occurred()) SWIG_fail;
12243 arg6 = (int) SWIG_AsInt(obj5);
12244 if (PyErr_Occurred()) SWIG_fail;
12245 if (obj6) {
12246 {
12247 arg7 = &temp7;
12248 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12249 }
12250 }
12251 if (obj7) {
12252 {
12253 arg8 = &temp8;
12254 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12255 }
12256 }
12257 if (obj8) {
12258 arg9 = (long) SWIG_AsLong(obj8);
12259 if (PyErr_Occurred()) SWIG_fail;
12260 }
12261 if (obj9) {
12262 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12263 SWIG_POINTER_EXCEPTION | 0)) == -1)
12264 SWIG_fail;
12265 if (arg10 == NULL) {
12266 PyErr_SetString(PyExc_TypeError,"null reference");
12267 SWIG_fail;
12268 }
12269 }
12270 if (obj10) {
12271 {
12272 arg11 = wxString_in_helper(obj10);
12273 if (arg11 == NULL) SWIG_fail;
12274 temp11 = True;
12275 }
12276 }
12277 {
12278 PyThreadState* __tstate = wxPyBeginAllowThreads();
12279 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12280
12281 wxPyEndAllowThreads(__tstate);
12282 if (PyErr_Occurred()) SWIG_fail;
12283 }
12284 {
12285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12286 }
12287 {
12288 if (temp11)
12289 delete arg11;
12290 }
12291 return resultobj;
12292 fail:
12293 {
12294 if (temp11)
12295 delete arg11;
12296 }
12297 return NULL;
12298 }
12299
12300
12301 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12302 PyObject *resultobj;
12303 wxSlider *arg1 = (wxSlider *) 0 ;
12304 int result;
12305 PyObject * obj0 = 0 ;
12306 char *kwnames[] = {
12307 (char *) "self", NULL
12308 };
12309
12310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
12311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12313 {
12314 PyThreadState* __tstate = wxPyBeginAllowThreads();
12315 result = (int)((wxSlider const *)arg1)->GetValue();
12316
12317 wxPyEndAllowThreads(__tstate);
12318 if (PyErr_Occurred()) SWIG_fail;
12319 }
12320 resultobj = SWIG_FromInt((int)result);
12321 return resultobj;
12322 fail:
12323 return NULL;
12324 }
12325
12326
12327 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12328 PyObject *resultobj;
12329 wxSlider *arg1 = (wxSlider *) 0 ;
12330 int arg2 ;
12331 PyObject * obj0 = 0 ;
12332 PyObject * obj1 = 0 ;
12333 char *kwnames[] = {
12334 (char *) "self",(char *) "value", NULL
12335 };
12336
12337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
12338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12340 arg2 = (int) SWIG_AsInt(obj1);
12341 if (PyErr_Occurred()) SWIG_fail;
12342 {
12343 PyThreadState* __tstate = wxPyBeginAllowThreads();
12344 (arg1)->SetValue(arg2);
12345
12346 wxPyEndAllowThreads(__tstate);
12347 if (PyErr_Occurred()) SWIG_fail;
12348 }
12349 Py_INCREF(Py_None); resultobj = Py_None;
12350 return resultobj;
12351 fail:
12352 return NULL;
12353 }
12354
12355
12356 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12357 PyObject *resultobj;
12358 wxSlider *arg1 = (wxSlider *) 0 ;
12359 int arg2 ;
12360 int arg3 ;
12361 PyObject * obj0 = 0 ;
12362 PyObject * obj1 = 0 ;
12363 PyObject * obj2 = 0 ;
12364 char *kwnames[] = {
12365 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12366 };
12367
12368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12371 arg2 = (int) SWIG_AsInt(obj1);
12372 if (PyErr_Occurred()) SWIG_fail;
12373 arg3 = (int) SWIG_AsInt(obj2);
12374 if (PyErr_Occurred()) SWIG_fail;
12375 {
12376 PyThreadState* __tstate = wxPyBeginAllowThreads();
12377 (arg1)->SetRange(arg2,arg3);
12378
12379 wxPyEndAllowThreads(__tstate);
12380 if (PyErr_Occurred()) SWIG_fail;
12381 }
12382 Py_INCREF(Py_None); resultobj = Py_None;
12383 return resultobj;
12384 fail:
12385 return NULL;
12386 }
12387
12388
12389 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12390 PyObject *resultobj;
12391 wxSlider *arg1 = (wxSlider *) 0 ;
12392 int result;
12393 PyObject * obj0 = 0 ;
12394 char *kwnames[] = {
12395 (char *) "self", NULL
12396 };
12397
12398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
12399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12401 {
12402 PyThreadState* __tstate = wxPyBeginAllowThreads();
12403 result = (int)((wxSlider const *)arg1)->GetMin();
12404
12405 wxPyEndAllowThreads(__tstate);
12406 if (PyErr_Occurred()) SWIG_fail;
12407 }
12408 resultobj = SWIG_FromInt((int)result);
12409 return resultobj;
12410 fail:
12411 return NULL;
12412 }
12413
12414
12415 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12416 PyObject *resultobj;
12417 wxSlider *arg1 = (wxSlider *) 0 ;
12418 int result;
12419 PyObject * obj0 = 0 ;
12420 char *kwnames[] = {
12421 (char *) "self", NULL
12422 };
12423
12424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
12425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12427 {
12428 PyThreadState* __tstate = wxPyBeginAllowThreads();
12429 result = (int)((wxSlider const *)arg1)->GetMax();
12430
12431 wxPyEndAllowThreads(__tstate);
12432 if (PyErr_Occurred()) SWIG_fail;
12433 }
12434 resultobj = SWIG_FromInt((int)result);
12435 return resultobj;
12436 fail:
12437 return NULL;
12438 }
12439
12440
12441 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12442 PyObject *resultobj;
12443 wxSlider *arg1 = (wxSlider *) 0 ;
12444 int arg2 ;
12445 PyObject * obj0 = 0 ;
12446 PyObject * obj1 = 0 ;
12447 char *kwnames[] = {
12448 (char *) "self",(char *) "minValue", NULL
12449 };
12450
12451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
12452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12454 arg2 = (int) SWIG_AsInt(obj1);
12455 if (PyErr_Occurred()) SWIG_fail;
12456 {
12457 PyThreadState* __tstate = wxPyBeginAllowThreads();
12458 (arg1)->SetMin(arg2);
12459
12460 wxPyEndAllowThreads(__tstate);
12461 if (PyErr_Occurred()) SWIG_fail;
12462 }
12463 Py_INCREF(Py_None); resultobj = Py_None;
12464 return resultobj;
12465 fail:
12466 return NULL;
12467 }
12468
12469
12470 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12471 PyObject *resultobj;
12472 wxSlider *arg1 = (wxSlider *) 0 ;
12473 int arg2 ;
12474 PyObject * obj0 = 0 ;
12475 PyObject * obj1 = 0 ;
12476 char *kwnames[] = {
12477 (char *) "self",(char *) "maxValue", NULL
12478 };
12479
12480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
12481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12483 arg2 = (int) SWIG_AsInt(obj1);
12484 if (PyErr_Occurred()) SWIG_fail;
12485 {
12486 PyThreadState* __tstate = wxPyBeginAllowThreads();
12487 (arg1)->SetMax(arg2);
12488
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 Py_INCREF(Py_None); resultobj = Py_None;
12493 return resultobj;
12494 fail:
12495 return NULL;
12496 }
12497
12498
12499 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12500 PyObject *resultobj;
12501 wxSlider *arg1 = (wxSlider *) 0 ;
12502 int arg2 ;
12503 PyObject * obj0 = 0 ;
12504 PyObject * obj1 = 0 ;
12505 char *kwnames[] = {
12506 (char *) "self",(char *) "lineSize", NULL
12507 };
12508
12509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
12510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12512 arg2 = (int) SWIG_AsInt(obj1);
12513 if (PyErr_Occurred()) SWIG_fail;
12514 {
12515 PyThreadState* __tstate = wxPyBeginAllowThreads();
12516 (arg1)->SetLineSize(arg2);
12517
12518 wxPyEndAllowThreads(__tstate);
12519 if (PyErr_Occurred()) SWIG_fail;
12520 }
12521 Py_INCREF(Py_None); resultobj = Py_None;
12522 return resultobj;
12523 fail:
12524 return NULL;
12525 }
12526
12527
12528 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12529 PyObject *resultobj;
12530 wxSlider *arg1 = (wxSlider *) 0 ;
12531 int arg2 ;
12532 PyObject * obj0 = 0 ;
12533 PyObject * obj1 = 0 ;
12534 char *kwnames[] = {
12535 (char *) "self",(char *) "pageSize", NULL
12536 };
12537
12538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
12539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12541 arg2 = (int) SWIG_AsInt(obj1);
12542 if (PyErr_Occurred()) SWIG_fail;
12543 {
12544 PyThreadState* __tstate = wxPyBeginAllowThreads();
12545 (arg1)->SetPageSize(arg2);
12546
12547 wxPyEndAllowThreads(__tstate);
12548 if (PyErr_Occurred()) SWIG_fail;
12549 }
12550 Py_INCREF(Py_None); resultobj = Py_None;
12551 return resultobj;
12552 fail:
12553 return NULL;
12554 }
12555
12556
12557 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12558 PyObject *resultobj;
12559 wxSlider *arg1 = (wxSlider *) 0 ;
12560 int result;
12561 PyObject * obj0 = 0 ;
12562 char *kwnames[] = {
12563 (char *) "self", NULL
12564 };
12565
12566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
12567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12569 {
12570 PyThreadState* __tstate = wxPyBeginAllowThreads();
12571 result = (int)((wxSlider const *)arg1)->GetLineSize();
12572
12573 wxPyEndAllowThreads(__tstate);
12574 if (PyErr_Occurred()) SWIG_fail;
12575 }
12576 resultobj = SWIG_FromInt((int)result);
12577 return resultobj;
12578 fail:
12579 return NULL;
12580 }
12581
12582
12583 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12584 PyObject *resultobj;
12585 wxSlider *arg1 = (wxSlider *) 0 ;
12586 int result;
12587 PyObject * obj0 = 0 ;
12588 char *kwnames[] = {
12589 (char *) "self", NULL
12590 };
12591
12592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
12593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12595 {
12596 PyThreadState* __tstate = wxPyBeginAllowThreads();
12597 result = (int)((wxSlider const *)arg1)->GetPageSize();
12598
12599 wxPyEndAllowThreads(__tstate);
12600 if (PyErr_Occurred()) SWIG_fail;
12601 }
12602 resultobj = SWIG_FromInt((int)result);
12603 return resultobj;
12604 fail:
12605 return NULL;
12606 }
12607
12608
12609 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12610 PyObject *resultobj;
12611 wxSlider *arg1 = (wxSlider *) 0 ;
12612 int arg2 ;
12613 PyObject * obj0 = 0 ;
12614 PyObject * obj1 = 0 ;
12615 char *kwnames[] = {
12616 (char *) "self",(char *) "lenPixels", NULL
12617 };
12618
12619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
12620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12622 arg2 = (int) SWIG_AsInt(obj1);
12623 if (PyErr_Occurred()) SWIG_fail;
12624 {
12625 PyThreadState* __tstate = wxPyBeginAllowThreads();
12626 (arg1)->SetThumbLength(arg2);
12627
12628 wxPyEndAllowThreads(__tstate);
12629 if (PyErr_Occurred()) SWIG_fail;
12630 }
12631 Py_INCREF(Py_None); resultobj = Py_None;
12632 return resultobj;
12633 fail:
12634 return NULL;
12635 }
12636
12637
12638 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12639 PyObject *resultobj;
12640 wxSlider *arg1 = (wxSlider *) 0 ;
12641 int result;
12642 PyObject * obj0 = 0 ;
12643 char *kwnames[] = {
12644 (char *) "self", NULL
12645 };
12646
12647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
12648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12650 {
12651 PyThreadState* __tstate = wxPyBeginAllowThreads();
12652 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12653
12654 wxPyEndAllowThreads(__tstate);
12655 if (PyErr_Occurred()) SWIG_fail;
12656 }
12657 resultobj = SWIG_FromInt((int)result);
12658 return resultobj;
12659 fail:
12660 return NULL;
12661 }
12662
12663
12664 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12665 PyObject *resultobj;
12666 wxSlider *arg1 = (wxSlider *) 0 ;
12667 int arg2 ;
12668 int arg3 = (int) 1 ;
12669 PyObject * obj0 = 0 ;
12670 PyObject * obj1 = 0 ;
12671 PyObject * obj2 = 0 ;
12672 char *kwnames[] = {
12673 (char *) "self",(char *) "n",(char *) "pos", NULL
12674 };
12675
12676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
12677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12679 arg2 = (int) SWIG_AsInt(obj1);
12680 if (PyErr_Occurred()) SWIG_fail;
12681 if (obj2) {
12682 arg3 = (int) SWIG_AsInt(obj2);
12683 if (PyErr_Occurred()) SWIG_fail;
12684 }
12685 {
12686 PyThreadState* __tstate = wxPyBeginAllowThreads();
12687 (arg1)->SetTickFreq(arg2,arg3);
12688
12689 wxPyEndAllowThreads(__tstate);
12690 if (PyErr_Occurred()) SWIG_fail;
12691 }
12692 Py_INCREF(Py_None); resultobj = Py_None;
12693 return resultobj;
12694 fail:
12695 return NULL;
12696 }
12697
12698
12699 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12700 PyObject *resultobj;
12701 wxSlider *arg1 = (wxSlider *) 0 ;
12702 int result;
12703 PyObject * obj0 = 0 ;
12704 char *kwnames[] = {
12705 (char *) "self", NULL
12706 };
12707
12708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
12709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12711 {
12712 PyThreadState* __tstate = wxPyBeginAllowThreads();
12713 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12714
12715 wxPyEndAllowThreads(__tstate);
12716 if (PyErr_Occurred()) SWIG_fail;
12717 }
12718 resultobj = SWIG_FromInt((int)result);
12719 return resultobj;
12720 fail:
12721 return NULL;
12722 }
12723
12724
12725 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
12726 PyObject *resultobj;
12727 wxSlider *arg1 = (wxSlider *) 0 ;
12728 PyObject * obj0 = 0 ;
12729 char *kwnames[] = {
12730 (char *) "self", NULL
12731 };
12732
12733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
12734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12736 {
12737 PyThreadState* __tstate = wxPyBeginAllowThreads();
12738 (arg1)->ClearTicks();
12739
12740 wxPyEndAllowThreads(__tstate);
12741 if (PyErr_Occurred()) SWIG_fail;
12742 }
12743 Py_INCREF(Py_None); resultobj = Py_None;
12744 return resultobj;
12745 fail:
12746 return NULL;
12747 }
12748
12749
12750 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
12751 PyObject *resultobj;
12752 wxSlider *arg1 = (wxSlider *) 0 ;
12753 int arg2 ;
12754 PyObject * obj0 = 0 ;
12755 PyObject * obj1 = 0 ;
12756 char *kwnames[] = {
12757 (char *) "self",(char *) "tickPos", NULL
12758 };
12759
12760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
12761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12763 arg2 = (int) SWIG_AsInt(obj1);
12764 if (PyErr_Occurred()) SWIG_fail;
12765 {
12766 PyThreadState* __tstate = wxPyBeginAllowThreads();
12767 (arg1)->SetTick(arg2);
12768
12769 wxPyEndAllowThreads(__tstate);
12770 if (PyErr_Occurred()) SWIG_fail;
12771 }
12772 Py_INCREF(Py_None); resultobj = Py_None;
12773 return resultobj;
12774 fail:
12775 return NULL;
12776 }
12777
12778
12779 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
12780 PyObject *resultobj;
12781 wxSlider *arg1 = (wxSlider *) 0 ;
12782 PyObject * obj0 = 0 ;
12783 char *kwnames[] = {
12784 (char *) "self", NULL
12785 };
12786
12787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
12788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12790 {
12791 PyThreadState* __tstate = wxPyBeginAllowThreads();
12792 (arg1)->ClearSel();
12793
12794 wxPyEndAllowThreads(__tstate);
12795 if (PyErr_Occurred()) SWIG_fail;
12796 }
12797 Py_INCREF(Py_None); resultobj = Py_None;
12798 return resultobj;
12799 fail:
12800 return NULL;
12801 }
12802
12803
12804 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
12805 PyObject *resultobj;
12806 wxSlider *arg1 = (wxSlider *) 0 ;
12807 int result;
12808 PyObject * obj0 = 0 ;
12809 char *kwnames[] = {
12810 (char *) "self", NULL
12811 };
12812
12813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
12814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12816 {
12817 PyThreadState* __tstate = wxPyBeginAllowThreads();
12818 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12819
12820 wxPyEndAllowThreads(__tstate);
12821 if (PyErr_Occurred()) SWIG_fail;
12822 }
12823 resultobj = SWIG_FromInt((int)result);
12824 return resultobj;
12825 fail:
12826 return NULL;
12827 }
12828
12829
12830 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
12831 PyObject *resultobj;
12832 wxSlider *arg1 = (wxSlider *) 0 ;
12833 int result;
12834 PyObject * obj0 = 0 ;
12835 char *kwnames[] = {
12836 (char *) "self", NULL
12837 };
12838
12839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
12840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12842 {
12843 PyThreadState* __tstate = wxPyBeginAllowThreads();
12844 result = (int)((wxSlider const *)arg1)->GetSelStart();
12845
12846 wxPyEndAllowThreads(__tstate);
12847 if (PyErr_Occurred()) SWIG_fail;
12848 }
12849 resultobj = SWIG_FromInt((int)result);
12850 return resultobj;
12851 fail:
12852 return NULL;
12853 }
12854
12855
12856 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12857 PyObject *resultobj;
12858 wxSlider *arg1 = (wxSlider *) 0 ;
12859 int arg2 ;
12860 int arg3 ;
12861 PyObject * obj0 = 0 ;
12862 PyObject * obj1 = 0 ;
12863 PyObject * obj2 = 0 ;
12864 char *kwnames[] = {
12865 (char *) "self",(char *) "min",(char *) "max", NULL
12866 };
12867
12868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
12869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12871 arg2 = (int) SWIG_AsInt(obj1);
12872 if (PyErr_Occurred()) SWIG_fail;
12873 arg3 = (int) SWIG_AsInt(obj2);
12874 if (PyErr_Occurred()) SWIG_fail;
12875 {
12876 PyThreadState* __tstate = wxPyBeginAllowThreads();
12877 (arg1)->SetSelection(arg2,arg3);
12878
12879 wxPyEndAllowThreads(__tstate);
12880 if (PyErr_Occurred()) SWIG_fail;
12881 }
12882 Py_INCREF(Py_None); resultobj = Py_None;
12883 return resultobj;
12884 fail:
12885 return NULL;
12886 }
12887
12888
12889 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
12890 PyObject *obj;
12891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12892 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12893 Py_INCREF(obj);
12894 return Py_BuildValue((char *)"");
12895 }
12896 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
12897 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12898 return 1;
12899 }
12900
12901
12902 static PyObject *_wrap_ToggleButtonNameStr_get() {
12903 PyObject *pyobj;
12904
12905 {
12906 #if wxUSE_UNICODE
12907 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12908 #else
12909 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12910 #endif
12911 }
12912 return pyobj;
12913 }
12914
12915
12916 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12917 PyObject *resultobj;
12918 wxWindow *arg1 = (wxWindow *) 0 ;
12919 int arg2 ;
12920 wxString *arg3 = 0 ;
12921 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12922 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12923 wxSize const &arg5_defvalue = wxDefaultSize ;
12924 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12925 long arg6 = (long) 0 ;
12926 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12927 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12928 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
12929 wxString *arg8 = (wxString *) &arg8_defvalue ;
12930 wxToggleButton *result;
12931 bool temp3 = False ;
12932 wxPoint temp4 ;
12933 wxSize temp5 ;
12934 bool temp8 = False ;
12935 PyObject * obj0 = 0 ;
12936 PyObject * obj1 = 0 ;
12937 PyObject * obj2 = 0 ;
12938 PyObject * obj3 = 0 ;
12939 PyObject * obj4 = 0 ;
12940 PyObject * obj5 = 0 ;
12941 PyObject * obj6 = 0 ;
12942 PyObject * obj7 = 0 ;
12943 char *kwnames[] = {
12944 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12945 };
12946
12947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12950 arg2 = (int) SWIG_AsInt(obj1);
12951 if (PyErr_Occurred()) SWIG_fail;
12952 {
12953 arg3 = wxString_in_helper(obj2);
12954 if (arg3 == NULL) SWIG_fail;
12955 temp3 = True;
12956 }
12957 if (obj3) {
12958 {
12959 arg4 = &temp4;
12960 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12961 }
12962 }
12963 if (obj4) {
12964 {
12965 arg5 = &temp5;
12966 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12967 }
12968 }
12969 if (obj5) {
12970 arg6 = (long) SWIG_AsLong(obj5);
12971 if (PyErr_Occurred()) SWIG_fail;
12972 }
12973 if (obj6) {
12974 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12975 SWIG_POINTER_EXCEPTION | 0)) == -1)
12976 SWIG_fail;
12977 if (arg7 == NULL) {
12978 PyErr_SetString(PyExc_TypeError,"null reference");
12979 SWIG_fail;
12980 }
12981 }
12982 if (obj7) {
12983 {
12984 arg8 = wxString_in_helper(obj7);
12985 if (arg8 == NULL) SWIG_fail;
12986 temp8 = True;
12987 }
12988 }
12989 {
12990 PyThreadState* __tstate = wxPyBeginAllowThreads();
12991 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12992
12993 wxPyEndAllowThreads(__tstate);
12994 if (PyErr_Occurred()) SWIG_fail;
12995 }
12996 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
12997 {
12998 if (temp3)
12999 delete arg3;
13000 }
13001 {
13002 if (temp8)
13003 delete arg8;
13004 }
13005 return resultobj;
13006 fail:
13007 {
13008 if (temp3)
13009 delete arg3;
13010 }
13011 {
13012 if (temp8)
13013 delete arg8;
13014 }
13015 return NULL;
13016 }
13017
13018
13019 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13020 PyObject *resultobj;
13021 wxToggleButton *result;
13022 char *kwnames[] = {
13023 NULL
13024 };
13025
13026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
13027 {
13028 PyThreadState* __tstate = wxPyBeginAllowThreads();
13029 result = (wxToggleButton *)new wxToggleButton();
13030
13031 wxPyEndAllowThreads(__tstate);
13032 if (PyErr_Occurred()) SWIG_fail;
13033 }
13034 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13035 return resultobj;
13036 fail:
13037 return NULL;
13038 }
13039
13040
13041 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
13042 PyObject *obj;
13043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13044 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
13045 Py_INCREF(obj);
13046 return Py_BuildValue((char *)"");
13047 }
13048 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
13049 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
13050 return 1;
13051 }
13052
13053
13054 static PyObject *_wrap_NOTEBOOK_NAME_get() {
13055 PyObject *pyobj;
13056
13057 {
13058 #if wxUSE_UNICODE
13059 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13060 #else
13061 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13062 #endif
13063 }
13064 return pyobj;
13065 }
13066
13067
13068 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
13069 PyObject *resultobj;
13070 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13071 size_t result;
13072 PyObject * obj0 = 0 ;
13073 char *kwnames[] = {
13074 (char *) "self", NULL
13075 };
13076
13077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
13078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13080 {
13081 PyThreadState* __tstate = wxPyBeginAllowThreads();
13082 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
13083
13084 wxPyEndAllowThreads(__tstate);
13085 if (PyErr_Occurred()) SWIG_fail;
13086 }
13087 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
13088 return resultobj;
13089 fail:
13090 return NULL;
13091 }
13092
13093
13094 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13095 PyObject *resultobj;
13096 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13097 size_t arg2 ;
13098 wxWindow *result;
13099 PyObject * obj0 = 0 ;
13100 PyObject * obj1 = 0 ;
13101 char *kwnames[] = {
13102 (char *) "self",(char *) "n", NULL
13103 };
13104
13105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
13106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13108 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13109 if (PyErr_Occurred()) SWIG_fail;
13110 {
13111 PyThreadState* __tstate = wxPyBeginAllowThreads();
13112 result = (wxWindow *)(arg1)->GetPage(arg2);
13113
13114 wxPyEndAllowThreads(__tstate);
13115 if (PyErr_Occurred()) SWIG_fail;
13116 }
13117 {
13118 resultobj = wxPyMake_wxObject(result);
13119 }
13120 return resultobj;
13121 fail:
13122 return NULL;
13123 }
13124
13125
13126 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13127 PyObject *resultobj;
13128 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13129 int result;
13130 PyObject * obj0 = 0 ;
13131 char *kwnames[] = {
13132 (char *) "self", NULL
13133 };
13134
13135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
13136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13138 {
13139 PyThreadState* __tstate = wxPyBeginAllowThreads();
13140 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
13141
13142 wxPyEndAllowThreads(__tstate);
13143 if (PyErr_Occurred()) SWIG_fail;
13144 }
13145 resultobj = SWIG_FromInt((int)result);
13146 return resultobj;
13147 fail:
13148 return NULL;
13149 }
13150
13151
13152 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13153 PyObject *resultobj;
13154 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13155 size_t arg2 ;
13156 wxString *arg3 = 0 ;
13157 bool result;
13158 bool temp3 = False ;
13159 PyObject * obj0 = 0 ;
13160 PyObject * obj1 = 0 ;
13161 PyObject * obj2 = 0 ;
13162 char *kwnames[] = {
13163 (char *) "self",(char *) "n",(char *) "strText", NULL
13164 };
13165
13166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
13167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13169 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13170 if (PyErr_Occurred()) SWIG_fail;
13171 {
13172 arg3 = wxString_in_helper(obj2);
13173 if (arg3 == NULL) SWIG_fail;
13174 temp3 = True;
13175 }
13176 {
13177 PyThreadState* __tstate = wxPyBeginAllowThreads();
13178 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
13179
13180 wxPyEndAllowThreads(__tstate);
13181 if (PyErr_Occurred()) SWIG_fail;
13182 }
13183 {
13184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13185 }
13186 {
13187 if (temp3)
13188 delete arg3;
13189 }
13190 return resultobj;
13191 fail:
13192 {
13193 if (temp3)
13194 delete arg3;
13195 }
13196 return NULL;
13197 }
13198
13199
13200 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13201 PyObject *resultobj;
13202 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13203 size_t arg2 ;
13204 wxString result;
13205 PyObject * obj0 = 0 ;
13206 PyObject * obj1 = 0 ;
13207 char *kwnames[] = {
13208 (char *) "self",(char *) "n", NULL
13209 };
13210
13211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
13212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13214 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13215 if (PyErr_Occurred()) SWIG_fail;
13216 {
13217 PyThreadState* __tstate = wxPyBeginAllowThreads();
13218 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
13219
13220 wxPyEndAllowThreads(__tstate);
13221 if (PyErr_Occurred()) SWIG_fail;
13222 }
13223 {
13224 #if wxUSE_UNICODE
13225 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13226 #else
13227 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13228 #endif
13229 }
13230 return resultobj;
13231 fail:
13232 return NULL;
13233 }
13234
13235
13236 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13237 PyObject *resultobj;
13238 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13239 wxImageList *arg2 = (wxImageList *) 0 ;
13240 PyObject * obj0 = 0 ;
13241 PyObject * obj1 = 0 ;
13242 char *kwnames[] = {
13243 (char *) "self",(char *) "imageList", NULL
13244 };
13245
13246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
13247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13249 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13251 {
13252 PyThreadState* __tstate = wxPyBeginAllowThreads();
13253 (arg1)->SetImageList(arg2);
13254
13255 wxPyEndAllowThreads(__tstate);
13256 if (PyErr_Occurred()) SWIG_fail;
13257 }
13258 Py_INCREF(Py_None); resultobj = Py_None;
13259 return resultobj;
13260 fail:
13261 return NULL;
13262 }
13263
13264
13265 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13266 PyObject *resultobj;
13267 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13268 wxImageList *arg2 = (wxImageList *) 0 ;
13269 PyObject * obj0 = 0 ;
13270 PyObject * obj1 = 0 ;
13271 char *kwnames[] = {
13272 (char *) "self",(char *) "imageList", NULL
13273 };
13274
13275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
13276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13278 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13279 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
13280 {
13281 PyThreadState* __tstate = wxPyBeginAllowThreads();
13282 (arg1)->AssignImageList(arg2);
13283
13284 wxPyEndAllowThreads(__tstate);
13285 if (PyErr_Occurred()) SWIG_fail;
13286 }
13287 Py_INCREF(Py_None); resultobj = Py_None;
13288 return resultobj;
13289 fail:
13290 return NULL;
13291 }
13292
13293
13294 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13295 PyObject *resultobj;
13296 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13297 wxImageList *result;
13298 PyObject * obj0 = 0 ;
13299 char *kwnames[] = {
13300 (char *) "self", NULL
13301 };
13302
13303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
13304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13306 {
13307 PyThreadState* __tstate = wxPyBeginAllowThreads();
13308 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
13309
13310 wxPyEndAllowThreads(__tstate);
13311 if (PyErr_Occurred()) SWIG_fail;
13312 }
13313 {
13314 resultobj = wxPyMake_wxObject(result);
13315 }
13316 return resultobj;
13317 fail:
13318 return NULL;
13319 }
13320
13321
13322 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13323 PyObject *resultobj;
13324 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13325 size_t arg2 ;
13326 int result;
13327 PyObject * obj0 = 0 ;
13328 PyObject * obj1 = 0 ;
13329 char *kwnames[] = {
13330 (char *) "self",(char *) "n", NULL
13331 };
13332
13333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
13334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13336 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13337 if (PyErr_Occurred()) SWIG_fail;
13338 {
13339 PyThreadState* __tstate = wxPyBeginAllowThreads();
13340 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13341
13342 wxPyEndAllowThreads(__tstate);
13343 if (PyErr_Occurred()) SWIG_fail;
13344 }
13345 resultobj = SWIG_FromInt((int)result);
13346 return resultobj;
13347 fail:
13348 return NULL;
13349 }
13350
13351
13352 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13353 PyObject *resultobj;
13354 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13355 size_t arg2 ;
13356 int arg3 ;
13357 bool result;
13358 PyObject * obj0 = 0 ;
13359 PyObject * obj1 = 0 ;
13360 PyObject * obj2 = 0 ;
13361 char *kwnames[] = {
13362 (char *) "self",(char *) "n",(char *) "imageId", NULL
13363 };
13364
13365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
13366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13368 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13369 if (PyErr_Occurred()) SWIG_fail;
13370 arg3 = (int) SWIG_AsInt(obj2);
13371 if (PyErr_Occurred()) SWIG_fail;
13372 {
13373 PyThreadState* __tstate = wxPyBeginAllowThreads();
13374 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13375
13376 wxPyEndAllowThreads(__tstate);
13377 if (PyErr_Occurred()) SWIG_fail;
13378 }
13379 {
13380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13381 }
13382 return resultobj;
13383 fail:
13384 return NULL;
13385 }
13386
13387
13388 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13389 PyObject *resultobj;
13390 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13391 wxSize *arg2 = 0 ;
13392 wxSize temp2 ;
13393 PyObject * obj0 = 0 ;
13394 PyObject * obj1 = 0 ;
13395 char *kwnames[] = {
13396 (char *) "self",(char *) "size", NULL
13397 };
13398
13399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13402 {
13403 arg2 = &temp2;
13404 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13405 }
13406 {
13407 PyThreadState* __tstate = wxPyBeginAllowThreads();
13408 (arg1)->SetPageSize((wxSize const &)*arg2);
13409
13410 wxPyEndAllowThreads(__tstate);
13411 if (PyErr_Occurred()) SWIG_fail;
13412 }
13413 Py_INCREF(Py_None); resultobj = Py_None;
13414 return resultobj;
13415 fail:
13416 return NULL;
13417 }
13418
13419
13420 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13421 PyObject *resultobj;
13422 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13423 wxSize *arg2 = 0 ;
13424 wxSize result;
13425 wxSize temp2 ;
13426 PyObject * obj0 = 0 ;
13427 PyObject * obj1 = 0 ;
13428 char *kwnames[] = {
13429 (char *) "self",(char *) "sizePage", NULL
13430 };
13431
13432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13435 {
13436 arg2 = &temp2;
13437 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13438 }
13439 {
13440 PyThreadState* __tstate = wxPyBeginAllowThreads();
13441 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13442
13443 wxPyEndAllowThreads(__tstate);
13444 if (PyErr_Occurred()) SWIG_fail;
13445 }
13446 {
13447 wxSize * resultptr;
13448 resultptr = new wxSize((wxSize &) result);
13449 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
13450 }
13451 return resultobj;
13452 fail:
13453 return NULL;
13454 }
13455
13456
13457 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13458 PyObject *resultobj;
13459 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13460 size_t arg2 ;
13461 bool result;
13462 PyObject * obj0 = 0 ;
13463 PyObject * obj1 = 0 ;
13464 char *kwnames[] = {
13465 (char *) "self",(char *) "n", NULL
13466 };
13467
13468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
13469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13471 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13472 if (PyErr_Occurred()) SWIG_fail;
13473 {
13474 PyThreadState* __tstate = wxPyBeginAllowThreads();
13475 result = (bool)(arg1)->DeletePage(arg2);
13476
13477 wxPyEndAllowThreads(__tstate);
13478 if (PyErr_Occurred()) SWIG_fail;
13479 }
13480 {
13481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13482 }
13483 return resultobj;
13484 fail:
13485 return NULL;
13486 }
13487
13488
13489 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13490 PyObject *resultobj;
13491 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13492 size_t arg2 ;
13493 bool result;
13494 PyObject * obj0 = 0 ;
13495 PyObject * obj1 = 0 ;
13496 char *kwnames[] = {
13497 (char *) "self",(char *) "n", NULL
13498 };
13499
13500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
13501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13503 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13504 if (PyErr_Occurred()) SWIG_fail;
13505 {
13506 PyThreadState* __tstate = wxPyBeginAllowThreads();
13507 result = (bool)(arg1)->RemovePage(arg2);
13508
13509 wxPyEndAllowThreads(__tstate);
13510 if (PyErr_Occurred()) SWIG_fail;
13511 }
13512 {
13513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13514 }
13515 return resultobj;
13516 fail:
13517 return NULL;
13518 }
13519
13520
13521 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
13522 PyObject *resultobj;
13523 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13524 bool result;
13525 PyObject * obj0 = 0 ;
13526 char *kwnames[] = {
13527 (char *) "self", NULL
13528 };
13529
13530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
13531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13533 {
13534 PyThreadState* __tstate = wxPyBeginAllowThreads();
13535 result = (bool)(arg1)->DeleteAllPages();
13536
13537 wxPyEndAllowThreads(__tstate);
13538 if (PyErr_Occurred()) SWIG_fail;
13539 }
13540 {
13541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13542 }
13543 return resultobj;
13544 fail:
13545 return NULL;
13546 }
13547
13548
13549 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13550 PyObject *resultobj;
13551 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13552 wxWindow *arg2 = (wxWindow *) 0 ;
13553 wxString *arg3 = 0 ;
13554 bool arg4 = (bool) False ;
13555 int arg5 = (int) -1 ;
13556 bool result;
13557 bool temp3 = False ;
13558 PyObject * obj0 = 0 ;
13559 PyObject * obj1 = 0 ;
13560 PyObject * obj2 = 0 ;
13561 PyObject * obj3 = 0 ;
13562 PyObject * obj4 = 0 ;
13563 char *kwnames[] = {
13564 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13565 };
13566
13567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13570 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13572 {
13573 arg3 = wxString_in_helper(obj2);
13574 if (arg3 == NULL) SWIG_fail;
13575 temp3 = True;
13576 }
13577 if (obj3) {
13578 arg4 = (bool) SWIG_AsBool(obj3);
13579 if (PyErr_Occurred()) SWIG_fail;
13580 }
13581 if (obj4) {
13582 arg5 = (int) SWIG_AsInt(obj4);
13583 if (PyErr_Occurred()) SWIG_fail;
13584 }
13585 {
13586 PyThreadState* __tstate = wxPyBeginAllowThreads();
13587 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13588
13589 wxPyEndAllowThreads(__tstate);
13590 if (PyErr_Occurred()) SWIG_fail;
13591 }
13592 {
13593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13594 }
13595 {
13596 if (temp3)
13597 delete arg3;
13598 }
13599 return resultobj;
13600 fail:
13601 {
13602 if (temp3)
13603 delete arg3;
13604 }
13605 return NULL;
13606 }
13607
13608
13609 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13610 PyObject *resultobj;
13611 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13612 size_t arg2 ;
13613 wxWindow *arg3 = (wxWindow *) 0 ;
13614 wxString *arg4 = 0 ;
13615 bool arg5 = (bool) False ;
13616 int arg6 = (int) -1 ;
13617 bool result;
13618 bool temp4 = False ;
13619 PyObject * obj0 = 0 ;
13620 PyObject * obj1 = 0 ;
13621 PyObject * obj2 = 0 ;
13622 PyObject * obj3 = 0 ;
13623 PyObject * obj4 = 0 ;
13624 PyObject * obj5 = 0 ;
13625 char *kwnames[] = {
13626 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13627 };
13628
13629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13632 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13633 if (PyErr_Occurred()) SWIG_fail;
13634 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
13635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13636 {
13637 arg4 = wxString_in_helper(obj3);
13638 if (arg4 == NULL) SWIG_fail;
13639 temp4 = True;
13640 }
13641 if (obj4) {
13642 arg5 = (bool) SWIG_AsBool(obj4);
13643 if (PyErr_Occurred()) SWIG_fail;
13644 }
13645 if (obj5) {
13646 arg6 = (int) SWIG_AsInt(obj5);
13647 if (PyErr_Occurred()) SWIG_fail;
13648 }
13649 {
13650 PyThreadState* __tstate = wxPyBeginAllowThreads();
13651 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13652
13653 wxPyEndAllowThreads(__tstate);
13654 if (PyErr_Occurred()) SWIG_fail;
13655 }
13656 {
13657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13658 }
13659 {
13660 if (temp4)
13661 delete arg4;
13662 }
13663 return resultobj;
13664 fail:
13665 {
13666 if (temp4)
13667 delete arg4;
13668 }
13669 return NULL;
13670 }
13671
13672
13673 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13674 PyObject *resultobj;
13675 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13676 size_t arg2 ;
13677 int result;
13678 PyObject * obj0 = 0 ;
13679 PyObject * obj1 = 0 ;
13680 char *kwnames[] = {
13681 (char *) "self",(char *) "n", NULL
13682 };
13683
13684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13687 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13688 if (PyErr_Occurred()) SWIG_fail;
13689 {
13690 PyThreadState* __tstate = wxPyBeginAllowThreads();
13691 result = (int)(arg1)->SetSelection(arg2);
13692
13693 wxPyEndAllowThreads(__tstate);
13694 if (PyErr_Occurred()) SWIG_fail;
13695 }
13696 resultobj = SWIG_FromInt((int)result);
13697 return resultobj;
13698 fail:
13699 return NULL;
13700 }
13701
13702
13703 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13704 PyObject *resultobj;
13705 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13706 bool arg2 = (bool) True ;
13707 PyObject * obj0 = 0 ;
13708 PyObject * obj1 = 0 ;
13709 char *kwnames[] = {
13710 (char *) "self",(char *) "forward", NULL
13711 };
13712
13713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
13714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13716 if (obj1) {
13717 arg2 = (bool) SWIG_AsBool(obj1);
13718 if (PyErr_Occurred()) SWIG_fail;
13719 }
13720 {
13721 PyThreadState* __tstate = wxPyBeginAllowThreads();
13722 (arg1)->AdvanceSelection(arg2);
13723
13724 wxPyEndAllowThreads(__tstate);
13725 if (PyErr_Occurred()) SWIG_fail;
13726 }
13727 Py_INCREF(Py_None); resultobj = Py_None;
13728 return resultobj;
13729 fail:
13730 return NULL;
13731 }
13732
13733
13734 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
13735 PyObject *obj;
13736 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13737 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
13738 Py_INCREF(obj);
13739 return Py_BuildValue((char *)"");
13740 }
13741 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13742 PyObject *resultobj;
13743 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13744 int arg2 = (int) 0 ;
13745 int arg3 = (int) -1 ;
13746 int arg4 = (int) -1 ;
13747 wxBookCtrlEvent *result;
13748 PyObject * obj0 = 0 ;
13749 PyObject * obj1 = 0 ;
13750 PyObject * obj2 = 0 ;
13751 PyObject * obj3 = 0 ;
13752 char *kwnames[] = {
13753 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13754 };
13755
13756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13757 if (obj0) {
13758 arg1 = (wxEventType) SWIG_AsInt(obj0);
13759 if (PyErr_Occurred()) SWIG_fail;
13760 }
13761 if (obj1) {
13762 arg2 = (int) SWIG_AsInt(obj1);
13763 if (PyErr_Occurred()) SWIG_fail;
13764 }
13765 if (obj2) {
13766 arg3 = (int) SWIG_AsInt(obj2);
13767 if (PyErr_Occurred()) SWIG_fail;
13768 }
13769 if (obj3) {
13770 arg4 = (int) SWIG_AsInt(obj3);
13771 if (PyErr_Occurred()) SWIG_fail;
13772 }
13773 {
13774 PyThreadState* __tstate = wxPyBeginAllowThreads();
13775 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
13776
13777 wxPyEndAllowThreads(__tstate);
13778 if (PyErr_Occurred()) SWIG_fail;
13779 }
13780 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
13781 return resultobj;
13782 fail:
13783 return NULL;
13784 }
13785
13786
13787 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13788 PyObject *resultobj;
13789 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13790 int result;
13791 PyObject * obj0 = 0 ;
13792 char *kwnames[] = {
13793 (char *) "self", NULL
13794 };
13795
13796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
13797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13799 {
13800 PyThreadState* __tstate = wxPyBeginAllowThreads();
13801 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
13802
13803 wxPyEndAllowThreads(__tstate);
13804 if (PyErr_Occurred()) SWIG_fail;
13805 }
13806 resultobj = SWIG_FromInt((int)result);
13807 return resultobj;
13808 fail:
13809 return NULL;
13810 }
13811
13812
13813 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13814 PyObject *resultobj;
13815 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13816 int arg2 ;
13817 PyObject * obj0 = 0 ;
13818 PyObject * obj1 = 0 ;
13819 char *kwnames[] = {
13820 (char *) "self",(char *) "nSel", NULL
13821 };
13822
13823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13826 arg2 = (int) SWIG_AsInt(obj1);
13827 if (PyErr_Occurred()) SWIG_fail;
13828 {
13829 PyThreadState* __tstate = wxPyBeginAllowThreads();
13830 (arg1)->SetSelection(arg2);
13831
13832 wxPyEndAllowThreads(__tstate);
13833 if (PyErr_Occurred()) SWIG_fail;
13834 }
13835 Py_INCREF(Py_None); resultobj = Py_None;
13836 return resultobj;
13837 fail:
13838 return NULL;
13839 }
13840
13841
13842 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13843 PyObject *resultobj;
13844 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13845 int result;
13846 PyObject * obj0 = 0 ;
13847 char *kwnames[] = {
13848 (char *) "self", NULL
13849 };
13850
13851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
13852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13854 {
13855 PyThreadState* __tstate = wxPyBeginAllowThreads();
13856 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
13857
13858 wxPyEndAllowThreads(__tstate);
13859 if (PyErr_Occurred()) SWIG_fail;
13860 }
13861 resultobj = SWIG_FromInt((int)result);
13862 return resultobj;
13863 fail:
13864 return NULL;
13865 }
13866
13867
13868 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13869 PyObject *resultobj;
13870 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13871 int arg2 ;
13872 PyObject * obj0 = 0 ;
13873 PyObject * obj1 = 0 ;
13874 char *kwnames[] = {
13875 (char *) "self",(char *) "nOldSel", NULL
13876 };
13877
13878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
13879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13881 arg2 = (int) SWIG_AsInt(obj1);
13882 if (PyErr_Occurred()) SWIG_fail;
13883 {
13884 PyThreadState* __tstate = wxPyBeginAllowThreads();
13885 (arg1)->SetOldSelection(arg2);
13886
13887 wxPyEndAllowThreads(__tstate);
13888 if (PyErr_Occurred()) SWIG_fail;
13889 }
13890 Py_INCREF(Py_None); resultobj = Py_None;
13891 return resultobj;
13892 fail:
13893 return NULL;
13894 }
13895
13896
13897 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
13898 PyObject *obj;
13899 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13900 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
13901 Py_INCREF(obj);
13902 return Py_BuildValue((char *)"");
13903 }
13904 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13905 PyObject *resultobj;
13906 wxWindow *arg1 = (wxWindow *) 0 ;
13907 int arg2 = (int) -1 ;
13908 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13909 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13910 wxSize const &arg4_defvalue = wxDefaultSize ;
13911 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13912 long arg5 = (long) 0 ;
13913 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
13914 wxString *arg6 = (wxString *) &arg6_defvalue ;
13915 wxNotebook *result;
13916 wxPoint temp3 ;
13917 wxSize temp4 ;
13918 bool temp6 = False ;
13919 PyObject * obj0 = 0 ;
13920 PyObject * obj1 = 0 ;
13921 PyObject * obj2 = 0 ;
13922 PyObject * obj3 = 0 ;
13923 PyObject * obj4 = 0 ;
13924 PyObject * obj5 = 0 ;
13925 char *kwnames[] = {
13926 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13927 };
13928
13929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13932 if (obj1) {
13933 arg2 = (int) SWIG_AsInt(obj1);
13934 if (PyErr_Occurred()) SWIG_fail;
13935 }
13936 if (obj2) {
13937 {
13938 arg3 = &temp3;
13939 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13940 }
13941 }
13942 if (obj3) {
13943 {
13944 arg4 = &temp4;
13945 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13946 }
13947 }
13948 if (obj4) {
13949 arg5 = (long) SWIG_AsLong(obj4);
13950 if (PyErr_Occurred()) SWIG_fail;
13951 }
13952 if (obj5) {
13953 {
13954 arg6 = wxString_in_helper(obj5);
13955 if (arg6 == NULL) SWIG_fail;
13956 temp6 = True;
13957 }
13958 }
13959 {
13960 PyThreadState* __tstate = wxPyBeginAllowThreads();
13961 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13962
13963 wxPyEndAllowThreads(__tstate);
13964 if (PyErr_Occurred()) SWIG_fail;
13965 }
13966 {
13967 resultobj = wxPyMake_wxObject(result);
13968 }
13969 {
13970 if (temp6)
13971 delete arg6;
13972 }
13973 return resultobj;
13974 fail:
13975 {
13976 if (temp6)
13977 delete arg6;
13978 }
13979 return NULL;
13980 }
13981
13982
13983 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13984 PyObject *resultobj;
13985 wxNotebook *result;
13986 char *kwnames[] = {
13987 NULL
13988 };
13989
13990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
13991 {
13992 PyThreadState* __tstate = wxPyBeginAllowThreads();
13993 result = (wxNotebook *)new wxNotebook();
13994
13995 wxPyEndAllowThreads(__tstate);
13996 if (PyErr_Occurred()) SWIG_fail;
13997 }
13998 {
13999 resultobj = wxPyMake_wxObject(result);
14000 }
14001 return resultobj;
14002 fail:
14003 return NULL;
14004 }
14005
14006
14007 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14008 PyObject *resultobj;
14009 wxNotebook *arg1 = (wxNotebook *) 0 ;
14010 wxWindow *arg2 = (wxWindow *) 0 ;
14011 int arg3 ;
14012 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14013 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14014 wxSize const &arg5_defvalue = wxDefaultSize ;
14015 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14016 long arg6 = (long) 0 ;
14017 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
14018 wxString *arg7 = (wxString *) &arg7_defvalue ;
14019 bool result;
14020 wxPoint temp4 ;
14021 wxSize temp5 ;
14022 bool temp7 = False ;
14023 PyObject * obj0 = 0 ;
14024 PyObject * obj1 = 0 ;
14025 PyObject * obj2 = 0 ;
14026 PyObject * obj3 = 0 ;
14027 PyObject * obj4 = 0 ;
14028 PyObject * obj5 = 0 ;
14029 PyObject * obj6 = 0 ;
14030 char *kwnames[] = {
14031 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14032 };
14033
14034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14037 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14039 arg3 = (int) SWIG_AsInt(obj2);
14040 if (PyErr_Occurred()) SWIG_fail;
14041 if (obj3) {
14042 {
14043 arg4 = &temp4;
14044 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14045 }
14046 }
14047 if (obj4) {
14048 {
14049 arg5 = &temp5;
14050 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14051 }
14052 }
14053 if (obj5) {
14054 arg6 = (long) SWIG_AsLong(obj5);
14055 if (PyErr_Occurred()) SWIG_fail;
14056 }
14057 if (obj6) {
14058 {
14059 arg7 = wxString_in_helper(obj6);
14060 if (arg7 == NULL) SWIG_fail;
14061 temp7 = True;
14062 }
14063 }
14064 {
14065 PyThreadState* __tstate = wxPyBeginAllowThreads();
14066 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14067
14068 wxPyEndAllowThreads(__tstate);
14069 if (PyErr_Occurred()) SWIG_fail;
14070 }
14071 {
14072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14073 }
14074 {
14075 if (temp7)
14076 delete arg7;
14077 }
14078 return resultobj;
14079 fail:
14080 {
14081 if (temp7)
14082 delete arg7;
14083 }
14084 return NULL;
14085 }
14086
14087
14088 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14089 PyObject *resultobj;
14090 wxNotebook *arg1 = (wxNotebook *) 0 ;
14091 int result;
14092 PyObject * obj0 = 0 ;
14093 char *kwnames[] = {
14094 (char *) "self", NULL
14095 };
14096
14097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
14098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14100 {
14101 PyThreadState* __tstate = wxPyBeginAllowThreads();
14102 result = (int)((wxNotebook const *)arg1)->GetRowCount();
14103
14104 wxPyEndAllowThreads(__tstate);
14105 if (PyErr_Occurred()) SWIG_fail;
14106 }
14107 resultobj = SWIG_FromInt((int)result);
14108 return resultobj;
14109 fail:
14110 return NULL;
14111 }
14112
14113
14114 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
14115 PyObject *resultobj;
14116 wxNotebook *arg1 = (wxNotebook *) 0 ;
14117 wxSize *arg2 = 0 ;
14118 wxSize temp2 ;
14119 PyObject * obj0 = 0 ;
14120 PyObject * obj1 = 0 ;
14121 char *kwnames[] = {
14122 (char *) "self",(char *) "padding", NULL
14123 };
14124
14125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
14126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14128 {
14129 arg2 = &temp2;
14130 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14131 }
14132 {
14133 PyThreadState* __tstate = wxPyBeginAllowThreads();
14134 (arg1)->SetPadding((wxSize const &)*arg2);
14135
14136 wxPyEndAllowThreads(__tstate);
14137 if (PyErr_Occurred()) SWIG_fail;
14138 }
14139 Py_INCREF(Py_None); resultobj = Py_None;
14140 return resultobj;
14141 fail:
14142 return NULL;
14143 }
14144
14145
14146 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14147 PyObject *resultobj;
14148 wxNotebook *arg1 = (wxNotebook *) 0 ;
14149 wxSize *arg2 = 0 ;
14150 wxSize temp2 ;
14151 PyObject * obj0 = 0 ;
14152 PyObject * obj1 = 0 ;
14153 char *kwnames[] = {
14154 (char *) "self",(char *) "sz", NULL
14155 };
14156
14157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
14158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14160 {
14161 arg2 = &temp2;
14162 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14163 }
14164 {
14165 PyThreadState* __tstate = wxPyBeginAllowThreads();
14166 (arg1)->SetTabSize((wxSize const &)*arg2);
14167
14168 wxPyEndAllowThreads(__tstate);
14169 if (PyErr_Occurred()) SWIG_fail;
14170 }
14171 Py_INCREF(Py_None); resultobj = Py_None;
14172 return resultobj;
14173 fail:
14174 return NULL;
14175 }
14176
14177
14178 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
14179 PyObject *resultobj;
14180 wxNotebook *arg1 = (wxNotebook *) 0 ;
14181 wxPoint *arg2 = 0 ;
14182 long *arg3 = (long *) 0 ;
14183 int result;
14184 wxPoint temp2 ;
14185 long temp3 ;
14186 PyObject * obj0 = 0 ;
14187 PyObject * obj1 = 0 ;
14188 char *kwnames[] = {
14189 (char *) "self",(char *) "pt", NULL
14190 };
14191
14192 arg3 = &temp3;
14193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
14194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14196 {
14197 arg2 = &temp2;
14198 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14199 }
14200 {
14201 PyThreadState* __tstate = wxPyBeginAllowThreads();
14202 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
14203
14204 wxPyEndAllowThreads(__tstate);
14205 if (PyErr_Occurred()) SWIG_fail;
14206 }
14207 resultobj = SWIG_FromInt((int)result);
14208 {
14209 PyObject *o = PyInt_FromLong((long) (*arg3));
14210 resultobj = t_output_helper(resultobj,o);
14211 }
14212 return resultobj;
14213 fail:
14214 return NULL;
14215 }
14216
14217
14218 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14219 PyObject *resultobj;
14220 wxNotebook *arg1 = (wxNotebook *) 0 ;
14221 wxSize *arg2 = 0 ;
14222 wxSize result;
14223 wxSize temp2 ;
14224 PyObject * obj0 = 0 ;
14225 PyObject * obj1 = 0 ;
14226 char *kwnames[] = {
14227 (char *) "self",(char *) "sizePage", NULL
14228 };
14229
14230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",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 ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14236 }
14237 {
14238 PyThreadState* __tstate = wxPyBeginAllowThreads();
14239 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14240
14241 wxPyEndAllowThreads(__tstate);
14242 if (PyErr_Occurred()) SWIG_fail;
14243 }
14244 {
14245 wxSize * resultptr;
14246 resultptr = new wxSize((wxSize &) result);
14247 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14248 }
14249 return resultobj;
14250 fail:
14251 return NULL;
14252 }
14253
14254
14255 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
14256 PyObject *obj;
14257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14258 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
14259 Py_INCREF(obj);
14260 return Py_BuildValue((char *)"");
14261 }
14262 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14263 PyObject *resultobj;
14264 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14265 int arg2 = (int) 0 ;
14266 int arg3 = (int) -1 ;
14267 int arg4 = (int) -1 ;
14268 wxNotebookEvent *result;
14269 PyObject * obj0 = 0 ;
14270 PyObject * obj1 = 0 ;
14271 PyObject * obj2 = 0 ;
14272 PyObject * obj3 = 0 ;
14273 char *kwnames[] = {
14274 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14275 };
14276
14277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14278 if (obj0) {
14279 arg1 = (wxEventType) SWIG_AsInt(obj0);
14280 if (PyErr_Occurred()) SWIG_fail;
14281 }
14282 if (obj1) {
14283 arg2 = (int) SWIG_AsInt(obj1);
14284 if (PyErr_Occurred()) SWIG_fail;
14285 }
14286 if (obj2) {
14287 arg3 = (int) SWIG_AsInt(obj2);
14288 if (PyErr_Occurred()) SWIG_fail;
14289 }
14290 if (obj3) {
14291 arg4 = (int) SWIG_AsInt(obj3);
14292 if (PyErr_Occurred()) SWIG_fail;
14293 }
14294 {
14295 PyThreadState* __tstate = wxPyBeginAllowThreads();
14296 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
14297
14298 wxPyEndAllowThreads(__tstate);
14299 if (PyErr_Occurred()) SWIG_fail;
14300 }
14301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
14302 return resultobj;
14303 fail:
14304 return NULL;
14305 }
14306
14307
14308 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
14309 PyObject *obj;
14310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14311 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
14312 Py_INCREF(obj);
14313 return Py_BuildValue((char *)"");
14314 }
14315 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14316 PyObject *resultobj;
14317 wxWindow *arg1 = (wxWindow *) 0 ;
14318 int arg2 = (int) -1 ;
14319 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14320 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14321 wxSize const &arg4_defvalue = wxDefaultSize ;
14322 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14323 long arg5 = (long) 0 ;
14324 wxString const &arg6_defvalue = wxPyEmptyString ;
14325 wxString *arg6 = (wxString *) &arg6_defvalue ;
14326 wxListbook *result;
14327 wxPoint temp3 ;
14328 wxSize temp4 ;
14329 bool temp6 = False ;
14330 PyObject * obj0 = 0 ;
14331 PyObject * obj1 = 0 ;
14332 PyObject * obj2 = 0 ;
14333 PyObject * obj3 = 0 ;
14334 PyObject * obj4 = 0 ;
14335 PyObject * obj5 = 0 ;
14336 char *kwnames[] = {
14337 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14338 };
14339
14340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14343 if (obj1) {
14344 arg2 = (int) SWIG_AsInt(obj1);
14345 if (PyErr_Occurred()) SWIG_fail;
14346 }
14347 if (obj2) {
14348 {
14349 arg3 = &temp3;
14350 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14351 }
14352 }
14353 if (obj3) {
14354 {
14355 arg4 = &temp4;
14356 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14357 }
14358 }
14359 if (obj4) {
14360 arg5 = (long) SWIG_AsLong(obj4);
14361 if (PyErr_Occurred()) SWIG_fail;
14362 }
14363 if (obj5) {
14364 {
14365 arg6 = wxString_in_helper(obj5);
14366 if (arg6 == NULL) SWIG_fail;
14367 temp6 = True;
14368 }
14369 }
14370 {
14371 PyThreadState* __tstate = wxPyBeginAllowThreads();
14372 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14373
14374 wxPyEndAllowThreads(__tstate);
14375 if (PyErr_Occurred()) SWIG_fail;
14376 }
14377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14378 {
14379 if (temp6)
14380 delete arg6;
14381 }
14382 return resultobj;
14383 fail:
14384 {
14385 if (temp6)
14386 delete arg6;
14387 }
14388 return NULL;
14389 }
14390
14391
14392 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14393 PyObject *resultobj;
14394 wxListbook *result;
14395 char *kwnames[] = {
14396 NULL
14397 };
14398
14399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14400 {
14401 PyThreadState* __tstate = wxPyBeginAllowThreads();
14402 result = (wxListbook *)new wxListbook();
14403
14404 wxPyEndAllowThreads(__tstate);
14405 if (PyErr_Occurred()) SWIG_fail;
14406 }
14407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14408 return resultobj;
14409 fail:
14410 return NULL;
14411 }
14412
14413
14414 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14415 PyObject *resultobj;
14416 wxListbook *arg1 = (wxListbook *) 0 ;
14417 wxWindow *arg2 = (wxWindow *) 0 ;
14418 int arg3 ;
14419 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14420 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14421 wxSize const &arg5_defvalue = wxDefaultSize ;
14422 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14423 long arg6 = (long) 0 ;
14424 wxString const &arg7_defvalue = wxPyEmptyString ;
14425 wxString *arg7 = (wxString *) &arg7_defvalue ;
14426 bool result;
14427 wxPoint temp4 ;
14428 wxSize temp5 ;
14429 bool temp7 = False ;
14430 PyObject * obj0 = 0 ;
14431 PyObject * obj1 = 0 ;
14432 PyObject * obj2 = 0 ;
14433 PyObject * obj3 = 0 ;
14434 PyObject * obj4 = 0 ;
14435 PyObject * obj5 = 0 ;
14436 PyObject * obj6 = 0 ;
14437 char *kwnames[] = {
14438 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14439 };
14440
14441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14444 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14446 arg3 = (int) SWIG_AsInt(obj2);
14447 if (PyErr_Occurred()) SWIG_fail;
14448 if (obj3) {
14449 {
14450 arg4 = &temp4;
14451 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14452 }
14453 }
14454 if (obj4) {
14455 {
14456 arg5 = &temp5;
14457 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14458 }
14459 }
14460 if (obj5) {
14461 arg6 = (long) SWIG_AsLong(obj5);
14462 if (PyErr_Occurred()) SWIG_fail;
14463 }
14464 if (obj6) {
14465 {
14466 arg7 = wxString_in_helper(obj6);
14467 if (arg7 == NULL) SWIG_fail;
14468 temp7 = True;
14469 }
14470 }
14471 {
14472 PyThreadState* __tstate = wxPyBeginAllowThreads();
14473 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14474
14475 wxPyEndAllowThreads(__tstate);
14476 if (PyErr_Occurred()) SWIG_fail;
14477 }
14478 {
14479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14480 }
14481 {
14482 if (temp7)
14483 delete arg7;
14484 }
14485 return resultobj;
14486 fail:
14487 {
14488 if (temp7)
14489 delete arg7;
14490 }
14491 return NULL;
14492 }
14493
14494
14495 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14496 PyObject *resultobj;
14497 wxListbook *arg1 = (wxListbook *) 0 ;
14498 bool result;
14499 PyObject * obj0 = 0 ;
14500 char *kwnames[] = {
14501 (char *) "self", NULL
14502 };
14503
14504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
14505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14507 {
14508 PyThreadState* __tstate = wxPyBeginAllowThreads();
14509 result = (bool)((wxListbook const *)arg1)->IsVertical();
14510
14511 wxPyEndAllowThreads(__tstate);
14512 if (PyErr_Occurred()) SWIG_fail;
14513 }
14514 {
14515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14516 }
14517 return resultobj;
14518 fail:
14519 return NULL;
14520 }
14521
14522
14523 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
14524 PyObject *obj;
14525 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14526 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14527 Py_INCREF(obj);
14528 return Py_BuildValue((char *)"");
14529 }
14530 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14531 PyObject *resultobj;
14532 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14533 int arg2 = (int) 0 ;
14534 int arg3 = (int) -1 ;
14535 int arg4 = (int) -1 ;
14536 wxListbookEvent *result;
14537 PyObject * obj0 = 0 ;
14538 PyObject * obj1 = 0 ;
14539 PyObject * obj2 = 0 ;
14540 PyObject * obj3 = 0 ;
14541 char *kwnames[] = {
14542 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14543 };
14544
14545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14546 if (obj0) {
14547 arg1 = (wxEventType) SWIG_AsInt(obj0);
14548 if (PyErr_Occurred()) SWIG_fail;
14549 }
14550 if (obj1) {
14551 arg2 = (int) SWIG_AsInt(obj1);
14552 if (PyErr_Occurred()) SWIG_fail;
14553 }
14554 if (obj2) {
14555 arg3 = (int) SWIG_AsInt(obj2);
14556 if (PyErr_Occurred()) SWIG_fail;
14557 }
14558 if (obj3) {
14559 arg4 = (int) SWIG_AsInt(obj3);
14560 if (PyErr_Occurred()) SWIG_fail;
14561 }
14562 {
14563 PyThreadState* __tstate = wxPyBeginAllowThreads();
14564 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14565
14566 wxPyEndAllowThreads(__tstate);
14567 if (PyErr_Occurred()) SWIG_fail;
14568 }
14569 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
14570 return resultobj;
14571 fail:
14572 return NULL;
14573 }
14574
14575
14576 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
14577 PyObject *obj;
14578 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14579 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14580 Py_INCREF(obj);
14581 return Py_BuildValue((char *)"");
14582 }
14583 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14584 PyObject *resultobj;
14585 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14586 wxBookCtrlSizer *result;
14587 PyObject * obj0 = 0 ;
14588 char *kwnames[] = {
14589 (char *) "nb", NULL
14590 };
14591
14592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
14593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14595 {
14596 PyThreadState* __tstate = wxPyBeginAllowThreads();
14597 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14598
14599 wxPyEndAllowThreads(__tstate);
14600 if (PyErr_Occurred()) SWIG_fail;
14601 }
14602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
14603 return resultobj;
14604 fail:
14605 return NULL;
14606 }
14607
14608
14609 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14610 PyObject *resultobj;
14611 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14612 PyObject * obj0 = 0 ;
14613 char *kwnames[] = {
14614 (char *) "self", NULL
14615 };
14616
14617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14620 {
14621 PyThreadState* __tstate = wxPyBeginAllowThreads();
14622 (arg1)->RecalcSizes();
14623
14624 wxPyEndAllowThreads(__tstate);
14625 if (PyErr_Occurred()) SWIG_fail;
14626 }
14627 Py_INCREF(Py_None); resultobj = Py_None;
14628 return resultobj;
14629 fail:
14630 return NULL;
14631 }
14632
14633
14634 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14635 PyObject *resultobj;
14636 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14637 wxSize result;
14638 PyObject * obj0 = 0 ;
14639 char *kwnames[] = {
14640 (char *) "self", NULL
14641 };
14642
14643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
14644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14646 {
14647 PyThreadState* __tstate = wxPyBeginAllowThreads();
14648 result = (arg1)->CalcMin();
14649
14650 wxPyEndAllowThreads(__tstate);
14651 if (PyErr_Occurred()) SWIG_fail;
14652 }
14653 {
14654 wxSize * resultptr;
14655 resultptr = new wxSize((wxSize &) result);
14656 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14657 }
14658 return resultobj;
14659 fail:
14660 return NULL;
14661 }
14662
14663
14664 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14665 PyObject *resultobj;
14666 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14667 wxBookCtrl *result;
14668 PyObject * obj0 = 0 ;
14669 char *kwnames[] = {
14670 (char *) "self", NULL
14671 };
14672
14673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
14674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14676 {
14677 PyThreadState* __tstate = wxPyBeginAllowThreads();
14678 result = (wxBookCtrl *)(arg1)->GetControl();
14679
14680 wxPyEndAllowThreads(__tstate);
14681 if (PyErr_Occurred()) SWIG_fail;
14682 }
14683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
14684 return resultobj;
14685 fail:
14686 return NULL;
14687 }
14688
14689
14690 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
14691 PyObject *obj;
14692 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14693 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14694 Py_INCREF(obj);
14695 return Py_BuildValue((char *)"");
14696 }
14697 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14698 PyObject *resultobj;
14699 wxNotebook *arg1 = (wxNotebook *) 0 ;
14700 wxNotebookSizer *result;
14701 PyObject * obj0 = 0 ;
14702 char *kwnames[] = {
14703 (char *) "nb", NULL
14704 };
14705
14706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
14707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14709 {
14710 PyThreadState* __tstate = wxPyBeginAllowThreads();
14711 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
14712
14713 wxPyEndAllowThreads(__tstate);
14714 if (PyErr_Occurred()) SWIG_fail;
14715 }
14716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
14717 return resultobj;
14718 fail:
14719 return NULL;
14720 }
14721
14722
14723 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14724 PyObject *resultobj;
14725 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14726 PyObject * obj0 = 0 ;
14727 char *kwnames[] = {
14728 (char *) "self", NULL
14729 };
14730
14731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14734 {
14735 PyThreadState* __tstate = wxPyBeginAllowThreads();
14736 (arg1)->RecalcSizes();
14737
14738 wxPyEndAllowThreads(__tstate);
14739 if (PyErr_Occurred()) SWIG_fail;
14740 }
14741 Py_INCREF(Py_None); resultobj = Py_None;
14742 return resultobj;
14743 fail:
14744 return NULL;
14745 }
14746
14747
14748 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14749 PyObject *resultobj;
14750 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14751 wxSize result;
14752 PyObject * obj0 = 0 ;
14753 char *kwnames[] = {
14754 (char *) "self", NULL
14755 };
14756
14757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
14758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14760 {
14761 PyThreadState* __tstate = wxPyBeginAllowThreads();
14762 result = (arg1)->CalcMin();
14763
14764 wxPyEndAllowThreads(__tstate);
14765 if (PyErr_Occurred()) SWIG_fail;
14766 }
14767 {
14768 wxSize * resultptr;
14769 resultptr = new wxSize((wxSize &) result);
14770 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14771 }
14772 return resultobj;
14773 fail:
14774 return NULL;
14775 }
14776
14777
14778 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14779 PyObject *resultobj;
14780 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14781 wxNotebook *result;
14782 PyObject * obj0 = 0 ;
14783 char *kwnames[] = {
14784 (char *) "self", NULL
14785 };
14786
14787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
14788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14790 {
14791 PyThreadState* __tstate = wxPyBeginAllowThreads();
14792 result = (wxNotebook *)(arg1)->GetNotebook();
14793
14794 wxPyEndAllowThreads(__tstate);
14795 if (PyErr_Occurred()) SWIG_fail;
14796 }
14797 {
14798 resultobj = wxPyMake_wxObject(result);
14799 }
14800 return resultobj;
14801 fail:
14802 return NULL;
14803 }
14804
14805
14806 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
14807 PyObject *obj;
14808 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14809 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
14810 Py_INCREF(obj);
14811 return Py_BuildValue((char *)"");
14812 }
14813 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
14814 PyObject *resultobj;
14815 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14816 int result;
14817 PyObject * obj0 = 0 ;
14818 char *kwnames[] = {
14819 (char *) "self", NULL
14820 };
14821
14822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
14823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14825 {
14826 PyThreadState* __tstate = wxPyBeginAllowThreads();
14827 result = (int)(arg1)->GetId();
14828
14829 wxPyEndAllowThreads(__tstate);
14830 if (PyErr_Occurred()) SWIG_fail;
14831 }
14832 resultobj = SWIG_FromInt((int)result);
14833 return resultobj;
14834 fail:
14835 return NULL;
14836 }
14837
14838
14839 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14840 PyObject *resultobj;
14841 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14842 wxControl *result;
14843 PyObject * obj0 = 0 ;
14844 char *kwnames[] = {
14845 (char *) "self", NULL
14846 };
14847
14848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
14849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14851 {
14852 PyThreadState* __tstate = wxPyBeginAllowThreads();
14853 result = (wxControl *)(arg1)->GetControl();
14854
14855 wxPyEndAllowThreads(__tstate);
14856 if (PyErr_Occurred()) SWIG_fail;
14857 }
14858 {
14859 resultobj = wxPyMake_wxObject(result);
14860 }
14861 return resultobj;
14862 fail:
14863 return NULL;
14864 }
14865
14866
14867 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14868 PyObject *resultobj;
14869 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14870 wxToolBarBase *result;
14871 PyObject * obj0 = 0 ;
14872 char *kwnames[] = {
14873 (char *) "self", NULL
14874 };
14875
14876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
14877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14879 {
14880 PyThreadState* __tstate = wxPyBeginAllowThreads();
14881 result = (wxToolBarBase *)(arg1)->GetToolBar();
14882
14883 wxPyEndAllowThreads(__tstate);
14884 if (PyErr_Occurred()) SWIG_fail;
14885 }
14886 {
14887 resultobj = wxPyMake_wxObject(result);
14888 }
14889 return resultobj;
14890 fail:
14891 return NULL;
14892 }
14893
14894
14895 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
14896 PyObject *resultobj;
14897 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14898 int result;
14899 PyObject * obj0 = 0 ;
14900 char *kwnames[] = {
14901 (char *) "self", NULL
14902 };
14903
14904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
14905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14907 {
14908 PyThreadState* __tstate = wxPyBeginAllowThreads();
14909 result = (int)(arg1)->IsButton();
14910
14911 wxPyEndAllowThreads(__tstate);
14912 if (PyErr_Occurred()) SWIG_fail;
14913 }
14914 resultobj = SWIG_FromInt((int)result);
14915 return resultobj;
14916 fail:
14917 return NULL;
14918 }
14919
14920
14921 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14922 PyObject *resultobj;
14923 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14924 int result;
14925 PyObject * obj0 = 0 ;
14926 char *kwnames[] = {
14927 (char *) "self", NULL
14928 };
14929
14930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
14931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14933 {
14934 PyThreadState* __tstate = wxPyBeginAllowThreads();
14935 result = (int)(arg1)->IsControl();
14936
14937 wxPyEndAllowThreads(__tstate);
14938 if (PyErr_Occurred()) SWIG_fail;
14939 }
14940 resultobj = SWIG_FromInt((int)result);
14941 return resultobj;
14942 fail:
14943 return NULL;
14944 }
14945
14946
14947 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14948 PyObject *resultobj;
14949 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14950 int result;
14951 PyObject * obj0 = 0 ;
14952 char *kwnames[] = {
14953 (char *) "self", NULL
14954 };
14955
14956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
14957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14959 {
14960 PyThreadState* __tstate = wxPyBeginAllowThreads();
14961 result = (int)(arg1)->IsSeparator();
14962
14963 wxPyEndAllowThreads(__tstate);
14964 if (PyErr_Occurred()) SWIG_fail;
14965 }
14966 resultobj = SWIG_FromInt((int)result);
14967 return resultobj;
14968 fail:
14969 return NULL;
14970 }
14971
14972
14973 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14974 PyObject *resultobj;
14975 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14976 int result;
14977 PyObject * obj0 = 0 ;
14978 char *kwnames[] = {
14979 (char *) "self", NULL
14980 };
14981
14982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
14983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14985 {
14986 PyThreadState* __tstate = wxPyBeginAllowThreads();
14987 result = (int)(arg1)->GetStyle();
14988
14989 wxPyEndAllowThreads(__tstate);
14990 if (PyErr_Occurred()) SWIG_fail;
14991 }
14992 resultobj = SWIG_FromInt((int)result);
14993 return resultobj;
14994 fail:
14995 return NULL;
14996 }
14997
14998
14999 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
15000 PyObject *resultobj;
15001 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15002 int result;
15003 PyObject * obj0 = 0 ;
15004 char *kwnames[] = {
15005 (char *) "self", NULL
15006 };
15007
15008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
15009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15011 {
15012 PyThreadState* __tstate = wxPyBeginAllowThreads();
15013 result = (int)(arg1)->GetKind();
15014
15015 wxPyEndAllowThreads(__tstate);
15016 if (PyErr_Occurred()) SWIG_fail;
15017 }
15018 resultobj = SWIG_FromInt((int)result);
15019 return resultobj;
15020 fail:
15021 return NULL;
15022 }
15023
15024
15025 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15026 PyObject *resultobj;
15027 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15028 bool result;
15029 PyObject * obj0 = 0 ;
15030 char *kwnames[] = {
15031 (char *) "self", NULL
15032 };
15033
15034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
15035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15037 {
15038 PyThreadState* __tstate = wxPyBeginAllowThreads();
15039 result = (bool)(arg1)->IsEnabled();
15040
15041 wxPyEndAllowThreads(__tstate);
15042 if (PyErr_Occurred()) SWIG_fail;
15043 }
15044 {
15045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15046 }
15047 return resultobj;
15048 fail:
15049 return NULL;
15050 }
15051
15052
15053 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15054 PyObject *resultobj;
15055 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15056 bool result;
15057 PyObject * obj0 = 0 ;
15058 char *kwnames[] = {
15059 (char *) "self", NULL
15060 };
15061
15062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
15063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15065 {
15066 PyThreadState* __tstate = wxPyBeginAllowThreads();
15067 result = (bool)(arg1)->IsToggled();
15068
15069 wxPyEndAllowThreads(__tstate);
15070 if (PyErr_Occurred()) SWIG_fail;
15071 }
15072 {
15073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15074 }
15075 return resultobj;
15076 fail:
15077 return NULL;
15078 }
15079
15080
15081 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15082 PyObject *resultobj;
15083 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15084 bool result;
15085 PyObject * obj0 = 0 ;
15086 char *kwnames[] = {
15087 (char *) "self", NULL
15088 };
15089
15090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
15091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15093 {
15094 PyThreadState* __tstate = wxPyBeginAllowThreads();
15095 result = (bool)(arg1)->CanBeToggled();
15096
15097 wxPyEndAllowThreads(__tstate);
15098 if (PyErr_Occurred()) SWIG_fail;
15099 }
15100 {
15101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15102 }
15103 return resultobj;
15104 fail:
15105 return NULL;
15106 }
15107
15108
15109 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15110 PyObject *resultobj;
15111 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15112 wxBitmap *result;
15113 PyObject * obj0 = 0 ;
15114 char *kwnames[] = {
15115 (char *) "self", NULL
15116 };
15117
15118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
15119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15121 {
15122 PyThreadState* __tstate = wxPyBeginAllowThreads();
15123 {
15124 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
15125 result = (wxBitmap *) &_result_ref;
15126 }
15127
15128 wxPyEndAllowThreads(__tstate);
15129 if (PyErr_Occurred()) SWIG_fail;
15130 }
15131 {
15132 wxBitmap* resultptr = new wxBitmap(*result);
15133 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15134 }
15135 return resultobj;
15136 fail:
15137 return NULL;
15138 }
15139
15140
15141 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15142 PyObject *resultobj;
15143 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15144 wxBitmap *result;
15145 PyObject * obj0 = 0 ;
15146 char *kwnames[] = {
15147 (char *) "self", NULL
15148 };
15149
15150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
15151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15153 {
15154 PyThreadState* __tstate = wxPyBeginAllowThreads();
15155 {
15156 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
15157 result = (wxBitmap *) &_result_ref;
15158 }
15159
15160 wxPyEndAllowThreads(__tstate);
15161 if (PyErr_Occurred()) SWIG_fail;
15162 }
15163 {
15164 wxBitmap* resultptr = new wxBitmap(*result);
15165 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15166 }
15167 return resultobj;
15168 fail:
15169 return NULL;
15170 }
15171
15172
15173 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15174 PyObject *resultobj;
15175 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15176 wxBitmap result;
15177 PyObject * obj0 = 0 ;
15178 char *kwnames[] = {
15179 (char *) "self", NULL
15180 };
15181
15182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
15183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15185 {
15186 PyThreadState* __tstate = wxPyBeginAllowThreads();
15187 result = (arg1)->GetBitmap();
15188
15189 wxPyEndAllowThreads(__tstate);
15190 if (PyErr_Occurred()) SWIG_fail;
15191 }
15192 {
15193 wxBitmap * resultptr;
15194 resultptr = new wxBitmap((wxBitmap &) result);
15195 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15196 }
15197 return resultobj;
15198 fail:
15199 return NULL;
15200 }
15201
15202
15203 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15204 PyObject *resultobj;
15205 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15206 wxString result;
15207 PyObject * obj0 = 0 ;
15208 char *kwnames[] = {
15209 (char *) "self", NULL
15210 };
15211
15212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
15213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15215 {
15216 PyThreadState* __tstate = wxPyBeginAllowThreads();
15217 result = (arg1)->GetLabel();
15218
15219 wxPyEndAllowThreads(__tstate);
15220 if (PyErr_Occurred()) SWIG_fail;
15221 }
15222 {
15223 #if wxUSE_UNICODE
15224 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15225 #else
15226 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15227 #endif
15228 }
15229 return resultobj;
15230 fail:
15231 return NULL;
15232 }
15233
15234
15235 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15236 PyObject *resultobj;
15237 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15238 wxString result;
15239 PyObject * obj0 = 0 ;
15240 char *kwnames[] = {
15241 (char *) "self", NULL
15242 };
15243
15244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15247 {
15248 PyThreadState* __tstate = wxPyBeginAllowThreads();
15249 result = (arg1)->GetShortHelp();
15250
15251 wxPyEndAllowThreads(__tstate);
15252 if (PyErr_Occurred()) SWIG_fail;
15253 }
15254 {
15255 #if wxUSE_UNICODE
15256 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15257 #else
15258 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15259 #endif
15260 }
15261 return resultobj;
15262 fail:
15263 return NULL;
15264 }
15265
15266
15267 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15268 PyObject *resultobj;
15269 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15270 wxString result;
15271 PyObject * obj0 = 0 ;
15272 char *kwnames[] = {
15273 (char *) "self", NULL
15274 };
15275
15276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15279 {
15280 PyThreadState* __tstate = wxPyBeginAllowThreads();
15281 result = (arg1)->GetLongHelp();
15282
15283 wxPyEndAllowThreads(__tstate);
15284 if (PyErr_Occurred()) SWIG_fail;
15285 }
15286 {
15287 #if wxUSE_UNICODE
15288 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15289 #else
15290 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15291 #endif
15292 }
15293 return resultobj;
15294 fail:
15295 return NULL;
15296 }
15297
15298
15299 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
15300 PyObject *resultobj;
15301 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15302 bool arg2 ;
15303 bool result;
15304 PyObject * obj0 = 0 ;
15305 PyObject * obj1 = 0 ;
15306 char *kwnames[] = {
15307 (char *) "self",(char *) "enable", NULL
15308 };
15309
15310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15313 arg2 = (bool) SWIG_AsBool(obj1);
15314 if (PyErr_Occurred()) SWIG_fail;
15315 {
15316 PyThreadState* __tstate = wxPyBeginAllowThreads();
15317 result = (bool)(arg1)->Enable(arg2);
15318
15319 wxPyEndAllowThreads(__tstate);
15320 if (PyErr_Occurred()) SWIG_fail;
15321 }
15322 {
15323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15324 }
15325 return resultobj;
15326 fail:
15327 return NULL;
15328 }
15329
15330
15331 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15332 PyObject *resultobj;
15333 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15334 PyObject * obj0 = 0 ;
15335 char *kwnames[] = {
15336 (char *) "self", NULL
15337 };
15338
15339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
15340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15342 {
15343 PyThreadState* __tstate = wxPyBeginAllowThreads();
15344 (arg1)->Toggle();
15345
15346 wxPyEndAllowThreads(__tstate);
15347 if (PyErr_Occurred()) SWIG_fail;
15348 }
15349 Py_INCREF(Py_None); resultobj = Py_None;
15350 return resultobj;
15351 fail:
15352 return NULL;
15353 }
15354
15355
15356 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15357 PyObject *resultobj;
15358 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15359 bool arg2 ;
15360 bool result;
15361 PyObject * obj0 = 0 ;
15362 PyObject * obj1 = 0 ;
15363 char *kwnames[] = {
15364 (char *) "self",(char *) "toggle", NULL
15365 };
15366
15367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15370 arg2 = (bool) SWIG_AsBool(obj1);
15371 if (PyErr_Occurred()) SWIG_fail;
15372 {
15373 PyThreadState* __tstate = wxPyBeginAllowThreads();
15374 result = (bool)(arg1)->SetToggle(arg2);
15375
15376 wxPyEndAllowThreads(__tstate);
15377 if (PyErr_Occurred()) SWIG_fail;
15378 }
15379 {
15380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15381 }
15382 return resultobj;
15383 fail:
15384 return NULL;
15385 }
15386
15387
15388 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15389 PyObject *resultobj;
15390 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15391 wxString *arg2 = 0 ;
15392 bool result;
15393 bool temp2 = False ;
15394 PyObject * obj0 = 0 ;
15395 PyObject * obj1 = 0 ;
15396 char *kwnames[] = {
15397 (char *) "self",(char *) "help", NULL
15398 };
15399
15400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15403 {
15404 arg2 = wxString_in_helper(obj1);
15405 if (arg2 == NULL) SWIG_fail;
15406 temp2 = True;
15407 }
15408 {
15409 PyThreadState* __tstate = wxPyBeginAllowThreads();
15410 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15411
15412 wxPyEndAllowThreads(__tstate);
15413 if (PyErr_Occurred()) SWIG_fail;
15414 }
15415 {
15416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15417 }
15418 {
15419 if (temp2)
15420 delete arg2;
15421 }
15422 return resultobj;
15423 fail:
15424 {
15425 if (temp2)
15426 delete arg2;
15427 }
15428 return NULL;
15429 }
15430
15431
15432 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15433 PyObject *resultobj;
15434 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15435 wxString *arg2 = 0 ;
15436 bool result;
15437 bool temp2 = False ;
15438 PyObject * obj0 = 0 ;
15439 PyObject * obj1 = 0 ;
15440 char *kwnames[] = {
15441 (char *) "self",(char *) "help", NULL
15442 };
15443
15444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15447 {
15448 arg2 = wxString_in_helper(obj1);
15449 if (arg2 == NULL) SWIG_fail;
15450 temp2 = True;
15451 }
15452 {
15453 PyThreadState* __tstate = wxPyBeginAllowThreads();
15454 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15455
15456 wxPyEndAllowThreads(__tstate);
15457 if (PyErr_Occurred()) SWIG_fail;
15458 }
15459 {
15460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15461 }
15462 {
15463 if (temp2)
15464 delete arg2;
15465 }
15466 return resultobj;
15467 fail:
15468 {
15469 if (temp2)
15470 delete arg2;
15471 }
15472 return NULL;
15473 }
15474
15475
15476 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15477 PyObject *resultobj;
15478 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15479 wxBitmap *arg2 = 0 ;
15480 PyObject * obj0 = 0 ;
15481 PyObject * obj1 = 0 ;
15482 char *kwnames[] = {
15483 (char *) "self",(char *) "bmp", NULL
15484 };
15485
15486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15489 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15490 SWIG_POINTER_EXCEPTION | 0)) == -1)
15491 SWIG_fail;
15492 if (arg2 == NULL) {
15493 PyErr_SetString(PyExc_TypeError,"null reference");
15494 SWIG_fail;
15495 }
15496 {
15497 PyThreadState* __tstate = wxPyBeginAllowThreads();
15498 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15499
15500 wxPyEndAllowThreads(__tstate);
15501 if (PyErr_Occurred()) SWIG_fail;
15502 }
15503 Py_INCREF(Py_None); resultobj = Py_None;
15504 return resultobj;
15505 fail:
15506 return NULL;
15507 }
15508
15509
15510 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15511 PyObject *resultobj;
15512 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15513 wxBitmap *arg2 = 0 ;
15514 PyObject * obj0 = 0 ;
15515 PyObject * obj1 = 0 ;
15516 char *kwnames[] = {
15517 (char *) "self",(char *) "bmp", NULL
15518 };
15519
15520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15523 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15524 SWIG_POINTER_EXCEPTION | 0)) == -1)
15525 SWIG_fail;
15526 if (arg2 == NULL) {
15527 PyErr_SetString(PyExc_TypeError,"null reference");
15528 SWIG_fail;
15529 }
15530 {
15531 PyThreadState* __tstate = wxPyBeginAllowThreads();
15532 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15533
15534 wxPyEndAllowThreads(__tstate);
15535 if (PyErr_Occurred()) SWIG_fail;
15536 }
15537 Py_INCREF(Py_None); resultobj = Py_None;
15538 return resultobj;
15539 fail:
15540 return NULL;
15541 }
15542
15543
15544 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15545 PyObject *resultobj;
15546 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15547 wxString *arg2 = 0 ;
15548 bool temp2 = False ;
15549 PyObject * obj0 = 0 ;
15550 PyObject * obj1 = 0 ;
15551 char *kwnames[] = {
15552 (char *) "self",(char *) "label", NULL
15553 };
15554
15555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15558 {
15559 arg2 = wxString_in_helper(obj1);
15560 if (arg2 == NULL) SWIG_fail;
15561 temp2 = True;
15562 }
15563 {
15564 PyThreadState* __tstate = wxPyBeginAllowThreads();
15565 (arg1)->SetLabel((wxString const &)*arg2);
15566
15567 wxPyEndAllowThreads(__tstate);
15568 if (PyErr_Occurred()) SWIG_fail;
15569 }
15570 Py_INCREF(Py_None); resultobj = Py_None;
15571 {
15572 if (temp2)
15573 delete arg2;
15574 }
15575 return resultobj;
15576 fail:
15577 {
15578 if (temp2)
15579 delete arg2;
15580 }
15581 return NULL;
15582 }
15583
15584
15585 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
15586 PyObject *resultobj;
15587 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15588 PyObject * obj0 = 0 ;
15589 char *kwnames[] = {
15590 (char *) "self", NULL
15591 };
15592
15593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15596 {
15597 PyThreadState* __tstate = wxPyBeginAllowThreads();
15598 (arg1)->Detach();
15599
15600 wxPyEndAllowThreads(__tstate);
15601 if (PyErr_Occurred()) SWIG_fail;
15602 }
15603 Py_INCREF(Py_None); resultobj = Py_None;
15604 return resultobj;
15605 fail:
15606 return NULL;
15607 }
15608
15609
15610 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
15611 PyObject *resultobj;
15612 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15613 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15614 PyObject * obj0 = 0 ;
15615 PyObject * obj1 = 0 ;
15616 char *kwnames[] = {
15617 (char *) "self",(char *) "tbar", NULL
15618 };
15619
15620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15623 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
15624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15625 {
15626 PyThreadState* __tstate = wxPyBeginAllowThreads();
15627 (arg1)->Attach(arg2);
15628
15629 wxPyEndAllowThreads(__tstate);
15630 if (PyErr_Occurred()) SWIG_fail;
15631 }
15632 Py_INCREF(Py_None); resultobj = Py_None;
15633 return resultobj;
15634 fail:
15635 return NULL;
15636 }
15637
15638
15639 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15640 PyObject *resultobj;
15641 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15642 PyObject *result;
15643 PyObject * obj0 = 0 ;
15644 char *kwnames[] = {
15645 (char *) "self", NULL
15646 };
15647
15648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15651 {
15652 PyThreadState* __tstate = wxPyBeginAllowThreads();
15653 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15654
15655 wxPyEndAllowThreads(__tstate);
15656 if (PyErr_Occurred()) SWIG_fail;
15657 }
15658 resultobj = result;
15659 return resultobj;
15660 fail:
15661 return NULL;
15662 }
15663
15664
15665 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15666 PyObject *resultobj;
15667 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15668 PyObject *arg2 = (PyObject *) 0 ;
15669 PyObject * obj0 = 0 ;
15670 PyObject * obj1 = 0 ;
15671 char *kwnames[] = {
15672 (char *) "self",(char *) "clientData", NULL
15673 };
15674
15675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15678 arg2 = obj1;
15679 {
15680 PyThreadState* __tstate = wxPyBeginAllowThreads();
15681 wxToolBarToolBase_SetClientData(arg1,arg2);
15682
15683 wxPyEndAllowThreads(__tstate);
15684 if (PyErr_Occurred()) SWIG_fail;
15685 }
15686 Py_INCREF(Py_None); resultobj = Py_None;
15687 return resultobj;
15688 fail:
15689 return NULL;
15690 }
15691
15692
15693 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
15694 PyObject *obj;
15695 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15696 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15697 Py_INCREF(obj);
15698 return Py_BuildValue((char *)"");
15699 }
15700 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15701 PyObject *resultobj;
15702 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15703 int arg2 ;
15704 wxString *arg3 = 0 ;
15705 wxBitmap *arg4 = 0 ;
15706 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15707 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15708 int arg6 = (int) wxITEM_NORMAL ;
15709 wxString const &arg7_defvalue = wxPyEmptyString ;
15710 wxString *arg7 = (wxString *) &arg7_defvalue ;
15711 wxString const &arg8_defvalue = wxPyEmptyString ;
15712 wxString *arg8 = (wxString *) &arg8_defvalue ;
15713 PyObject *arg9 = (PyObject *) NULL ;
15714 wxToolBarToolBase *result;
15715 bool temp3 = False ;
15716 bool temp7 = False ;
15717 bool temp8 = False ;
15718 PyObject * obj0 = 0 ;
15719 PyObject * obj1 = 0 ;
15720 PyObject * obj2 = 0 ;
15721 PyObject * obj3 = 0 ;
15722 PyObject * obj4 = 0 ;
15723 PyObject * obj5 = 0 ;
15724 PyObject * obj6 = 0 ;
15725 PyObject * obj7 = 0 ;
15726 PyObject * obj8 = 0 ;
15727 char *kwnames[] = {
15728 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15729 };
15730
15731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15734 arg2 = (int) SWIG_AsInt(obj1);
15735 if (PyErr_Occurred()) SWIG_fail;
15736 {
15737 arg3 = wxString_in_helper(obj2);
15738 if (arg3 == NULL) SWIG_fail;
15739 temp3 = True;
15740 }
15741 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
15742 SWIG_POINTER_EXCEPTION | 0)) == -1)
15743 SWIG_fail;
15744 if (arg4 == NULL) {
15745 PyErr_SetString(PyExc_TypeError,"null reference");
15746 SWIG_fail;
15747 }
15748 if (obj4) {
15749 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
15750 SWIG_POINTER_EXCEPTION | 0)) == -1)
15751 SWIG_fail;
15752 if (arg5 == NULL) {
15753 PyErr_SetString(PyExc_TypeError,"null reference");
15754 SWIG_fail;
15755 }
15756 }
15757 if (obj5) {
15758 arg6 = (wxItemKind) SWIG_AsInt(obj5);
15759 if (PyErr_Occurred()) SWIG_fail;
15760 }
15761 if (obj6) {
15762 {
15763 arg7 = wxString_in_helper(obj6);
15764 if (arg7 == NULL) SWIG_fail;
15765 temp7 = True;
15766 }
15767 }
15768 if (obj7) {
15769 {
15770 arg8 = wxString_in_helper(obj7);
15771 if (arg8 == NULL) SWIG_fail;
15772 temp8 = True;
15773 }
15774 }
15775 if (obj8) {
15776 arg9 = obj8;
15777 }
15778 {
15779 PyThreadState* __tstate = wxPyBeginAllowThreads();
15780 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
15781
15782 wxPyEndAllowThreads(__tstate);
15783 if (PyErr_Occurred()) SWIG_fail;
15784 }
15785 {
15786 resultobj = wxPyMake_wxObject(result);
15787 }
15788 {
15789 if (temp3)
15790 delete arg3;
15791 }
15792 {
15793 if (temp7)
15794 delete arg7;
15795 }
15796 {
15797 if (temp8)
15798 delete arg8;
15799 }
15800 return resultobj;
15801 fail:
15802 {
15803 if (temp3)
15804 delete arg3;
15805 }
15806 {
15807 if (temp7)
15808 delete arg7;
15809 }
15810 {
15811 if (temp8)
15812 delete arg8;
15813 }
15814 return NULL;
15815 }
15816
15817
15818 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15819 PyObject *resultobj;
15820 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15821 size_t arg2 ;
15822 int arg3 ;
15823 wxString *arg4 = 0 ;
15824 wxBitmap *arg5 = 0 ;
15825 wxBitmap const &arg6_defvalue = wxNullBitmap ;
15826 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
15827 int arg7 = (int) wxITEM_NORMAL ;
15828 wxString const &arg8_defvalue = wxPyEmptyString ;
15829 wxString *arg8 = (wxString *) &arg8_defvalue ;
15830 wxString const &arg9_defvalue = wxPyEmptyString ;
15831 wxString *arg9 = (wxString *) &arg9_defvalue ;
15832 PyObject *arg10 = (PyObject *) NULL ;
15833 wxToolBarToolBase *result;
15834 bool temp4 = False ;
15835 bool temp8 = False ;
15836 bool temp9 = False ;
15837 PyObject * obj0 = 0 ;
15838 PyObject * obj1 = 0 ;
15839 PyObject * obj2 = 0 ;
15840 PyObject * obj3 = 0 ;
15841 PyObject * obj4 = 0 ;
15842 PyObject * obj5 = 0 ;
15843 PyObject * obj6 = 0 ;
15844 PyObject * obj7 = 0 ;
15845 PyObject * obj8 = 0 ;
15846 PyObject * obj9 = 0 ;
15847 char *kwnames[] = {
15848 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15849 };
15850
15851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15854 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
15855 if (PyErr_Occurred()) SWIG_fail;
15856 arg3 = (int) SWIG_AsInt(obj2);
15857 if (PyErr_Occurred()) SWIG_fail;
15858 {
15859 arg4 = wxString_in_helper(obj3);
15860 if (arg4 == NULL) SWIG_fail;
15861 temp4 = True;
15862 }
15863 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
15864 SWIG_POINTER_EXCEPTION | 0)) == -1)
15865 SWIG_fail;
15866 if (arg5 == NULL) {
15867 PyErr_SetString(PyExc_TypeError,"null reference");
15868 SWIG_fail;
15869 }
15870 if (obj5) {
15871 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
15872 SWIG_POINTER_EXCEPTION | 0)) == -1)
15873 SWIG_fail;
15874 if (arg6 == NULL) {
15875 PyErr_SetString(PyExc_TypeError,"null reference");
15876 SWIG_fail;
15877 }
15878 }
15879 if (obj6) {
15880 arg7 = (wxItemKind) SWIG_AsInt(obj6);
15881 if (PyErr_Occurred()) SWIG_fail;
15882 }
15883 if (obj7) {
15884 {
15885 arg8 = wxString_in_helper(obj7);
15886 if (arg8 == NULL) SWIG_fail;
15887 temp8 = True;
15888 }
15889 }
15890 if (obj8) {
15891 {
15892 arg9 = wxString_in_helper(obj8);
15893 if (arg9 == NULL) SWIG_fail;
15894 temp9 = True;
15895 }
15896 }
15897 if (obj9) {
15898 arg10 = obj9;
15899 }
15900 {
15901 PyThreadState* __tstate = wxPyBeginAllowThreads();
15902 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);
15903
15904 wxPyEndAllowThreads(__tstate);
15905 if (PyErr_Occurred()) SWIG_fail;
15906 }
15907 {
15908 resultobj = wxPyMake_wxObject(result);
15909 }
15910 {
15911 if (temp4)
15912 delete arg4;
15913 }
15914 {
15915 if (temp8)
15916 delete arg8;
15917 }
15918 {
15919 if (temp9)
15920 delete arg9;
15921 }
15922 return resultobj;
15923 fail:
15924 {
15925 if (temp4)
15926 delete arg4;
15927 }
15928 {
15929 if (temp8)
15930 delete arg8;
15931 }
15932 {
15933 if (temp9)
15934 delete arg9;
15935 }
15936 return NULL;
15937 }
15938
15939
15940 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15941 PyObject *resultobj;
15942 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15943 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
15944 wxToolBarToolBase *result;
15945 PyObject * obj0 = 0 ;
15946 PyObject * obj1 = 0 ;
15947 char *kwnames[] = {
15948 (char *) "self",(char *) "tool", NULL
15949 };
15950
15951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
15952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15954 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
15955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15956 {
15957 PyThreadState* __tstate = wxPyBeginAllowThreads();
15958 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
15959
15960 wxPyEndAllowThreads(__tstate);
15961 if (PyErr_Occurred()) SWIG_fail;
15962 }
15963 {
15964 resultobj = wxPyMake_wxObject(result);
15965 }
15966 return resultobj;
15967 fail:
15968 return NULL;
15969 }
15970
15971
15972 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15973 PyObject *resultobj;
15974 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15975 size_t arg2 ;
15976 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
15977 wxToolBarToolBase *result;
15978 PyObject * obj0 = 0 ;
15979 PyObject * obj1 = 0 ;
15980 PyObject * obj2 = 0 ;
15981 char *kwnames[] = {
15982 (char *) "self",(char *) "pos",(char *) "tool", NULL
15983 };
15984
15985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15988 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
15989 if (PyErr_Occurred()) SWIG_fail;
15990 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
15991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15992 {
15993 PyThreadState* __tstate = wxPyBeginAllowThreads();
15994 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
15995
15996 wxPyEndAllowThreads(__tstate);
15997 if (PyErr_Occurred()) SWIG_fail;
15998 }
15999 {
16000 resultobj = wxPyMake_wxObject(result);
16001 }
16002 return resultobj;
16003 fail:
16004 return NULL;
16005 }
16006
16007
16008 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16009 PyObject *resultobj;
16010 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16011 wxControl *arg2 = (wxControl *) 0 ;
16012 wxToolBarToolBase *result;
16013 PyObject * obj0 = 0 ;
16014 PyObject * obj1 = 0 ;
16015 char *kwnames[] = {
16016 (char *) "self",(char *) "control", NULL
16017 };
16018
16019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
16020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16022 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
16023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16024 {
16025 PyThreadState* __tstate = wxPyBeginAllowThreads();
16026 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
16027
16028 wxPyEndAllowThreads(__tstate);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 }
16031 {
16032 resultobj = wxPyMake_wxObject(result);
16033 }
16034 return resultobj;
16035 fail:
16036 return NULL;
16037 }
16038
16039
16040 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16041 PyObject *resultobj;
16042 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16043 size_t arg2 ;
16044 wxControl *arg3 = (wxControl *) 0 ;
16045 wxToolBarToolBase *result;
16046 PyObject * obj0 = 0 ;
16047 PyObject * obj1 = 0 ;
16048 PyObject * obj2 = 0 ;
16049 char *kwnames[] = {
16050 (char *) "self",(char *) "pos",(char *) "control", NULL
16051 };
16052
16053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
16054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16056 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16057 if (PyErr_Occurred()) SWIG_fail;
16058 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
16059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16060 {
16061 PyThreadState* __tstate = wxPyBeginAllowThreads();
16062 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
16063
16064 wxPyEndAllowThreads(__tstate);
16065 if (PyErr_Occurred()) SWIG_fail;
16066 }
16067 {
16068 resultobj = wxPyMake_wxObject(result);
16069 }
16070 return resultobj;
16071 fail:
16072 return NULL;
16073 }
16074
16075
16076 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16077 PyObject *resultobj;
16078 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16079 int arg2 ;
16080 wxControl *result;
16081 PyObject * obj0 = 0 ;
16082 PyObject * obj1 = 0 ;
16083 char *kwnames[] = {
16084 (char *) "self",(char *) "id", NULL
16085 };
16086
16087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
16088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16090 arg2 = (int) SWIG_AsInt(obj1);
16091 if (PyErr_Occurred()) SWIG_fail;
16092 {
16093 PyThreadState* __tstate = wxPyBeginAllowThreads();
16094 result = (wxControl *)(arg1)->FindControl(arg2);
16095
16096 wxPyEndAllowThreads(__tstate);
16097 if (PyErr_Occurred()) SWIG_fail;
16098 }
16099 {
16100 resultobj = wxPyMake_wxObject(result);
16101 }
16102 return resultobj;
16103 fail:
16104 return NULL;
16105 }
16106
16107
16108 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16109 PyObject *resultobj;
16110 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16111 wxToolBarToolBase *result;
16112 PyObject * obj0 = 0 ;
16113 char *kwnames[] = {
16114 (char *) "self", NULL
16115 };
16116
16117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
16118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16120 {
16121 PyThreadState* __tstate = wxPyBeginAllowThreads();
16122 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
16123
16124 wxPyEndAllowThreads(__tstate);
16125 if (PyErr_Occurred()) SWIG_fail;
16126 }
16127 {
16128 resultobj = wxPyMake_wxObject(result);
16129 }
16130 return resultobj;
16131 fail:
16132 return NULL;
16133 }
16134
16135
16136 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16137 PyObject *resultobj;
16138 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16139 size_t arg2 ;
16140 wxToolBarToolBase *result;
16141 PyObject * obj0 = 0 ;
16142 PyObject * obj1 = 0 ;
16143 char *kwnames[] = {
16144 (char *) "self",(char *) "pos", NULL
16145 };
16146
16147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
16148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16150 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16151 if (PyErr_Occurred()) SWIG_fail;
16152 {
16153 PyThreadState* __tstate = wxPyBeginAllowThreads();
16154 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
16155
16156 wxPyEndAllowThreads(__tstate);
16157 if (PyErr_Occurred()) SWIG_fail;
16158 }
16159 {
16160 resultobj = wxPyMake_wxObject(result);
16161 }
16162 return resultobj;
16163 fail:
16164 return NULL;
16165 }
16166
16167
16168 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16169 PyObject *resultobj;
16170 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16171 int arg2 ;
16172 wxToolBarToolBase *result;
16173 PyObject * obj0 = 0 ;
16174 PyObject * obj1 = 0 ;
16175 char *kwnames[] = {
16176 (char *) "self",(char *) "id", NULL
16177 };
16178
16179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
16180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16182 arg2 = (int) SWIG_AsInt(obj1);
16183 if (PyErr_Occurred()) SWIG_fail;
16184 {
16185 PyThreadState* __tstate = wxPyBeginAllowThreads();
16186 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
16187
16188 wxPyEndAllowThreads(__tstate);
16189 if (PyErr_Occurred()) SWIG_fail;
16190 }
16191 {
16192 resultobj = wxPyMake_wxObject(result);
16193 }
16194 return resultobj;
16195 fail:
16196 return NULL;
16197 }
16198
16199
16200 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16201 PyObject *resultobj;
16202 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16203 size_t arg2 ;
16204 bool result;
16205 PyObject * obj0 = 0 ;
16206 PyObject * obj1 = 0 ;
16207 char *kwnames[] = {
16208 (char *) "self",(char *) "pos", NULL
16209 };
16210
16211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
16212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16214 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16215 if (PyErr_Occurred()) SWIG_fail;
16216 {
16217 PyThreadState* __tstate = wxPyBeginAllowThreads();
16218 result = (bool)(arg1)->DeleteToolByPos(arg2);
16219
16220 wxPyEndAllowThreads(__tstate);
16221 if (PyErr_Occurred()) SWIG_fail;
16222 }
16223 {
16224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16225 }
16226 return resultobj;
16227 fail:
16228 return NULL;
16229 }
16230
16231
16232 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16233 PyObject *resultobj;
16234 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16235 int arg2 ;
16236 bool result;
16237 PyObject * obj0 = 0 ;
16238 PyObject * obj1 = 0 ;
16239 char *kwnames[] = {
16240 (char *) "self",(char *) "id", NULL
16241 };
16242
16243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
16244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16246 arg2 = (int) SWIG_AsInt(obj1);
16247 if (PyErr_Occurred()) SWIG_fail;
16248 {
16249 PyThreadState* __tstate = wxPyBeginAllowThreads();
16250 result = (bool)(arg1)->DeleteTool(arg2);
16251
16252 wxPyEndAllowThreads(__tstate);
16253 if (PyErr_Occurred()) SWIG_fail;
16254 }
16255 {
16256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16257 }
16258 return resultobj;
16259 fail:
16260 return NULL;
16261 }
16262
16263
16264 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
16265 PyObject *resultobj;
16266 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16267 PyObject * obj0 = 0 ;
16268 char *kwnames[] = {
16269 (char *) "self", NULL
16270 };
16271
16272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
16273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16275 {
16276 PyThreadState* __tstate = wxPyBeginAllowThreads();
16277 (arg1)->ClearTools();
16278
16279 wxPyEndAllowThreads(__tstate);
16280 if (PyErr_Occurred()) SWIG_fail;
16281 }
16282 Py_INCREF(Py_None); resultobj = Py_None;
16283 return resultobj;
16284 fail:
16285 return NULL;
16286 }
16287
16288
16289 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
16290 PyObject *resultobj;
16291 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16292 bool result;
16293 PyObject * obj0 = 0 ;
16294 char *kwnames[] = {
16295 (char *) "self", NULL
16296 };
16297
16298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
16299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16301 {
16302 PyThreadState* __tstate = wxPyBeginAllowThreads();
16303 result = (bool)(arg1)->Realize();
16304
16305 wxPyEndAllowThreads(__tstate);
16306 if (PyErr_Occurred()) SWIG_fail;
16307 }
16308 {
16309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16310 }
16311 return resultobj;
16312 fail:
16313 return NULL;
16314 }
16315
16316
16317 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16318 PyObject *resultobj;
16319 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16320 int arg2 ;
16321 bool arg3 ;
16322 PyObject * obj0 = 0 ;
16323 PyObject * obj1 = 0 ;
16324 PyObject * obj2 = 0 ;
16325 char *kwnames[] = {
16326 (char *) "self",(char *) "id",(char *) "enable", NULL
16327 };
16328
16329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16332 arg2 = (int) SWIG_AsInt(obj1);
16333 if (PyErr_Occurred()) SWIG_fail;
16334 arg3 = (bool) SWIG_AsBool(obj2);
16335 if (PyErr_Occurred()) SWIG_fail;
16336 {
16337 PyThreadState* __tstate = wxPyBeginAllowThreads();
16338 (arg1)->EnableTool(arg2,arg3);
16339
16340 wxPyEndAllowThreads(__tstate);
16341 if (PyErr_Occurred()) SWIG_fail;
16342 }
16343 Py_INCREF(Py_None); resultobj = Py_None;
16344 return resultobj;
16345 fail:
16346 return NULL;
16347 }
16348
16349
16350 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16351 PyObject *resultobj;
16352 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16353 int arg2 ;
16354 bool arg3 ;
16355 PyObject * obj0 = 0 ;
16356 PyObject * obj1 = 0 ;
16357 PyObject * obj2 = 0 ;
16358 char *kwnames[] = {
16359 (char *) "self",(char *) "id",(char *) "toggle", NULL
16360 };
16361
16362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16365 arg2 = (int) SWIG_AsInt(obj1);
16366 if (PyErr_Occurred()) SWIG_fail;
16367 arg3 = (bool) SWIG_AsBool(obj2);
16368 if (PyErr_Occurred()) SWIG_fail;
16369 {
16370 PyThreadState* __tstate = wxPyBeginAllowThreads();
16371 (arg1)->ToggleTool(arg2,arg3);
16372
16373 wxPyEndAllowThreads(__tstate);
16374 if (PyErr_Occurred()) SWIG_fail;
16375 }
16376 Py_INCREF(Py_None); resultobj = Py_None;
16377 return resultobj;
16378 fail:
16379 return NULL;
16380 }
16381
16382
16383 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16384 PyObject *resultobj;
16385 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16386 int arg2 ;
16387 bool arg3 ;
16388 PyObject * obj0 = 0 ;
16389 PyObject * obj1 = 0 ;
16390 PyObject * obj2 = 0 ;
16391 char *kwnames[] = {
16392 (char *) "self",(char *) "id",(char *) "toggle", NULL
16393 };
16394
16395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
16396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16398 arg2 = (int) SWIG_AsInt(obj1);
16399 if (PyErr_Occurred()) SWIG_fail;
16400 arg3 = (bool) SWIG_AsBool(obj2);
16401 if (PyErr_Occurred()) SWIG_fail;
16402 {
16403 PyThreadState* __tstate = wxPyBeginAllowThreads();
16404 (arg1)->SetToggle(arg2,arg3);
16405
16406 wxPyEndAllowThreads(__tstate);
16407 if (PyErr_Occurred()) SWIG_fail;
16408 }
16409 Py_INCREF(Py_None); resultobj = Py_None;
16410 return resultobj;
16411 fail:
16412 return NULL;
16413 }
16414
16415
16416 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16417 PyObject *resultobj;
16418 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16419 int arg2 ;
16420 PyObject *result;
16421 PyObject * obj0 = 0 ;
16422 PyObject * obj1 = 0 ;
16423 char *kwnames[] = {
16424 (char *) "self",(char *) "id", NULL
16425 };
16426
16427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
16428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16430 arg2 = (int) SWIG_AsInt(obj1);
16431 if (PyErr_Occurred()) SWIG_fail;
16432 {
16433 PyThreadState* __tstate = wxPyBeginAllowThreads();
16434 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16435
16436 wxPyEndAllowThreads(__tstate);
16437 if (PyErr_Occurred()) SWIG_fail;
16438 }
16439 resultobj = result;
16440 return resultobj;
16441 fail:
16442 return NULL;
16443 }
16444
16445
16446 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16447 PyObject *resultobj;
16448 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16449 int arg2 ;
16450 PyObject *arg3 = (PyObject *) 0 ;
16451 PyObject * obj0 = 0 ;
16452 PyObject * obj1 = 0 ;
16453 PyObject * obj2 = 0 ;
16454 char *kwnames[] = {
16455 (char *) "self",(char *) "id",(char *) "clientData", NULL
16456 };
16457
16458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
16459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16461 arg2 = (int) SWIG_AsInt(obj1);
16462 if (PyErr_Occurred()) SWIG_fail;
16463 arg3 = obj2;
16464 {
16465 PyThreadState* __tstate = wxPyBeginAllowThreads();
16466 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16467
16468 wxPyEndAllowThreads(__tstate);
16469 if (PyErr_Occurred()) SWIG_fail;
16470 }
16471 Py_INCREF(Py_None); resultobj = Py_None;
16472 return resultobj;
16473 fail:
16474 return NULL;
16475 }
16476
16477
16478 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16479 PyObject *resultobj;
16480 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16481 int arg2 ;
16482 int result;
16483 PyObject * obj0 = 0 ;
16484 PyObject * obj1 = 0 ;
16485 char *kwnames[] = {
16486 (char *) "self",(char *) "id", NULL
16487 };
16488
16489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
16490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16492 arg2 = (int) SWIG_AsInt(obj1);
16493 if (PyErr_Occurred()) SWIG_fail;
16494 {
16495 PyThreadState* __tstate = wxPyBeginAllowThreads();
16496 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16497
16498 wxPyEndAllowThreads(__tstate);
16499 if (PyErr_Occurred()) SWIG_fail;
16500 }
16501 resultobj = SWIG_FromInt((int)result);
16502 return resultobj;
16503 fail:
16504 return NULL;
16505 }
16506
16507
16508 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
16509 PyObject *resultobj;
16510 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16511 int arg2 ;
16512 bool result;
16513 PyObject * obj0 = 0 ;
16514 PyObject * obj1 = 0 ;
16515 char *kwnames[] = {
16516 (char *) "self",(char *) "id", NULL
16517 };
16518
16519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
16520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16522 arg2 = (int) SWIG_AsInt(obj1);
16523 if (PyErr_Occurred()) SWIG_fail;
16524 {
16525 PyThreadState* __tstate = wxPyBeginAllowThreads();
16526 result = (bool)(arg1)->GetToolState(arg2);
16527
16528 wxPyEndAllowThreads(__tstate);
16529 if (PyErr_Occurred()) SWIG_fail;
16530 }
16531 {
16532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16533 }
16534 return resultobj;
16535 fail:
16536 return NULL;
16537 }
16538
16539
16540 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16541 PyObject *resultobj;
16542 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16543 int arg2 ;
16544 bool result;
16545 PyObject * obj0 = 0 ;
16546 PyObject * obj1 = 0 ;
16547 char *kwnames[] = {
16548 (char *) "self",(char *) "id", NULL
16549 };
16550
16551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
16552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16554 arg2 = (int) SWIG_AsInt(obj1);
16555 if (PyErr_Occurred()) SWIG_fail;
16556 {
16557 PyThreadState* __tstate = wxPyBeginAllowThreads();
16558 result = (bool)(arg1)->GetToolEnabled(arg2);
16559
16560 wxPyEndAllowThreads(__tstate);
16561 if (PyErr_Occurred()) SWIG_fail;
16562 }
16563 {
16564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16565 }
16566 return resultobj;
16567 fail:
16568 return NULL;
16569 }
16570
16571
16572 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16573 PyObject *resultobj;
16574 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16575 int arg2 ;
16576 wxString *arg3 = 0 ;
16577 bool temp3 = False ;
16578 PyObject * obj0 = 0 ;
16579 PyObject * obj1 = 0 ;
16580 PyObject * obj2 = 0 ;
16581 char *kwnames[] = {
16582 (char *) "self",(char *) "id",(char *) "helpString", NULL
16583 };
16584
16585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16588 arg2 = (int) SWIG_AsInt(obj1);
16589 if (PyErr_Occurred()) SWIG_fail;
16590 {
16591 arg3 = wxString_in_helper(obj2);
16592 if (arg3 == NULL) SWIG_fail;
16593 temp3 = True;
16594 }
16595 {
16596 PyThreadState* __tstate = wxPyBeginAllowThreads();
16597 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16598
16599 wxPyEndAllowThreads(__tstate);
16600 if (PyErr_Occurred()) SWIG_fail;
16601 }
16602 Py_INCREF(Py_None); resultobj = Py_None;
16603 {
16604 if (temp3)
16605 delete arg3;
16606 }
16607 return resultobj;
16608 fail:
16609 {
16610 if (temp3)
16611 delete arg3;
16612 }
16613 return NULL;
16614 }
16615
16616
16617 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16618 PyObject *resultobj;
16619 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16620 int arg2 ;
16621 wxString result;
16622 PyObject * obj0 = 0 ;
16623 PyObject * obj1 = 0 ;
16624 char *kwnames[] = {
16625 (char *) "self",(char *) "id", NULL
16626 };
16627
16628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
16629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16631 arg2 = (int) SWIG_AsInt(obj1);
16632 if (PyErr_Occurred()) SWIG_fail;
16633 {
16634 PyThreadState* __tstate = wxPyBeginAllowThreads();
16635 result = (arg1)->GetToolShortHelp(arg2);
16636
16637 wxPyEndAllowThreads(__tstate);
16638 if (PyErr_Occurred()) SWIG_fail;
16639 }
16640 {
16641 #if wxUSE_UNICODE
16642 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16643 #else
16644 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16645 #endif
16646 }
16647 return resultobj;
16648 fail:
16649 return NULL;
16650 }
16651
16652
16653 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16654 PyObject *resultobj;
16655 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16656 int arg2 ;
16657 wxString *arg3 = 0 ;
16658 bool temp3 = False ;
16659 PyObject * obj0 = 0 ;
16660 PyObject * obj1 = 0 ;
16661 PyObject * obj2 = 0 ;
16662 char *kwnames[] = {
16663 (char *) "self",(char *) "id",(char *) "helpString", NULL
16664 };
16665
16666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16669 arg2 = (int) SWIG_AsInt(obj1);
16670 if (PyErr_Occurred()) SWIG_fail;
16671 {
16672 arg3 = wxString_in_helper(obj2);
16673 if (arg3 == NULL) SWIG_fail;
16674 temp3 = True;
16675 }
16676 {
16677 PyThreadState* __tstate = wxPyBeginAllowThreads();
16678 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16679
16680 wxPyEndAllowThreads(__tstate);
16681 if (PyErr_Occurred()) SWIG_fail;
16682 }
16683 Py_INCREF(Py_None); resultobj = Py_None;
16684 {
16685 if (temp3)
16686 delete arg3;
16687 }
16688 return resultobj;
16689 fail:
16690 {
16691 if (temp3)
16692 delete arg3;
16693 }
16694 return NULL;
16695 }
16696
16697
16698 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16699 PyObject *resultobj;
16700 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16701 int arg2 ;
16702 wxString result;
16703 PyObject * obj0 = 0 ;
16704 PyObject * obj1 = 0 ;
16705 char *kwnames[] = {
16706 (char *) "self",(char *) "id", NULL
16707 };
16708
16709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
16710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16712 arg2 = (int) SWIG_AsInt(obj1);
16713 if (PyErr_Occurred()) SWIG_fail;
16714 {
16715 PyThreadState* __tstate = wxPyBeginAllowThreads();
16716 result = (arg1)->GetToolLongHelp(arg2);
16717
16718 wxPyEndAllowThreads(__tstate);
16719 if (PyErr_Occurred()) SWIG_fail;
16720 }
16721 {
16722 #if wxUSE_UNICODE
16723 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16724 #else
16725 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16726 #endif
16727 }
16728 return resultobj;
16729 fail:
16730 return NULL;
16731 }
16732
16733
16734 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
16735 PyObject *resultobj;
16736 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16737 int arg2 ;
16738 int arg3 ;
16739 PyObject * obj0 = 0 ;
16740 PyObject * obj1 = 0 ;
16741 PyObject * obj2 = 0 ;
16742 char *kwnames[] = {
16743 (char *) "self",(char *) "x",(char *) "y", NULL
16744 };
16745
16746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
16747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16749 arg2 = (int) SWIG_AsInt(obj1);
16750 if (PyErr_Occurred()) SWIG_fail;
16751 arg3 = (int) SWIG_AsInt(obj2);
16752 if (PyErr_Occurred()) SWIG_fail;
16753 {
16754 PyThreadState* __tstate = wxPyBeginAllowThreads();
16755 (arg1)->SetMargins(arg2,arg3);
16756
16757 wxPyEndAllowThreads(__tstate);
16758 if (PyErr_Occurred()) SWIG_fail;
16759 }
16760 Py_INCREF(Py_None); resultobj = Py_None;
16761 return resultobj;
16762 fail:
16763 return NULL;
16764 }
16765
16766
16767 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16768 PyObject *resultobj;
16769 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16770 wxSize *arg2 = 0 ;
16771 wxSize temp2 ;
16772 PyObject * obj0 = 0 ;
16773 PyObject * obj1 = 0 ;
16774 char *kwnames[] = {
16775 (char *) "self",(char *) "size", NULL
16776 };
16777
16778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
16779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16781 {
16782 arg2 = &temp2;
16783 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16784 }
16785 {
16786 PyThreadState* __tstate = wxPyBeginAllowThreads();
16787 (arg1)->SetMargins((wxSize const &)*arg2);
16788
16789 wxPyEndAllowThreads(__tstate);
16790 if (PyErr_Occurred()) SWIG_fail;
16791 }
16792 Py_INCREF(Py_None); resultobj = Py_None;
16793 return resultobj;
16794 fail:
16795 return NULL;
16796 }
16797
16798
16799 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16800 PyObject *resultobj;
16801 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16802 int arg2 ;
16803 PyObject * obj0 = 0 ;
16804 PyObject * obj1 = 0 ;
16805 char *kwnames[] = {
16806 (char *) "self",(char *) "packing", NULL
16807 };
16808
16809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
16810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16812 arg2 = (int) SWIG_AsInt(obj1);
16813 if (PyErr_Occurred()) SWIG_fail;
16814 {
16815 PyThreadState* __tstate = wxPyBeginAllowThreads();
16816 (arg1)->SetToolPacking(arg2);
16817
16818 wxPyEndAllowThreads(__tstate);
16819 if (PyErr_Occurred()) SWIG_fail;
16820 }
16821 Py_INCREF(Py_None); resultobj = Py_None;
16822 return resultobj;
16823 fail:
16824 return NULL;
16825 }
16826
16827
16828 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
16829 PyObject *resultobj;
16830 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16831 int arg2 ;
16832 PyObject * obj0 = 0 ;
16833 PyObject * obj1 = 0 ;
16834 char *kwnames[] = {
16835 (char *) "self",(char *) "separation", NULL
16836 };
16837
16838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
16839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16841 arg2 = (int) SWIG_AsInt(obj1);
16842 if (PyErr_Occurred()) SWIG_fail;
16843 {
16844 PyThreadState* __tstate = wxPyBeginAllowThreads();
16845 (arg1)->SetToolSeparation(arg2);
16846
16847 wxPyEndAllowThreads(__tstate);
16848 if (PyErr_Occurred()) SWIG_fail;
16849 }
16850 Py_INCREF(Py_None); resultobj = Py_None;
16851 return resultobj;
16852 fail:
16853 return NULL;
16854 }
16855
16856
16857 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16858 PyObject *resultobj;
16859 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16860 wxSize result;
16861 PyObject * obj0 = 0 ;
16862 char *kwnames[] = {
16863 (char *) "self", NULL
16864 };
16865
16866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
16867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16869 {
16870 PyThreadState* __tstate = wxPyBeginAllowThreads();
16871 result = (arg1)->GetToolMargins();
16872
16873 wxPyEndAllowThreads(__tstate);
16874 if (PyErr_Occurred()) SWIG_fail;
16875 }
16876 {
16877 wxSize * resultptr;
16878 resultptr = new wxSize((wxSize &) result);
16879 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16880 }
16881 return resultobj;
16882 fail:
16883 return NULL;
16884 }
16885
16886
16887 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16888 PyObject *resultobj;
16889 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16890 wxSize result;
16891 PyObject * obj0 = 0 ;
16892 char *kwnames[] = {
16893 (char *) "self", NULL
16894 };
16895
16896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
16897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16899 {
16900 PyThreadState* __tstate = wxPyBeginAllowThreads();
16901 result = (arg1)->GetMargins();
16902
16903 wxPyEndAllowThreads(__tstate);
16904 if (PyErr_Occurred()) SWIG_fail;
16905 }
16906 {
16907 wxSize * resultptr;
16908 resultptr = new wxSize((wxSize &) result);
16909 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16910 }
16911 return resultobj;
16912 fail:
16913 return NULL;
16914 }
16915
16916
16917 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16918 PyObject *resultobj;
16919 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16920 int result;
16921 PyObject * obj0 = 0 ;
16922 char *kwnames[] = {
16923 (char *) "self", NULL
16924 };
16925
16926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
16927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16929 {
16930 PyThreadState* __tstate = wxPyBeginAllowThreads();
16931 result = (int)(arg1)->GetToolPacking();
16932
16933 wxPyEndAllowThreads(__tstate);
16934 if (PyErr_Occurred()) SWIG_fail;
16935 }
16936 resultobj = SWIG_FromInt((int)result);
16937 return resultobj;
16938 fail:
16939 return NULL;
16940 }
16941
16942
16943 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
16944 PyObject *resultobj;
16945 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16946 int result;
16947 PyObject * obj0 = 0 ;
16948 char *kwnames[] = {
16949 (char *) "self", NULL
16950 };
16951
16952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
16953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16955 {
16956 PyThreadState* __tstate = wxPyBeginAllowThreads();
16957 result = (int)(arg1)->GetToolSeparation();
16958
16959 wxPyEndAllowThreads(__tstate);
16960 if (PyErr_Occurred()) SWIG_fail;
16961 }
16962 resultobj = SWIG_FromInt((int)result);
16963 return resultobj;
16964 fail:
16965 return NULL;
16966 }
16967
16968
16969 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
16970 PyObject *resultobj;
16971 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16972 int arg2 ;
16973 PyObject * obj0 = 0 ;
16974 PyObject * obj1 = 0 ;
16975 char *kwnames[] = {
16976 (char *) "self",(char *) "nRows", NULL
16977 };
16978
16979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
16980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16982 arg2 = (int) SWIG_AsInt(obj1);
16983 if (PyErr_Occurred()) SWIG_fail;
16984 {
16985 PyThreadState* __tstate = wxPyBeginAllowThreads();
16986 (arg1)->SetRows(arg2);
16987
16988 wxPyEndAllowThreads(__tstate);
16989 if (PyErr_Occurred()) SWIG_fail;
16990 }
16991 Py_INCREF(Py_None); resultobj = Py_None;
16992 return resultobj;
16993 fail:
16994 return NULL;
16995 }
16996
16997
16998 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
16999 PyObject *resultobj;
17000 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17001 int arg2 ;
17002 int arg3 ;
17003 PyObject * obj0 = 0 ;
17004 PyObject * obj1 = 0 ;
17005 PyObject * obj2 = 0 ;
17006 char *kwnames[] = {
17007 (char *) "self",(char *) "rows",(char *) "cols", NULL
17008 };
17009
17010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
17011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17013 arg2 = (int) SWIG_AsInt(obj1);
17014 if (PyErr_Occurred()) SWIG_fail;
17015 arg3 = (int) SWIG_AsInt(obj2);
17016 if (PyErr_Occurred()) SWIG_fail;
17017 {
17018 PyThreadState* __tstate = wxPyBeginAllowThreads();
17019 (arg1)->SetMaxRowsCols(arg2,arg3);
17020
17021 wxPyEndAllowThreads(__tstate);
17022 if (PyErr_Occurred()) SWIG_fail;
17023 }
17024 Py_INCREF(Py_None); resultobj = Py_None;
17025 return resultobj;
17026 fail:
17027 return NULL;
17028 }
17029
17030
17031 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
17032 PyObject *resultobj;
17033 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17034 int result;
17035 PyObject * obj0 = 0 ;
17036 char *kwnames[] = {
17037 (char *) "self", NULL
17038 };
17039
17040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
17041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17043 {
17044 PyThreadState* __tstate = wxPyBeginAllowThreads();
17045 result = (int)(arg1)->GetMaxRows();
17046
17047 wxPyEndAllowThreads(__tstate);
17048 if (PyErr_Occurred()) SWIG_fail;
17049 }
17050 resultobj = SWIG_FromInt((int)result);
17051 return resultobj;
17052 fail:
17053 return NULL;
17054 }
17055
17056
17057 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17058 PyObject *resultobj;
17059 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17060 int result;
17061 PyObject * obj0 = 0 ;
17062 char *kwnames[] = {
17063 (char *) "self", NULL
17064 };
17065
17066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
17067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17069 {
17070 PyThreadState* __tstate = wxPyBeginAllowThreads();
17071 result = (int)(arg1)->GetMaxCols();
17072
17073 wxPyEndAllowThreads(__tstate);
17074 if (PyErr_Occurred()) SWIG_fail;
17075 }
17076 resultobj = SWIG_FromInt((int)result);
17077 return resultobj;
17078 fail:
17079 return NULL;
17080 }
17081
17082
17083 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17084 PyObject *resultobj;
17085 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17086 wxSize *arg2 = 0 ;
17087 wxSize temp2 ;
17088 PyObject * obj0 = 0 ;
17089 PyObject * obj1 = 0 ;
17090 char *kwnames[] = {
17091 (char *) "self",(char *) "size", NULL
17092 };
17093
17094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
17095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17097 {
17098 arg2 = &temp2;
17099 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17100 }
17101 {
17102 PyThreadState* __tstate = wxPyBeginAllowThreads();
17103 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
17104
17105 wxPyEndAllowThreads(__tstate);
17106 if (PyErr_Occurred()) SWIG_fail;
17107 }
17108 Py_INCREF(Py_None); resultobj = Py_None;
17109 return resultobj;
17110 fail:
17111 return NULL;
17112 }
17113
17114
17115 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17116 PyObject *resultobj;
17117 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17118 wxSize result;
17119 PyObject * obj0 = 0 ;
17120 char *kwnames[] = {
17121 (char *) "self", NULL
17122 };
17123
17124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
17125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17127 {
17128 PyThreadState* __tstate = wxPyBeginAllowThreads();
17129 result = (arg1)->GetToolBitmapSize();
17130
17131 wxPyEndAllowThreads(__tstate);
17132 if (PyErr_Occurred()) SWIG_fail;
17133 }
17134 {
17135 wxSize * resultptr;
17136 resultptr = new wxSize((wxSize &) result);
17137 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17138 }
17139 return resultobj;
17140 fail:
17141 return NULL;
17142 }
17143
17144
17145 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17146 PyObject *resultobj;
17147 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17148 wxSize result;
17149 PyObject * obj0 = 0 ;
17150 char *kwnames[] = {
17151 (char *) "self", NULL
17152 };
17153
17154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
17155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17157 {
17158 PyThreadState* __tstate = wxPyBeginAllowThreads();
17159 result = (arg1)->GetToolSize();
17160
17161 wxPyEndAllowThreads(__tstate);
17162 if (PyErr_Occurred()) SWIG_fail;
17163 }
17164 {
17165 wxSize * resultptr;
17166 resultptr = new wxSize((wxSize &) result);
17167 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17168 }
17169 return resultobj;
17170 fail:
17171 return NULL;
17172 }
17173
17174
17175 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17176 PyObject *resultobj;
17177 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17178 int arg2 ;
17179 int arg3 ;
17180 wxToolBarToolBase *result;
17181 PyObject * obj0 = 0 ;
17182 PyObject * obj1 = 0 ;
17183 PyObject * obj2 = 0 ;
17184 char *kwnames[] = {
17185 (char *) "self",(char *) "x",(char *) "y", NULL
17186 };
17187
17188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17191 arg2 = (int) SWIG_AsInt(obj1);
17192 if (PyErr_Occurred()) SWIG_fail;
17193 arg3 = (int) SWIG_AsInt(obj2);
17194 if (PyErr_Occurred()) SWIG_fail;
17195 {
17196 PyThreadState* __tstate = wxPyBeginAllowThreads();
17197 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17198
17199 wxPyEndAllowThreads(__tstate);
17200 if (PyErr_Occurred()) SWIG_fail;
17201 }
17202 {
17203 resultobj = wxPyMake_wxObject(result);
17204 }
17205 return resultobj;
17206 fail:
17207 return NULL;
17208 }
17209
17210
17211 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
17212 PyObject *resultobj;
17213 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17214 int arg2 ;
17215 wxToolBarToolBase *result;
17216 PyObject * obj0 = 0 ;
17217 PyObject * obj1 = 0 ;
17218 char *kwnames[] = {
17219 (char *) "self",(char *) "toolid", NULL
17220 };
17221
17222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
17223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17225 arg2 = (int) SWIG_AsInt(obj1);
17226 if (PyErr_Occurred()) SWIG_fail;
17227 {
17228 PyThreadState* __tstate = wxPyBeginAllowThreads();
17229 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
17230
17231 wxPyEndAllowThreads(__tstate);
17232 if (PyErr_Occurred()) SWIG_fail;
17233 }
17234 {
17235 resultobj = wxPyMake_wxObject(result);
17236 }
17237 return resultobj;
17238 fail:
17239 return NULL;
17240 }
17241
17242
17243 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
17244 PyObject *resultobj;
17245 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17246 bool result;
17247 PyObject * obj0 = 0 ;
17248 char *kwnames[] = {
17249 (char *) "self", NULL
17250 };
17251
17252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
17253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17255 {
17256 PyThreadState* __tstate = wxPyBeginAllowThreads();
17257 result = (bool)(arg1)->IsVertical();
17258
17259 wxPyEndAllowThreads(__tstate);
17260 if (PyErr_Occurred()) SWIG_fail;
17261 }
17262 {
17263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17264 }
17265 return resultobj;
17266 fail:
17267 return NULL;
17268 }
17269
17270
17271 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
17272 PyObject *obj;
17273 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17274 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
17275 Py_INCREF(obj);
17276 return Py_BuildValue((char *)"");
17277 }
17278 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17279 PyObject *resultobj;
17280 wxWindow *arg1 = (wxWindow *) 0 ;
17281 int arg2 ;
17282 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17283 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17284 wxSize const &arg4_defvalue = wxDefaultSize ;
17285 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17286 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17287 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
17288 wxString *arg6 = (wxString *) &arg6_defvalue ;
17289 wxToolBar *result;
17290 wxPoint temp3 ;
17291 wxSize temp4 ;
17292 bool temp6 = False ;
17293 PyObject * obj0 = 0 ;
17294 PyObject * obj1 = 0 ;
17295 PyObject * obj2 = 0 ;
17296 PyObject * obj3 = 0 ;
17297 PyObject * obj4 = 0 ;
17298 PyObject * obj5 = 0 ;
17299 char *kwnames[] = {
17300 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17301 };
17302
17303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17306 arg2 = (int) SWIG_AsInt(obj1);
17307 if (PyErr_Occurred()) SWIG_fail;
17308 if (obj2) {
17309 {
17310 arg3 = &temp3;
17311 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17312 }
17313 }
17314 if (obj3) {
17315 {
17316 arg4 = &temp4;
17317 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17318 }
17319 }
17320 if (obj4) {
17321 arg5 = (long) SWIG_AsLong(obj4);
17322 if (PyErr_Occurred()) SWIG_fail;
17323 }
17324 if (obj5) {
17325 {
17326 arg6 = wxString_in_helper(obj5);
17327 if (arg6 == NULL) SWIG_fail;
17328 temp6 = True;
17329 }
17330 }
17331 {
17332 PyThreadState* __tstate = wxPyBeginAllowThreads();
17333 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17334
17335 wxPyEndAllowThreads(__tstate);
17336 if (PyErr_Occurred()) SWIG_fail;
17337 }
17338 {
17339 resultobj = wxPyMake_wxObject(result);
17340 }
17341 {
17342 if (temp6)
17343 delete arg6;
17344 }
17345 return resultobj;
17346 fail:
17347 {
17348 if (temp6)
17349 delete arg6;
17350 }
17351 return NULL;
17352 }
17353
17354
17355 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17356 PyObject *resultobj;
17357 wxToolBar *result;
17358 char *kwnames[] = {
17359 NULL
17360 };
17361
17362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
17363 {
17364 PyThreadState* __tstate = wxPyBeginAllowThreads();
17365 result = (wxToolBar *)new wxToolBar();
17366
17367 wxPyEndAllowThreads(__tstate);
17368 if (PyErr_Occurred()) SWIG_fail;
17369 }
17370 {
17371 resultobj = wxPyMake_wxObject(result);
17372 }
17373 return resultobj;
17374 fail:
17375 return NULL;
17376 }
17377
17378
17379 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17380 PyObject *resultobj;
17381 wxToolBar *arg1 = (wxToolBar *) 0 ;
17382 wxWindow *arg2 = (wxWindow *) 0 ;
17383 int arg3 ;
17384 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17385 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17386 wxSize const &arg5_defvalue = wxDefaultSize ;
17387 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17388 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17389 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17390 wxString *arg7 = (wxString *) &arg7_defvalue ;
17391 bool result;
17392 wxPoint temp4 ;
17393 wxSize temp5 ;
17394 bool temp7 = False ;
17395 PyObject * obj0 = 0 ;
17396 PyObject * obj1 = 0 ;
17397 PyObject * obj2 = 0 ;
17398 PyObject * obj3 = 0 ;
17399 PyObject * obj4 = 0 ;
17400 PyObject * obj5 = 0 ;
17401 PyObject * obj6 = 0 ;
17402 char *kwnames[] = {
17403 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17404 };
17405
17406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17409 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17411 arg3 = (int) SWIG_AsInt(obj2);
17412 if (PyErr_Occurred()) SWIG_fail;
17413 if (obj3) {
17414 {
17415 arg4 = &temp4;
17416 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17417 }
17418 }
17419 if (obj4) {
17420 {
17421 arg5 = &temp5;
17422 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17423 }
17424 }
17425 if (obj5) {
17426 arg6 = (long) SWIG_AsLong(obj5);
17427 if (PyErr_Occurred()) SWIG_fail;
17428 }
17429 if (obj6) {
17430 {
17431 arg7 = wxString_in_helper(obj6);
17432 if (arg7 == NULL) SWIG_fail;
17433 temp7 = True;
17434 }
17435 }
17436 {
17437 PyThreadState* __tstate = wxPyBeginAllowThreads();
17438 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17439
17440 wxPyEndAllowThreads(__tstate);
17441 if (PyErr_Occurred()) SWIG_fail;
17442 }
17443 {
17444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17445 }
17446 {
17447 if (temp7)
17448 delete arg7;
17449 }
17450 return resultobj;
17451 fail:
17452 {
17453 if (temp7)
17454 delete arg7;
17455 }
17456 return NULL;
17457 }
17458
17459
17460 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17461 PyObject *resultobj;
17462 wxToolBar *arg1 = (wxToolBar *) 0 ;
17463 int arg2 ;
17464 int arg3 ;
17465 wxToolBarToolBase *result;
17466 PyObject * obj0 = 0 ;
17467 PyObject * obj1 = 0 ;
17468 PyObject * obj2 = 0 ;
17469 char *kwnames[] = {
17470 (char *) "self",(char *) "x",(char *) "y", NULL
17471 };
17472
17473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17476 arg2 = (int) SWIG_AsInt(obj1);
17477 if (PyErr_Occurred()) SWIG_fail;
17478 arg3 = (int) SWIG_AsInt(obj2);
17479 if (PyErr_Occurred()) SWIG_fail;
17480 {
17481 PyThreadState* __tstate = wxPyBeginAllowThreads();
17482 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17483
17484 wxPyEndAllowThreads(__tstate);
17485 if (PyErr_Occurred()) SWIG_fail;
17486 }
17487 {
17488 resultobj = wxPyMake_wxObject(result);
17489 }
17490 return resultobj;
17491 fail:
17492 return NULL;
17493 }
17494
17495
17496 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
17497 PyObject *obj;
17498 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17499 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17500 Py_INCREF(obj);
17501 return Py_BuildValue((char *)"");
17502 }
17503 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
17504 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17505 return 1;
17506 }
17507
17508
17509 static PyObject *_wrap_ListCtrlNameStr_get() {
17510 PyObject *pyobj;
17511
17512 {
17513 #if wxUSE_UNICODE
17514 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17515 #else
17516 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17517 #endif
17518 }
17519 return pyobj;
17520 }
17521
17522
17523 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
17524 PyObject *resultobj;
17525 wxColour const &arg1_defvalue = wxNullColour ;
17526 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17527 wxColour const &arg2_defvalue = wxNullColour ;
17528 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17529 wxFont const &arg3_defvalue = wxNullFont ;
17530 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17531 wxListItemAttr *result;
17532 wxColour temp1 ;
17533 wxColour temp2 ;
17534 PyObject * obj0 = 0 ;
17535 PyObject * obj1 = 0 ;
17536 PyObject * obj2 = 0 ;
17537 char *kwnames[] = {
17538 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17539 };
17540
17541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17542 if (obj0) {
17543 {
17544 arg1 = &temp1;
17545 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17546 }
17547 }
17548 if (obj1) {
17549 {
17550 arg2 = &temp2;
17551 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17552 }
17553 }
17554 if (obj2) {
17555 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
17556 SWIG_POINTER_EXCEPTION | 0)) == -1)
17557 SWIG_fail;
17558 if (arg3 == NULL) {
17559 PyErr_SetString(PyExc_TypeError,"null reference");
17560 SWIG_fail;
17561 }
17562 }
17563 {
17564 PyThreadState* __tstate = wxPyBeginAllowThreads();
17565 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17566
17567 wxPyEndAllowThreads(__tstate);
17568 if (PyErr_Occurred()) SWIG_fail;
17569 }
17570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
17571 return resultobj;
17572 fail:
17573 return NULL;
17574 }
17575
17576
17577 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17578 PyObject *resultobj;
17579 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17580 wxColour *arg2 = 0 ;
17581 wxColour temp2 ;
17582 PyObject * obj0 = 0 ;
17583 PyObject * obj1 = 0 ;
17584 char *kwnames[] = {
17585 (char *) "self",(char *) "colText", NULL
17586 };
17587
17588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17591 {
17592 arg2 = &temp2;
17593 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17594 }
17595 {
17596 PyThreadState* __tstate = wxPyBeginAllowThreads();
17597 (arg1)->SetTextColour((wxColour const &)*arg2);
17598
17599 wxPyEndAllowThreads(__tstate);
17600 if (PyErr_Occurred()) SWIG_fail;
17601 }
17602 Py_INCREF(Py_None); resultobj = Py_None;
17603 return resultobj;
17604 fail:
17605 return NULL;
17606 }
17607
17608
17609 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17610 PyObject *resultobj;
17611 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17612 wxColour *arg2 = 0 ;
17613 wxColour temp2 ;
17614 PyObject * obj0 = 0 ;
17615 PyObject * obj1 = 0 ;
17616 char *kwnames[] = {
17617 (char *) "self",(char *) "colBack", NULL
17618 };
17619
17620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17623 {
17624 arg2 = &temp2;
17625 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17626 }
17627 {
17628 PyThreadState* __tstate = wxPyBeginAllowThreads();
17629 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17630
17631 wxPyEndAllowThreads(__tstate);
17632 if (PyErr_Occurred()) SWIG_fail;
17633 }
17634 Py_INCREF(Py_None); resultobj = Py_None;
17635 return resultobj;
17636 fail:
17637 return NULL;
17638 }
17639
17640
17641 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17642 PyObject *resultobj;
17643 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17644 wxFont *arg2 = 0 ;
17645 PyObject * obj0 = 0 ;
17646 PyObject * obj1 = 0 ;
17647 char *kwnames[] = {
17648 (char *) "self",(char *) "font", NULL
17649 };
17650
17651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
17652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17654 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17655 SWIG_POINTER_EXCEPTION | 0)) == -1)
17656 SWIG_fail;
17657 if (arg2 == NULL) {
17658 PyErr_SetString(PyExc_TypeError,"null reference");
17659 SWIG_fail;
17660 }
17661 {
17662 PyThreadState* __tstate = wxPyBeginAllowThreads();
17663 (arg1)->SetFont((wxFont const &)*arg2);
17664
17665 wxPyEndAllowThreads(__tstate);
17666 if (PyErr_Occurred()) SWIG_fail;
17667 }
17668 Py_INCREF(Py_None); resultobj = Py_None;
17669 return resultobj;
17670 fail:
17671 return NULL;
17672 }
17673
17674
17675 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17676 PyObject *resultobj;
17677 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17678 bool result;
17679 PyObject * obj0 = 0 ;
17680 char *kwnames[] = {
17681 (char *) "self", NULL
17682 };
17683
17684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
17685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17687 {
17688 PyThreadState* __tstate = wxPyBeginAllowThreads();
17689 result = (bool)(arg1)->HasTextColour();
17690
17691 wxPyEndAllowThreads(__tstate);
17692 if (PyErr_Occurred()) SWIG_fail;
17693 }
17694 {
17695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17696 }
17697 return resultobj;
17698 fail:
17699 return NULL;
17700 }
17701
17702
17703 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17704 PyObject *resultobj;
17705 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17706 bool result;
17707 PyObject * obj0 = 0 ;
17708 char *kwnames[] = {
17709 (char *) "self", NULL
17710 };
17711
17712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
17713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17715 {
17716 PyThreadState* __tstate = wxPyBeginAllowThreads();
17717 result = (bool)(arg1)->HasBackgroundColour();
17718
17719 wxPyEndAllowThreads(__tstate);
17720 if (PyErr_Occurred()) SWIG_fail;
17721 }
17722 {
17723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17724 }
17725 return resultobj;
17726 fail:
17727 return NULL;
17728 }
17729
17730
17731 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17732 PyObject *resultobj;
17733 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17734 bool result;
17735 PyObject * obj0 = 0 ;
17736 char *kwnames[] = {
17737 (char *) "self", NULL
17738 };
17739
17740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
17741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17743 {
17744 PyThreadState* __tstate = wxPyBeginAllowThreads();
17745 result = (bool)(arg1)->HasFont();
17746
17747 wxPyEndAllowThreads(__tstate);
17748 if (PyErr_Occurred()) SWIG_fail;
17749 }
17750 {
17751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17752 }
17753 return resultobj;
17754 fail:
17755 return NULL;
17756 }
17757
17758
17759 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17760 PyObject *resultobj;
17761 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17762 wxColour result;
17763 PyObject * obj0 = 0 ;
17764 char *kwnames[] = {
17765 (char *) "self", NULL
17766 };
17767
17768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
17769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17771 {
17772 PyThreadState* __tstate = wxPyBeginAllowThreads();
17773 result = (arg1)->GetTextColour();
17774
17775 wxPyEndAllowThreads(__tstate);
17776 if (PyErr_Occurred()) SWIG_fail;
17777 }
17778 {
17779 wxColour * resultptr;
17780 resultptr = new wxColour((wxColour &) result);
17781 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17782 }
17783 return resultobj;
17784 fail:
17785 return NULL;
17786 }
17787
17788
17789 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17790 PyObject *resultobj;
17791 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17792 wxColour result;
17793 PyObject * obj0 = 0 ;
17794 char *kwnames[] = {
17795 (char *) "self", NULL
17796 };
17797
17798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
17799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17801 {
17802 PyThreadState* __tstate = wxPyBeginAllowThreads();
17803 result = (arg1)->GetBackgroundColour();
17804
17805 wxPyEndAllowThreads(__tstate);
17806 if (PyErr_Occurred()) SWIG_fail;
17807 }
17808 {
17809 wxColour * resultptr;
17810 resultptr = new wxColour((wxColour &) result);
17811 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17812 }
17813 return resultobj;
17814 fail:
17815 return NULL;
17816 }
17817
17818
17819 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17820 PyObject *resultobj;
17821 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17822 wxFont result;
17823 PyObject * obj0 = 0 ;
17824 char *kwnames[] = {
17825 (char *) "self", NULL
17826 };
17827
17828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
17829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17831 {
17832 PyThreadState* __tstate = wxPyBeginAllowThreads();
17833 result = (arg1)->GetFont();
17834
17835 wxPyEndAllowThreads(__tstate);
17836 if (PyErr_Occurred()) SWIG_fail;
17837 }
17838 {
17839 wxFont * resultptr;
17840 resultptr = new wxFont((wxFont &) result);
17841 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
17842 }
17843 return resultobj;
17844 fail:
17845 return NULL;
17846 }
17847
17848
17849 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
17850 PyObject *resultobj;
17851 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17852 PyObject * obj0 = 0 ;
17853 char *kwnames[] = {
17854 (char *) "self", NULL
17855 };
17856
17857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
17858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17860 {
17861 PyThreadState* __tstate = wxPyBeginAllowThreads();
17862 wxListItemAttr_Destroy(arg1);
17863
17864 wxPyEndAllowThreads(__tstate);
17865 if (PyErr_Occurred()) SWIG_fail;
17866 }
17867 Py_INCREF(Py_None); resultobj = Py_None;
17868 return resultobj;
17869 fail:
17870 return NULL;
17871 }
17872
17873
17874 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
17875 PyObject *obj;
17876 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17877 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
17878 Py_INCREF(obj);
17879 return Py_BuildValue((char *)"");
17880 }
17881 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17882 PyObject *resultobj;
17883 wxListItem *result;
17884 char *kwnames[] = {
17885 NULL
17886 };
17887
17888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
17889 {
17890 PyThreadState* __tstate = wxPyBeginAllowThreads();
17891 result = (wxListItem *)new wxListItem();
17892
17893 wxPyEndAllowThreads(__tstate);
17894 if (PyErr_Occurred()) SWIG_fail;
17895 }
17896 {
17897 resultobj = wxPyMake_wxObject(result);
17898 }
17899 return resultobj;
17900 fail:
17901 return NULL;
17902 }
17903
17904
17905 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17906 PyObject *resultobj;
17907 wxListItem *arg1 = (wxListItem *) 0 ;
17908 PyObject * obj0 = 0 ;
17909 char *kwnames[] = {
17910 (char *) "self", NULL
17911 };
17912
17913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
17914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17916 {
17917 PyThreadState* __tstate = wxPyBeginAllowThreads();
17918 delete arg1;
17919
17920 wxPyEndAllowThreads(__tstate);
17921 if (PyErr_Occurred()) SWIG_fail;
17922 }
17923 Py_INCREF(Py_None); resultobj = Py_None;
17924 return resultobj;
17925 fail:
17926 return NULL;
17927 }
17928
17929
17930 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
17931 PyObject *resultobj;
17932 wxListItem *arg1 = (wxListItem *) 0 ;
17933 PyObject * obj0 = 0 ;
17934 char *kwnames[] = {
17935 (char *) "self", NULL
17936 };
17937
17938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
17939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17941 {
17942 PyThreadState* __tstate = wxPyBeginAllowThreads();
17943 (arg1)->Clear();
17944
17945 wxPyEndAllowThreads(__tstate);
17946 if (PyErr_Occurred()) SWIG_fail;
17947 }
17948 Py_INCREF(Py_None); resultobj = Py_None;
17949 return resultobj;
17950 fail:
17951 return NULL;
17952 }
17953
17954
17955 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17956 PyObject *resultobj;
17957 wxListItem *arg1 = (wxListItem *) 0 ;
17958 PyObject * obj0 = 0 ;
17959 char *kwnames[] = {
17960 (char *) "self", NULL
17961 };
17962
17963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
17964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17966 {
17967 PyThreadState* __tstate = wxPyBeginAllowThreads();
17968 (arg1)->ClearAttributes();
17969
17970 wxPyEndAllowThreads(__tstate);
17971 if (PyErr_Occurred()) SWIG_fail;
17972 }
17973 Py_INCREF(Py_None); resultobj = Py_None;
17974 return resultobj;
17975 fail:
17976 return NULL;
17977 }
17978
17979
17980 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17981 PyObject *resultobj;
17982 wxListItem *arg1 = (wxListItem *) 0 ;
17983 long arg2 ;
17984 PyObject * obj0 = 0 ;
17985 PyObject * obj1 = 0 ;
17986 char *kwnames[] = {
17987 (char *) "self",(char *) "mask", NULL
17988 };
17989
17990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
17991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17993 arg2 = (long) SWIG_AsLong(obj1);
17994 if (PyErr_Occurred()) SWIG_fail;
17995 {
17996 PyThreadState* __tstate = wxPyBeginAllowThreads();
17997 (arg1)->SetMask(arg2);
17998
17999 wxPyEndAllowThreads(__tstate);
18000 if (PyErr_Occurred()) SWIG_fail;
18001 }
18002 Py_INCREF(Py_None); resultobj = Py_None;
18003 return resultobj;
18004 fail:
18005 return NULL;
18006 }
18007
18008
18009 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18010 PyObject *resultobj;
18011 wxListItem *arg1 = (wxListItem *) 0 ;
18012 long arg2 ;
18013 PyObject * obj0 = 0 ;
18014 PyObject * obj1 = 0 ;
18015 char *kwnames[] = {
18016 (char *) "self",(char *) "id", NULL
18017 };
18018
18019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
18020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18022 arg2 = (long) SWIG_AsLong(obj1);
18023 if (PyErr_Occurred()) SWIG_fail;
18024 {
18025 PyThreadState* __tstate = wxPyBeginAllowThreads();
18026 (arg1)->SetId(arg2);
18027
18028 wxPyEndAllowThreads(__tstate);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 }
18031 Py_INCREF(Py_None); resultobj = Py_None;
18032 return resultobj;
18033 fail:
18034 return NULL;
18035 }
18036
18037
18038 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18039 PyObject *resultobj;
18040 wxListItem *arg1 = (wxListItem *) 0 ;
18041 int arg2 ;
18042 PyObject * obj0 = 0 ;
18043 PyObject * obj1 = 0 ;
18044 char *kwnames[] = {
18045 (char *) "self",(char *) "col", NULL
18046 };
18047
18048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
18049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18051 arg2 = (int) SWIG_AsInt(obj1);
18052 if (PyErr_Occurred()) SWIG_fail;
18053 {
18054 PyThreadState* __tstate = wxPyBeginAllowThreads();
18055 (arg1)->SetColumn(arg2);
18056
18057 wxPyEndAllowThreads(__tstate);
18058 if (PyErr_Occurred()) SWIG_fail;
18059 }
18060 Py_INCREF(Py_None); resultobj = Py_None;
18061 return resultobj;
18062 fail:
18063 return NULL;
18064 }
18065
18066
18067 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18068 PyObject *resultobj;
18069 wxListItem *arg1 = (wxListItem *) 0 ;
18070 long arg2 ;
18071 PyObject * obj0 = 0 ;
18072 PyObject * obj1 = 0 ;
18073 char *kwnames[] = {
18074 (char *) "self",(char *) "state", NULL
18075 };
18076
18077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
18078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18080 arg2 = (long) SWIG_AsLong(obj1);
18081 if (PyErr_Occurred()) SWIG_fail;
18082 {
18083 PyThreadState* __tstate = wxPyBeginAllowThreads();
18084 (arg1)->SetState(arg2);
18085
18086 wxPyEndAllowThreads(__tstate);
18087 if (PyErr_Occurred()) SWIG_fail;
18088 }
18089 Py_INCREF(Py_None); resultobj = Py_None;
18090 return resultobj;
18091 fail:
18092 return NULL;
18093 }
18094
18095
18096 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18097 PyObject *resultobj;
18098 wxListItem *arg1 = (wxListItem *) 0 ;
18099 long arg2 ;
18100 PyObject * obj0 = 0 ;
18101 PyObject * obj1 = 0 ;
18102 char *kwnames[] = {
18103 (char *) "self",(char *) "stateMask", NULL
18104 };
18105
18106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
18107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18109 arg2 = (long) SWIG_AsLong(obj1);
18110 if (PyErr_Occurred()) SWIG_fail;
18111 {
18112 PyThreadState* __tstate = wxPyBeginAllowThreads();
18113 (arg1)->SetStateMask(arg2);
18114
18115 wxPyEndAllowThreads(__tstate);
18116 if (PyErr_Occurred()) SWIG_fail;
18117 }
18118 Py_INCREF(Py_None); resultobj = Py_None;
18119 return resultobj;
18120 fail:
18121 return NULL;
18122 }
18123
18124
18125 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18126 PyObject *resultobj;
18127 wxListItem *arg1 = (wxListItem *) 0 ;
18128 wxString *arg2 = 0 ;
18129 bool temp2 = False ;
18130 PyObject * obj0 = 0 ;
18131 PyObject * obj1 = 0 ;
18132 char *kwnames[] = {
18133 (char *) "self",(char *) "text", NULL
18134 };
18135
18136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
18137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18139 {
18140 arg2 = wxString_in_helper(obj1);
18141 if (arg2 == NULL) SWIG_fail;
18142 temp2 = True;
18143 }
18144 {
18145 PyThreadState* __tstate = wxPyBeginAllowThreads();
18146 (arg1)->SetText((wxString const &)*arg2);
18147
18148 wxPyEndAllowThreads(__tstate);
18149 if (PyErr_Occurred()) SWIG_fail;
18150 }
18151 Py_INCREF(Py_None); resultobj = Py_None;
18152 {
18153 if (temp2)
18154 delete arg2;
18155 }
18156 return resultobj;
18157 fail:
18158 {
18159 if (temp2)
18160 delete arg2;
18161 }
18162 return NULL;
18163 }
18164
18165
18166 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18167 PyObject *resultobj;
18168 wxListItem *arg1 = (wxListItem *) 0 ;
18169 int arg2 ;
18170 PyObject * obj0 = 0 ;
18171 PyObject * obj1 = 0 ;
18172 char *kwnames[] = {
18173 (char *) "self",(char *) "image", NULL
18174 };
18175
18176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
18177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18179 arg2 = (int) SWIG_AsInt(obj1);
18180 if (PyErr_Occurred()) SWIG_fail;
18181 {
18182 PyThreadState* __tstate = wxPyBeginAllowThreads();
18183 (arg1)->SetImage(arg2);
18184
18185 wxPyEndAllowThreads(__tstate);
18186 if (PyErr_Occurred()) SWIG_fail;
18187 }
18188 Py_INCREF(Py_None); resultobj = Py_None;
18189 return resultobj;
18190 fail:
18191 return NULL;
18192 }
18193
18194
18195 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18196 PyObject *resultobj;
18197 wxListItem *arg1 = (wxListItem *) 0 ;
18198 long arg2 ;
18199 PyObject * obj0 = 0 ;
18200 PyObject * obj1 = 0 ;
18201 char *kwnames[] = {
18202 (char *) "self",(char *) "data", NULL
18203 };
18204
18205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
18206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18208 arg2 = (long) SWIG_AsLong(obj1);
18209 if (PyErr_Occurred()) SWIG_fail;
18210 {
18211 PyThreadState* __tstate = wxPyBeginAllowThreads();
18212 (arg1)->SetData(arg2);
18213
18214 wxPyEndAllowThreads(__tstate);
18215 if (PyErr_Occurred()) SWIG_fail;
18216 }
18217 Py_INCREF(Py_None); resultobj = Py_None;
18218 return resultobj;
18219 fail:
18220 return NULL;
18221 }
18222
18223
18224 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18225 PyObject *resultobj;
18226 wxListItem *arg1 = (wxListItem *) 0 ;
18227 int arg2 ;
18228 PyObject * obj0 = 0 ;
18229 PyObject * obj1 = 0 ;
18230 char *kwnames[] = {
18231 (char *) "self",(char *) "width", NULL
18232 };
18233
18234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
18235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18237 arg2 = (int) SWIG_AsInt(obj1);
18238 if (PyErr_Occurred()) SWIG_fail;
18239 {
18240 PyThreadState* __tstate = wxPyBeginAllowThreads();
18241 (arg1)->SetWidth(arg2);
18242
18243 wxPyEndAllowThreads(__tstate);
18244 if (PyErr_Occurred()) SWIG_fail;
18245 }
18246 Py_INCREF(Py_None); resultobj = Py_None;
18247 return resultobj;
18248 fail:
18249 return NULL;
18250 }
18251
18252
18253 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18254 PyObject *resultobj;
18255 wxListItem *arg1 = (wxListItem *) 0 ;
18256 int arg2 ;
18257 PyObject * obj0 = 0 ;
18258 PyObject * obj1 = 0 ;
18259 char *kwnames[] = {
18260 (char *) "self",(char *) "align", NULL
18261 };
18262
18263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
18264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18266 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
18267 if (PyErr_Occurred()) SWIG_fail;
18268 {
18269 PyThreadState* __tstate = wxPyBeginAllowThreads();
18270 (arg1)->SetAlign((wxListColumnFormat )arg2);
18271
18272 wxPyEndAllowThreads(__tstate);
18273 if (PyErr_Occurred()) SWIG_fail;
18274 }
18275 Py_INCREF(Py_None); resultobj = Py_None;
18276 return resultobj;
18277 fail:
18278 return NULL;
18279 }
18280
18281
18282 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18283 PyObject *resultobj;
18284 wxListItem *arg1 = (wxListItem *) 0 ;
18285 wxColour *arg2 = 0 ;
18286 wxColour temp2 ;
18287 PyObject * obj0 = 0 ;
18288 PyObject * obj1 = 0 ;
18289 char *kwnames[] = {
18290 (char *) "self",(char *) "colText", NULL
18291 };
18292
18293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18296 {
18297 arg2 = &temp2;
18298 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18299 }
18300 {
18301 PyThreadState* __tstate = wxPyBeginAllowThreads();
18302 (arg1)->SetTextColour((wxColour const &)*arg2);
18303
18304 wxPyEndAllowThreads(__tstate);
18305 if (PyErr_Occurred()) SWIG_fail;
18306 }
18307 Py_INCREF(Py_None); resultobj = Py_None;
18308 return resultobj;
18309 fail:
18310 return NULL;
18311 }
18312
18313
18314 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18315 PyObject *resultobj;
18316 wxListItem *arg1 = (wxListItem *) 0 ;
18317 wxColour *arg2 = 0 ;
18318 wxColour temp2 ;
18319 PyObject * obj0 = 0 ;
18320 PyObject * obj1 = 0 ;
18321 char *kwnames[] = {
18322 (char *) "self",(char *) "colBack", NULL
18323 };
18324
18325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18328 {
18329 arg2 = &temp2;
18330 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18331 }
18332 {
18333 PyThreadState* __tstate = wxPyBeginAllowThreads();
18334 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18335
18336 wxPyEndAllowThreads(__tstate);
18337 if (PyErr_Occurred()) SWIG_fail;
18338 }
18339 Py_INCREF(Py_None); resultobj = Py_None;
18340 return resultobj;
18341 fail:
18342 return NULL;
18343 }
18344
18345
18346 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18347 PyObject *resultobj;
18348 wxListItem *arg1 = (wxListItem *) 0 ;
18349 wxFont *arg2 = 0 ;
18350 PyObject * obj0 = 0 ;
18351 PyObject * obj1 = 0 ;
18352 char *kwnames[] = {
18353 (char *) "self",(char *) "font", NULL
18354 };
18355
18356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
18357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18359 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18360 SWIG_POINTER_EXCEPTION | 0)) == -1)
18361 SWIG_fail;
18362 if (arg2 == NULL) {
18363 PyErr_SetString(PyExc_TypeError,"null reference");
18364 SWIG_fail;
18365 }
18366 {
18367 PyThreadState* __tstate = wxPyBeginAllowThreads();
18368 (arg1)->SetFont((wxFont const &)*arg2);
18369
18370 wxPyEndAllowThreads(__tstate);
18371 if (PyErr_Occurred()) SWIG_fail;
18372 }
18373 Py_INCREF(Py_None); resultobj = Py_None;
18374 return resultobj;
18375 fail:
18376 return NULL;
18377 }
18378
18379
18380 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18381 PyObject *resultobj;
18382 wxListItem *arg1 = (wxListItem *) 0 ;
18383 long result;
18384 PyObject * obj0 = 0 ;
18385 char *kwnames[] = {
18386 (char *) "self", NULL
18387 };
18388
18389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
18390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18392 {
18393 PyThreadState* __tstate = wxPyBeginAllowThreads();
18394 result = (long)(arg1)->GetMask();
18395
18396 wxPyEndAllowThreads(__tstate);
18397 if (PyErr_Occurred()) SWIG_fail;
18398 }
18399 resultobj = SWIG_FromLong((long)result);
18400 return resultobj;
18401 fail:
18402 return NULL;
18403 }
18404
18405
18406 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18407 PyObject *resultobj;
18408 wxListItem *arg1 = (wxListItem *) 0 ;
18409 long result;
18410 PyObject * obj0 = 0 ;
18411 char *kwnames[] = {
18412 (char *) "self", NULL
18413 };
18414
18415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
18416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18418 {
18419 PyThreadState* __tstate = wxPyBeginAllowThreads();
18420 result = (long)(arg1)->GetId();
18421
18422 wxPyEndAllowThreads(__tstate);
18423 if (PyErr_Occurred()) SWIG_fail;
18424 }
18425 resultobj = SWIG_FromLong((long)result);
18426 return resultobj;
18427 fail:
18428 return NULL;
18429 }
18430
18431
18432 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18433 PyObject *resultobj;
18434 wxListItem *arg1 = (wxListItem *) 0 ;
18435 int result;
18436 PyObject * obj0 = 0 ;
18437 char *kwnames[] = {
18438 (char *) "self", NULL
18439 };
18440
18441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
18442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18444 {
18445 PyThreadState* __tstate = wxPyBeginAllowThreads();
18446 result = (int)(arg1)->GetColumn();
18447
18448 wxPyEndAllowThreads(__tstate);
18449 if (PyErr_Occurred()) SWIG_fail;
18450 }
18451 resultobj = SWIG_FromInt((int)result);
18452 return resultobj;
18453 fail:
18454 return NULL;
18455 }
18456
18457
18458 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18459 PyObject *resultobj;
18460 wxListItem *arg1 = (wxListItem *) 0 ;
18461 long result;
18462 PyObject * obj0 = 0 ;
18463 char *kwnames[] = {
18464 (char *) "self", NULL
18465 };
18466
18467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
18468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18470 {
18471 PyThreadState* __tstate = wxPyBeginAllowThreads();
18472 result = (long)(arg1)->GetState();
18473
18474 wxPyEndAllowThreads(__tstate);
18475 if (PyErr_Occurred()) SWIG_fail;
18476 }
18477 resultobj = SWIG_FromLong((long)result);
18478 return resultobj;
18479 fail:
18480 return NULL;
18481 }
18482
18483
18484 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18485 PyObject *resultobj;
18486 wxListItem *arg1 = (wxListItem *) 0 ;
18487 wxString *result;
18488 PyObject * obj0 = 0 ;
18489 char *kwnames[] = {
18490 (char *) "self", NULL
18491 };
18492
18493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
18494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18496 {
18497 PyThreadState* __tstate = wxPyBeginAllowThreads();
18498 {
18499 wxString const &_result_ref = (arg1)->GetText();
18500 result = (wxString *) &_result_ref;
18501 }
18502
18503 wxPyEndAllowThreads(__tstate);
18504 if (PyErr_Occurred()) SWIG_fail;
18505 }
18506 {
18507 #if wxUSE_UNICODE
18508 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18509 #else
18510 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18511 #endif
18512 }
18513 return resultobj;
18514 fail:
18515 return NULL;
18516 }
18517
18518
18519 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18520 PyObject *resultobj;
18521 wxListItem *arg1 = (wxListItem *) 0 ;
18522 int result;
18523 PyObject * obj0 = 0 ;
18524 char *kwnames[] = {
18525 (char *) "self", NULL
18526 };
18527
18528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
18529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18531 {
18532 PyThreadState* __tstate = wxPyBeginAllowThreads();
18533 result = (int)(arg1)->GetImage();
18534
18535 wxPyEndAllowThreads(__tstate);
18536 if (PyErr_Occurred()) SWIG_fail;
18537 }
18538 resultobj = SWIG_FromInt((int)result);
18539 return resultobj;
18540 fail:
18541 return NULL;
18542 }
18543
18544
18545 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18546 PyObject *resultobj;
18547 wxListItem *arg1 = (wxListItem *) 0 ;
18548 long result;
18549 PyObject * obj0 = 0 ;
18550 char *kwnames[] = {
18551 (char *) "self", NULL
18552 };
18553
18554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
18555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18557 {
18558 PyThreadState* __tstate = wxPyBeginAllowThreads();
18559 result = (long)(arg1)->GetData();
18560
18561 wxPyEndAllowThreads(__tstate);
18562 if (PyErr_Occurred()) SWIG_fail;
18563 }
18564 resultobj = SWIG_FromLong((long)result);
18565 return resultobj;
18566 fail:
18567 return NULL;
18568 }
18569
18570
18571 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18572 PyObject *resultobj;
18573 wxListItem *arg1 = (wxListItem *) 0 ;
18574 int result;
18575 PyObject * obj0 = 0 ;
18576 char *kwnames[] = {
18577 (char *) "self", NULL
18578 };
18579
18580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
18581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18583 {
18584 PyThreadState* __tstate = wxPyBeginAllowThreads();
18585 result = (int)(arg1)->GetWidth();
18586
18587 wxPyEndAllowThreads(__tstate);
18588 if (PyErr_Occurred()) SWIG_fail;
18589 }
18590 resultobj = SWIG_FromInt((int)result);
18591 return resultobj;
18592 fail:
18593 return NULL;
18594 }
18595
18596
18597 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18598 PyObject *resultobj;
18599 wxListItem *arg1 = (wxListItem *) 0 ;
18600 int result;
18601 PyObject * obj0 = 0 ;
18602 char *kwnames[] = {
18603 (char *) "self", NULL
18604 };
18605
18606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
18607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18609 {
18610 PyThreadState* __tstate = wxPyBeginAllowThreads();
18611 result = (int)(arg1)->GetAlign();
18612
18613 wxPyEndAllowThreads(__tstate);
18614 if (PyErr_Occurred()) SWIG_fail;
18615 }
18616 resultobj = SWIG_FromInt((int)result);
18617 return resultobj;
18618 fail:
18619 return NULL;
18620 }
18621
18622
18623 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18624 PyObject *resultobj;
18625 wxListItem *arg1 = (wxListItem *) 0 ;
18626 wxListItemAttr *result;
18627 PyObject * obj0 = 0 ;
18628 char *kwnames[] = {
18629 (char *) "self", NULL
18630 };
18631
18632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
18633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18635 {
18636 PyThreadState* __tstate = wxPyBeginAllowThreads();
18637 result = (wxListItemAttr *)(arg1)->GetAttributes();
18638
18639 wxPyEndAllowThreads(__tstate);
18640 if (PyErr_Occurred()) SWIG_fail;
18641 }
18642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
18643 return resultobj;
18644 fail:
18645 return NULL;
18646 }
18647
18648
18649 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18650 PyObject *resultobj;
18651 wxListItem *arg1 = (wxListItem *) 0 ;
18652 bool result;
18653 PyObject * obj0 = 0 ;
18654 char *kwnames[] = {
18655 (char *) "self", NULL
18656 };
18657
18658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
18659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18661 {
18662 PyThreadState* __tstate = wxPyBeginAllowThreads();
18663 result = (bool)(arg1)->HasAttributes();
18664
18665 wxPyEndAllowThreads(__tstate);
18666 if (PyErr_Occurred()) SWIG_fail;
18667 }
18668 {
18669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18670 }
18671 return resultobj;
18672 fail:
18673 return NULL;
18674 }
18675
18676
18677 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18678 PyObject *resultobj;
18679 wxListItem *arg1 = (wxListItem *) 0 ;
18680 wxColour result;
18681 PyObject * obj0 = 0 ;
18682 char *kwnames[] = {
18683 (char *) "self", NULL
18684 };
18685
18686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
18687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18689 {
18690 PyThreadState* __tstate = wxPyBeginAllowThreads();
18691 result = ((wxListItem const *)arg1)->GetTextColour();
18692
18693 wxPyEndAllowThreads(__tstate);
18694 if (PyErr_Occurred()) SWIG_fail;
18695 }
18696 {
18697 wxColour * resultptr;
18698 resultptr = new wxColour((wxColour &) result);
18699 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18700 }
18701 return resultobj;
18702 fail:
18703 return NULL;
18704 }
18705
18706
18707 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18708 PyObject *resultobj;
18709 wxListItem *arg1 = (wxListItem *) 0 ;
18710 wxColour result;
18711 PyObject * obj0 = 0 ;
18712 char *kwnames[] = {
18713 (char *) "self", NULL
18714 };
18715
18716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
18717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18719 {
18720 PyThreadState* __tstate = wxPyBeginAllowThreads();
18721 result = ((wxListItem const *)arg1)->GetBackgroundColour();
18722
18723 wxPyEndAllowThreads(__tstate);
18724 if (PyErr_Occurred()) SWIG_fail;
18725 }
18726 {
18727 wxColour * resultptr;
18728 resultptr = new wxColour((wxColour &) result);
18729 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18730 }
18731 return resultobj;
18732 fail:
18733 return NULL;
18734 }
18735
18736
18737 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18738 PyObject *resultobj;
18739 wxListItem *arg1 = (wxListItem *) 0 ;
18740 wxFont result;
18741 PyObject * obj0 = 0 ;
18742 char *kwnames[] = {
18743 (char *) "self", NULL
18744 };
18745
18746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
18747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18749 {
18750 PyThreadState* __tstate = wxPyBeginAllowThreads();
18751 result = ((wxListItem const *)arg1)->GetFont();
18752
18753 wxPyEndAllowThreads(__tstate);
18754 if (PyErr_Occurred()) SWIG_fail;
18755 }
18756 {
18757 wxFont * resultptr;
18758 resultptr = new wxFont((wxFont &) result);
18759 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
18760 }
18761 return resultobj;
18762 fail:
18763 return NULL;
18764 }
18765
18766
18767 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18768 PyObject *resultobj;
18769 wxListItem *arg1 = (wxListItem *) 0 ;
18770 long arg2 ;
18771 PyObject * obj0 = 0 ;
18772 PyObject * obj1 = 0 ;
18773 char *kwnames[] = {
18774 (char *) "self",(char *) "m_mask", NULL
18775 };
18776
18777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
18778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18780 arg2 = (long) SWIG_AsLong(obj1);
18781 if (PyErr_Occurred()) SWIG_fail;
18782 if (arg1) (arg1)->m_mask = arg2;
18783
18784 Py_INCREF(Py_None); resultobj = Py_None;
18785 return resultobj;
18786 fail:
18787 return NULL;
18788 }
18789
18790
18791 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18792 PyObject *resultobj;
18793 wxListItem *arg1 = (wxListItem *) 0 ;
18794 long result;
18795 PyObject * obj0 = 0 ;
18796 char *kwnames[] = {
18797 (char *) "self", NULL
18798 };
18799
18800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
18801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18803 result = (long) ((arg1)->m_mask);
18804
18805 resultobj = SWIG_FromLong((long)result);
18806 return resultobj;
18807 fail:
18808 return NULL;
18809 }
18810
18811
18812 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18813 PyObject *resultobj;
18814 wxListItem *arg1 = (wxListItem *) 0 ;
18815 long arg2 ;
18816 PyObject * obj0 = 0 ;
18817 PyObject * obj1 = 0 ;
18818 char *kwnames[] = {
18819 (char *) "self",(char *) "m_itemId", NULL
18820 };
18821
18822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
18823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18825 arg2 = (long) SWIG_AsLong(obj1);
18826 if (PyErr_Occurred()) SWIG_fail;
18827 if (arg1) (arg1)->m_itemId = arg2;
18828
18829 Py_INCREF(Py_None); resultobj = Py_None;
18830 return resultobj;
18831 fail:
18832 return NULL;
18833 }
18834
18835
18836 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18837 PyObject *resultobj;
18838 wxListItem *arg1 = (wxListItem *) 0 ;
18839 long result;
18840 PyObject * obj0 = 0 ;
18841 char *kwnames[] = {
18842 (char *) "self", NULL
18843 };
18844
18845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
18846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18848 result = (long) ((arg1)->m_itemId);
18849
18850 resultobj = SWIG_FromLong((long)result);
18851 return resultobj;
18852 fail:
18853 return NULL;
18854 }
18855
18856
18857 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18858 PyObject *resultobj;
18859 wxListItem *arg1 = (wxListItem *) 0 ;
18860 int arg2 ;
18861 PyObject * obj0 = 0 ;
18862 PyObject * obj1 = 0 ;
18863 char *kwnames[] = {
18864 (char *) "self",(char *) "m_col", NULL
18865 };
18866
18867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
18868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18870 arg2 = (int) SWIG_AsInt(obj1);
18871 if (PyErr_Occurred()) SWIG_fail;
18872 if (arg1) (arg1)->m_col = arg2;
18873
18874 Py_INCREF(Py_None); resultobj = Py_None;
18875 return resultobj;
18876 fail:
18877 return NULL;
18878 }
18879
18880
18881 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18882 PyObject *resultobj;
18883 wxListItem *arg1 = (wxListItem *) 0 ;
18884 int result;
18885 PyObject * obj0 = 0 ;
18886 char *kwnames[] = {
18887 (char *) "self", NULL
18888 };
18889
18890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
18891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18893 result = (int) ((arg1)->m_col);
18894
18895 resultobj = SWIG_FromInt((int)result);
18896 return resultobj;
18897 fail:
18898 return NULL;
18899 }
18900
18901
18902 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18903 PyObject *resultobj;
18904 wxListItem *arg1 = (wxListItem *) 0 ;
18905 long arg2 ;
18906 PyObject * obj0 = 0 ;
18907 PyObject * obj1 = 0 ;
18908 char *kwnames[] = {
18909 (char *) "self",(char *) "m_state", NULL
18910 };
18911
18912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
18913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18915 arg2 = (long) SWIG_AsLong(obj1);
18916 if (PyErr_Occurred()) SWIG_fail;
18917 if (arg1) (arg1)->m_state = arg2;
18918
18919 Py_INCREF(Py_None); resultobj = Py_None;
18920 return resultobj;
18921 fail:
18922 return NULL;
18923 }
18924
18925
18926 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18927 PyObject *resultobj;
18928 wxListItem *arg1 = (wxListItem *) 0 ;
18929 long result;
18930 PyObject * obj0 = 0 ;
18931 char *kwnames[] = {
18932 (char *) "self", NULL
18933 };
18934
18935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
18936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18938 result = (long) ((arg1)->m_state);
18939
18940 resultobj = SWIG_FromLong((long)result);
18941 return resultobj;
18942 fail:
18943 return NULL;
18944 }
18945
18946
18947 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18948 PyObject *resultobj;
18949 wxListItem *arg1 = (wxListItem *) 0 ;
18950 long arg2 ;
18951 PyObject * obj0 = 0 ;
18952 PyObject * obj1 = 0 ;
18953 char *kwnames[] = {
18954 (char *) "self",(char *) "m_stateMask", NULL
18955 };
18956
18957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
18958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18960 arg2 = (long) SWIG_AsLong(obj1);
18961 if (PyErr_Occurred()) SWIG_fail;
18962 if (arg1) (arg1)->m_stateMask = arg2;
18963
18964 Py_INCREF(Py_None); resultobj = Py_None;
18965 return resultobj;
18966 fail:
18967 return NULL;
18968 }
18969
18970
18971 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18972 PyObject *resultobj;
18973 wxListItem *arg1 = (wxListItem *) 0 ;
18974 long result;
18975 PyObject * obj0 = 0 ;
18976 char *kwnames[] = {
18977 (char *) "self", NULL
18978 };
18979
18980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
18981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18983 result = (long) ((arg1)->m_stateMask);
18984
18985 resultobj = SWIG_FromLong((long)result);
18986 return resultobj;
18987 fail:
18988 return NULL;
18989 }
18990
18991
18992 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18993 PyObject *resultobj;
18994 wxListItem *arg1 = (wxListItem *) 0 ;
18995 wxString *arg2 = (wxString *) 0 ;
18996 bool temp2 = False ;
18997 PyObject * obj0 = 0 ;
18998 PyObject * obj1 = 0 ;
18999 char *kwnames[] = {
19000 (char *) "self",(char *) "m_text", NULL
19001 };
19002
19003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
19004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19006 {
19007 arg2 = wxString_in_helper(obj1);
19008 if (arg2 == NULL) SWIG_fail;
19009 temp2 = True;
19010 }
19011 if (arg1) (arg1)->m_text = *arg2;
19012
19013 Py_INCREF(Py_None); resultobj = Py_None;
19014 {
19015 if (temp2)
19016 delete arg2;
19017 }
19018 return resultobj;
19019 fail:
19020 {
19021 if (temp2)
19022 delete arg2;
19023 }
19024 return NULL;
19025 }
19026
19027
19028 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19029 PyObject *resultobj;
19030 wxListItem *arg1 = (wxListItem *) 0 ;
19031 wxString *result;
19032 PyObject * obj0 = 0 ;
19033 char *kwnames[] = {
19034 (char *) "self", NULL
19035 };
19036
19037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
19038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19040 result = (wxString *)& ((arg1)->m_text);
19041
19042 {
19043 #if wxUSE_UNICODE
19044 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19045 #else
19046 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19047 #endif
19048 }
19049 return resultobj;
19050 fail:
19051 return NULL;
19052 }
19053
19054
19055 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19056 PyObject *resultobj;
19057 wxListItem *arg1 = (wxListItem *) 0 ;
19058 int arg2 ;
19059 PyObject * obj0 = 0 ;
19060 PyObject * obj1 = 0 ;
19061 char *kwnames[] = {
19062 (char *) "self",(char *) "m_image", NULL
19063 };
19064
19065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
19066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19068 arg2 = (int) SWIG_AsInt(obj1);
19069 if (PyErr_Occurred()) SWIG_fail;
19070 if (arg1) (arg1)->m_image = arg2;
19071
19072 Py_INCREF(Py_None); resultobj = Py_None;
19073 return resultobj;
19074 fail:
19075 return NULL;
19076 }
19077
19078
19079 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19080 PyObject *resultobj;
19081 wxListItem *arg1 = (wxListItem *) 0 ;
19082 int result;
19083 PyObject * obj0 = 0 ;
19084 char *kwnames[] = {
19085 (char *) "self", NULL
19086 };
19087
19088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
19089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19091 result = (int) ((arg1)->m_image);
19092
19093 resultobj = SWIG_FromInt((int)result);
19094 return resultobj;
19095 fail:
19096 return NULL;
19097 }
19098
19099
19100 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19101 PyObject *resultobj;
19102 wxListItem *arg1 = (wxListItem *) 0 ;
19103 long arg2 ;
19104 PyObject * obj0 = 0 ;
19105 PyObject * obj1 = 0 ;
19106 char *kwnames[] = {
19107 (char *) "self",(char *) "m_data", NULL
19108 };
19109
19110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
19111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19113 arg2 = (long) SWIG_AsLong(obj1);
19114 if (PyErr_Occurred()) SWIG_fail;
19115 if (arg1) (arg1)->m_data = arg2;
19116
19117 Py_INCREF(Py_None); resultobj = Py_None;
19118 return resultobj;
19119 fail:
19120 return NULL;
19121 }
19122
19123
19124 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19125 PyObject *resultobj;
19126 wxListItem *arg1 = (wxListItem *) 0 ;
19127 long result;
19128 PyObject * obj0 = 0 ;
19129 char *kwnames[] = {
19130 (char *) "self", NULL
19131 };
19132
19133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
19134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19136 result = (long) ((arg1)->m_data);
19137
19138 resultobj = SWIG_FromLong((long)result);
19139 return resultobj;
19140 fail:
19141 return NULL;
19142 }
19143
19144
19145 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19146 PyObject *resultobj;
19147 wxListItem *arg1 = (wxListItem *) 0 ;
19148 int arg2 ;
19149 PyObject * obj0 = 0 ;
19150 PyObject * obj1 = 0 ;
19151 char *kwnames[] = {
19152 (char *) "self",(char *) "m_format", NULL
19153 };
19154
19155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
19156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19158 arg2 = (int) SWIG_AsInt(obj1);
19159 if (PyErr_Occurred()) SWIG_fail;
19160 if (arg1) (arg1)->m_format = arg2;
19161
19162 Py_INCREF(Py_None); resultobj = Py_None;
19163 return resultobj;
19164 fail:
19165 return NULL;
19166 }
19167
19168
19169 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19170 PyObject *resultobj;
19171 wxListItem *arg1 = (wxListItem *) 0 ;
19172 int result;
19173 PyObject * obj0 = 0 ;
19174 char *kwnames[] = {
19175 (char *) "self", NULL
19176 };
19177
19178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
19179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19181 result = (int) ((arg1)->m_format);
19182
19183 resultobj = SWIG_FromInt((int)result);
19184 return resultobj;
19185 fail:
19186 return NULL;
19187 }
19188
19189
19190 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19191 PyObject *resultobj;
19192 wxListItem *arg1 = (wxListItem *) 0 ;
19193 int arg2 ;
19194 PyObject * obj0 = 0 ;
19195 PyObject * obj1 = 0 ;
19196 char *kwnames[] = {
19197 (char *) "self",(char *) "m_width", NULL
19198 };
19199
19200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
19201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19203 arg2 = (int) SWIG_AsInt(obj1);
19204 if (PyErr_Occurred()) SWIG_fail;
19205 if (arg1) (arg1)->m_width = arg2;
19206
19207 Py_INCREF(Py_None); resultobj = Py_None;
19208 return resultobj;
19209 fail:
19210 return NULL;
19211 }
19212
19213
19214 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19215 PyObject *resultobj;
19216 wxListItem *arg1 = (wxListItem *) 0 ;
19217 int result;
19218 PyObject * obj0 = 0 ;
19219 char *kwnames[] = {
19220 (char *) "self", NULL
19221 };
19222
19223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
19224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19226 result = (int) ((arg1)->m_width);
19227
19228 resultobj = SWIG_FromInt((int)result);
19229 return resultobj;
19230 fail:
19231 return NULL;
19232 }
19233
19234
19235 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
19236 PyObject *obj;
19237 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19238 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
19239 Py_INCREF(obj);
19240 return Py_BuildValue((char *)"");
19241 }
19242 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19243 PyObject *resultobj;
19244 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19245 int arg2 = (int) 0 ;
19246 wxListEvent *result;
19247 PyObject * obj0 = 0 ;
19248 PyObject * obj1 = 0 ;
19249 char *kwnames[] = {
19250 (char *) "commandType",(char *) "id", NULL
19251 };
19252
19253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
19254 if (obj0) {
19255 arg1 = (wxEventType) SWIG_AsInt(obj0);
19256 if (PyErr_Occurred()) SWIG_fail;
19257 }
19258 if (obj1) {
19259 arg2 = (int) SWIG_AsInt(obj1);
19260 if (PyErr_Occurred()) SWIG_fail;
19261 }
19262 {
19263 PyThreadState* __tstate = wxPyBeginAllowThreads();
19264 result = (wxListEvent *)new wxListEvent(arg1,arg2);
19265
19266 wxPyEndAllowThreads(__tstate);
19267 if (PyErr_Occurred()) SWIG_fail;
19268 }
19269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
19270 return resultobj;
19271 fail:
19272 return NULL;
19273 }
19274
19275
19276 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19277 PyObject *resultobj;
19278 wxListEvent *arg1 = (wxListEvent *) 0 ;
19279 int arg2 ;
19280 PyObject * obj0 = 0 ;
19281 PyObject * obj1 = 0 ;
19282 char *kwnames[] = {
19283 (char *) "self",(char *) "m_code", NULL
19284 };
19285
19286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
19287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19289 arg2 = (int) SWIG_AsInt(obj1);
19290 if (PyErr_Occurred()) SWIG_fail;
19291 if (arg1) (arg1)->m_code = arg2;
19292
19293 Py_INCREF(Py_None); resultobj = Py_None;
19294 return resultobj;
19295 fail:
19296 return NULL;
19297 }
19298
19299
19300 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19301 PyObject *resultobj;
19302 wxListEvent *arg1 = (wxListEvent *) 0 ;
19303 int result;
19304 PyObject * obj0 = 0 ;
19305 char *kwnames[] = {
19306 (char *) "self", NULL
19307 };
19308
19309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
19310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19312 result = (int) ((arg1)->m_code);
19313
19314 resultobj = SWIG_FromInt((int)result);
19315 return resultobj;
19316 fail:
19317 return NULL;
19318 }
19319
19320
19321 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19322 PyObject *resultobj;
19323 wxListEvent *arg1 = (wxListEvent *) 0 ;
19324 long arg2 ;
19325 PyObject * obj0 = 0 ;
19326 PyObject * obj1 = 0 ;
19327 char *kwnames[] = {
19328 (char *) "self",(char *) "m_oldItemIndex", NULL
19329 };
19330
19331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19334 arg2 = (long) SWIG_AsLong(obj1);
19335 if (PyErr_Occurred()) SWIG_fail;
19336 if (arg1) (arg1)->m_oldItemIndex = arg2;
19337
19338 Py_INCREF(Py_None); resultobj = Py_None;
19339 return resultobj;
19340 fail:
19341 return NULL;
19342 }
19343
19344
19345 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19346 PyObject *resultobj;
19347 wxListEvent *arg1 = (wxListEvent *) 0 ;
19348 long result;
19349 PyObject * obj0 = 0 ;
19350 char *kwnames[] = {
19351 (char *) "self", NULL
19352 };
19353
19354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
19355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19357 result = (long) ((arg1)->m_oldItemIndex);
19358
19359 resultobj = SWIG_FromLong((long)result);
19360 return resultobj;
19361 fail:
19362 return NULL;
19363 }
19364
19365
19366 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19367 PyObject *resultobj;
19368 wxListEvent *arg1 = (wxListEvent *) 0 ;
19369 long arg2 ;
19370 PyObject * obj0 = 0 ;
19371 PyObject * obj1 = 0 ;
19372 char *kwnames[] = {
19373 (char *) "self",(char *) "m_itemIndex", NULL
19374 };
19375
19376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19379 arg2 = (long) SWIG_AsLong(obj1);
19380 if (PyErr_Occurred()) SWIG_fail;
19381 if (arg1) (arg1)->m_itemIndex = arg2;
19382
19383 Py_INCREF(Py_None); resultobj = Py_None;
19384 return resultobj;
19385 fail:
19386 return NULL;
19387 }
19388
19389
19390 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19391 PyObject *resultobj;
19392 wxListEvent *arg1 = (wxListEvent *) 0 ;
19393 long result;
19394 PyObject * obj0 = 0 ;
19395 char *kwnames[] = {
19396 (char *) "self", NULL
19397 };
19398
19399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
19400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19402 result = (long) ((arg1)->m_itemIndex);
19403
19404 resultobj = SWIG_FromLong((long)result);
19405 return resultobj;
19406 fail:
19407 return NULL;
19408 }
19409
19410
19411 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19412 PyObject *resultobj;
19413 wxListEvent *arg1 = (wxListEvent *) 0 ;
19414 int arg2 ;
19415 PyObject * obj0 = 0 ;
19416 PyObject * obj1 = 0 ;
19417 char *kwnames[] = {
19418 (char *) "self",(char *) "m_col", NULL
19419 };
19420
19421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19424 arg2 = (int) SWIG_AsInt(obj1);
19425 if (PyErr_Occurred()) SWIG_fail;
19426 if (arg1) (arg1)->m_col = arg2;
19427
19428 Py_INCREF(Py_None); resultobj = Py_None;
19429 return resultobj;
19430 fail:
19431 return NULL;
19432 }
19433
19434
19435 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19436 PyObject *resultobj;
19437 wxListEvent *arg1 = (wxListEvent *) 0 ;
19438 int result;
19439 PyObject * obj0 = 0 ;
19440 char *kwnames[] = {
19441 (char *) "self", NULL
19442 };
19443
19444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
19445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19447 result = (int) ((arg1)->m_col);
19448
19449 resultobj = SWIG_FromInt((int)result);
19450 return resultobj;
19451 fail:
19452 return NULL;
19453 }
19454
19455
19456 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19457 PyObject *resultobj;
19458 wxListEvent *arg1 = (wxListEvent *) 0 ;
19459 wxPoint *arg2 = (wxPoint *) 0 ;
19460 PyObject * obj0 = 0 ;
19461 PyObject * obj1 = 0 ;
19462 char *kwnames[] = {
19463 (char *) "self",(char *) "m_pointDrag", NULL
19464 };
19465
19466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
19467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19469 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
19470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19471 if (arg1) (arg1)->m_pointDrag = *arg2;
19472
19473 Py_INCREF(Py_None); resultobj = Py_None;
19474 return resultobj;
19475 fail:
19476 return NULL;
19477 }
19478
19479
19480 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19481 PyObject *resultobj;
19482 wxListEvent *arg1 = (wxListEvent *) 0 ;
19483 wxPoint *result;
19484 PyObject * obj0 = 0 ;
19485 char *kwnames[] = {
19486 (char *) "self", NULL
19487 };
19488
19489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
19490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19492 result = (wxPoint *)& ((arg1)->m_pointDrag);
19493
19494 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
19495 return resultobj;
19496 fail:
19497 return NULL;
19498 }
19499
19500
19501 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19502 PyObject *resultobj;
19503 wxListEvent *arg1 = (wxListEvent *) 0 ;
19504 wxListItem *result;
19505 PyObject * obj0 = 0 ;
19506 char *kwnames[] = {
19507 (char *) "self", NULL
19508 };
19509
19510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
19511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19513 result = (wxListItem *)& ((arg1)->m_item);
19514
19515 {
19516 resultobj = wxPyMake_wxObject(result);
19517 }
19518 return resultobj;
19519 fail:
19520 return NULL;
19521 }
19522
19523
19524 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
19525 PyObject *resultobj;
19526 wxListEvent *arg1 = (wxListEvent *) 0 ;
19527 int result;
19528 PyObject * obj0 = 0 ;
19529 char *kwnames[] = {
19530 (char *) "self", NULL
19531 };
19532
19533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
19534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19536 {
19537 PyThreadState* __tstate = wxPyBeginAllowThreads();
19538 result = (int)(arg1)->GetKeyCode();
19539
19540 wxPyEndAllowThreads(__tstate);
19541 if (PyErr_Occurred()) SWIG_fail;
19542 }
19543 resultobj = SWIG_FromInt((int)result);
19544 return resultobj;
19545 fail:
19546 return NULL;
19547 }
19548
19549
19550 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
19551 PyObject *resultobj;
19552 wxListEvent *arg1 = (wxListEvent *) 0 ;
19553 long result;
19554 PyObject * obj0 = 0 ;
19555 char *kwnames[] = {
19556 (char *) "self", NULL
19557 };
19558
19559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
19560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19562 {
19563 PyThreadState* __tstate = wxPyBeginAllowThreads();
19564 result = (long)(arg1)->GetIndex();
19565
19566 wxPyEndAllowThreads(__tstate);
19567 if (PyErr_Occurred()) SWIG_fail;
19568 }
19569 resultobj = SWIG_FromLong((long)result);
19570 return resultobj;
19571 fail:
19572 return NULL;
19573 }
19574
19575
19576 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19577 PyObject *resultobj;
19578 wxListEvent *arg1 = (wxListEvent *) 0 ;
19579 int result;
19580 PyObject * obj0 = 0 ;
19581 char *kwnames[] = {
19582 (char *) "self", NULL
19583 };
19584
19585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
19586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19588 {
19589 PyThreadState* __tstate = wxPyBeginAllowThreads();
19590 result = (int)(arg1)->GetColumn();
19591
19592 wxPyEndAllowThreads(__tstate);
19593 if (PyErr_Occurred()) SWIG_fail;
19594 }
19595 resultobj = SWIG_FromInt((int)result);
19596 return resultobj;
19597 fail:
19598 return NULL;
19599 }
19600
19601
19602 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19603 PyObject *resultobj;
19604 wxListEvent *arg1 = (wxListEvent *) 0 ;
19605 wxPoint result;
19606 PyObject * obj0 = 0 ;
19607 char *kwnames[] = {
19608 (char *) "self", NULL
19609 };
19610
19611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
19612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19614 {
19615 PyThreadState* __tstate = wxPyBeginAllowThreads();
19616 result = (arg1)->GetPoint();
19617
19618 wxPyEndAllowThreads(__tstate);
19619 if (PyErr_Occurred()) SWIG_fail;
19620 }
19621 {
19622 wxPoint * resultptr;
19623 resultptr = new wxPoint((wxPoint &) result);
19624 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19625 }
19626 return resultobj;
19627 fail:
19628 return NULL;
19629 }
19630
19631
19632 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19633 PyObject *resultobj;
19634 wxListEvent *arg1 = (wxListEvent *) 0 ;
19635 wxString *result;
19636 PyObject * obj0 = 0 ;
19637 char *kwnames[] = {
19638 (char *) "self", NULL
19639 };
19640
19641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
19642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19644 {
19645 PyThreadState* __tstate = wxPyBeginAllowThreads();
19646 {
19647 wxString const &_result_ref = (arg1)->GetLabel();
19648 result = (wxString *) &_result_ref;
19649 }
19650
19651 wxPyEndAllowThreads(__tstate);
19652 if (PyErr_Occurred()) SWIG_fail;
19653 }
19654 {
19655 #if wxUSE_UNICODE
19656 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19657 #else
19658 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19659 #endif
19660 }
19661 return resultobj;
19662 fail:
19663 return NULL;
19664 }
19665
19666
19667 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19668 PyObject *resultobj;
19669 wxListEvent *arg1 = (wxListEvent *) 0 ;
19670 wxString *result;
19671 PyObject * obj0 = 0 ;
19672 char *kwnames[] = {
19673 (char *) "self", NULL
19674 };
19675
19676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
19677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19679 {
19680 PyThreadState* __tstate = wxPyBeginAllowThreads();
19681 {
19682 wxString const &_result_ref = (arg1)->GetText();
19683 result = (wxString *) &_result_ref;
19684 }
19685
19686 wxPyEndAllowThreads(__tstate);
19687 if (PyErr_Occurred()) SWIG_fail;
19688 }
19689 {
19690 #if wxUSE_UNICODE
19691 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19692 #else
19693 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19694 #endif
19695 }
19696 return resultobj;
19697 fail:
19698 return NULL;
19699 }
19700
19701
19702 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19703 PyObject *resultobj;
19704 wxListEvent *arg1 = (wxListEvent *) 0 ;
19705 int result;
19706 PyObject * obj0 = 0 ;
19707 char *kwnames[] = {
19708 (char *) "self", NULL
19709 };
19710
19711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
19712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19714 {
19715 PyThreadState* __tstate = wxPyBeginAllowThreads();
19716 result = (int)(arg1)->GetImage();
19717
19718 wxPyEndAllowThreads(__tstate);
19719 if (PyErr_Occurred()) SWIG_fail;
19720 }
19721 resultobj = SWIG_FromInt((int)result);
19722 return resultobj;
19723 fail:
19724 return NULL;
19725 }
19726
19727
19728 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19729 PyObject *resultobj;
19730 wxListEvent *arg1 = (wxListEvent *) 0 ;
19731 long result;
19732 PyObject * obj0 = 0 ;
19733 char *kwnames[] = {
19734 (char *) "self", NULL
19735 };
19736
19737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
19738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19740 {
19741 PyThreadState* __tstate = wxPyBeginAllowThreads();
19742 result = (long)(arg1)->GetData();
19743
19744 wxPyEndAllowThreads(__tstate);
19745 if (PyErr_Occurred()) SWIG_fail;
19746 }
19747 resultobj = SWIG_FromLong((long)result);
19748 return resultobj;
19749 fail:
19750 return NULL;
19751 }
19752
19753
19754 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19755 PyObject *resultobj;
19756 wxListEvent *arg1 = (wxListEvent *) 0 ;
19757 long result;
19758 PyObject * obj0 = 0 ;
19759 char *kwnames[] = {
19760 (char *) "self", NULL
19761 };
19762
19763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
19764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19766 {
19767 PyThreadState* __tstate = wxPyBeginAllowThreads();
19768 result = (long)(arg1)->GetMask();
19769
19770 wxPyEndAllowThreads(__tstate);
19771 if (PyErr_Occurred()) SWIG_fail;
19772 }
19773 resultobj = SWIG_FromLong((long)result);
19774 return resultobj;
19775 fail:
19776 return NULL;
19777 }
19778
19779
19780 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19781 PyObject *resultobj;
19782 wxListEvent *arg1 = (wxListEvent *) 0 ;
19783 wxListItem *result;
19784 PyObject * obj0 = 0 ;
19785 char *kwnames[] = {
19786 (char *) "self", NULL
19787 };
19788
19789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
19790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19792 {
19793 PyThreadState* __tstate = wxPyBeginAllowThreads();
19794 {
19795 wxListItem const &_result_ref = (arg1)->GetItem();
19796 result = (wxListItem *) &_result_ref;
19797 }
19798
19799 wxPyEndAllowThreads(__tstate);
19800 if (PyErr_Occurred()) SWIG_fail;
19801 }
19802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
19803 return resultobj;
19804 fail:
19805 return NULL;
19806 }
19807
19808
19809 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
19810 PyObject *resultobj;
19811 wxListEvent *arg1 = (wxListEvent *) 0 ;
19812 long result;
19813 PyObject * obj0 = 0 ;
19814 char *kwnames[] = {
19815 (char *) "self", NULL
19816 };
19817
19818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
19819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19821 {
19822 PyThreadState* __tstate = wxPyBeginAllowThreads();
19823 result = (long)(arg1)->GetCacheFrom();
19824
19825 wxPyEndAllowThreads(__tstate);
19826 if (PyErr_Occurred()) SWIG_fail;
19827 }
19828 resultobj = SWIG_FromLong((long)result);
19829 return resultobj;
19830 fail:
19831 return NULL;
19832 }
19833
19834
19835 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19836 PyObject *resultobj;
19837 wxListEvent *arg1 = (wxListEvent *) 0 ;
19838 long result;
19839 PyObject * obj0 = 0 ;
19840 char *kwnames[] = {
19841 (char *) "self", NULL
19842 };
19843
19844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
19845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19847 {
19848 PyThreadState* __tstate = wxPyBeginAllowThreads();
19849 result = (long)(arg1)->GetCacheTo();
19850
19851 wxPyEndAllowThreads(__tstate);
19852 if (PyErr_Occurred()) SWIG_fail;
19853 }
19854 resultobj = SWIG_FromLong((long)result);
19855 return resultobj;
19856 fail:
19857 return NULL;
19858 }
19859
19860
19861 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
19862 PyObject *resultobj;
19863 wxListEvent *arg1 = (wxListEvent *) 0 ;
19864 bool result;
19865 PyObject * obj0 = 0 ;
19866 char *kwnames[] = {
19867 (char *) "self", NULL
19868 };
19869
19870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
19871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19873 {
19874 PyThreadState* __tstate = wxPyBeginAllowThreads();
19875 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
19876
19877 wxPyEndAllowThreads(__tstate);
19878 if (PyErr_Occurred()) SWIG_fail;
19879 }
19880 {
19881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19882 }
19883 return resultobj;
19884 fail:
19885 return NULL;
19886 }
19887
19888
19889 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
19890 PyObject *resultobj;
19891 wxListEvent *arg1 = (wxListEvent *) 0 ;
19892 bool arg2 ;
19893 PyObject * obj0 = 0 ;
19894 PyObject * obj1 = 0 ;
19895 char *kwnames[] = {
19896 (char *) "self",(char *) "editCancelled", NULL
19897 };
19898
19899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
19900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19902 arg2 = (bool) SWIG_AsBool(obj1);
19903 if (PyErr_Occurred()) SWIG_fail;
19904 {
19905 PyThreadState* __tstate = wxPyBeginAllowThreads();
19906 (arg1)->SetEditCanceled(arg2);
19907
19908 wxPyEndAllowThreads(__tstate);
19909 if (PyErr_Occurred()) SWIG_fail;
19910 }
19911 Py_INCREF(Py_None); resultobj = Py_None;
19912 return resultobj;
19913 fail:
19914 return NULL;
19915 }
19916
19917
19918 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
19919 PyObject *obj;
19920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19921 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
19922 Py_INCREF(obj);
19923 return Py_BuildValue((char *)"");
19924 }
19925 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
19926 PyObject *resultobj;
19927 wxWindow *arg1 = (wxWindow *) 0 ;
19928 int arg2 = (int) -1 ;
19929 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19930 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19931 wxSize const &arg4_defvalue = wxDefaultSize ;
19932 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19933 long arg5 = (long) wxLC_ICON ;
19934 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19935 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19936 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19937 wxString *arg7 = (wxString *) &arg7_defvalue ;
19938 wxPyListCtrl *result;
19939 wxPoint temp3 ;
19940 wxSize temp4 ;
19941 bool temp7 = False ;
19942 PyObject * obj0 = 0 ;
19943 PyObject * obj1 = 0 ;
19944 PyObject * obj2 = 0 ;
19945 PyObject * obj3 = 0 ;
19946 PyObject * obj4 = 0 ;
19947 PyObject * obj5 = 0 ;
19948 PyObject * obj6 = 0 ;
19949 char *kwnames[] = {
19950 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19951 };
19952
19953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19956 if (obj1) {
19957 arg2 = (int) SWIG_AsInt(obj1);
19958 if (PyErr_Occurred()) SWIG_fail;
19959 }
19960 if (obj2) {
19961 {
19962 arg3 = &temp3;
19963 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19964 }
19965 }
19966 if (obj3) {
19967 {
19968 arg4 = &temp4;
19969 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19970 }
19971 }
19972 if (obj4) {
19973 arg5 = (long) SWIG_AsLong(obj4);
19974 if (PyErr_Occurred()) SWIG_fail;
19975 }
19976 if (obj5) {
19977 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
19978 SWIG_POINTER_EXCEPTION | 0)) == -1)
19979 SWIG_fail;
19980 if (arg6 == NULL) {
19981 PyErr_SetString(PyExc_TypeError,"null reference");
19982 SWIG_fail;
19983 }
19984 }
19985 if (obj6) {
19986 {
19987 arg7 = wxString_in_helper(obj6);
19988 if (arg7 == NULL) SWIG_fail;
19989 temp7 = True;
19990 }
19991 }
19992 {
19993 PyThreadState* __tstate = wxPyBeginAllowThreads();
19994 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19995
19996 wxPyEndAllowThreads(__tstate);
19997 if (PyErr_Occurred()) SWIG_fail;
19998 }
19999 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
20000 {
20001 if (temp7)
20002 delete arg7;
20003 }
20004 return resultobj;
20005 fail:
20006 {
20007 if (temp7)
20008 delete arg7;
20009 }
20010 return NULL;
20011 }
20012
20013
20014 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20015 PyObject *resultobj;
20016 wxPyListCtrl *result;
20017 char *kwnames[] = {
20018 NULL
20019 };
20020
20021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
20022 {
20023 PyThreadState* __tstate = wxPyBeginAllowThreads();
20024 result = (wxPyListCtrl *)new wxPyListCtrl();
20025
20026 wxPyEndAllowThreads(__tstate);
20027 if (PyErr_Occurred()) SWIG_fail;
20028 }
20029 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
20030 return resultobj;
20031 fail:
20032 return NULL;
20033 }
20034
20035
20036 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20037 PyObject *resultobj;
20038 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20039 wxWindow *arg2 = (wxWindow *) 0 ;
20040 int arg3 = (int) -1 ;
20041 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20042 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20043 wxSize const &arg5_defvalue = wxDefaultSize ;
20044 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20045 long arg6 = (long) wxLC_ICON ;
20046 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20047 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20048 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
20049 wxString *arg8 = (wxString *) &arg8_defvalue ;
20050 bool result;
20051 wxPoint temp4 ;
20052 wxSize temp5 ;
20053 bool temp8 = False ;
20054 PyObject * obj0 = 0 ;
20055 PyObject * obj1 = 0 ;
20056 PyObject * obj2 = 0 ;
20057 PyObject * obj3 = 0 ;
20058 PyObject * obj4 = 0 ;
20059 PyObject * obj5 = 0 ;
20060 PyObject * obj6 = 0 ;
20061 PyObject * obj7 = 0 ;
20062 char *kwnames[] = {
20063 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20064 };
20065
20066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
20067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20069 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20071 if (obj2) {
20072 arg3 = (int) SWIG_AsInt(obj2);
20073 if (PyErr_Occurred()) SWIG_fail;
20074 }
20075 if (obj3) {
20076 {
20077 arg4 = &temp4;
20078 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20079 }
20080 }
20081 if (obj4) {
20082 {
20083 arg5 = &temp5;
20084 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20085 }
20086 }
20087 if (obj5) {
20088 arg6 = (long) SWIG_AsLong(obj5);
20089 if (PyErr_Occurred()) SWIG_fail;
20090 }
20091 if (obj6) {
20092 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
20093 SWIG_POINTER_EXCEPTION | 0)) == -1)
20094 SWIG_fail;
20095 if (arg7 == NULL) {
20096 PyErr_SetString(PyExc_TypeError,"null reference");
20097 SWIG_fail;
20098 }
20099 }
20100 if (obj7) {
20101 {
20102 arg8 = wxString_in_helper(obj7);
20103 if (arg8 == NULL) SWIG_fail;
20104 temp8 = True;
20105 }
20106 }
20107 {
20108 PyThreadState* __tstate = wxPyBeginAllowThreads();
20109 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20110
20111 wxPyEndAllowThreads(__tstate);
20112 if (PyErr_Occurred()) SWIG_fail;
20113 }
20114 {
20115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20116 }
20117 {
20118 if (temp8)
20119 delete arg8;
20120 }
20121 return resultobj;
20122 fail:
20123 {
20124 if (temp8)
20125 delete arg8;
20126 }
20127 return NULL;
20128 }
20129
20130
20131 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20132 PyObject *resultobj;
20133 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20134 PyObject *arg2 = (PyObject *) 0 ;
20135 PyObject *arg3 = (PyObject *) 0 ;
20136 PyObject * obj0 = 0 ;
20137 PyObject * obj1 = 0 ;
20138 PyObject * obj2 = 0 ;
20139 char *kwnames[] = {
20140 (char *) "self",(char *) "self",(char *) "_class", NULL
20141 };
20142
20143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20146 arg2 = obj1;
20147 arg3 = obj2;
20148 {
20149 PyThreadState* __tstate = wxPyBeginAllowThreads();
20150 (arg1)->_setCallbackInfo(arg2,arg3);
20151
20152 wxPyEndAllowThreads(__tstate);
20153 if (PyErr_Occurred()) SWIG_fail;
20154 }
20155 Py_INCREF(Py_None); resultobj = Py_None;
20156 return resultobj;
20157 fail:
20158 return NULL;
20159 }
20160
20161
20162 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20163 PyObject *resultobj;
20164 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20165 wxColour *arg2 = 0 ;
20166 bool result;
20167 wxColour temp2 ;
20168 PyObject * obj0 = 0 ;
20169 PyObject * obj1 = 0 ;
20170 char *kwnames[] = {
20171 (char *) "self",(char *) "col", NULL
20172 };
20173
20174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
20175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20177 {
20178 arg2 = &temp2;
20179 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20180 }
20181 {
20182 PyThreadState* __tstate = wxPyBeginAllowThreads();
20183 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
20184
20185 wxPyEndAllowThreads(__tstate);
20186 if (PyErr_Occurred()) SWIG_fail;
20187 }
20188 {
20189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20190 }
20191 return resultobj;
20192 fail:
20193 return NULL;
20194 }
20195
20196
20197 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20198 PyObject *resultobj;
20199 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20200 wxColour *arg2 = 0 ;
20201 bool result;
20202 wxColour temp2 ;
20203 PyObject * obj0 = 0 ;
20204 PyObject * obj1 = 0 ;
20205 char *kwnames[] = {
20206 (char *) "self",(char *) "col", NULL
20207 };
20208
20209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
20210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20212 {
20213 arg2 = &temp2;
20214 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20215 }
20216 {
20217 PyThreadState* __tstate = wxPyBeginAllowThreads();
20218 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
20219
20220 wxPyEndAllowThreads(__tstate);
20221 if (PyErr_Occurred()) SWIG_fail;
20222 }
20223 {
20224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20225 }
20226 return resultobj;
20227 fail:
20228 return NULL;
20229 }
20230
20231
20232 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20233 PyObject *resultobj;
20234 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20235 int arg2 ;
20236 wxListItem *result;
20237 PyObject * obj0 = 0 ;
20238 PyObject * obj1 = 0 ;
20239 char *kwnames[] = {
20240 (char *) "self",(char *) "col", NULL
20241 };
20242
20243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
20244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20246 arg2 = (int) SWIG_AsInt(obj1);
20247 if (PyErr_Occurred()) SWIG_fail;
20248 {
20249 PyThreadState* __tstate = wxPyBeginAllowThreads();
20250 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
20251
20252 wxPyEndAllowThreads(__tstate);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 {
20256 resultobj = wxPyMake_wxObject(result);
20257 }
20258 return resultobj;
20259 fail:
20260 return NULL;
20261 }
20262
20263
20264 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20265 PyObject *resultobj;
20266 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20267 int arg2 ;
20268 wxListItem *arg3 = 0 ;
20269 bool result;
20270 PyObject * obj0 = 0 ;
20271 PyObject * obj1 = 0 ;
20272 PyObject * obj2 = 0 ;
20273 char *kwnames[] = {
20274 (char *) "self",(char *) "col",(char *) "item", NULL
20275 };
20276
20277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
20278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20280 arg2 = (int) SWIG_AsInt(obj1);
20281 if (PyErr_Occurred()) SWIG_fail;
20282 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
20283 SWIG_POINTER_EXCEPTION | 0)) == -1)
20284 SWIG_fail;
20285 if (arg3 == NULL) {
20286 PyErr_SetString(PyExc_TypeError,"null reference");
20287 SWIG_fail;
20288 }
20289 {
20290 PyThreadState* __tstate = wxPyBeginAllowThreads();
20291 result = (bool)(arg1)->SetColumn(arg2,*arg3);
20292
20293 wxPyEndAllowThreads(__tstate);
20294 if (PyErr_Occurred()) SWIG_fail;
20295 }
20296 {
20297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20298 }
20299 return resultobj;
20300 fail:
20301 return NULL;
20302 }
20303
20304
20305 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20306 PyObject *resultobj;
20307 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20308 int arg2 ;
20309 int result;
20310 PyObject * obj0 = 0 ;
20311 PyObject * obj1 = 0 ;
20312 char *kwnames[] = {
20313 (char *) "self",(char *) "col", NULL
20314 };
20315
20316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
20317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20319 arg2 = (int) SWIG_AsInt(obj1);
20320 if (PyErr_Occurred()) SWIG_fail;
20321 {
20322 PyThreadState* __tstate = wxPyBeginAllowThreads();
20323 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
20324
20325 wxPyEndAllowThreads(__tstate);
20326 if (PyErr_Occurred()) SWIG_fail;
20327 }
20328 resultobj = SWIG_FromInt((int)result);
20329 return resultobj;
20330 fail:
20331 return NULL;
20332 }
20333
20334
20335 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20336 PyObject *resultobj;
20337 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20338 int arg2 ;
20339 int arg3 ;
20340 bool result;
20341 PyObject * obj0 = 0 ;
20342 PyObject * obj1 = 0 ;
20343 PyObject * obj2 = 0 ;
20344 char *kwnames[] = {
20345 (char *) "self",(char *) "col",(char *) "width", NULL
20346 };
20347
20348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20351 arg2 = (int) SWIG_AsInt(obj1);
20352 if (PyErr_Occurred()) SWIG_fail;
20353 arg3 = (int) SWIG_AsInt(obj2);
20354 if (PyErr_Occurred()) SWIG_fail;
20355 {
20356 PyThreadState* __tstate = wxPyBeginAllowThreads();
20357 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
20358
20359 wxPyEndAllowThreads(__tstate);
20360 if (PyErr_Occurred()) SWIG_fail;
20361 }
20362 {
20363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20364 }
20365 return resultobj;
20366 fail:
20367 return NULL;
20368 }
20369
20370
20371 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20372 PyObject *resultobj;
20373 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20374 int result;
20375 PyObject * obj0 = 0 ;
20376 char *kwnames[] = {
20377 (char *) "self", NULL
20378 };
20379
20380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
20381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20383 {
20384 PyThreadState* __tstate = wxPyBeginAllowThreads();
20385 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
20386
20387 wxPyEndAllowThreads(__tstate);
20388 if (PyErr_Occurred()) SWIG_fail;
20389 }
20390 resultobj = SWIG_FromInt((int)result);
20391 return resultobj;
20392 fail:
20393 return NULL;
20394 }
20395
20396
20397 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20398 PyObject *resultobj;
20399 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20400 wxRect result;
20401 PyObject * obj0 = 0 ;
20402 char *kwnames[] = {
20403 (char *) "self", NULL
20404 };
20405
20406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
20407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20409 {
20410 PyThreadState* __tstate = wxPyBeginAllowThreads();
20411 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
20412
20413 wxPyEndAllowThreads(__tstate);
20414 if (PyErr_Occurred()) SWIG_fail;
20415 }
20416 {
20417 wxRect * resultptr;
20418 resultptr = new wxRect((wxRect &) result);
20419 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
20420 }
20421 return resultobj;
20422 fail:
20423 return NULL;
20424 }
20425
20426
20427 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20428 PyObject *resultobj;
20429 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20430 long arg2 ;
20431 int arg3 = (int) 0 ;
20432 wxListItem *result;
20433 PyObject * obj0 = 0 ;
20434 PyObject * obj1 = 0 ;
20435 PyObject * obj2 = 0 ;
20436 char *kwnames[] = {
20437 (char *) "self",(char *) "itemId",(char *) "col", NULL
20438 };
20439
20440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
20441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20443 arg2 = (long) SWIG_AsLong(obj1);
20444 if (PyErr_Occurred()) SWIG_fail;
20445 if (obj2) {
20446 arg3 = (int) SWIG_AsInt(obj2);
20447 if (PyErr_Occurred()) SWIG_fail;
20448 }
20449 {
20450 PyThreadState* __tstate = wxPyBeginAllowThreads();
20451 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20452
20453 wxPyEndAllowThreads(__tstate);
20454 if (PyErr_Occurred()) SWIG_fail;
20455 }
20456 {
20457 resultobj = wxPyMake_wxObject(result);
20458 }
20459 return resultobj;
20460 fail:
20461 return NULL;
20462 }
20463
20464
20465 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20466 PyObject *resultobj;
20467 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20468 wxListItem *arg2 = 0 ;
20469 bool result;
20470 PyObject * obj0 = 0 ;
20471 PyObject * obj1 = 0 ;
20472 char *kwnames[] = {
20473 (char *) "self",(char *) "info", NULL
20474 };
20475
20476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
20477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20479 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
20480 SWIG_POINTER_EXCEPTION | 0)) == -1)
20481 SWIG_fail;
20482 if (arg2 == NULL) {
20483 PyErr_SetString(PyExc_TypeError,"null reference");
20484 SWIG_fail;
20485 }
20486 {
20487 PyThreadState* __tstate = wxPyBeginAllowThreads();
20488 result = (bool)(arg1)->SetItem(*arg2);
20489
20490 wxPyEndAllowThreads(__tstate);
20491 if (PyErr_Occurred()) SWIG_fail;
20492 }
20493 {
20494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20495 }
20496 return resultobj;
20497 fail:
20498 return NULL;
20499 }
20500
20501
20502 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20503 PyObject *resultobj;
20504 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20505 long arg2 ;
20506 int arg3 ;
20507 wxString *arg4 = 0 ;
20508 int arg5 = (int) -1 ;
20509 long result;
20510 bool temp4 = False ;
20511 PyObject * obj0 = 0 ;
20512 PyObject * obj1 = 0 ;
20513 PyObject * obj2 = 0 ;
20514 PyObject * obj3 = 0 ;
20515 PyObject * obj4 = 0 ;
20516 char *kwnames[] = {
20517 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20518 };
20519
20520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20523 arg2 = (long) SWIG_AsLong(obj1);
20524 if (PyErr_Occurred()) SWIG_fail;
20525 arg3 = (int) SWIG_AsInt(obj2);
20526 if (PyErr_Occurred()) SWIG_fail;
20527 {
20528 arg4 = wxString_in_helper(obj3);
20529 if (arg4 == NULL) SWIG_fail;
20530 temp4 = True;
20531 }
20532 if (obj4) {
20533 arg5 = (int) SWIG_AsInt(obj4);
20534 if (PyErr_Occurred()) SWIG_fail;
20535 }
20536 {
20537 PyThreadState* __tstate = wxPyBeginAllowThreads();
20538 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20539
20540 wxPyEndAllowThreads(__tstate);
20541 if (PyErr_Occurred()) SWIG_fail;
20542 }
20543 resultobj = SWIG_FromLong((long)result);
20544 {
20545 if (temp4)
20546 delete arg4;
20547 }
20548 return resultobj;
20549 fail:
20550 {
20551 if (temp4)
20552 delete arg4;
20553 }
20554 return NULL;
20555 }
20556
20557
20558 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20559 PyObject *resultobj;
20560 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20561 long arg2 ;
20562 long arg3 ;
20563 int result;
20564 PyObject * obj0 = 0 ;
20565 PyObject * obj1 = 0 ;
20566 PyObject * obj2 = 0 ;
20567 char *kwnames[] = {
20568 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20569 };
20570
20571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
20572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20574 arg2 = (long) SWIG_AsLong(obj1);
20575 if (PyErr_Occurred()) SWIG_fail;
20576 arg3 = (long) SWIG_AsLong(obj2);
20577 if (PyErr_Occurred()) SWIG_fail;
20578 {
20579 PyThreadState* __tstate = wxPyBeginAllowThreads();
20580 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20581
20582 wxPyEndAllowThreads(__tstate);
20583 if (PyErr_Occurred()) SWIG_fail;
20584 }
20585 resultobj = SWIG_FromInt((int)result);
20586 return resultobj;
20587 fail:
20588 return NULL;
20589 }
20590
20591
20592 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20593 PyObject *resultobj;
20594 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20595 long arg2 ;
20596 long arg3 ;
20597 long arg4 ;
20598 bool result;
20599 PyObject * obj0 = 0 ;
20600 PyObject * obj1 = 0 ;
20601 PyObject * obj2 = 0 ;
20602 PyObject * obj3 = 0 ;
20603 char *kwnames[] = {
20604 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20605 };
20606
20607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20610 arg2 = (long) SWIG_AsLong(obj1);
20611 if (PyErr_Occurred()) SWIG_fail;
20612 arg3 = (long) SWIG_AsLong(obj2);
20613 if (PyErr_Occurred()) SWIG_fail;
20614 arg4 = (long) SWIG_AsLong(obj3);
20615 if (PyErr_Occurred()) SWIG_fail;
20616 {
20617 PyThreadState* __tstate = wxPyBeginAllowThreads();
20618 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20619
20620 wxPyEndAllowThreads(__tstate);
20621 if (PyErr_Occurred()) SWIG_fail;
20622 }
20623 {
20624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20625 }
20626 return resultobj;
20627 fail:
20628 return NULL;
20629 }
20630
20631
20632 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20633 PyObject *resultobj;
20634 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20635 long arg2 ;
20636 int arg3 ;
20637 int arg4 ;
20638 bool result;
20639 PyObject * obj0 = 0 ;
20640 PyObject * obj1 = 0 ;
20641 PyObject * obj2 = 0 ;
20642 PyObject * obj3 = 0 ;
20643 char *kwnames[] = {
20644 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20645 };
20646
20647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20650 arg2 = (long) SWIG_AsLong(obj1);
20651 if (PyErr_Occurred()) SWIG_fail;
20652 arg3 = (int) SWIG_AsInt(obj2);
20653 if (PyErr_Occurred()) SWIG_fail;
20654 arg4 = (int) SWIG_AsInt(obj3);
20655 if (PyErr_Occurred()) SWIG_fail;
20656 {
20657 PyThreadState* __tstate = wxPyBeginAllowThreads();
20658 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20659
20660 wxPyEndAllowThreads(__tstate);
20661 if (PyErr_Occurred()) SWIG_fail;
20662 }
20663 {
20664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20665 }
20666 return resultobj;
20667 fail:
20668 return NULL;
20669 }
20670
20671
20672 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20673 PyObject *resultobj;
20674 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20675 long arg2 ;
20676 wxString result;
20677 PyObject * obj0 = 0 ;
20678 PyObject * obj1 = 0 ;
20679 char *kwnames[] = {
20680 (char *) "self",(char *) "item", NULL
20681 };
20682
20683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20686 arg2 = (long) SWIG_AsLong(obj1);
20687 if (PyErr_Occurred()) SWIG_fail;
20688 {
20689 PyThreadState* __tstate = wxPyBeginAllowThreads();
20690 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20691
20692 wxPyEndAllowThreads(__tstate);
20693 if (PyErr_Occurred()) SWIG_fail;
20694 }
20695 {
20696 #if wxUSE_UNICODE
20697 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20698 #else
20699 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20700 #endif
20701 }
20702 return resultobj;
20703 fail:
20704 return NULL;
20705 }
20706
20707
20708 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20709 PyObject *resultobj;
20710 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20711 long arg2 ;
20712 wxString *arg3 = 0 ;
20713 bool temp3 = False ;
20714 PyObject * obj0 = 0 ;
20715 PyObject * obj1 = 0 ;
20716 PyObject * obj2 = 0 ;
20717 char *kwnames[] = {
20718 (char *) "self",(char *) "item",(char *) "str", NULL
20719 };
20720
20721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
20722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20724 arg2 = (long) SWIG_AsLong(obj1);
20725 if (PyErr_Occurred()) SWIG_fail;
20726 {
20727 arg3 = wxString_in_helper(obj2);
20728 if (arg3 == NULL) SWIG_fail;
20729 temp3 = True;
20730 }
20731 {
20732 PyThreadState* __tstate = wxPyBeginAllowThreads();
20733 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
20734
20735 wxPyEndAllowThreads(__tstate);
20736 if (PyErr_Occurred()) SWIG_fail;
20737 }
20738 Py_INCREF(Py_None); resultobj = Py_None;
20739 {
20740 if (temp3)
20741 delete arg3;
20742 }
20743 return resultobj;
20744 fail:
20745 {
20746 if (temp3)
20747 delete arg3;
20748 }
20749 return NULL;
20750 }
20751
20752
20753 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20754 PyObject *resultobj;
20755 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20756 long arg2 ;
20757 long result;
20758 PyObject * obj0 = 0 ;
20759 PyObject * obj1 = 0 ;
20760 char *kwnames[] = {
20761 (char *) "self",(char *) "item", NULL
20762 };
20763
20764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20767 arg2 = (long) SWIG_AsLong(obj1);
20768 if (PyErr_Occurred()) SWIG_fail;
20769 {
20770 PyThreadState* __tstate = wxPyBeginAllowThreads();
20771 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
20772
20773 wxPyEndAllowThreads(__tstate);
20774 if (PyErr_Occurred()) SWIG_fail;
20775 }
20776 resultobj = SWIG_FromLong((long)result);
20777 return resultobj;
20778 fail:
20779 return NULL;
20780 }
20781
20782
20783 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20784 PyObject *resultobj;
20785 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20786 long arg2 ;
20787 long arg3 ;
20788 bool result;
20789 PyObject * obj0 = 0 ;
20790 PyObject * obj1 = 0 ;
20791 PyObject * obj2 = 0 ;
20792 char *kwnames[] = {
20793 (char *) "self",(char *) "item",(char *) "data", NULL
20794 };
20795
20796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20799 arg2 = (long) SWIG_AsLong(obj1);
20800 if (PyErr_Occurred()) SWIG_fail;
20801 arg3 = (long) SWIG_AsLong(obj2);
20802 if (PyErr_Occurred()) SWIG_fail;
20803 {
20804 PyThreadState* __tstate = wxPyBeginAllowThreads();
20805 result = (bool)(arg1)->SetItemData(arg2,arg3);
20806
20807 wxPyEndAllowThreads(__tstate);
20808 if (PyErr_Occurred()) SWIG_fail;
20809 }
20810 {
20811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20812 }
20813 return resultobj;
20814 fail:
20815 return NULL;
20816 }
20817
20818
20819 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20820 PyObject *resultobj;
20821 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20822 long arg2 ;
20823 wxPoint result;
20824 PyObject * obj0 = 0 ;
20825 PyObject * obj1 = 0 ;
20826 char *kwnames[] = {
20827 (char *) "self",(char *) "item", NULL
20828 };
20829
20830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
20831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20833 arg2 = (long) SWIG_AsLong(obj1);
20834 if (PyErr_Occurred()) SWIG_fail;
20835 {
20836 PyThreadState* __tstate = wxPyBeginAllowThreads();
20837 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
20838
20839 wxPyEndAllowThreads(__tstate);
20840 if (PyErr_Occurred()) SWIG_fail;
20841 }
20842 {
20843 wxPoint * resultptr;
20844 resultptr = new wxPoint((wxPoint &) result);
20845 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20846 }
20847 return resultobj;
20848 fail:
20849 return NULL;
20850 }
20851
20852
20853 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20854 PyObject *resultobj;
20855 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20856 long arg2 ;
20857 int arg3 = (int) wxLIST_RECT_BOUNDS ;
20858 wxRect result;
20859 PyObject * obj0 = 0 ;
20860 PyObject * obj1 = 0 ;
20861 PyObject * obj2 = 0 ;
20862 char *kwnames[] = {
20863 (char *) "self",(char *) "item",(char *) "code", NULL
20864 };
20865
20866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
20867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20869 arg2 = (long) SWIG_AsLong(obj1);
20870 if (PyErr_Occurred()) SWIG_fail;
20871 if (obj2) {
20872 arg3 = (int) SWIG_AsInt(obj2);
20873 if (PyErr_Occurred()) SWIG_fail;
20874 }
20875 {
20876 PyThreadState* __tstate = wxPyBeginAllowThreads();
20877 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
20878
20879 wxPyEndAllowThreads(__tstate);
20880 if (PyErr_Occurred()) SWIG_fail;
20881 }
20882 {
20883 wxRect * resultptr;
20884 resultptr = new wxRect((wxRect &) result);
20885 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
20886 }
20887 return resultobj;
20888 fail:
20889 return NULL;
20890 }
20891
20892
20893 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20894 PyObject *resultobj;
20895 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20896 long arg2 ;
20897 wxPoint *arg3 = 0 ;
20898 bool result;
20899 wxPoint temp3 ;
20900 PyObject * obj0 = 0 ;
20901 PyObject * obj1 = 0 ;
20902 PyObject * obj2 = 0 ;
20903 char *kwnames[] = {
20904 (char *) "self",(char *) "item",(char *) "pos", NULL
20905 };
20906
20907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20910 arg2 = (long) SWIG_AsLong(obj1);
20911 if (PyErr_Occurred()) SWIG_fail;
20912 {
20913 arg3 = &temp3;
20914 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20915 }
20916 {
20917 PyThreadState* __tstate = wxPyBeginAllowThreads();
20918 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
20919
20920 wxPyEndAllowThreads(__tstate);
20921 if (PyErr_Occurred()) SWIG_fail;
20922 }
20923 {
20924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20925 }
20926 return resultobj;
20927 fail:
20928 return NULL;
20929 }
20930
20931
20932 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20933 PyObject *resultobj;
20934 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20935 int result;
20936 PyObject * obj0 = 0 ;
20937 char *kwnames[] = {
20938 (char *) "self", NULL
20939 };
20940
20941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
20942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20944 {
20945 PyThreadState* __tstate = wxPyBeginAllowThreads();
20946 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
20947
20948 wxPyEndAllowThreads(__tstate);
20949 if (PyErr_Occurred()) SWIG_fail;
20950 }
20951 resultobj = SWIG_FromInt((int)result);
20952 return resultobj;
20953 fail:
20954 return NULL;
20955 }
20956
20957
20958 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20959 PyObject *resultobj;
20960 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20961 int result;
20962 PyObject * obj0 = 0 ;
20963 char *kwnames[] = {
20964 (char *) "self", NULL
20965 };
20966
20967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
20968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20970 {
20971 PyThreadState* __tstate = wxPyBeginAllowThreads();
20972 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
20973
20974 wxPyEndAllowThreads(__tstate);
20975 if (PyErr_Occurred()) SWIG_fail;
20976 }
20977 resultobj = SWIG_FromInt((int)result);
20978 return resultobj;
20979 fail:
20980 return NULL;
20981 }
20982
20983
20984 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20985 PyObject *resultobj;
20986 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20987 wxSize result;
20988 PyObject * obj0 = 0 ;
20989 char *kwnames[] = {
20990 (char *) "self", NULL
20991 };
20992
20993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
20994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20996 {
20997 PyThreadState* __tstate = wxPyBeginAllowThreads();
20998 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
20999
21000 wxPyEndAllowThreads(__tstate);
21001 if (PyErr_Occurred()) SWIG_fail;
21002 }
21003 {
21004 wxSize * resultptr;
21005 resultptr = new wxSize((wxSize &) result);
21006 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21007 }
21008 return resultobj;
21009 fail:
21010 return NULL;
21011 }
21012
21013
21014 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21015 PyObject *resultobj;
21016 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21017 int arg2 ;
21018 bool arg3 = (bool) False ;
21019 PyObject * obj0 = 0 ;
21020 PyObject * obj1 = 0 ;
21021 PyObject * obj2 = 0 ;
21022 char *kwnames[] = {
21023 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
21024 };
21025
21026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
21027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21029 arg2 = (int) SWIG_AsInt(obj1);
21030 if (PyErr_Occurred()) SWIG_fail;
21031 if (obj2) {
21032 arg3 = (bool) SWIG_AsBool(obj2);
21033 if (PyErr_Occurred()) SWIG_fail;
21034 }
21035 {
21036 PyThreadState* __tstate = wxPyBeginAllowThreads();
21037 (arg1)->SetItemSpacing(arg2,arg3);
21038
21039 wxPyEndAllowThreads(__tstate);
21040 if (PyErr_Occurred()) SWIG_fail;
21041 }
21042 Py_INCREF(Py_None); resultobj = Py_None;
21043 return resultobj;
21044 fail:
21045 return NULL;
21046 }
21047
21048
21049 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21050 PyObject *resultobj;
21051 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21052 int result;
21053 PyObject * obj0 = 0 ;
21054 char *kwnames[] = {
21055 (char *) "self", NULL
21056 };
21057
21058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
21059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21061 {
21062 PyThreadState* __tstate = wxPyBeginAllowThreads();
21063 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
21064
21065 wxPyEndAllowThreads(__tstate);
21066 if (PyErr_Occurred()) SWIG_fail;
21067 }
21068 resultobj = SWIG_FromInt((int)result);
21069 return resultobj;
21070 fail:
21071 return NULL;
21072 }
21073
21074
21075 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21076 PyObject *resultobj;
21077 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21078 wxColour result;
21079 PyObject * obj0 = 0 ;
21080 char *kwnames[] = {
21081 (char *) "self", NULL
21082 };
21083
21084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
21085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21087 {
21088 PyThreadState* __tstate = wxPyBeginAllowThreads();
21089 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
21090
21091 wxPyEndAllowThreads(__tstate);
21092 if (PyErr_Occurred()) SWIG_fail;
21093 }
21094 {
21095 wxColour * resultptr;
21096 resultptr = new wxColour((wxColour &) result);
21097 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21098 }
21099 return resultobj;
21100 fail:
21101 return NULL;
21102 }
21103
21104
21105 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21106 PyObject *resultobj;
21107 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21108 wxColour *arg2 = 0 ;
21109 wxColour temp2 ;
21110 PyObject * obj0 = 0 ;
21111 PyObject * obj1 = 0 ;
21112 char *kwnames[] = {
21113 (char *) "self",(char *) "col", NULL
21114 };
21115
21116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21119 {
21120 arg2 = &temp2;
21121 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21122 }
21123 {
21124 PyThreadState* __tstate = wxPyBeginAllowThreads();
21125 (arg1)->SetTextColour((wxColour const &)*arg2);
21126
21127 wxPyEndAllowThreads(__tstate);
21128 if (PyErr_Occurred()) SWIG_fail;
21129 }
21130 Py_INCREF(Py_None); resultobj = Py_None;
21131 return resultobj;
21132 fail:
21133 return NULL;
21134 }
21135
21136
21137 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21138 PyObject *resultobj;
21139 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21140 long result;
21141 PyObject * obj0 = 0 ;
21142 char *kwnames[] = {
21143 (char *) "self", NULL
21144 };
21145
21146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
21147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21149 {
21150 PyThreadState* __tstate = wxPyBeginAllowThreads();
21151 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
21152
21153 wxPyEndAllowThreads(__tstate);
21154 if (PyErr_Occurred()) SWIG_fail;
21155 }
21156 resultobj = SWIG_FromLong((long)result);
21157 return resultobj;
21158 fail:
21159 return NULL;
21160 }
21161
21162
21163 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
21164 PyObject *resultobj;
21165 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21166 long arg2 ;
21167 bool arg3 = (bool) True ;
21168 PyObject * obj0 = 0 ;
21169 PyObject * obj1 = 0 ;
21170 PyObject * obj2 = 0 ;
21171 char *kwnames[] = {
21172 (char *) "self",(char *) "style",(char *) "add", NULL
21173 };
21174
21175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
21176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21178 arg2 = (long) SWIG_AsLong(obj1);
21179 if (PyErr_Occurred()) SWIG_fail;
21180 if (obj2) {
21181 arg3 = (bool) SWIG_AsBool(obj2);
21182 if (PyErr_Occurred()) SWIG_fail;
21183 }
21184 {
21185 PyThreadState* __tstate = wxPyBeginAllowThreads();
21186 (arg1)->SetSingleStyle(arg2,arg3);
21187
21188 wxPyEndAllowThreads(__tstate);
21189 if (PyErr_Occurred()) SWIG_fail;
21190 }
21191 Py_INCREF(Py_None); resultobj = Py_None;
21192 return resultobj;
21193 fail:
21194 return NULL;
21195 }
21196
21197
21198 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
21199 PyObject *resultobj;
21200 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21201 long arg2 ;
21202 PyObject * obj0 = 0 ;
21203 PyObject * obj1 = 0 ;
21204 char *kwnames[] = {
21205 (char *) "self",(char *) "style", NULL
21206 };
21207
21208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
21209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21211 arg2 = (long) SWIG_AsLong(obj1);
21212 if (PyErr_Occurred()) SWIG_fail;
21213 {
21214 PyThreadState* __tstate = wxPyBeginAllowThreads();
21215 (arg1)->SetWindowStyleFlag(arg2);
21216
21217 wxPyEndAllowThreads(__tstate);
21218 if (PyErr_Occurred()) SWIG_fail;
21219 }
21220 Py_INCREF(Py_None); resultobj = Py_None;
21221 return resultobj;
21222 fail:
21223 return NULL;
21224 }
21225
21226
21227 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21228 PyObject *resultobj;
21229 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21230 long arg2 ;
21231 int arg3 = (int) wxLIST_NEXT_ALL ;
21232 int arg4 = (int) wxLIST_STATE_DONTCARE ;
21233 long result;
21234 PyObject * obj0 = 0 ;
21235 PyObject * obj1 = 0 ;
21236 PyObject * obj2 = 0 ;
21237 PyObject * obj3 = 0 ;
21238 char *kwnames[] = {
21239 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21240 };
21241
21242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21245 arg2 = (long) SWIG_AsLong(obj1);
21246 if (PyErr_Occurred()) SWIG_fail;
21247 if (obj2) {
21248 arg3 = (int) SWIG_AsInt(obj2);
21249 if (PyErr_Occurred()) SWIG_fail;
21250 }
21251 if (obj3) {
21252 arg4 = (int) SWIG_AsInt(obj3);
21253 if (PyErr_Occurred()) SWIG_fail;
21254 }
21255 {
21256 PyThreadState* __tstate = wxPyBeginAllowThreads();
21257 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
21258
21259 wxPyEndAllowThreads(__tstate);
21260 if (PyErr_Occurred()) SWIG_fail;
21261 }
21262 resultobj = SWIG_FromLong((long)result);
21263 return resultobj;
21264 fail:
21265 return NULL;
21266 }
21267
21268
21269 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21270 PyObject *resultobj;
21271 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21272 int arg2 ;
21273 wxImageList *result;
21274 PyObject * obj0 = 0 ;
21275 PyObject * obj1 = 0 ;
21276 char *kwnames[] = {
21277 (char *) "self",(char *) "which", NULL
21278 };
21279
21280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
21281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21283 arg2 = (int) SWIG_AsInt(obj1);
21284 if (PyErr_Occurred()) SWIG_fail;
21285 {
21286 PyThreadState* __tstate = wxPyBeginAllowThreads();
21287 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
21288
21289 wxPyEndAllowThreads(__tstate);
21290 if (PyErr_Occurred()) SWIG_fail;
21291 }
21292 {
21293 resultobj = wxPyMake_wxObject(result);
21294 }
21295 return resultobj;
21296 fail:
21297 return NULL;
21298 }
21299
21300
21301 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21302 PyObject *resultobj;
21303 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21304 wxImageList *arg2 = (wxImageList *) 0 ;
21305 int arg3 ;
21306 PyObject * obj0 = 0 ;
21307 PyObject * obj1 = 0 ;
21308 PyObject * obj2 = 0 ;
21309 char *kwnames[] = {
21310 (char *) "self",(char *) "imageList",(char *) "which", NULL
21311 };
21312
21313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21316 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21318 arg3 = (int) SWIG_AsInt(obj2);
21319 if (PyErr_Occurred()) SWIG_fail;
21320 {
21321 PyThreadState* __tstate = wxPyBeginAllowThreads();
21322 (arg1)->SetImageList(arg2,arg3);
21323
21324 wxPyEndAllowThreads(__tstate);
21325 if (PyErr_Occurred()) SWIG_fail;
21326 }
21327 Py_INCREF(Py_None); resultobj = Py_None;
21328 return resultobj;
21329 fail:
21330 return NULL;
21331 }
21332
21333
21334 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21335 PyObject *resultobj;
21336 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21337 wxImageList *arg2 = (wxImageList *) 0 ;
21338 int arg3 ;
21339 PyObject * obj0 = 0 ;
21340 PyObject * obj1 = 0 ;
21341 PyObject * obj2 = 0 ;
21342 char *kwnames[] = {
21343 (char *) "self",(char *) "imageList",(char *) "which", NULL
21344 };
21345
21346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21349 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21350 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
21351 arg3 = (int) SWIG_AsInt(obj2);
21352 if (PyErr_Occurred()) SWIG_fail;
21353 {
21354 PyThreadState* __tstate = wxPyBeginAllowThreads();
21355 (arg1)->AssignImageList(arg2,arg3);
21356
21357 wxPyEndAllowThreads(__tstate);
21358 if (PyErr_Occurred()) SWIG_fail;
21359 }
21360 Py_INCREF(Py_None); resultobj = Py_None;
21361 return resultobj;
21362 fail:
21363 return NULL;
21364 }
21365
21366
21367 static PyObject *_wrap_ListCtrl_InReportView(PyObject *self, PyObject *args, PyObject *kwargs) {
21368 PyObject *resultobj;
21369 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21370 bool result;
21371 PyObject * obj0 = 0 ;
21372 char *kwnames[] = {
21373 (char *) "self", NULL
21374 };
21375
21376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
21377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21379 {
21380 PyThreadState* __tstate = wxPyBeginAllowThreads();
21381 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
21382
21383 wxPyEndAllowThreads(__tstate);
21384 if (PyErr_Occurred()) SWIG_fail;
21385 }
21386 {
21387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21388 }
21389 return resultobj;
21390 fail:
21391 return NULL;
21392 }
21393
21394
21395 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
21396 PyObject *resultobj;
21397 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21398 bool result;
21399 PyObject * obj0 = 0 ;
21400 char *kwnames[] = {
21401 (char *) "self", NULL
21402 };
21403
21404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
21405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21407 {
21408 PyThreadState* __tstate = wxPyBeginAllowThreads();
21409 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
21410
21411 wxPyEndAllowThreads(__tstate);
21412 if (PyErr_Occurred()) SWIG_fail;
21413 }
21414 {
21415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21416 }
21417 return resultobj;
21418 fail:
21419 return NULL;
21420 }
21421
21422
21423 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21424 PyObject *resultobj;
21425 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21426 long arg2 ;
21427 PyObject * obj0 = 0 ;
21428 PyObject * obj1 = 0 ;
21429 char *kwnames[] = {
21430 (char *) "self",(char *) "item", NULL
21431 };
21432
21433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) 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 {
21439 PyThreadState* __tstate = wxPyBeginAllowThreads();
21440 (arg1)->RefreshItem(arg2);
21441
21442 wxPyEndAllowThreads(__tstate);
21443 if (PyErr_Occurred()) SWIG_fail;
21444 }
21445 Py_INCREF(Py_None); resultobj = Py_None;
21446 return resultobj;
21447 fail:
21448 return NULL;
21449 }
21450
21451
21452 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21453 PyObject *resultobj;
21454 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21455 long arg2 ;
21456 long arg3 ;
21457 PyObject * obj0 = 0 ;
21458 PyObject * obj1 = 0 ;
21459 PyObject * obj2 = 0 ;
21460 char *kwnames[] = {
21461 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21462 };
21463
21464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
21465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21467 arg2 = (long) SWIG_AsLong(obj1);
21468 if (PyErr_Occurred()) SWIG_fail;
21469 arg3 = (long) SWIG_AsLong(obj2);
21470 if (PyErr_Occurred()) SWIG_fail;
21471 {
21472 PyThreadState* __tstate = wxPyBeginAllowThreads();
21473 (arg1)->RefreshItems(arg2,arg3);
21474
21475 wxPyEndAllowThreads(__tstate);
21476 if (PyErr_Occurred()) SWIG_fail;
21477 }
21478 Py_INCREF(Py_None); resultobj = Py_None;
21479 return resultobj;
21480 fail:
21481 return NULL;
21482 }
21483
21484
21485 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
21486 PyObject *resultobj;
21487 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21488 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21489 bool result;
21490 PyObject * obj0 = 0 ;
21491 PyObject * obj1 = 0 ;
21492 char *kwnames[] = {
21493 (char *) "self",(char *) "flag", NULL
21494 };
21495
21496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
21497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21499 if (obj1) {
21500 arg2 = (int) SWIG_AsInt(obj1);
21501 if (PyErr_Occurred()) SWIG_fail;
21502 }
21503 {
21504 PyThreadState* __tstate = wxPyBeginAllowThreads();
21505 result = (bool)(arg1)->Arrange(arg2);
21506
21507 wxPyEndAllowThreads(__tstate);
21508 if (PyErr_Occurred()) SWIG_fail;
21509 }
21510 {
21511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21512 }
21513 return resultobj;
21514 fail:
21515 return NULL;
21516 }
21517
21518
21519 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21520 PyObject *resultobj;
21521 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21522 long arg2 ;
21523 bool result;
21524 PyObject * obj0 = 0 ;
21525 PyObject * obj1 = 0 ;
21526 char *kwnames[] = {
21527 (char *) "self",(char *) "item", NULL
21528 };
21529
21530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
21531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21533 arg2 = (long) SWIG_AsLong(obj1);
21534 if (PyErr_Occurred()) SWIG_fail;
21535 {
21536 PyThreadState* __tstate = wxPyBeginAllowThreads();
21537 result = (bool)(arg1)->DeleteItem(arg2);
21538
21539 wxPyEndAllowThreads(__tstate);
21540 if (PyErr_Occurred()) SWIG_fail;
21541 }
21542 {
21543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21544 }
21545 return resultobj;
21546 fail:
21547 return NULL;
21548 }
21549
21550
21551 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21552 PyObject *resultobj;
21553 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21554 bool result;
21555 PyObject * obj0 = 0 ;
21556 char *kwnames[] = {
21557 (char *) "self", NULL
21558 };
21559
21560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
21561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21563 {
21564 PyThreadState* __tstate = wxPyBeginAllowThreads();
21565 result = (bool)(arg1)->DeleteAllItems();
21566
21567 wxPyEndAllowThreads(__tstate);
21568 if (PyErr_Occurred()) SWIG_fail;
21569 }
21570 {
21571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21572 }
21573 return resultobj;
21574 fail:
21575 return NULL;
21576 }
21577
21578
21579 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21580 PyObject *resultobj;
21581 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21582 int arg2 ;
21583 bool result;
21584 PyObject * obj0 = 0 ;
21585 PyObject * obj1 = 0 ;
21586 char *kwnames[] = {
21587 (char *) "self",(char *) "col", NULL
21588 };
21589
21590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
21591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21593 arg2 = (int) SWIG_AsInt(obj1);
21594 if (PyErr_Occurred()) SWIG_fail;
21595 {
21596 PyThreadState* __tstate = wxPyBeginAllowThreads();
21597 result = (bool)(arg1)->DeleteColumn(arg2);
21598
21599 wxPyEndAllowThreads(__tstate);
21600 if (PyErr_Occurred()) SWIG_fail;
21601 }
21602 {
21603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21604 }
21605 return resultobj;
21606 fail:
21607 return NULL;
21608 }
21609
21610
21611 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
21612 PyObject *resultobj;
21613 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21614 bool result;
21615 PyObject * obj0 = 0 ;
21616 char *kwnames[] = {
21617 (char *) "self", NULL
21618 };
21619
21620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
21621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21623 {
21624 PyThreadState* __tstate = wxPyBeginAllowThreads();
21625 result = (bool)(arg1)->DeleteAllColumns();
21626
21627 wxPyEndAllowThreads(__tstate);
21628 if (PyErr_Occurred()) SWIG_fail;
21629 }
21630 {
21631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21632 }
21633 return resultobj;
21634 fail:
21635 return NULL;
21636 }
21637
21638
21639 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
21640 PyObject *resultobj;
21641 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21642 PyObject * obj0 = 0 ;
21643 char *kwnames[] = {
21644 (char *) "self", NULL
21645 };
21646
21647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
21648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21650 {
21651 PyThreadState* __tstate = wxPyBeginAllowThreads();
21652 (arg1)->ClearAll();
21653
21654 wxPyEndAllowThreads(__tstate);
21655 if (PyErr_Occurred()) SWIG_fail;
21656 }
21657 Py_INCREF(Py_None); resultobj = Py_None;
21658 return resultobj;
21659 fail:
21660 return NULL;
21661 }
21662
21663
21664 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21665 PyObject *resultobj;
21666 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21667 long arg2 ;
21668 PyObject * obj0 = 0 ;
21669 PyObject * obj1 = 0 ;
21670 char *kwnames[] = {
21671 (char *) "self",(char *) "item", NULL
21672 };
21673
21674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
21675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21677 arg2 = (long) SWIG_AsLong(obj1);
21678 if (PyErr_Occurred()) SWIG_fail;
21679 {
21680 PyThreadState* __tstate = wxPyBeginAllowThreads();
21681 (arg1)->EditLabel(arg2);
21682
21683 wxPyEndAllowThreads(__tstate);
21684 if (PyErr_Occurred()) SWIG_fail;
21685 }
21686 Py_INCREF(Py_None); resultobj = Py_None;
21687 return resultobj;
21688 fail:
21689 return NULL;
21690 }
21691
21692
21693 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21694 PyObject *resultobj;
21695 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21696 long arg2 ;
21697 bool result;
21698 PyObject * obj0 = 0 ;
21699 PyObject * obj1 = 0 ;
21700 char *kwnames[] = {
21701 (char *) "self",(char *) "item", NULL
21702 };
21703
21704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
21705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21707 arg2 = (long) SWIG_AsLong(obj1);
21708 if (PyErr_Occurred()) SWIG_fail;
21709 {
21710 PyThreadState* __tstate = wxPyBeginAllowThreads();
21711 result = (bool)(arg1)->EnsureVisible(arg2);
21712
21713 wxPyEndAllowThreads(__tstate);
21714 if (PyErr_Occurred()) SWIG_fail;
21715 }
21716 {
21717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21718 }
21719 return resultobj;
21720 fail:
21721 return NULL;
21722 }
21723
21724
21725 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21726 PyObject *resultobj;
21727 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21728 long arg2 ;
21729 wxString *arg3 = 0 ;
21730 bool arg4 = (bool) False ;
21731 long result;
21732 bool temp3 = False ;
21733 PyObject * obj0 = 0 ;
21734 PyObject * obj1 = 0 ;
21735 PyObject * obj2 = 0 ;
21736 PyObject * obj3 = 0 ;
21737 char *kwnames[] = {
21738 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21739 };
21740
21741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21744 arg2 = (long) SWIG_AsLong(obj1);
21745 if (PyErr_Occurred()) SWIG_fail;
21746 {
21747 arg3 = wxString_in_helper(obj2);
21748 if (arg3 == NULL) SWIG_fail;
21749 temp3 = True;
21750 }
21751 if (obj3) {
21752 arg4 = (bool) SWIG_AsBool(obj3);
21753 if (PyErr_Occurred()) SWIG_fail;
21754 }
21755 {
21756 PyThreadState* __tstate = wxPyBeginAllowThreads();
21757 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
21758
21759 wxPyEndAllowThreads(__tstate);
21760 if (PyErr_Occurred()) SWIG_fail;
21761 }
21762 resultobj = SWIG_FromLong((long)result);
21763 {
21764 if (temp3)
21765 delete arg3;
21766 }
21767 return resultobj;
21768 fail:
21769 {
21770 if (temp3)
21771 delete arg3;
21772 }
21773 return NULL;
21774 }
21775
21776
21777 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21778 PyObject *resultobj;
21779 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21780 long arg2 ;
21781 long arg3 ;
21782 long result;
21783 PyObject * obj0 = 0 ;
21784 PyObject * obj1 = 0 ;
21785 PyObject * obj2 = 0 ;
21786 char *kwnames[] = {
21787 (char *) "self",(char *) "start",(char *) "data", NULL
21788 };
21789
21790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21793 arg2 = (long) SWIG_AsLong(obj1);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 arg3 = (long) SWIG_AsLong(obj2);
21796 if (PyErr_Occurred()) SWIG_fail;
21797 {
21798 PyThreadState* __tstate = wxPyBeginAllowThreads();
21799 result = (long)(arg1)->FindItem(arg2,arg3);
21800
21801 wxPyEndAllowThreads(__tstate);
21802 if (PyErr_Occurred()) SWIG_fail;
21803 }
21804 resultobj = SWIG_FromLong((long)result);
21805 return resultobj;
21806 fail:
21807 return NULL;
21808 }
21809
21810
21811 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
21812 PyObject *resultobj;
21813 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21814 long arg2 ;
21815 wxPoint *arg3 = 0 ;
21816 int arg4 ;
21817 long result;
21818 wxPoint temp3 ;
21819 PyObject * obj0 = 0 ;
21820 PyObject * obj1 = 0 ;
21821 PyObject * obj2 = 0 ;
21822 PyObject * obj3 = 0 ;
21823 char *kwnames[] = {
21824 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21825 };
21826
21827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21830 arg2 = (long) SWIG_AsLong(obj1);
21831 if (PyErr_Occurred()) SWIG_fail;
21832 {
21833 arg3 = &temp3;
21834 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21835 }
21836 arg4 = (int) SWIG_AsInt(obj3);
21837 if (PyErr_Occurred()) SWIG_fail;
21838 {
21839 PyThreadState* __tstate = wxPyBeginAllowThreads();
21840 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
21841
21842 wxPyEndAllowThreads(__tstate);
21843 if (PyErr_Occurred()) SWIG_fail;
21844 }
21845 resultobj = SWIG_FromLong((long)result);
21846 return resultobj;
21847 fail:
21848 return NULL;
21849 }
21850
21851
21852 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
21853 PyObject *resultobj;
21854 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21855 wxPoint *arg2 = 0 ;
21856 int *arg3 = 0 ;
21857 long result;
21858 wxPoint temp2 ;
21859 int temp3 ;
21860 PyObject * obj0 = 0 ;
21861 PyObject * obj1 = 0 ;
21862 char *kwnames[] = {
21863 (char *) "self",(char *) "point", NULL
21864 };
21865
21866 arg3 = &temp3;
21867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
21868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21870 {
21871 arg2 = &temp2;
21872 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21873 }
21874 {
21875 PyThreadState* __tstate = wxPyBeginAllowThreads();
21876 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
21877
21878 wxPyEndAllowThreads(__tstate);
21879 if (PyErr_Occurred()) SWIG_fail;
21880 }
21881 resultobj = SWIG_FromLong((long)result);
21882 {
21883 PyObject *o = PyInt_FromLong((long) (*arg3));
21884 resultobj = t_output_helper(resultobj,o);
21885 }
21886 return resultobj;
21887 fail:
21888 return NULL;
21889 }
21890
21891
21892 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21893 PyObject *resultobj;
21894 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21895 wxListItem *arg2 = 0 ;
21896 long result;
21897 PyObject * obj0 = 0 ;
21898 PyObject * obj1 = 0 ;
21899 char *kwnames[] = {
21900 (char *) "self",(char *) "info", NULL
21901 };
21902
21903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
21904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21906 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
21907 SWIG_POINTER_EXCEPTION | 0)) == -1)
21908 SWIG_fail;
21909 if (arg2 == NULL) {
21910 PyErr_SetString(PyExc_TypeError,"null reference");
21911 SWIG_fail;
21912 }
21913 {
21914 PyThreadState* __tstate = wxPyBeginAllowThreads();
21915 result = (long)(arg1)->InsertItem(*arg2);
21916
21917 wxPyEndAllowThreads(__tstate);
21918 if (PyErr_Occurred()) SWIG_fail;
21919 }
21920 resultobj = SWIG_FromLong((long)result);
21921 return resultobj;
21922 fail:
21923 return NULL;
21924 }
21925
21926
21927 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21928 PyObject *resultobj;
21929 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21930 long arg2 ;
21931 wxString *arg3 = 0 ;
21932 long result;
21933 bool temp3 = False ;
21934 PyObject * obj0 = 0 ;
21935 PyObject * obj1 = 0 ;
21936 PyObject * obj2 = 0 ;
21937 char *kwnames[] = {
21938 (char *) "self",(char *) "index",(char *) "label", NULL
21939 };
21940
21941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21944 arg2 = (long) SWIG_AsLong(obj1);
21945 if (PyErr_Occurred()) SWIG_fail;
21946 {
21947 arg3 = wxString_in_helper(obj2);
21948 if (arg3 == NULL) SWIG_fail;
21949 temp3 = True;
21950 }
21951 {
21952 PyThreadState* __tstate = wxPyBeginAllowThreads();
21953 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
21954
21955 wxPyEndAllowThreads(__tstate);
21956 if (PyErr_Occurred()) SWIG_fail;
21957 }
21958 resultobj = SWIG_FromLong((long)result);
21959 {
21960 if (temp3)
21961 delete arg3;
21962 }
21963 return resultobj;
21964 fail:
21965 {
21966 if (temp3)
21967 delete arg3;
21968 }
21969 return NULL;
21970 }
21971
21972
21973 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21974 PyObject *resultobj;
21975 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21976 long arg2 ;
21977 int arg3 ;
21978 long result;
21979 PyObject * obj0 = 0 ;
21980 PyObject * obj1 = 0 ;
21981 PyObject * obj2 = 0 ;
21982 char *kwnames[] = {
21983 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21984 };
21985
21986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21989 arg2 = (long) SWIG_AsLong(obj1);
21990 if (PyErr_Occurred()) SWIG_fail;
21991 arg3 = (int) SWIG_AsInt(obj2);
21992 if (PyErr_Occurred()) SWIG_fail;
21993 {
21994 PyThreadState* __tstate = wxPyBeginAllowThreads();
21995 result = (long)(arg1)->InsertItem(arg2,arg3);
21996
21997 wxPyEndAllowThreads(__tstate);
21998 if (PyErr_Occurred()) SWIG_fail;
21999 }
22000 resultobj = SWIG_FromLong((long)result);
22001 return resultobj;
22002 fail:
22003 return NULL;
22004 }
22005
22006
22007 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22008 PyObject *resultobj;
22009 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22010 long arg2 ;
22011 wxString *arg3 = 0 ;
22012 int arg4 ;
22013 long result;
22014 bool temp3 = False ;
22015 PyObject * obj0 = 0 ;
22016 PyObject * obj1 = 0 ;
22017 PyObject * obj2 = 0 ;
22018 PyObject * obj3 = 0 ;
22019 char *kwnames[] = {
22020 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22021 };
22022
22023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22026 arg2 = (long) SWIG_AsLong(obj1);
22027 if (PyErr_Occurred()) SWIG_fail;
22028 {
22029 arg3 = wxString_in_helper(obj2);
22030 if (arg3 == NULL) SWIG_fail;
22031 temp3 = True;
22032 }
22033 arg4 = (int) SWIG_AsInt(obj3);
22034 if (PyErr_Occurred()) SWIG_fail;
22035 {
22036 PyThreadState* __tstate = wxPyBeginAllowThreads();
22037 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
22038
22039 wxPyEndAllowThreads(__tstate);
22040 if (PyErr_Occurred()) SWIG_fail;
22041 }
22042 resultobj = SWIG_FromLong((long)result);
22043 {
22044 if (temp3)
22045 delete arg3;
22046 }
22047 return resultobj;
22048 fail:
22049 {
22050 if (temp3)
22051 delete arg3;
22052 }
22053 return NULL;
22054 }
22055
22056
22057 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22058 PyObject *resultobj;
22059 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22060 long arg2 ;
22061 wxListItem *arg3 = 0 ;
22062 long result;
22063 PyObject * obj0 = 0 ;
22064 PyObject * obj1 = 0 ;
22065 PyObject * obj2 = 0 ;
22066 char *kwnames[] = {
22067 (char *) "self",(char *) "col",(char *) "info", NULL
22068 };
22069
22070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22073 arg2 = (long) SWIG_AsLong(obj1);
22074 if (PyErr_Occurred()) SWIG_fail;
22075 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
22076 SWIG_POINTER_EXCEPTION | 0)) == -1)
22077 SWIG_fail;
22078 if (arg3 == NULL) {
22079 PyErr_SetString(PyExc_TypeError,"null reference");
22080 SWIG_fail;
22081 }
22082 {
22083 PyThreadState* __tstate = wxPyBeginAllowThreads();
22084 result = (long)(arg1)->InsertColumn(arg2,*arg3);
22085
22086 wxPyEndAllowThreads(__tstate);
22087 if (PyErr_Occurred()) SWIG_fail;
22088 }
22089 resultobj = SWIG_FromLong((long)result);
22090 return resultobj;
22091 fail:
22092 return NULL;
22093 }
22094
22095
22096 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22097 PyObject *resultobj;
22098 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22099 long arg2 ;
22100 wxString *arg3 = 0 ;
22101 int arg4 = (int) wxLIST_FORMAT_LEFT ;
22102 int arg5 = (int) -1 ;
22103 long result;
22104 bool temp3 = False ;
22105 PyObject * obj0 = 0 ;
22106 PyObject * obj1 = 0 ;
22107 PyObject * obj2 = 0 ;
22108 PyObject * obj3 = 0 ;
22109 PyObject * obj4 = 0 ;
22110 char *kwnames[] = {
22111 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22112 };
22113
22114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22117 arg2 = (long) SWIG_AsLong(obj1);
22118 if (PyErr_Occurred()) SWIG_fail;
22119 {
22120 arg3 = wxString_in_helper(obj2);
22121 if (arg3 == NULL) SWIG_fail;
22122 temp3 = True;
22123 }
22124 if (obj3) {
22125 arg4 = (int) SWIG_AsInt(obj3);
22126 if (PyErr_Occurred()) SWIG_fail;
22127 }
22128 if (obj4) {
22129 arg5 = (int) SWIG_AsInt(obj4);
22130 if (PyErr_Occurred()) SWIG_fail;
22131 }
22132 {
22133 PyThreadState* __tstate = wxPyBeginAllowThreads();
22134 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
22135
22136 wxPyEndAllowThreads(__tstate);
22137 if (PyErr_Occurred()) SWIG_fail;
22138 }
22139 resultobj = SWIG_FromLong((long)result);
22140 {
22141 if (temp3)
22142 delete arg3;
22143 }
22144 return resultobj;
22145 fail:
22146 {
22147 if (temp3)
22148 delete arg3;
22149 }
22150 return NULL;
22151 }
22152
22153
22154 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22155 PyObject *resultobj;
22156 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22157 long arg2 ;
22158 PyObject * obj0 = 0 ;
22159 PyObject * obj1 = 0 ;
22160 char *kwnames[] = {
22161 (char *) "self",(char *) "count", NULL
22162 };
22163
22164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
22165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22167 arg2 = (long) SWIG_AsLong(obj1);
22168 if (PyErr_Occurred()) SWIG_fail;
22169 {
22170 PyThreadState* __tstate = wxPyBeginAllowThreads();
22171 (arg1)->SetItemCount(arg2);
22172
22173 wxPyEndAllowThreads(__tstate);
22174 if (PyErr_Occurred()) SWIG_fail;
22175 }
22176 Py_INCREF(Py_None); resultobj = Py_None;
22177 return resultobj;
22178 fail:
22179 return NULL;
22180 }
22181
22182
22183 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
22184 PyObject *resultobj;
22185 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22186 int arg2 ;
22187 int arg3 ;
22188 bool result;
22189 PyObject * obj0 = 0 ;
22190 PyObject * obj1 = 0 ;
22191 PyObject * obj2 = 0 ;
22192 char *kwnames[] = {
22193 (char *) "self",(char *) "dx",(char *) "dy", NULL
22194 };
22195
22196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22199 arg2 = (int) SWIG_AsInt(obj1);
22200 if (PyErr_Occurred()) SWIG_fail;
22201 arg3 = (int) SWIG_AsInt(obj2);
22202 if (PyErr_Occurred()) SWIG_fail;
22203 {
22204 PyThreadState* __tstate = wxPyBeginAllowThreads();
22205 result = (bool)(arg1)->ScrollList(arg2,arg3);
22206
22207 wxPyEndAllowThreads(__tstate);
22208 if (PyErr_Occurred()) SWIG_fail;
22209 }
22210 {
22211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22212 }
22213 return resultobj;
22214 fail:
22215 return NULL;
22216 }
22217
22218
22219 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22220 PyObject *resultobj;
22221 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22222 long arg2 ;
22223 wxColour *arg3 = 0 ;
22224 wxColour temp3 ;
22225 PyObject * obj0 = 0 ;
22226 PyObject * obj1 = 0 ;
22227 PyObject * obj2 = 0 ;
22228 char *kwnames[] = {
22229 (char *) "self",(char *) "item",(char *) "col", NULL
22230 };
22231
22232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22235 arg2 = (long) SWIG_AsLong(obj1);
22236 if (PyErr_Occurred()) SWIG_fail;
22237 {
22238 arg3 = &temp3;
22239 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22240 }
22241 {
22242 PyThreadState* __tstate = wxPyBeginAllowThreads();
22243 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
22244
22245 wxPyEndAllowThreads(__tstate);
22246 if (PyErr_Occurred()) SWIG_fail;
22247 }
22248 Py_INCREF(Py_None); resultobj = Py_None;
22249 return resultobj;
22250 fail:
22251 return NULL;
22252 }
22253
22254
22255 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22256 PyObject *resultobj;
22257 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22258 long arg2 ;
22259 wxColour result;
22260 PyObject * obj0 = 0 ;
22261 PyObject * obj1 = 0 ;
22262 char *kwnames[] = {
22263 (char *) "self",(char *) "item", NULL
22264 };
22265
22266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
22267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22269 arg2 = (long) SWIG_AsLong(obj1);
22270 if (PyErr_Occurred()) SWIG_fail;
22271 {
22272 PyThreadState* __tstate = wxPyBeginAllowThreads();
22273 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
22274
22275 wxPyEndAllowThreads(__tstate);
22276 if (PyErr_Occurred()) SWIG_fail;
22277 }
22278 {
22279 wxColour * resultptr;
22280 resultptr = new wxColour((wxColour &) result);
22281 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22282 }
22283 return resultobj;
22284 fail:
22285 return NULL;
22286 }
22287
22288
22289 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22290 PyObject *resultobj;
22291 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22292 long arg2 ;
22293 wxColour *arg3 = 0 ;
22294 wxColour temp3 ;
22295 PyObject * obj0 = 0 ;
22296 PyObject * obj1 = 0 ;
22297 PyObject * obj2 = 0 ;
22298 char *kwnames[] = {
22299 (char *) "self",(char *) "item",(char *) "col", NULL
22300 };
22301
22302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22305 arg2 = (long) SWIG_AsLong(obj1);
22306 if (PyErr_Occurred()) SWIG_fail;
22307 {
22308 arg3 = &temp3;
22309 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22310 }
22311 {
22312 PyThreadState* __tstate = wxPyBeginAllowThreads();
22313 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
22314
22315 wxPyEndAllowThreads(__tstate);
22316 if (PyErr_Occurred()) SWIG_fail;
22317 }
22318 Py_INCREF(Py_None); resultobj = Py_None;
22319 return resultobj;
22320 fail:
22321 return NULL;
22322 }
22323
22324
22325 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22326 PyObject *resultobj;
22327 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22328 long arg2 ;
22329 wxColour result;
22330 PyObject * obj0 = 0 ;
22331 PyObject * obj1 = 0 ;
22332 char *kwnames[] = {
22333 (char *) "self",(char *) "item", NULL
22334 };
22335
22336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22339 arg2 = (long) SWIG_AsLong(obj1);
22340 if (PyErr_Occurred()) SWIG_fail;
22341 {
22342 PyThreadState* __tstate = wxPyBeginAllowThreads();
22343 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
22344
22345 wxPyEndAllowThreads(__tstate);
22346 if (PyErr_Occurred()) SWIG_fail;
22347 }
22348 {
22349 wxColour * resultptr;
22350 resultptr = new wxColour((wxColour &) result);
22351 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22352 }
22353 return resultobj;
22354 fail:
22355 return NULL;
22356 }
22357
22358
22359 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22360 PyObject *resultobj;
22361 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22362 PyObject *arg2 = (PyObject *) 0 ;
22363 bool result;
22364 PyObject * obj0 = 0 ;
22365 PyObject * obj1 = 0 ;
22366 char *kwnames[] = {
22367 (char *) "self",(char *) "func", NULL
22368 };
22369
22370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
22371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22373 arg2 = obj1;
22374 {
22375 PyThreadState* __tstate = wxPyBeginAllowThreads();
22376 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
22377
22378 wxPyEndAllowThreads(__tstate);
22379 if (PyErr_Occurred()) SWIG_fail;
22380 }
22381 {
22382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22383 }
22384 return resultobj;
22385 fail:
22386 return NULL;
22387 }
22388
22389
22390 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
22391 PyObject *resultobj;
22392 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22393 wxWindow *result;
22394 PyObject * obj0 = 0 ;
22395 char *kwnames[] = {
22396 (char *) "self", NULL
22397 };
22398
22399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
22400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22402 {
22403 PyThreadState* __tstate = wxPyBeginAllowThreads();
22404 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
22405
22406 wxPyEndAllowThreads(__tstate);
22407 if (PyErr_Occurred()) SWIG_fail;
22408 }
22409 {
22410 resultobj = wxPyMake_wxObject(result);
22411 }
22412 return resultobj;
22413 fail:
22414 return NULL;
22415 }
22416
22417
22418 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
22419 PyObject *resultobj;
22420 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
22421 wxVisualAttributes result;
22422 PyObject * obj0 = 0 ;
22423 char *kwnames[] = {
22424 (char *) "variant", NULL
22425 };
22426
22427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
22428 if (obj0) {
22429 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
22430 if (PyErr_Occurred()) SWIG_fail;
22431 }
22432 {
22433 PyThreadState* __tstate = wxPyBeginAllowThreads();
22434 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
22435
22436 wxPyEndAllowThreads(__tstate);
22437 if (PyErr_Occurred()) SWIG_fail;
22438 }
22439 {
22440 wxVisualAttributes * resultptr;
22441 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
22442 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
22443 }
22444 return resultobj;
22445 fail:
22446 return NULL;
22447 }
22448
22449
22450 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
22451 PyObject *obj;
22452 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22453 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
22454 Py_INCREF(obj);
22455 return Py_BuildValue((char *)"");
22456 }
22457 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22458 PyObject *resultobj;
22459 wxWindow *arg1 = (wxWindow *) 0 ;
22460 int arg2 = (int) -1 ;
22461 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22462 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22463 wxSize const &arg4_defvalue = wxDefaultSize ;
22464 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22465 long arg5 = (long) wxLC_REPORT ;
22466 wxValidator const &arg6_defvalue = wxDefaultValidator ;
22467 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
22468 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
22469 wxString *arg7 = (wxString *) &arg7_defvalue ;
22470 wxListView *result;
22471 wxPoint temp3 ;
22472 wxSize temp4 ;
22473 bool temp7 = False ;
22474 PyObject * obj0 = 0 ;
22475 PyObject * obj1 = 0 ;
22476 PyObject * obj2 = 0 ;
22477 PyObject * obj3 = 0 ;
22478 PyObject * obj4 = 0 ;
22479 PyObject * obj5 = 0 ;
22480 PyObject * obj6 = 0 ;
22481 char *kwnames[] = {
22482 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22483 };
22484
22485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22488 if (obj1) {
22489 arg2 = (int) SWIG_AsInt(obj1);
22490 if (PyErr_Occurred()) SWIG_fail;
22491 }
22492 if (obj2) {
22493 {
22494 arg3 = &temp3;
22495 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22496 }
22497 }
22498 if (obj3) {
22499 {
22500 arg4 = &temp4;
22501 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22502 }
22503 }
22504 if (obj4) {
22505 arg5 = (long) SWIG_AsLong(obj4);
22506 if (PyErr_Occurred()) SWIG_fail;
22507 }
22508 if (obj5) {
22509 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
22510 SWIG_POINTER_EXCEPTION | 0)) == -1)
22511 SWIG_fail;
22512 if (arg6 == NULL) {
22513 PyErr_SetString(PyExc_TypeError,"null reference");
22514 SWIG_fail;
22515 }
22516 }
22517 if (obj6) {
22518 {
22519 arg7 = wxString_in_helper(obj6);
22520 if (arg7 == NULL) SWIG_fail;
22521 temp7 = True;
22522 }
22523 }
22524 {
22525 PyThreadState* __tstate = wxPyBeginAllowThreads();
22526 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22527
22528 wxPyEndAllowThreads(__tstate);
22529 if (PyErr_Occurred()) SWIG_fail;
22530 }
22531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22532 {
22533 if (temp7)
22534 delete arg7;
22535 }
22536 return resultobj;
22537 fail:
22538 {
22539 if (temp7)
22540 delete arg7;
22541 }
22542 return NULL;
22543 }
22544
22545
22546 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22547 PyObject *resultobj;
22548 wxListView *result;
22549 char *kwnames[] = {
22550 NULL
22551 };
22552
22553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22554 {
22555 PyThreadState* __tstate = wxPyBeginAllowThreads();
22556 result = (wxListView *)new wxListView();
22557
22558 wxPyEndAllowThreads(__tstate);
22559 if (PyErr_Occurred()) SWIG_fail;
22560 }
22561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22562 return resultobj;
22563 fail:
22564 return NULL;
22565 }
22566
22567
22568 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22569 PyObject *resultobj;
22570 wxListView *arg1 = (wxListView *) 0 ;
22571 wxWindow *arg2 = (wxWindow *) 0 ;
22572 int arg3 = (int) -1 ;
22573 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22574 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22575 wxSize const &arg5_defvalue = wxDefaultSize ;
22576 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22577 long arg6 = (long) wxLC_REPORT ;
22578 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22579 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22580 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22581 wxString *arg8 = (wxString *) &arg8_defvalue ;
22582 bool result;
22583 wxPoint temp4 ;
22584 wxSize temp5 ;
22585 bool temp8 = False ;
22586 PyObject * obj0 = 0 ;
22587 PyObject * obj1 = 0 ;
22588 PyObject * obj2 = 0 ;
22589 PyObject * obj3 = 0 ;
22590 PyObject * obj4 = 0 ;
22591 PyObject * obj5 = 0 ;
22592 PyObject * obj6 = 0 ;
22593 PyObject * obj7 = 0 ;
22594 char *kwnames[] = {
22595 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22596 };
22597
22598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
22599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22601 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22603 if (obj2) {
22604 arg3 = (int) SWIG_AsInt(obj2);
22605 if (PyErr_Occurred()) SWIG_fail;
22606 }
22607 if (obj3) {
22608 {
22609 arg4 = &temp4;
22610 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22611 }
22612 }
22613 if (obj4) {
22614 {
22615 arg5 = &temp5;
22616 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22617 }
22618 }
22619 if (obj5) {
22620 arg6 = (long) SWIG_AsLong(obj5);
22621 if (PyErr_Occurred()) SWIG_fail;
22622 }
22623 if (obj6) {
22624 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
22625 SWIG_POINTER_EXCEPTION | 0)) == -1)
22626 SWIG_fail;
22627 if (arg7 == NULL) {
22628 PyErr_SetString(PyExc_TypeError,"null reference");
22629 SWIG_fail;
22630 }
22631 }
22632 if (obj7) {
22633 {
22634 arg8 = wxString_in_helper(obj7);
22635 if (arg8 == NULL) SWIG_fail;
22636 temp8 = True;
22637 }
22638 }
22639 {
22640 PyThreadState* __tstate = wxPyBeginAllowThreads();
22641 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22642
22643 wxPyEndAllowThreads(__tstate);
22644 if (PyErr_Occurred()) SWIG_fail;
22645 }
22646 {
22647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22648 }
22649 {
22650 if (temp8)
22651 delete arg8;
22652 }
22653 return resultobj;
22654 fail:
22655 {
22656 if (temp8)
22657 delete arg8;
22658 }
22659 return NULL;
22660 }
22661
22662
22663 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
22664 PyObject *resultobj;
22665 wxListView *arg1 = (wxListView *) 0 ;
22666 long arg2 ;
22667 bool arg3 = (bool) True ;
22668 PyObject * obj0 = 0 ;
22669 PyObject * obj1 = 0 ;
22670 PyObject * obj2 = 0 ;
22671 char *kwnames[] = {
22672 (char *) "self",(char *) "n",(char *) "on", NULL
22673 };
22674
22675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
22676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22678 arg2 = (long) SWIG_AsLong(obj1);
22679 if (PyErr_Occurred()) SWIG_fail;
22680 if (obj2) {
22681 arg3 = (bool) SWIG_AsBool(obj2);
22682 if (PyErr_Occurred()) SWIG_fail;
22683 }
22684 {
22685 PyThreadState* __tstate = wxPyBeginAllowThreads();
22686 (arg1)->Select(arg2,arg3);
22687
22688 wxPyEndAllowThreads(__tstate);
22689 if (PyErr_Occurred()) SWIG_fail;
22690 }
22691 Py_INCREF(Py_None); resultobj = Py_None;
22692 return resultobj;
22693 fail:
22694 return NULL;
22695 }
22696
22697
22698 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
22699 PyObject *resultobj;
22700 wxListView *arg1 = (wxListView *) 0 ;
22701 long arg2 ;
22702 PyObject * obj0 = 0 ;
22703 PyObject * obj1 = 0 ;
22704 char *kwnames[] = {
22705 (char *) "self",(char *) "index", NULL
22706 };
22707
22708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
22709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22711 arg2 = (long) SWIG_AsLong(obj1);
22712 if (PyErr_Occurred()) SWIG_fail;
22713 {
22714 PyThreadState* __tstate = wxPyBeginAllowThreads();
22715 (arg1)->Focus(arg2);
22716
22717 wxPyEndAllowThreads(__tstate);
22718 if (PyErr_Occurred()) SWIG_fail;
22719 }
22720 Py_INCREF(Py_None); resultobj = Py_None;
22721 return resultobj;
22722 fail:
22723 return NULL;
22724 }
22725
22726
22727 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22728 PyObject *resultobj;
22729 wxListView *arg1 = (wxListView *) 0 ;
22730 long result;
22731 PyObject * obj0 = 0 ;
22732 char *kwnames[] = {
22733 (char *) "self", NULL
22734 };
22735
22736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
22737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22739 {
22740 PyThreadState* __tstate = wxPyBeginAllowThreads();
22741 result = (long)((wxListView const *)arg1)->GetFocusedItem();
22742
22743 wxPyEndAllowThreads(__tstate);
22744 if (PyErr_Occurred()) SWIG_fail;
22745 }
22746 resultobj = SWIG_FromLong((long)result);
22747 return resultobj;
22748 fail:
22749 return NULL;
22750 }
22751
22752
22753 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22754 PyObject *resultobj;
22755 wxListView *arg1 = (wxListView *) 0 ;
22756 long arg2 ;
22757 long result;
22758 PyObject * obj0 = 0 ;
22759 PyObject * obj1 = 0 ;
22760 char *kwnames[] = {
22761 (char *) "self",(char *) "item", NULL
22762 };
22763
22764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
22765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22767 arg2 = (long) SWIG_AsLong(obj1);
22768 if (PyErr_Occurred()) SWIG_fail;
22769 {
22770 PyThreadState* __tstate = wxPyBeginAllowThreads();
22771 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
22772
22773 wxPyEndAllowThreads(__tstate);
22774 if (PyErr_Occurred()) SWIG_fail;
22775 }
22776 resultobj = SWIG_FromLong((long)result);
22777 return resultobj;
22778 fail:
22779 return NULL;
22780 }
22781
22782
22783 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22784 PyObject *resultobj;
22785 wxListView *arg1 = (wxListView *) 0 ;
22786 long result;
22787 PyObject * obj0 = 0 ;
22788 char *kwnames[] = {
22789 (char *) "self", NULL
22790 };
22791
22792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
22793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22795 {
22796 PyThreadState* __tstate = wxPyBeginAllowThreads();
22797 result = (long)((wxListView const *)arg1)->GetFirstSelected();
22798
22799 wxPyEndAllowThreads(__tstate);
22800 if (PyErr_Occurred()) SWIG_fail;
22801 }
22802 resultobj = SWIG_FromLong((long)result);
22803 return resultobj;
22804 fail:
22805 return NULL;
22806 }
22807
22808
22809 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22810 PyObject *resultobj;
22811 wxListView *arg1 = (wxListView *) 0 ;
22812 long arg2 ;
22813 bool result;
22814 PyObject * obj0 = 0 ;
22815 PyObject * obj1 = 0 ;
22816 char *kwnames[] = {
22817 (char *) "self",(char *) "index", NULL
22818 };
22819
22820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22823 arg2 = (long) SWIG_AsLong(obj1);
22824 if (PyErr_Occurred()) SWIG_fail;
22825 {
22826 PyThreadState* __tstate = wxPyBeginAllowThreads();
22827 result = (bool)(arg1)->IsSelected(arg2);
22828
22829 wxPyEndAllowThreads(__tstate);
22830 if (PyErr_Occurred()) SWIG_fail;
22831 }
22832 {
22833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22834 }
22835 return resultobj;
22836 fail:
22837 return NULL;
22838 }
22839
22840
22841 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22842 PyObject *resultobj;
22843 wxListView *arg1 = (wxListView *) 0 ;
22844 int arg2 ;
22845 int arg3 ;
22846 PyObject * obj0 = 0 ;
22847 PyObject * obj1 = 0 ;
22848 PyObject * obj2 = 0 ;
22849 char *kwnames[] = {
22850 (char *) "self",(char *) "col",(char *) "image", NULL
22851 };
22852
22853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22856 arg2 = (int) SWIG_AsInt(obj1);
22857 if (PyErr_Occurred()) SWIG_fail;
22858 arg3 = (int) SWIG_AsInt(obj2);
22859 if (PyErr_Occurred()) SWIG_fail;
22860 {
22861 PyThreadState* __tstate = wxPyBeginAllowThreads();
22862 (arg1)->SetColumnImage(arg2,arg3);
22863
22864 wxPyEndAllowThreads(__tstate);
22865 if (PyErr_Occurred()) SWIG_fail;
22866 }
22867 Py_INCREF(Py_None); resultobj = Py_None;
22868 return resultobj;
22869 fail:
22870 return NULL;
22871 }
22872
22873
22874 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22875 PyObject *resultobj;
22876 wxListView *arg1 = (wxListView *) 0 ;
22877 int arg2 ;
22878 PyObject * obj0 = 0 ;
22879 PyObject * obj1 = 0 ;
22880 char *kwnames[] = {
22881 (char *) "self",(char *) "col", NULL
22882 };
22883
22884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
22885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22887 arg2 = (int) SWIG_AsInt(obj1);
22888 if (PyErr_Occurred()) SWIG_fail;
22889 {
22890 PyThreadState* __tstate = wxPyBeginAllowThreads();
22891 (arg1)->ClearColumnImage(arg2);
22892
22893 wxPyEndAllowThreads(__tstate);
22894 if (PyErr_Occurred()) SWIG_fail;
22895 }
22896 Py_INCREF(Py_None); resultobj = Py_None;
22897 return resultobj;
22898 fail:
22899 return NULL;
22900 }
22901
22902
22903 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
22904 PyObject *obj;
22905 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22906 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
22907 Py_INCREF(obj);
22908 return Py_BuildValue((char *)"");
22909 }
22910 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
22911 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
22912 return 1;
22913 }
22914
22915
22916 static PyObject *_wrap_TreeCtrlNameStr_get() {
22917 PyObject *pyobj;
22918
22919 {
22920 #if wxUSE_UNICODE
22921 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22922 #else
22923 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22924 #endif
22925 }
22926 return pyobj;
22927 }
22928
22929
22930 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22931 PyObject *resultobj;
22932 wxTreeItemId *result;
22933 char *kwnames[] = {
22934 NULL
22935 };
22936
22937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
22938 {
22939 PyThreadState* __tstate = wxPyBeginAllowThreads();
22940 result = (wxTreeItemId *)new wxTreeItemId();
22941
22942 wxPyEndAllowThreads(__tstate);
22943 if (PyErr_Occurred()) SWIG_fail;
22944 }
22945 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
22946 return resultobj;
22947 fail:
22948 return NULL;
22949 }
22950
22951
22952 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22953 PyObject *resultobj;
22954 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22955 PyObject * obj0 = 0 ;
22956 char *kwnames[] = {
22957 (char *) "self", NULL
22958 };
22959
22960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
22961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22963 {
22964 PyThreadState* __tstate = wxPyBeginAllowThreads();
22965 delete arg1;
22966
22967 wxPyEndAllowThreads(__tstate);
22968 if (PyErr_Occurred()) SWIG_fail;
22969 }
22970 Py_INCREF(Py_None); resultobj = Py_None;
22971 return resultobj;
22972 fail:
22973 return NULL;
22974 }
22975
22976
22977 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
22978 PyObject *resultobj;
22979 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22980 bool result;
22981 PyObject * obj0 = 0 ;
22982 char *kwnames[] = {
22983 (char *) "self", NULL
22984 };
22985
22986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
22987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22989 {
22990 PyThreadState* __tstate = wxPyBeginAllowThreads();
22991 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
22992
22993 wxPyEndAllowThreads(__tstate);
22994 if (PyErr_Occurred()) SWIG_fail;
22995 }
22996 {
22997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22998 }
22999 return resultobj;
23000 fail:
23001 return NULL;
23002 }
23003
23004
23005 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23006 PyObject *resultobj;
23007 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23008 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
23009 bool result;
23010 PyObject * obj0 = 0 ;
23011 PyObject * obj1 = 0 ;
23012 char *kwnames[] = {
23013 (char *) "self",(char *) "other", NULL
23014 };
23015
23016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
23017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23019 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23021 {
23022 PyThreadState* __tstate = wxPyBeginAllowThreads();
23023 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
23024
23025 wxPyEndAllowThreads(__tstate);
23026 if (PyErr_Occurred()) SWIG_fail;
23027 }
23028 {
23029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23030 }
23031 return resultobj;
23032 fail:
23033 return NULL;
23034 }
23035
23036
23037 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23038 PyObject *resultobj;
23039 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23040 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
23041 bool result;
23042 PyObject * obj0 = 0 ;
23043 PyObject * obj1 = 0 ;
23044 char *kwnames[] = {
23045 (char *) "self",(char *) "other", NULL
23046 };
23047
23048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
23049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23051 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23053 {
23054 PyThreadState* __tstate = wxPyBeginAllowThreads();
23055 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
23056
23057 wxPyEndAllowThreads(__tstate);
23058 if (PyErr_Occurred()) SWIG_fail;
23059 }
23060 {
23061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23062 }
23063 return resultobj;
23064 fail:
23065 return NULL;
23066 }
23067
23068
23069 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
23070 PyObject *resultobj;
23071 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23072 void *arg2 = (void *) 0 ;
23073 PyObject * obj0 = 0 ;
23074 PyObject * obj1 = 0 ;
23075 char *kwnames[] = {
23076 (char *) "self",(char *) "m_pItem", NULL
23077 };
23078
23079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
23080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23082 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
23083 if (arg1) (arg1)->m_pItem = arg2;
23084
23085 Py_INCREF(Py_None); resultobj = Py_None;
23086 return resultobj;
23087 fail:
23088 return NULL;
23089 }
23090
23091
23092 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
23093 PyObject *resultobj;
23094 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23095 void *result;
23096 PyObject * obj0 = 0 ;
23097 char *kwnames[] = {
23098 (char *) "self", NULL
23099 };
23100
23101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
23102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23104 result = (void *) ((arg1)->m_pItem);
23105
23106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
23107 return resultobj;
23108 fail:
23109 return NULL;
23110 }
23111
23112
23113 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
23114 PyObject *obj;
23115 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23116 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
23117 Py_INCREF(obj);
23118 return Py_BuildValue((char *)"");
23119 }
23120 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
23121 PyObject *resultobj;
23122 PyObject *arg1 = (PyObject *) NULL ;
23123 wxPyTreeItemData *result;
23124 PyObject * obj0 = 0 ;
23125 char *kwnames[] = {
23126 (char *) "obj", NULL
23127 };
23128
23129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
23130 if (obj0) {
23131 arg1 = obj0;
23132 }
23133 {
23134 PyThreadState* __tstate = wxPyBeginAllowThreads();
23135 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
23136
23137 wxPyEndAllowThreads(__tstate);
23138 if (PyErr_Occurred()) SWIG_fail;
23139 }
23140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
23141 return resultobj;
23142 fail:
23143 return NULL;
23144 }
23145
23146
23147 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23148 PyObject *resultobj;
23149 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23150 PyObject *result;
23151 PyObject * obj0 = 0 ;
23152 char *kwnames[] = {
23153 (char *) "self", NULL
23154 };
23155
23156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
23157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23159 {
23160 PyThreadState* __tstate = wxPyBeginAllowThreads();
23161 result = (PyObject *)(arg1)->GetData();
23162
23163 wxPyEndAllowThreads(__tstate);
23164 if (PyErr_Occurred()) SWIG_fail;
23165 }
23166 resultobj = result;
23167 return resultobj;
23168 fail:
23169 return NULL;
23170 }
23171
23172
23173 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23174 PyObject *resultobj;
23175 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23176 PyObject *arg2 = (PyObject *) 0 ;
23177 PyObject * obj0 = 0 ;
23178 PyObject * obj1 = 0 ;
23179 char *kwnames[] = {
23180 (char *) "self",(char *) "obj", NULL
23181 };
23182
23183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
23184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23186 arg2 = obj1;
23187 {
23188 PyThreadState* __tstate = wxPyBeginAllowThreads();
23189 (arg1)->SetData(arg2);
23190
23191 wxPyEndAllowThreads(__tstate);
23192 if (PyErr_Occurred()) SWIG_fail;
23193 }
23194 Py_INCREF(Py_None); resultobj = Py_None;
23195 return resultobj;
23196 fail:
23197 return NULL;
23198 }
23199
23200
23201 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23202 PyObject *resultobj;
23203 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23204 wxTreeItemId *result;
23205 PyObject * obj0 = 0 ;
23206 char *kwnames[] = {
23207 (char *) "self", NULL
23208 };
23209
23210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
23211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23213 {
23214 PyThreadState* __tstate = wxPyBeginAllowThreads();
23215 {
23216 wxTreeItemId const &_result_ref = (arg1)->GetId();
23217 result = (wxTreeItemId *) &_result_ref;
23218 }
23219
23220 wxPyEndAllowThreads(__tstate);
23221 if (PyErr_Occurred()) SWIG_fail;
23222 }
23223 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
23224 return resultobj;
23225 fail:
23226 return NULL;
23227 }
23228
23229
23230 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23231 PyObject *resultobj;
23232 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23233 wxTreeItemId *arg2 = 0 ;
23234 PyObject * obj0 = 0 ;
23235 PyObject * obj1 = 0 ;
23236 char *kwnames[] = {
23237 (char *) "self",(char *) "id", NULL
23238 };
23239
23240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
23241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23243 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23244 SWIG_POINTER_EXCEPTION | 0)) == -1)
23245 SWIG_fail;
23246 if (arg2 == NULL) {
23247 PyErr_SetString(PyExc_TypeError,"null reference");
23248 SWIG_fail;
23249 }
23250 {
23251 PyThreadState* __tstate = wxPyBeginAllowThreads();
23252 (arg1)->SetId((wxTreeItemId const &)*arg2);
23253
23254 wxPyEndAllowThreads(__tstate);
23255 if (PyErr_Occurred()) SWIG_fail;
23256 }
23257 Py_INCREF(Py_None); resultobj = Py_None;
23258 return resultobj;
23259 fail:
23260 return NULL;
23261 }
23262
23263
23264 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
23265 PyObject *resultobj;
23266 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23267 PyObject * obj0 = 0 ;
23268 char *kwnames[] = {
23269 (char *) "self", NULL
23270 };
23271
23272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
23273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23275 {
23276 PyThreadState* __tstate = wxPyBeginAllowThreads();
23277 wxPyTreeItemData_Destroy(arg1);
23278
23279 wxPyEndAllowThreads(__tstate);
23280 if (PyErr_Occurred()) SWIG_fail;
23281 }
23282 Py_INCREF(Py_None); resultobj = Py_None;
23283 return resultobj;
23284 fail:
23285 return NULL;
23286 }
23287
23288
23289 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
23290 PyObject *obj;
23291 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23292 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
23293 Py_INCREF(obj);
23294 return Py_BuildValue((char *)"");
23295 }
23296 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23297 PyObject *resultobj;
23298 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23299 int arg2 = (int) 0 ;
23300 wxTreeEvent *result;
23301 PyObject * obj0 = 0 ;
23302 PyObject * obj1 = 0 ;
23303 char *kwnames[] = {
23304 (char *) "commandType",(char *) "id", NULL
23305 };
23306
23307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
23308 if (obj0) {
23309 arg1 = (wxEventType) SWIG_AsInt(obj0);
23310 if (PyErr_Occurred()) SWIG_fail;
23311 }
23312 if (obj1) {
23313 arg2 = (int) SWIG_AsInt(obj1);
23314 if (PyErr_Occurred()) SWIG_fail;
23315 }
23316 {
23317 PyThreadState* __tstate = wxPyBeginAllowThreads();
23318 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
23319
23320 wxPyEndAllowThreads(__tstate);
23321 if (PyErr_Occurred()) SWIG_fail;
23322 }
23323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
23324 return resultobj;
23325 fail:
23326 return NULL;
23327 }
23328
23329
23330 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23331 PyObject *resultobj;
23332 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23333 wxTreeItemId result;
23334 PyObject * obj0 = 0 ;
23335 char *kwnames[] = {
23336 (char *) "self", NULL
23337 };
23338
23339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
23340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23342 {
23343 PyThreadState* __tstate = wxPyBeginAllowThreads();
23344 result = ((wxTreeEvent const *)arg1)->GetItem();
23345
23346 wxPyEndAllowThreads(__tstate);
23347 if (PyErr_Occurred()) SWIG_fail;
23348 }
23349 {
23350 wxTreeItemId * resultptr;
23351 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23352 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23353 }
23354 return resultobj;
23355 fail:
23356 return NULL;
23357 }
23358
23359
23360 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23361 PyObject *resultobj;
23362 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23363 wxTreeItemId *arg2 = 0 ;
23364 PyObject * obj0 = 0 ;
23365 PyObject * obj1 = 0 ;
23366 char *kwnames[] = {
23367 (char *) "self",(char *) "item", NULL
23368 };
23369
23370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
23371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23373 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23374 SWIG_POINTER_EXCEPTION | 0)) == -1)
23375 SWIG_fail;
23376 if (arg2 == NULL) {
23377 PyErr_SetString(PyExc_TypeError,"null reference");
23378 SWIG_fail;
23379 }
23380 {
23381 PyThreadState* __tstate = wxPyBeginAllowThreads();
23382 (arg1)->SetItem((wxTreeItemId const &)*arg2);
23383
23384 wxPyEndAllowThreads(__tstate);
23385 if (PyErr_Occurred()) SWIG_fail;
23386 }
23387 Py_INCREF(Py_None); resultobj = Py_None;
23388 return resultobj;
23389 fail:
23390 return NULL;
23391 }
23392
23393
23394 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23395 PyObject *resultobj;
23396 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23397 wxTreeItemId result;
23398 PyObject * obj0 = 0 ;
23399 char *kwnames[] = {
23400 (char *) "self", NULL
23401 };
23402
23403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
23404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23406 {
23407 PyThreadState* __tstate = wxPyBeginAllowThreads();
23408 result = ((wxTreeEvent const *)arg1)->GetOldItem();
23409
23410 wxPyEndAllowThreads(__tstate);
23411 if (PyErr_Occurred()) SWIG_fail;
23412 }
23413 {
23414 wxTreeItemId * resultptr;
23415 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23416 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23417 }
23418 return resultobj;
23419 fail:
23420 return NULL;
23421 }
23422
23423
23424 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23425 PyObject *resultobj;
23426 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23427 wxTreeItemId *arg2 = 0 ;
23428 PyObject * obj0 = 0 ;
23429 PyObject * obj1 = 0 ;
23430 char *kwnames[] = {
23431 (char *) "self",(char *) "item", NULL
23432 };
23433
23434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
23435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23437 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23438 SWIG_POINTER_EXCEPTION | 0)) == -1)
23439 SWIG_fail;
23440 if (arg2 == NULL) {
23441 PyErr_SetString(PyExc_TypeError,"null reference");
23442 SWIG_fail;
23443 }
23444 {
23445 PyThreadState* __tstate = wxPyBeginAllowThreads();
23446 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
23447
23448 wxPyEndAllowThreads(__tstate);
23449 if (PyErr_Occurred()) SWIG_fail;
23450 }
23451 Py_INCREF(Py_None); resultobj = Py_None;
23452 return resultobj;
23453 fail:
23454 return NULL;
23455 }
23456
23457
23458 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23459 PyObject *resultobj;
23460 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23461 wxPoint result;
23462 PyObject * obj0 = 0 ;
23463 char *kwnames[] = {
23464 (char *) "self", NULL
23465 };
23466
23467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
23468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23470 {
23471 PyThreadState* __tstate = wxPyBeginAllowThreads();
23472 result = ((wxTreeEvent const *)arg1)->GetPoint();
23473
23474 wxPyEndAllowThreads(__tstate);
23475 if (PyErr_Occurred()) SWIG_fail;
23476 }
23477 {
23478 wxPoint * resultptr;
23479 resultptr = new wxPoint((wxPoint &) result);
23480 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23481 }
23482 return resultobj;
23483 fail:
23484 return NULL;
23485 }
23486
23487
23488 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23489 PyObject *resultobj;
23490 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23491 wxPoint *arg2 = 0 ;
23492 wxPoint temp2 ;
23493 PyObject * obj0 = 0 ;
23494 PyObject * obj1 = 0 ;
23495 char *kwnames[] = {
23496 (char *) "self",(char *) "pt", NULL
23497 };
23498
23499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
23500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23502 {
23503 arg2 = &temp2;
23504 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23505 }
23506 {
23507 PyThreadState* __tstate = wxPyBeginAllowThreads();
23508 (arg1)->SetPoint((wxPoint 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_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23521 PyObject *resultobj;
23522 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23523 wxKeyEvent *result;
23524 PyObject * obj0 = 0 ;
23525 char *kwnames[] = {
23526 (char *) "self", NULL
23527 };
23528
23529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",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 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23536 result = (wxKeyEvent *) &_result_ref;
23537 }
23538
23539 wxPyEndAllowThreads(__tstate);
23540 if (PyErr_Occurred()) SWIG_fail;
23541 }
23542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
23543 return resultobj;
23544 fail:
23545 return NULL;
23546 }
23547
23548
23549 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
23550 PyObject *resultobj;
23551 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23552 int result;
23553 PyObject * obj0 = 0 ;
23554 char *kwnames[] = {
23555 (char *) "self", NULL
23556 };
23557
23558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23561 {
23562 PyThreadState* __tstate = wxPyBeginAllowThreads();
23563 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23564
23565 wxPyEndAllowThreads(__tstate);
23566 if (PyErr_Occurred()) SWIG_fail;
23567 }
23568 resultobj = SWIG_FromInt((int)result);
23569 return resultobj;
23570 fail:
23571 return NULL;
23572 }
23573
23574
23575 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23576 PyObject *resultobj;
23577 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23578 wxKeyEvent *arg2 = 0 ;
23579 PyObject * obj0 = 0 ;
23580 PyObject * obj1 = 0 ;
23581 char *kwnames[] = {
23582 (char *) "self",(char *) "evt", NULL
23583 };
23584
23585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
23586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23588 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
23589 SWIG_POINTER_EXCEPTION | 0)) == -1)
23590 SWIG_fail;
23591 if (arg2 == NULL) {
23592 PyErr_SetString(PyExc_TypeError,"null reference");
23593 SWIG_fail;
23594 }
23595 {
23596 PyThreadState* __tstate = wxPyBeginAllowThreads();
23597 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23598
23599 wxPyEndAllowThreads(__tstate);
23600 if (PyErr_Occurred()) SWIG_fail;
23601 }
23602 Py_INCREF(Py_None); resultobj = Py_None;
23603 return resultobj;
23604 fail:
23605 return NULL;
23606 }
23607
23608
23609 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23610 PyObject *resultobj;
23611 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23612 wxString *result;
23613 PyObject * obj0 = 0 ;
23614 char *kwnames[] = {
23615 (char *) "self", NULL
23616 };
23617
23618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
23619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23621 {
23622 PyThreadState* __tstate = wxPyBeginAllowThreads();
23623 {
23624 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23625 result = (wxString *) &_result_ref;
23626 }
23627
23628 wxPyEndAllowThreads(__tstate);
23629 if (PyErr_Occurred()) SWIG_fail;
23630 }
23631 {
23632 #if wxUSE_UNICODE
23633 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23634 #else
23635 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23636 #endif
23637 }
23638 return resultobj;
23639 fail:
23640 return NULL;
23641 }
23642
23643
23644 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23645 PyObject *resultobj;
23646 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23647 wxString *arg2 = 0 ;
23648 bool temp2 = False ;
23649 PyObject * obj0 = 0 ;
23650 PyObject * obj1 = 0 ;
23651 char *kwnames[] = {
23652 (char *) "self",(char *) "label", NULL
23653 };
23654
23655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
23656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23658 {
23659 arg2 = wxString_in_helper(obj1);
23660 if (arg2 == NULL) SWIG_fail;
23661 temp2 = True;
23662 }
23663 {
23664 PyThreadState* __tstate = wxPyBeginAllowThreads();
23665 (arg1)->SetLabel((wxString const &)*arg2);
23666
23667 wxPyEndAllowThreads(__tstate);
23668 if (PyErr_Occurred()) SWIG_fail;
23669 }
23670 Py_INCREF(Py_None); resultobj = Py_None;
23671 {
23672 if (temp2)
23673 delete arg2;
23674 }
23675 return resultobj;
23676 fail:
23677 {
23678 if (temp2)
23679 delete arg2;
23680 }
23681 return NULL;
23682 }
23683
23684
23685 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
23686 PyObject *resultobj;
23687 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23688 bool result;
23689 PyObject * obj0 = 0 ;
23690 char *kwnames[] = {
23691 (char *) "self", NULL
23692 };
23693
23694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23697 {
23698 PyThreadState* __tstate = wxPyBeginAllowThreads();
23699 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23700
23701 wxPyEndAllowThreads(__tstate);
23702 if (PyErr_Occurred()) SWIG_fail;
23703 }
23704 {
23705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23706 }
23707 return resultobj;
23708 fail:
23709 return NULL;
23710 }
23711
23712
23713 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
23714 PyObject *resultobj;
23715 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23716 bool arg2 ;
23717 PyObject * obj0 = 0 ;
23718 PyObject * obj1 = 0 ;
23719 char *kwnames[] = {
23720 (char *) "self",(char *) "editCancelled", NULL
23721 };
23722
23723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23726 arg2 = (bool) SWIG_AsBool(obj1);
23727 if (PyErr_Occurred()) SWIG_fail;
23728 {
23729 PyThreadState* __tstate = wxPyBeginAllowThreads();
23730 (arg1)->SetEditCanceled(arg2);
23731
23732 wxPyEndAllowThreads(__tstate);
23733 if (PyErr_Occurred()) SWIG_fail;
23734 }
23735 Py_INCREF(Py_None); resultobj = Py_None;
23736 return resultobj;
23737 fail:
23738 return NULL;
23739 }
23740
23741
23742 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23743 PyObject *resultobj;
23744 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23745 wxString *arg2 = 0 ;
23746 bool temp2 = False ;
23747 PyObject * obj0 = 0 ;
23748 PyObject * obj1 = 0 ;
23749 char *kwnames[] = {
23750 (char *) "self",(char *) "toolTip", NULL
23751 };
23752
23753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23756 {
23757 arg2 = wxString_in_helper(obj1);
23758 if (arg2 == NULL) SWIG_fail;
23759 temp2 = True;
23760 }
23761 {
23762 PyThreadState* __tstate = wxPyBeginAllowThreads();
23763 (arg1)->SetToolTip((wxString const &)*arg2);
23764
23765 wxPyEndAllowThreads(__tstate);
23766 if (PyErr_Occurred()) SWIG_fail;
23767 }
23768 Py_INCREF(Py_None); resultobj = Py_None;
23769 {
23770 if (temp2)
23771 delete arg2;
23772 }
23773 return resultobj;
23774 fail:
23775 {
23776 if (temp2)
23777 delete arg2;
23778 }
23779 return NULL;
23780 }
23781
23782
23783 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
23784 PyObject *obj;
23785 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23786 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
23787 Py_INCREF(obj);
23788 return Py_BuildValue((char *)"");
23789 }
23790 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23791 PyObject *resultobj;
23792 wxWindow *arg1 = (wxWindow *) 0 ;
23793 int arg2 = (int) -1 ;
23794 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23795 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23796 wxSize const &arg4_defvalue = wxDefaultSize ;
23797 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23798 long arg5 = (long) wxTR_DEFAULT_STYLE ;
23799 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23800 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23801 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
23802 wxString *arg7 = (wxString *) &arg7_defvalue ;
23803 wxPyTreeCtrl *result;
23804 wxPoint temp3 ;
23805 wxSize temp4 ;
23806 bool temp7 = False ;
23807 PyObject * obj0 = 0 ;
23808 PyObject * obj1 = 0 ;
23809 PyObject * obj2 = 0 ;
23810 PyObject * obj3 = 0 ;
23811 PyObject * obj4 = 0 ;
23812 PyObject * obj5 = 0 ;
23813 PyObject * obj6 = 0 ;
23814 char *kwnames[] = {
23815 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23816 };
23817
23818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23821 if (obj1) {
23822 arg2 = (int) SWIG_AsInt(obj1);
23823 if (PyErr_Occurred()) SWIG_fail;
23824 }
23825 if (obj2) {
23826 {
23827 arg3 = &temp3;
23828 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23829 }
23830 }
23831 if (obj3) {
23832 {
23833 arg4 = &temp4;
23834 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23835 }
23836 }
23837 if (obj4) {
23838 arg5 = (long) SWIG_AsLong(obj4);
23839 if (PyErr_Occurred()) SWIG_fail;
23840 }
23841 if (obj5) {
23842 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
23843 SWIG_POINTER_EXCEPTION | 0)) == -1)
23844 SWIG_fail;
23845 if (arg6 == NULL) {
23846 PyErr_SetString(PyExc_TypeError,"null reference");
23847 SWIG_fail;
23848 }
23849 }
23850 if (obj6) {
23851 {
23852 arg7 = wxString_in_helper(obj6);
23853 if (arg7 == NULL) SWIG_fail;
23854 temp7 = True;
23855 }
23856 }
23857 {
23858 PyThreadState* __tstate = wxPyBeginAllowThreads();
23859 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23860
23861 wxPyEndAllowThreads(__tstate);
23862 if (PyErr_Occurred()) SWIG_fail;
23863 }
23864 {
23865 resultobj = wxPyMake_wxObject(result);
23866 }
23867 {
23868 if (temp7)
23869 delete arg7;
23870 }
23871 return resultobj;
23872 fail:
23873 {
23874 if (temp7)
23875 delete arg7;
23876 }
23877 return NULL;
23878 }
23879
23880
23881 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23882 PyObject *resultobj;
23883 wxPyTreeCtrl *result;
23884 char *kwnames[] = {
23885 NULL
23886 };
23887
23888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
23889 {
23890 PyThreadState* __tstate = wxPyBeginAllowThreads();
23891 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
23892
23893 wxPyEndAllowThreads(__tstate);
23894 if (PyErr_Occurred()) SWIG_fail;
23895 }
23896 {
23897 resultobj = wxPyMake_wxObject(result);
23898 }
23899 return resultobj;
23900 fail:
23901 return NULL;
23902 }
23903
23904
23905 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23906 PyObject *resultobj;
23907 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23908 wxWindow *arg2 = (wxWindow *) 0 ;
23909 int arg3 = (int) -1 ;
23910 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23911 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23912 wxSize const &arg5_defvalue = wxDefaultSize ;
23913 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23914 long arg6 = (long) wxTR_DEFAULT_STYLE ;
23915 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23916 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23917 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
23918 wxString *arg8 = (wxString *) &arg8_defvalue ;
23919 bool result;
23920 wxPoint temp4 ;
23921 wxSize temp5 ;
23922 bool temp8 = False ;
23923 PyObject * obj0 = 0 ;
23924 PyObject * obj1 = 0 ;
23925 PyObject * obj2 = 0 ;
23926 PyObject * obj3 = 0 ;
23927 PyObject * obj4 = 0 ;
23928 PyObject * obj5 = 0 ;
23929 PyObject * obj6 = 0 ;
23930 PyObject * obj7 = 0 ;
23931 char *kwnames[] = {
23932 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23933 };
23934
23935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23938 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23940 if (obj2) {
23941 arg3 = (int) SWIG_AsInt(obj2);
23942 if (PyErr_Occurred()) SWIG_fail;
23943 }
23944 if (obj3) {
23945 {
23946 arg4 = &temp4;
23947 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23948 }
23949 }
23950 if (obj4) {
23951 {
23952 arg5 = &temp5;
23953 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23954 }
23955 }
23956 if (obj5) {
23957 arg6 = (long) SWIG_AsLong(obj5);
23958 if (PyErr_Occurred()) SWIG_fail;
23959 }
23960 if (obj6) {
23961 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
23962 SWIG_POINTER_EXCEPTION | 0)) == -1)
23963 SWIG_fail;
23964 if (arg7 == NULL) {
23965 PyErr_SetString(PyExc_TypeError,"null reference");
23966 SWIG_fail;
23967 }
23968 }
23969 if (obj7) {
23970 {
23971 arg8 = wxString_in_helper(obj7);
23972 if (arg8 == NULL) SWIG_fail;
23973 temp8 = True;
23974 }
23975 }
23976 {
23977 PyThreadState* __tstate = wxPyBeginAllowThreads();
23978 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23979
23980 wxPyEndAllowThreads(__tstate);
23981 if (PyErr_Occurred()) SWIG_fail;
23982 }
23983 {
23984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23985 }
23986 {
23987 if (temp8)
23988 delete arg8;
23989 }
23990 return resultobj;
23991 fail:
23992 {
23993 if (temp8)
23994 delete arg8;
23995 }
23996 return NULL;
23997 }
23998
23999
24000 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24001 PyObject *resultobj;
24002 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24003 PyObject *arg2 = (PyObject *) 0 ;
24004 PyObject *arg3 = (PyObject *) 0 ;
24005 PyObject * obj0 = 0 ;
24006 PyObject * obj1 = 0 ;
24007 PyObject * obj2 = 0 ;
24008 char *kwnames[] = {
24009 (char *) "self",(char *) "self",(char *) "_class", NULL
24010 };
24011
24012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24015 arg2 = obj1;
24016 arg3 = obj2;
24017 {
24018 PyThreadState* __tstate = wxPyBeginAllowThreads();
24019 (arg1)->_setCallbackInfo(arg2,arg3);
24020
24021 wxPyEndAllowThreads(__tstate);
24022 if (PyErr_Occurred()) SWIG_fail;
24023 }
24024 Py_INCREF(Py_None); resultobj = Py_None;
24025 return resultobj;
24026 fail:
24027 return NULL;
24028 }
24029
24030
24031 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24032 PyObject *resultobj;
24033 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24034 size_t result;
24035 PyObject * obj0 = 0 ;
24036 char *kwnames[] = {
24037 (char *) "self", NULL
24038 };
24039
24040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
24041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24043 {
24044 PyThreadState* __tstate = wxPyBeginAllowThreads();
24045 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
24046
24047 wxPyEndAllowThreads(__tstate);
24048 if (PyErr_Occurred()) SWIG_fail;
24049 }
24050 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24051 return resultobj;
24052 fail:
24053 return NULL;
24054 }
24055
24056
24057 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
24058 PyObject *resultobj;
24059 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24060 unsigned int result;
24061 PyObject * obj0 = 0 ;
24062 char *kwnames[] = {
24063 (char *) "self", NULL
24064 };
24065
24066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
24067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24069 {
24070 PyThreadState* __tstate = wxPyBeginAllowThreads();
24071 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
24072
24073 wxPyEndAllowThreads(__tstate);
24074 if (PyErr_Occurred()) SWIG_fail;
24075 }
24076 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
24077 return resultobj;
24078 fail:
24079 return NULL;
24080 }
24081
24082
24083 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
24084 PyObject *resultobj;
24085 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24086 unsigned int arg2 ;
24087 PyObject * obj0 = 0 ;
24088 PyObject * obj1 = 0 ;
24089 char *kwnames[] = {
24090 (char *) "self",(char *) "indent", NULL
24091 };
24092
24093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
24094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24096 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24097 if (PyErr_Occurred()) SWIG_fail;
24098 {
24099 PyThreadState* __tstate = wxPyBeginAllowThreads();
24100 (arg1)->SetIndent(arg2);
24101
24102 wxPyEndAllowThreads(__tstate);
24103 if (PyErr_Occurred()) SWIG_fail;
24104 }
24105 Py_INCREF(Py_None); resultobj = Py_None;
24106 return resultobj;
24107 fail:
24108 return NULL;
24109 }
24110
24111
24112 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24113 PyObject *resultobj;
24114 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24115 unsigned int result;
24116 PyObject * obj0 = 0 ;
24117 char *kwnames[] = {
24118 (char *) "self", NULL
24119 };
24120
24121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
24122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24124 {
24125 PyThreadState* __tstate = wxPyBeginAllowThreads();
24126 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
24127
24128 wxPyEndAllowThreads(__tstate);
24129 if (PyErr_Occurred()) SWIG_fail;
24130 }
24131 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
24132 return resultobj;
24133 fail:
24134 return NULL;
24135 }
24136
24137
24138 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24139 PyObject *resultobj;
24140 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24141 unsigned int arg2 ;
24142 PyObject * obj0 = 0 ;
24143 PyObject * obj1 = 0 ;
24144 char *kwnames[] = {
24145 (char *) "self",(char *) "spacing", NULL
24146 };
24147
24148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
24149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24151 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24152 if (PyErr_Occurred()) SWIG_fail;
24153 {
24154 PyThreadState* __tstate = wxPyBeginAllowThreads();
24155 (arg1)->SetSpacing(arg2);
24156
24157 wxPyEndAllowThreads(__tstate);
24158 if (PyErr_Occurred()) SWIG_fail;
24159 }
24160 Py_INCREF(Py_None); resultobj = Py_None;
24161 return resultobj;
24162 fail:
24163 return NULL;
24164 }
24165
24166
24167 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24168 PyObject *resultobj;
24169 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24170 wxImageList *result;
24171 PyObject * obj0 = 0 ;
24172 char *kwnames[] = {
24173 (char *) "self", NULL
24174 };
24175
24176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
24177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24179 {
24180 PyThreadState* __tstate = wxPyBeginAllowThreads();
24181 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
24182
24183 wxPyEndAllowThreads(__tstate);
24184 if (PyErr_Occurred()) SWIG_fail;
24185 }
24186 {
24187 resultobj = wxPyMake_wxObject(result);
24188 }
24189 return resultobj;
24190 fail:
24191 return NULL;
24192 }
24193
24194
24195 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24196 PyObject *resultobj;
24197 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24198 wxImageList *result;
24199 PyObject * obj0 = 0 ;
24200 char *kwnames[] = {
24201 (char *) "self", NULL
24202 };
24203
24204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
24205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24207 {
24208 PyThreadState* __tstate = wxPyBeginAllowThreads();
24209 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
24210
24211 wxPyEndAllowThreads(__tstate);
24212 if (PyErr_Occurred()) SWIG_fail;
24213 }
24214 {
24215 resultobj = wxPyMake_wxObject(result);
24216 }
24217 return resultobj;
24218 fail:
24219 return NULL;
24220 }
24221
24222
24223 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24224 PyObject *resultobj;
24225 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24226 wxImageList *arg2 = (wxImageList *) 0 ;
24227 PyObject * obj0 = 0 ;
24228 PyObject * obj1 = 0 ;
24229 char *kwnames[] = {
24230 (char *) "self",(char *) "imageList", NULL
24231 };
24232
24233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
24234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24236 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24238 {
24239 PyThreadState* __tstate = wxPyBeginAllowThreads();
24240 (arg1)->SetImageList(arg2);
24241
24242 wxPyEndAllowThreads(__tstate);
24243 if (PyErr_Occurred()) SWIG_fail;
24244 }
24245 Py_INCREF(Py_None); resultobj = Py_None;
24246 return resultobj;
24247 fail:
24248 return NULL;
24249 }
24250
24251
24252 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24253 PyObject *resultobj;
24254 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24255 wxImageList *arg2 = (wxImageList *) 0 ;
24256 PyObject * obj0 = 0 ;
24257 PyObject * obj1 = 0 ;
24258 char *kwnames[] = {
24259 (char *) "self",(char *) "imageList", NULL
24260 };
24261
24262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
24263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24265 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24267 {
24268 PyThreadState* __tstate = wxPyBeginAllowThreads();
24269 (arg1)->SetStateImageList(arg2);
24270
24271 wxPyEndAllowThreads(__tstate);
24272 if (PyErr_Occurred()) SWIG_fail;
24273 }
24274 Py_INCREF(Py_None); resultobj = Py_None;
24275 return resultobj;
24276 fail:
24277 return NULL;
24278 }
24279
24280
24281 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24282 PyObject *resultobj;
24283 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24284 wxImageList *arg2 = (wxImageList *) 0 ;
24285 PyObject * obj0 = 0 ;
24286 PyObject * obj1 = 0 ;
24287 char *kwnames[] = {
24288 (char *) "self",(char *) "imageList", NULL
24289 };
24290
24291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
24292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24294 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24295 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24296 {
24297 PyThreadState* __tstate = wxPyBeginAllowThreads();
24298 (arg1)->AssignImageList(arg2);
24299
24300 wxPyEndAllowThreads(__tstate);
24301 if (PyErr_Occurred()) SWIG_fail;
24302 }
24303 Py_INCREF(Py_None); resultobj = Py_None;
24304 return resultobj;
24305 fail:
24306 return NULL;
24307 }
24308
24309
24310 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24311 PyObject *resultobj;
24312 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24313 wxImageList *arg2 = (wxImageList *) 0 ;
24314 PyObject * obj0 = 0 ;
24315 PyObject * obj1 = 0 ;
24316 char *kwnames[] = {
24317 (char *) "self",(char *) "imageList", NULL
24318 };
24319
24320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
24321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24323 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24324 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24325 {
24326 PyThreadState* __tstate = wxPyBeginAllowThreads();
24327 (arg1)->AssignStateImageList(arg2);
24328
24329 wxPyEndAllowThreads(__tstate);
24330 if (PyErr_Occurred()) SWIG_fail;
24331 }
24332 Py_INCREF(Py_None); resultobj = Py_None;
24333 return resultobj;
24334 fail:
24335 return NULL;
24336 }
24337
24338
24339 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24340 PyObject *resultobj;
24341 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24342 wxTreeItemId *arg2 = 0 ;
24343 wxString result;
24344 PyObject * obj0 = 0 ;
24345 PyObject * obj1 = 0 ;
24346 char *kwnames[] = {
24347 (char *) "self",(char *) "item", NULL
24348 };
24349
24350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24353 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24354 SWIG_POINTER_EXCEPTION | 0)) == -1)
24355 SWIG_fail;
24356 if (arg2 == NULL) {
24357 PyErr_SetString(PyExc_TypeError,"null reference");
24358 SWIG_fail;
24359 }
24360 {
24361 PyThreadState* __tstate = wxPyBeginAllowThreads();
24362 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
24363
24364 wxPyEndAllowThreads(__tstate);
24365 if (PyErr_Occurred()) SWIG_fail;
24366 }
24367 {
24368 #if wxUSE_UNICODE
24369 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24370 #else
24371 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24372 #endif
24373 }
24374 return resultobj;
24375 fail:
24376 return NULL;
24377 }
24378
24379
24380 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24381 PyObject *resultobj;
24382 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24383 wxTreeItemId *arg2 = 0 ;
24384 int arg3 = (int) wxTreeItemIcon_Normal ;
24385 int result;
24386 PyObject * obj0 = 0 ;
24387 PyObject * obj1 = 0 ;
24388 PyObject * obj2 = 0 ;
24389 char *kwnames[] = {
24390 (char *) "self",(char *) "item",(char *) "which", NULL
24391 };
24392
24393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24396 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24397 SWIG_POINTER_EXCEPTION | 0)) == -1)
24398 SWIG_fail;
24399 if (arg2 == NULL) {
24400 PyErr_SetString(PyExc_TypeError,"null reference");
24401 SWIG_fail;
24402 }
24403 if (obj2) {
24404 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
24405 if (PyErr_Occurred()) SWIG_fail;
24406 }
24407 {
24408 PyThreadState* __tstate = wxPyBeginAllowThreads();
24409 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
24410
24411 wxPyEndAllowThreads(__tstate);
24412 if (PyErr_Occurred()) SWIG_fail;
24413 }
24414 resultobj = SWIG_FromInt((int)result);
24415 return resultobj;
24416 fail:
24417 return NULL;
24418 }
24419
24420
24421 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24422 PyObject *resultobj;
24423 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24424 wxTreeItemId *arg2 = 0 ;
24425 wxPyTreeItemData *result;
24426 PyObject * obj0 = 0 ;
24427 PyObject * obj1 = 0 ;
24428 char *kwnames[] = {
24429 (char *) "self",(char *) "item", NULL
24430 };
24431
24432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24435 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24436 SWIG_POINTER_EXCEPTION | 0)) == -1)
24437 SWIG_fail;
24438 if (arg2 == NULL) {
24439 PyErr_SetString(PyExc_TypeError,"null reference");
24440 SWIG_fail;
24441 }
24442 {
24443 PyThreadState* __tstate = wxPyBeginAllowThreads();
24444 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
24445
24446 wxPyEndAllowThreads(__tstate);
24447 if (PyErr_Occurred()) SWIG_fail;
24448 }
24449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
24450 return resultobj;
24451 fail:
24452 return NULL;
24453 }
24454
24455
24456 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24457 PyObject *resultobj;
24458 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24459 wxTreeItemId *arg2 = 0 ;
24460 PyObject *result;
24461 PyObject * obj0 = 0 ;
24462 PyObject * obj1 = 0 ;
24463 char *kwnames[] = {
24464 (char *) "self",(char *) "item", NULL
24465 };
24466
24467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
24468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24470 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24471 SWIG_POINTER_EXCEPTION | 0)) == -1)
24472 SWIG_fail;
24473 if (arg2 == NULL) {
24474 PyErr_SetString(PyExc_TypeError,"null reference");
24475 SWIG_fail;
24476 }
24477 {
24478 PyThreadState* __tstate = wxPyBeginAllowThreads();
24479 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
24480
24481 wxPyEndAllowThreads(__tstate);
24482 if (PyErr_Occurred()) SWIG_fail;
24483 }
24484 resultobj = result;
24485 return resultobj;
24486 fail:
24487 return NULL;
24488 }
24489
24490
24491 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24492 PyObject *resultobj;
24493 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24494 wxTreeItemId *arg2 = 0 ;
24495 wxColour result;
24496 PyObject * obj0 = 0 ;
24497 PyObject * obj1 = 0 ;
24498 char *kwnames[] = {
24499 (char *) "self",(char *) "item", NULL
24500 };
24501
24502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
24503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24505 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24506 SWIG_POINTER_EXCEPTION | 0)) == -1)
24507 SWIG_fail;
24508 if (arg2 == NULL) {
24509 PyErr_SetString(PyExc_TypeError,"null reference");
24510 SWIG_fail;
24511 }
24512 {
24513 PyThreadState* __tstate = wxPyBeginAllowThreads();
24514 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
24515
24516 wxPyEndAllowThreads(__tstate);
24517 if (PyErr_Occurred()) SWIG_fail;
24518 }
24519 {
24520 wxColour * resultptr;
24521 resultptr = new wxColour((wxColour &) result);
24522 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24523 }
24524 return resultobj;
24525 fail:
24526 return NULL;
24527 }
24528
24529
24530 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24531 PyObject *resultobj;
24532 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24533 wxTreeItemId *arg2 = 0 ;
24534 wxColour result;
24535 PyObject * obj0 = 0 ;
24536 PyObject * obj1 = 0 ;
24537 char *kwnames[] = {
24538 (char *) "self",(char *) "item", NULL
24539 };
24540
24541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24544 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24545 SWIG_POINTER_EXCEPTION | 0)) == -1)
24546 SWIG_fail;
24547 if (arg2 == NULL) {
24548 PyErr_SetString(PyExc_TypeError,"null reference");
24549 SWIG_fail;
24550 }
24551 {
24552 PyThreadState* __tstate = wxPyBeginAllowThreads();
24553 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24554
24555 wxPyEndAllowThreads(__tstate);
24556 if (PyErr_Occurred()) SWIG_fail;
24557 }
24558 {
24559 wxColour * resultptr;
24560 resultptr = new wxColour((wxColour &) result);
24561 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24562 }
24563 return resultobj;
24564 fail:
24565 return NULL;
24566 }
24567
24568
24569 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24570 PyObject *resultobj;
24571 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24572 wxTreeItemId *arg2 = 0 ;
24573 wxFont result;
24574 PyObject * obj0 = 0 ;
24575 PyObject * obj1 = 0 ;
24576 char *kwnames[] = {
24577 (char *) "self",(char *) "item", NULL
24578 };
24579
24580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
24581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24583 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24584 SWIG_POINTER_EXCEPTION | 0)) == -1)
24585 SWIG_fail;
24586 if (arg2 == NULL) {
24587 PyErr_SetString(PyExc_TypeError,"null reference");
24588 SWIG_fail;
24589 }
24590 {
24591 PyThreadState* __tstate = wxPyBeginAllowThreads();
24592 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24593
24594 wxPyEndAllowThreads(__tstate);
24595 if (PyErr_Occurred()) SWIG_fail;
24596 }
24597 {
24598 wxFont * resultptr;
24599 resultptr = new wxFont((wxFont &) result);
24600 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
24601 }
24602 return resultobj;
24603 fail:
24604 return NULL;
24605 }
24606
24607
24608 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24609 PyObject *resultobj;
24610 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24611 wxTreeItemId *arg2 = 0 ;
24612 wxString *arg3 = 0 ;
24613 bool temp3 = False ;
24614 PyObject * obj0 = 0 ;
24615 PyObject * obj1 = 0 ;
24616 PyObject * obj2 = 0 ;
24617 char *kwnames[] = {
24618 (char *) "self",(char *) "item",(char *) "text", NULL
24619 };
24620
24621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",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 {
24632 arg3 = wxString_in_helper(obj2);
24633 if (arg3 == NULL) SWIG_fail;
24634 temp3 = True;
24635 }
24636 {
24637 PyThreadState* __tstate = wxPyBeginAllowThreads();
24638 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24639
24640 wxPyEndAllowThreads(__tstate);
24641 if (PyErr_Occurred()) SWIG_fail;
24642 }
24643 Py_INCREF(Py_None); resultobj = Py_None;
24644 {
24645 if (temp3)
24646 delete arg3;
24647 }
24648 return resultobj;
24649 fail:
24650 {
24651 if (temp3)
24652 delete arg3;
24653 }
24654 return NULL;
24655 }
24656
24657
24658 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24659 PyObject *resultobj;
24660 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24661 wxTreeItemId *arg2 = 0 ;
24662 int arg3 ;
24663 int arg4 = (int) wxTreeItemIcon_Normal ;
24664 PyObject * obj0 = 0 ;
24665 PyObject * obj1 = 0 ;
24666 PyObject * obj2 = 0 ;
24667 PyObject * obj3 = 0 ;
24668 char *kwnames[] = {
24669 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24670 };
24671
24672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24675 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24676 SWIG_POINTER_EXCEPTION | 0)) == -1)
24677 SWIG_fail;
24678 if (arg2 == NULL) {
24679 PyErr_SetString(PyExc_TypeError,"null reference");
24680 SWIG_fail;
24681 }
24682 arg3 = (int) SWIG_AsInt(obj2);
24683 if (PyErr_Occurred()) SWIG_fail;
24684 if (obj3) {
24685 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
24686 if (PyErr_Occurred()) SWIG_fail;
24687 }
24688 {
24689 PyThreadState* __tstate = wxPyBeginAllowThreads();
24690 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
24691
24692 wxPyEndAllowThreads(__tstate);
24693 if (PyErr_Occurred()) SWIG_fail;
24694 }
24695 Py_INCREF(Py_None); resultobj = Py_None;
24696 return resultobj;
24697 fail:
24698 return NULL;
24699 }
24700
24701
24702 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24703 PyObject *resultobj;
24704 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24705 wxTreeItemId *arg2 = 0 ;
24706 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
24707 PyObject * obj0 = 0 ;
24708 PyObject * obj1 = 0 ;
24709 PyObject * obj2 = 0 ;
24710 char *kwnames[] = {
24711 (char *) "self",(char *) "item",(char *) "data", NULL
24712 };
24713
24714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24717 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24718 SWIG_POINTER_EXCEPTION | 0)) == -1)
24719 SWIG_fail;
24720 if (arg2 == NULL) {
24721 PyErr_SetString(PyExc_TypeError,"null reference");
24722 SWIG_fail;
24723 }
24724 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
24725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24726 {
24727 PyThreadState* __tstate = wxPyBeginAllowThreads();
24728 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
24729
24730 wxPyEndAllowThreads(__tstate);
24731 if (PyErr_Occurred()) SWIG_fail;
24732 }
24733 Py_INCREF(Py_None); resultobj = Py_None;
24734 return resultobj;
24735 fail:
24736 return NULL;
24737 }
24738
24739
24740 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24741 PyObject *resultobj;
24742 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24743 wxTreeItemId *arg2 = 0 ;
24744 PyObject *arg3 = (PyObject *) 0 ;
24745 PyObject * obj0 = 0 ;
24746 PyObject * obj1 = 0 ;
24747 PyObject * obj2 = 0 ;
24748 char *kwnames[] = {
24749 (char *) "self",(char *) "item",(char *) "obj", NULL
24750 };
24751
24752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24755 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24756 SWIG_POINTER_EXCEPTION | 0)) == -1)
24757 SWIG_fail;
24758 if (arg2 == NULL) {
24759 PyErr_SetString(PyExc_TypeError,"null reference");
24760 SWIG_fail;
24761 }
24762 arg3 = obj2;
24763 {
24764 PyThreadState* __tstate = wxPyBeginAllowThreads();
24765 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
24766
24767 wxPyEndAllowThreads(__tstate);
24768 if (PyErr_Occurred()) SWIG_fail;
24769 }
24770 Py_INCREF(Py_None); resultobj = Py_None;
24771 return resultobj;
24772 fail:
24773 return NULL;
24774 }
24775
24776
24777 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24778 PyObject *resultobj;
24779 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24780 wxTreeItemId *arg2 = 0 ;
24781 bool arg3 = (bool) True ;
24782 PyObject * obj0 = 0 ;
24783 PyObject * obj1 = 0 ;
24784 PyObject * obj2 = 0 ;
24785 char *kwnames[] = {
24786 (char *) "self",(char *) "item",(char *) "has", NULL
24787 };
24788
24789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
24790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24792 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24793 SWIG_POINTER_EXCEPTION | 0)) == -1)
24794 SWIG_fail;
24795 if (arg2 == NULL) {
24796 PyErr_SetString(PyExc_TypeError,"null reference");
24797 SWIG_fail;
24798 }
24799 if (obj2) {
24800 arg3 = (bool) SWIG_AsBool(obj2);
24801 if (PyErr_Occurred()) SWIG_fail;
24802 }
24803 {
24804 PyThreadState* __tstate = wxPyBeginAllowThreads();
24805 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
24806
24807 wxPyEndAllowThreads(__tstate);
24808 if (PyErr_Occurred()) SWIG_fail;
24809 }
24810 Py_INCREF(Py_None); resultobj = Py_None;
24811 return resultobj;
24812 fail:
24813 return NULL;
24814 }
24815
24816
24817 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
24818 PyObject *resultobj;
24819 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24820 wxTreeItemId *arg2 = 0 ;
24821 bool arg3 = (bool) True ;
24822 PyObject * obj0 = 0 ;
24823 PyObject * obj1 = 0 ;
24824 PyObject * obj2 = 0 ;
24825 char *kwnames[] = {
24826 (char *) "self",(char *) "item",(char *) "bold", NULL
24827 };
24828
24829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
24830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24832 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24833 SWIG_POINTER_EXCEPTION | 0)) == -1)
24834 SWIG_fail;
24835 if (arg2 == NULL) {
24836 PyErr_SetString(PyExc_TypeError,"null reference");
24837 SWIG_fail;
24838 }
24839 if (obj2) {
24840 arg3 = (bool) SWIG_AsBool(obj2);
24841 if (PyErr_Occurred()) SWIG_fail;
24842 }
24843 {
24844 PyThreadState* __tstate = wxPyBeginAllowThreads();
24845 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
24846
24847 wxPyEndAllowThreads(__tstate);
24848 if (PyErr_Occurred()) SWIG_fail;
24849 }
24850 Py_INCREF(Py_None); resultobj = Py_None;
24851 return resultobj;
24852 fail:
24853 return NULL;
24854 }
24855
24856
24857 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24858 PyObject *resultobj;
24859 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24860 wxTreeItemId *arg2 = 0 ;
24861 wxColour *arg3 = 0 ;
24862 wxColour temp3 ;
24863 PyObject * obj0 = 0 ;
24864 PyObject * obj1 = 0 ;
24865 PyObject * obj2 = 0 ;
24866 char *kwnames[] = {
24867 (char *) "self",(char *) "item",(char *) "col", NULL
24868 };
24869
24870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24873 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24874 SWIG_POINTER_EXCEPTION | 0)) == -1)
24875 SWIG_fail;
24876 if (arg2 == NULL) {
24877 PyErr_SetString(PyExc_TypeError,"null reference");
24878 SWIG_fail;
24879 }
24880 {
24881 arg3 = &temp3;
24882 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24883 }
24884 {
24885 PyThreadState* __tstate = wxPyBeginAllowThreads();
24886 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24887
24888 wxPyEndAllowThreads(__tstate);
24889 if (PyErr_Occurred()) SWIG_fail;
24890 }
24891 Py_INCREF(Py_None); resultobj = Py_None;
24892 return resultobj;
24893 fail:
24894 return NULL;
24895 }
24896
24897
24898 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24899 PyObject *resultobj;
24900 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24901 wxTreeItemId *arg2 = 0 ;
24902 wxColour *arg3 = 0 ;
24903 wxColour temp3 ;
24904 PyObject * obj0 = 0 ;
24905 PyObject * obj1 = 0 ;
24906 PyObject * obj2 = 0 ;
24907 char *kwnames[] = {
24908 (char *) "self",(char *) "item",(char *) "col", NULL
24909 };
24910
24911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24914 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24915 SWIG_POINTER_EXCEPTION | 0)) == -1)
24916 SWIG_fail;
24917 if (arg2 == NULL) {
24918 PyErr_SetString(PyExc_TypeError,"null reference");
24919 SWIG_fail;
24920 }
24921 {
24922 arg3 = &temp3;
24923 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24924 }
24925 {
24926 PyThreadState* __tstate = wxPyBeginAllowThreads();
24927 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24928
24929 wxPyEndAllowThreads(__tstate);
24930 if (PyErr_Occurred()) SWIG_fail;
24931 }
24932 Py_INCREF(Py_None); resultobj = Py_None;
24933 return resultobj;
24934 fail:
24935 return NULL;
24936 }
24937
24938
24939 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24940 PyObject *resultobj;
24941 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24942 wxTreeItemId *arg2 = 0 ;
24943 wxFont *arg3 = 0 ;
24944 PyObject * obj0 = 0 ;
24945 PyObject * obj1 = 0 ;
24946 PyObject * obj2 = 0 ;
24947 char *kwnames[] = {
24948 (char *) "self",(char *) "item",(char *) "font", NULL
24949 };
24950
24951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
24952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24954 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24955 SWIG_POINTER_EXCEPTION | 0)) == -1)
24956 SWIG_fail;
24957 if (arg2 == NULL) {
24958 PyErr_SetString(PyExc_TypeError,"null reference");
24959 SWIG_fail;
24960 }
24961 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
24962 SWIG_POINTER_EXCEPTION | 0)) == -1)
24963 SWIG_fail;
24964 if (arg3 == NULL) {
24965 PyErr_SetString(PyExc_TypeError,"null reference");
24966 SWIG_fail;
24967 }
24968 {
24969 PyThreadState* __tstate = wxPyBeginAllowThreads();
24970 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
24971
24972 wxPyEndAllowThreads(__tstate);
24973 if (PyErr_Occurred()) SWIG_fail;
24974 }
24975 Py_INCREF(Py_None); resultobj = Py_None;
24976 return resultobj;
24977 fail:
24978 return NULL;
24979 }
24980
24981
24982 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
24983 PyObject *resultobj;
24984 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24985 wxTreeItemId *arg2 = 0 ;
24986 bool result;
24987 PyObject * obj0 = 0 ;
24988 PyObject * obj1 = 0 ;
24989 char *kwnames[] = {
24990 (char *) "self",(char *) "item", NULL
24991 };
24992
24993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
24994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24996 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24997 SWIG_POINTER_EXCEPTION | 0)) == -1)
24998 SWIG_fail;
24999 if (arg2 == NULL) {
25000 PyErr_SetString(PyExc_TypeError,"null reference");
25001 SWIG_fail;
25002 }
25003 {
25004 PyThreadState* __tstate = wxPyBeginAllowThreads();
25005 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
25006
25007 wxPyEndAllowThreads(__tstate);
25008 if (PyErr_Occurred()) SWIG_fail;
25009 }
25010 {
25011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25012 }
25013 return resultobj;
25014 fail:
25015 return NULL;
25016 }
25017
25018
25019 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25020 PyObject *resultobj;
25021 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25022 wxTreeItemId *arg2 = 0 ;
25023 bool result;
25024 PyObject * obj0 = 0 ;
25025 PyObject * obj1 = 0 ;
25026 char *kwnames[] = {
25027 (char *) "self",(char *) "item", NULL
25028 };
25029
25030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
25031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25033 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25034 SWIG_POINTER_EXCEPTION | 0)) == -1)
25035 SWIG_fail;
25036 if (arg2 == NULL) {
25037 PyErr_SetString(PyExc_TypeError,"null reference");
25038 SWIG_fail;
25039 }
25040 {
25041 PyThreadState* __tstate = wxPyBeginAllowThreads();
25042 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
25043
25044 wxPyEndAllowThreads(__tstate);
25045 if (PyErr_Occurred()) SWIG_fail;
25046 }
25047 {
25048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25049 }
25050 return resultobj;
25051 fail:
25052 return NULL;
25053 }
25054
25055
25056 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
25057 PyObject *resultobj;
25058 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25059 wxTreeItemId *arg2 = 0 ;
25060 bool result;
25061 PyObject * obj0 = 0 ;
25062 PyObject * obj1 = 0 ;
25063 char *kwnames[] = {
25064 (char *) "self",(char *) "item", NULL
25065 };
25066
25067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
25068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25070 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25071 SWIG_POINTER_EXCEPTION | 0)) == -1)
25072 SWIG_fail;
25073 if (arg2 == NULL) {
25074 PyErr_SetString(PyExc_TypeError,"null reference");
25075 SWIG_fail;
25076 }
25077 {
25078 PyThreadState* __tstate = wxPyBeginAllowThreads();
25079 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
25080
25081 wxPyEndAllowThreads(__tstate);
25082 if (PyErr_Occurred()) SWIG_fail;
25083 }
25084 {
25085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25086 }
25087 return resultobj;
25088 fail:
25089 return NULL;
25090 }
25091
25092
25093 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
25094 PyObject *resultobj;
25095 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25096 wxTreeItemId *arg2 = 0 ;
25097 bool result;
25098 PyObject * obj0 = 0 ;
25099 PyObject * obj1 = 0 ;
25100 char *kwnames[] = {
25101 (char *) "self",(char *) "item", NULL
25102 };
25103
25104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
25105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25107 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25108 SWIG_POINTER_EXCEPTION | 0)) == -1)
25109 SWIG_fail;
25110 if (arg2 == NULL) {
25111 PyErr_SetString(PyExc_TypeError,"null reference");
25112 SWIG_fail;
25113 }
25114 {
25115 PyThreadState* __tstate = wxPyBeginAllowThreads();
25116 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
25117
25118 wxPyEndAllowThreads(__tstate);
25119 if (PyErr_Occurred()) SWIG_fail;
25120 }
25121 {
25122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25123 }
25124 return resultobj;
25125 fail:
25126 return NULL;
25127 }
25128
25129
25130 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
25131 PyObject *resultobj;
25132 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25133 wxTreeItemId *arg2 = 0 ;
25134 bool result;
25135 PyObject * obj0 = 0 ;
25136 PyObject * obj1 = 0 ;
25137 char *kwnames[] = {
25138 (char *) "self",(char *) "item", NULL
25139 };
25140
25141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
25142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25144 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25145 SWIG_POINTER_EXCEPTION | 0)) == -1)
25146 SWIG_fail;
25147 if (arg2 == NULL) {
25148 PyErr_SetString(PyExc_TypeError,"null reference");
25149 SWIG_fail;
25150 }
25151 {
25152 PyThreadState* __tstate = wxPyBeginAllowThreads();
25153 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
25154
25155 wxPyEndAllowThreads(__tstate);
25156 if (PyErr_Occurred()) SWIG_fail;
25157 }
25158 {
25159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25160 }
25161 return resultobj;
25162 fail:
25163 return NULL;
25164 }
25165
25166
25167 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25168 PyObject *resultobj;
25169 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25170 wxTreeItemId *arg2 = 0 ;
25171 bool arg3 = (bool) True ;
25172 size_t result;
25173 PyObject * obj0 = 0 ;
25174 PyObject * obj1 = 0 ;
25175 PyObject * obj2 = 0 ;
25176 char *kwnames[] = {
25177 (char *) "self",(char *) "item",(char *) "recursively", NULL
25178 };
25179
25180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
25181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25183 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25184 SWIG_POINTER_EXCEPTION | 0)) == -1)
25185 SWIG_fail;
25186 if (arg2 == NULL) {
25187 PyErr_SetString(PyExc_TypeError,"null reference");
25188 SWIG_fail;
25189 }
25190 if (obj2) {
25191 arg3 = (bool) SWIG_AsBool(obj2);
25192 if (PyErr_Occurred()) SWIG_fail;
25193 }
25194 {
25195 PyThreadState* __tstate = wxPyBeginAllowThreads();
25196 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
25197
25198 wxPyEndAllowThreads(__tstate);
25199 if (PyErr_Occurred()) SWIG_fail;
25200 }
25201 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25202 return resultobj;
25203 fail:
25204 return NULL;
25205 }
25206
25207
25208 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25209 PyObject *resultobj;
25210 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25211 wxTreeItemId result;
25212 PyObject * obj0 = 0 ;
25213 char *kwnames[] = {
25214 (char *) "self", NULL
25215 };
25216
25217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
25218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25220 {
25221 PyThreadState* __tstate = wxPyBeginAllowThreads();
25222 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
25223
25224 wxPyEndAllowThreads(__tstate);
25225 if (PyErr_Occurred()) SWIG_fail;
25226 }
25227 {
25228 wxTreeItemId * resultptr;
25229 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25230 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25231 }
25232 return resultobj;
25233 fail:
25234 return NULL;
25235 }
25236
25237
25238 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
25239 PyObject *resultobj;
25240 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25241 wxTreeItemId result;
25242 PyObject * obj0 = 0 ;
25243 char *kwnames[] = {
25244 (char *) "self", NULL
25245 };
25246
25247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
25248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25250 {
25251 PyThreadState* __tstate = wxPyBeginAllowThreads();
25252 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
25253
25254 wxPyEndAllowThreads(__tstate);
25255 if (PyErr_Occurred()) SWIG_fail;
25256 }
25257 {
25258 wxTreeItemId * resultptr;
25259 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25260 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25261 }
25262 return resultobj;
25263 fail:
25264 return NULL;
25265 }
25266
25267
25268 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
25269 PyObject *resultobj;
25270 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25271 PyObject *result;
25272 PyObject * obj0 = 0 ;
25273 char *kwnames[] = {
25274 (char *) "self", NULL
25275 };
25276
25277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
25278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25280 {
25281 PyThreadState* __tstate = wxPyBeginAllowThreads();
25282 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
25283
25284 wxPyEndAllowThreads(__tstate);
25285 if (PyErr_Occurred()) SWIG_fail;
25286 }
25287 resultobj = result;
25288 return resultobj;
25289 fail:
25290 return NULL;
25291 }
25292
25293
25294 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
25295 PyObject *resultobj;
25296 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25297 wxTreeItemId *arg2 = 0 ;
25298 wxTreeItemId result;
25299 PyObject * obj0 = 0 ;
25300 PyObject * obj1 = 0 ;
25301 char *kwnames[] = {
25302 (char *) "self",(char *) "item", NULL
25303 };
25304
25305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
25306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25308 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25309 SWIG_POINTER_EXCEPTION | 0)) == -1)
25310 SWIG_fail;
25311 if (arg2 == NULL) {
25312 PyErr_SetString(PyExc_TypeError,"null reference");
25313 SWIG_fail;
25314 }
25315 {
25316 PyThreadState* __tstate = wxPyBeginAllowThreads();
25317 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
25318
25319 wxPyEndAllowThreads(__tstate);
25320 if (PyErr_Occurred()) SWIG_fail;
25321 }
25322 {
25323 wxTreeItemId * resultptr;
25324 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25325 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25326 }
25327 return resultobj;
25328 fail:
25329 return NULL;
25330 }
25331
25332
25333 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25334 PyObject *resultobj;
25335 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25336 wxTreeItemId *arg2 = 0 ;
25337 PyObject *result;
25338 PyObject * obj0 = 0 ;
25339 PyObject * obj1 = 0 ;
25340 char *kwnames[] = {
25341 (char *) "self",(char *) "item", NULL
25342 };
25343
25344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
25345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25347 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25348 SWIG_POINTER_EXCEPTION | 0)) == -1)
25349 SWIG_fail;
25350 if (arg2 == NULL) {
25351 PyErr_SetString(PyExc_TypeError,"null reference");
25352 SWIG_fail;
25353 }
25354 {
25355 PyThreadState* __tstate = wxPyBeginAllowThreads();
25356 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
25357
25358 wxPyEndAllowThreads(__tstate);
25359 if (PyErr_Occurred()) SWIG_fail;
25360 }
25361 resultobj = result;
25362 return resultobj;
25363 fail:
25364 return NULL;
25365 }
25366
25367
25368 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25369 PyObject *resultobj;
25370 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25371 wxTreeItemId *arg2 = 0 ;
25372 void *arg3 = (void *) 0 ;
25373 PyObject *result;
25374 PyObject * obj0 = 0 ;
25375 PyObject * obj1 = 0 ;
25376 PyObject * obj2 = 0 ;
25377 char *kwnames[] = {
25378 (char *) "self",(char *) "item",(char *) "cookie", NULL
25379 };
25380
25381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
25382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25384 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25385 SWIG_POINTER_EXCEPTION | 0)) == -1)
25386 SWIG_fail;
25387 if (arg2 == NULL) {
25388 PyErr_SetString(PyExc_TypeError,"null reference");
25389 SWIG_fail;
25390 }
25391 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25392 {
25393 PyThreadState* __tstate = wxPyBeginAllowThreads();
25394 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
25395
25396 wxPyEndAllowThreads(__tstate);
25397 if (PyErr_Occurred()) SWIG_fail;
25398 }
25399 resultobj = result;
25400 return resultobj;
25401 fail:
25402 return NULL;
25403 }
25404
25405
25406 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25407 PyObject *resultobj;
25408 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25409 wxTreeItemId *arg2 = 0 ;
25410 wxTreeItemId result;
25411 PyObject * obj0 = 0 ;
25412 PyObject * obj1 = 0 ;
25413 char *kwnames[] = {
25414 (char *) "self",(char *) "item", NULL
25415 };
25416
25417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
25418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25420 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25421 SWIG_POINTER_EXCEPTION | 0)) == -1)
25422 SWIG_fail;
25423 if (arg2 == NULL) {
25424 PyErr_SetString(PyExc_TypeError,"null reference");
25425 SWIG_fail;
25426 }
25427 {
25428 PyThreadState* __tstate = wxPyBeginAllowThreads();
25429 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
25430
25431 wxPyEndAllowThreads(__tstate);
25432 if (PyErr_Occurred()) SWIG_fail;
25433 }
25434 {
25435 wxTreeItemId * resultptr;
25436 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25437 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25438 }
25439 return resultobj;
25440 fail:
25441 return NULL;
25442 }
25443
25444
25445 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25446 PyObject *resultobj;
25447 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25448 wxTreeItemId *arg2 = 0 ;
25449 wxTreeItemId result;
25450 PyObject * obj0 = 0 ;
25451 PyObject * obj1 = 0 ;
25452 char *kwnames[] = {
25453 (char *) "self",(char *) "item", NULL
25454 };
25455
25456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
25457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25459 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25460 SWIG_POINTER_EXCEPTION | 0)) == -1)
25461 SWIG_fail;
25462 if (arg2 == NULL) {
25463 PyErr_SetString(PyExc_TypeError,"null reference");
25464 SWIG_fail;
25465 }
25466 {
25467 PyThreadState* __tstate = wxPyBeginAllowThreads();
25468 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
25469
25470 wxPyEndAllowThreads(__tstate);
25471 if (PyErr_Occurred()) SWIG_fail;
25472 }
25473 {
25474 wxTreeItemId * resultptr;
25475 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25476 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25477 }
25478 return resultobj;
25479 fail:
25480 return NULL;
25481 }
25482
25483
25484 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25485 PyObject *resultobj;
25486 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25487 wxTreeItemId *arg2 = 0 ;
25488 wxTreeItemId result;
25489 PyObject * obj0 = 0 ;
25490 PyObject * obj1 = 0 ;
25491 char *kwnames[] = {
25492 (char *) "self",(char *) "item", NULL
25493 };
25494
25495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
25496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25498 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25499 SWIG_POINTER_EXCEPTION | 0)) == -1)
25500 SWIG_fail;
25501 if (arg2 == NULL) {
25502 PyErr_SetString(PyExc_TypeError,"null reference");
25503 SWIG_fail;
25504 }
25505 {
25506 PyThreadState* __tstate = wxPyBeginAllowThreads();
25507 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
25508
25509 wxPyEndAllowThreads(__tstate);
25510 if (PyErr_Occurred()) SWIG_fail;
25511 }
25512 {
25513 wxTreeItemId * resultptr;
25514 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25515 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25516 }
25517 return resultobj;
25518 fail:
25519 return NULL;
25520 }
25521
25522
25523 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25524 PyObject *resultobj;
25525 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25526 wxTreeItemId result;
25527 PyObject * obj0 = 0 ;
25528 char *kwnames[] = {
25529 (char *) "self", NULL
25530 };
25531
25532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
25533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25535 {
25536 PyThreadState* __tstate = wxPyBeginAllowThreads();
25537 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
25538
25539 wxPyEndAllowThreads(__tstate);
25540 if (PyErr_Occurred()) SWIG_fail;
25541 }
25542 {
25543 wxTreeItemId * resultptr;
25544 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25545 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25546 }
25547 return resultobj;
25548 fail:
25549 return NULL;
25550 }
25551
25552
25553 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25554 PyObject *resultobj;
25555 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25556 wxTreeItemId *arg2 = 0 ;
25557 wxTreeItemId result;
25558 PyObject * obj0 = 0 ;
25559 PyObject * obj1 = 0 ;
25560 char *kwnames[] = {
25561 (char *) "self",(char *) "item", NULL
25562 };
25563
25564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
25565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25567 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25568 SWIG_POINTER_EXCEPTION | 0)) == -1)
25569 SWIG_fail;
25570 if (arg2 == NULL) {
25571 PyErr_SetString(PyExc_TypeError,"null reference");
25572 SWIG_fail;
25573 }
25574 {
25575 PyThreadState* __tstate = wxPyBeginAllowThreads();
25576 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
25577
25578 wxPyEndAllowThreads(__tstate);
25579 if (PyErr_Occurred()) SWIG_fail;
25580 }
25581 {
25582 wxTreeItemId * resultptr;
25583 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25584 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25585 }
25586 return resultobj;
25587 fail:
25588 return NULL;
25589 }
25590
25591
25592 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25593 PyObject *resultobj;
25594 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25595 wxTreeItemId *arg2 = 0 ;
25596 wxTreeItemId result;
25597 PyObject * obj0 = 0 ;
25598 PyObject * obj1 = 0 ;
25599 char *kwnames[] = {
25600 (char *) "self",(char *) "item", NULL
25601 };
25602
25603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
25604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25606 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25607 SWIG_POINTER_EXCEPTION | 0)) == -1)
25608 SWIG_fail;
25609 if (arg2 == NULL) {
25610 PyErr_SetString(PyExc_TypeError,"null reference");
25611 SWIG_fail;
25612 }
25613 {
25614 PyThreadState* __tstate = wxPyBeginAllowThreads();
25615 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
25616
25617 wxPyEndAllowThreads(__tstate);
25618 if (PyErr_Occurred()) SWIG_fail;
25619 }
25620 {
25621 wxTreeItemId * resultptr;
25622 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25623 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25624 }
25625 return resultobj;
25626 fail:
25627 return NULL;
25628 }
25629
25630
25631 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
25632 PyObject *resultobj;
25633 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25634 wxString *arg2 = 0 ;
25635 int arg3 = (int) -1 ;
25636 int arg4 = (int) -1 ;
25637 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
25638 wxTreeItemId result;
25639 bool temp2 = False ;
25640 PyObject * obj0 = 0 ;
25641 PyObject * obj1 = 0 ;
25642 PyObject * obj2 = 0 ;
25643 PyObject * obj3 = 0 ;
25644 PyObject * obj4 = 0 ;
25645 char *kwnames[] = {
25646 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25647 };
25648
25649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25652 {
25653 arg2 = wxString_in_helper(obj1);
25654 if (arg2 == NULL) SWIG_fail;
25655 temp2 = True;
25656 }
25657 if (obj2) {
25658 arg3 = (int) SWIG_AsInt(obj2);
25659 if (PyErr_Occurred()) SWIG_fail;
25660 }
25661 if (obj3) {
25662 arg4 = (int) SWIG_AsInt(obj3);
25663 if (PyErr_Occurred()) SWIG_fail;
25664 }
25665 if (obj4) {
25666 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
25667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25668 }
25669 {
25670 PyThreadState* __tstate = wxPyBeginAllowThreads();
25671 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
25672
25673 wxPyEndAllowThreads(__tstate);
25674 if (PyErr_Occurred()) SWIG_fail;
25675 }
25676 {
25677 wxTreeItemId * resultptr;
25678 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25679 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25680 }
25681 {
25682 if (temp2)
25683 delete arg2;
25684 }
25685 return resultobj;
25686 fail:
25687 {
25688 if (temp2)
25689 delete arg2;
25690 }
25691 return NULL;
25692 }
25693
25694
25695 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25696 PyObject *resultobj;
25697 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25698 wxTreeItemId *arg2 = 0 ;
25699 wxString *arg3 = 0 ;
25700 int arg4 = (int) -1 ;
25701 int arg5 = (int) -1 ;
25702 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25703 wxTreeItemId result;
25704 bool temp3 = False ;
25705 PyObject * obj0 = 0 ;
25706 PyObject * obj1 = 0 ;
25707 PyObject * obj2 = 0 ;
25708 PyObject * obj3 = 0 ;
25709 PyObject * obj4 = 0 ;
25710 PyObject * obj5 = 0 ;
25711 char *kwnames[] = {
25712 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25713 };
25714
25715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25718 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25719 SWIG_POINTER_EXCEPTION | 0)) == -1)
25720 SWIG_fail;
25721 if (arg2 == NULL) {
25722 PyErr_SetString(PyExc_TypeError,"null reference");
25723 SWIG_fail;
25724 }
25725 {
25726 arg3 = wxString_in_helper(obj2);
25727 if (arg3 == NULL) SWIG_fail;
25728 temp3 = True;
25729 }
25730 if (obj3) {
25731 arg4 = (int) SWIG_AsInt(obj3);
25732 if (PyErr_Occurred()) SWIG_fail;
25733 }
25734 if (obj4) {
25735 arg5 = (int) SWIG_AsInt(obj4);
25736 if (PyErr_Occurred()) SWIG_fail;
25737 }
25738 if (obj5) {
25739 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
25740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25741 }
25742 {
25743 PyThreadState* __tstate = wxPyBeginAllowThreads();
25744 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25745
25746 wxPyEndAllowThreads(__tstate);
25747 if (PyErr_Occurred()) SWIG_fail;
25748 }
25749 {
25750 wxTreeItemId * resultptr;
25751 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25752 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25753 }
25754 {
25755 if (temp3)
25756 delete arg3;
25757 }
25758 return resultobj;
25759 fail:
25760 {
25761 if (temp3)
25762 delete arg3;
25763 }
25764 return NULL;
25765 }
25766
25767
25768 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25769 PyObject *resultobj;
25770 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25771 wxTreeItemId *arg2 = 0 ;
25772 wxTreeItemId *arg3 = 0 ;
25773 wxString *arg4 = 0 ;
25774 int arg5 = (int) -1 ;
25775 int arg6 = (int) -1 ;
25776 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25777 wxTreeItemId result;
25778 bool temp4 = False ;
25779 PyObject * obj0 = 0 ;
25780 PyObject * obj1 = 0 ;
25781 PyObject * obj2 = 0 ;
25782 PyObject * obj3 = 0 ;
25783 PyObject * obj4 = 0 ;
25784 PyObject * obj5 = 0 ;
25785 PyObject * obj6 = 0 ;
25786 char *kwnames[] = {
25787 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25788 };
25789
25790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25793 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25794 SWIG_POINTER_EXCEPTION | 0)) == -1)
25795 SWIG_fail;
25796 if (arg2 == NULL) {
25797 PyErr_SetString(PyExc_TypeError,"null reference");
25798 SWIG_fail;
25799 }
25800 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
25801 SWIG_POINTER_EXCEPTION | 0)) == -1)
25802 SWIG_fail;
25803 if (arg3 == NULL) {
25804 PyErr_SetString(PyExc_TypeError,"null reference");
25805 SWIG_fail;
25806 }
25807 {
25808 arg4 = wxString_in_helper(obj3);
25809 if (arg4 == NULL) SWIG_fail;
25810 temp4 = True;
25811 }
25812 if (obj4) {
25813 arg5 = (int) SWIG_AsInt(obj4);
25814 if (PyErr_Occurred()) SWIG_fail;
25815 }
25816 if (obj5) {
25817 arg6 = (int) SWIG_AsInt(obj5);
25818 if (PyErr_Occurred()) SWIG_fail;
25819 }
25820 if (obj6) {
25821 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
25822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25823 }
25824 {
25825 PyThreadState* __tstate = wxPyBeginAllowThreads();
25826 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25827
25828 wxPyEndAllowThreads(__tstate);
25829 if (PyErr_Occurred()) SWIG_fail;
25830 }
25831 {
25832 wxTreeItemId * resultptr;
25833 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25834 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25835 }
25836 {
25837 if (temp4)
25838 delete arg4;
25839 }
25840 return resultobj;
25841 fail:
25842 {
25843 if (temp4)
25844 delete arg4;
25845 }
25846 return NULL;
25847 }
25848
25849
25850 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
25851 PyObject *resultobj;
25852 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25853 wxTreeItemId *arg2 = 0 ;
25854 size_t arg3 ;
25855 wxString *arg4 = 0 ;
25856 int arg5 = (int) -1 ;
25857 int arg6 = (int) -1 ;
25858 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25859 wxTreeItemId result;
25860 bool temp4 = False ;
25861 PyObject * obj0 = 0 ;
25862 PyObject * obj1 = 0 ;
25863 PyObject * obj2 = 0 ;
25864 PyObject * obj3 = 0 ;
25865 PyObject * obj4 = 0 ;
25866 PyObject * obj5 = 0 ;
25867 PyObject * obj6 = 0 ;
25868 char *kwnames[] = {
25869 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25870 };
25871
25872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25875 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25876 SWIG_POINTER_EXCEPTION | 0)) == -1)
25877 SWIG_fail;
25878 if (arg2 == NULL) {
25879 PyErr_SetString(PyExc_TypeError,"null reference");
25880 SWIG_fail;
25881 }
25882 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
25883 if (PyErr_Occurred()) SWIG_fail;
25884 {
25885 arg4 = wxString_in_helper(obj3);
25886 if (arg4 == NULL) SWIG_fail;
25887 temp4 = True;
25888 }
25889 if (obj4) {
25890 arg5 = (int) SWIG_AsInt(obj4);
25891 if (PyErr_Occurred()) SWIG_fail;
25892 }
25893 if (obj5) {
25894 arg6 = (int) SWIG_AsInt(obj5);
25895 if (PyErr_Occurred()) SWIG_fail;
25896 }
25897 if (obj6) {
25898 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
25899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25900 }
25901 {
25902 PyThreadState* __tstate = wxPyBeginAllowThreads();
25903 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25904
25905 wxPyEndAllowThreads(__tstate);
25906 if (PyErr_Occurred()) SWIG_fail;
25907 }
25908 {
25909 wxTreeItemId * resultptr;
25910 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25911 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25912 }
25913 {
25914 if (temp4)
25915 delete arg4;
25916 }
25917 return resultobj;
25918 fail:
25919 {
25920 if (temp4)
25921 delete arg4;
25922 }
25923 return NULL;
25924 }
25925
25926
25927 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25928 PyObject *resultobj;
25929 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25930 wxTreeItemId *arg2 = 0 ;
25931 wxString *arg3 = 0 ;
25932 int arg4 = (int) -1 ;
25933 int arg5 = (int) -1 ;
25934 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25935 wxTreeItemId result;
25936 bool temp3 = False ;
25937 PyObject * obj0 = 0 ;
25938 PyObject * obj1 = 0 ;
25939 PyObject * obj2 = 0 ;
25940 PyObject * obj3 = 0 ;
25941 PyObject * obj4 = 0 ;
25942 PyObject * obj5 = 0 ;
25943 char *kwnames[] = {
25944 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25945 };
25946
25947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25950 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25951 SWIG_POINTER_EXCEPTION | 0)) == -1)
25952 SWIG_fail;
25953 if (arg2 == NULL) {
25954 PyErr_SetString(PyExc_TypeError,"null reference");
25955 SWIG_fail;
25956 }
25957 {
25958 arg3 = wxString_in_helper(obj2);
25959 if (arg3 == NULL) SWIG_fail;
25960 temp3 = True;
25961 }
25962 if (obj3) {
25963 arg4 = (int) SWIG_AsInt(obj3);
25964 if (PyErr_Occurred()) SWIG_fail;
25965 }
25966 if (obj4) {
25967 arg5 = (int) SWIG_AsInt(obj4);
25968 if (PyErr_Occurred()) SWIG_fail;
25969 }
25970 if (obj5) {
25971 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
25972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25973 }
25974 {
25975 PyThreadState* __tstate = wxPyBeginAllowThreads();
25976 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25977
25978 wxPyEndAllowThreads(__tstate);
25979 if (PyErr_Occurred()) SWIG_fail;
25980 }
25981 {
25982 wxTreeItemId * resultptr;
25983 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25984 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25985 }
25986 {
25987 if (temp3)
25988 delete arg3;
25989 }
25990 return resultobj;
25991 fail:
25992 {
25993 if (temp3)
25994 delete arg3;
25995 }
25996 return NULL;
25997 }
25998
25999
26000 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
26001 PyObject *resultobj;
26002 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26003 wxTreeItemId *arg2 = 0 ;
26004 PyObject * obj0 = 0 ;
26005 PyObject * obj1 = 0 ;
26006 char *kwnames[] = {
26007 (char *) "self",(char *) "item", NULL
26008 };
26009
26010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
26011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26013 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26014 SWIG_POINTER_EXCEPTION | 0)) == -1)
26015 SWIG_fail;
26016 if (arg2 == NULL) {
26017 PyErr_SetString(PyExc_TypeError,"null reference");
26018 SWIG_fail;
26019 }
26020 {
26021 PyThreadState* __tstate = wxPyBeginAllowThreads();
26022 (arg1)->Delete((wxTreeItemId const &)*arg2);
26023
26024 wxPyEndAllowThreads(__tstate);
26025 if (PyErr_Occurred()) SWIG_fail;
26026 }
26027 Py_INCREF(Py_None); resultobj = Py_None;
26028 return resultobj;
26029 fail:
26030 return NULL;
26031 }
26032
26033
26034 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26035 PyObject *resultobj;
26036 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26037 wxTreeItemId *arg2 = 0 ;
26038 PyObject * obj0 = 0 ;
26039 PyObject * obj1 = 0 ;
26040 char *kwnames[] = {
26041 (char *) "self",(char *) "item", NULL
26042 };
26043
26044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
26045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26047 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26048 SWIG_POINTER_EXCEPTION | 0)) == -1)
26049 SWIG_fail;
26050 if (arg2 == NULL) {
26051 PyErr_SetString(PyExc_TypeError,"null reference");
26052 SWIG_fail;
26053 }
26054 {
26055 PyThreadState* __tstate = wxPyBeginAllowThreads();
26056 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
26057
26058 wxPyEndAllowThreads(__tstate);
26059 if (PyErr_Occurred()) SWIG_fail;
26060 }
26061 Py_INCREF(Py_None); resultobj = Py_None;
26062 return resultobj;
26063 fail:
26064 return NULL;
26065 }
26066
26067
26068 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
26069 PyObject *resultobj;
26070 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26071 PyObject * obj0 = 0 ;
26072 char *kwnames[] = {
26073 (char *) "self", NULL
26074 };
26075
26076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
26077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26079 {
26080 PyThreadState* __tstate = wxPyBeginAllowThreads();
26081 (arg1)->DeleteAllItems();
26082
26083 wxPyEndAllowThreads(__tstate);
26084 if (PyErr_Occurred()) SWIG_fail;
26085 }
26086 Py_INCREF(Py_None); resultobj = Py_None;
26087 return resultobj;
26088 fail:
26089 return NULL;
26090 }
26091
26092
26093 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
26094 PyObject *resultobj;
26095 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26096 wxTreeItemId *arg2 = 0 ;
26097 PyObject * obj0 = 0 ;
26098 PyObject * obj1 = 0 ;
26099 char *kwnames[] = {
26100 (char *) "self",(char *) "item", NULL
26101 };
26102
26103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
26104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26106 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26107 SWIG_POINTER_EXCEPTION | 0)) == -1)
26108 SWIG_fail;
26109 if (arg2 == NULL) {
26110 PyErr_SetString(PyExc_TypeError,"null reference");
26111 SWIG_fail;
26112 }
26113 {
26114 PyThreadState* __tstate = wxPyBeginAllowThreads();
26115 (arg1)->Expand((wxTreeItemId const &)*arg2);
26116
26117 wxPyEndAllowThreads(__tstate);
26118 if (PyErr_Occurred()) SWIG_fail;
26119 }
26120 Py_INCREF(Py_None); resultobj = Py_None;
26121 return resultobj;
26122 fail:
26123 return NULL;
26124 }
26125
26126
26127 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
26128 PyObject *resultobj;
26129 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26130 wxTreeItemId *arg2 = 0 ;
26131 PyObject * obj0 = 0 ;
26132 PyObject * obj1 = 0 ;
26133 char *kwnames[] = {
26134 (char *) "self",(char *) "item", NULL
26135 };
26136
26137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
26138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26140 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26141 SWIG_POINTER_EXCEPTION | 0)) == -1)
26142 SWIG_fail;
26143 if (arg2 == NULL) {
26144 PyErr_SetString(PyExc_TypeError,"null reference");
26145 SWIG_fail;
26146 }
26147 {
26148 PyThreadState* __tstate = wxPyBeginAllowThreads();
26149 (arg1)->Collapse((wxTreeItemId const &)*arg2);
26150
26151 wxPyEndAllowThreads(__tstate);
26152 if (PyErr_Occurred()) SWIG_fail;
26153 }
26154 Py_INCREF(Py_None); resultobj = Py_None;
26155 return resultobj;
26156 fail:
26157 return NULL;
26158 }
26159
26160
26161 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
26162 PyObject *resultobj;
26163 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26164 wxTreeItemId *arg2 = 0 ;
26165 PyObject * obj0 = 0 ;
26166 PyObject * obj1 = 0 ;
26167 char *kwnames[] = {
26168 (char *) "self",(char *) "item", NULL
26169 };
26170
26171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
26172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26174 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26175 SWIG_POINTER_EXCEPTION | 0)) == -1)
26176 SWIG_fail;
26177 if (arg2 == NULL) {
26178 PyErr_SetString(PyExc_TypeError,"null reference");
26179 SWIG_fail;
26180 }
26181 {
26182 PyThreadState* __tstate = wxPyBeginAllowThreads();
26183 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
26184
26185 wxPyEndAllowThreads(__tstate);
26186 if (PyErr_Occurred()) SWIG_fail;
26187 }
26188 Py_INCREF(Py_None); resultobj = Py_None;
26189 return resultobj;
26190 fail:
26191 return NULL;
26192 }
26193
26194
26195 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
26196 PyObject *resultobj;
26197 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26198 wxTreeItemId *arg2 = 0 ;
26199 PyObject * obj0 = 0 ;
26200 PyObject * obj1 = 0 ;
26201 char *kwnames[] = {
26202 (char *) "self",(char *) "item", NULL
26203 };
26204
26205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
26206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26208 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26209 SWIG_POINTER_EXCEPTION | 0)) == -1)
26210 SWIG_fail;
26211 if (arg2 == NULL) {
26212 PyErr_SetString(PyExc_TypeError,"null reference");
26213 SWIG_fail;
26214 }
26215 {
26216 PyThreadState* __tstate = wxPyBeginAllowThreads();
26217 (arg1)->Toggle((wxTreeItemId const &)*arg2);
26218
26219 wxPyEndAllowThreads(__tstate);
26220 if (PyErr_Occurred()) SWIG_fail;
26221 }
26222 Py_INCREF(Py_None); resultobj = Py_None;
26223 return resultobj;
26224 fail:
26225 return NULL;
26226 }
26227
26228
26229 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
26230 PyObject *resultobj;
26231 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26232 PyObject * obj0 = 0 ;
26233 char *kwnames[] = {
26234 (char *) "self", NULL
26235 };
26236
26237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
26238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26240 {
26241 PyThreadState* __tstate = wxPyBeginAllowThreads();
26242 (arg1)->Unselect();
26243
26244 wxPyEndAllowThreads(__tstate);
26245 if (PyErr_Occurred()) SWIG_fail;
26246 }
26247 Py_INCREF(Py_None); resultobj = Py_None;
26248 return resultobj;
26249 fail:
26250 return NULL;
26251 }
26252
26253
26254 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26255 PyObject *resultobj;
26256 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26257 wxTreeItemId *arg2 = 0 ;
26258 PyObject * obj0 = 0 ;
26259 PyObject * obj1 = 0 ;
26260 char *kwnames[] = {
26261 (char *) "self",(char *) "item", NULL
26262 };
26263
26264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
26265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26267 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26268 SWIG_POINTER_EXCEPTION | 0)) == -1)
26269 SWIG_fail;
26270 if (arg2 == NULL) {
26271 PyErr_SetString(PyExc_TypeError,"null reference");
26272 SWIG_fail;
26273 }
26274 {
26275 PyThreadState* __tstate = wxPyBeginAllowThreads();
26276 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
26277
26278 wxPyEndAllowThreads(__tstate);
26279 if (PyErr_Occurred()) SWIG_fail;
26280 }
26281 Py_INCREF(Py_None); resultobj = Py_None;
26282 return resultobj;
26283 fail:
26284 return NULL;
26285 }
26286
26287
26288 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
26289 PyObject *resultobj;
26290 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26291 PyObject * obj0 = 0 ;
26292 char *kwnames[] = {
26293 (char *) "self", NULL
26294 };
26295
26296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
26297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26299 {
26300 PyThreadState* __tstate = wxPyBeginAllowThreads();
26301 (arg1)->UnselectAll();
26302
26303 wxPyEndAllowThreads(__tstate);
26304 if (PyErr_Occurred()) SWIG_fail;
26305 }
26306 Py_INCREF(Py_None); resultobj = Py_None;
26307 return resultobj;
26308 fail:
26309 return NULL;
26310 }
26311
26312
26313 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26314 PyObject *resultobj;
26315 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26316 wxTreeItemId *arg2 = 0 ;
26317 bool arg3 = (bool) True ;
26318 PyObject * obj0 = 0 ;
26319 PyObject * obj1 = 0 ;
26320 PyObject * obj2 = 0 ;
26321 char *kwnames[] = {
26322 (char *) "self",(char *) "item",(char *) "select", NULL
26323 };
26324
26325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26328 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26329 SWIG_POINTER_EXCEPTION | 0)) == -1)
26330 SWIG_fail;
26331 if (arg2 == NULL) {
26332 PyErr_SetString(PyExc_TypeError,"null reference");
26333 SWIG_fail;
26334 }
26335 if (obj2) {
26336 arg3 = (bool) SWIG_AsBool(obj2);
26337 if (PyErr_Occurred()) SWIG_fail;
26338 }
26339 {
26340 PyThreadState* __tstate = wxPyBeginAllowThreads();
26341 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
26342
26343 wxPyEndAllowThreads(__tstate);
26344 if (PyErr_Occurred()) SWIG_fail;
26345 }
26346 Py_INCREF(Py_None); resultobj = Py_None;
26347 return resultobj;
26348 fail:
26349 return NULL;
26350 }
26351
26352
26353 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26354 PyObject *resultobj;
26355 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26356 wxTreeItemId *arg2 = 0 ;
26357 PyObject * obj0 = 0 ;
26358 PyObject * obj1 = 0 ;
26359 char *kwnames[] = {
26360 (char *) "self",(char *) "item", NULL
26361 };
26362
26363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
26364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26366 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26367 SWIG_POINTER_EXCEPTION | 0)) == -1)
26368 SWIG_fail;
26369 if (arg2 == NULL) {
26370 PyErr_SetString(PyExc_TypeError,"null reference");
26371 SWIG_fail;
26372 }
26373 {
26374 PyThreadState* __tstate = wxPyBeginAllowThreads();
26375 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
26376
26377 wxPyEndAllowThreads(__tstate);
26378 if (PyErr_Occurred()) SWIG_fail;
26379 }
26380 Py_INCREF(Py_None); resultobj = Py_None;
26381 return resultobj;
26382 fail:
26383 return NULL;
26384 }
26385
26386
26387 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26388 PyObject *resultobj;
26389 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26390 wxTreeItemId *arg2 = 0 ;
26391 PyObject * obj0 = 0 ;
26392 PyObject * obj1 = 0 ;
26393 char *kwnames[] = {
26394 (char *) "self",(char *) "item", NULL
26395 };
26396
26397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
26398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26401 SWIG_POINTER_EXCEPTION | 0)) == -1)
26402 SWIG_fail;
26403 if (arg2 == NULL) {
26404 PyErr_SetString(PyExc_TypeError,"null reference");
26405 SWIG_fail;
26406 }
26407 {
26408 PyThreadState* __tstate = wxPyBeginAllowThreads();
26409 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
26410
26411 wxPyEndAllowThreads(__tstate);
26412 if (PyErr_Occurred()) SWIG_fail;
26413 }
26414 Py_INCREF(Py_None); resultobj = Py_None;
26415 return resultobj;
26416 fail:
26417 return NULL;
26418 }
26419
26420
26421 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26422 PyObject *resultobj;
26423 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26424 wxTreeItemId *arg2 = 0 ;
26425 PyObject * obj0 = 0 ;
26426 PyObject * obj1 = 0 ;
26427 char *kwnames[] = {
26428 (char *) "self",(char *) "item", NULL
26429 };
26430
26431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
26432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26434 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26435 SWIG_POINTER_EXCEPTION | 0)) == -1)
26436 SWIG_fail;
26437 if (arg2 == NULL) {
26438 PyErr_SetString(PyExc_TypeError,"null reference");
26439 SWIG_fail;
26440 }
26441 {
26442 PyThreadState* __tstate = wxPyBeginAllowThreads();
26443 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
26444
26445 wxPyEndAllowThreads(__tstate);
26446 if (PyErr_Occurred()) SWIG_fail;
26447 }
26448 Py_INCREF(Py_None); resultobj = Py_None;
26449 return resultobj;
26450 fail:
26451 return NULL;
26452 }
26453
26454
26455 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26456 PyObject *resultobj;
26457 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26458 wxTreeItemId *arg2 = 0 ;
26459 PyObject * obj0 = 0 ;
26460 PyObject * obj1 = 0 ;
26461 char *kwnames[] = {
26462 (char *) "self",(char *) "item", NULL
26463 };
26464
26465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
26466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26468 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26469 SWIG_POINTER_EXCEPTION | 0)) == -1)
26470 SWIG_fail;
26471 if (arg2 == NULL) {
26472 PyErr_SetString(PyExc_TypeError,"null reference");
26473 SWIG_fail;
26474 }
26475 {
26476 PyThreadState* __tstate = wxPyBeginAllowThreads();
26477 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
26478
26479 wxPyEndAllowThreads(__tstate);
26480 if (PyErr_Occurred()) SWIG_fail;
26481 }
26482 Py_INCREF(Py_None); resultobj = Py_None;
26483 return resultobj;
26484 fail:
26485 return NULL;
26486 }
26487
26488
26489 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
26490 PyObject *resultobj;
26491 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26492 wxTextCtrl *result;
26493 PyObject * obj0 = 0 ;
26494 char *kwnames[] = {
26495 (char *) "self", NULL
26496 };
26497
26498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
26499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26501 {
26502 PyThreadState* __tstate = wxPyBeginAllowThreads();
26503 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
26504
26505 wxPyEndAllowThreads(__tstate);
26506 if (PyErr_Occurred()) SWIG_fail;
26507 }
26508 {
26509 resultobj = wxPyMake_wxObject(result);
26510 }
26511 return resultobj;
26512 fail:
26513 return NULL;
26514 }
26515
26516
26517 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26518 PyObject *resultobj;
26519 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26520 wxTreeItemId *arg2 = 0 ;
26521 PyObject * obj0 = 0 ;
26522 PyObject * obj1 = 0 ;
26523 char *kwnames[] = {
26524 (char *) "self",(char *) "item", NULL
26525 };
26526
26527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
26528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26530 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26531 SWIG_POINTER_EXCEPTION | 0)) == -1)
26532 SWIG_fail;
26533 if (arg2 == NULL) {
26534 PyErr_SetString(PyExc_TypeError,"null reference");
26535 SWIG_fail;
26536 }
26537 {
26538 PyThreadState* __tstate = wxPyBeginAllowThreads();
26539 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
26540
26541 wxPyEndAllowThreads(__tstate);
26542 if (PyErr_Occurred()) SWIG_fail;
26543 }
26544 Py_INCREF(Py_None); resultobj = Py_None;
26545 return resultobj;
26546 fail:
26547 return NULL;
26548 }
26549
26550
26551 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26552 PyObject *resultobj;
26553 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26554 wxPoint *arg2 = 0 ;
26555 int *arg3 = 0 ;
26556 wxTreeItemId result;
26557 wxPoint temp2 ;
26558 int temp3 ;
26559 PyObject * obj0 = 0 ;
26560 PyObject * obj1 = 0 ;
26561 char *kwnames[] = {
26562 (char *) "self",(char *) "point", NULL
26563 };
26564
26565 arg3 = &temp3;
26566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
26567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26569 {
26570 arg2 = &temp2;
26571 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26572 }
26573 {
26574 PyThreadState* __tstate = wxPyBeginAllowThreads();
26575 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
26576
26577 wxPyEndAllowThreads(__tstate);
26578 if (PyErr_Occurred()) SWIG_fail;
26579 }
26580 {
26581 wxTreeItemId * resultptr;
26582 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26583 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26584 }
26585 {
26586 PyObject *o = PyInt_FromLong((long) (*arg3));
26587 resultobj = t_output_helper(resultobj,o);
26588 }
26589 return resultobj;
26590 fail:
26591 return NULL;
26592 }
26593
26594
26595 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26596 PyObject *resultobj;
26597 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26598 wxTreeItemId *arg2 = 0 ;
26599 bool arg3 = (bool) False ;
26600 PyObject *result;
26601 PyObject * obj0 = 0 ;
26602 PyObject * obj1 = 0 ;
26603 PyObject * obj2 = 0 ;
26604 char *kwnames[] = {
26605 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26606 };
26607
26608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
26609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26611 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26612 SWIG_POINTER_EXCEPTION | 0)) == -1)
26613 SWIG_fail;
26614 if (arg2 == NULL) {
26615 PyErr_SetString(PyExc_TypeError,"null reference");
26616 SWIG_fail;
26617 }
26618 if (obj2) {
26619 arg3 = (bool) SWIG_AsBool(obj2);
26620 if (PyErr_Occurred()) SWIG_fail;
26621 }
26622 {
26623 PyThreadState* __tstate = wxPyBeginAllowThreads();
26624 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
26625
26626 wxPyEndAllowThreads(__tstate);
26627 if (PyErr_Occurred()) SWIG_fail;
26628 }
26629 resultobj = result;
26630 return resultobj;
26631 fail:
26632 return NULL;
26633 }
26634
26635
26636 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
26637 PyObject *resultobj;
26638 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
26639 wxVisualAttributes result;
26640 PyObject * obj0 = 0 ;
26641 char *kwnames[] = {
26642 (char *) "variant", NULL
26643 };
26644
26645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26646 if (obj0) {
26647 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
26648 if (PyErr_Occurred()) SWIG_fail;
26649 }
26650 {
26651 PyThreadState* __tstate = wxPyBeginAllowThreads();
26652 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26653
26654 wxPyEndAllowThreads(__tstate);
26655 if (PyErr_Occurred()) SWIG_fail;
26656 }
26657 {
26658 wxVisualAttributes * resultptr;
26659 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
26660 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26661 }
26662 return resultobj;
26663 fail:
26664 return NULL;
26665 }
26666
26667
26668 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
26669 PyObject *obj;
26670 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26671 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
26672 Py_INCREF(obj);
26673 return Py_BuildValue((char *)"");
26674 }
26675 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
26676 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
26677 return 1;
26678 }
26679
26680
26681 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
26682 PyObject *pyobj;
26683
26684 {
26685 #if wxUSE_UNICODE
26686 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26687 #else
26688 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26689 #endif
26690 }
26691 return pyobj;
26692 }
26693
26694
26695 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26696 PyObject *resultobj;
26697 wxWindow *arg1 = (wxWindow *) 0 ;
26698 int arg2 = (int) (int)-1 ;
26699 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
26700 wxString *arg3 = (wxString *) &arg3_defvalue ;
26701 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26702 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26703 wxSize const &arg5_defvalue = wxDefaultSize ;
26704 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26705 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26706 wxString const &arg7_defvalue = wxPyEmptyString ;
26707 wxString *arg7 = (wxString *) &arg7_defvalue ;
26708 int arg8 = (int) 0 ;
26709 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
26710 wxString *arg9 = (wxString *) &arg9_defvalue ;
26711 wxGenericDirCtrl *result;
26712 bool temp3 = False ;
26713 wxPoint temp4 ;
26714 wxSize temp5 ;
26715 bool temp7 = False ;
26716 bool temp9 = False ;
26717 PyObject * obj0 = 0 ;
26718 PyObject * obj1 = 0 ;
26719 PyObject * obj2 = 0 ;
26720 PyObject * obj3 = 0 ;
26721 PyObject * obj4 = 0 ;
26722 PyObject * obj5 = 0 ;
26723 PyObject * obj6 = 0 ;
26724 PyObject * obj7 = 0 ;
26725 PyObject * obj8 = 0 ;
26726 char *kwnames[] = {
26727 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26728 };
26729
26730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
26731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26733 if (obj1) {
26734 arg2 = (int const) SWIG_AsInt(obj1);
26735 if (PyErr_Occurred()) SWIG_fail;
26736 }
26737 if (obj2) {
26738 {
26739 arg3 = wxString_in_helper(obj2);
26740 if (arg3 == NULL) SWIG_fail;
26741 temp3 = True;
26742 }
26743 }
26744 if (obj3) {
26745 {
26746 arg4 = &temp4;
26747 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26748 }
26749 }
26750 if (obj4) {
26751 {
26752 arg5 = &temp5;
26753 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26754 }
26755 }
26756 if (obj5) {
26757 arg6 = (long) SWIG_AsLong(obj5);
26758 if (PyErr_Occurred()) SWIG_fail;
26759 }
26760 if (obj6) {
26761 {
26762 arg7 = wxString_in_helper(obj6);
26763 if (arg7 == NULL) SWIG_fail;
26764 temp7 = True;
26765 }
26766 }
26767 if (obj7) {
26768 arg8 = (int) SWIG_AsInt(obj7);
26769 if (PyErr_Occurred()) SWIG_fail;
26770 }
26771 if (obj8) {
26772 {
26773 arg9 = wxString_in_helper(obj8);
26774 if (arg9 == NULL) SWIG_fail;
26775 temp9 = True;
26776 }
26777 }
26778 {
26779 PyThreadState* __tstate = wxPyBeginAllowThreads();
26780 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
26781
26782 wxPyEndAllowThreads(__tstate);
26783 if (PyErr_Occurred()) SWIG_fail;
26784 }
26785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
26786 {
26787 if (temp3)
26788 delete arg3;
26789 }
26790 {
26791 if (temp7)
26792 delete arg7;
26793 }
26794 {
26795 if (temp9)
26796 delete arg9;
26797 }
26798 return resultobj;
26799 fail:
26800 {
26801 if (temp3)
26802 delete arg3;
26803 }
26804 {
26805 if (temp7)
26806 delete arg7;
26807 }
26808 {
26809 if (temp9)
26810 delete arg9;
26811 }
26812 return NULL;
26813 }
26814
26815
26816 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26817 PyObject *resultobj;
26818 wxGenericDirCtrl *result;
26819 char *kwnames[] = {
26820 NULL
26821 };
26822
26823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
26824 {
26825 PyThreadState* __tstate = wxPyBeginAllowThreads();
26826 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
26827
26828 wxPyEndAllowThreads(__tstate);
26829 if (PyErr_Occurred()) SWIG_fail;
26830 }
26831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
26832 return resultobj;
26833 fail:
26834 return NULL;
26835 }
26836
26837
26838 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
26839 PyObject *resultobj;
26840 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26841 wxWindow *arg2 = (wxWindow *) 0 ;
26842 int arg3 = (int) (int)-1 ;
26843 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
26844 wxString *arg4 = (wxString *) &arg4_defvalue ;
26845 wxPoint const &arg5_defvalue = wxDefaultPosition ;
26846 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
26847 wxSize const &arg6_defvalue = wxDefaultSize ;
26848 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
26849 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26850 wxString const &arg8_defvalue = wxPyEmptyString ;
26851 wxString *arg8 = (wxString *) &arg8_defvalue ;
26852 int arg9 = (int) 0 ;
26853 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
26854 wxString *arg10 = (wxString *) &arg10_defvalue ;
26855 bool result;
26856 bool temp4 = False ;
26857 wxPoint temp5 ;
26858 wxSize temp6 ;
26859 bool temp8 = False ;
26860 bool temp10 = False ;
26861 PyObject * obj0 = 0 ;
26862 PyObject * obj1 = 0 ;
26863 PyObject * obj2 = 0 ;
26864 PyObject * obj3 = 0 ;
26865 PyObject * obj4 = 0 ;
26866 PyObject * obj5 = 0 ;
26867 PyObject * obj6 = 0 ;
26868 PyObject * obj7 = 0 ;
26869 PyObject * obj8 = 0 ;
26870 PyObject * obj9 = 0 ;
26871 char *kwnames[] = {
26872 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26873 };
26874
26875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
26876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26878 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
26879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26880 if (obj2) {
26881 arg3 = (int const) SWIG_AsInt(obj2);
26882 if (PyErr_Occurred()) SWIG_fail;
26883 }
26884 if (obj3) {
26885 {
26886 arg4 = wxString_in_helper(obj3);
26887 if (arg4 == NULL) SWIG_fail;
26888 temp4 = True;
26889 }
26890 }
26891 if (obj4) {
26892 {
26893 arg5 = &temp5;
26894 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
26895 }
26896 }
26897 if (obj5) {
26898 {
26899 arg6 = &temp6;
26900 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
26901 }
26902 }
26903 if (obj6) {
26904 arg7 = (long) SWIG_AsLong(obj6);
26905 if (PyErr_Occurred()) SWIG_fail;
26906 }
26907 if (obj7) {
26908 {
26909 arg8 = wxString_in_helper(obj7);
26910 if (arg8 == NULL) SWIG_fail;
26911 temp8 = True;
26912 }
26913 }
26914 if (obj8) {
26915 arg9 = (int) SWIG_AsInt(obj8);
26916 if (PyErr_Occurred()) SWIG_fail;
26917 }
26918 if (obj9) {
26919 {
26920 arg10 = wxString_in_helper(obj9);
26921 if (arg10 == NULL) SWIG_fail;
26922 temp10 = True;
26923 }
26924 }
26925 {
26926 PyThreadState* __tstate = wxPyBeginAllowThreads();
26927 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
26928
26929 wxPyEndAllowThreads(__tstate);
26930 if (PyErr_Occurred()) SWIG_fail;
26931 }
26932 {
26933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26934 }
26935 {
26936 if (temp4)
26937 delete arg4;
26938 }
26939 {
26940 if (temp8)
26941 delete arg8;
26942 }
26943 {
26944 if (temp10)
26945 delete arg10;
26946 }
26947 return resultobj;
26948 fail:
26949 {
26950 if (temp4)
26951 delete arg4;
26952 }
26953 {
26954 if (temp8)
26955 delete arg8;
26956 }
26957 {
26958 if (temp10)
26959 delete arg10;
26960 }
26961 return NULL;
26962 }
26963
26964
26965 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26966 PyObject *resultobj;
26967 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26968 wxString *arg2 = 0 ;
26969 bool result;
26970 bool temp2 = False ;
26971 PyObject * obj0 = 0 ;
26972 PyObject * obj1 = 0 ;
26973 char *kwnames[] = {
26974 (char *) "self",(char *) "path", NULL
26975 };
26976
26977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
26978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26980 {
26981 arg2 = wxString_in_helper(obj1);
26982 if (arg2 == NULL) SWIG_fail;
26983 temp2 = True;
26984 }
26985 {
26986 PyThreadState* __tstate = wxPyBeginAllowThreads();
26987 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
26988
26989 wxPyEndAllowThreads(__tstate);
26990 if (PyErr_Occurred()) SWIG_fail;
26991 }
26992 {
26993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26994 }
26995 {
26996 if (temp2)
26997 delete arg2;
26998 }
26999 return resultobj;
27000 fail:
27001 {
27002 if (temp2)
27003 delete arg2;
27004 }
27005 return NULL;
27006 }
27007
27008
27009 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27010 PyObject *resultobj;
27011 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27012 wxString result;
27013 PyObject * obj0 = 0 ;
27014 char *kwnames[] = {
27015 (char *) "self", NULL
27016 };
27017
27018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
27019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27021 {
27022 PyThreadState* __tstate = wxPyBeginAllowThreads();
27023 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
27024
27025 wxPyEndAllowThreads(__tstate);
27026 if (PyErr_Occurred()) SWIG_fail;
27027 }
27028 {
27029 #if wxUSE_UNICODE
27030 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27031 #else
27032 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27033 #endif
27034 }
27035 return resultobj;
27036 fail:
27037 return NULL;
27038 }
27039
27040
27041 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27042 PyObject *resultobj;
27043 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27044 wxString *arg2 = 0 ;
27045 bool temp2 = False ;
27046 PyObject * obj0 = 0 ;
27047 PyObject * obj1 = 0 ;
27048 char *kwnames[] = {
27049 (char *) "self",(char *) "path", NULL
27050 };
27051
27052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
27053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27055 {
27056 arg2 = wxString_in_helper(obj1);
27057 if (arg2 == NULL) SWIG_fail;
27058 temp2 = True;
27059 }
27060 {
27061 PyThreadState* __tstate = wxPyBeginAllowThreads();
27062 (arg1)->SetDefaultPath((wxString const &)*arg2);
27063
27064 wxPyEndAllowThreads(__tstate);
27065 if (PyErr_Occurred()) SWIG_fail;
27066 }
27067 Py_INCREF(Py_None); resultobj = Py_None;
27068 {
27069 if (temp2)
27070 delete arg2;
27071 }
27072 return resultobj;
27073 fail:
27074 {
27075 if (temp2)
27076 delete arg2;
27077 }
27078 return NULL;
27079 }
27080
27081
27082 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27083 PyObject *resultobj;
27084 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27085 wxString result;
27086 PyObject * obj0 = 0 ;
27087 char *kwnames[] = {
27088 (char *) "self", NULL
27089 };
27090
27091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
27092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27094 {
27095 PyThreadState* __tstate = wxPyBeginAllowThreads();
27096 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
27097
27098 wxPyEndAllowThreads(__tstate);
27099 if (PyErr_Occurred()) SWIG_fail;
27100 }
27101 {
27102 #if wxUSE_UNICODE
27103 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27104 #else
27105 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27106 #endif
27107 }
27108 return resultobj;
27109 fail:
27110 return NULL;
27111 }
27112
27113
27114 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
27115 PyObject *resultobj;
27116 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27117 wxString result;
27118 PyObject * obj0 = 0 ;
27119 char *kwnames[] = {
27120 (char *) "self", NULL
27121 };
27122
27123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
27124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27126 {
27127 PyThreadState* __tstate = wxPyBeginAllowThreads();
27128 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
27129
27130 wxPyEndAllowThreads(__tstate);
27131 if (PyErr_Occurred()) SWIG_fail;
27132 }
27133 {
27134 #if wxUSE_UNICODE
27135 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27136 #else
27137 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27138 #endif
27139 }
27140 return resultobj;
27141 fail:
27142 return NULL;
27143 }
27144
27145
27146 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27147 PyObject *resultobj;
27148 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27149 wxString *arg2 = 0 ;
27150 bool temp2 = False ;
27151 PyObject * obj0 = 0 ;
27152 PyObject * obj1 = 0 ;
27153 char *kwnames[] = {
27154 (char *) "self",(char *) "path", NULL
27155 };
27156
27157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
27158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27160 {
27161 arg2 = wxString_in_helper(obj1);
27162 if (arg2 == NULL) SWIG_fail;
27163 temp2 = True;
27164 }
27165 {
27166 PyThreadState* __tstate = wxPyBeginAllowThreads();
27167 (arg1)->SetPath((wxString const &)*arg2);
27168
27169 wxPyEndAllowThreads(__tstate);
27170 if (PyErr_Occurred()) SWIG_fail;
27171 }
27172 Py_INCREF(Py_None); resultobj = Py_None;
27173 {
27174 if (temp2)
27175 delete arg2;
27176 }
27177 return resultobj;
27178 fail:
27179 {
27180 if (temp2)
27181 delete arg2;
27182 }
27183 return NULL;
27184 }
27185
27186
27187 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
27188 PyObject *resultobj;
27189 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27190 bool arg2 ;
27191 PyObject * obj0 = 0 ;
27192 PyObject * obj1 = 0 ;
27193 char *kwnames[] = {
27194 (char *) "self",(char *) "show", NULL
27195 };
27196
27197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
27198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27200 arg2 = (bool) SWIG_AsBool(obj1);
27201 if (PyErr_Occurred()) SWIG_fail;
27202 {
27203 PyThreadState* __tstate = wxPyBeginAllowThreads();
27204 (arg1)->ShowHidden(arg2);
27205
27206 wxPyEndAllowThreads(__tstate);
27207 if (PyErr_Occurred()) SWIG_fail;
27208 }
27209 Py_INCREF(Py_None); resultobj = Py_None;
27210 return resultobj;
27211 fail:
27212 return NULL;
27213 }
27214
27215
27216 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
27217 PyObject *resultobj;
27218 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27219 bool result;
27220 PyObject * obj0 = 0 ;
27221 char *kwnames[] = {
27222 (char *) "self", NULL
27223 };
27224
27225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
27226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27228 {
27229 PyThreadState* __tstate = wxPyBeginAllowThreads();
27230 result = (bool)(arg1)->GetShowHidden();
27231
27232 wxPyEndAllowThreads(__tstate);
27233 if (PyErr_Occurred()) SWIG_fail;
27234 }
27235 {
27236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27237 }
27238 return resultobj;
27239 fail:
27240 return NULL;
27241 }
27242
27243
27244 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
27245 PyObject *resultobj;
27246 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27247 wxString result;
27248 PyObject * obj0 = 0 ;
27249 char *kwnames[] = {
27250 (char *) "self", NULL
27251 };
27252
27253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
27254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27256 {
27257 PyThreadState* __tstate = wxPyBeginAllowThreads();
27258 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
27259
27260 wxPyEndAllowThreads(__tstate);
27261 if (PyErr_Occurred()) SWIG_fail;
27262 }
27263 {
27264 #if wxUSE_UNICODE
27265 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27266 #else
27267 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27268 #endif
27269 }
27270 return resultobj;
27271 fail:
27272 return NULL;
27273 }
27274
27275
27276 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
27277 PyObject *resultobj;
27278 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27279 wxString *arg2 = 0 ;
27280 bool temp2 = False ;
27281 PyObject * obj0 = 0 ;
27282 PyObject * obj1 = 0 ;
27283 char *kwnames[] = {
27284 (char *) "self",(char *) "filter", NULL
27285 };
27286
27287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
27288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27290 {
27291 arg2 = wxString_in_helper(obj1);
27292 if (arg2 == NULL) SWIG_fail;
27293 temp2 = True;
27294 }
27295 {
27296 PyThreadState* __tstate = wxPyBeginAllowThreads();
27297 (arg1)->SetFilter((wxString const &)*arg2);
27298
27299 wxPyEndAllowThreads(__tstate);
27300 if (PyErr_Occurred()) SWIG_fail;
27301 }
27302 Py_INCREF(Py_None); resultobj = Py_None;
27303 {
27304 if (temp2)
27305 delete arg2;
27306 }
27307 return resultobj;
27308 fail:
27309 {
27310 if (temp2)
27311 delete arg2;
27312 }
27313 return NULL;
27314 }
27315
27316
27317 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27318 PyObject *resultobj;
27319 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27320 int result;
27321 PyObject * obj0 = 0 ;
27322 char *kwnames[] = {
27323 (char *) "self", NULL
27324 };
27325
27326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
27327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27329 {
27330 PyThreadState* __tstate = wxPyBeginAllowThreads();
27331 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
27332
27333 wxPyEndAllowThreads(__tstate);
27334 if (PyErr_Occurred()) SWIG_fail;
27335 }
27336 resultobj = SWIG_FromInt((int)result);
27337 return resultobj;
27338 fail:
27339 return NULL;
27340 }
27341
27342
27343 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27344 PyObject *resultobj;
27345 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27346 int arg2 ;
27347 PyObject * obj0 = 0 ;
27348 PyObject * obj1 = 0 ;
27349 char *kwnames[] = {
27350 (char *) "self",(char *) "n", NULL
27351 };
27352
27353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
27354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27356 arg2 = (int) SWIG_AsInt(obj1);
27357 if (PyErr_Occurred()) SWIG_fail;
27358 {
27359 PyThreadState* __tstate = wxPyBeginAllowThreads();
27360 (arg1)->SetFilterIndex(arg2);
27361
27362 wxPyEndAllowThreads(__tstate);
27363 if (PyErr_Occurred()) SWIG_fail;
27364 }
27365 Py_INCREF(Py_None); resultobj = Py_None;
27366 return resultobj;
27367 fail:
27368 return NULL;
27369 }
27370
27371
27372 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
27373 PyObject *resultobj;
27374 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27375 wxTreeItemId result;
27376 PyObject * obj0 = 0 ;
27377 char *kwnames[] = {
27378 (char *) "self", NULL
27379 };
27380
27381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
27382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27384 {
27385 PyThreadState* __tstate = wxPyBeginAllowThreads();
27386 result = (arg1)->GetRootId();
27387
27388 wxPyEndAllowThreads(__tstate);
27389 if (PyErr_Occurred()) SWIG_fail;
27390 }
27391 {
27392 wxTreeItemId * resultptr;
27393 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27394 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27395 }
27396 return resultobj;
27397 fail:
27398 return NULL;
27399 }
27400
27401
27402 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27403 PyObject *resultobj;
27404 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27405 wxPyTreeCtrl *result;
27406 PyObject * obj0 = 0 ;
27407 char *kwnames[] = {
27408 (char *) "self", NULL
27409 };
27410
27411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
27412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27414 {
27415 PyThreadState* __tstate = wxPyBeginAllowThreads();
27416 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
27417
27418 wxPyEndAllowThreads(__tstate);
27419 if (PyErr_Occurred()) SWIG_fail;
27420 }
27421 {
27422 resultobj = wxPyMake_wxObject(result);
27423 }
27424 return resultobj;
27425 fail:
27426 return NULL;
27427 }
27428
27429
27430 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27431 PyObject *resultobj;
27432 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27433 wxDirFilterListCtrl *result;
27434 PyObject * obj0 = 0 ;
27435 char *kwnames[] = {
27436 (char *) "self", NULL
27437 };
27438
27439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
27440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27442 {
27443 PyThreadState* __tstate = wxPyBeginAllowThreads();
27444 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
27445
27446 wxPyEndAllowThreads(__tstate);
27447 if (PyErr_Occurred()) SWIG_fail;
27448 }
27449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
27450 return resultobj;
27451 fail:
27452 return NULL;
27453 }
27454
27455
27456 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27457 PyObject *resultobj;
27458 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27459 wxTreeItemId arg2 ;
27460 wxString *arg3 = 0 ;
27461 bool *arg4 = 0 ;
27462 wxTreeItemId result;
27463 wxTreeItemId *argp2 ;
27464 bool temp3 = False ;
27465 bool temp4 ;
27466 PyObject * obj0 = 0 ;
27467 PyObject * obj1 = 0 ;
27468 PyObject * obj2 = 0 ;
27469 char *kwnames[] = {
27470 (char *) "self",(char *) "parentId",(char *) "path", NULL
27471 };
27472
27473 arg4 = &temp4;
27474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
27475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27477 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
27478 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
27479 arg2 = *argp2;
27480 {
27481 arg3 = wxString_in_helper(obj2);
27482 if (arg3 == NULL) SWIG_fail;
27483 temp3 = True;
27484 }
27485 {
27486 PyThreadState* __tstate = wxPyBeginAllowThreads();
27487 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
27488
27489 wxPyEndAllowThreads(__tstate);
27490 if (PyErr_Occurred()) SWIG_fail;
27491 }
27492 {
27493 wxTreeItemId * resultptr;
27494 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27495 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27496 }
27497 {
27498 PyObject *o = PyInt_FromLong((long) (*arg4));
27499 resultobj = t_output_helper(resultobj,o);
27500 }
27501 {
27502 if (temp3)
27503 delete arg3;
27504 }
27505 return resultobj;
27506 fail:
27507 {
27508 if (temp3)
27509 delete arg3;
27510 }
27511 return NULL;
27512 }
27513
27514
27515 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
27516 PyObject *resultobj;
27517 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27518 PyObject * obj0 = 0 ;
27519 char *kwnames[] = {
27520 (char *) "self", NULL
27521 };
27522
27523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
27524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27526 {
27527 PyThreadState* __tstate = wxPyBeginAllowThreads();
27528 (arg1)->DoResize();
27529
27530 wxPyEndAllowThreads(__tstate);
27531 if (PyErr_Occurred()) SWIG_fail;
27532 }
27533 Py_INCREF(Py_None); resultobj = Py_None;
27534 return resultobj;
27535 fail:
27536 return NULL;
27537 }
27538
27539
27540 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
27541 PyObject *resultobj;
27542 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27543 PyObject * obj0 = 0 ;
27544 char *kwnames[] = {
27545 (char *) "self", NULL
27546 };
27547
27548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
27549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27551 {
27552 PyThreadState* __tstate = wxPyBeginAllowThreads();
27553 (arg1)->ReCreateTree();
27554
27555 wxPyEndAllowThreads(__tstate);
27556 if (PyErr_Occurred()) SWIG_fail;
27557 }
27558 Py_INCREF(Py_None); resultobj = Py_None;
27559 return resultobj;
27560 fail:
27561 return NULL;
27562 }
27563
27564
27565 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
27566 PyObject *obj;
27567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27568 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
27569 Py_INCREF(obj);
27570 return Py_BuildValue((char *)"");
27571 }
27572 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27573 PyObject *resultobj;
27574 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27575 int arg2 = (int) (int)-1 ;
27576 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27577 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27578 wxSize const &arg4_defvalue = wxDefaultSize ;
27579 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27580 long arg5 = (long) 0 ;
27581 wxDirFilterListCtrl *result;
27582 wxPoint temp3 ;
27583 wxSize temp4 ;
27584 PyObject * obj0 = 0 ;
27585 PyObject * obj1 = 0 ;
27586 PyObject * obj2 = 0 ;
27587 PyObject * obj3 = 0 ;
27588 PyObject * obj4 = 0 ;
27589 char *kwnames[] = {
27590 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27591 };
27592
27593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27596 if (obj1) {
27597 arg2 = (int const) SWIG_AsInt(obj1);
27598 if (PyErr_Occurred()) SWIG_fail;
27599 }
27600 if (obj2) {
27601 {
27602 arg3 = &temp3;
27603 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27604 }
27605 }
27606 if (obj3) {
27607 {
27608 arg4 = &temp4;
27609 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27610 }
27611 }
27612 if (obj4) {
27613 arg5 = (long) SWIG_AsLong(obj4);
27614 if (PyErr_Occurred()) SWIG_fail;
27615 }
27616 {
27617 PyThreadState* __tstate = wxPyBeginAllowThreads();
27618 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
27619
27620 wxPyEndAllowThreads(__tstate);
27621 if (PyErr_Occurred()) SWIG_fail;
27622 }
27623 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27624 return resultobj;
27625 fail:
27626 return NULL;
27627 }
27628
27629
27630 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27631 PyObject *resultobj;
27632 wxDirFilterListCtrl *result;
27633 char *kwnames[] = {
27634 NULL
27635 };
27636
27637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
27638 {
27639 PyThreadState* __tstate = wxPyBeginAllowThreads();
27640 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
27641
27642 wxPyEndAllowThreads(__tstate);
27643 if (PyErr_Occurred()) SWIG_fail;
27644 }
27645 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27646 return resultobj;
27647 fail:
27648 return NULL;
27649 }
27650
27651
27652 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27653 PyObject *resultobj;
27654 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27655 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
27656 int arg3 = (int) (int)-1 ;
27657 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27658 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27659 wxSize const &arg5_defvalue = wxDefaultSize ;
27660 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27661 long arg6 = (long) 0 ;
27662 bool result;
27663 wxPoint temp4 ;
27664 wxSize temp5 ;
27665 PyObject * obj0 = 0 ;
27666 PyObject * obj1 = 0 ;
27667 PyObject * obj2 = 0 ;
27668 PyObject * obj3 = 0 ;
27669 PyObject * obj4 = 0 ;
27670 PyObject * obj5 = 0 ;
27671 char *kwnames[] = {
27672 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27673 };
27674
27675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27678 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
27679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27680 if (obj2) {
27681 arg3 = (int const) SWIG_AsInt(obj2);
27682 if (PyErr_Occurred()) SWIG_fail;
27683 }
27684 if (obj3) {
27685 {
27686 arg4 = &temp4;
27687 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27688 }
27689 }
27690 if (obj4) {
27691 {
27692 arg5 = &temp5;
27693 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27694 }
27695 }
27696 if (obj5) {
27697 arg6 = (long) SWIG_AsLong(obj5);
27698 if (PyErr_Occurred()) SWIG_fail;
27699 }
27700 {
27701 PyThreadState* __tstate = wxPyBeginAllowThreads();
27702 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
27703
27704 wxPyEndAllowThreads(__tstate);
27705 if (PyErr_Occurred()) SWIG_fail;
27706 }
27707 {
27708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27709 }
27710 return resultobj;
27711 fail:
27712 return NULL;
27713 }
27714
27715
27716 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
27717 PyObject *resultobj;
27718 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27719 wxString *arg2 = 0 ;
27720 int arg3 ;
27721 bool temp2 = False ;
27722 PyObject * obj0 = 0 ;
27723 PyObject * obj1 = 0 ;
27724 PyObject * obj2 = 0 ;
27725 char *kwnames[] = {
27726 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27727 };
27728
27729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
27730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27732 {
27733 arg2 = wxString_in_helper(obj1);
27734 if (arg2 == NULL) SWIG_fail;
27735 temp2 = True;
27736 }
27737 arg3 = (int) SWIG_AsInt(obj2);
27738 if (PyErr_Occurred()) SWIG_fail;
27739 {
27740 PyThreadState* __tstate = wxPyBeginAllowThreads();
27741 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
27742
27743 wxPyEndAllowThreads(__tstate);
27744 if (PyErr_Occurred()) SWIG_fail;
27745 }
27746 Py_INCREF(Py_None); resultobj = Py_None;
27747 {
27748 if (temp2)
27749 delete arg2;
27750 }
27751 return resultobj;
27752 fail:
27753 {
27754 if (temp2)
27755 delete arg2;
27756 }
27757 return NULL;
27758 }
27759
27760
27761 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
27762 PyObject *obj;
27763 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27764 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
27765 Py_INCREF(obj);
27766 return Py_BuildValue((char *)"");
27767 }
27768 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27769 PyObject *resultobj;
27770 wxWindow *arg1 = (wxWindow *) 0 ;
27771 int arg2 ;
27772 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27773 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27774 wxSize const &arg4_defvalue = wxDefaultSize ;
27775 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27776 long arg5 = (long) 0 ;
27777 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27778 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27779 wxString const &arg7_defvalue = wxPyControlNameStr ;
27780 wxString *arg7 = (wxString *) &arg7_defvalue ;
27781 wxPyControl *result;
27782 wxPoint temp3 ;
27783 wxSize temp4 ;
27784 bool temp7 = False ;
27785 PyObject * obj0 = 0 ;
27786 PyObject * obj1 = 0 ;
27787 PyObject * obj2 = 0 ;
27788 PyObject * obj3 = 0 ;
27789 PyObject * obj4 = 0 ;
27790 PyObject * obj5 = 0 ;
27791 PyObject * obj6 = 0 ;
27792 char *kwnames[] = {
27793 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27794 };
27795
27796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27799 arg2 = (int const) SWIG_AsInt(obj1);
27800 if (PyErr_Occurred()) SWIG_fail;
27801 if (obj2) {
27802 {
27803 arg3 = &temp3;
27804 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27805 }
27806 }
27807 if (obj3) {
27808 {
27809 arg4 = &temp4;
27810 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27811 }
27812 }
27813 if (obj4) {
27814 arg5 = (long) SWIG_AsLong(obj4);
27815 if (PyErr_Occurred()) SWIG_fail;
27816 }
27817 if (obj5) {
27818 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
27819 SWIG_POINTER_EXCEPTION | 0)) == -1)
27820 SWIG_fail;
27821 if (arg6 == NULL) {
27822 PyErr_SetString(PyExc_TypeError,"null reference");
27823 SWIG_fail;
27824 }
27825 }
27826 if (obj6) {
27827 {
27828 arg7 = wxString_in_helper(obj6);
27829 if (arg7 == NULL) SWIG_fail;
27830 temp7 = True;
27831 }
27832 }
27833 {
27834 PyThreadState* __tstate = wxPyBeginAllowThreads();
27835 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27836
27837 wxPyEndAllowThreads(__tstate);
27838 if (PyErr_Occurred()) SWIG_fail;
27839 }
27840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
27841 {
27842 if (temp7)
27843 delete arg7;
27844 }
27845 return resultobj;
27846 fail:
27847 {
27848 if (temp7)
27849 delete arg7;
27850 }
27851 return NULL;
27852 }
27853
27854
27855 static PyObject *_wrap_new_PrePyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27856 PyObject *resultobj;
27857 wxPyControl *result;
27858 char *kwnames[] = {
27859 NULL
27860 };
27861
27862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
27863 {
27864 PyThreadState* __tstate = wxPyBeginAllowThreads();
27865 result = (wxPyControl *)new wxPyControl();
27866
27867 wxPyEndAllowThreads(__tstate);
27868 if (PyErr_Occurred()) SWIG_fail;
27869 }
27870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
27871 return resultobj;
27872 fail:
27873 return NULL;
27874 }
27875
27876
27877 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
27878 PyObject *resultobj;
27879 wxPyControl *arg1 = (wxPyControl *) 0 ;
27880 PyObject *arg2 = (PyObject *) 0 ;
27881 PyObject *arg3 = (PyObject *) 0 ;
27882 PyObject * obj0 = 0 ;
27883 PyObject * obj1 = 0 ;
27884 PyObject * obj2 = 0 ;
27885 char *kwnames[] = {
27886 (char *) "self",(char *) "self",(char *) "_class", NULL
27887 };
27888
27889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27892 arg2 = obj1;
27893 arg3 = obj2;
27894 {
27895 PyThreadState* __tstate = wxPyBeginAllowThreads();
27896 (arg1)->_setCallbackInfo(arg2,arg3);
27897
27898 wxPyEndAllowThreads(__tstate);
27899 if (PyErr_Occurred()) SWIG_fail;
27900 }
27901 Py_INCREF(Py_None); resultobj = Py_None;
27902 return resultobj;
27903 fail:
27904 return NULL;
27905 }
27906
27907
27908 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27909 PyObject *resultobj;
27910 wxPyControl *arg1 = (wxPyControl *) 0 ;
27911 int arg2 ;
27912 int arg3 ;
27913 int arg4 ;
27914 int arg5 ;
27915 PyObject * obj0 = 0 ;
27916 PyObject * obj1 = 0 ;
27917 PyObject * obj2 = 0 ;
27918 PyObject * obj3 = 0 ;
27919 PyObject * obj4 = 0 ;
27920 char *kwnames[] = {
27921 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27922 };
27923
27924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27927 arg2 = (int) SWIG_AsInt(obj1);
27928 if (PyErr_Occurred()) SWIG_fail;
27929 arg3 = (int) SWIG_AsInt(obj2);
27930 if (PyErr_Occurred()) SWIG_fail;
27931 arg4 = (int) SWIG_AsInt(obj3);
27932 if (PyErr_Occurred()) SWIG_fail;
27933 arg5 = (int) SWIG_AsInt(obj4);
27934 if (PyErr_Occurred()) SWIG_fail;
27935 {
27936 PyThreadState* __tstate = wxPyBeginAllowThreads();
27937 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
27938
27939 wxPyEndAllowThreads(__tstate);
27940 if (PyErr_Occurred()) SWIG_fail;
27941 }
27942 Py_INCREF(Py_None); resultobj = Py_None;
27943 return resultobj;
27944 fail:
27945 return NULL;
27946 }
27947
27948
27949 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27950 PyObject *resultobj;
27951 wxPyControl *arg1 = (wxPyControl *) 0 ;
27952 int arg2 ;
27953 int arg3 ;
27954 int arg4 ;
27955 int arg5 ;
27956 int arg6 = (int) wxSIZE_AUTO ;
27957 PyObject * obj0 = 0 ;
27958 PyObject * obj1 = 0 ;
27959 PyObject * obj2 = 0 ;
27960 PyObject * obj3 = 0 ;
27961 PyObject * obj4 = 0 ;
27962 PyObject * obj5 = 0 ;
27963 char *kwnames[] = {
27964 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27965 };
27966
27967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27970 arg2 = (int) SWIG_AsInt(obj1);
27971 if (PyErr_Occurred()) SWIG_fail;
27972 arg3 = (int) SWIG_AsInt(obj2);
27973 if (PyErr_Occurred()) SWIG_fail;
27974 arg4 = (int) SWIG_AsInt(obj3);
27975 if (PyErr_Occurred()) SWIG_fail;
27976 arg5 = (int) SWIG_AsInt(obj4);
27977 if (PyErr_Occurred()) SWIG_fail;
27978 if (obj5) {
27979 arg6 = (int) SWIG_AsInt(obj5);
27980 if (PyErr_Occurred()) SWIG_fail;
27981 }
27982 {
27983 PyThreadState* __tstate = wxPyBeginAllowThreads();
27984 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
27985
27986 wxPyEndAllowThreads(__tstate);
27987 if (PyErr_Occurred()) SWIG_fail;
27988 }
27989 Py_INCREF(Py_None); resultobj = Py_None;
27990 return resultobj;
27991 fail:
27992 return NULL;
27993 }
27994
27995
27996 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27997 PyObject *resultobj;
27998 wxPyControl *arg1 = (wxPyControl *) 0 ;
27999 int arg2 ;
28000 int arg3 ;
28001 PyObject * obj0 = 0 ;
28002 PyObject * obj1 = 0 ;
28003 PyObject * obj2 = 0 ;
28004 char *kwnames[] = {
28005 (char *) "self",(char *) "width",(char *) "height", NULL
28006 };
28007
28008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28011 arg2 = (int) SWIG_AsInt(obj1);
28012 if (PyErr_Occurred()) SWIG_fail;
28013 arg3 = (int) SWIG_AsInt(obj2);
28014 if (PyErr_Occurred()) SWIG_fail;
28015 {
28016 PyThreadState* __tstate = wxPyBeginAllowThreads();
28017 (arg1)->base_DoSetClientSize(arg2,arg3);
28018
28019 wxPyEndAllowThreads(__tstate);
28020 if (PyErr_Occurred()) SWIG_fail;
28021 }
28022 Py_INCREF(Py_None); resultobj = Py_None;
28023 return resultobj;
28024 fail:
28025 return NULL;
28026 }
28027
28028
28029 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28030 PyObject *resultobj;
28031 wxPyControl *arg1 = (wxPyControl *) 0 ;
28032 int arg2 ;
28033 int arg3 ;
28034 PyObject * obj0 = 0 ;
28035 PyObject * obj1 = 0 ;
28036 PyObject * obj2 = 0 ;
28037 char *kwnames[] = {
28038 (char *) "self",(char *) "x",(char *) "y", NULL
28039 };
28040
28041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28044 arg2 = (int) SWIG_AsInt(obj1);
28045 if (PyErr_Occurred()) SWIG_fail;
28046 arg3 = (int) SWIG_AsInt(obj2);
28047 if (PyErr_Occurred()) SWIG_fail;
28048 {
28049 PyThreadState* __tstate = wxPyBeginAllowThreads();
28050 (arg1)->base_DoSetVirtualSize(arg2,arg3);
28051
28052 wxPyEndAllowThreads(__tstate);
28053 if (PyErr_Occurred()) SWIG_fail;
28054 }
28055 Py_INCREF(Py_None); resultobj = Py_None;
28056 return resultobj;
28057 fail:
28058 return NULL;
28059 }
28060
28061
28062 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28063 PyObject *resultobj;
28064 wxPyControl *arg1 = (wxPyControl *) 0 ;
28065 int *arg2 = (int *) 0 ;
28066 int *arg3 = (int *) 0 ;
28067 int temp2 ;
28068 int temp3 ;
28069 PyObject * obj0 = 0 ;
28070 char *kwnames[] = {
28071 (char *) "self", NULL
28072 };
28073
28074 arg2 = &temp2;
28075 arg3 = &temp3;
28076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
28077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28079 {
28080 PyThreadState* __tstate = wxPyBeginAllowThreads();
28081 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
28082
28083 wxPyEndAllowThreads(__tstate);
28084 if (PyErr_Occurred()) SWIG_fail;
28085 }
28086 Py_INCREF(Py_None); resultobj = Py_None;
28087 {
28088 PyObject *o = PyInt_FromLong((long) (*arg2));
28089 resultobj = t_output_helper(resultobj,o);
28090 }
28091 {
28092 PyObject *o = PyInt_FromLong((long) (*arg3));
28093 resultobj = t_output_helper(resultobj,o);
28094 }
28095 return resultobj;
28096 fail:
28097 return NULL;
28098 }
28099
28100
28101 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28102 PyObject *resultobj;
28103 wxPyControl *arg1 = (wxPyControl *) 0 ;
28104 int *arg2 = (int *) 0 ;
28105 int *arg3 = (int *) 0 ;
28106 int temp2 ;
28107 int temp3 ;
28108 PyObject * obj0 = 0 ;
28109 char *kwnames[] = {
28110 (char *) "self", NULL
28111 };
28112
28113 arg2 = &temp2;
28114 arg3 = &temp3;
28115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
28116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28118 {
28119 PyThreadState* __tstate = wxPyBeginAllowThreads();
28120 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
28121
28122 wxPyEndAllowThreads(__tstate);
28123 if (PyErr_Occurred()) SWIG_fail;
28124 }
28125 Py_INCREF(Py_None); resultobj = Py_None;
28126 {
28127 PyObject *o = PyInt_FromLong((long) (*arg2));
28128 resultobj = t_output_helper(resultobj,o);
28129 }
28130 {
28131 PyObject *o = PyInt_FromLong((long) (*arg3));
28132 resultobj = t_output_helper(resultobj,o);
28133 }
28134 return resultobj;
28135 fail:
28136 return NULL;
28137 }
28138
28139
28140 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28141 PyObject *resultobj;
28142 wxPyControl *arg1 = (wxPyControl *) 0 ;
28143 int *arg2 = (int *) 0 ;
28144 int *arg3 = (int *) 0 ;
28145 int temp2 ;
28146 int temp3 ;
28147 PyObject * obj0 = 0 ;
28148 char *kwnames[] = {
28149 (char *) "self", NULL
28150 };
28151
28152 arg2 = &temp2;
28153 arg3 = &temp3;
28154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
28155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28157 {
28158 PyThreadState* __tstate = wxPyBeginAllowThreads();
28159 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
28160
28161 wxPyEndAllowThreads(__tstate);
28162 if (PyErr_Occurred()) SWIG_fail;
28163 }
28164 Py_INCREF(Py_None); resultobj = Py_None;
28165 {
28166 PyObject *o = PyInt_FromLong((long) (*arg2));
28167 resultobj = t_output_helper(resultobj,o);
28168 }
28169 {
28170 PyObject *o = PyInt_FromLong((long) (*arg3));
28171 resultobj = t_output_helper(resultobj,o);
28172 }
28173 return resultobj;
28174 fail:
28175 return NULL;
28176 }
28177
28178
28179 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28180 PyObject *resultobj;
28181 wxPyControl *arg1 = (wxPyControl *) 0 ;
28182 wxSize result;
28183 PyObject * obj0 = 0 ;
28184 char *kwnames[] = {
28185 (char *) "self", NULL
28186 };
28187
28188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
28189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28191 {
28192 PyThreadState* __tstate = wxPyBeginAllowThreads();
28193 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
28194
28195 wxPyEndAllowThreads(__tstate);
28196 if (PyErr_Occurred()) SWIG_fail;
28197 }
28198 {
28199 wxSize * resultptr;
28200 resultptr = new wxSize((wxSize &) result);
28201 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28202 }
28203 return resultobj;
28204 fail:
28205 return NULL;
28206 }
28207
28208
28209 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28210 PyObject *resultobj;
28211 wxPyControl *arg1 = (wxPyControl *) 0 ;
28212 wxSize result;
28213 PyObject * obj0 = 0 ;
28214 char *kwnames[] = {
28215 (char *) "self", NULL
28216 };
28217
28218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
28219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28221 {
28222 PyThreadState* __tstate = wxPyBeginAllowThreads();
28223 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
28224
28225 wxPyEndAllowThreads(__tstate);
28226 if (PyErr_Occurred()) SWIG_fail;
28227 }
28228 {
28229 wxSize * resultptr;
28230 resultptr = new wxSize((wxSize &) result);
28231 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28232 }
28233 return resultobj;
28234 fail:
28235 return NULL;
28236 }
28237
28238
28239 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
28240 PyObject *resultobj;
28241 wxPyControl *arg1 = (wxPyControl *) 0 ;
28242 PyObject * obj0 = 0 ;
28243 char *kwnames[] = {
28244 (char *) "self", NULL
28245 };
28246
28247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
28248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28250 {
28251 PyThreadState* __tstate = wxPyBeginAllowThreads();
28252 (arg1)->base_InitDialog();
28253
28254 wxPyEndAllowThreads(__tstate);
28255 if (PyErr_Occurred()) SWIG_fail;
28256 }
28257 Py_INCREF(Py_None); resultobj = Py_None;
28258 return resultobj;
28259 fail:
28260 return NULL;
28261 }
28262
28263
28264 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28265 PyObject *resultobj;
28266 wxPyControl *arg1 = (wxPyControl *) 0 ;
28267 bool result;
28268 PyObject * obj0 = 0 ;
28269 char *kwnames[] = {
28270 (char *) "self", NULL
28271 };
28272
28273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
28274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28276 {
28277 PyThreadState* __tstate = wxPyBeginAllowThreads();
28278 result = (bool)(arg1)->base_TransferDataToWindow();
28279
28280 wxPyEndAllowThreads(__tstate);
28281 if (PyErr_Occurred()) SWIG_fail;
28282 }
28283 {
28284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28285 }
28286 return resultobj;
28287 fail:
28288 return NULL;
28289 }
28290
28291
28292 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28293 PyObject *resultobj;
28294 wxPyControl *arg1 = (wxPyControl *) 0 ;
28295 bool result;
28296 PyObject * obj0 = 0 ;
28297 char *kwnames[] = {
28298 (char *) "self", NULL
28299 };
28300
28301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
28302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28304 {
28305 PyThreadState* __tstate = wxPyBeginAllowThreads();
28306 result = (bool)(arg1)->base_TransferDataFromWindow();
28307
28308 wxPyEndAllowThreads(__tstate);
28309 if (PyErr_Occurred()) SWIG_fail;
28310 }
28311 {
28312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28313 }
28314 return resultobj;
28315 fail:
28316 return NULL;
28317 }
28318
28319
28320 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
28321 PyObject *resultobj;
28322 wxPyControl *arg1 = (wxPyControl *) 0 ;
28323 bool result;
28324 PyObject * obj0 = 0 ;
28325 char *kwnames[] = {
28326 (char *) "self", NULL
28327 };
28328
28329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
28330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28332 {
28333 PyThreadState* __tstate = wxPyBeginAllowThreads();
28334 result = (bool)(arg1)->base_Validate();
28335
28336 wxPyEndAllowThreads(__tstate);
28337 if (PyErr_Occurred()) SWIG_fail;
28338 }
28339 {
28340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28341 }
28342 return resultobj;
28343 fail:
28344 return NULL;
28345 }
28346
28347
28348 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
28349 PyObject *resultobj;
28350 wxPyControl *arg1 = (wxPyControl *) 0 ;
28351 bool result;
28352 PyObject * obj0 = 0 ;
28353 char *kwnames[] = {
28354 (char *) "self", NULL
28355 };
28356
28357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
28358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28360 {
28361 PyThreadState* __tstate = wxPyBeginAllowThreads();
28362 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
28363
28364 wxPyEndAllowThreads(__tstate);
28365 if (PyErr_Occurred()) SWIG_fail;
28366 }
28367 {
28368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28369 }
28370 return resultobj;
28371 fail:
28372 return NULL;
28373 }
28374
28375
28376 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
28377 PyObject *resultobj;
28378 wxPyControl *arg1 = (wxPyControl *) 0 ;
28379 bool result;
28380 PyObject * obj0 = 0 ;
28381 char *kwnames[] = {
28382 (char *) "self", NULL
28383 };
28384
28385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
28386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28388 {
28389 PyThreadState* __tstate = wxPyBeginAllowThreads();
28390 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
28391
28392 wxPyEndAllowThreads(__tstate);
28393 if (PyErr_Occurred()) SWIG_fail;
28394 }
28395 {
28396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28397 }
28398 return resultobj;
28399 fail:
28400 return NULL;
28401 }
28402
28403
28404 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28405 PyObject *resultobj;
28406 wxPyControl *arg1 = (wxPyControl *) 0 ;
28407 wxSize result;
28408 PyObject * obj0 = 0 ;
28409 char *kwnames[] = {
28410 (char *) "self", NULL
28411 };
28412
28413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
28414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28416 {
28417 PyThreadState* __tstate = wxPyBeginAllowThreads();
28418 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
28419
28420 wxPyEndAllowThreads(__tstate);
28421 if (PyErr_Occurred()) SWIG_fail;
28422 }
28423 {
28424 wxSize * resultptr;
28425 resultptr = new wxSize((wxSize &) result);
28426 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28427 }
28428 return resultobj;
28429 fail:
28430 return NULL;
28431 }
28432
28433
28434 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28435 PyObject *resultobj;
28436 wxPyControl *arg1 = (wxPyControl *) 0 ;
28437 wxWindow *arg2 = (wxWindow *) 0 ;
28438 PyObject * obj0 = 0 ;
28439 PyObject * obj1 = 0 ;
28440 char *kwnames[] = {
28441 (char *) "self",(char *) "child", NULL
28442 };
28443
28444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
28445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28447 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28449 {
28450 PyThreadState* __tstate = wxPyBeginAllowThreads();
28451 (arg1)->base_AddChild(arg2);
28452
28453 wxPyEndAllowThreads(__tstate);
28454 if (PyErr_Occurred()) SWIG_fail;
28455 }
28456 Py_INCREF(Py_None); resultobj = Py_None;
28457 return resultobj;
28458 fail:
28459 return NULL;
28460 }
28461
28462
28463 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28464 PyObject *resultobj;
28465 wxPyControl *arg1 = (wxPyControl *) 0 ;
28466 wxWindow *arg2 = (wxWindow *) 0 ;
28467 PyObject * obj0 = 0 ;
28468 PyObject * obj1 = 0 ;
28469 char *kwnames[] = {
28470 (char *) "self",(char *) "child", NULL
28471 };
28472
28473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
28474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28476 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28478 {
28479 PyThreadState* __tstate = wxPyBeginAllowThreads();
28480 (arg1)->base_RemoveChild(arg2);
28481
28482 wxPyEndAllowThreads(__tstate);
28483 if (PyErr_Occurred()) SWIG_fail;
28484 }
28485 Py_INCREF(Py_None); resultobj = Py_None;
28486 return resultobj;
28487 fail:
28488 return NULL;
28489 }
28490
28491
28492 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
28493 PyObject *resultobj;
28494 wxPyControl *arg1 = (wxPyControl *) 0 ;
28495 bool result;
28496 PyObject * obj0 = 0 ;
28497 char *kwnames[] = {
28498 (char *) "self", NULL
28499 };
28500
28501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
28502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28504 {
28505 PyThreadState* __tstate = wxPyBeginAllowThreads();
28506 result = (bool)(arg1)->base_ShouldInheritColours();
28507
28508 wxPyEndAllowThreads(__tstate);
28509 if (PyErr_Occurred()) SWIG_fail;
28510 }
28511 {
28512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28513 }
28514 return resultobj;
28515 fail:
28516 return NULL;
28517 }
28518
28519
28520 static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
28521 PyObject *resultobj;
28522 wxPyControl *arg1 = (wxPyControl *) 0 ;
28523 wxColour *arg2 = 0 ;
28524 wxColour temp2 ;
28525 PyObject * obj0 = 0 ;
28526 PyObject * obj1 = 0 ;
28527 char *kwnames[] = {
28528 (char *) "self",(char *) "c", NULL
28529 };
28530
28531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
28532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28534 {
28535 arg2 = &temp2;
28536 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
28537 }
28538 {
28539 PyThreadState* __tstate = wxPyBeginAllowThreads();
28540 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
28541
28542 wxPyEndAllowThreads(__tstate);
28543 if (PyErr_Occurred()) SWIG_fail;
28544 }
28545 Py_INCREF(Py_None); resultobj = Py_None;
28546 return resultobj;
28547 fail:
28548 return NULL;
28549 }
28550
28551
28552 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
28553 PyObject *obj;
28554 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28555 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
28556 Py_INCREF(obj);
28557 return Py_BuildValue((char *)"");
28558 }
28559 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
28560 PyObject *resultobj;
28561 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28562 int arg2 = (int) 0 ;
28563 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28564 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28565 wxHelpEvent *result;
28566 wxPoint temp3 ;
28567 PyObject * obj0 = 0 ;
28568 PyObject * obj1 = 0 ;
28569 PyObject * obj2 = 0 ;
28570 char *kwnames[] = {
28571 (char *) "type",(char *) "winid",(char *) "pt", NULL
28572 };
28573
28574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
28575 if (obj0) {
28576 arg1 = (wxEventType) SWIG_AsInt(obj0);
28577 if (PyErr_Occurred()) SWIG_fail;
28578 }
28579 if (obj1) {
28580 arg2 = (int) SWIG_AsInt(obj1);
28581 if (PyErr_Occurred()) SWIG_fail;
28582 }
28583 if (obj2) {
28584 {
28585 arg3 = &temp3;
28586 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28587 }
28588 }
28589 {
28590 PyThreadState* __tstate = wxPyBeginAllowThreads();
28591 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
28592
28593 wxPyEndAllowThreads(__tstate);
28594 if (PyErr_Occurred()) SWIG_fail;
28595 }
28596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
28597 return resultobj;
28598 fail:
28599 return NULL;
28600 }
28601
28602
28603 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28604 PyObject *resultobj;
28605 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28606 wxPoint result;
28607 PyObject * obj0 = 0 ;
28608 char *kwnames[] = {
28609 (char *) "self", NULL
28610 };
28611
28612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
28613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28615 {
28616 PyThreadState* __tstate = wxPyBeginAllowThreads();
28617 result = ((wxHelpEvent const *)arg1)->GetPosition();
28618
28619 wxPyEndAllowThreads(__tstate);
28620 if (PyErr_Occurred()) SWIG_fail;
28621 }
28622 {
28623 wxPoint * resultptr;
28624 resultptr = new wxPoint((wxPoint &) result);
28625 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28626 }
28627 return resultobj;
28628 fail:
28629 return NULL;
28630 }
28631
28632
28633 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28634 PyObject *resultobj;
28635 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28636 wxPoint *arg2 = 0 ;
28637 wxPoint temp2 ;
28638 PyObject * obj0 = 0 ;
28639 PyObject * obj1 = 0 ;
28640 char *kwnames[] = {
28641 (char *) "self",(char *) "pos", NULL
28642 };
28643
28644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
28645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28647 {
28648 arg2 = &temp2;
28649 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28650 }
28651 {
28652 PyThreadState* __tstate = wxPyBeginAllowThreads();
28653 (arg1)->SetPosition((wxPoint const &)*arg2);
28654
28655 wxPyEndAllowThreads(__tstate);
28656 if (PyErr_Occurred()) SWIG_fail;
28657 }
28658 Py_INCREF(Py_None); resultobj = Py_None;
28659 return resultobj;
28660 fail:
28661 return NULL;
28662 }
28663
28664
28665 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28666 PyObject *resultobj;
28667 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28668 wxString *result;
28669 PyObject * obj0 = 0 ;
28670 char *kwnames[] = {
28671 (char *) "self", NULL
28672 };
28673
28674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
28675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28677 {
28678 PyThreadState* __tstate = wxPyBeginAllowThreads();
28679 {
28680 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
28681 result = (wxString *) &_result_ref;
28682 }
28683
28684 wxPyEndAllowThreads(__tstate);
28685 if (PyErr_Occurred()) SWIG_fail;
28686 }
28687 {
28688 #if wxUSE_UNICODE
28689 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28690 #else
28691 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28692 #endif
28693 }
28694 return resultobj;
28695 fail:
28696 return NULL;
28697 }
28698
28699
28700 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28701 PyObject *resultobj;
28702 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28703 wxString *arg2 = 0 ;
28704 bool temp2 = False ;
28705 PyObject * obj0 = 0 ;
28706 PyObject * obj1 = 0 ;
28707 char *kwnames[] = {
28708 (char *) "self",(char *) "link", NULL
28709 };
28710
28711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
28712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28714 {
28715 arg2 = wxString_in_helper(obj1);
28716 if (arg2 == NULL) SWIG_fail;
28717 temp2 = True;
28718 }
28719 {
28720 PyThreadState* __tstate = wxPyBeginAllowThreads();
28721 (arg1)->SetLink((wxString const &)*arg2);
28722
28723 wxPyEndAllowThreads(__tstate);
28724 if (PyErr_Occurred()) SWIG_fail;
28725 }
28726 Py_INCREF(Py_None); resultobj = Py_None;
28727 {
28728 if (temp2)
28729 delete arg2;
28730 }
28731 return resultobj;
28732 fail:
28733 {
28734 if (temp2)
28735 delete arg2;
28736 }
28737 return NULL;
28738 }
28739
28740
28741 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28742 PyObject *resultobj;
28743 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28744 wxString *result;
28745 PyObject * obj0 = 0 ;
28746 char *kwnames[] = {
28747 (char *) "self", NULL
28748 };
28749
28750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
28751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28753 {
28754 PyThreadState* __tstate = wxPyBeginAllowThreads();
28755 {
28756 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
28757 result = (wxString *) &_result_ref;
28758 }
28759
28760 wxPyEndAllowThreads(__tstate);
28761 if (PyErr_Occurred()) SWIG_fail;
28762 }
28763 {
28764 #if wxUSE_UNICODE
28765 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28766 #else
28767 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28768 #endif
28769 }
28770 return resultobj;
28771 fail:
28772 return NULL;
28773 }
28774
28775
28776 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28777 PyObject *resultobj;
28778 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28779 wxString *arg2 = 0 ;
28780 bool temp2 = False ;
28781 PyObject * obj0 = 0 ;
28782 PyObject * obj1 = 0 ;
28783 char *kwnames[] = {
28784 (char *) "self",(char *) "target", NULL
28785 };
28786
28787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
28788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28790 {
28791 arg2 = wxString_in_helper(obj1);
28792 if (arg2 == NULL) SWIG_fail;
28793 temp2 = True;
28794 }
28795 {
28796 PyThreadState* __tstate = wxPyBeginAllowThreads();
28797 (arg1)->SetTarget((wxString const &)*arg2);
28798
28799 wxPyEndAllowThreads(__tstate);
28800 if (PyErr_Occurred()) SWIG_fail;
28801 }
28802 Py_INCREF(Py_None); resultobj = Py_None;
28803 {
28804 if (temp2)
28805 delete arg2;
28806 }
28807 return resultobj;
28808 fail:
28809 {
28810 if (temp2)
28811 delete arg2;
28812 }
28813 return NULL;
28814 }
28815
28816
28817 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
28818 PyObject *obj;
28819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28820 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
28821 Py_INCREF(obj);
28822 return Py_BuildValue((char *)"");
28823 }
28824 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28825 PyObject *resultobj;
28826 wxWindow *arg1 = (wxWindow *) NULL ;
28827 bool arg2 = (bool) True ;
28828 wxContextHelp *result;
28829 PyObject * obj0 = 0 ;
28830 PyObject * obj1 = 0 ;
28831 char *kwnames[] = {
28832 (char *) "window",(char *) "doNow", NULL
28833 };
28834
28835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
28836 if (obj0) {
28837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28839 }
28840 if (obj1) {
28841 arg2 = (bool) SWIG_AsBool(obj1);
28842 if (PyErr_Occurred()) SWIG_fail;
28843 }
28844 {
28845 PyThreadState* __tstate = wxPyBeginAllowThreads();
28846 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
28847
28848 wxPyEndAllowThreads(__tstate);
28849 if (PyErr_Occurred()) SWIG_fail;
28850 }
28851 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
28852 return resultobj;
28853 fail:
28854 return NULL;
28855 }
28856
28857
28858 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28859 PyObject *resultobj;
28860 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28861 PyObject * obj0 = 0 ;
28862 char *kwnames[] = {
28863 (char *) "self", NULL
28864 };
28865
28866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
28867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28869 {
28870 PyThreadState* __tstate = wxPyBeginAllowThreads();
28871 delete arg1;
28872
28873 wxPyEndAllowThreads(__tstate);
28874 if (PyErr_Occurred()) SWIG_fail;
28875 }
28876 Py_INCREF(Py_None); resultobj = Py_None;
28877 return resultobj;
28878 fail:
28879 return NULL;
28880 }
28881
28882
28883 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28884 PyObject *resultobj;
28885 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28886 wxWindow *arg2 = (wxWindow *) NULL ;
28887 bool result;
28888 PyObject * obj0 = 0 ;
28889 PyObject * obj1 = 0 ;
28890 char *kwnames[] = {
28891 (char *) "self",(char *) "window", NULL
28892 };
28893
28894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
28895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28897 if (obj1) {
28898 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28900 }
28901 {
28902 PyThreadState* __tstate = wxPyBeginAllowThreads();
28903 result = (bool)(arg1)->BeginContextHelp(arg2);
28904
28905 wxPyEndAllowThreads(__tstate);
28906 if (PyErr_Occurred()) SWIG_fail;
28907 }
28908 {
28909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28910 }
28911 return resultobj;
28912 fail:
28913 return NULL;
28914 }
28915
28916
28917 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28918 PyObject *resultobj;
28919 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28920 bool result;
28921 PyObject * obj0 = 0 ;
28922 char *kwnames[] = {
28923 (char *) "self", NULL
28924 };
28925
28926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
28927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28929 {
28930 PyThreadState* __tstate = wxPyBeginAllowThreads();
28931 result = (bool)(arg1)->EndContextHelp();
28932
28933 wxPyEndAllowThreads(__tstate);
28934 if (PyErr_Occurred()) SWIG_fail;
28935 }
28936 {
28937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28938 }
28939 return resultobj;
28940 fail:
28941 return NULL;
28942 }
28943
28944
28945 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
28946 PyObject *obj;
28947 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28948 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
28949 Py_INCREF(obj);
28950 return Py_BuildValue((char *)"");
28951 }
28952 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
28953 PyObject *resultobj;
28954 wxWindow *arg1 = (wxWindow *) 0 ;
28955 int arg2 = (int) wxID_CONTEXT_HELP ;
28956 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28957 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28958 wxSize const &arg4_defvalue = wxDefaultSize ;
28959 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28960 long arg5 = (long) wxBU_AUTODRAW ;
28961 wxContextHelpButton *result;
28962 wxPoint temp3 ;
28963 wxSize temp4 ;
28964 PyObject * obj0 = 0 ;
28965 PyObject * obj1 = 0 ;
28966 PyObject * obj2 = 0 ;
28967 PyObject * obj3 = 0 ;
28968 PyObject * obj4 = 0 ;
28969 char *kwnames[] = {
28970 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28971 };
28972
28973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28976 if (obj1) {
28977 arg2 = (int) SWIG_AsInt(obj1);
28978 if (PyErr_Occurred()) SWIG_fail;
28979 }
28980 if (obj2) {
28981 {
28982 arg3 = &temp3;
28983 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28984 }
28985 }
28986 if (obj3) {
28987 {
28988 arg4 = &temp4;
28989 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28990 }
28991 }
28992 if (obj4) {
28993 arg5 = (long) SWIG_AsLong(obj4);
28994 if (PyErr_Occurred()) SWIG_fail;
28995 }
28996 {
28997 PyThreadState* __tstate = wxPyBeginAllowThreads();
28998 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28999
29000 wxPyEndAllowThreads(__tstate);
29001 if (PyErr_Occurred()) SWIG_fail;
29002 }
29003 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
29004 return resultobj;
29005 fail:
29006 return NULL;
29007 }
29008
29009
29010 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
29011 PyObject *obj;
29012 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29013 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
29014 Py_INCREF(obj);
29015 return Py_BuildValue((char *)"");
29016 }
29017 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
29018 PyObject *resultobj;
29019 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29020 wxHelpProvider *result;
29021 PyObject * obj0 = 0 ;
29022 char *kwnames[] = {
29023 (char *) "helpProvider", NULL
29024 };
29025
29026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
29027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29029 {
29030 PyThreadState* __tstate = wxPyBeginAllowThreads();
29031 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
29032
29033 wxPyEndAllowThreads(__tstate);
29034 if (PyErr_Occurred()) SWIG_fail;
29035 }
29036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
29037 return resultobj;
29038 fail:
29039 return NULL;
29040 }
29041
29042
29043 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
29044 PyObject *resultobj;
29045 wxHelpProvider *result;
29046 char *kwnames[] = {
29047 NULL
29048 };
29049
29050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
29051 {
29052 PyThreadState* __tstate = wxPyBeginAllowThreads();
29053 result = (wxHelpProvider *)wxHelpProvider::Get();
29054
29055 wxPyEndAllowThreads(__tstate);
29056 if (PyErr_Occurred()) SWIG_fail;
29057 }
29058 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
29059 return resultobj;
29060 fail:
29061 return NULL;
29062 }
29063
29064
29065 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29066 PyObject *resultobj;
29067 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29068 wxWindow *arg2 = (wxWindow *) 0 ;
29069 wxString result;
29070 PyObject * obj0 = 0 ;
29071 PyObject * obj1 = 0 ;
29072 char *kwnames[] = {
29073 (char *) "self",(char *) "window", NULL
29074 };
29075
29076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
29077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29079 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29081 {
29082 PyThreadState* __tstate = wxPyBeginAllowThreads();
29083 result = (arg1)->GetHelp((wxWindow const *)arg2);
29084
29085 wxPyEndAllowThreads(__tstate);
29086 if (PyErr_Occurred()) SWIG_fail;
29087 }
29088 {
29089 #if wxUSE_UNICODE
29090 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29091 #else
29092 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29093 #endif
29094 }
29095 return resultobj;
29096 fail:
29097 return NULL;
29098 }
29099
29100
29101 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29102 PyObject *resultobj;
29103 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29104 wxWindow *arg2 = (wxWindow *) 0 ;
29105 bool result;
29106 PyObject * obj0 = 0 ;
29107 PyObject * obj1 = 0 ;
29108 char *kwnames[] = {
29109 (char *) "self",(char *) "window", NULL
29110 };
29111
29112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
29113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29115 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29117 {
29118 PyThreadState* __tstate = wxPyBeginAllowThreads();
29119 result = (bool)(arg1)->ShowHelp(arg2);
29120
29121 wxPyEndAllowThreads(__tstate);
29122 if (PyErr_Occurred()) SWIG_fail;
29123 }
29124 {
29125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29126 }
29127 return resultobj;
29128 fail:
29129 return NULL;
29130 }
29131
29132
29133 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29134 PyObject *resultobj;
29135 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29136 wxWindow *arg2 = (wxWindow *) 0 ;
29137 wxString *arg3 = 0 ;
29138 bool temp3 = False ;
29139 PyObject * obj0 = 0 ;
29140 PyObject * obj1 = 0 ;
29141 PyObject * obj2 = 0 ;
29142 char *kwnames[] = {
29143 (char *) "self",(char *) "window",(char *) "text", NULL
29144 };
29145
29146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
29147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29149 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29151 {
29152 arg3 = wxString_in_helper(obj2);
29153 if (arg3 == NULL) SWIG_fail;
29154 temp3 = True;
29155 }
29156 {
29157 PyThreadState* __tstate = wxPyBeginAllowThreads();
29158 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29159
29160 wxPyEndAllowThreads(__tstate);
29161 if (PyErr_Occurred()) SWIG_fail;
29162 }
29163 Py_INCREF(Py_None); resultobj = Py_None;
29164 {
29165 if (temp3)
29166 delete arg3;
29167 }
29168 return resultobj;
29169 fail:
29170 {
29171 if (temp3)
29172 delete arg3;
29173 }
29174 return NULL;
29175 }
29176
29177
29178 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
29179 PyObject *resultobj;
29180 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29181 int arg2 ;
29182 wxString *arg3 = 0 ;
29183 bool temp3 = False ;
29184 PyObject * obj0 = 0 ;
29185 PyObject * obj1 = 0 ;
29186 PyObject * obj2 = 0 ;
29187 char *kwnames[] = {
29188 (char *) "self",(char *) "id",(char *) "text", NULL
29189 };
29190
29191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
29192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29194 arg2 = (int) SWIG_AsInt(obj1);
29195 if (PyErr_Occurred()) SWIG_fail;
29196 {
29197 arg3 = wxString_in_helper(obj2);
29198 if (arg3 == NULL) SWIG_fail;
29199 temp3 = True;
29200 }
29201 {
29202 PyThreadState* __tstate = wxPyBeginAllowThreads();
29203 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29204
29205 wxPyEndAllowThreads(__tstate);
29206 if (PyErr_Occurred()) SWIG_fail;
29207 }
29208 Py_INCREF(Py_None); resultobj = Py_None;
29209 {
29210 if (temp3)
29211 delete arg3;
29212 }
29213 return resultobj;
29214 fail:
29215 {
29216 if (temp3)
29217 delete arg3;
29218 }
29219 return NULL;
29220 }
29221
29222
29223 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29224 PyObject *resultobj;
29225 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29226 wxWindow *arg2 = (wxWindow *) 0 ;
29227 PyObject * obj0 = 0 ;
29228 PyObject * obj1 = 0 ;
29229 char *kwnames[] = {
29230 (char *) "self",(char *) "window", NULL
29231 };
29232
29233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
29234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29236 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29238 {
29239 PyThreadState* __tstate = wxPyBeginAllowThreads();
29240 (arg1)->RemoveHelp(arg2);
29241
29242 wxPyEndAllowThreads(__tstate);
29243 if (PyErr_Occurred()) SWIG_fail;
29244 }
29245 Py_INCREF(Py_None); resultobj = Py_None;
29246 return resultobj;
29247 fail:
29248 return NULL;
29249 }
29250
29251
29252 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
29253 PyObject *resultobj;
29254 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29255 PyObject * obj0 = 0 ;
29256 char *kwnames[] = {
29257 (char *) "self", NULL
29258 };
29259
29260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
29261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29263 {
29264 PyThreadState* __tstate = wxPyBeginAllowThreads();
29265 wxHelpProvider_Destroy(arg1);
29266
29267 wxPyEndAllowThreads(__tstate);
29268 if (PyErr_Occurred()) SWIG_fail;
29269 }
29270 Py_INCREF(Py_None); resultobj = Py_None;
29271 return resultobj;
29272 fail:
29273 return NULL;
29274 }
29275
29276
29277 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
29278 PyObject *obj;
29279 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29280 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
29281 Py_INCREF(obj);
29282 return Py_BuildValue((char *)"");
29283 }
29284 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
29285 PyObject *resultobj;
29286 wxSimpleHelpProvider *result;
29287 char *kwnames[] = {
29288 NULL
29289 };
29290
29291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
29292 {
29293 PyThreadState* __tstate = wxPyBeginAllowThreads();
29294 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
29295
29296 wxPyEndAllowThreads(__tstate);
29297 if (PyErr_Occurred()) SWIG_fail;
29298 }
29299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
29300 return resultobj;
29301 fail:
29302 return NULL;
29303 }
29304
29305
29306 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
29307 PyObject *obj;
29308 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29309 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
29310 Py_INCREF(obj);
29311 return Py_BuildValue((char *)"");
29312 }
29313 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29314 PyObject *resultobj;
29315 wxBitmap *arg1 = 0 ;
29316 wxCursor const &arg2_defvalue = wxNullCursor ;
29317 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29318 wxGenericDragImage *result;
29319 PyObject * obj0 = 0 ;
29320 PyObject * obj1 = 0 ;
29321 char *kwnames[] = {
29322 (char *) "image",(char *) "cursor", NULL
29323 };
29324
29325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
29326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
29327 SWIG_POINTER_EXCEPTION | 0)) == -1)
29328 SWIG_fail;
29329 if (arg1 == NULL) {
29330 PyErr_SetString(PyExc_TypeError,"null reference");
29331 SWIG_fail;
29332 }
29333 if (obj1) {
29334 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29335 SWIG_POINTER_EXCEPTION | 0)) == -1)
29336 SWIG_fail;
29337 if (arg2 == NULL) {
29338 PyErr_SetString(PyExc_TypeError,"null reference");
29339 SWIG_fail;
29340 }
29341 }
29342 {
29343 PyThreadState* __tstate = wxPyBeginAllowThreads();
29344 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
29345
29346 wxPyEndAllowThreads(__tstate);
29347 if (PyErr_Occurred()) SWIG_fail;
29348 }
29349 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29350 return resultobj;
29351 fail:
29352 return NULL;
29353 }
29354
29355
29356 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
29357 PyObject *resultobj;
29358 wxIcon *arg1 = 0 ;
29359 wxCursor const &arg2_defvalue = wxNullCursor ;
29360 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29361 wxGenericDragImage *result;
29362 PyObject * obj0 = 0 ;
29363 PyObject * obj1 = 0 ;
29364 char *kwnames[] = {
29365 (char *) "image",(char *) "cursor", NULL
29366 };
29367
29368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
29369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
29370 SWIG_POINTER_EXCEPTION | 0)) == -1)
29371 SWIG_fail;
29372 if (arg1 == NULL) {
29373 PyErr_SetString(PyExc_TypeError,"null reference");
29374 SWIG_fail;
29375 }
29376 if (obj1) {
29377 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29378 SWIG_POINTER_EXCEPTION | 0)) == -1)
29379 SWIG_fail;
29380 if (arg2 == NULL) {
29381 PyErr_SetString(PyExc_TypeError,"null reference");
29382 SWIG_fail;
29383 }
29384 }
29385 {
29386 PyThreadState* __tstate = wxPyBeginAllowThreads();
29387 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
29388
29389 wxPyEndAllowThreads(__tstate);
29390 if (PyErr_Occurred()) SWIG_fail;
29391 }
29392 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29393 return resultobj;
29394 fail:
29395 return NULL;
29396 }
29397
29398
29399 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
29400 PyObject *resultobj;
29401 wxString *arg1 = 0 ;
29402 wxCursor const &arg2_defvalue = wxNullCursor ;
29403 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29404 wxGenericDragImage *result;
29405 bool temp1 = False ;
29406 PyObject * obj0 = 0 ;
29407 PyObject * obj1 = 0 ;
29408 char *kwnames[] = {
29409 (char *) "str",(char *) "cursor", NULL
29410 };
29411
29412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
29413 {
29414 arg1 = wxString_in_helper(obj0);
29415 if (arg1 == NULL) SWIG_fail;
29416 temp1 = True;
29417 }
29418 if (obj1) {
29419 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29420 SWIG_POINTER_EXCEPTION | 0)) == -1)
29421 SWIG_fail;
29422 if (arg2 == NULL) {
29423 PyErr_SetString(PyExc_TypeError,"null reference");
29424 SWIG_fail;
29425 }
29426 }
29427 {
29428 PyThreadState* __tstate = wxPyBeginAllowThreads();
29429 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
29430
29431 wxPyEndAllowThreads(__tstate);
29432 if (PyErr_Occurred()) SWIG_fail;
29433 }
29434 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29435 {
29436 if (temp1)
29437 delete arg1;
29438 }
29439 return resultobj;
29440 fail:
29441 {
29442 if (temp1)
29443 delete arg1;
29444 }
29445 return NULL;
29446 }
29447
29448
29449 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29450 PyObject *resultobj;
29451 wxPyTreeCtrl *arg1 = 0 ;
29452 wxTreeItemId *arg2 = 0 ;
29453 wxGenericDragImage *result;
29454 PyObject * obj0 = 0 ;
29455 PyObject * obj1 = 0 ;
29456 char *kwnames[] = {
29457 (char *) "treeCtrl",(char *) "id", NULL
29458 };
29459
29460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
29461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
29462 SWIG_POINTER_EXCEPTION | 0)) == -1)
29463 SWIG_fail;
29464 if (arg1 == NULL) {
29465 PyErr_SetString(PyExc_TypeError,"null reference");
29466 SWIG_fail;
29467 }
29468 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
29469 SWIG_POINTER_EXCEPTION | 0)) == -1)
29470 SWIG_fail;
29471 if (arg2 == NULL) {
29472 PyErr_SetString(PyExc_TypeError,"null reference");
29473 SWIG_fail;
29474 }
29475 {
29476 PyThreadState* __tstate = wxPyBeginAllowThreads();
29477 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
29478
29479 wxPyEndAllowThreads(__tstate);
29480 if (PyErr_Occurred()) SWIG_fail;
29481 }
29482 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29483 return resultobj;
29484 fail:
29485 return NULL;
29486 }
29487
29488
29489 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29490 PyObject *resultobj;
29491 wxPyListCtrl *arg1 = 0 ;
29492 long arg2 ;
29493 wxGenericDragImage *result;
29494 PyObject * obj0 = 0 ;
29495 PyObject * obj1 = 0 ;
29496 char *kwnames[] = {
29497 (char *) "listCtrl",(char *) "id", NULL
29498 };
29499
29500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
29501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
29502 SWIG_POINTER_EXCEPTION | 0)) == -1)
29503 SWIG_fail;
29504 if (arg1 == NULL) {
29505 PyErr_SetString(PyExc_TypeError,"null reference");
29506 SWIG_fail;
29507 }
29508 arg2 = (long) SWIG_AsLong(obj1);
29509 if (PyErr_Occurred()) SWIG_fail;
29510 {
29511 PyThreadState* __tstate = wxPyBeginAllowThreads();
29512 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
29513
29514 wxPyEndAllowThreads(__tstate);
29515 if (PyErr_Occurred()) SWIG_fail;
29516 }
29517 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29518 return resultobj;
29519 fail:
29520 return NULL;
29521 }
29522
29523
29524 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29525 PyObject *resultobj;
29526 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29527 PyObject * obj0 = 0 ;
29528 char *kwnames[] = {
29529 (char *) "self", NULL
29530 };
29531
29532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
29533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29535 {
29536 PyThreadState* __tstate = wxPyBeginAllowThreads();
29537 delete arg1;
29538
29539 wxPyEndAllowThreads(__tstate);
29540 if (PyErr_Occurred()) SWIG_fail;
29541 }
29542 Py_INCREF(Py_None); resultobj = Py_None;
29543 return resultobj;
29544 fail:
29545 return NULL;
29546 }
29547
29548
29549 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
29550 PyObject *resultobj;
29551 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29552 wxBitmap *arg2 = (wxBitmap *) 0 ;
29553 PyObject * obj0 = 0 ;
29554 PyObject * obj1 = 0 ;
29555 char *kwnames[] = {
29556 (char *) "self",(char *) "bitmap", NULL
29557 };
29558
29559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
29560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29562 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
29563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29564 {
29565 PyThreadState* __tstate = wxPyBeginAllowThreads();
29566 (arg1)->SetBackingBitmap(arg2);
29567
29568 wxPyEndAllowThreads(__tstate);
29569 if (PyErr_Occurred()) SWIG_fail;
29570 }
29571 Py_INCREF(Py_None); resultobj = Py_None;
29572 return resultobj;
29573 fail:
29574 return NULL;
29575 }
29576
29577
29578 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29579 PyObject *resultobj;
29580 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29581 wxPoint *arg2 = 0 ;
29582 wxWindow *arg3 = (wxWindow *) 0 ;
29583 bool arg4 = (bool) False ;
29584 wxRect *arg5 = (wxRect *) NULL ;
29585 bool result;
29586 wxPoint temp2 ;
29587 PyObject * obj0 = 0 ;
29588 PyObject * obj1 = 0 ;
29589 PyObject * obj2 = 0 ;
29590 PyObject * obj3 = 0 ;
29591 PyObject * obj4 = 0 ;
29592 char *kwnames[] = {
29593 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29594 };
29595
29596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29599 {
29600 arg2 = &temp2;
29601 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29602 }
29603 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29605 if (obj3) {
29606 arg4 = (bool) SWIG_AsBool(obj3);
29607 if (PyErr_Occurred()) SWIG_fail;
29608 }
29609 if (obj4) {
29610 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
29611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29612 }
29613 {
29614 PyThreadState* __tstate = wxPyBeginAllowThreads();
29615 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
29616
29617 wxPyEndAllowThreads(__tstate);
29618 if (PyErr_Occurred()) SWIG_fail;
29619 }
29620 {
29621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29622 }
29623 return resultobj;
29624 fail:
29625 return NULL;
29626 }
29627
29628
29629 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
29630 PyObject *resultobj;
29631 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29632 wxPoint *arg2 = 0 ;
29633 wxWindow *arg3 = (wxWindow *) 0 ;
29634 wxWindow *arg4 = (wxWindow *) 0 ;
29635 bool result;
29636 wxPoint temp2 ;
29637 PyObject * obj0 = 0 ;
29638 PyObject * obj1 = 0 ;
29639 PyObject * obj2 = 0 ;
29640 PyObject * obj3 = 0 ;
29641 char *kwnames[] = {
29642 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29643 };
29644
29645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29648 {
29649 arg2 = &temp2;
29650 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29651 }
29652 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29654 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
29655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29656 {
29657 PyThreadState* __tstate = wxPyBeginAllowThreads();
29658 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
29659
29660 wxPyEndAllowThreads(__tstate);
29661 if (PyErr_Occurred()) SWIG_fail;
29662 }
29663 {
29664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29665 }
29666 return resultobj;
29667 fail:
29668 return NULL;
29669 }
29670
29671
29672 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29673 PyObject *resultobj;
29674 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29675 bool result;
29676 PyObject * obj0 = 0 ;
29677 char *kwnames[] = {
29678 (char *) "self", NULL
29679 };
29680
29681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
29682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29684 {
29685 PyThreadState* __tstate = wxPyBeginAllowThreads();
29686 result = (bool)(arg1)->EndDrag();
29687
29688 wxPyEndAllowThreads(__tstate);
29689 if (PyErr_Occurred()) SWIG_fail;
29690 }
29691 {
29692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29693 }
29694 return resultobj;
29695 fail:
29696 return NULL;
29697 }
29698
29699
29700 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
29701 PyObject *resultobj;
29702 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29703 wxPoint *arg2 = 0 ;
29704 bool result;
29705 wxPoint temp2 ;
29706 PyObject * obj0 = 0 ;
29707 PyObject * obj1 = 0 ;
29708 char *kwnames[] = {
29709 (char *) "self",(char *) "pt", NULL
29710 };
29711
29712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
29713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29715 {
29716 arg2 = &temp2;
29717 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29718 }
29719 {
29720 PyThreadState* __tstate = wxPyBeginAllowThreads();
29721 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
29722
29723 wxPyEndAllowThreads(__tstate);
29724 if (PyErr_Occurred()) SWIG_fail;
29725 }
29726 {
29727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29728 }
29729 return resultobj;
29730 fail:
29731 return NULL;
29732 }
29733
29734
29735 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
29736 PyObject *resultobj;
29737 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29738 bool result;
29739 PyObject * obj0 = 0 ;
29740 char *kwnames[] = {
29741 (char *) "self", NULL
29742 };
29743
29744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
29745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29747 {
29748 PyThreadState* __tstate = wxPyBeginAllowThreads();
29749 result = (bool)(arg1)->Show();
29750
29751 wxPyEndAllowThreads(__tstate);
29752 if (PyErr_Occurred()) SWIG_fail;
29753 }
29754 {
29755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29756 }
29757 return resultobj;
29758 fail:
29759 return NULL;
29760 }
29761
29762
29763 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
29764 PyObject *resultobj;
29765 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29766 bool result;
29767 PyObject * obj0 = 0 ;
29768 char *kwnames[] = {
29769 (char *) "self", NULL
29770 };
29771
29772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
29773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29775 {
29776 PyThreadState* __tstate = wxPyBeginAllowThreads();
29777 result = (bool)(arg1)->Hide();
29778
29779 wxPyEndAllowThreads(__tstate);
29780 if (PyErr_Occurred()) SWIG_fail;
29781 }
29782 {
29783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29784 }
29785 return resultobj;
29786 fail:
29787 return NULL;
29788 }
29789
29790
29791 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
29792 PyObject *resultobj;
29793 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29794 wxPoint *arg2 = 0 ;
29795 wxRect result;
29796 wxPoint temp2 ;
29797 PyObject * obj0 = 0 ;
29798 PyObject * obj1 = 0 ;
29799 char *kwnames[] = {
29800 (char *) "self",(char *) "pos", NULL
29801 };
29802
29803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
29804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29806 {
29807 arg2 = &temp2;
29808 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29809 }
29810 {
29811 PyThreadState* __tstate = wxPyBeginAllowThreads();
29812 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
29813
29814 wxPyEndAllowThreads(__tstate);
29815 if (PyErr_Occurred()) SWIG_fail;
29816 }
29817 {
29818 wxRect * resultptr;
29819 resultptr = new wxRect((wxRect &) result);
29820 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
29821 }
29822 return resultobj;
29823 fail:
29824 return NULL;
29825 }
29826
29827
29828 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29829 PyObject *resultobj;
29830 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29831 wxDC *arg2 = 0 ;
29832 wxPoint *arg3 = 0 ;
29833 bool result;
29834 wxPoint temp3 ;
29835 PyObject * obj0 = 0 ;
29836 PyObject * obj1 = 0 ;
29837 PyObject * obj2 = 0 ;
29838 char *kwnames[] = {
29839 (char *) "self",(char *) "dc",(char *) "pos", NULL
29840 };
29841
29842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
29843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29845 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29846 SWIG_POINTER_EXCEPTION | 0)) == -1)
29847 SWIG_fail;
29848 if (arg2 == NULL) {
29849 PyErr_SetString(PyExc_TypeError,"null reference");
29850 SWIG_fail;
29851 }
29852 {
29853 arg3 = &temp3;
29854 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29855 }
29856 {
29857 PyThreadState* __tstate = wxPyBeginAllowThreads();
29858 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
29859
29860 wxPyEndAllowThreads(__tstate);
29861 if (PyErr_Occurred()) SWIG_fail;
29862 }
29863 {
29864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29865 }
29866 return resultobj;
29867 fail:
29868 return NULL;
29869 }
29870
29871
29872 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29873 PyObject *resultobj;
29874 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29875 wxDC *arg2 = 0 ;
29876 wxMemoryDC *arg3 = 0 ;
29877 wxRect *arg4 = 0 ;
29878 wxRect *arg5 = 0 ;
29879 bool result;
29880 wxRect temp4 ;
29881 wxRect temp5 ;
29882 PyObject * obj0 = 0 ;
29883 PyObject * obj1 = 0 ;
29884 PyObject * obj2 = 0 ;
29885 PyObject * obj3 = 0 ;
29886 PyObject * obj4 = 0 ;
29887 char *kwnames[] = {
29888 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29889 };
29890
29891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29894 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29895 SWIG_POINTER_EXCEPTION | 0)) == -1)
29896 SWIG_fail;
29897 if (arg2 == NULL) {
29898 PyErr_SetString(PyExc_TypeError,"null reference");
29899 SWIG_fail;
29900 }
29901 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
29902 SWIG_POINTER_EXCEPTION | 0)) == -1)
29903 SWIG_fail;
29904 if (arg3 == NULL) {
29905 PyErr_SetString(PyExc_TypeError,"null reference");
29906 SWIG_fail;
29907 }
29908 {
29909 arg4 = &temp4;
29910 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
29911 }
29912 {
29913 arg5 = &temp5;
29914 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
29915 }
29916 {
29917 PyThreadState* __tstate = wxPyBeginAllowThreads();
29918 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
29919
29920 wxPyEndAllowThreads(__tstate);
29921 if (PyErr_Occurred()) SWIG_fail;
29922 }
29923 {
29924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29925 }
29926 return resultobj;
29927 fail:
29928 return NULL;
29929 }
29930
29931
29932 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29933 PyObject *resultobj;
29934 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29935 wxPoint *arg2 = 0 ;
29936 wxPoint *arg3 = 0 ;
29937 bool arg4 ;
29938 bool arg5 ;
29939 bool result;
29940 wxPoint temp2 ;
29941 wxPoint temp3 ;
29942 PyObject * obj0 = 0 ;
29943 PyObject * obj1 = 0 ;
29944 PyObject * obj2 = 0 ;
29945 PyObject * obj3 = 0 ;
29946 PyObject * obj4 = 0 ;
29947 char *kwnames[] = {
29948 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29949 };
29950
29951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29954 {
29955 arg2 = &temp2;
29956 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29957 }
29958 {
29959 arg3 = &temp3;
29960 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29961 }
29962 arg4 = (bool) SWIG_AsBool(obj3);
29963 if (PyErr_Occurred()) SWIG_fail;
29964 arg5 = (bool) SWIG_AsBool(obj4);
29965 if (PyErr_Occurred()) SWIG_fail;
29966 {
29967 PyThreadState* __tstate = wxPyBeginAllowThreads();
29968 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
29969
29970 wxPyEndAllowThreads(__tstate);
29971 if (PyErr_Occurred()) SWIG_fail;
29972 }
29973 {
29974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29975 }
29976 return resultobj;
29977 fail:
29978 return NULL;
29979 }
29980
29981
29982 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
29983 PyObject *obj;
29984 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29985 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
29986 Py_INCREF(obj);
29987 return Py_BuildValue((char *)"");
29988 }
29989 static PyMethodDef SwigMethods[] = {
29990 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
29991 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
29992 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
29993 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
29994 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
29995 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
29996 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
29997 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
29998 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
29999 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
30000 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
30001 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
30002 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
30003 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
30004 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
30005 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
30006 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
30007 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
30008 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
30009 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
30010 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
30011 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
30012 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
30013 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
30014 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
30015 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
30016 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
30017 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
30018 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
30019 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
30020 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
30021 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
30022 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
30023 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
30024 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
30025 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
30026 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30027 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
30028 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
30029 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
30030 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
30031 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
30032 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
30033 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
30034 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
30035 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
30036 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
30037 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30038 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30039 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
30040 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
30041 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30042 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
30043 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
30044 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
30045 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
30046 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
30047 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
30048 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
30049 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
30050 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
30051 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
30052 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
30053 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
30054 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
30055 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
30056 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
30057 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
30058 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
30059 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
30060 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
30061 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
30062 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
30063 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
30064 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
30065 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
30066 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
30067 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
30068 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
30069 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
30070 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
30071 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
30072 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
30073 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
30074 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
30075 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
30076 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
30077 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
30078 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
30079 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
30080 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
30081 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
30082 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
30083 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
30084 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
30085 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
30086 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
30087 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
30088 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30089 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
30090 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
30091 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
30092 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30093 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
30094 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
30095 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
30096 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30097 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
30098 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
30099 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
30100 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30101 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
30102 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
30103 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
30104 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
30105 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
30106 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
30107 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
30108 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
30109 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
30110 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
30111 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
30112 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
30113 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
30114 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
30115 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30116 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30117 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
30118 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
30119 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
30120 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
30121 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
30122 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
30123 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
30124 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30125 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
30126 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
30127 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
30128 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
30129 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
30130 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
30131 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30132 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30133 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
30134 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
30135 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
30136 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
30137 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
30138 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
30139 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
30140 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
30141 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
30142 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
30143 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
30144 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30145 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
30146 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
30147 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
30148 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
30149 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
30150 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
30151 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
30152 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
30153 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
30154 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
30155 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30156 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
30157 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
30158 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
30159 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
30160 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
30161 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
30162 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
30163 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
30164 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
30165 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
30166 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
30167 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
30168 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
30169 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
30170 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
30171 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
30172 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
30173 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
30174 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
30175 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30176 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
30177 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
30178 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
30179 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
30180 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
30181 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
30182 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
30183 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
30184 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
30185 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
30186 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30187 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
30188 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30189 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
30190 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30191 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
30192 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
30193 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
30194 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
30195 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
30196 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
30197 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
30198 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
30199 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
30200 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
30201 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
30202 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
30203 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
30204 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
30205 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
30206 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
30207 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
30208 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
30209 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
30210 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
30211 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
30212 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
30213 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
30214 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
30215 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30216 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
30217 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
30218 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30219 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
30220 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
30221 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
30222 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
30223 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
30224 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
30225 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
30226 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30227 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
30228 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
30229 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
30230 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
30231 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
30232 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
30233 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30234 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
30235 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
30236 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
30237 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
30238 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
30239 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
30240 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
30241 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
30242 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30243 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
30244 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
30245 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30246 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
30247 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
30248 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
30249 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
30250 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
30251 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
30252 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
30253 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
30254 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
30255 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
30256 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
30257 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
30258 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
30259 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30260 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30261 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
30262 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
30263 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
30264 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
30265 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
30266 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
30267 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
30268 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
30269 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
30270 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
30271 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
30272 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
30273 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
30274 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
30275 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
30276 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
30277 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
30278 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
30279 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
30280 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
30281 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
30282 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
30283 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
30284 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
30285 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
30286 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
30287 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
30288 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
30289 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
30290 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
30291 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
30292 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30293 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
30294 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
30295 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30296 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30297 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30298 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
30299 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
30300 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
30301 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
30302 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
30303 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
30304 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
30305 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
30306 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
30307 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30308 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
30309 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
30310 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
30311 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
30312 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
30313 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
30314 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
30315 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
30316 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
30317 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
30318 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
30319 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
30320 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
30321 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
30322 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
30323 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
30324 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
30325 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
30326 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
30327 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
30328 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
30329 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
30330 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
30331 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
30332 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
30333 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
30334 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
30335 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
30336 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
30337 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
30338 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
30339 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
30340 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
30341 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
30342 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
30343 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
30344 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
30345 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
30346 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
30347 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
30348 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
30349 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
30350 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
30351 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
30352 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
30353 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
30354 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
30355 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
30356 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
30357 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
30358 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
30359 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
30360 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
30361 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
30362 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
30363 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
30364 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
30365 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
30366 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
30367 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
30368 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
30369 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
30370 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
30371 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
30372 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
30373 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
30374 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
30375 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
30376 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
30377 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
30378 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
30379 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
30380 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
30381 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
30382 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
30383 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
30384 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
30385 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
30386 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
30387 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
30388 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
30389 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
30390 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
30391 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
30392 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
30393 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
30394 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
30395 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
30396 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
30397 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
30398 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
30399 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
30400 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
30401 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
30402 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
30403 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
30404 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
30405 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
30406 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
30407 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
30408 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
30409 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
30410 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
30411 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
30412 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
30413 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
30414 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
30415 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
30416 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
30417 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
30418 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
30419 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
30420 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
30421 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
30422 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
30423 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
30424 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
30425 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30426 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30427 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
30428 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
30429 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30430 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
30431 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30432 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30433 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
30434 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
30435 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
30436 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
30437 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
30438 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
30439 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
30440 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
30441 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
30442 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
30443 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
30444 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
30445 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
30446 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
30447 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
30448 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
30449 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
30450 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30451 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30452 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
30453 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
30454 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
30455 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
30456 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
30457 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
30458 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
30459 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
30460 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
30461 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
30462 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
30463 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
30464 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30465 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30466 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
30467 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
30468 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
30469 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
30470 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
30471 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
30472 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
30473 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
30474 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
30475 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
30476 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
30477 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
30478 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
30479 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
30480 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
30481 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
30482 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
30483 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
30484 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
30485 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
30486 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
30487 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
30488 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
30489 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
30490 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
30491 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
30492 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
30493 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
30494 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
30495 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
30496 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
30497 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
30498 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
30499 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
30500 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30501 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
30502 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
30503 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30504 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30505 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
30506 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
30507 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
30508 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
30509 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30510 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
30511 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
30512 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30513 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
30514 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
30515 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
30516 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
30517 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30518 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30519 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
30520 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30521 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
30522 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
30523 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30524 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30525 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
30526 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
30527 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
30528 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
30529 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
30530 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
30531 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
30532 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30533 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30534 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30535 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30536 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30537 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
30538 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
30539 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
30540 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
30541 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
30542 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
30543 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
30544 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
30545 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30546 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30547 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
30548 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
30549 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
30550 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
30551 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30552 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30553 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30554 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS },
30555 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
30556 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
30557 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
30558 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
30559 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
30560 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30561 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
30562 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
30563 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
30564 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
30565 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30566 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
30567 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
30568 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
30569 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30570 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30571 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
30572 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
30573 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
30574 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
30575 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
30576 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
30577 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
30578 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30579 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30580 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30581 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30582 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
30583 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
30584 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
30585 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
30586 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
30587 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
30588 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
30589 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
30590 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
30591 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
30592 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
30593 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
30594 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
30595 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
30596 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
30597 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
30598 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30599 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30600 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
30601 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
30602 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
30603 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
30604 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
30605 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
30606 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
30607 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
30608 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
30609 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
30610 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
30611 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
30612 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
30613 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
30614 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30615 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
30616 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
30617 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
30618 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30619 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
30620 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30621 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30622 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30623 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30624 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
30625 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30626 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
30627 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
30628 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
30629 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
30630 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30631 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30632 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30633 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
30634 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
30635 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
30636 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
30637 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
30638 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30639 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
30640 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30641 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
30642 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30643 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
30644 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30645 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
30646 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30647 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
30648 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30649 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30650 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
30651 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30652 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30653 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30654 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
30655 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30656 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
30657 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30658 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30659 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
30660 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
30661 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30662 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
30663 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
30664 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
30665 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
30666 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
30667 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30668 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
30669 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
30670 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
30671 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
30672 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
30673 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
30674 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
30675 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
30676 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
30677 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
30678 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
30679 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
30680 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30681 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
30682 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
30683 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
30684 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
30685 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30686 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
30687 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
30688 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
30689 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
30690 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
30691 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
30692 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
30693 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
30694 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
30695 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30696 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
30697 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
30698 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
30699 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
30700 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30701 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
30702 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
30703 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
30704 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
30705 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
30706 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30707 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
30708 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
30709 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
30710 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
30711 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
30712 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
30713 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
30714 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
30715 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
30716 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
30717 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
30718 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
30719 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
30720 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30721 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30722 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
30723 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
30724 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
30725 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
30726 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30727 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30728 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30729 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
30730 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
30731 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
30732 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS },
30733 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30734 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
30735 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
30736 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
30737 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30738 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
30739 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
30740 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
30741 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30742 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
30743 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
30744 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
30745 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
30746 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
30747 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
30748 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
30749 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
30750 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
30751 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
30752 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
30753 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
30754 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
30755 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
30756 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
30757 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
30758 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
30759 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
30760 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
30761 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
30762 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
30763 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30764 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30765 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
30766 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
30767 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
30768 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
30769 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
30770 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
30771 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
30772 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
30773 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
30774 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
30775 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
30776 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS },
30777 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
30778 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
30779 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
30780 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
30781 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
30782 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
30783 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
30784 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
30785 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
30786 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
30787 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
30788 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
30789 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
30790 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
30791 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
30792 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
30793 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
30794 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
30795 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
30796 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
30797 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
30798 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
30799 { NULL, NULL }
30800 };
30801
30802
30803 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30804
30805 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
30806 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30807 }
30808 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
30809 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
30810 }
30811 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
30812 return (void *)((wxSizer *) ((wxBoxSizer *) x));
30813 }
30814 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
30815 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
30816 }
30817 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
30818 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30819 }
30820 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
30821 return (void *)((wxSizer *) ((wxGridSizer *) x));
30822 }
30823 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
30824 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
30825 }
30826 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
30827 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
30828 }
30829 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
30830 return (void *)((wxSizer *) ((wxPySizer *) x));
30831 }
30832 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
30833 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
30834 }
30835 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
30836 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
30837 }
30838 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
30839 return (void *)((wxEvent *) ((wxMenuEvent *) x));
30840 }
30841 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
30842 return (void *)((wxEvent *) ((wxCloseEvent *) x));
30843 }
30844 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
30845 return (void *)((wxEvent *) ((wxMouseEvent *) x));
30846 }
30847 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
30848 return (void *)((wxEvent *) ((wxEraseEvent *) x));
30849 }
30850 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
30851 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30852 }
30853 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
30854 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
30855 }
30856 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
30857 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
30858 }
30859 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
30860 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
30861 }
30862 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
30863 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
30864 }
30865 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
30866 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30867 }
30868 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
30869 return (void *)((wxEvent *) ((wxPyEvent *) x));
30870 }
30871 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
30872 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
30873 }
30874 static void *_p_wxListEventTo_p_wxEvent(void *x) {
30875 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30876 }
30877 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
30878 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30879 }
30880 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
30881 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30882 }
30883 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
30884 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
30885 }
30886 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
30887 return (void *)((wxEvent *) ((wxIdleEvent *) x));
30888 }
30889 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
30890 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
30891 }
30892 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
30893 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
30894 }
30895 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
30896 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
30897 }
30898 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
30899 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
30900 }
30901 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
30902 return (void *)((wxEvent *) ((wxActivateEvent *) x));
30903 }
30904 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
30905 return (void *)((wxEvent *) ((wxSizeEvent *) x));
30906 }
30907 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
30908 return (void *)((wxEvent *) ((wxMoveEvent *) x));
30909 }
30910 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
30911 return (void *)((wxEvent *) ((wxPaintEvent *) x));
30912 }
30913 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
30914 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
30915 }
30916 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
30917 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
30918 }
30919 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
30920 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
30921 }
30922 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
30923 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
30924 }
30925 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
30926 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30927 }
30928 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
30929 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
30930 }
30931 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
30932 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
30933 }
30934 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
30935 return (void *)((wxEvent *) ((wxFocusEvent *) x));
30936 }
30937 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
30938 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
30939 }
30940 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
30941 return (void *)((wxEvent *) ((wxShowEvent *) x));
30942 }
30943 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
30944 return (void *)((wxEvent *) ((wxCommandEvent *) x));
30945 }
30946 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
30947 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
30948 }
30949 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
30950 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30951 }
30952 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
30953 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
30954 }
30955 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
30956 return (void *)((wxEvent *) ((wxKeyEvent *) x));
30957 }
30958 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
30959 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
30960 }
30961 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
30962 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30963 }
30964 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
30965 return (void *)((wxItemContainer *) ((wxComboBox *) x));
30966 }
30967 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
30968 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30969 }
30970 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
30971 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
30972 }
30973 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
30974 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
30975 }
30976 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
30977 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
30978 }
30979 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
30980 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30981 }
30982 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
30983 return (void *)((wxPyListCtrl *) ((wxListView *) x));
30984 }
30985 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
30986 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30987 }
30988 static void *_p_wxListBoxTo_p_wxControl(void *x) {
30989 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
30990 }
30991 static void *_p_wxChoiceTo_p_wxControl(void *x) {
30992 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
30993 }
30994 static void *_p_wxToolBarTo_p_wxControl(void *x) {
30995 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
30996 }
30997 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
30998 return (void *)((wxControl *) ((wxStaticBitmap *) x));
30999 }
31000 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
31001 return (void *)((wxControl *) ((wxComboBox *) x));
31002 }
31003 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
31004 return (void *)((wxControl *) ((wxSpinCtrl *) x));
31005 }
31006 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
31007 return (void *)((wxControl *) ((wxStaticBox *) x));
31008 }
31009 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
31010 return (void *)((wxControl *) ((wxPyListCtrl *) x));
31011 }
31012 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
31013 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
31014 }
31015 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
31016 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31017 }
31018 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
31019 return (void *)((wxControl *) ((wxScrollBar *) x));
31020 }
31021 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
31022 return (void *)((wxControl *) ((wxBookCtrl *) x));
31023 }
31024 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
31025 return (void *)((wxControl *) ((wxRadioButton *) x));
31026 }
31027 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
31028 return (void *)((wxControl *) ((wxToggleButton *) x));
31029 }
31030 static void *_p_wxGaugeTo_p_wxControl(void *x) {
31031 return (void *)((wxControl *) ((wxGauge *) x));
31032 }
31033 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
31034 return (void *)((wxControl *) ((wxToolBarBase *) x));
31035 }
31036 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
31037 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
31038 }
31039 static void *_p_wxButtonTo_p_wxControl(void *x) {
31040 return (void *)((wxControl *) ((wxButton *) x));
31041 }
31042 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
31043 return (void *)((wxControl *) ((wxSpinButton *) x));
31044 }
31045 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
31046 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31047 }
31048 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
31049 return (void *)((wxControl *) ((wxControlWithItems *) x));
31050 }
31051 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
31052 return (void *)((wxControl *) ((wxRadioBox *) x));
31053 }
31054 static void *_p_wxNotebookTo_p_wxControl(void *x) {
31055 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
31056 }
31057 static void *_p_wxListbookTo_p_wxControl(void *x) {
31058 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
31059 }
31060 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
31061 return (void *)((wxControl *) ((wxCheckBox *) x));
31062 }
31063 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
31064 return (void *)((wxControl *) ((wxTextCtrl *) x));
31065 }
31066 static void *_p_wxListViewTo_p_wxControl(void *x) {
31067 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
31068 }
31069 static void *_p_wxSliderTo_p_wxControl(void *x) {
31070 return (void *)((wxControl *) ((wxSlider *) x));
31071 }
31072 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
31073 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
31074 }
31075 static void *_p_wxPyControlTo_p_wxControl(void *x) {
31076 return (void *)((wxControl *) ((wxPyControl *) x));
31077 }
31078 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
31079 return (void *)((wxControl *) ((wxStaticLine *) x));
31080 }
31081 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
31082 return (void *)((wxControl *) ((wxStaticText *) x));
31083 }
31084 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
31085 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
31086 }
31087 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
31088 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
31089 }
31090 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
31091 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
31092 }
31093 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
31094 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31095 }
31096 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
31097 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
31098 }
31099 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
31100 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
31101 }
31102 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
31103 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31104 }
31105 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
31106 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
31107 }
31108 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
31109 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31110 }
31111 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31112 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31113 }
31114 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31115 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31116 }
31117 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31118 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31119 }
31120 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
31121 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31122 }
31123 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31124 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31125 }
31126 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
31127 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
31128 }
31129 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
31130 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
31131 }
31132 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31133 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31134 }
31135 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31136 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31137 }
31138 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
31139 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31140 }
31141 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
31142 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31143 }
31144 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
31145 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
31146 }
31147 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
31148 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31149 }
31150 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
31151 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
31152 }
31153 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31154 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31155 }
31156 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
31157 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31158 }
31159 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
31160 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
31161 }
31162 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31163 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31164 }
31165 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
31166 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
31167 }
31168 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
31169 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
31170 }
31171 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
31172 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31173 }
31174 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
31175 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31176 }
31177 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
31178 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
31179 }
31180 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
31181 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
31182 }
31183 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
31184 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31185 }
31186 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
31187 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31188 }
31189 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
31190 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31191 }
31192 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
31193 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31194 }
31195 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
31196 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31197 }
31198 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
31199 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31200 }
31201 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
31202 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31203 }
31204 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
31205 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
31206 }
31207 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
31208 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
31209 }
31210 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
31211 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
31212 }
31213 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
31214 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
31215 }
31216 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
31217 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
31218 }
31219 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
31220 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31221 }
31222 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
31223 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31224 }
31225 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
31226 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31227 }
31228 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
31229 return (void *)((wxListBox *) ((wxCheckListBox *) x));
31230 }
31231 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
31232 return (void *)((wxBookCtrl *) ((wxListbook *) x));
31233 }
31234 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
31235 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
31236 }
31237 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
31238 return (void *)((wxButton *) ((wxBitmapButton *) x));
31239 }
31240 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
31241 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
31242 }
31243 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
31244 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
31245 }
31246 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
31247 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
31248 }
31249 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31250 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31251 }
31252 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31253 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31254 }
31255 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31256 return (void *)((wxObject *) ((wxSizerItem *) x));
31257 }
31258 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31259 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31260 }
31261 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31262 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31263 }
31264 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
31265 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
31266 }
31267 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
31268 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31269 }
31270 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31271 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31272 }
31273 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31274 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31275 }
31276 static void *_p_wxSizerTo_p_wxObject(void *x) {
31277 return (void *)((wxObject *) ((wxSizer *) x));
31278 }
31279 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31280 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31281 }
31282 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
31283 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
31284 }
31285 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
31286 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31287 }
31288 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31289 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31290 }
31291 static void *_p_wxEventTo_p_wxObject(void *x) {
31292 return (void *)((wxObject *) ((wxEvent *) x));
31293 }
31294 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31295 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31296 }
31297 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31298 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31299 }
31300 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31301 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31302 }
31303 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
31304 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31305 }
31306 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
31307 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31308 }
31309 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
31310 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31311 }
31312 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31313 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31314 }
31315 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31316 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31317 }
31318 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31319 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31320 }
31321 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31322 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31323 }
31324 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31325 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31326 }
31327 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31328 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31329 }
31330 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
31331 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
31332 }
31333 static void *_p_wxControlTo_p_wxObject(void *x) {
31334 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31335 }
31336 static void *_p_wxPyControlTo_p_wxObject(void *x) {
31337 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
31338 }
31339 static void *_p_wxGaugeTo_p_wxObject(void *x) {
31340 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
31341 }
31342 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
31343 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
31344 }
31345 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
31346 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
31347 }
31348 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
31349 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31350 }
31351 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31352 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31353 }
31354 static void *_p_wxChoiceTo_p_wxObject(void *x) {
31355 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31356 }
31357 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31358 return (void *)((wxObject *) ((wxFSFile *) x));
31359 }
31360 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31361 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31362 }
31363 static void *_p_wxListViewTo_p_wxObject(void *x) {
31364 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31365 }
31366 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
31367 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31368 }
31369 static void *_p_wxNotebookTo_p_wxObject(void *x) {
31370 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31371 }
31372 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31373 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31374 }
31375 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31376 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31377 }
31378 static void *_p_wxListbookTo_p_wxObject(void *x) {
31379 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31380 }
31381 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31382 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31383 }
31384 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
31385 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31386 }
31387 static void *_p_wxSliderTo_p_wxObject(void *x) {
31388 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
31389 }
31390 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31391 return (void *)((wxObject *) ((wxMenuItem *) x));
31392 }
31393 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31394 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31395 }
31396 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31397 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31398 }
31399 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31400 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31401 }
31402 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31403 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31404 }
31405 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31406 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31407 }
31408 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31409 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31410 }
31411 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31412 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31413 }
31414 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31415 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31416 }
31417 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
31418 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
31419 }
31420 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
31421 return (void *)((wxObject *) ((wxContextHelp *) x));
31422 }
31423 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31424 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31425 }
31426 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31427 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31428 }
31429 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31430 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31431 }
31432 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31433 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31434 }
31435 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31436 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31437 }
31438 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31439 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31440 }
31441 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31442 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31443 }
31444 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31445 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31446 }
31447 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31448 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31449 }
31450 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31451 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31452 }
31453 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31454 return (void *)((wxObject *) ((wxImageHandler *) x));
31455 }
31456 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31457 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31458 }
31459 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31460 return (void *)((wxObject *) ((wxEvtHandler *) x));
31461 }
31462 static void *_p_wxListEventTo_p_wxObject(void *x) {
31463 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
31464 }
31465 static void *_p_wxListBoxTo_p_wxObject(void *x) {
31466 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31467 }
31468 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
31469 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31470 }
31471 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
31472 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31473 }
31474 static void *_p_wxButtonTo_p_wxObject(void *x) {
31475 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
31476 }
31477 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
31478 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31479 }
31480 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
31481 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
31482 }
31483 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
31484 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31485 }
31486 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31487 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31488 }
31489 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
31490 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
31491 }
31492 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
31493 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
31494 }
31495 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
31496 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
31497 }
31498 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
31499 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
31500 }
31501 static void *_p_wxListItemTo_p_wxObject(void *x) {
31502 return (void *)((wxObject *) ((wxListItem *) x));
31503 }
31504 static void *_p_wxImageTo_p_wxObject(void *x) {
31505 return (void *)((wxObject *) ((wxImage *) x));
31506 }
31507 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
31508 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
31509 }
31510 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31511 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31512 }
31513 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
31514 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
31515 }
31516 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
31517 return (void *)((wxObject *) ((wxGenericDragImage *) x));
31518 }
31519 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
31520 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31521 }
31522 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
31523 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31524 }
31525 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
31526 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31527 }
31528 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31529 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31530 }
31531 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31532 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31533 }
31534 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31535 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31536 }
31537 static void *_p_wxWindowTo_p_wxObject(void *x) {
31538 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31539 }
31540 static void *_p_wxMenuTo_p_wxObject(void *x) {
31541 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31542 }
31543 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31544 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31545 }
31546 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31547 return (void *)((wxObject *) ((wxFileSystem *) x));
31548 }
31549 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31550 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31551 }
31552 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31553 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31554 }
31555 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31556 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31557 }
31558 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31559 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31560 }
31561 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31562 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31563 }
31564 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31565 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31566 }
31567 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
31568 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31569 }
31570 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31571 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31572 }
31573 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31574 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31575 }
31576 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
31577 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
31578 }
31579 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31580 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31581 }
31582 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31583 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31584 }
31585 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31586 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31587 }
31588 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31589 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31590 }
31591 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
31592 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
31593 }
31594 static void *_p_wxToolBarTo_p_wxObject(void *x) {
31595 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31596 }
31597 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31598 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31599 }
31600 static void *_p_wxValidatorTo_p_wxObject(void *x) {
31601 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31602 }
31603 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
31604 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
31605 }
31606 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
31607 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
31608 }
31609 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31610 return (void *)((wxWindow *) ((wxMenuBar *) x));
31611 }
31612 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
31613 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31614 }
31615 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
31616 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
31617 }
31618 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
31619 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
31620 }
31621 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
31622 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
31623 }
31624 static void *_p_wxControlTo_p_wxWindow(void *x) {
31625 return (void *)((wxWindow *) ((wxControl *) x));
31626 }
31627 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
31628 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
31629 }
31630 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
31631 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31632 }
31633 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
31634 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
31635 }
31636 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
31637 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
31638 }
31639 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
31640 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
31641 }
31642 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
31643 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
31644 }
31645 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
31646 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
31647 }
31648 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
31649 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
31650 }
31651 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
31652 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
31653 }
31654 static void *_p_wxListbookTo_p_wxWindow(void *x) {
31655 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31656 }
31657 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
31658 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
31659 }
31660 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
31661 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
31662 }
31663 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
31664 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
31665 }
31666 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
31667 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31668 }
31669 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
31670 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31671 }
31672 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
31673 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31674 }
31675 static void *_p_wxListViewTo_p_wxWindow(void *x) {
31676 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31677 }
31678 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
31679 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31680 }
31681 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
31682 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
31683 }
31684 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
31685 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
31686 }
31687 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
31688 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
31689 }
31690 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
31691 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
31692 }
31693 static void *_p_wxSliderTo_p_wxWindow(void *x) {
31694 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
31695 }
31696 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
31697 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
31698 }
31699 static void *_p_wxButtonTo_p_wxWindow(void *x) {
31700 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
31701 }
31702 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
31703 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
31704 }
31705 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
31706 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31707 }
31708 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
31709 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
31710 }
31711 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
31712 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31713 }
31714 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
31715 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31716 }
31717 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
31718 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
31719 }
31720 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
31721 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
31722 }
31723 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
31724 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
31725 }
31726 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
31727 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
31728 }
31729 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
31730 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
31731 }
31732 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
31733 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31734 }
31735 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
31736 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31737 }
31738 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
31739 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
31740 }
31741 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
31742 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
31743 }
31744 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
31745 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
31746 }
31747 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
31748 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
31749 }
31750 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
31751 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
31752 }
31753 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
31754 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
31755 }
31756 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
31757 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
31758 }
31759 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
31760 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
31761 }
31762 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
31763 return (void *)((wxControlWithItems *) ((wxChoice *) x));
31764 }
31765 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
31766 return (void *)((wxControlWithItems *) ((wxListBox *) x));
31767 }
31768 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
31769 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
31770 }
31771 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
31772 return (void *)((wxValidator *) ((wxPyValidator *) x));
31773 }
31774 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}};
31775 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}};
31776 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}};
31777 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}};
31778 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}};
31779 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}};
31780 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}};
31781 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}};
31782 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}};
31783 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}};
31784 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}};
31785 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}};
31786 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}};
31787 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}};
31788 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}};
31789 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}};
31790 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}};
31791 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}};
31792 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}};
31793 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}};
31794 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}};
31795 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}};
31796 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}};
31797 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}};
31798 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}};
31799 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}};
31800 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}};
31801 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}};
31802 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}};
31803 static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31804 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}};
31805 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}};
31806 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}};
31807 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}};
31808 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}};
31809 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}};
31810 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}};
31811 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}};
31812 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}};
31813 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}};
31814 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}};
31815 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}};
31816 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}};
31817 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}};
31818 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}};
31819 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}};
31820 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}};
31821 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}};
31822 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}};
31823 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}};
31824 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}};
31825 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}};
31826 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}};
31827 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}};
31828 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}};
31829 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}};
31830 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}};
31831 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}};
31832 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}};
31833 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}};
31834 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}};
31835 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}};
31836 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}};
31837 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}};
31838 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}};
31839 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}};
31840 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}};
31841 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}};
31842 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}};
31843 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}};
31844 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}};
31845 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}};
31846 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}};
31847 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}};
31848 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}};
31849 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}};
31850 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}};
31851 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}};
31852 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}};
31853 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}};
31854 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}};
31855 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}};
31856 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}};
31857 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}};
31858 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}};
31859
31860 static swig_type_info *swig_types_initial[] = {
31861 _swigt__p_wxTextUrlEvent,
31862 _swigt__p_wxBookCtrlEvent,
31863 _swigt__p_wxSizer,
31864 _swigt__p_wxCheckBox,
31865 _swigt__p_wxPyTreeCtrl,
31866 _swigt__p_wxEvent,
31867 _swigt__p_wxGenericDirCtrl,
31868 _swigt__p_bool,
31869 _swigt__p_wxPyTreeItemData,
31870 _swigt__p_wxItemContainer,
31871 _swigt__p_wxPyListCtrl,
31872 _swigt__p_wxDirFilterListCtrl,
31873 _swigt__p_wxStaticLine,
31874 _swigt__p_wxControl,
31875 _swigt__p_wxPyControl,
31876 _swigt__p_wxGauge,
31877 _swigt__p_wxToolBarBase,
31878 _swigt__p_wxFont,
31879 _swigt__p_wxToggleButton,
31880 _swigt__p_wxRadioButton,
31881 _swigt__p_wxChoice,
31882 _swigt__p_wxMemoryDC,
31883 _swigt__p_wxListItemAttr,
31884 _swigt__p_void,
31885 _swigt__p_int,
31886 _swigt__p_wxSize,
31887 _swigt__p_wxDC,
31888 _swigt__p_wxListView,
31889 _swigt__p_wxIcon,
31890 _swigt__p_wxVisualAttributes,
31891 _swigt__p_wxTextCtrl,
31892 _swigt__p_wxNotebook,
31893 _swigt__p_wxNotifyEvent,
31894 _swigt__p_wxArrayString,
31895 _swigt__p_wxListbook,
31896 _swigt__p_wxStaticBitmap,
31897 _swigt__p_wxSlider,
31898 _swigt__p_wxStaticBox,
31899 _swigt__p_wxArrayInt,
31900 _swigt__p_wxContextHelp,
31901 _swigt__p_long,
31902 _swigt__p_wxEvtHandler,
31903 _swigt__p_wxListEvent,
31904 _swigt__p_wxCheckListBox,
31905 _swigt__p_wxListBox,
31906 _swigt__p_wxBookCtrl,
31907 _swigt__p_wxSpinButton,
31908 _swigt__p_wxButton,
31909 _swigt__p_wxBitmapButton,
31910 _swigt__p_wxRect,
31911 _swigt__p_wxContextHelpButton,
31912 _swigt__p_wxRadioBox,
31913 _swigt__p_wxScrollBar,
31914 _swigt__p_char,
31915 _swigt__p_wxTreeItemId,
31916 _swigt__p_wxComboBox,
31917 _swigt__p_wxHelpEvent,
31918 _swigt__p_wxListItem,
31919 _swigt__p_wxNotebookSizer,
31920 _swigt__p_wxSpinEvent,
31921 _swigt__p_wxGenericDragImage,
31922 _swigt__p_wxSpinCtrl,
31923 _swigt__p_wxImageList,
31924 _swigt__p_wxHelpProvider,
31925 _swigt__p_wxTextAttr,
31926 _swigt__p_wxSimpleHelpProvider,
31927 _swigt__p_wxPoint,
31928 _swigt__p_wxListbookEvent,
31929 _swigt__p_wxNotebookEvent,
31930 _swigt__p_wxObject,
31931 _swigt__p_wxCursor,
31932 _swigt__p_wxKeyEvent,
31933 _swigt__p_wxWindow,
31934 _swigt__p_wxString,
31935 _swigt__p_wxBitmap,
31936 _swigt__p_wxTreeEvent,
31937 _swigt__p_wxMouseEvent,
31938 _swigt__p_wxCommandEvent,
31939 _swigt__p_wxStaticText,
31940 _swigt__p_wxControlWithItems,
31941 _swigt__p_wxToolBarToolBase,
31942 _swigt__p_wxColour,
31943 _swigt__p_wxToolBar,
31944 _swigt__p_wxBookCtrlSizer,
31945 _swigt__p_wxValidator,
31946 0
31947 };
31948
31949
31950 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31951
31952 static swig_const_info swig_const_table[] = {
31953 {0}};
31954
31955 #ifdef __cplusplus
31956 }
31957 #endif
31958
31959 #ifdef __cplusplus
31960 extern "C"
31961 #endif
31962 SWIGEXPORT(void) SWIG_init(void) {
31963 static PyObject *SWIG_globals = 0;
31964 static int typeinit = 0;
31965 PyObject *m, *d;
31966 int i;
31967 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
31968 m = Py_InitModule((char *) SWIG_name, SwigMethods);
31969 d = PyModule_GetDict(m);
31970
31971 if (!typeinit) {
31972 for (i = 0; swig_types_initial[i]; i++) {
31973 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
31974 }
31975 typeinit = 1;
31976 }
31977 SWIG_InstallConstants(d,swig_const_table);
31978
31979 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
31980 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
31981 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
31982 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
31983 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
31984 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
31985 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
31986 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
31987 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
31988 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
31989 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
31990 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
31991 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
31992 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
31993 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
31994 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
31995 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
31996 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
31997 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
31998 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
31999 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
32000 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
32001 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
32002 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
32003 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
32004 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
32005 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
32006 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
32007 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
32008 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
32009 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
32010 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
32011 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
32012 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
32013 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
32014 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
32015 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
32016 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
32017 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
32018 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
32019 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
32020 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
32021 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
32022 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
32023 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
32024 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
32025 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
32026 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
32027 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
32028 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
32029 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
32030 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
32031 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
32032 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
32033 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
32034 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
32035 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
32036 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
32037 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
32038 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
32039 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
32040 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
32041 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
32042 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
32043 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
32044 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
32045 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
32046 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
32047 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
32048 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
32049 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
32050 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
32051 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
32052 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
32053 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
32054 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
32055 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
32056 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
32057 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
32058 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
32059 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
32060 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
32061 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
32062 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
32063 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
32064 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
32065 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
32066 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
32067 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
32068 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
32069 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
32070 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
32071 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
32072 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
32073 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
32074 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
32075 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
32076 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
32077 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
32078 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
32079 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
32080 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
32081 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
32082 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
32083 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
32084 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
32085 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
32086 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
32087 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
32088 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
32089 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
32090 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
32091 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
32092 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
32093 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
32094 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
32095 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
32096 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
32097 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
32098 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
32099 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
32100 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
32101 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
32102 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
32103 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
32104 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
32105 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
32106 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
32107 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
32108 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
32109 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
32110 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
32111 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
32112 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
32113 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
32114 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
32115 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
32116 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
32117 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
32118 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
32119 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
32120 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
32121 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
32122 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
32123 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
32124 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
32125 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
32126 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
32127 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
32128 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
32129 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
32130 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
32131 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
32132 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
32133 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
32134 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
32135 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
32136 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
32137 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
32138 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
32139 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
32140 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
32141 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
32142 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
32143 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
32144 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
32145 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
32146 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
32147 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
32148 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
32149 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
32150 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
32151 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
32152 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
32153 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
32154 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
32155 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
32156 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
32157 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
32158 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
32159 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
32160 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
32161 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
32162 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
32163 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
32164 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
32165 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
32166 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
32167 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
32168 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
32169 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
32170 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
32171 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
32172 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
32173 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
32174 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
32175 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
32176 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
32177 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
32178 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
32179 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
32180 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
32181 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
32182 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
32183 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
32184 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
32185 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
32186 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
32187 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
32188 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
32189 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
32190
32191 // Map renamed classes back to their common name for OOR
32192 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32193
32194 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
32195 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
32196 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
32197 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
32198 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
32199 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
32200 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
32201 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
32202 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
32203 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
32204 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
32205 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
32206 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
32207 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
32208 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
32209 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
32210 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
32211 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
32212 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
32213 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
32214 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
32215 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
32216 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
32217 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
32218 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
32219 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
32220 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
32221 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
32222 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
32223 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
32224 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
32225 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
32226 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
32227 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
32228 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
32229 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
32230 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
32231 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
32232 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
32233 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
32234 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
32235 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
32236 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
32237 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
32238 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
32239 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
32240 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
32241 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
32242 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
32243 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
32244 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
32245 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
32246 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
32247 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
32248 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
32249 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
32250
32251 // Map renamed classes back to their common name for OOR
32252 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32253 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32254
32255 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
32256 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
32257 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
32258 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
32259 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
32260 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
32261 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
32262 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
32263 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
32264 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
32265
32266 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
32267
32268 }
32269